/* The home page (src/homepage.js). Clean and precise: lots of space, one idea per section, crisp type, and
   motion that only brings things into focus. Every value is a token from tokens.css. */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body.home {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 var(--t-lg)/1.55 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  overflow-x: clip;
}
.home h1, .home h2, .home h3, .home p, .home ul, .home ol, .home figure { margin: 0; }
.home ul, .home ol { padding: 0; list-style: none; }
.home a { color: inherit; }
.home svg.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.home :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-xs); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.skip { position: absolute; left: var(--s-4); top: -60px; z-index: 50; padding: var(--s-2) var(--s-4); border-radius: var(--r); background: var(--accent); color: var(--accent-ink) !important; font-weight: 600; text-decoration: none; }
.skip:focus { top: var(--s-3); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--s-5); }
.wrap.wide { max-width: 1240px; }
@media (max-width: 400px) { .wrap { padding: 0 var(--s-4); } }

/* ---------- Buttons ---------- */

.home .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 44px; padding: 0 var(--s-5); border-radius: var(--r); border: 1px solid transparent;
  font: 600 var(--t-base)/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.home .btn:active { transform: scale(0.98); }
.home .btn.primary { background: var(--accent); color: var(--accent-ink); }
.home .btn.primary:hover { background: var(--accent-hover); }
.home .btn.ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.home .btn.ghost:hover { border-color: var(--moon-faint); background: var(--surface); }
.home .btn.lg { min-height: 52px; padding: 0 var(--s-6); font-size: var(--t-lg); }
.home .btn.sm { min-height: 40px; padding: 0 var(--s-4); }
.text-link { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--accent) !important; font-weight: 600; text-decoration: none; min-height: 44px; }
.text-link:hover { color: var(--accent-hover) !important; }
.text-link svg.i { transition: transform var(--fast) var(--ease); }
.text-link:hover svg.i { transform: translateX(3px); }

/* ---------- Header ---------- */

.nav {
  position: sticky; top: 0; z-index: 40;
  padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--hairline);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--text); font-weight: 700; font-size: var(--t-xl); letter-spacing: var(--track-tight); }
.brand .mark { width: 30px; height: 30px; display: block; }
.brand.small { font-size: var(--t-lg); }
.brand.small .mark { width: 26px; height: 26px; }
.nav nav { display: flex; align-items: center; gap: var(--s-1); }
.nl { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3); border-radius: var(--r); color: var(--text-2) !important; text-decoration: none; font-size: var(--t-base); font-weight: 500; transition: color var(--fast) var(--ease); }
.nl:hover { color: var(--text) !important; }
.nav .btn.sm { margin-left: var(--s-2); }
@media (max-width: 720px) { .hide-sm { display: none; } }
@media (max-width: 400px) { .brand span { font-size: var(--t-lg); } .nl { padding: 0 var(--s-2); } }

/* ---------- Hero ---------- */

.hero { padding: var(--s-8) 0 var(--s-8); text-align: center; position: relative; overflow-x: clip; }
.hero::before {
  /* one soft light behind the product shot, not a glowing gradient on anything you press */
  content: ""; position: absolute; left: 50%; top: 340px; width: min(1100px, 100%); height: 720px; transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--persimmon-haze), transparent); pointer-events: none; z-index: -1;
}
.hero h1 { font-size: var(--t-6xl); font-weight: 700; letter-spacing: var(--track-display); line-height: 1.02; }
.hero .sub { max-width: 34ch; margin: var(--s-5) auto 0; font-size: clamp(18px, 2.1vw, 23px); line-height: 1.45; color: var(--text-2); letter-spacing: -0.01em; }
.ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.fine { margin-top: var(--s-4) !important; font-size: var(--t-sm); color: var(--text-3); }
.hero .wrap.wide { margin-top: var(--s-8); }
@media (max-width: 560px) {
  .hero { padding: var(--s-7) 0 var(--s-7); }
  .ctas .btn { width: 100%; }
  .hero .wrap.wide { margin-top: var(--s-7); }
}

