/* The front door (GET /, features/home). Tokens from mobile-tokens.css, recipes from journey.css. One offer and its
   proof: the offer and the store box, the category study beside it (long-runners.css .hs), the ladder of what you get,
   why to trust us, the library strip, the helper, a way to talk. Phone first; two columns from 64rem.
   Motion (design/MOTION.md): transform and opacity only, once on load; reduced motion shows everything at rest. */
.home{width:min(100% - 32px,1180px);margin:0 auto;padding:4px 0 calc(40px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:64px}
.home h2{font-size:var(--text-title);letter-spacing:var(--track-title);line-height:1.1;text-wrap:balance}
.home h3{margin:0;font-size:1.125rem;font-weight:800;letter-spacing:-.02em;line-height:1.2;text-wrap:balance}
.home p{text-wrap:pretty}
.home .journey-primary>svg{width:32px;height:32px;stroke-width:2.4}

/* ---------- the offer ---------- */
.home-hero{display:flex;flex-direction:column;gap:32px;scroll-margin-top:80px}
.home-hero-copy{display:flex;flex-direction:column;gap:14px}
.home-kicker{font-size:var(--text-caption);font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--link)}
.home-hero h1{font-size:2.375rem;letter-spacing:var(--track-display);line-height:1.02;text-wrap:balance}
.home-lead{color:var(--muted);font-size:1.0625rem;line-height:1.5;max-width:34em}
.home .home-xray{margin-top:6px;gap:10px}
.home .home-xray .xr-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.home-xray .input{min-height:56px;font-size:1.0625rem}
.home-micro{font-size:.875rem;line-height:1.5;color:var(--muted)}
.home-micro b{color:var(--ink);font-weight:800;font-variant-numeric:tabular-nums}
.is-free .home-micro b{color:var(--success)}

/* ---------- the ladder: free, then $97, then monthly ---------- */
.home-ladder{display:flex;flex-direction:column;gap:22px}
.ld-lead{margin-top:-8px;color:var(--muted);font-size:1.0625rem;line-height:1.5}
.ld{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;counter-reset:none}
.ld-rung{position:relative;display:flex;flex-direction:column;gap:8px;padding:20px 20px 22px;border-radius:var(--radius-card);background:var(--grad-surface);box-shadow:var(--hi),var(--ring),var(--elev-1)}
.ld-rung.is-first{background:radial-gradient(90% 60% at 0% 0%,rgba(255,121,74,.16),rgba(255,121,74,0) 70%),var(--grad-surface);box-shadow:var(--hi),0 0 0 1px rgba(255,121,74,.4),var(--elev-2)}
.ld-rung p:last-child{color:var(--muted);line-height:1.55}
.ld-tag{align-self:flex-start;padding:4px 11px;border-radius:var(--radius-pill);background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px var(--line-strong);color:var(--ink);font-size:.8125rem;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.005em}
.is-first .ld-tag{background:var(--grad-accent);box-shadow:var(--btn-primary);color:var(--on-accent)}
/* the arrow between rungs: down on a phone, across from 64rem */
.ld-rung+.ld-rung::before{content:'';position:absolute;left:28px;top:-12px;width:1.5px;height:12px;background:linear-gradient(var(--accent),rgba(255,121,74,.2))}
.ld-go{display:flex;flex-direction:column;align-items:stretch;gap:6px}
.ld-order{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:44px;color:var(--link);font-weight:700;text-decoration:none}
.ld-order svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.home-founding{font-size:var(--text-small);line-height:1.45;color:var(--muted);text-align:center;text-wrap:balance}
.home-founding b{color:var(--ink);font-weight:800;font-variant-numeric:tabular-nums}
.home-founding a{color:var(--link);font-weight:700}

