/* Ferry's landing page (home.html). Flat: solid colours only, no gradients.
   Built on app.css tokens (light and dark, following the device or the theme
   switch) and pages.css. */

.home {
  font-size: 16.5px;
  line-height: 1.6;
  --band: oklch(0.24 0.035 232);
  --band-ink: oklch(0.97 0.01 220);
  --band-soft: oklch(0.82 0.03 220);
  --band-card: oklch(0.29 0.035 232);
  --tint: oklch(0.955 0.02 210);
  --glass: oklch(0.985 0.004 240 / 0.86);
  --bezel: oklch(0.22 0.015 245);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .home {
    --band: oklch(0.225 0.02 240);
    --band-card: oklch(0.26 0.02 240);
    --tint: oklch(0.23 0.025 220);
    --glass: oklch(0.175 0.012 245 / 0.86);
    --bezel: oklch(0.34 0.015 245);
  }
}
:root[data-theme='dark'] .home {
  --band: oklch(0.225 0.02 240);
  --band-card: oklch(0.26 0.02 240);
  --tint: oklch(0.23 0.025 220);
  --glass: oklch(0.175 0.012 245 / 0.86);
  --bezel: oklch(0.34 0.015 245);
}

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--surface); padding: 8px 12px; border-radius: var(--r-sm); }

/* ── Header: sticks, and turns solid once the page scrolls ── */
.hm-bar { position: sticky; top: 0; z-index: 40; transition: background 0.3s, box-shadow 0.3s; }
.hm-bar.scrolled { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--hairline); }
.hm-top,
.home main,
.hm-foot {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: max(22px, env(safe-area-inset-left));
  padding-right: max(22px, env(safe-area-inset-right));
}
.hm-top { display: flex; align-items: center; gap: 10px; padding-top: max(14px, env(safe-area-inset-top)); padding-bottom: 14px; }
.hm-top .brand { color: var(--ink); text-decoration: none; margin: 0; }
.hm-top nav { display: flex; gap: 4px; margin-left: auto; margin-right: 6px; font-size: 15px; }
.hm-top nav a { color: var(--ink-soft); text-decoration: none; padding: 7px 12px; border-radius: 99px; transition: background 0.2s, color 0.2s; }
.hm-top nav a:hover { color: var(--ink); background: var(--surface-hover); }
.hm-top .theme-btn { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border-radius: 99px; }

/* ── Type and buttons ── */
.eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-size: 12.5px; font-weight: 700; color: var(--accent); margin: 0 0 12px; }
.home h2 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 760; margin: 0 0 14px; text-wrap: balance; }
.home h3 { font-size: 17.5px; letter-spacing: -0.012em; margin: 0 0 6px; }
.section-lede { color: var(--ink-soft); font-size: 18.5px; max-width: 640px; margin: 0; text-wrap: pretty; }
.section-lede b { color: var(--ink); }
.sec-head { margin-bottom: 34px; }
.ink-accent { color: var(--accent); }
.btn.big { padding: 15px 24px; font-size: 16px; border-radius: 14px; gap: 8px; }
.btn.primary:hover { transform: translateY(-1px); }
.btn.outline { background: var(--surface); border: 1px solid var(--hairline-strong); color: var(--ink); }
.btn.outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn { transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s; }
kbd { font: 12px/1 var(--mono); padding: 3px 6px; border-radius: 6px; background: var(--surface); border: 1px solid var(--hairline-strong); box-shadow: 0 1px 0 var(--hairline-strong); color: var(--ink); white-space: nowrap; }
code { font: 13.5px var(--mono); background: var(--surface-sunken); padding: 1px 5px; border-radius: 5px; }