/* Blur to sharp, on arrival. Without motion, everything is simply there. */
@media (prefers-reduced-motion: no-preference) {
  .in { animation: focus-in var(--reveal) var(--ease-out) both; }
  .d2 { animation-delay: 90ms; } .d3 { animation-delay: 180ms; } .d4 { animation-delay: 300ms; animation-duration: 1300ms; }
  @keyframes focus-in { from { opacity: 0; filter: blur(14px); transform: translateY(18px); } }
  @supports (animation-timeline: view()) {
    .reveal { animation: focus-in linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  }
}

/* ---------- The product shot ---------- */

.shot { position: relative; text-align: left; font-size: var(--t-md); }
.browser {
  border-radius: var(--r-xl); overflow: hidden; background: var(--navy-950);
  box-shadow: var(--shadow-shot);
  border: 1px solid var(--navy-700);
}
.chrome { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 40px; padding: 0 var(--s-4); background: var(--navy-900); border-bottom: 1px solid var(--navy-700); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: var(--r-full); background: var(--navy-600); }
.url { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 var(--s-4); border-radius: var(--r-sm); background: var(--navy-800); color: var(--text-3); font-size: var(--t-xs); }
.url svg.i.lock { width: 11px; height: 11px; }
.app { display: grid; grid-template-columns: 216px 1fr 340px; height: 560px; }

.av {
  --pc: var(--c-teal);
  display: inline-grid; place-items: center; flex: none;
  width: 32px; height: 32px; border-radius: var(--r-full);
  background: color-mix(in srgb, var(--pc) 22%, var(--navy-900)); color: var(--pc);
  font-weight: 700; font-size: var(--t-sm);
}
.av.sm { width: 28px; height: 28px; font-size: var(--t-xs); }
.av.xs { width: 20px; height: 20px; font-size: 10px; }
.av.ai { background: var(--navy-750); color: var(--accent); }
.av.ai svg.i { width: 60%; height: 60%; stroke-width: 1.8; }
.av.ai svg.shippy { width: 82%; height: 82%; }

.rail { background: var(--navy-950); border-right: 1px solid var(--navy-700); padding: var(--s-4) var(--s-3); display: flex; flex-direction: column; gap: var(--s-1); }
.rail-head { display: flex; align-items: center; gap: var(--s-2); padding: 0 var(--s-2) var(--s-3); font-size: var(--t-base); }
.rail-head .mark { width: 22px; height: 22px; }
.room-item { display: flex; gap: var(--s-3); align-items: flex-start; padding: 10px var(--s-2); border-radius: var(--r); }
.room-item.on { background: var(--navy-800); }
.room-item b { display: block; font-size: var(--t-sm); font-weight: 600; }
.room-item small { display: block; font-size: var(--t-xs); color: var(--text-3); }
.ri-dot { width: 8px; height: 8px; margin-top: 6px; border-radius: var(--r-full); background: var(--pc); flex: none; }

.main { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-4); min-width: 0; background: var(--bg); }
.room-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-3); }
.room-head small, .ph-head small { display: block; font-size: var(--t-xs); color: var(--text-3); }
.room-head h3 { font-size: var(--t-2xl); font-weight: 700; letter-spacing: var(--track-tight); }
.seats { display: flex; }
.seats .av { box-shadow: 0 0 0 2px var(--bg); }
.seats .av + .av { margin-left: -6px; }
.progress { display: flex; flex-direction: column; gap: var(--s-2); font-size: var(--t-sm); color: var(--text-2); }
.progress b { color: var(--text); font-weight: 600; }
.bar { height: 4px; border-radius: var(--r-full); background: var(--navy-700); overflow: hidden; }
.bar i { display: block; height: 100%; width: 33%; background: var(--leaf); border-radius: inherit; }

.tasks { display: flex; flex-direction: column; gap: var(--s-2); }
.task { display: flex; align-items: center; gap: var(--s-3); padding: 10px var(--s-3); border-radius: var(--r); background: var(--navy-900); border: 1px solid var(--navy-700); }
.task-t { flex: 1; min-width: 0; font-weight: 600; font-size: var(--t-md); }
.task-t small { display: block; font-weight: 400; font-size: var(--t-xs); color: var(--text-3); }
.state { display: inline-flex; align-items: center; gap: 6px; padding: 3px var(--s-2); border-radius: var(--r-sm); font-size: var(--t-xs); font-weight: 600; color: var(--text-2); background: var(--navy-800); white-space: nowrap; }
.state i { width: 6px; height: 6px; border-radius: var(--r-full); background: var(--text-3); }
.task.working .state { color: var(--accent); background: var(--persimmon-soft); }
.task.working .state i { background: var(--accent); }
.task.done .state { color: var(--leaf); background: var(--leaf-soft); }
.task.done .state svg.i { width: 12px; height: 12px; stroke-width: 3; }
.task.done .task-t { color: var(--text-2); }

