/* Layout: sticky pill nav → chart panorama with rotating slogans → hero + phone → steps → features → crews → navy CTA card. Light "sand and sail", same tokens as the app. */
:root {
  --sand: #FBF7F0; --sand-deep: #F3ECE0; --surface: #FFFFFF; --hairline: #EDE3D3;
  --ink: #0B3C5D; --ink-muted: #5B6B78; --ink-tint: #E6EEF4;
  --coral: #B84A33; --teal: #0E7C86; --gold: #D4A24E; --gold-text: #9A6B12; --gold-tint: #F7EBD3;
  --navy: #0A1628; --sea: #CFE3EE; --land: #EDEAE0; --plan-blue: #1565C0;
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "Outfit", "Segoe UI", system-ui, sans-serif;
  --r-card: 16px; --r-big: 32px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 16px/1.6 var(--body); }
.wrap { max-width: 72rem; margin: 0 auto; padding-inline: max(16px, 4vw); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.eyebrow { font: 600 0.75rem/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; font: 600 0.95rem/1 var(--body); padding: 14px 22px; border-radius: 999px; transition: transform .15s, box-shadow .15s; }
.btn-cta { background: var(--coral); color: #fff; }
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(184,74,51,.6); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--hairline); }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* header */
header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(251,247,240,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--hairline); }
.bar { display: flex; align-items: center; gap: 16px; padding-block: 12px; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 1.2rem/1 var(--display); text-decoration: none; }
.logo-mark { width: 30px; height: 30px; flex: none; }
/* Brand wordmark: teal-to-gold like the app splash and logo. */
.wordmark { background: linear-gradient(90deg, var(--teal), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
nav.pills { display: flex; gap: 4px; margin-inline: auto; background: var(--sand-deep); padding: 4px; border-radius: 999px; }
nav.pills a { text-decoration: none; font-size: .9rem; color: var(--ink-muted); padding: 7px 14px; border-radius: 999px; }
nav.pills a.on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(11,60,93,.08); }
.lang { display: flex; border: 1px solid var(--hairline); border-radius: 999px; overflow: hidden; }
.lang button { border: 0; background: transparent; font: 600 .8rem/1 var(--body); color: var(--ink-muted); padding: 8px 10px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.bar .btn { padding: 11px 16px; }
@media (max-width: 860px) { nav.pills { display: none; } .bar .btn .long { display: none; } }

/* showcase: a sea chart instead of a photo */
.showcase { margin-top: 20px; position: relative; border-radius: var(--r-big); overflow: hidden; background: var(--sea); min-height: 26rem; display: grid; align-items: end; }
.showcase svg.chart { position: absolute; inset: 0; width: 100%; height: 100%; }
.showcase .shade { position: absolute; inset: 0; background: linear-gradient(20deg, rgba(10,22,40,.82) 0%, rgba(10,22,40,.35) 45%, rgba(10,22,40,0) 70%); }
.slogans { position: relative; display: grid; padding: clamp(24px, 5vw, 56px); color: #fff; }
.slogan { grid-area: 1 / 1; opacity: 0; transition: opacity .8s; }
.slogan.on { opacity: 1; }
.slogan h2 { font-size: clamp(2rem, 5.4vw, 3.8rem); max-width: 16ch; }
.slogan h2 span { color: var(--gold); }
.dots { position: relative; display: flex; gap: 8px; padding: 0 clamp(24px, 5vw, 56px) clamp(20px, 4vw, 40px); }
.dots button { width: 26px; height: 6px; border-radius: 3px; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; }
.dots button[aria-current="true"] { background: #fff; width: 40px; }
.coords { position: absolute; top: 18px; right: 22px; font: 500 .75rem/1.4 var(--display); color: var(--ink); background: rgba(255,255,255,.85); padding: 6px 10px; border-radius: 8px; font-variant-numeric: tabular-nums; }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(56px, 9vw, 104px); }
.hero > div { min-width: 0; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-block: 16px 20px; }
.hero h1 em { font-style: normal; color: var(--coral); }
.lede { font-size: 1.15rem; color: var(--ink-muted); max-width: 34rem; }
.checks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: center; }
.checks .ti { color: var(--teal); font-size: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } }

/* phone mockup */
.phone-stage { position: relative; display: grid; place-items: center; }
.phone-stage::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(14,124,134,.25), rgba(184,74,51,.12) 55%, transparent 70%); filter: blur(30px); }
.phone { position: relative; width: min(300px, 82vw); aspect-ratio: 9 / 19.5; max-width: 100%; border-radius: 46px; padding: 10px; background: linear-gradient(145deg, #2b3542, #0d131b); box-shadow: 0 30px 60px -20px rgba(10,22,40,.5); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.screen { height: 100%; border-radius: 37px; overflow: hidden; background: var(--sand); display: flex; flex-direction: column; font-size: 11px; position: relative; }
.island { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 32%; height: 22px; background: #000; border-radius: 12px; z-index: 2; }
.app-bar { padding: 38px 14px 8px; display: flex; justify-content: space-between; align-items: center; font: 700 14px var(--display); color: var(--ink); background: var(--sand); }
.app-bar .ti { font-size: 16px; color: var(--ink); }
.app-actions { display: flex; gap: 12px; align-items: center; }
.app-actions .pos { position: relative; display: flex; }
.app-actions .pos em { position: absolute; top: -1px; right: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.app-seg { position: absolute; top: 8px; left: 8px; display: flex; background: rgba(255,255,255,.92); border: 1px solid var(--hairline); border-radius: 9px; overflow: hidden; font-size: 8px; color: var(--ink); }
.app-seg span { display: flex; align-items: center; gap: 3px; padding: 4px 7px; }
.app-seg span + span { border-left: 1px solid var(--hairline); }
.app-seg .on { background: var(--ink-tint); }
.app-seg b { font-weight: 600; }
.app-seg .ti { font-size: 10px; }
.app-map { flex: 1; position: relative; background: var(--sea); }
.app-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tag { position: absolute; color: #fff; font: 600 9px var(--body); padding: 2px 6px; border-radius: 5px; }
.boat { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); border: 2px solid #fff; display: grid; place-items: center; color: #fff; }
.boat .ti { font-size: 14px; }
.fab { position: absolute; right: 10px; width: 30px; height: 30px; border-radius: 10px; background: #fff; border: 1px solid var(--hairline); display: grid; place-items: center; color: var(--ink); }
.fab .ti { font-size: 16px; }
.fab.cta { background: var(--coral); border-color: var(--coral); color: #fff; }
.app-nav { display: flex; justify-content: space-around; padding: 7px 4px 16px; background: var(--sand-deep); border-top: 1px solid var(--hairline); color: var(--ink-muted); }
.app-nav span { display: grid; justify-items: center; gap: 2px; font-size: 7.5px; min-width: 0; }
.app-nav b { font-weight: 500; }
.app-nav .ti { font-size: 16px; }
.app-nav .on { color: var(--ink); }
.app-nav .on b { font-weight: 700; }
/* Unread badge, like the app's Badge on the Chats tab. */
.app-nav .badged { position: relative; }
.nbadge { position: absolute; top: -3px; left: 50%; margin-left: 3px; min-width: 11px; height: 11px; padding: 0 3px; border-radius: 999px; background: #C4412E; color: #fff; font: 600 7.5px/11px var(--body); font-style: normal; text-align: center; }

/* waves between sections */
.waves { display: block; width: 100%; height: 70px; }
.waves path { animation: drift 18s linear infinite; }
.waves path + path { animation-duration: 30s; }
@keyframes drift { to { transform: translateX(-50%); } }

section.band { background: var(--surface); padding-block: clamp(56px, 8vw, 96px); }
.head { display: grid; gap: 12px; max-width: 40rem; margin-bottom: 40px; }
.head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.head p { color: var(--ink-muted); }

/* steps: a real sequence, so numbered */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { position: relative; background: var(--sand); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 24px; display: grid; gap: 12px; align-content: start; transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(11,60,93,.35); }
.step .n { position: absolute; top: 14px; right: 18px; font: 700 2.6rem/1 var(--display); color: var(--hairline); }
.tile { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink-tint); color: var(--ink); }
.tile .ti { font-size: 22px; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--ink-muted); font-size: .95rem; }
.mini { margin-top: 6px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 12px; padding: 10px 12px; font-size: .8rem; display: grid; gap: 6px; }
.mini .row { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.pill { font-size: .72rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--ink-tint); color: var(--ink); white-space: nowrap; }
.pill.coral { background: var(--coral); color: #fff; }
.seg { display: flex; border: 1px solid var(--hairline); border-radius: 8px; overflow: hidden; }
.seg span { flex: 1; text-align: center; padding: 4px; color: var(--ink-muted); }
.seg .on { background: var(--ink-tint); color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* features: bento of real app snippets, cards styled like the app's */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-areas: "chart chart chart chart help help" "chart chart chart chart crew crew" "plans plans plans chat chat chat"; }
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 32px -22px rgba(11,60,93,.4); }
.card-head { display: flex; gap: 10px; align-items: flex-start; }
.card-head .ti { font-size: 24px; color: var(--ink); line-height: 1.2; }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--ink-muted); font-size: .93rem; margin-top: 2px; }
.snip { margin-top: auto; border-radius: 12px; background: var(--sand); border: 1px solid var(--hairline); padding: 12px; font-size: .85rem; display: grid; gap: 8px; }
.a-chart { grid-area: chart; } .a-help { grid-area: help; } .a-plans { grid-area: plans; } .a-chat { grid-area: chat; } .a-crew { grid-area: crew; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "chart chart" "help crew" "plans chat"; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; grid-template-areas: "chart" "help" "crew" "plans" "chat"; } }

.snip .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.snip .muted { color: var(--ink-muted); font-size: .8rem; }
.snip-map { position: relative; padding: 0; overflow: hidden; min-height: 220px; flex: 1; }
.snip-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.snip-map .tag { font-size: 10px; }
.snip-map .boat { width: 30px; height: 30px; font-size: 16px; }
.snip-map .fab { width: 34px; height: 34px; font-size: 18px; }
.stops { display: grid; gap: 8px; position: relative; }
.stop { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: center; }
.stop .dot { width: 12px; height: 12px; border-radius: 4px; background: var(--coral); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--coral); }
.stop.done .dot { opacity: .4; }
.bubble { max-width: 85%; padding: 8px 12px; border-radius: 16px; font-size: .82rem; }
.bubble.them { background: #E2E3E8; }
.bubble.me { background: var(--ink-tint); justify-self: end; }

/* crews */
.crews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.crew { border-radius: var(--r-big); padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; align-content: start; }
.crew.sailors { background: var(--ink-tint); }
.crew.business { background: var(--gold-tint); }
.crew h3 { font-size: 1.5rem; }
.crew ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.crew li { display: flex; gap: 10px; }
@media (max-width: 760px) { .crews { grid-template-columns: 1fr; } }

/* CTA */
.cta-card { position: relative; overflow: hidden; background: var(--navy); color: #fff; border-radius: var(--r-big); padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.cta-card::before, .cta-card::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); }
.cta-card::before { width: 280px; height: 280px; background: rgba(14,124,134,.45); top: -80px; left: -60px; }
.cta-card::after { width: 240px; height: 240px; background: rgba(212,162,78,.3); bottom: -90px; right: 10%; }
.cta-card > * { position: relative; min-width: 0; }
.cta-card h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.cta-card h2 span { color: var(--gold); }
.cta-card p { color: #C9D6E3; }
form { display: grid; gap: 10px; }
.field { display: flex; gap: 8px; flex-wrap: wrap; }
.field input { flex: 1 1 14rem; min-width: 0; font: 400 1rem var(--body); padding: 14px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; }
.field input::placeholder { color: #9FB2C6; }
.hp { position: absolute; left: -9999px; }
.note { font-size: .82rem; color: #9FB2C6; }
.note a { color: #fff; }
#waitlistStatus { font-size: .9rem; min-height: 1.4em; }
#waitlistStatus[data-state="ok"] { color: #9EE0C7; }
#waitlistStatus[data-state="error"] { color: #F5B4A6; }
@media (max-width: 860px) { .cta-card { grid-template-columns: 1fr; } }

footer { padding-block: 40px 56px; color: var(--ink-muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Text pages (privacy, terms, imprint, unsubscribe): same header and type as the landing page, narrow reading column. */
body.doc header .bar { justify-content: space-between; }
body.doc main { max-width: 46rem; margin: 0 auto; padding: 48px max(16px, 4vw) 80px; }
body.doc main .wrap { max-width: none; padding: 0; }
body.doc dl { display: grid; gap: 8px; margin: 0; }
body.doc .field { display: grid; grid-template-columns: 7rem 1fr; gap: 4px 16px; align-items: baseline; }
body.doc dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { body.doc .field { grid-template-columns: 1fr; } }
body.doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 8px; }
body.doc h2 { font-size: 1.25rem; margin: 36px 0 10px; }
body.doc h3 { font-size: 1.02rem; margin: 22px 0 8px; }
body.doc p, body.doc ul { color: var(--ink-muted); line-height: 1.7; margin: 0 0 12px; }
body.doc ul { padding-left: 20px; }
body.doc li { margin-bottom: 6px; }
body.doc strong { color: var(--ink); font-weight: 600; }
body.doc a { color: var(--ink); text-decoration-color: var(--coral); text-underline-offset: 3px; }
body.doc .updated { font-size: .88rem; margin-bottom: 36px; }
body.doc .back { display: none; }
body.doc .notice, body.doc .field { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 14px 18px; }
body.doc .notice { background: #FBE9E4; border-color: #FBE9E4; color: #9C3522; }
body.doc button { font: 600 .95rem/1 var(--body); cursor: pointer; padding: 14px 22px; border-radius: 999px; border: 0; background: var(--coral); color: #fff; }
body.doc button:disabled { opacity: .6; cursor: not-allowed; }

/* Mirrors the app's StatusPill (dot + label on ink tint) and extended share FAB. */
.pill.status { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; }
.sdot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.fab.ext { width: auto; padding: 0 10px; gap: 5px; display: flex; border-radius: 10px; font-size: 8px; }
.fab.ext b { font-weight: 600; white-space: nowrap; }
