/* avasail.com: the Ava design system on the web (docs/brand/type/README.md): the platform text face for everything
   informational, Fraunces on headings only, tonal surfaces, 16 px cards, pill controls, the app's dark sea. */
@font-face { font-family: "Fraunces"; src: url("/assets/Fraunces-latin.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }

:root {
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", Roboto, "Segoe UI", system-ui, sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --sea: #0B1418; --deep: #081015; --surface: #15232D; --raised: #1C2E39;
  --text: #D7E3EA; --strong: #F2F5F7; --muted: #7E96A3;
  --line: rgba(167,186,196,.14); --outline: rgba(167,186,196,.32);
  --accent: #5FA8C4; --anchor: #40E0D0; --gold: #E2B65C;
  --go: #5DB070; --caution: #D9A23A; --nogo: #E0665A;
  --go-bg: rgba(78,154,95,.16); --caution-bg: rgba(201,146,46,.16); --nogo-bg: rgba(180,72,60,.2);
  --r-card: 16px; --r-box: 12px;
  --wrap: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--sea); color: var(--text); font: 17px/1.6 var(--font-text); }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--strong); line-height: 1.08; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 700; letter-spacing: -.025em; word-spacing: .06em; }
h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(11,20,24,.78); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--strong); text-decoration: none; font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: none; gap: 4px; margin-left: auto; }
.nav-links a { color: var(--text); text-decoration: none; font-size: .92rem; padding: 8px 12px; border-radius: 999px; opacity: .85; }
.nav-links a:hover { background: rgba(255,255,255,.08); opacity: 1; }
.nav .lang { font-size: .85rem; color: rgba(255,255,255,.8); text-decoration: none; margin-left: auto; }
.nav.solid .lang { color: var(--muted); }
.nav .btn { padding: 9px 16px; font-size: .9rem; }
@media (min-width: 1180px) { .nav-links { display: flex; } .nav .lang { margin-left: 4px; } }
.nav-links a, .nav .btn, .nav .lang { white-space: nowrap; }
@media (max-width: 520px) { .nav .btn { display: none; } }