.preview { flex: 1; min-height: 0; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--navy-700); }
.pv-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-2) var(--s-3); background: var(--navy-900); font-size: var(--t-xs); color: var(--text-3); border-bottom: 1px solid var(--navy-700); }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--leaf); font-weight: 600; }
.live i { width: 7px; height: 7px; border-radius: var(--r-full); background: var(--leaf); }
.pv-site { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: var(--s-5); background: var(--cream); color: var(--ink-2); }
.pv-site b { font-size: var(--t-2xl); letter-spacing: var(--track-tight); color: var(--ink); }
.pv-site span { font-size: var(--t-sm); }
.pv-btn { align-self: flex-start; margin-top: var(--s-2); padding: 7px 12px; border-radius: var(--r-sm); background: var(--ink); color: var(--cream); font-weight: 600; font-size: var(--t-xs) !important; }

.chat { display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--navy-700); background: var(--navy-950); }
.chat > header { display: flex; align-items: baseline; justify-content: space-between; padding: var(--s-4) var(--s-5) var(--s-3); border-bottom: 1px solid var(--navy-700); }
.chat > header small { color: var(--text-3); font-size: var(--t-xs); }
.thread { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--s-4); padding: var(--s-4) var(--s-5); overflow: hidden; }
.m { display: flex; gap: var(--s-3); align-items: flex-start; }
.m-body { min-width: 0; flex: 1; }
.m-head { display: flex; align-items: baseline; gap: var(--s-2); margin-bottom: 2px; }
.m-head b { font-size: var(--t-sm); font-weight: 600; }
.m-head time { font-size: var(--t-xs); color: var(--text-3); }
.m p { font-size: var(--t-md); line-height: 1.45; color: var(--text); }
.ai-reply .ai-text { margin-top: 2px; padding: var(--s-3); border-radius: var(--r-lg); background: var(--navy-900); border: 1px solid var(--navy-700); }
.plan { margin-top: var(--s-2) !important; display: flex; flex-direction: column; gap: 6px; }
.plan li { display: flex; align-items: center; gap: var(--s-2); font-size: var(--t-sm); color: var(--text-2); }
.typing { display: none; }
.composer { display: flex; align-items: center; justify-content: space-between; margin: 0 var(--s-4) var(--s-4); height: 44px; padding: 0 6px 0 var(--s-4); border-radius: var(--r-lg); background: var(--navy-900); border: 1px solid var(--navy-700); color: var(--text-3); font-size: var(--t-md); }
.composer .send { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r); background: var(--accent); color: var(--accent-ink); }
.composer .send svg.i { width: 16px; height: 16px; }

/* Team AI thinks for a beat, then answers. */
@media (prefers-reduced-motion: no-preference) {
  .shot .ai-reply .m-body { position: relative; }
  .shot .typing { position: absolute; left: 0; top: 22px; display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: var(--r-lg); background: var(--navy-900); border: 1px solid var(--navy-700); animation: typing-out 200ms 2.5s both; }
  .shot .typing i { width: 6px; height: 6px; border-radius: var(--r-full); background: var(--text-3); animation: blink 1s infinite; }
  .shot .typing i:nth-child(2) { animation-delay: 160ms; } .shot .typing i:nth-child(3) { animation-delay: 320ms; }
  .shot .ai-text { animation: focus-in 700ms var(--ease-out) 2.6s both; }
  @keyframes blink { 50% { opacity: 0.3; } }
  @keyframes typing-out { to { opacity: 0; visibility: hidden; } }
  .shot .task.working .state i { animation: blink 1.6s infinite; }
}

/* The phone version of the same room. */
.phone { display: none; }
@media (max-width: 860px) {
  .browser { display: none; }
  .phone {
    display: flex; flex-direction: column; gap: var(--s-4);
    width: min(340px, 100%); margin: 0 auto; padding: 40px var(--s-4) var(--s-4);
    border-radius: 44px; background: var(--navy-950);
    border: 1px solid var(--navy-600); box-shadow: var(--shadow-shot), inset 0 0 0 6px var(--navy-900);
    position: relative;
  }
  .notch { position: absolute; top: 14px; left: 50%; width: 92px; height: 24px; transform: translateX(-50%); border-radius: var(--r-full); background: var(--black); }
  .ph-head { display: grid; grid-template-columns: 1fr auto; align-items: end; padding: 0 var(--s-1); }
  .ph-head small { grid-column: 1; }
  .ph-head b { grid-column: 1; font-size: var(--t-xl); letter-spacing: var(--track-tight); }
  .ph-head .seats { grid-column: 2; grid-row: 1 / 3; }
  .phone .thread { padding: 0 var(--s-1); gap: var(--s-3); }
  .phone .m p { font-size: var(--t-sm); }
  .phone .composer { margin: 0; }
  .phone .tasks .task:nth-child(n+3) { display: none; }
}

