:root {
  --navy: #071858;
  --navy-2: #12349a;
  --blue: #1464ff;
  --cyan: #1bb9e8;
  --ink: #0b174d;
  --muted: #687595;
  --line: rgba(10, 39, 118, 0.13);
  --surface: rgba(255, 255, 255, 0.76);
  --shadow: 0 22px 70px rgba(21, 63, 143, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 17%, rgba(20, 100, 255, 0.095), transparent 30%),
    radial-gradient(circle at 88% 87%, rgba(27, 185, 232, 0.105), transparent 28%),
    #f8fbff;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(7, 24, 88, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 24, 88, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 88%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 88%);
}

.page-shell {
  width: min(1240px, calc(100% - 72px));
  margin: 0 auto;
}

.topbar {
  min-height: 128px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: min(320px, 66vw);
  height: auto;
  background: transparent;
}

.status {
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy-2);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 32px rgba(19, 58, 130, 0.045);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.hero {
  padding: 76px 0 74px;
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

h1 {
  max-width: 1020px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(56px, 7.35vw, 94px);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.065em;
}

h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  max-width: 760px;
  margin: 40px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.65;
}

.connection {
  min-height: 178px;
  padding: 34px 42px;
  display: grid;
  grid-template-columns: minmax(185px, 1fr) minmax(330px, 1.45fr) minmax(185px, 1fr);
  align-items: center;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.endpoint {
  min-width: 0;
  text-align: center;
}

.endpoint strong,
.endpoint span {
  display: block;
}

.endpoint strong {
  margin-top: 18px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
}

.endpoint span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.node {
  width: 20px;
  height: 20px;
  margin: 0 auto;
  border-radius: 50%;
}

.node-navy {
  background: var(--navy-2);
  box-shadow: 0 0 0 9px rgba(18, 52, 154, 0.075);
}

.node-cyan {
  background: var(--cyan);
  box-shadow: 0 0 0 9px rgba(27, 185, 232, 0.10);
}

.secure-link {
  position: relative;
  min-height: 100px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5px;
}

.line {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--navy-2), var(--blue), var(--cyan));
}

.lock {
  position: relative;
  z-index: 2;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 28px rgba(20, 100, 255, 0.22);
}

.lock::after {
  content: "";
  width: 8px;
  height: 18px;
  border-radius: 999px;
  transform: rotate(-45deg);
  background: #fff;
}

.secure-link small {
  position: absolute;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pillars {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pillars article {
  min-height: 192px;
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.64);
}

.number {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.pillars h2 {
  margin: 28px 0 10px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.2;
}

.pillars p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

footer {
  min-height: 122px;
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .page-shell {
    width: min(100% - 42px, 760px);
  }

  .hero {
    padding-top: 54px;
  }

  .connection {
    grid-template-columns: 1fr;
    padding: 38px 28px 42px;
  }

  .secure-link {
    min-height: 136px;
    padding-top: 20px;
  }

  .secure-link .line {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 3px;
    height: auto;
    transform: translateX(-50%);
  }

  .secure-link small {
    top: 104px;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .pillars article {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 30px, 520px);
  }

  .topbar {
    min-height: 96px;
  }

  .status {
    display: none;
  }

  .brand-logo {
    width: min(280px, 78vw);
  }

  .hero {
    padding: 46px 0 54px;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 10px;
  }

  h1 {
    font-size: clamp(46px, 15vw, 66px);
    letter-spacing: -0.055em;
  }

  .lead {
    margin-top: 30px;
    font-size: 18px;
  }

  .connection {
    border-radius: 22px;
  }

  footer {
    min-height: 130px;
    padding: 28px 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
