:root {
  --paper: #f5f1e8;
  --paper-2: #ece6da;
  --ink: #17292b;
  --muted: #59696a;
  --teal: #173f42;
  --teal-2: #266a69;
  --coral: #e66450;
  --coral-soft: #f5c0b4;
  --gold: #e2a83b;
  --gold-soft: #f3deb2;
  --white: #fffdf8;
  --line: rgba(23, 41, 43, .16);
  --shadow: 0 24px 70px rgba(23, 41, 43, .16);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img, svg { display: block; }
[hidden] { display: none !important; }

.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: .8rem 1rem; background: var(--white); border: 2px solid var(--ink); border-radius: 10px; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 40; min-height: 76px; max-width: 100%; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 4.5rem); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); background: rgba(245,241,232,.91); backdrop-filter: blur(18px); }
.site-header.scrolled { box-shadow: 0 12px 35px rgba(23,41,43,.09); }
.brand { display: inline-flex; align-items: center; gap: .68rem; width: fit-content; text-decoration: none; font-size: 1.18rem; font-weight: 850; letter-spacing: -.035em; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; color: var(--teal); }
.brand-mark svg { width: 100%; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.2rem); font-size: .84rem; font-weight: 700; }
.main-nav a { text-decoration: none; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.5rem; height: 2px; background: var(--coral); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: .55rem; }
.icon-button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }

.button { border: 0; border-radius: 999px; padding: .86rem 1.25rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 800; font-size: .88rem; cursor: pointer; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .card-link:focus-visible, .quick-exit:focus-visible, .gateway-options button:focus-visible, .choice-cards button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.button-small { padding: .66rem 1rem; font-size: .78rem; }
.button-primary { background: var(--coral); color: #211a18; box-shadow: 0 10px 22px rgba(230, 100, 80, .22); }
.button-ink { background: var(--ink); color: var(--white); }
.button-quiet { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.button-coral { background: var(--coral); color: var(--ink); }
.button-outline-light { color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.45); }
.text-link { display: inline-flex; gap: .5rem; align-items: center; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.hero { min-height: 820px; max-width: 1440px; margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 6vw, 6.5rem); display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; overflow: hidden; }
.eyebrow { margin: 0 0 1.1rem; color: var(--teal-2); font-size: .72rem; line-height: 1.2; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.light { color: #a7d7d3; }
.hero h1 { max-width: 760px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.6rem, 7vw, 7.2rem); line-height: .93; letter-spacing: -.065em; font-weight: 500; }
.hero h1 em { color: var(--coral); font-style: italic; }
.hero-lede { max-width: 700px; margin: 2rem 0; color: #435657; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.trust-list { margin: 2.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem 1.3rem; list-style: none; color: var(--muted); font-size: .78rem; font-weight: 700; }
.trust-list li::before { content: "✓"; margin-right: .45rem; color: var(--teal-2); }

.hero-visual { min-height: 690px; position: relative; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--gold-soft); filter: blur(1px); }
.signal-orbit { position: absolute; border: 1px solid rgba(23,63,66,.19); border-radius: 50%; }
.orbit-one { width: 88%; aspect-ratio: 1; }
.orbit-two { width: 112%; aspect-ratio: 1; border-style: dashed; }
.phone-shell { position: relative; z-index: 2; width: min(365px, 80vw); padding: 10px; border: 2px solid var(--ink); border-radius: 48px; background: var(--ink); box-shadow: 0 34px 90px rgba(23,41,43,.24); transform: rotate(2.5deg); will-change: transform; }
.phone-top { height: 34px; padding: 0 .75rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #dfe8e7; font-size: .65rem; }
.phone-top span { width: 8px; height: 8px; border-radius: 50%; background: #6d9b91; }
.phone-top strong { justify-self: end; letter-spacing: 1px; font-size: .5rem; }
.phone-screen { min-height: 585px; padding: 2rem 1.35rem 1.35rem; border-radius: 36px; background: var(--white); display: flex; flex-direction: column; }
.mini-brand { display: flex; align-items: center; gap: .45rem; font-weight: 900; }
.mini-brand img { width: 24px; }
.mini-kicker { margin: 3.5rem 0 .4rem; color: var(--teal-2); font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.phone-screen h2 { margin: 0 0 1.6rem; font-family: Georgia, serif; font-size: 2rem; line-height: 1.05; letter-spacing: -.04em; }
.phone-screen button { width: 100%; margin: 0 0 .65rem; padding: 1rem; display: flex; justify-content: space-between; border: 1px solid var(--line); border-radius: 15px; background: white; color: var(--ink); text-align: left; font-weight: 750; }
.phone-screen button:first-of-type { background: var(--coral-soft); border-color: transparent; }
.phone-screen > small { display: block; margin-top: 1.2rem; color: var(--muted); line-height: 1.5; }
.mini-safety { margin-top: auto; padding: .8rem; display: grid; grid-template-columns: 28px 1fr; gap: .6rem; align-items: center; border-radius: 14px; background: #e7f2ef; }
.mini-safety > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: white; font-size: .7rem; }
.mini-safety p { margin: 0; display: grid; color: var(--muted); font-size: .67rem; }
.mini-safety strong { color: var(--ink); font-size: .73rem; }
.hero-note { position: absolute; z-index: 3; width: 210px; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,253,248,.92); box-shadow: 0 15px 35px rgba(23,41,43,.12); backdrop-filter: blur(12px); }
.hero-note strong, .hero-note span { display: block; }
.hero-note strong { margin-bottom: .25rem; font-size: .78rem; }
.hero-note span { color: var(--muted); font-size: .68rem; line-height: 1.45; }
.note-one { left: -1rem; top: 8%; }
.note-two { right: -1.5rem; bottom: 9%; }

.context-band { padding: 2.2rem clamp(1.25rem, 6vw, 6.5rem); display: grid; grid-template-columns: .9fr 1.1fr .9fr; gap: 2rem; align-items: center; background: var(--coral); color: #221b19; }
.context-band > div:first-child { display: flex; align-items: center; gap: 1rem; }
.context-number { font-family: Georgia, serif; font-size: clamp(3.5rem, 6vw, 6.5rem); letter-spacing: -.06em; }
.context-band p { margin: 0; }
.context-band > div:first-child p { max-width: 330px; font-size: .83rem; font-weight: 700; }
.context-statement { padding-left: 2rem; border-left: 1px solid rgba(34,27,25,.3); }
.context-statement p { font-family: Georgia, serif; font-size: 1.2rem; }
.context-statement strong { display: block; margin-top: .2rem; font-size: 1.16rem; }
.source-note { max-width: 380px; color: rgba(34,27,25,.76); font-size: .7rem; line-height: 1.5; }

.section { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 6vw, 6.5rem); }
.split-section { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 8vw, 8rem); }
.section-intro { position: sticky; top: 2rem; align-self: start; }
.section-intro h2, .section-heading h2, .demo-copy h2, .safety-panel h2, .closing-cta h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.6rem, 5vw, 5.2rem); line-height: .98; letter-spacing: -.055em; font-weight: 500; }
.section-intro > p:last-child { max-width: 480px; margin-top: 1.5rem; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.journey-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.journey-list li { padding: 1.7rem 0; display: grid; grid-template-columns: 70px 1fr; gap: 1rem; border-bottom: 1px solid var(--line); }
.journey-list > li > span { color: var(--coral); font-family: Georgia, serif; font-size: 1.5rem; }
.journey-list h3 { margin: 0 0 .35rem; font-size: 1.14rem; }
.journey-list p { margin: 0; color: var(--muted); }

.offerings { background: var(--paper-2); }
.section-heading { max-width: 1280px; margin: 0 auto 3rem; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: end; }
.section-heading > p { max-width: 550px; margin: 0; color: var(--muted); line-height: 1.7; }
.offering-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.offering-card { min-height: 420px; padding: 1.5rem; display: flex; flex-direction: column; border: 1px solid rgba(23,41,43,.11); border-radius: var(--radius); }
.card-coral { background: var(--coral-soft); }
.card-teal { background: #9cc9c5; }
.card-gold { background: var(--gold-soft); }
.card-ink { background: var(--teal); color: var(--white); }
.card-index { font-family: Georgia, serif; font-size: .75rem; opacity: .65; }
.card-icon { width: 62px; height: 62px; margin: 2.2rem 0 1.8rem; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 1.8rem; }
.offering-card h3 { margin: 0; font-family: Georgia, serif; font-size: 1.55rem; line-height: 1.05; }
.offering-card p { color: currentColor; opacity: .76; font-size: .88rem; line-height: 1.65; }
.card-link { margin-top: auto; padding: .8rem 0 0; display: flex; justify-content: space-between; border: 0; border-top: 1px solid currentColor; background: transparent; color: inherit; font-size: .78rem; font-weight: 850; text-align: left; text-decoration: none; cursor: pointer; }

.demo-section { display: grid; grid-template-columns: minmax(280px, .68fr) minmax(560px, 1.32fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; background: var(--white); }
.demo-copy { max-width: 510px; }
.demo-copy > p:nth-of-type(2) { color: var(--muted); line-height: 1.7; }
.demo-status { width: fit-content; margin-top: 1.5rem; padding: .55rem .75rem; display: flex; gap: .55rem; align-items: center; border-radius: 999px; background: #e5f1e9; color: #26553e; font-size: .74rem; font-weight: 800; }
.online-indicator { width: 8px; height: 8px; border-radius: 50%; background: #3ea86a; }
.online-indicator.offline { background: var(--gold); }
.quick-exit { margin-top: 2rem; padding: .6rem 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink); font-weight: 850; cursor: pointer; }
.demo-copy > small { display: block; margin-top: .7rem; color: var(--muted); }

.gateway-app { padding: 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 38px; overflow: hidden; background: #102325; box-shadow: 0 34px 90px rgba(23,41,43,.24); }
.device-statusbar { min-height: 28px; padding: .1rem 1.25rem 0; display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.78); font-size: .6rem; font-weight: 800; letter-spacing: .02em; }
.gateway-toolbar { min-height: 58px; padding: 0 1.2rem; display: flex; align-items: center; justify-content: space-between; border-radius: 23px 23px 0 0; background: #173f42; color: var(--white); font-size: .7rem; }
.gateway-brand { display: flex; align-items: center; gap: .5rem; font-weight: 850; }
.gateway-brand img { width: 25px; filter: brightness(0) invert(1); }
.settings-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.09); font-size: 1.25rem; font-weight: 500; }
.lock { color: #7cd49f; }
.gateway-body { min-height: 660px; padding: 0; overflow: hidden; border-radius: 0 0 23px 23px; background: #f8f6f0; }
.wifi-step { min-height: 660px; padding: clamp(1.5rem, 4vw, 2.5rem); background: linear-gradient(180deg, #f8f6f0 0%, #ebe7dd 100%); }
.wifi-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.wifi-heading small { color: var(--teal-2); font-size: .66rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.wifi-heading h3 { margin: .3rem 0 0; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1; letter-spacing: -.04em; font-weight: 500; }
.wifi-toggle { width: 50px; height: 28px; padding: 3px; display: flex; justify-content: end; border-radius: 999px; background: var(--teal-2); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.wifi-toggle i { width: 22px; height: 22px; border-radius: 50%; background: white; box-shadow: 0 2px 5px rgba(0,0,0,.2); }
.wifi-helper { margin: 1rem 0 1.5rem; color: var(--muted); font-size: .82rem; }
.network-list { display: grid; gap: .7rem; }
.network-row { width: 100%; padding: 1rem; display: grid; grid-template-columns: 40px 1fr auto; gap: .8rem; align-items: center; border: 1px solid transparent; border-radius: 16px; background: rgba(255,255,255,.73); color: var(--ink); text-align: left; cursor: pointer; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.network-row:hover { transform: translateY(-2px); background: white; }
.network-row.selected { border-color: var(--teal-2); background: white; box-shadow: 0 12px 28px rgba(23,63,66,.09); }
.network-signal { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: #e4efed; color: var(--teal); font-weight: 900; }
.network-row > span:nth-child(2) { display: grid; gap: .18rem; }
.network-row small { color: var(--muted); }
.signal-bars { color: var(--teal-2); font-size: .7rem; letter-spacing: -2px; }
.network-note { margin: 1.2rem 0; padding: .9rem; display: grid; grid-template-columns: 24px 1fr; gap: .7rem; align-items: start; border-radius: 14px; background: var(--gold-soft); }
.network-note > span { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: Georgia, serif; font-weight: 800; }
.network-note p { margin: 0; color: #5d4b27; font-size: .72rem; line-height: 1.5; }
.connect-button { width: 100%; margin-top: .25rem; }
.connect-button:disabled { background: #c9c6bc; color: #6e6b64; box-shadow: none; cursor: not-allowed; transform: none; }
.connection-step { min-height: 660px; display: grid; place-content: center; justify-items: center; padding: 2rem; text-align: center; background: radial-gradient(circle at 50% 38%, #f5dca9 0 18%, #f8f6f0 52%); }
.connection-step small { margin-top: 1.5rem; color: var(--teal-2); font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.connection-step h3 { margin: .35rem 0 0; font-family: Georgia, serif; font-size: 3rem; font-weight: 500; letter-spacing: -.05em; }
.connection-step p { margin: .3rem 0 0; color: var(--muted); }
.connection-rings { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.connection-rings span { position: absolute; inset: 0; border: 1px solid var(--teal-2); border-radius: 50%; animation: connect-pulse 1.4s ease-out infinite; }
.connection-rings span:nth-child(2) { animation-delay: .45s; }
.connection-rings img { width: 58px; position: relative; z-index: 1; border-radius: 15px; box-shadow: 0 12px 32px rgba(23,41,43,.16); }
@keyframes connect-pulse { 0% { transform: scale(.45); opacity: 0; } 25% { opacity: .65; } 100% { transform: scale(1); opacity: 0; } }
.portal-step { min-height: 660px; padding: clamp(1.1rem, 3vw, 1.8rem); background: linear-gradient(145deg, #fdfbf6 0%, #f2ede2 100%); animation: gateway-arrive .55s cubic-bezier(.2,.7,.2,1) both; }
@keyframes gateway-arrive { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
.portal-intro { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.portal-brand { display: flex; align-items: center; gap: .7rem; }
.portal-brand img { width: 38px; }
.portal-brand span { display: grid; }
.portal-brand small { color: var(--muted); font-size: .6rem; text-transform: uppercase; letter-spacing: .08em; }
.portal-brand strong { font-size: 1rem; }
.restart-demo { border: 0; border-bottom: 1px solid var(--muted); background: transparent; color: var(--muted); font-size: .66rem; font-weight: 750; cursor: pointer; }
.portal-welcome { margin: 1.35rem 0 1rem; padding: 1.35rem; border-radius: 19px; background: var(--teal); color: white; box-shadow: 0 18px 38px rgba(23,63,66,.18); }
.portal-welcome > div { display: flex; align-items: center; gap: .5rem; }
.connected-check { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: #7cd49f; color: var(--teal); font-size: .7rem; font-weight: 900; }
.portal-welcome small { color: #b8ded9; font-size: .66rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.portal-welcome h3 { margin: 1rem 0 .35rem; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.15rem); line-height: .95; letter-spacing: -.045em; font-weight: 500; }
.portal-welcome p { max-width: 520px; margin: 0; color: rgba(255,255,255,.72); font-size: .76rem; }
.gateway-welcome { margin: 0 0 1.2rem; color: var(--muted); font-size: .83rem; }
.gateway-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.gateway-options button { padding: .85rem; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--ink); font-size: .75rem; font-weight: 800; cursor: pointer; }
.gateway-options button[aria-selected="true"] { border-color: var(--teal); background: var(--teal); color: var(--white); }
.gateway-panel { min-height: 360px; margin-top: .85rem; padding: 1.35rem; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 12px 28px rgba(23,41,43,.07); }
.panel-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.panel-heading small { color: var(--teal-2); font-size: .65rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.panel-heading h3 { max-width: 480px; margin: .25rem 0 0; font-family: Georgia, serif; font-size: clamp(1.5rem, 3vw, 2.35rem); line-height: 1.05; letter-spacing: -.03em; }
.panel-heading > span { padding: .35rem .55rem; border-radius: 999px; background: var(--gold-soft); font-size: .62rem; font-weight: 850; white-space: nowrap; }
.action-list { margin: 1.5rem 0; padding: 0; list-style: none; }
.action-list li { padding: .75rem 0; display: grid; grid-template-columns: 30px 1fr; gap: .7rem; border-top: 1px solid var(--line); }
.action-list li > span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-2); font-size: .65rem; font-weight: 900; }
.action-list p { margin: 0; color: var(--muted); font-size: .78rem; }
.action-list strong { color: var(--ink); }
.panel-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice-cards { margin-top: 1.5rem; display: grid; gap: .7rem; }
.choice-cards button { padding: 1rem; display: grid; gap: .25rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); text-align: left; cursor: pointer; }
.choice-cards button:hover { border-color: var(--teal); }
.choice-cards span { color: var(--muted); font-size: .72rem; }
.privacy-line { padding: .8rem 1rem; border-left: 3px solid var(--coral); background: #fff3ef; color: var(--muted); font-size: .72rem; }

.safety-section { padding-top: 0; background: var(--white); }
.safety-panel { max-width: 1280px; margin: 0 auto; padding: clamp(2rem, 6vw, 5rem); border-radius: 32px; background: var(--teal); color: var(--white); }
.safety-panel > div:first-child { max-width: 850px; }
.safety-grid { margin-top: 4rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.safety-grid article { padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.28); }
.safety-grid span { color: #a7d7d3; font-family: Georgia, serif; }
.safety-grid h3 { margin: 1.2rem 0 .5rem; font-size: 1rem; }
.safety-grid p { margin: 0; color: rgba(255,255,255,.72); font-size: .78rem; line-height: 1.6; }

.pilot-section { background: var(--paper); }
.pilot-map { max-width: 1280px; margin: 4rem auto 0; display: grid; grid-template-columns: 1fr 50px 1fr 50px 1fr 50px 1fr; align-items: center; }
.pilot-step { min-height: 210px; padding: 1.3rem; border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; background: var(--white); }
.pilot-step.active { background: var(--coral-soft); border-color: transparent; }
.pilot-step > span { width: fit-content; padding: .3rem .5rem; border-radius: 999px; background: var(--paper-2); font-size: .62rem; font-weight: 900; text-transform: uppercase; }
.pilot-step strong { margin: auto 0 .45rem; font-family: Georgia, serif; font-size: 1.25rem; line-height: 1.05; }
.pilot-step small { color: var(--muted); line-height: 1.5; }
.pilot-line { height: 1px; background: var(--line); }

.closing-cta { padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 6vw, 6.5rem); display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: end; background: var(--ink); color: var(--white); }
.closing-cta p:not(.eyebrow) { max-width: 650px; color: rgba(255,255,255,.72); }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: .7rem; }
.site-footer { padding: 2rem clamp(1.25rem, 6vw, 6.5rem); display: flex; justify-content: space-between; gap: 2rem; align-items: center; background: #0f1e20; color: rgba(255,255,255,.72); font-size: .72rem; }
.footer-brand { color: var(--white); }
.footer-brand img { width: 30px; filter: brightness(0) invert(1); }
.site-footer div { justify-self: end; display: flex; gap: 1rem; }

.modal { width: min(760px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 0; border-radius: 28px; background: var(--white); color: var(--ink); box-shadow: 0 30px 100px rgba(10,25,27,.4); }
.modal::backdrop { background: rgba(12,28,30,.76); backdrop-filter: blur(7px); }
.modal-shell { position: relative; padding: clamp(1.5rem, 5vw, 3.4rem); }
.compact-shell { max-width: 650px; }
.modal-close { position: absolute; right: 1.2rem; top: 1.2rem; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); font-size: 1.4rem; cursor: pointer; }
.modal h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -.04em; }
.modal-lede { color: var(--muted); line-height: 1.65; }
.guide-detail { margin: 1.6rem 0; border-top: 1px solid var(--line); }
.guide-detail article { padding: 1rem 0; display: grid; grid-template-columns: 40px 1fr; gap: 1rem; border-bottom: 1px solid var(--line); }
.guide-detail article > span { color: var(--coral); font-family: Georgia, serif; }
.guide-detail h3 { margin: 0 0 .25rem; }
.guide-detail p { margin: 0; color: var(--muted); font-size: .84rem; }
.modal-note { margin: 1.2rem 0; padding: 1rem; display: grid; gap: .2rem; border-radius: 14px; background: var(--gold-soft); }
.modal-note span { font-size: .78rem; line-height: 1.55; }
.modal-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.support-progress { margin-bottom: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.support-progress span { height: 5px; border-radius: 999px; background: var(--paper-2); }
.support-progress span.active { background: var(--coral); }
.recipient-card { margin: 1.5rem 0; padding: 1rem; display: flex; gap: 1rem; align-items: center; border: 1px solid var(--line); border-radius: 15px; }
.avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: white; font-weight: 900; }
.recipient-card div:last-child { display: grid; }
.recipient-card small, .recipient-card span { color: var(--muted); font-size: .7rem; }
.consent-points { padding-left: 1.2rem; color: var(--muted); font-size: .82rem; }
.route-options { display: grid; gap: .7rem; margin: 1.5rem 0; }
.route-options label { padding: 1rem; display: flex; gap: .8rem; align-items: start; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.route-options label:has(input:checked) { border-color: var(--teal); background: #e9f3f1; }
.route-options input { margin-top: .2rem; accent-color: var(--teal); }
.route-options span { display: grid; gap: .25rem; }
.route-options small { color: var(--muted); }
.success-mark { width: 62px; height: 62px; margin-bottom: 1rem; display: grid; place-items: center; border-radius: 50%; background: #dff0e5; color: #23603f; font-size: 1.7rem; font-weight: 900; }
.reference-card { margin: 1.5rem 0; padding: 1.2rem; display: grid; gap: .35rem; border: 1px dashed var(--teal); border-radius: 15px; background: #edf5f3; }
.reference-card small, .reference-card span { color: var(--muted); }
.reference-card strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.45rem; letter-spacing: .05em; }
.handover-state { padding: 1rem; display: flex; gap: .8rem; align-items: center; border-radius: 14px; background: var(--paper); }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(226,168,59,.2); }
.handover-state div { display: grid; }
.handover-state small { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.scroll-reveal { opacity: 0; transform: translateY(34px) scale(.985); transition: opacity .72s cubic-bezier(.2,.7,.2,1), transform .72s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.scroll-reveal.from-left { transform: translateX(-34px); }
.scroll-reveal.from-right { transform: translateX(34px); }
.scroll-reveal.in-view { opacity: 1; transform: none; }
.context-number { display: inline-block; transform-origin: left center; }
.context-number.number-enter { animation: number-pop .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes number-pop { from { opacity: 0; transform: translateY(20px) scale(.88); } to { opacity: 1; transform: none; } }

body.high-contrast { --paper: #ffffff; --paper-2: #f2f2f2; --ink: #000000; --muted: #252525; --teal: #002f31; --teal-2: #004f50; --coral: #ff6a50; --coral-soft: #ffd8cf; --gold-soft: #ffe6a6; --line: rgba(0,0,0,.35); }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .hero { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .offering-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-section { grid-template-columns: 1fr; }
  .demo-copy { max-width: 720px; }
  .safety-grid { grid-template-columns: repeat(2, 1fr); }
  .pilot-map { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .pilot-line { display: none; }
}

@media (max-width: 760px) {
  .site-header { min-height: 66px; padding-inline: 1rem; }
  .header-actions .button { display: none; }
  .hero { min-height: auto; padding-top: 4rem; grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .hero-visual { min-height: 650px; margin-top: 2rem; }
  .note-one { left: 0; }
  .note-two { right: 0; }
  .context-band { grid-template-columns: 1fr; }
  .context-statement { padding: 1.2rem 0 0; border-left: 0; border-top: 1px solid rgba(34,27,25,.3); }
  .split-section, .section-heading { grid-template-columns: 1fr; }
  .section-intro { position: static; }
  .offering-grid { grid-template-columns: 1fr; }
  .offering-card { min-height: 350px; }
  .demo-section { padding-inline: 1rem; }
  .gateway-options { grid-template-columns: 1fr; }
  .gateway-panel { min-height: auto; }
  .panel-heading { flex-direction: column; }
  .safety-grid, .pilot-map { grid-template-columns: 1fr; }
  .closing-cta { grid-template-columns: 1fr; }
  .closing-actions { justify-content: start; }
  .site-footer { align-items: flex-start; }
  .modal { width: calc(100% - 1rem); max-height: calc(100vh - 1rem); border-radius: 20px; }
  .modal-shell { padding: 3.5rem 1.2rem 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .scroll-reveal { opacity: 1; transform: none; }
}