/* ---------- Sections ---------- */

.sec-head { max-width: 640px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.home h2 { font-size: var(--t-5xl); font-weight: 700; letter-spacing: var(--track-display); line-height: 1.06; text-wrap: balance; }
.home h1, .home h3 { text-wrap: balance; }
.home p { text-wrap: pretty; }
.sec-head p, .f-copy p { margin-top: var(--s-4); font-size: clamp(17px, 1.7vw, 20px); line-height: 1.5; color: var(--text-2); max-width: 46ch; }
.sec-head.center p { margin-left: auto; margin-right: auto; }

.how { padding-top: var(--s-10); padding-bottom: var(--s-9); }
.steps { margin-top: var(--s-7) !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.steps li { padding-top: var(--s-5); border-top: 1px solid var(--navy-600); }
.step-n { display: block; font-size: var(--t-sm); font-weight: 600; color: var(--accent); }
.steps h3 { margin-top: var(--s-3); font-size: var(--t-2xl); font-weight: 700; letter-spacing: var(--track-tight); line-height: 1.2; }
.steps p { margin-top: var(--s-2); color: var(--text-2); font-size: var(--t-lg); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: var(--s-5); } .how { padding-top: var(--s-9); padding-bottom: var(--s-8); } }

.features { display: flex; flex-direction: column; gap: var(--s-10); padding-bottom: var(--s-10); }
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--s-8); }
.feature.flip .f-copy { order: 2; }
.f-snip { display: flex; justify-content: center; }
@media (max-width: 820px) {
  .features { gap: var(--s-9); padding-bottom: var(--s-9); }
  .feature { grid-template-columns: 1fr; gap: var(--s-6); }
  .feature.flip .f-copy { order: 0; }
}

/* A snippet: a card cut from the real screens. */
.card.snip {
  width: 100%; max-width: 440px; padding: var(--s-5); border-radius: var(--r-xl);
  background: var(--navy-900); border: 1px solid var(--navy-700);
  display: flex; flex-direction: column; gap: var(--s-4); font-size: var(--t-md);
}
.snip-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.snip-head b { font-size: var(--t-lg); font-weight: 600; }
.snip-head small { color: var(--text-3); font-size: var(--t-sm); }
.btn-mini { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 var(--s-3); border-radius: var(--r); border: 1px solid var(--navy-600); font-size: var(--t-sm); font-weight: 600; color: var(--text); white-space: nowrap; }
.btn-mini svg.i { width: 14px; height: 14px; }
.btn-mini.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.tag { padding: 2px var(--s-2); border-radius: var(--r-sm); background: var(--navy-750); color: var(--text-2); font-size: var(--t-xs); font-weight: 600; white-space: nowrap; }
.note { color: var(--text-3); font-size: var(--t-sm); }

.people { display: flex; flex-direction: column; }
.people li { display: flex; align-items: center; gap: var(--s-3); padding: 10px 0; border-top: 1px solid var(--navy-700); }
.people li:first-child { border-top: 0; padding-top: 0; }
.people li > span:nth-child(2) { flex: 1; min-width: 0; }
.people b { display: block; font-weight: 600; }
.people small { display: block; font-size: var(--t-xs); color: var(--text-3); }
.invite { display: flex; align-items: center; gap: var(--s-2); padding: 10px var(--s-3); border-radius: var(--r); background: var(--navy-800); color: var(--text-2); font-size: var(--t-sm); }
.invite > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.invite svg.i { width: 15px; height: 15px; color: var(--accent); }
.blur { filter: blur(3px); }

.ask { display: flex; gap: var(--s-3); align-items: center; padding: var(--s-3); border-radius: var(--r-lg); background: var(--navy-800); }
.ask p { font-weight: 500; }
.split { display: flex; align-items: center; gap: var(--s-2); color: var(--text-3); font-size: var(--t-sm); padding-left: var(--s-2); }
.split svg.i { width: 15px; height: 15px; color: var(--accent); }