/* ── Hero ── */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: center; padding: 56px 0 40px; }
.badge {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; padding: 6px 14px 6px 10px;
  border-radius: 99px; font-size: 13.5px; font-weight: 600; color: var(--ink); text-decoration: none;
  background: var(--surface); border: 1px solid var(--hairline-strong);
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.badge:hover { border-color: var(--accent); transform: translateY(-1px); }
.badge span[aria-hidden] { color: var(--accent); }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 oklch(0.66 0.15 155 / 0.6); animation: ping 2.2s infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 8px oklch(0.66 0.15 155 / 0); } }
.hero h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1; letter-spacing: -0.045em; font-weight: 790; margin: 0 0 22px; text-wrap: balance; }
.hero .lede { font-size: 19px; color: var(--ink-soft); margin: 0 0 30px; max-width: 540px; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta.center { justify-content: center; }
.hero-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 22px 0 0; font-size: 14px; color: var(--ink-soft); }
.hero-proof li { display: flex; align-items: center; gap: 7px; }
.hero-proof li::before { content: '✓'; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--accent); background: var(--accent-wash); }
.hero-copy > * { animation: rise-in 0.8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.06s; }
.hero-copy > :nth-child(3) { animation-delay: 0.12s; }
.hero-copy > :nth-child(4) { animation-delay: 0.18s; }
.hero-copy > :nth-child(5) { animation-delay: 0.24s; }

