/* boatme landing — tokens mirror boatme_app/lib/theme/ (light palette). Flat: hairlines, no shadows
   (the single exception is the device bezel, matching AppShadows.frame in the app). */
:root {
  --navy: #1B3A8B; --navy-dark: #142C6B; --blue: #2563EB; --blue-soft: #EAF1FF;
  --water-light: #CDEBFB; --water-mid: #9ED2F2;
  --ink: #101828; --muted: #667085; --faint: #98A2B3;
  --line: #EAECF0; --line-strong: #D0D5DD;
  --surface: #FFFFFF; --surface-muted: #F7F8FA; --sunken: #F2F4F7;
  --accent: #38BDF8; --accent-deep: #0EA5E9; --online: #2BA84A; --online-soft: #E6F6EA; --danger: #E02424;
  --r-card: 24px; --r-button: 16px; --r-input: 14px; --r-pill: 999px;
  --display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --pad: 20px; --max: 1120px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 24px; font-weight: 500; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* type scale (Space Grotesk display / Inter body) */
h1, h2, h3, .display { font-family: var(--display); font-weight: 700; margin: 0; }
h1 { font-size: clamp(38px, 6.2vw, 64px); line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-size: 21px; line-height: 27px; letter-spacing: -0.4px; }
.lede { font-size: 18px; line-height: 28px; color: var(--muted); font-weight: 500; margin: 0; }
.sub { font-size: 15px; line-height: 20px; color: var(--muted); font-weight: 500; }
.eyebrow { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--faint); margin: 0 0 12px; }
.micro { font-size: 12px; line-height: 16px; color: var(--muted); font-weight: 500; }
p { margin: 0; }

/* header */
.top { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top > a:first-child { flex: none; }
.wordmark { height: 26px; width: auto; }
@media (max-width: 359px) { .top-link { display: none; } }
.top-right { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; padding: 4px; background: var(--sunken); border-radius: var(--r-pill); font-size: 13px; line-height: 16px; font-weight: 600; }
.lang a, .lang span { padding: 6px 11px; border-radius: var(--r-pill); color: var(--muted); }
.lang span { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); }
.lang a:hover { text-decoration: none; color: var(--ink); }
.top-link { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--navy); padding: 8px 4px; white-space: nowrap; }
@media (max-width: 479px) { .top-link { font-size: 14px; padding: 8px 2px; } .lang a, .lang span { padding: 6px 8px; } .top-right { gap: 6px; } }