.chat-snip { gap: var(--s-5); }
.voice { display: flex; align-items: center; gap: var(--s-3); margin-top: 4px; padding: var(--s-2) var(--s-3) var(--s-2) var(--s-2); border-radius: var(--r-lg); background: var(--navy-800); }
.voice small { color: var(--text-3); font-size: var(--t-xs); font-variant-numeric: tabular-nums; }
.play { display: grid; place-items: center; width: 30px; height: 30px; border-radius: var(--r-full); background: var(--accent); color: var(--accent-ink); flex: none; }
.play svg.i { width: 12px; height: 12px; fill: currentColor; stroke: none; margin-left: 2px; }
.wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 26px; }
.wave i { flex: 1; height: var(--h); border-radius: var(--r-full); background: var(--moon-faint); }
.wave i:nth-child(-n+11) { background: var(--accent); }
.point { margin-top: 4px; padding: var(--s-2); border-radius: var(--r-lg); background: var(--navy-800); }
.point p { padding: var(--s-2) var(--s-1) 2px; }
.pt-frame { position: relative; height: 84px; border-radius: var(--r); background: var(--cream); padding: var(--s-3); display: flex; flex-direction: column; gap: 6px; }
.pt-frame i { display: block; height: 7px; border-radius: var(--r-full); background: var(--cream-line); width: 60%; }
.pt-frame i:nth-child(3) { width: 40%; } .pt-frame i:nth-child(4) { width: 30%; height: 14px; background: var(--ink); border-radius: var(--r-xs); margin-top: 4px; }
.pt-box { position: absolute; left: 6px; bottom: 6px; width: 64px; height: 30px; border: 2px solid var(--accent); border-radius: var(--r-sm); background: var(--persimmon-soft); }
.poll { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-3); border-radius: var(--r-lg); border: 1px solid var(--navy-700); }
.poll b { font-weight: 600; margin-bottom: 2px; }
.opt { position: relative; display: flex; justify-content: space-between; padding: var(--s-2) var(--s-3); border-radius: var(--r); background: var(--navy-800); overflow: hidden; font-size: var(--t-sm); }
.opt > span { position: relative; z-index: 1; }
.opt i { position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--navy-700); }
.opt.win i { background: var(--persimmon-soft); }
.opt.win .votes { color: var(--accent); font-weight: 700; }

.pv-snip { padding: 0; overflow: hidden; gap: 0; }
.pv-snip .pv-bar { padding: var(--s-3) var(--s-4); }
.pv-site.big { min-height: 280px; padding: var(--s-6); }
.pv-site.big b { font-size: var(--t-4xl); }
.pv-site.big .pv-btn { font-size: var(--t-sm) !important; padding: 10px 16px; }
.pt-box.on { left: auto; right: var(--s-6); bottom: auto; top: var(--s-6); width: 96px; height: 40px; }

/* ---------- Every contribution counts ---------- */