/* ---------- why trust us ---------- */
.home-proof{display:flex;flex-direction:column;gap:22px}
.pf{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.pf li{display:flex;flex-direction:column;gap:8px;padding:18px 18px 20px;border-radius:var(--radius-card);background:rgba(255,255,255,.025);box-shadow:inset 0 0 0 1px var(--line)}
.pf p{color:var(--muted);line-height:1.55}
.pf a{align-self:flex-start;display:inline-flex;align-items:center;gap:4px;min-height:40px;color:var(--link);font-weight:700;text-decoration:none}
.pf a svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.pf-i{display:grid;place-items:center;width:40px;height:40px;margin-bottom:4px;border-radius:12px;background:var(--accent-tint);box-shadow:inset 0 0 0 1px rgba(255,121,74,.3)}
.pf-i svg{width:22px;height:22px;fill:none;stroke:var(--link);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.pf-fine{font-size:.875rem;line-height:1.55;color:var(--muted);max-width:44em}

/* ---------- talk to a person, small print ---------- */
.home-send{display:flex;flex-direction:column;gap:10px;padding:24px 0 0;box-shadow:inset 0 1px 0 var(--line)}
.home-send h2{font-size:1.25rem}
.home-send p{color:var(--muted);line-height:1.55;max-width:30em}
.home-send a{align-self:flex-start;display:inline-flex;align-items:center;min-height:44px;color:var(--link);font-weight:800;text-decoration:none;overflow-wrap:anywhere}
.home-foot{display:flex;flex-direction:column;gap:12px;padding-top:24px;box-shadow:inset 0 1px 0 var(--line);font-size:.8125rem;line-height:1.55;color:var(--faint)}
.home-foot nav{display:flex;flex-wrap:wrap;gap:4px 18px}
.home-foot a{display:inline-flex;align-items:center;min-height:32px;color:var(--muted)}

/* ---------- motion ---------- */
@media(prefers-reduced-motion:no-preference){
 .home-hero-copy>*,.home-hero .hs{animation:rise var(--dur-enter) var(--ease-out) both}
 .home-hero-copy>:nth-child(2){animation-delay:50ms}.home-hero-copy>:nth-child(3){animation-delay:100ms}.home-hero-copy>:nth-child(4){animation-delay:150ms}.home-hero-copy>:nth-child(5){animation-delay:190ms}
 .home-hero .hs{animation-delay:220ms}
 @supports(animation-timeline:view()){.ld-rung,.pf li,.home-send{animation:rise linear both;animation-timeline:view();animation-range:entry 0% entry 40%}}
}
@media(hover:hover) and (pointer:fine){
 .ld-order:hover,.pf a:hover{color:var(--accent-hover)}
 .home-foot a:hover{color:var(--ink)}
}

/* ---------- wider ---------- */
@media(min-width:40rem){
 .pf{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ld-go{flex-direction:row;align-items:center;gap:20px}
 .ld-go .journey-primary{width:auto;padding-inline:26px 28px}
}
@media(min-width:64rem){
 .home{width:min(100% - 96px,1180px);gap:120px;padding-top:36px}
 .home-hero{display:grid;grid-template-columns:minmax(0,12fr) minmax(0,10fr);column-gap:72px;align-items:center;min-height:min(640px,calc(100svh - 160px))}
 .home-hero-copy{gap:18px}
 .home-hero h1{font-size:var(--text-desktop);line-height:1}
 .home-lead{font-size:1.1875rem}
 .home .home-xray{flex-direction:row;align-items:flex-end}
 .home .home-xray .xr-field{flex:1}
 .home .home-xray .journey-primary{width:auto;flex:none;min-height:56px;padding-inline:22px 24px}
 .home h2{font-size:2.25rem;letter-spacing:var(--track-display)}
 .home-ladder,.home-proof{gap:32px}
 .ld{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
 .ld-rung{padding:26px 26px 28px}
 .ld-rung+.ld-rung::before{left:-20px;top:44px;width:20px;height:1.5px;background:linear-gradient(90deg,var(--accent),rgba(255,121,74,.2))}
 .pf{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:16px}
 .pf li{padding:22px}
 .home-send{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:64px;align-items:center}.home-send h2{grid-row:1/3}
 .home-foot{flex-direction:row;justify-content:space-between;gap:40px}.home-foot p{max-width:560px}.home-foot nav{justify-content:flex-end;align-content:flex-start}
}
