:root {
  color-scheme: light;
  --ink: #111614;
  --muted: #66706b;
  --line: #dfe4e0;
  --paper: #f7f7f3;
  --card: #ffffff;
  --night: #07100d;
  --night-soft: #0e1915;
  --green: #31e69c;
  --green-dark: #087a50;
  --shadow: 0 28px 80px -50px rgba(3, 23, 15, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 86% 4%, rgba(49, 230, 156, 0.07), transparent 24rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  transform: translateY(-200%);
  border-radius: 0.5rem;
  background: var(--card);
  padding: 0.8rem 1rem;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(100%, 78rem);
  margin-inline: auto;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(223, 228, 224, 0.85);
  background: rgba(247, 247, 243, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-orbit {
  position: relative;
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--ink);
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(-26deg);
}

.brand-orbit::before,
.brand-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.brand-orbit::before {
  width: 0.48rem;
  height: 0.48rem;
  right: 0.02rem;
  top: 0.18rem;
  background: linear-gradient(145deg, #f9ffff, #07100d 72%);
  box-shadow: 0 0 0 1px rgba(7, 16, 13, 0.25);
}

.brand-orbit::after {
  inset: 0.44rem;
  border: 1px solid rgba(17, 22, 20, 0.22);
  border-bottom-color: transparent;
}

.brand-copy {
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}

.brand-copy strong {
  font-size: 0.9rem;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.68rem;
  white-space: nowrap;
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.text-link {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding-inline: 0.65rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: none;
}

.text-link:hover {
  color: var(--ink);
}

.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid var(--ink);
  border-radius: 0.7rem;
  background: var(--ink);
  color: #fff;
  padding: 0.72rem 1.05rem;
  font-size: 0.9rem;
  font-weight: 720;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #27302c;
  border-color: #27302c;
}

.button:focus-visible,
.text-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid #087a50;
  outline-offset: 3px;
}

.button-small {
  min-height: 2.75rem;
  padding-inline: 1rem;
}

.button-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.button-secondary:hover {
  background: var(--card);
  border-color: #bfc8c2;
}

.hero {
  min-height: calc(100svh - 4.5rem);
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2.5rem, 5vw, 5.5rem);
  padding-block: clamp(3.5rem, 8vw, 7.5rem);
}

.hero-copy {
  max-width: 34rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 1.7rem;
  height: 1px;
  background: currentColor;
}

.eyebrow-light {
  color: var(--green);
}

.hero h1 {
  margin: 1.05rem 0 0;
  font-size: clamp(3.1rem, 6vw, 5.8rem);
  font-weight: 650;
  letter-spacing: -0.058em;
  line-height: 0.94;
}

.hero h1 span {
  display: block;
  margin-top: 0.3em;
  color: #79827e;
}

.hero-lede {
  max-width: 33rem;
  margin: 1.7rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.17rem);
  line-height: 1.75;
}

.hero-actions {
  margin-top: 2rem;
  flex-wrap: wrap;
}

.access-note {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.77rem;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  background: var(--night);
  box-shadow: var(--shadow);
}

.hero-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, 0.62));
  pointer-events: none;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-visual figcaption {
  position: absolute;
  z-index: 3;
  right: 1rem;
  bottom: 0.9rem;
  left: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.66rem;
  font-weight: 680;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.visual-orbit {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(49, 230, 156, 0.34);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: 11rem;
  height: 11rem;
  right: -5rem;
  top: -5rem;
}

.orbit-two {
  width: 4rem;
  height: 4rem;
  left: -2.5rem;
  bottom: 20%;
}

.assurance-band {
  background: var(--night);
  color: #f4f7f5;
}

.assurance-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(3.2rem, 7vw, 5.5rem);
}

.assurance-heading h2,
.workflow h2,
.proof h2,
.cta h2 {
  margin: 0.8rem 0 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 630;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.assurance-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.assurance-list li {
  min-height: 3.7rem;
  display: grid;
  align-items: center;
  grid-template-columns: 2.6rem 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.94rem;
  font-weight: 620;
}

.assurance-list li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.assurance-list li span {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
}

.workflow {
  padding-block: clamp(5rem, 10vw, 8.5rem);
}

.section-intro {
  max-width: 48rem;
}

.section-intro > p:last-child {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 3.3rem 0 0;
  padding: 0;
  list-style: none;
}

.workflow-card {
  min-height: 19rem;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.66);
  padding: 1.25rem;
  box-shadow: 0 20px 48px -44px rgba(3, 23, 15, 0.65);
}