/* The illustration: a Mac and a phone with a file crossing between them. */
.hero-art { position: relative; aspect-ratio: 560 / 400; container-type: inline-size; animation: rise-in 1s 0.15s var(--ease) both; }
.ha-float { position: absolute; inset: 0; animation: float 7s ease-in-out infinite; }
.ha-float.slow { animation-duration: 8.5s; animation-delay: -2s; }
@keyframes float { 50% { transform: translateY(-1.6cqi); } }
.ha-laptop { position: absolute; left: 0; top: 16%; width: 67%; }
.ha-screen {
  aspect-ratio: 16 / 10.4; background: var(--canvas); border: 2.1cqi solid var(--bezel);
  border-radius: 2.6cqi 2.6cqi 0.6cqi 0.6cqi; padding: 2.2cqi; display: grid; grid-template-rows: auto 1fr auto auto; gap: 1.5cqi;
  box-shadow: 0 2.4cqi 5cqi -2cqi oklch(0.2 0.03 240 / 0.3); overflow: hidden;
}
.ha-base { height: 2.2cqi; margin: 0 -5.5%; background: var(--bezel); opacity: 0.75; border-radius: 0 0 2.2cqi 2.2cqi; }
.ha-bar { display: flex; align-items: center; gap: 0.9cqi; }
.ha-bar i { width: 1.3cqi; height: 1.3cqi; border-radius: 50%; }
.ha-bar i:nth-child(1) { background: oklch(0.7 0.17 25); }
.ha-bar i:nth-child(2) { background: oklch(0.82 0.15 85); }
.ha-bar i:nth-child(3) { background: oklch(0.72 0.15 150); }
.ha-bar span { margin: 0 auto; font-size: 1.6cqi; color: var(--ink-faint); background: var(--surface-sunken); padding: 0.3cqi 2.4cqi; border-radius: 99px; }
.ha-drop { border: 0.3cqi dashed var(--hairline-strong); border-radius: 1.8cqi; background: var(--surface); display: grid; place-items: center; align-content: center; gap: 0.4cqi; font-size: 2.1cqi; color: var(--ink-faint); }
.ha-drop b { color: var(--ink); font-size: 2.4cqi; }
.ha-drop-ic { width: 4.6cqi; height: 4.6cqi; border-radius: 1.2cqi; background: var(--accent-wash); position: relative; }
.ha-drop-ic::after { content: ''; position: absolute; inset: 28%; border-radius: 50%; background: var(--accent); animation: beat 2.6s ease-in-out infinite; }
@keyframes beat { 50% { transform: scale(0.75); } }
.ha-row, .ha-card { display: flex; align-items: center; gap: 1.4cqi; background: var(--surface); border: 1px solid var(--hairline); border-radius: 1.4cqi; padding: 1.1cqi 1.4cqi; font-size: 2cqi; line-height: 1.25; }
.ha-row > span:nth-child(2), .ha-card > span:nth-child(2) { display: grid; min-width: 0; }
.ha-row b, .ha-card b { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ha-row small, .ha-card small { color: var(--ink-faint); font-size: 1.65cqi; white-space: nowrap; }
.ha-pill { margin-left: auto; font-size: 1.5cqi; font-weight: 650; color: var(--accent); background: var(--accent-wash); padding: 0.4cqi 1.2cqi; border-radius: 99px; }
.ha-thumb { width: 4.4cqi; height: 4.4cqi; flex: none; border-radius: 1cqi; background: var(--accent-wash); position: relative; }
.ha-thumb.v { background: var(--accent); }
.ha-thumb.v::after { content: ''; position: absolute; left: 40%; top: 32%; border: 0.9cqi solid transparent; border-left: 1.3cqi solid #fff; border-right: 0; }
.ha-thumb.d { background: oklch(0.93 0.04 25); }
.ha-thumb.d::after { content: ''; position: absolute; inset: 26% 30%; border-top: 0.4cqi solid oklch(0.6 0.16 25); border-bottom: 0.4cqi solid oklch(0.6 0.16 25); }
.ha-thumb.t { background: oklch(0.93 0.06 85); }
.ha-thumb.t::after { content: '•••'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.7cqi; color: oklch(0.45 0.08 70); letter-spacing: -0.1em; }
.ha-route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.ha-route path { fill: none; stroke: var(--accent); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 0 10; opacity: 0.6; animation: route-flow 1.4s linear infinite; }
@keyframes route-flow { to { stroke-dashoffset: -20; } }
.ha-parcel {
  position: absolute; left: 0; top: 0; z-index: 3; display: flex; align-items: center; gap: 1.2cqi; font-size: 2.1cqi; font-weight: 650; white-space: nowrap;
  padding: 1cqi 1.8cqi 1cqi 1cqi; border-radius: 99px; background: var(--surface); border: 1px solid var(--hairline-strong);
  box-shadow: 0 1.2cqi 3cqi -1cqi oklch(0.3 0.06 220 / 0.35); animation: parcel 5.2s var(--ease) infinite;
}
/* Along the dotted arc, laptop to phone, then into the phone's list. */
@keyframes parcel {
  0%, 8% { left: 18%; top: 50%; opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
  14% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  30% { left: 34%; top: 20%; }
  46% { left: 55%; top: 12%; }
  60% { left: 74%; top: 28%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
  68%, 100% { left: 80%; top: 40%; opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
}
.ha-phone { position: absolute; right: 2%; top: 4%; width: 31%; aspect-ratio: 9 / 19; background: var(--canvas); border: 1.9cqi solid var(--bezel); border-radius: 6cqi; box-shadow: 0 2.4cqi 5cqi -2cqi oklch(0.2 0.03 240 / 0.35); overflow: hidden; }
.ha-notch { width: 34%; height: 3.2cqi; margin: 1.4cqi auto 0; border-radius: 99px; background: var(--bezel); }
.ha-phone-ui { padding: 2.8cqi 1.8cqi; display: grid; gap: 1.3cqi; }
.ha-label { font-size: 1.6cqi; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); font-weight: 650; }
.ha-card { padding: 1cqi 1.1cqi; gap: 1.1cqi; font-size: 1.8cqi; }
.ha-card .ha-thumb { width: 3.8cqi; height: 3.8cqi; }
.ha-card em { margin-left: auto; font-style: normal; font-size: 1.5cqi; color: var(--good); font-weight: 650; }
.ha-card.arrive { border-color: var(--accent); box-shadow: 0 0 0 0.5cqi var(--accent-wash); animation: arrive 5.2s var(--ease) infinite; transform-origin: top center; }
@keyframes arrive {
  0%, 62% { opacity: 0; transform: translateY(-1.4cqi) scale(0.94); }
  72%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

/* ── Works on ── */
.works-on { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 8px 0 0; }
.works-on li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 550; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--hairline); border-radius: 99px; padding: 7px 15px 7px 12px; }
.works-on svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── Numbers ── */
.stats { margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; }
.stats div { padding: 24px 24px 22px; display: grid; gap: 4px; align-content: start; }
.stats div + div { border-left: 1px solid var(--hairline); }
.stats b { font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -0.035em; line-height: 1.1; color: var(--accent); }
.stats span { font-size: 14.5px; color: var(--ink-soft); }

/* ── Sections ── */
.hm-section { padding: 96px 0 0; scroll-margin-top: 70px; }

/* Pair in a tap: copy beside a flat radar */
.pair-show { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ps-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.ps-points li { position: relative; padding: 14px 16px 14px 48px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--hairline); color: var(--ink-soft); font-size: 15.5px; }
.ps-points li::before { content: '✓'; position: absolute; left: 16px; top: 15px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--accent-ink); background: var(--accent); }
.ps-points b { color: var(--ink); }
.ps-art { position: relative; display: grid; justify-items: center; gap: 18px; padding: 34px 20px; border-radius: 28px; background: var(--tint); border: 1px solid var(--hairline); }
.pr { position: relative; width: min(100%, 340px); aspect-ratio: 1; }
.pr-ring { position: absolute; border-radius: 50%; border: 1.5px solid oklch(0.55 0.12 210 / 0.3); }
.pr-ring.r1 { inset: 0; }
.pr-ring.r2 { inset: 17%; border-style: dashed; }
.pr-ring.r3 { inset: 34%; }
/* The sweep: a solid wedge, turning */
.pr-sweep { position: absolute; inset: 0; border-radius: 50%; background: var(--accent); opacity: 0.16; clip-path: polygon(50% 50%, 50% 0, 92% 18%); animation: pr-turn 4s linear infinite; }
@keyframes pr-turn { to { transform: rotate(360deg); } }
.pr-me, .pr-dev { position: absolute; display: grid; justify-items: center; gap: 6px; transform: translate(-50%, -50%); }
.pr-me { left: 50%; top: 50%; }
.pr-ic { position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1.5px solid var(--hairline-strong); color: var(--accent); }
.pr-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pr-me .pr-ic { width: 68px; height: 68px; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pr-me .pr-ic::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--accent); animation: pr-pulse 2.4s ease-out infinite; }
@keyframes pr-pulse { from { transform: scale(1); opacity: 0.6; } to { transform: scale(2.4); opacity: 0; } }
.pr small { font-size: 12.5px; font-weight: 650; color: var(--ink); background: var(--surface); border: 1px solid var(--hairline); padding: 2px 9px; border-radius: 99px; white-space: nowrap; }
.pr-dev.d1 { left: 18%; top: 28%; }
.pr-dev.d2 { left: 82%; top: 34%; }
.pr-dev.d3 { left: 64%; top: 86%; }
.pr-dev { animation: pr-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.pr-dev.d2 { animation-delay: 0.15s; }
.pr-dev.d3 { animation-delay: 0.3s; }
@keyframes pr-pop { from { scale: 0; } }
.pr-dash { position: absolute; inset: -7px; border-radius: 50%; border: 2.5px dashed var(--accent); animation: pr-turn 2.4s linear infinite; }
.pr-dev.asking .pr-ic { border-color: var(--accent); }
.pr-allow { display: flex; align-items: center; gap: 12px; width: min(100%, 380px); padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--hairline-strong); box-shadow: var(--shadow-lift); }
.pr-allow > span:nth-child(2) { display: grid; flex: 1; min-width: 0; font-size: 14px; line-height: 1.3; }
.pr-allow small { color: var(--ink-faint); font-size: 12.5px; }
.pr-allow-ic { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--accent-wash); color: var(--accent); }
.pr-allow-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pr-allow-btns { display: flex; gap: 6px; }
.pr-allow-btns em { font-style: normal; font-size: 12.5px; font-weight: 650; padding: 6px 10px; border-radius: 9px; background: var(--surface-sunken); color: var(--ink-soft); white-space: nowrap; }
.pr-allow-btns em.yes { background: var(--accent); color: var(--accent-ink); }