/* buttons + inputs (56px, radius 16, solid navy / white + 1.5px line) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 22px; border-radius: var(--r-button); border: 0; font: 600 16px/24px var(--body); letter-spacing: 0.1px; cursor: pointer; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--navy); color: #fff; width: 100%; }
.btn-primary:hover { background: var(--navy-dark); }
.btn-primary[disabled] { background: var(--line-strong); cursor: default; }
.btn-secondary { background: var(--surface); color: var(--navy); border: 1.5px solid var(--line); width: 100%; }
.btn-secondary:hover { border-color: var(--line-strong); }
.field label { display: block; font-size: 13px; line-height: 16px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.input { width: 100%; height: 56px; padding: 0 16px; border: 0; border-radius: var(--r-input); background: var(--sunken); font: 500 16px/24px var(--body); color: var(--ink); }
.input::placeholder { color: var(--faint); }
.input:focus { outline: 2px solid var(--navy); outline-offset: 0; }
.input[aria-invalid="true"] { outline: 2px solid var(--danger); }
.err { color: var(--danger); font-size: 13px; line-height: 16px; font-weight: 600; margin-top: 6px; min-height: 16px; }

/* hero */
.hero { padding: 24px 0 40px; display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.hero-copy h1 { margin-bottom: 18px; max-width: 12ch; }
.hero-copy .lede { max-width: 46ch; margin-bottom: 28px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.proof span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 14px; line-height: 16px; font-weight: 500; color: var(--muted); }
.proof svg { width: 15px; height: 15px; stroke: var(--navy); }

/* waitlist form */
.waitlist { max-width: 520px; }
.waitlist .row { display: grid; gap: 10px; margin-top: 10px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 14px; line-height: 20px; color: var(--muted); font-weight: 500; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); flex: none; }
.promise { margin-top: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.panel { border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; }
.panel.tint { background: var(--blue-soft); border-color: transparent; }
.panel h3 { margin-bottom: 8px; }
.panel .sub { margin-bottom: 0; }
.followup { margin-top: 18px; display: grid; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; padding: 9px 14px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: 14px; line-height: 16px; font-weight: 500; color: var(--muted); cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 0; height: 0; }
.chips input:checked + span, .chips label:has(input:checked) { background: var(--navy); color: #fff; border-color: var(--navy); }
.chips label:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
select.input, textarea.input { appearance: none; }
textarea.input { height: auto; min-height: 96px; padding: 14px 16px; resize: vertical; }
[hidden] { display: none !important; }

/* device frame (the app's web bezel: #0B1020, radius 44, inner 38) */
.device-col { display: flex; justify-content: center; }
.device { width: min(300px, 78vw); aspect-ratio: 390 / 844; background: #0B1020; border-radius: 12.5%/5.8%; padding: 3.2%; box-shadow: 0 28px 70px rgba(0,0,0,.25); }
.device .screen { width: 100%; height: 100%; border-radius: 11%/5%; overflow: hidden; background: var(--sunken); }
.device img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device-cap { text-align: center; margin-top: 14px; }

/* sections */
section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 { margin-bottom: 10px; }
section .lede { margin-bottom: 32px; max-width: 56ch; }
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.card { border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; background: var(--surface); }
.card .num { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 30px; letter-spacing: -0.5px; color: var(--navy); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15px; line-height: 22px; }
.card .ic { width: 22px; height: 22px; stroke: var(--navy); margin-bottom: 12px; }
.place { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.place img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.place .meta { padding: 14px 16px 16px; }
.place .meta strong { display: block; font-size: 17px; line-height: 24px; font-weight: 600; }
.place .meta span { color: var(--muted); font-size: 14px; line-height: 20px; }
.stops { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.stops span { padding: 8px 12px; background: var(--sunken); border-radius: var(--r-pill); font-size: 14px; line-height: 16px; font-weight: 500; color: var(--muted); }

/* skipper block: tinted focal block */
.skipper { padding: 0; }
.skipper h2 { color: var(--navy); }
.skipper ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.skipper li { display: flex; gap: 12px; align-items: flex-start; }
.skipper li svg { width: 22px; height: 22px; flex: none; stroke: var(--navy); margin-top: 1px; }
.skipper li strong { display: block; font-weight: 600; }
.skipper li span { color: var(--muted); font-size: 15px; line-height: 22px; }
.skipper .btn { max-width: 360px; }

/* faq */
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-size: 17px; line-height: 24px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); flex: none; margin-right: 4px; transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq p { color: var(--muted); padding: 0 0 18px; font-size: 15px; line-height: 23px; max-width: 64ch; }

/* repeat cta */
.cta2 { display: grid; gap: 28px; }
.cta2 h2 { margin-bottom: 8px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; }
.foot { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; line-height: 20px; font-weight: 600; }
.foot nav a { color: var(--muted); }
.foot .micro { flex-basis: 100%; }

/* legal pages */
.legal { max-width: 720px; padding: 24px 0 64px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 8px; }
.legal h2 { font-size: 18px; line-height: 24px; letter-spacing: -0.2px; font-weight: 600; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--muted); font-size: 14px; line-height: 1.6; }
.legal ul { padding-left: 20px; margin: 0; }
.legal .todo { background: #FFF1E0; color: #8A4B00; border-radius: var(--r-input); padding: 12px 14px; font-size: 14px; line-height: 20px; font-weight: 600; margin: 16px 0; }

@media (min-width: 720px) {
  .grid.three { grid-template-columns: repeat(3, 1fr); }
  .grid.two { grid-template-columns: repeat(2, 1fr); }
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .skipper { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
  .skipper ul { margin-bottom: 0; }
  .cta2 { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  section { padding: 72px 0; }
}
@media (min-width: 960px) {
  .hero { grid-template-columns: 1.15fr 0.85fr; padding: 40px 0 64px; gap: 48px; }
  .device { width: 320px; }
  .grid.four { grid-template-columns: repeat(4, 1fr); }
  .top { height: 76px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .faq summary::after { transition: none; } }