.workflow-card-gate {
  grid-column: 1 / -1;
  min-height: auto;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.76fr) minmax(32rem, 1.24fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  border-color: rgba(8, 122, 80, 0.24);
  background:
    radial-gradient(circle at 88% 20%, rgba(49, 230, 156, 0.12), transparent 28%),
    rgba(255, 255, 255, 0.78);
}

.gate-copy h3 {
  margin: 2.8rem 0 0;
}

.gate-copy p {
  min-height: auto;
}

.security-routes {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.75rem;
}

.security-route {
  display: flex;
  min-height: 8.4rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(244, 249, 246, 0.86);
  padding: 1rem;
}

.security-route strong {
  font-size: 0.95rem;
  letter-spacing: -0.015em;
}

.security-route span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.route-choice {
  align-self: center;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.route-destination {
  grid-column: 1 / -1;
  justify-self: center;
  color: var(--green-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-number {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(8, 122, 80, 0.2);
  border-radius: 0.7rem;
  background: rgba(49, 230, 156, 0.08);
  color: var(--green-dark);
  font-size: 1.2rem;
}

.workflow-card h3 {
  margin: auto 0 0;
  font-size: 1.4rem;
  letter-spacing: -0.025em;
}

.workflow-card p {
  min-height: 5.2rem;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.65;
}

.proof {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
  padding-block: clamp(5rem, 9vw, 8rem);
}

.proof-visual {
  position: relative;
  min-height: 30rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at center, rgba(49, 230, 156, 0.12), transparent 42%),
    linear-gradient(145deg, #0a1410, #07100d);
}

.proof-ring {
  position: absolute;
  border: 1px solid rgba(49, 230, 156, 0.38);
  border-radius: 50%;
}

.ring-a {
  width: 17rem;
  height: 17rem;
}

.ring-b {
  width: 26rem;
  height: 26rem;
  border-color: rgba(49, 230, 156, 0.17);
}

.proof-core {
  width: 6rem;
  height: 6rem;
  display: grid;
  z-index: 2;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  box-shadow: 0 0 48px rgba(49, 230, 156, 0.24);
  backdrop-filter: blur(10px);
}

.proof-node {
  position: absolute;
  z-index: 3;
  width: 0.72rem;
  height: 0.72rem;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: var(--night);
  box-shadow: 0 0 14px rgba(49, 230, 156, 0.8);
}

.node-a { top: 19%; left: 48%; }
.node-b { right: 21%; bottom: 28%; }
.node-c { left: 16%; bottom: 34%; }

.proof-copy > p:not(.eyebrow) {
  margin: 1.4rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.proof-copy ul {
  display: grid;
  gap: 0.85rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}

.proof-copy li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

.proof-copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-dark);
  font-weight: 760;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  overflow: hidden;
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 90% 0%, rgba(49, 230, 156, 0.18), transparent 20rem),
    var(--night);
  color: white;
  padding: clamp(2rem, 5vw, 4.2rem);
}

.cta > div {
  max-width: 47rem;
}

.button-inverse {
  flex: 0 0 auto;
  border-color: white;
  background: white;
  color: var(--ink);
}

.button-inverse:hover {
  background: #ecf1ee;
  border-color: #ecf1ee;
}

.site-footer {
  margin-top: 2rem;
}

.footer-inner {
  min-height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

@media (max-width: 960px) {
  .hero,
  .assurance-inner,
  .proof {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    max-width: 44rem;
  }

  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-card-gate {
    grid-template-columns: 1fr;
  }

  .proof-visual {
    min-height: 24rem;
  }
}

@media (max-width: 640px) {
  .shell {
    width: 100%;
    padding-left: max(0.625rem, env(safe-area-inset-left));
    padding-right: max(0.625rem, env(safe-area-inset-right));
  }

  .header-inner {
    min-height: 4rem;
  }

  .text-link,
  .brand-copy small {
    display: none;
  }

  .hero {
    gap: 2.5rem;
    padding-block: 3.2rem;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 14.2vw, 4.2rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual figcaption {
    display: none;
  }

  .assurance-inner {
    padding-block: 3.5rem;
  }

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

  .workflow-card {
    min-height: 15.5rem;
  }

  .workflow-card-gate {
    min-height: auto;
  }

  .security-routes {
    grid-template-columns: 1fr;
  }

  .security-route {
    min-height: auto;
  }

  .route-choice,
  .route-destination {
    grid-column: 1;
    justify-self: center;
  }

  .workflow-card p {
    min-height: auto;
  }

  .proof-visual {
    min-height: 21rem;
  }

  .ring-b {
    width: 21rem;
    height: 21rem;
  }

  .cta,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button-inverse {
    width: 100%;
  }

  .footer-inner {
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