/* Features: a bento grid */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature {
  position: relative; background: var(--surface); border: 1px solid var(--hairline); border-radius: 22px; padding: 26px;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.feature:hover { transform: translateY(-3px); border-color: var(--hairline-strong); box-shadow: var(--shadow-lift); }
.feature p { margin: 0; color: var(--ink-soft); font-size: 15.5px; text-wrap: pretty; }
.feature p b { color: var(--ink); }
.feature.wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 26px; align-items: center; background: var(--tint); }
.f-ic { width: 44px; height: 44px; border-radius: 13px; background: var(--accent-wash); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.f-ic svg, .dl-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* The direct-route diagram */
.p2p { display: grid; gap: 16px; justify-items: center; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--hairline); }
.p2p-server { display: grid; justify-items: center; gap: 2px; padding: 9px 16px; border-radius: 12px; border: 1px dashed var(--hairline-strong); color: var(--ink-faint); font-size: 13px; text-align: center; }
.p2p-server span { font-weight: 650; color: var(--ink-soft); }
.p2p-lane { display: flex; align-items: center; gap: 10px; width: 100%; }
.p2p-dev { display: grid; justify-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--ink); flex: none; }
.p2p-dev svg { width: 38px; height: 38px; padding: 8px; border-radius: 12px; background: var(--surface-sunken); border: 1px solid var(--hairline); fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; box-sizing: content-box; }
.p2p-track { position: relative; flex: 1; height: 0; border-top: 3px dotted var(--accent); margin-bottom: 20px; }
.p2p-track i { position: absolute; top: -1.5px; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-wash); animation: hop 2.4s var(--ease) infinite; }
.p2p-track i:nth-child(2) { animation-delay: 0.8s; }
.p2p-track i:nth-child(3) { animation-delay: 1.6s; }
@keyframes hop { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.p2p-note { font-size: 12.5px; color: var(--accent); font-weight: 650; background: var(--accent-wash); padding: 3px 10px; border-radius: 99px; }

/* Arrival notifications */
.toast-stack { display: grid; gap: 10px; }
.mini-toast { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--hairline-strong); box-shadow: var(--shadow-lift); }
.mini-toast:nth-child(2) { margin-left: 18px; }
.mini-toast:nth-child(3) { margin-left: 36px; opacity: 0.85; }
.mini-toast img { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.mini-toast span { display: grid; min-width: 0; font-size: 13.5px; line-height: 1.35; }
.mini-toast small { color: var(--ink-soft); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Right-click scenes */
.rc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rc { margin: 0; display: grid; gap: 14px; align-content: start; }
.rc figcaption { color: var(--ink-soft); font-size: 14.5px; padding: 0 4px; }
.rc figcaption b { color: var(--ink); }
.rc-scene { position: relative; height: 270px; border-radius: 22px; border: 1px solid var(--hairline); overflow: hidden; padding: 22px; background: var(--tint); transition: transform 0.35s var(--ease); }
.rc:hover .rc-scene { transform: translateY(-3px); }
.rc-scene.win { background: var(--surface-sunken); }
.rc-file { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; padding: 8px 10px; border-radius: 8px; background: var(--accent-wash); color: var(--ink); }
.rc-doc { width: 34px; height: 42px; border-radius: 4px; background: var(--surface); border: 1px solid var(--hairline-strong); position: relative; }
.rc-doc::after { content: 'PDF'; position: absolute; bottom: 5px; left: 0; right: 0; text-align: center; font: 700 8px var(--font); color: oklch(0.6 0.18 25); }
.rc-doc.img { background: oklch(0.72 0.1 170); border-color: transparent; }
.rc-doc.img::after { content: ''; }
.rc-text { margin: 0; font-size: 15px; color: var(--ink-soft); background: var(--surface); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--hairline); }
.rc-text mark { background: oklch(0.7 0.13 220 / 0.3); color: var(--ink); border-radius: 2px; }
.rc-menu { position: absolute; left: 96px; top: 58px; width: 230px; display: grid; padding: 5px; border-radius: 11px; background: var(--surface); border: 1px solid var(--hairline-strong); box-shadow: var(--shadow-float); font-size: 13.5px; }
.rc-scene.web .rc-menu { left: 36px; top: 96px; width: 250px; }
.rc-menu span { padding: 5px 10px; border-radius: 6px; display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-menu span.on { background: var(--accent); color: var(--accent-ink); font-weight: 600; animation: blink-on 3.6s ease-in-out infinite; }
@keyframes blink-on { 0%, 20% { background: transparent; color: inherit; } 28%, 100% { background: var(--accent); color: var(--accent-ink); } }
.rc-menu hr { border: 0; border-top: 1px solid var(--hairline); margin: 4px 6px; }
.rc-mark { width: 16px; height: 16px; flex: none; border-radius: 4px; box-shadow: 0 0 0 1.5px oklch(1 0 0 / 0.85); }

/* How: three steps joined by a dotted line */
.how { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; }
.how::before { content: ''; position: absolute; left: 12%; right: 12%; top: 44px; border-top: 2px dotted var(--accent); opacity: 0.5; }
.how li { position: relative; counter-increment: s; background: var(--surface); border: 1px solid var(--hairline); border-radius: 22px; padding: 26px; display: grid; gap: 6px; align-content: start; }
.how li::before { content: counter(s); width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 750; margin-bottom: 8px; }
.how li b { font-size: 17px; }
.how li span { color: var(--ink-soft); font-size: 15.5px; }

/* Downloads */
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dl { position: relative; background: var(--surface); border: 1px solid var(--hairline); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 16px; transition: border-color 0.3s, transform 0.35s var(--ease); }
.dl:hover { transform: translateY(-2px); }
.dl.mine { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-wash); }
.dl-yours { display: none; position: absolute; top: -11px; right: 20px; font-size: 12px; font-weight: 700; color: var(--accent-ink); background: var(--accent); padding: 3px 10px; border-radius: 99px; letter-spacing: 0.02em; }
.dl.mine .dl-yours { display: block; }
.dl header { display: flex; align-items: center; gap: 14px; }
.dl header h3 { margin: 0; font-size: 19px; }
.dl header small { color: var(--ink-faint); font-size: 13.5px; }
.dl-ic { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--accent-wash); color: var(--accent); display: grid; place-items: center; }
.dl ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 15px; display: grid; gap: 5px; }
.dl ul b { color: var(--ink); font-weight: 600; }
.dl-btn { justify-content: center; padding: 13px 18px; font-size: 15px; border-radius: 13px; }
.dl-btn small { font-weight: 500; opacity: 0.75; margin-left: 4px; }
.dl-btn.soon { pointer-events: none; opacity: 0.5; }
.dl-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dl details { border-top: 1px solid var(--hairline); padding-top: 12px; font-size: 14.5px; margin-top: auto; }
.dl summary { cursor: pointer; color: var(--accent); font-weight: 600; list-style: none; display: flex; align-items: center; gap: 6px; }
.dl summary::-webkit-details-marker { display: none; }
.dl summary::before { content: '›'; font-size: 18px; line-height: 1; transition: transform 0.25s var(--ease); }
.dl details[open] summary::before { transform: rotate(90deg); }
.dl details ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-soft); }
.dl details b { color: var(--ink); }
.dl .fine { margin: 10px 0 0; color: var(--ink-faint); font-size: 13.5px; }
.dl.phone { grid-column: 1 / -1; }
.phone-body { display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.phone-qr { margin: 0; display: grid; justify-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-faint); }
.phone-qr img { background: #fff; padding: 9px; border-radius: 14px; border: 1px solid var(--hairline); }
.only-phone { display: none; }

/* Privacy: a solid dark band in either theme */
.privacy-band { margin-top: 96px; scroll-margin-top: 70px; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 36px 48px; align-items: start; padding: 48px; border-radius: 28px; background: var(--band); color: var(--band-ink); border: 1px solid oklch(1 0 0 / 0.08); }
.privacy-band .eyebrow { color: var(--teal-300); }
.privacy-band h2 { color: var(--band-ink); }
.privacy-band .pv-head p { color: var(--band-soft); font-size: 17.5px; margin: 0 0 20px; }
.pv-more { color: var(--teal-300); font-weight: 650; text-decoration: none; }
.pv-more:hover { text-decoration: underline; }
.pv-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pv-list li { position: relative; padding: 14px 16px 14px 46px; border-radius: 14px; background: var(--band-card); color: var(--band-soft); font-size: 15px; }
.pv-list li::before { content: '✓'; position: absolute; left: 16px; top: 15px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--band); background: var(--teal-300); }
.pv-list b { color: var(--band-ink); }

