/* shipoclock.com — site styles. Tokens live in tokens.css (brand v1); this file only composes them. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; background: var(--accent); color: var(--text-on-accent); padding: 8px 12px; border-radius: var(--radius-sm); z-index: 20; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }

/* type helpers */
h1.display, .display { font: var(--type-display); font-variation-settings: var(--font-display-variation); letter-spacing: -0.01em; }
h2.display { font: var(--type-display); font-size: 32px; line-height: 36px; font-variation-settings: var(--font-display-variation); }
@media (min-width: 720px) { h1.display { font-size: 52px; line-height: 56px; } h2.display { font-size: 38px; line-height: 42px; } }
.time { font: var(--type-time-lg); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.time-md { font: var(--type-time-md); font-variant-numeric: tabular-nums; }
.time-sm { font: var(--type-time-sm); font-variant-numeric: tabular-nums; }
.eyebrow { font: var(--type-eyebrow); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--text-muted); }
.muted { color: var(--text-muted); }
.lede { font: var(--type-title3); font-weight: 400; color: var(--text-muted); max-width: 40em; }
.footnote { font: var(--type-footnote); color: var(--text-muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--radius-pill); border: 1px solid transparent; font: var(--type-headline); text-decoration: none; cursor: pointer; transition: background var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease); }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--text-on-accent); }
.btn-primary:hover { background: var(--accent-pressed); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { background: var(--surface-sunken); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-sm { min-height: 36px; padding: 6px 14px; font: var(--type-subhead); font-weight: 600; }

/* header */
.site-head { padding: 14px 0; border-bottom: 1px solid var(--line); background: var(--bg); }
.site-head .wrap { display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img.mark { width: 30px; height: 30px; border-radius: 8px; }
.brand img.wordmark { height: 22px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text); font: var(--type-subhead); font-weight: 500; padding: 8px 10px; border-radius: var(--radius-sm); white-space: nowrap; }
@media (max-width: 439px) { .brand .wordmark { display: none; } .nav { gap: 0; } }
.nav a:hover { background: var(--accent-soft); text-decoration: none; }
.nav a.btn { color: var(--text-on-accent); }
.nav a.btn:hover { background: var(--accent-pressed); }
.nav .hide-sm { display: none; }
@media (min-width: 720px) { .nav .hide-sm { display: inline-flex; } }

/* sections */
.section { padding: 56px 0; }
@media (min-width: 720px) { .section { padding: 88px 0; } }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head .eyebrow { margin-bottom: 10px; }
.section-head p { margin-top: 12px; }
.section-alt { background: var(--surface-sunken); }

/* hero */
.hero { padding: 40px 0 48px; }
@media (min-width: 720px) { .hero { padding: 72px 0 56px; } }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.hero h1 { margin: 14px 0 18px; }
.hero .lede { margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 14px; }

/* cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 20px; }
.glass { padding: 20px; }

/* live card (landing + board) */
.live-card { position: relative; overflow: hidden; }
.live-card .live-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px var(--accent-soft); }
.live-dot.stale { background: var(--warn); box-shadow: 0 0 0 3px var(--accent-alt-soft); }
.place-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.place-tabs button { border: 1px solid var(--line); background: var(--surface); color: var(--text-muted); border-radius: var(--radius-pill); padding: 5px 11px; font: var(--type-caption); cursor: pointer; }
.place-tabs button[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.next-time { font: var(--type-hero); font-size: 48px; line-height: 52px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
@media (min-width: 720px) { .next-time { font-size: 56px; line-height: 60px; } }
.next-time.soon { color: var(--accent); }
.next-rel { font: var(--type-title3); color: var(--text-muted); margin-top: 2px; }
.next-ship { margin-top: 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font: var(--type-headline); }
.next-ship .meta { font: var(--type-subhead); color: var(--text-muted); }
.type-dot { width: 12px; height: 12px; border-radius: 3px; flex: none; background: var(--ship-other); }
.type-dot[data-kind="cargo"] { background: var(--ship-cargo); }
.type-dot[data-kind="tanker"] { background: var(--ship-tanker); }
.type-dot[data-kind="passenger"] { background: var(--ship-passenger); }
.type-dot[data-kind="ferry"] { background: var(--ship-ferry); }
.type-dot[data-kind="tug"] { background: var(--ship-tug); }
.type-dot[data-kind="fishing"] { background: var(--ship-fishing); }
.type-dot[data-kind="pleasure"] { background: var(--ship-pleasure); }
.quiet { font: var(--type-title2); }
.quiet + .next-rel { margin-top: 6px; }
.live-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.live-stats > div { min-width: 0; }
.live-stats .k { font: var(--type-caption); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.live-stats .v { font: var(--type-time-sm); font-size: 16px; line-height: 20px; margin-top: 2px; }
.live-stats .s { font: var(--type-caption); font-weight: 400; color: var(--text-muted); margin-top: 1px; }
@media (max-width: 479px) {
  .live-stats { grid-template-columns: 1fr; gap: 10px; }
  .live-stats > div { display: grid; grid-template-columns: 72px 1fr; column-gap: 10px; align-items: baseline; }
  .live-stats .k { grid-row: 1 / 3; align-self: start; padding-top: 3px; }
  .live-stats .v { margin-top: 0; }
}
.live-foot { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font: var(--type-footnote); color: var(--text-muted); }
.live-card[data-state="loading"] .next-time { color: var(--text-muted); }
.err { color: var(--text-muted); font: var(--type-subhead); }

/* how it works */
.steps { display: grid; gap: 16px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { padding: 22px; }
.step .num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: var(--type-time-sm); margin-bottom: 14px; }
.step h3 { font: var(--type-title3); margin-bottom: 8px; }
.step p { color: var(--text-muted); font: var(--type-callout); }
.step .art { height: 120px; margin: 14px 0 6px; border-radius: var(--radius-md); background: var(--map-water); overflow: hidden; }

/* widgets showcase */
.widgets { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .widgets { grid-template-columns: 1fr 1fr; gap: 32px; } }
.widget-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.w-small { width: 158px; height: 158px; border-radius: 34px; background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 14px; position: relative; overflow: hidden; }
.w-medium { width: 338px; max-width: 100%; height: 158px; border-radius: 34px; background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; gap: 8px; overflow: hidden; }
.w-label { font: var(--type-caption); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.w-time { font: 700 30px/34px var(--font-time); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.w-line { font: var(--type-footnote); color: var(--text); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-rows { display: grid; gap: 6px; align-self: end; }
.w-rows div { display: flex; justify-content: space-between; gap: 12px; font: var(--type-footnote); white-space: nowrap; }
.w-rows b { font: var(--type-time-sm); }
.w-dial { position: absolute; right: 10px; bottom: 10px; width: 70px; height: 70px; }
.widget-copy h3 { font: var(--type-title3); margin-bottom: 6px; }
.widget-copy p { color: var(--text-muted); font: var(--type-callout); }
.widget-copy + .widget-copy { margin-top: 20px; }

/* "as times" */
.times { display: grid; gap: 16px; }
@media (min-width: 720px) { .times { grid-template-columns: repeat(3, 1fr); } }
.times .card { padding: 22px; border-top: 4px solid var(--accent); }
.times .card[data-k="tide"] { border-top-color: var(--tide); }
.times .card[data-k="wind"] { border-top-color: var(--wind); }
.times .card[data-k="sky"] { border-top-color: var(--weather); }
.times h3 { font: var(--type-title3); margin-bottom: 12px; }
.tl { display: grid; gap: 10px; }
.tl div { display: grid; grid-template-columns: 84px 1fr; gap: 10px; align-items: baseline; }
.tl b { font: var(--type-time-md); font-size: 20px; }
.tl span { font: var(--type-callout); }
.tl > div.now { display: block; font: var(--type-footnote); color: var(--text-muted); margin-top: 4px; }

/* pricing */
.pricing { display: grid; gap: 16px; }
@media (min-width: 900px) { .pricing { grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: start; } }
.plan { padding: 24px; }
.plan h3 { font: var(--type-title2); display: flex; align-items: baseline; gap: 10px; }
.plan .price { font: var(--type-time-md); color: var(--text-muted); }
.plan .price b { color: var(--text); }
.features { list-style: none; margin: 16px 0 0; display: grid; gap: 8px; }
.features li { position: relative; padding-left: 28px; font: var(--type-callout); }
.features li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) center / 12px no-repeat; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.5 6.5l2.3 2.3L9.6 4' fill='none' stroke='%231F7A5C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.features li[data-pro]::before { background-color: var(--accent-alt-soft); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M6 1.5l1.4 2.9 3.1.4-2.3 2.2.6 3.1L6 8.6 3.2 10.1l.6-3.1L1.5 4.8l3.1-.4z' fill='%23A67A1E'/></svg>"); }
.plan-pro { border-color: var(--accent-alt); }
.tiers { display: grid; gap: 10px; margin-top: 18px; }
@media (min-width: 560px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px; background: var(--bg); }
.tier .eyebrow { margin-bottom: 4px; }
.tier .amt { font: var(--type-time-md); }
.tier .amt small { font: var(--type-footnote); color: var(--text-muted); }
.tier p { font: var(--type-footnote); color: var(--text-muted); margin-top: 6px; }
.tier[data-tier="patron"] { border-color: var(--accent-alt); }

/* faq */
.faq { display: grid; gap: 8px; max-width: 760px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font: var(--type-headline); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font: var(--type-time-md); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 16px; color: var(--text-muted); font: var(--type-callout); }

/* download cta */
.cta { text-align: center; padding: 64px 0; }
.cta h2 { margin-bottom: 10px; }
.cta .lede { margin: 0 auto 24px; }
.appstore { display: inline-flex; align-items: center; gap: 10px; background: #17262B; color: #F5F2EA; border-radius: 12px; padding: 9px 16px 9px 12px; min-height: 48px; text-decoration: none; border: 1px solid rgba(245,242,234,0.18); }
.appstore:hover { text-decoration: none; background: #0f1a1e; }
.appstore svg { width: 26px; height: 26px; fill: currentColor; }
.appstore span { display: grid; text-align: left; line-height: 1.05; }
.appstore small { font-size: 11px; opacity: 0.85; }
.appstore b { font-size: 18px; font-weight: 600; }
.appstore-soon { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; }
.appstore-soon .pill { display: inline-flex; align-items: center; gap: 8px; border: 1px dashed var(--accent-alt); color: var(--text); border-radius: var(--radius-pill); padding: 10px 16px; font: var(--type-headline); background: var(--accent-alt-soft); white-space: nowrap; }
.appstore-soon .pill svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.appstore-soon a { font: var(--type-subhead); }

/* footer */
.site-foot { margin-top: auto; border-top: 1px solid var(--line); padding: 28px 0 40px; font: var(--type-footnote); color: var(--text-muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.site-foot a { color: var(--text-muted); }
.site-foot .spacer { flex: 1; }

/* policy pages */
.pol-main { padding: 36px 0 64px; max-width: 760px; }
.pol-main h1 { font: var(--type-display); font-variation-settings: var(--font-display-variation); margin-bottom: 8px; }
.pol-eff { color: var(--text-muted); font: var(--type-subhead); margin-bottom: 20px; }
.pol-lede { font: var(--type-title3); font-weight: 400; margin-bottom: 24px; }
.pol-main h2 { font: var(--type-title2); margin: 32px 0 12px; }
.pol-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 20px; margin-bottom: 12px; }
.pol-card h3 { font: var(--type-headline); margin-bottom: 6px; }
.pol-card p + p { margin-top: 10px; }
.pol-card ul { padding-left: 20px; display: grid; gap: 8px; }
.pol-card.pol-warn { border-color: var(--accent-alt); background: var(--accent-alt-soft); }
.pol-card.pol-never { border-color: var(--accent); background: var(--accent-soft); }
.pol-fine { font: var(--type-footnote); color: var(--text-muted); margin-top: 10px; }
.sup-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.sup-jump a { border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 6px 12px; font: var(--type-caption); color: var(--text); background: var(--surface); }
.sup-form { display: grid; gap: 10px; margin-top: 10px; }
.sup-label { font: var(--type-caption); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.sup-input { width: 100%; font: var(--type-body); padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); }
.sup-textarea { resize: vertical; min-height: 120px; }
.sup-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.sup-status { font: var(--type-subhead); color: var(--text-muted); }
.sup-status.good { color: var(--success); }
.sup-status.bad { color: var(--danger); }

/* press */
.press-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .press-grid { grid-template-columns: repeat(2, 1fr); } }
.asset { padding: 18px; display: grid; gap: 10px; }
.asset .preview { border-radius: var(--radius-md); background: var(--surface-sunken); display: grid; place-items: center; padding: 18px; min-height: 140px; }
.asset .preview img { max-height: 120px; width: auto; }
.asset .dl { display: flex; gap: 8px; flex-wrap: wrap; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.shot { aspect-ratio: 9 / 19.5; border-radius: 22px; border: 1px dashed var(--line); background: var(--surface-sunken); display: grid; place-items: center; font: var(--type-caption); color: var(--text-muted); text-align: center; padding: 12px; }

/* 404 */
.notfound { text-align: center; padding: 96px 0; }
.notfound .time { font-size: 72px; line-height: 76px; color: var(--accent-alt); }

/* ---------- /app board ---------- */
.board-page { display: grid; grid-template-rows: auto 1fr; }
.board { display: grid; gap: 0; align-content: start; }
@media (min-width: 900px) { .board { grid-template-columns: minmax(340px, 45%) 1fr; height: calc(100vh - 61px); min-height: 640px; } }
.board-map { position: relative; height: 300px; background: var(--map-water); }
@media (min-width: 900px) { .board-map { height: 100%; } }
#map { position: absolute; inset: 0; }
#map .leaflet-tile-pane { filter: sepia(0.22) saturate(0.85); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #map .leaflet-tile-pane { filter: sepia(0.1) saturate(0.7) brightness(0.9); } }
.leaflet-container { font: var(--type-caption); background: var(--map-water); }
.leaflet-control-attribution { background: var(--surface-glass) !important; color: var(--text-muted) !important; font-size: 10px !important; }
.leaflet-control-attribution a { color: var(--text-muted) !important; }
.leaflet-bar a { background: var(--surface) !important; color: var(--text) !important; border-bottom-color: var(--line) !important; }
.map-pin { width: 22px; height: 22px; border-radius: 50%; background: var(--map-pin); border: 3px solid #fff; box-shadow: 0 0 0 10px var(--map-pin-halo), var(--shadow-md); }
.map-hint { position: absolute; left: 12px; right: 12px; bottom: 30px; z-index: 500; text-align: center; pointer-events: none; }
.map-hint span { display: inline-block; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--surface-glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: var(--type-caption); color: var(--text); box-shadow: var(--shadow-sm); }
.board-side { padding: 16px; overflow: auto; display: grid; gap: 12px; align-content: start; }
@media (min-width: 900px) { .board-side { padding: 20px 24px; } }
.place-bar { display: grid; gap: 8px; }
.place-search { position: relative; }
.place-search input { width: 100%; min-height: 44px; padding: 10px 44px 10px 14px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); color: var(--text); font: var(--type-body); }
.place-search .loc { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 38px; border-radius: 50%; border: 0; background: var(--accent-soft); color: var(--accent); cursor: pointer; display: grid; place-items: center; }
.place-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 600; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); max-height: 300px; overflow: auto; display: none; }
.place-list[data-open="true"] { display: block; }
.place-list button { display: flex; justify-content: space-between; gap: 10px; width: 100%; text-align: left; padding: 10px 14px; border: 0; background: none; cursor: pointer; font: var(--type-subhead); color: var(--text); }
.place-list button:hover, .place-list button[aria-selected="true"] { background: var(--accent-soft); }
.place-list button small { color: var(--text-muted); white-space: nowrap; }
.place-list .grp { padding: 8px 14px 2px; font: var(--type-caption); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.place-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.place-head h1 { font: var(--type-title1); font-size: 24px; line-height: 30px; }
.place-head .status { font: var(--type-footnote); color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px; }
.ships { display: grid; gap: 8px; }
.ship-row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; padding: 12px 14px; }
.ship-row .when b { display: block; font: var(--type-time-md); }
.ship-row .when span { font: var(--type-footnote); color: var(--text-muted); }
.ship-row .when.soon b { color: var(--accent); }
.ship-row .who { min-width: 0; }
.ship-row .who .n { font: var(--type-headline); display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ship-row .who .m { font: var(--type-footnote); color: var(--text-muted); margin-top: 2px; }
.ship-row .who .m .flag { margin-right: 4px; }
.empty { padding: 18px; }
.empty h3 { font: var(--type-title3); margin-bottom: 4px; }
.empty p { color: var(--text-muted); font: var(--type-callout); }
.env-grid { display: grid; gap: 12px; }
@media (min-width: 560px) { .env-grid { grid-template-columns: 1fr 1fr; } }
.env-card { padding: 16px 18px; }
.env-card .eyebrow { margin-bottom: 8px; }
.env-card .big { font: var(--type-time-md); }
.env-card .big small { font: var(--type-subhead); color: var(--text-muted); font-weight: 400; margin-left: 6px; }
.env-card .rows { display: grid; gap: 6px; margin-top: 8px; }
.env-card .rows div { display: grid; grid-template-columns: 76px 1fr; gap: 8px; font: var(--type-subhead); align-items: baseline; }
.env-card .rows b { font: var(--type-time-sm); }
.env-card .rows span { color: var(--text-muted); }
.spark { width: 100%; height: 56px; margin-top: 10px; }
.spark .line { fill: none; stroke: var(--tide); stroke-width: 2; }
.spark .fill { fill: var(--tide-soft); }
.spark .now { stroke: var(--accent-alt); stroke-width: 1.5; stroke-dasharray: 2 3; }
.spark .dot { fill: var(--accent-alt); }
.bars { display: flex; gap: 3px; align-items: flex-end; height: 44px; margin-top: 10px; }
.bars i { flex: 1; background: var(--wind-soft); border-radius: 2px 2px 0 0; position: relative; min-height: 3px; }
.bars i.now { background: var(--wind); }
.bars-x { display: flex; justify-content: space-between; font: var(--type-caption); color: var(--text-muted); margin-top: 4px; }
.upsell { padding: 16px 18px; border-color: var(--accent-alt); display: grid; gap: 8px; }
.upsell h3 { font: var(--type-headline); }
.upsell p { font: var(--type-subhead); color: var(--text-muted); }
.board-foot { font: var(--type-caption); color: var(--text-muted); padding-bottom: 8px; }
.board-foot a { color: var(--text-muted); }
[hidden] { display: none !important; }

/* ---------- widget kit (ported from brand/ui/mock/mock.css; scoped under .wk) ---------- */
.wk { --font-time: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif; }
.wk .row { display: flex; align-items: center; gap: 8px; }
.wk .row.wrap { flex-wrap: wrap; }
.wk .col { display: flex; flex-direction: column; }
.wk .grow { flex: 1; min-width: 0; }
.wk .nowrap { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk svg.g { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; fill: currentColor; }
.wk .sheet { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; margin-bottom: 8px; }
.wk .label { font: 500 11px/14px var(--font-text); color: var(--text-muted); margin: 0 0 6px; }
.wk .group { display: flex; flex-direction: column; max-width: 100%; }
.wk .wall { background: linear-gradient(160deg, #6d7f8a, #2c3a44 60%, #14202a); border-radius: 28px; padding: 24px; display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.wk .wall .label { color: #fff; opacity: .8; }
.wk-h { font: var(--type-title3); margin: 28px 0 12px; }
.wk .w { position: relative; overflow: hidden; background: var(--bg); color: var(--text); border-radius: 24px; padding: 14px 16px; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(0,0,0,.18); border: 1px solid var(--line); max-width: 100%; }
.wk .w.small { width: 170px; height: 170px; }
.wk .w.medium { width: 364px; height: 170px; }
.wk .w.large { width: 364px; height: 382px; }
.wk .w .w-hero { font: 700 30px/34px var(--font-time); font-variant-numeric: tabular-nums; letter-spacing: -0.3px; }
.wk .w .sub { font: 600 13px/16px var(--font-time); color: var(--accent); }
.wk .w .name { font: 600 15px/18px var(--font-text); }
.wk .w .meta { font: 500 12px/14px var(--font-text); color: var(--text-muted); }
.wk .w .foot { font: 500 11px/14px var(--font-text); display: flex; gap: 8px; margin-top: auto; white-space: nowrap; }
.wk .w .badge { margin-left: auto; font: 600 10px/12px var(--font-text); color: var(--text-muted); display: flex; align-items: center; gap: 3px; }
.wk .w.stale > *:not(.badge) { opacity: .55; }
.wk .w .cta { margin-top: auto; align-self: flex-start; background: var(--accent); color: var(--text-on-accent); font: 600 13px/16px var(--font-text); padding: 6px 12px; border-radius: 999px; }
.wk .w .anynow { font: 700 19px/22px var(--font-display); font-variation-settings: "SOFT" 70; color: var(--accent); }
.wk .w .t { font-family: var(--font-time); font-variant-numeric: tabular-nums; font-weight: 600; }
.wk .lock { color: #fff; }
.wk .acc { position: relative; color: #fff; }
.wk .acc.circ { width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; }
.wk .acc.rect { width: 172px; height: 76px; border-radius: 14px; background: rgba(255,255,255,.18); padding: 8px 12px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.wk .acc.inline { height: 26px; font: 600 14px/26px var(--font-text); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.wk .acc .big { font: 700 26px/28px var(--font-time); font-variant-numeric: tabular-nums; }
.wk .acc .l1 { font: 700 15px/18px var(--font-time); font-variant-numeric: tabular-nums; }
.wk .acc .l2 { font: 500 12px/15px var(--font-text); opacity: .95; white-space: nowrap; }
.wk .acc .l3 { font: 500 11px/14px var(--font-text); opacity: .8; white-space: nowrap; }
.wk .dial { display: block; flex: none; }
@media (max-width: 420px) { .wk .w.medium, .wk .w.large { width: 100%; } .wk .w.medium { padding: 12px; gap: 10px !important; } }

/* ---------- hero phone + live block ---------- */
.phone-mock { width: 280px; max-width: 100%; margin: 0 auto; border-radius: 40px; padding: 8px; background: #17262B; box-shadow: var(--shadow-lg); }
.phone-mock img { width: 100%; height: auto; border-radius: 32px; }
@media (min-width: 960px) { .phone-mock { width: 320px; margin: 0 0 0 auto; } }
.live-block { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .live-block { grid-template-columns: 1.1fr 0.9fr; gap: 32px; } }
.live-rows { display: grid; gap: 8px; margin-top: 14px; }
.live-rows .ship-row { padding: 10px 12px; grid-template-columns: 84px 1fr; }
.place-picker { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.place-picker button { border: 1px solid var(--line); background: var(--surface); color: var(--text-muted); border-radius: var(--radius-pill); padding: 6px 12px; font: var(--type-caption); cursor: pointer; }
.place-picker button[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.ship-thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; background: var(--surface-sunken); }
.ship-row.has-thumb { grid-template-columns: 96px 44px 1fr; }
.live-rows .ship-row.has-thumb { grid-template-columns: 84px 44px 1fr; }

/* ---------- pricing / download / how-it-works / ship ---------- */
.page-head { padding: 40px 0 8px; max-width: 720px; }
.page-head h1 { margin: 10px 0 12px; }
.tiers-3 { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 720px) { .tiers-3 { grid-template-columns: repeat(3, 1fr); } }
.tier-card { padding: 20px; }
.tier-card .amt { font: var(--type-time-lg); margin: 4px 0; }
.tier-card .amt small { font: var(--type-subhead); color: var(--text-muted); font-weight: 400; }
.tier-card h3 { font: var(--type-title3); }
.tier-card p { color: var(--text-muted); font: var(--type-subhead); margin-top: 6px; }
.tier-card[data-tier="bells"] { border-color: var(--accent); }
.plain { font: var(--type-callout); max-width: 62ch; }
.plain + .plain { margin-top: 12px; }
.prose h2 { font: var(--type-title2); margin: 36px 0 10px; }
.prose p { font: var(--type-body); max-width: 66ch; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; display: grid; gap: 6px; max-width: 66ch; font: var(--type-body); }
.prose .aside { margin-top: 12px; padding: 14px 16px; border-left: 3px solid var(--accent-alt); background: var(--accent-alt-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font: var(--type-callout); max-width: 66ch; }
.dl-hero { text-align: center; padding: 56px 0 32px; }
.dl-hero .icon { width: 120px; height: 120px; border-radius: 27px; margin: 0 auto 18px; box-shadow: var(--shadow-lg); }
.dl-hero h1 { margin-bottom: 10px; }
.dl-facts { display: grid; gap: 12px; max-width: 720px; margin: 24px auto 0; }
@media (min-width: 640px) { .dl-facts { grid-template-columns: repeat(3, 1fr); } }
.dl-facts .card { padding: 16px; font: var(--type-subhead); }
.dl-facts .card b { display: block; font: var(--type-headline); margin-bottom: 4px; }
.ship-page { display: grid; gap: 16px; padding: 24px 0 48px; }
@media (min-width: 900px) { .ship-page { grid-template-columns: 1fr 1fr; gap: 24px; } }
.ship-card { padding: 0; overflow: hidden; }
.ship-card .photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--map-water); display: block; }
.ship-card .body { padding: 20px; }
.ship-card h1 { font: var(--type-title1); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ship-card .kind { font: var(--type-callout); color: var(--text-muted); margin-top: 4px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 16px; }
@media (min-width: 480px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { padding: 10px 12px; background: var(--surface-sunken); border-radius: var(--radius-sm); min-width: 0; }
.fact .k { font: var(--type-caption); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.fact .v { font: var(--type-time-sm); font-size: 16px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pass-card { padding: 18px 20px; border-color: var(--accent-alt); }
.pass-card .when { font: var(--type-time-lg); }
.pass-card .rel { font: var(--type-title3); color: var(--accent); }
.ship-map { position: relative; height: 320px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--map-water); }
.ship-map #map { position: absolute; inset: 0; }
.open-app { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.credit { font: var(--type-caption); color: var(--text-muted); padding: 6px 20px 0; }
.share { display: inline-flex; align-items: center; gap: 6px; }
.teaser { display: grid; gap: 12px; }
@media (min-width: 720px) { .teaser { grid-template-columns: 1fr 1fr 1fr; } }