/* ---------- buttons, pills ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font: 600 1rem/1.2 var(--font-text); transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--strong); color: var(--sea); }
.btn.accent { background: var(--accent); color: #062029; }
.btn.ghost { background: rgba(255,255,255,.08); color: var(--strong); border-color: rgba(255,255,255,.22); }
.btn.small { padding: 8px 14px; font-size: .88rem; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; background: var(--raised); color: var(--text); }
.pill.go { background: var(--go-bg); color: var(--go); }
.pill.caution { background: var(--caution-bg); color: var(--caution); }
.pill.nogo { background: var(--nogo-bg); color: var(--nogo); }
.pill.accent { background: rgba(95,168,196,.16); color: var(--accent); }
.pill.anchor { background: rgba(64,224,208,.12); color: var(--anchor); }
.pill.outline { background: transparent; border: 1px solid var(--outline); color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.hero-bg { position: absolute; inset: -6% 0 0 0; background: #0A2238 url("/assets/hero.webp") 100% 58% / cover no-repeat; transform: scale(1.06); will-change: transform; }
@media (max-width: 979px) and (orientation: portrait) { .hero-bg { background-image: url("/assets/hero-portrait.webp"); background-position: center; } }
.hero::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(8,16,21,.55) 0%, rgba(8,16,21,.05) 30%, rgba(8,16,21,.35) 62%, var(--sea) 100%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: 110px; padding-bottom: 56px; display: grid; gap: 40px; align-items: end; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: 1.15fr .85fr; padding-bottom: 88px; } }
.hero h1 { color: #fff; margin-bottom: .25em; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .lead { font-size: clamp(1.15rem, 2.4vw, 1.4rem); max-width: 30em; color: rgba(255,255,255,.92); line-height: 1.5; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .fine { margin-top: 18px; font-size: .88rem; color: rgba(255,255,255,.75); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 18px; }
.hero .eyebrow { color: #fff; opacity: .9; }
.eyebrow .wp { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid currentColor; font-size: .72rem; letter-spacing: 0; }

/* the live answer card */
.answer { background: rgba(11,20,24,.72); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 22px 22px 18px; box-shadow: 0 30px 80px rgba(0,0,0,.35); max-width: 440px; justify-self: end; width: 100%; }
@media (max-width: 979px) { .answer { justify-self: start; } }
.answer .route { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--muted); }
.answer .route b { color: var(--strong); font-weight: 600; font-size: 1rem; }
.answer .word { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 2.8rem); letter-spacing: -.03em; line-height: 1.05; margin: 10px 0 6px; transition: color .4s; }
.answer ul { list-style: none; padding: 0; margin: 12px 0 0; font-size: .93rem; color: var(--text); }
.answer li { display: flex; gap: 10px; padding: 5px 0; line-height: 1.45; }
.answer li .dot { margin-top: .5em; flex: none; }
.answer .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.answer .bar { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; width: 90px; }
.answer .bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.answer .swap { transition: opacity .35s, transform .35s; }
.answer.out .swap { opacity: 0; transform: translateY(6px); }
.c-go { color: var(--go); } .c-caution { color: var(--caution); } .c-nogo { color: var(--nogo); }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; z-index: 2; width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.5); border-radius: 12px; transform: translateX(-50%); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 2s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- the passage track down the page ---------- */
main { position: relative; }
.track { position: absolute; top: 0; left: 0; width: 100%; pointer-events: none; z-index: 0; display: none; }
@media (min-width: 1240px) { .track { display: block; } }
.track path.dash { fill: none; stroke: var(--outline); stroke-width: 1.5; stroke-dasharray: 2 8; stroke-linecap: round; }
.track path.done { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.track .wpt circle { fill: var(--sea); stroke: var(--outline); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.track .wpt text { fill: var(--muted); font: 700 11px var(--font-text); text-anchor: middle; dominant-baseline: central; transition: fill .4s; }
.track .wpt.on circle { fill: var(--accent); stroke: var(--accent); }
.track .wpt.on text { fill: #062029; }
.track .boat { fill: var(--strong); }

/* ---------- sections ---------- */
section.s { position: relative; z-index: 1; padding: 112px 0; }
@media (max-width: 700px) { section.s { padding: 80px 0; } }
.s-head { max-width: 760px; margin-bottom: 56px; }
.s-head p { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.s-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.s-head.center p { margin-left: auto; margin-right: auto; }
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 940px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split.flip > :first-child { order: 2; } }
.panel { background: var(--surface); border-radius: 24px; padding: 28px; border: 1px solid var(--line); }
@media (max-width: 520px) { .panel { padding: 20px; border-radius: 20px; } }
.card { background: var(--surface); border-radius: var(--r-card); padding: 22px; }
.card p { color: var(--muted); margin: 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; }
.ticks li { position: relative; padding: 10px 0 10px 32px; border-top: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.ticks b { color: var(--strong); font-weight: 600; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }

/* ---------- 01 the evening homework ---------- */
.homework { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 940px) { .homework { grid-template-columns: 1fr auto 1fr; } }
.mess { position: relative; min-height: 360px; border-radius: 24px; background: repeating-linear-gradient(135deg, rgba(255,255,255,.015) 0 10px, transparent 10px 20px), var(--deep); border: 1px dashed var(--outline); overflow: hidden; }
.mess .tab { position: absolute; width: 58%; background: var(--raised); border-radius: 12px; padding: 12px 14px; font-size: .8rem; color: var(--muted); box-shadow: 0 12px 30px rgba(0,0,0,.35); border: 1px solid var(--line); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.mess .tab b { display: block; color: var(--text); font-size: .86rem; margin-bottom: 6px; }
.mess .tab i { display: block; height: 6px; border-radius: 3px; background: var(--line); margin-top: 5px; }
.mess .tab i:nth-child(3) { width: 70%; } .mess .tab i:nth-child(4) { width: 45%; }
.mess .label, .calm .label { position: absolute; left: 18px; bottom: 16px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.mess .clock { position: absolute; right: 18px; bottom: 12px; font: 600 1.6rem var(--font-display); color: var(--nogo); }
.arrow { display: grid; place-items: center; color: var(--accent); }
.arrow svg { width: 56px; height: 56px; }
@media (max-width: 939px) { .arrow svg { transform: rotate(90deg); width: 40px; height: 40px; } }
.calm { position: relative; min-height: 360px; border-radius: 24px; background: radial-gradient(120% 90% at 50% 0%, rgba(95,168,196,.18), transparent 60%), var(--surface); border: 1px solid var(--line); display: grid; place-items: center; padding: 24px 20px 52px; }
.calm .mini { width: 100%; max-width: 320px; background: var(--raised); border-radius: 18px; padding: 18px; }
.calm .mini .word { font: 700 2rem/1 var(--font-display); color: var(--go); margin: 4px 0 10px; }
.calm .mini p { font-size: .86rem; color: var(--muted); margin: 0 0 4px; }
.calm .clock { position: absolute; right: 18px; bottom: 12px; font: 600 1.6rem var(--font-display); color: var(--go); }

.calc { margin-top: 40px; display: grid; gap: 28px; }
@media (min-width: 940px) { .calc { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.slider { margin: 0 0 22px; }
.slider label { display: flex; justify-content: space-between; font-size: .95rem; margin-bottom: 8px; }
.slider label output { color: var(--strong); font-weight: 600; font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--p, 50%), var(--raised) var(--p, 50%)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--raised); }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--accent); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--strong); border: 0; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--strong); border: 0; }
input[type=range]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.big { font: 700 clamp(3.4rem, 9vw, 5.6rem)/1 var(--font-display); color: var(--strong); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.big small { font-size: .38em; letter-spacing: -.01em; color: var(--muted); margin-left: .2em; font-weight: 600; }
.calc .out p { color: var(--muted); }
.foot { font-size: .8rem; color: var(--muted); margin-top: 10px; }

/* ---------- 02 your limits ---------- */
.limits { display: grid; gap: 28px; }
@media (min-width: 940px) { .limits { grid-template-columns: 1.35fr 1fr; } }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .ax { fill: var(--muted); font: 11px var(--font-text); }
.chart .grid-l { stroke: var(--line); }
.chart .bar { transition: fill .3s, y .3s, height .3s; }
.chart .lim { stroke-dasharray: 5 5; stroke-width: 1.5; transition: stroke .3s; }
@media (max-width: 600px) { .chart .ax { font-size: 19px; } .chart .ax.odd { display: none; } }
.chart .gust { fill: none; stroke: var(--strong); stroke-width: 2; opacity: .85; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: .8rem; color: var(--muted); margin-top: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 8px; border-radius: 2px; display: inline-block; }
.result .word { font: 700 clamp(2.4rem, 5vw, 3.2rem)/1.05 var(--font-display); letter-spacing: -.03em; margin: 4px 0 8px; transition: color .3s; }
.result ul { list-style: none; padding: 0; margin: 14px 0 0; }
.result li { display: flex; gap: 10px; padding: 7px 0; font-size: .95rem; border-top: 1px solid var(--line); }
.result li .dot { margin-top: .55em; flex: none; }

/* ---------- 03 departure finder ---------- */
.modes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.modes button { font: 600 .9rem var(--font-text); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--outline); background: transparent; color: var(--text); cursor: pointer; transition: background .2s, color .2s; }
.modes button[aria-pressed=true] { background: var(--accent); color: #062029; border-color: var(--accent); }
.week { display: grid; grid-template-columns: 54px repeat(8, 1fr); gap: 5px; font-size: .75rem; color: var(--muted); }
.week .h { text-align: center; padding-bottom: 4px; font-variant-numeric: tabular-nums; }
.week .d { display: flex; align-items: center; }
.week .c { aspect-ratio: 1.25; border-radius: 8px; position: relative; transition: transform .25s, box-shadow .25s, opacity .3s; }
.week .c.go { background: rgba(93,176,112,.78); } .week .c.caution { background: rgba(217,162,58,.75); } .week .c.nogo { background: rgba(224,102,90,.78); }
.week .c.past { background: repeating-linear-gradient(135deg, var(--raised) 0 4px, transparent 4px 8px); }
.week .c.dark::after { content: ""; position: absolute; right: 0; bottom: 0; width: 0; height: 0; border-style: solid; border-width: 0 0 10px 10px; border-color: transparent transparent rgba(8,16,21,.65) transparent; border-radius: 0 0 8px 0; }
.week .c.best { box-shadow: 0 0 0 3px var(--strong), 0 8px 24px rgba(0,0,0,.4); transform: scale(1.08); z-index: 2; }
.pick { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: baseline; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.pick b { font: 600 1.3rem var(--font-display); color: var(--strong); }

/* ---------- phones ---------- */
.phone { position: relative; width: min(320px, 78vw); margin: 0 auto; border-radius: 42px; padding: 10px; background: linear-gradient(145deg, #2A3B46, #10191F); box-shadow: 0 40px 100px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08); }
.phone img { border-radius: 33px; width: 100%; height: auto; aspect-ratio: 600 / 1142; object-fit: cover; object-position: top; background: var(--surface); }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 76px; height: 20px; margin-left: -38px; background: #05090B; border-radius: 12px; z-index: 2; }
.glow { position: relative; }
.glow::before { content: ""; position: absolute; inset: 10% -10%; background: radial-gradient(closest-side, rgba(95,168,196,.22), transparent); filter: blur(20px); }
.glow.teal::before { background: radial-gradient(closest-side, rgba(64,224,208,.18), transparent); }

/* ---------- 05 anchor watch ---------- */
.night { background: radial-gradient(80% 60% at 70% 30%, rgba(64,224,208,.08), transparent 70%), linear-gradient(180deg, var(--sea), #050B0F 50%, var(--sea)); }
.stars { position: absolute; inset: 0; pointer-events: none; background-image:
  radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.6), transparent), radial-gradient(1px 1px at 32% 8%, rgba(255,255,255,.4), transparent),
  radial-gradient(1px 1px at 52% 22%, rgba(255,255,255,.5), transparent), radial-gradient(1.5px 1.5px at 74% 12%, rgba(255,255,255,.7), transparent),
  radial-gradient(1px 1px at 88% 30%, rgba(255,255,255,.4), transparent), radial-gradient(1px 1px at 8% 44%, rgba(255,255,255,.3), transparent),
  radial-gradient(1px 1px at 64% 4%, rgba(255,255,255,.5), transparent), radial-gradient(1px 1px at 94% 8%, rgba(255,255,255,.5), transparent); opacity: .7; }
.watch { display: grid; gap: 20px; }
.watch > svg { width: 100%; max-width: 440px; margin: 0 auto; display: block; }
.watch .ring { fill: rgba(64,224,208,.06); stroke: var(--anchor); stroke-width: 2; transition: stroke .3s, fill .3s; }
.watch.alarm .ring { stroke: var(--nogo); fill: rgba(224,102,90,.1); animation: pulse 1s infinite; }
@keyframes pulse { 50% { stroke-width: 6; } }
.watch .trail { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; opacity: .9; }
.watch .rode { stroke: rgba(255,255,255,.25); stroke-width: 1; stroke-dasharray: 3 4; }
.watch .nb { fill: rgba(95,168,196,.05); stroke: rgba(95,168,196,.5); stroke-width: 1.2; stroke-dasharray: 4 4; }
.status { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.status .word { font: 700 2.4rem/1 var(--font-display); color: var(--go); letter-spacing: -.03em; transition: color .3s; font-variant-numeric: tabular-nums; }
.watch.alarm .status .word { color: var(--nogo); }
.alarmbar svg { flex: none; }
.alarmbar { display: none; align-items: center; gap: 10px; background: var(--nogo); color: #fff; border-radius: 12px; padding: 10px 14px; font-weight: 600; font-size: .92rem; }
.watch.alarm .alarmbar { display: flex; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .75; } }

/* ---------- 06 ecosystem ---------- */
.eco { position: relative; display: grid; gap: 14px; grid-template-columns: 1fr; }
.eco .lines { display: none; }
@media (min-width: 600px) and (max-width: 939px) { .eco { grid-template-columns: 1fr 1fr; } .eco .hub { grid-column: 1 / -1; order: -1; } }
@media (min-width: 940px) {
  .eco { grid-template-columns: 1fr 1fr 1.1fr 1fr 1fr; grid-template-rows: auto auto auto; gap: 18px; align-items: center; }
  .eco .lines { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
  .eco .hub { grid-column: 3; grid-row: 1 / span 3; }
  .eco .n1 { grid-column: 1 / span 2; grid-row: 1; } .eco .n2 { grid-column: 1 / span 2; grid-row: 2; } .eco .n3 { grid-column: 1 / span 2; grid-row: 3; }
  .eco .n4 { grid-column: 4 / span 2; grid-row: 1; } .eco .n5 { grid-column: 4 / span 2; grid-row: 2; } .eco .n6 { grid-column: 4 / span 2; grid-row: 3; }
  .eco .n1, .eco .n2, .eco .n3 { margin-right: 24px; } .eco .n4, .eco .n5, .eco .n6 { margin-left: 24px; }
}
.eco .lines path { fill: none; stroke: rgba(95,168,196,.45); stroke-width: 1.4; stroke-dasharray: 2 6; stroke-linecap: round; }
.eco .lines circle { fill: var(--anchor); }
.node { position: relative; z-index: 1; display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; }
.node .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(95,168,196,.14); color: var(--accent); }
.node .ic svg { width: 22px; height: 22px; }
.node h3 { font-size: 1.05rem; margin: 0 0 4px; }
.node p { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.45; }
.hub { position: relative; z-index: 1; display: grid; place-items: center; text-align: center; padding: 20px 0; }
.hub .core { width: 168px; height: 168px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(95,168,196,.25), rgba(95,168,196,.04) 70%); box-shadow: 0 0 0 1px var(--line), 0 0 0 26px rgba(95,168,196,.04), 0 0 0 52px rgba(95,168,196,.025); }
.hub img { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 16px 40px rgba(0,0,0,.45); }
.hub p { margin: 18px 0 0; font-size: .85rem; color: var(--muted); max-width: 200px; }
.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 44px; }

/* ---------- stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats div { background: var(--sea); padding: 28px 22px; }
.stats b { display: block; font: 700 clamp(2.2rem, 5vw, 3.2rem)/1 var(--font-display); color: var(--strong); letter-spacing: -.03em; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stats span { font-size: .9rem; color: var(--muted); }

/* ---------- 07 regions map ---------- */
.map { position: relative; border-radius: 24px; background: radial-gradient(100% 120% at 50% 0%, rgba(95,168,196,.08), transparent 60%), var(--deep); border: 1px solid var(--line); overflow: hidden; }
.map svg { width: 100%; height: auto; display: block; }
@media (max-width: 700px) { .map-scroll { overflow-x: auto; scrollbar-width: none; } .map-scroll::-webkit-scrollbar { display: none; } .map-scroll svg { width: 900px; max-width: none; } .map .regions { grid-template-columns: 1fr 1fr; } .map .regions div { padding: 12px 14px; } }
.map .gr { stroke: rgba(167,186,196,.07); stroke-width: 1; }
.map .eq { stroke: rgba(167,186,196,.16); stroke-dasharray: 3 6; }
.map .ocean { fill: rgba(167,186,196,.22); font: italic 600 15px var(--font-display); letter-spacing: .35em; text-transform: uppercase; }
.map .runp { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 2 7; stroke-linecap: round; opacity: .7; }
.map .pt circle.c { fill: var(--anchor); }
.map .pt circle.p { fill: none; stroke: var(--anchor); stroke-width: 1.5; animation: ping 2.8s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.map .pt text { fill: var(--strong); font: 600 13px var(--font-text); }
.map .pt text.co { fill: var(--muted); font: 11px var(--font-text); font-variant-numeric: tabular-nums; }
.regions { display: grid; gap: 1px; background: var(--line); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 1px; }
.regions div { background: var(--sea); padding: 16px 18px; }
.regions b { display: block; color: var(--strong); font-weight: 600; }
.regions span { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.anywhere { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 800px) { .anywhere { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 08 honest ---------- */
.receipts { display: flex; flex-direction: column; gap: 12px; }
.receipt { background: var(--surface); border-radius: var(--r-card); padding: 16px 18px; border-left: 3px solid var(--accent); }
.receipt .pill { margin-bottom: 8px; }
.receipt p { margin: 0; font-size: .95rem; }
.not { margin-top: 28px; padding: 22px; border-radius: var(--r-card); border: 1px solid var(--outline); }
.not h3 { font-size: 1.1rem; }
.not p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- tour strip ---------- */
.tour { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 16px 36px; margin: 0 -16px; scrollbar-width: thin; scrollbar-color: var(--raised) transparent; }
@media (min-width: 700px) { .tour { padding-left: 32px; padding-right: 32px; margin: 0 -32px; } }
.tour figure { flex: none; width: 250px; margin: 0; scroll-snap-align: center; }
.tour .phone { width: 250px; border-radius: 34px; padding: 8px; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.tour .phone img { border-radius: 27px; }
.tour .phone::before { top: 14px; width: 60px; height: 16px; margin-left: -30px; }
.tour figcaption { margin-top: 16px; font-size: .92rem; color: var(--muted); }
.tour figcaption b { display: block; color: var(--strong); font: 600 1.05rem var(--font-display); margin-bottom: 2px; }

/* ---------- story ---------- */
.story { position: relative; overflow: hidden; min-height: 86vh; display: flex; align-items: center; }
.story .bg { position: absolute; inset: 0; background: url("/assets/hero.webp") center / cover no-repeat; opacity: .8; }
@media (max-width: 700px) { .story .bg { background-image: url("/assets/hero-portrait.webp"); } }
.story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--sea) 0%, rgba(11,20,24,.35) 30%, rgba(11,20,24,.45) 70%, var(--sea) 100%); }
.story .wrap { position: relative; z-index: 1; }
.story blockquote { margin: 0; max-width: 820px; }
.story blockquote p { font: 600 clamp(2rem, 4.6vw, 3.4rem)/1.12 var(--font-display); color: #fff; letter-spacing: -.025em; }
.story .by { color: rgba(255,255,255,.85); max-width: 34em; font-size: 1.1rem; }

/* ---------- join ---------- */
.join { text-align: center; }
.join .badge { width: 120px; height: 120px; margin: 0 auto 26px; border-radius: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.join .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 14px; border: 1px solid var(--outline); color: var(--text); font-size: .85rem; text-align: left; line-height: 1.2; }
.store small { display: block; color: var(--muted); font-size: .72rem; }
.store svg { width: 22px; height: 22px; }
.free { display: grid; gap: 12px; margin: 48px auto 0; max-width: 900px; text-align: left; }
@media (min-width: 800px) { .free { grid-template-columns: repeat(3, 1fr); } }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 600 1.2rem/1.3 var(--font-display); color: var(--strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); padding: 0 0 22px; margin: 0; max-width: 40em; }

/* ---------- footer ---------- */
footer { position: relative; z-index: 1; padding: 48px 0 56px; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer a { color: var(--muted); }
footer .note { flex-basis: 100%; font-size: .82rem; max-width: 52em; }

/* ---------- inner pages (support, 404) ---------- */
body.page header.top { position: relative; border-bottom: 1px solid var(--line); background: var(--sea); }
body.page header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
body.page nav.lang a { color: var(--muted); text-decoration: none; font-size: .9rem; margin-left: 14px; }
body.page nav.lang a[aria-current] { color: var(--strong); font-weight: 600; }
body.page main.wrap { padding-top: 56px; padding-bottom: 64px; max-width: 860px; }
body.page h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
body.page h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
body.page .card h3 { font-size: 1.15rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .scroll-cue::after, .map .pt circle.p, .watch.alarm .ring, .watch.alarm .alarmbar { animation: none; }
  .hero-bg { transform: none; }
}