.faq { max-width: 780px; }
.faq details { padding: 18px 0; }
.faq summary { font-size: 17px; }

/* Closing call: a solid accent panel */
.final { margin: 96px 0 48px; padding: 64px 32px; border-radius: 28px; text-align: center; color: #fff; background: var(--teal-600); }
.final h2 { color: #fff; margin-bottom: 8px; }
.home .final p { margin: 0 0 28px; color: oklch(0.95 0.02 210); font-size: 18px; }
.final-mark { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 18px; box-shadow: 0 0 0 1px oklch(1 0 0 / 0.35); }
.final-mark svg { width: 100%; height: 100%; display: block; border-radius: 18px; }
.btn.light { background: #fff; color: var(--teal-700); }
.btn.light:hover { transform: translateY(-1px); }
.btn.clear { background: transparent; color: #fff; border: 1px solid oklch(1 0 0 / 0.5); }
.btn.clear:hover { background: oklch(1 0 0 / 0.12); }
.hm-foot { padding-top: 12px; }

/* ── Scroll-in (only when JS is on; go.js marks the page) ── */
html.reveal [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.reveal [data-reveal].shown { opacity: 1; transform: none; }
/* If home.js never runs, show everything anyway. */
html.reveal [data-reveal]:not(.shown) { animation: reveal-anyway 0s 2.5s forwards; }
@keyframes reveal-anyway { to { opacity: 1; transform: none; } }

/* ── Smaller screens ── */
@media (max-width: 1000px) {
  .hero, .pair-show { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 28px; }
  .hero-art { max-width: 600px; width: 100%; margin: 0 auto; }
  .features, .rc-grid, .how { grid-template-columns: 1fr 1fr; }
  .feature.wide { grid-column: 1 / -1; }
  .rc:nth-child(3) { grid-column: 1 / -1; }
  .how::before { display: none; }
  .how li:nth-child(3) { grid-column: 1 / -1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n + 3) { border-top: 1px solid var(--hairline); }
  .privacy-band { grid-template-columns: 1fr; padding: 36px; }
}
@media (max-width: 680px) {
  .hm-top nav { display: none; }
  .hm-top .theme-btn { margin-left: auto; }
  .features, .rc-grid, .how, .dl-grid, .pv-list { grid-template-columns: 1fr; }
  .feature.wide { grid-template-columns: 1fr; }
  .how li:nth-child(3), .rc:nth-child(3) { grid-column: auto; }
  .hm-section { padding-top: 72px; }
  .hero h1 { font-size: 42px; }
  .hero .lede { font-size: 17.5px; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .phone-qr { display: none; }
  .only-phone { display: inline-flex; }
  .rc-menu { left: 64px; }
  .stats div { padding: 18px; }
  .privacy-band { padding: 28px 22px; border-radius: 22px; margin-top: 72px; }
  .final { padding: 48px 22px; margin-top: 72px; }
  .mini-toast:nth-child(n) { margin-left: 0; }
  .ps-art { padding: 26px 12px; }
  .pr small { font-size: 11.5px; }
  .pr-allow-btns em:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ha-parcel { display: none; }
  .ha-card.arrive { animation: none; opacity: 1; }
  .ha-route path, .ha-float, .p2p-track i, .badge-dot, .rc-menu span.on, .ha-drop-ic::after, .pr-sweep, .pr-me .pr-ic::after, .pr-dash, .pr-dev { animation: none; }
  html.reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
}