.counts { padding-bottom: var(--s-10); }
.counts-grid { margin-top: var(--s-8); display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-6); align-items: start; }
.counts-grid .card.snip { max-width: none; }
.shares { display: flex; flex-direction: column; gap: var(--s-3); }
.shares li { display: grid; grid-template-columns: auto 64px 1fr 44px; align-items: center; gap: var(--s-3); }
.sh-name { font-weight: 600; }
.sh-bar { height: 8px; border-radius: var(--r-full); background: var(--navy-800); overflow: hidden; }
.sh-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--pc); }
.sh-pct { text-align: right; font-variant-numeric: tabular-nums; color: var(--text-2); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .sh-bar i { animation: grow linear both; animation-timeline: view(); animation-range: entry 20% cover 40%; }
    @keyframes grow { from { width: 0; } }
  }
}
.ledger { display: flex; flex-direction: column; border-top: 1px solid var(--navy-700); }
.ledger div { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 10px 0; border-bottom: 1px solid var(--navy-700); }
.ledger div > span { display: inline-flex; align-items: center; gap: var(--s-2); min-width: 0; }
.ledger small { color: var(--text-3); font-size: var(--t-xs); white-space: nowrap; }
.snip-foot { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pay-side { display: flex; flex-direction: column; gap: var(--s-4); padding-top: var(--s-2); }
.pay-side h3 { font-size: var(--t-3xl); font-weight: 700; letter-spacing: var(--track-tight); }
.pay-side > p { color: var(--text-2); }
.pay-side .card.snip { margin-top: var(--s-2); }
.sheets { display: flex; flex-direction: column; gap: var(--s-2); }
.sheets li { display: flex; align-items: center; gap: var(--s-3); padding: 10px var(--s-3); border-radius: var(--r); background: var(--navy-800); }
.sheets li > span:nth-child(2) { flex: 1; }
.sheets b { display: block; font-weight: 600; } .sheets small { display: block; font-size: var(--t-xs); color: var(--text-3); }
.amt { font-weight: 600; font-variant-numeric: tabular-nums; }
.paid { display: inline-flex; align-items: center; gap: 4px; color: var(--leaf); font-size: var(--t-sm); font-weight: 600; }
.paid svg.i { width: 14px; height: 14px; stroke-width: 3; }
@media (max-width: 860px) { .counts-grid { grid-template-columns: 1fr; margin-top: var(--s-7); } .counts { padding-bottom: var(--s-9); } }
@media (max-width: 400px) { .shares li { grid-template-columns: auto 48px 1fr 40px; gap: var(--s-2); } .card.snip { padding: var(--s-4); } }

/* ---------- Pricing teaser ---------- */

.pricing { padding: var(--s-9) 0; border-top: 1px solid var(--navy-700); }
.price-row { margin-top: var(--s-7); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.price-card { padding: var(--s-5); border-radius: var(--r-xl); border: 1px solid var(--navy-700); background: var(--navy-900); }
.price-card.pick { border-color: var(--persimmon-line); }
.pc-name { font-weight: 600; color: var(--text-2); }
.pc-amt { display: flex; align-items: baseline; gap: 6px; margin-top: var(--s-2); }
.pc-amt b { font-size: var(--t-4xl); font-weight: 700; letter-spacing: var(--track-tight); }
.pc-amt span { color: var(--text-3); font-size: var(--t-sm); }
.price-card ul { margin-top: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); }
.price-card li { display: flex; gap: var(--s-2); align-items: flex-start; font-size: var(--t-md); color: var(--text-2); }
.price-card li svg.i { width: 15px; height: 15px; margin-top: 3px; color: var(--leaf); stroke-width: 2.5; }
.pricing .text-link { margin-top: var(--s-5); }
@media (max-width: 820px) { .price-row { grid-template-columns: 1fr; } }

/* ---------- shippedby, questions, the end ---------- */

.shipped { padding: var(--s-6) var(--s-5) var(--s-8); }
.shipped-in { padding: var(--s-8) var(--s-6); border-radius: var(--r-xl); background: var(--navy-900); border: 1px solid var(--navy-700); text-align: center; }
.shipped-in h2 { font-size: clamp(28px, 3.4vw, 40px); }
.shipped-in p { max-width: 50ch; margin: var(--s-4) auto var(--s-3); color: var(--text-2); }
@media (max-width: 560px) { .shipped-in { padding: var(--s-7) var(--s-5); } }

.faq { padding: var(--s-8) var(--s-5) var(--s-9); display: grid; grid-template-columns: 1fr 2fr; gap: var(--s-6); }
.faq h2 { font-size: clamp(28px, 3.4vw, 40px); }
.faq-list { border-top: 1px solid var(--navy-700); }
.faq details { border-bottom: 1px solid var(--navy-700); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 64px; padding: var(--s-3) 0; cursor: pointer; list-style: none; font-size: var(--t-xl); font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.pm { position: relative; width: 14px; height: 14px; flex: none; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: var(--r-full); background: var(--text-3); transition: transform var(--slow) var(--ease); }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { transform: rotate(0); }
.faq details p { padding: 0 var(--s-6) var(--s-5) 0; color: var(--text-2); max-width: 62ch; }
@media (max-width: 820px) { .faq { grid-template-columns: 1fr; gap: var(--s-4); } .faq summary { font-size: var(--t-lg); } }

.final { padding: var(--s-9) var(--s-5) var(--s-10); text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--s-6); }
.final h2 { max-width: 16ch; }

.foot { border-top: 1px solid var(--navy-700); padding: var(--s-7) 0 calc(var(--s-7) + env(safe-area-inset-bottom, 0px)); }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: var(--s-5) var(--s-6); align-items: start; }
.foot-brand p { margin-top: var(--s-1); color: var(--text-3); font-size: var(--t-sm); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); text-decoration: none; font-size: var(--t-md); }
.foot nav a:hover { color: var(--text); }
.copy { grid-column: 1 / -1; color: var(--text-3); font-size: var(--t-sm); }
@media (max-width: 720px) { .foot-in { grid-template-columns: 1fr; } .foot nav { gap: 0 var(--s-4); } }
