/*
 * Homepage: the nine sections from design/homepage-final-reference.html.
 * Mobile-first: base rules target narrow viewports; wider screens override.
 * Brand tokens come from style.css :root (do not hardcode hex values here).
 * Layout widths come from nav.css :root. Loaded on the homepage only.
 *
 * Motion: base rules hold the final state of every animation. The starting
 * states only apply under prefers-reduced-motion: no-preference, and the ones
 * that wait for home-motion.js also need .js, so reduced motion and the
 * no-JavaScript page both show the finished page.
 */

@font-face { font-family: "Mrs Saint Delafield"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/mrs-saint-delafield-400.woff2") format("woff2"); }

/* ---------- shared ---------- */
.home-v2 { background-color: var(--color-white); -webkit-font-smoothing: antialiased; }
.home-v2-main { line-height: normal; }
:where(.home-v2-main) a { color: inherit; }

.home-v2 a:focus-visible, .home-v2 button:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: 6px; }
.home-v2 .sec9 a:focus-visible, .home-v2 .site-footer a:focus-visible { outline-color: var(--color-white); }

/* Phones: the header button waits until the hero button has scrolled away (home-nav.js).
   Until then Sign in sits in the header; after that it is in the menu (nav.css). */
.js .home-v2 .nav:not(.cta-on) .nav-cta { display: none; }
.js .home-v2 .nav:not(.cta-on) .nav-links a.signin { display: inline-flex; }

/* The final CTA and the footer are both primary blue: this marks the seam. */
.home-v2 .site-footer { border-top: 1px solid rgba(255, 255, 255, .25); }

.btn { display: inline-block; width: 100%; background: var(--color-primary); color: var(--color-white); text-decoration: none; text-align: center; font-weight: 600; font-size: 16px; padding: 14px 24px; border-radius: 8px; }
.btn:hover { background: var(--color-primary-deep); }

.sec2 h2, .sec3 h2, .sec4 h2, .sec5 h2, .sec6 h2, .sec7 h2, .sec8 h2 { font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
.sec2 .eyebrow { font-size: 15px; font-weight: 600; color: var(--color-primary-deep); margin-bottom: 14px; line-height: 1.4; }
.nb { white-space: nowrap; }
.nw { white-space: nowrap; }

/* Fade-ups as each block comes into view (home-motion.js adds .in). */
@media (prefers-reduced-motion: no-preference) {
    .js .rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
    .js .rv.in { opacity: 1; transform: none; }
}

/* Links inside sentences on phones: a 48px tall touch area that does not move the text. */
.sec6 .terms a, .sec7 .data a { position: relative; }
.sec6 .terms a::after, .sec7 .data a::after { content: ""; position: absolute; inset: -16px 0; }
/* DPA is a short word: padding widens its tap area without moving the text. */
.sec7 .data-list a { padding: 0 8px; margin: 0 -8px; }
.sec2, .sec3, .sec4, .sec5, .sec6, .sec7, .sec8 { border-top: 1px solid var(--color-line); }
.s2, .s3, .s4, .s5, .s6, .s7, .s8 { max-width: var(--wrap-box); margin: 0 auto; padding: 56px var(--gutter); }

@media (min-width: 421px) {
    .btn { width: auto; }
}
@media (min-width: 761px) {
    .js .home-v2 .nav:not(.cta-on) .nav-cta, .js .home-v2 .nav:not(.cta-on) .nav-links a.signin { display: inline; }
    .sec2 h2, .sec3 h2, .sec4 h2, .sec5 h2, .sec6 h2, .sec7 h2, .sec8 h2 { font-size: 40px; }
    .s2, .s3, .s4, .s5, .s6, .s7, .s8 { padding: 88px var(--gutter); }
    .sec6 .terms a::after, .sec7 .data a::after { content: none; }
    .sec7 .data-list a { padding: 0; margin: 0; }
}

/* ---------- hero ---------- */
/*
 * Base rules are the phone layout; 761px and up is the desktop layout.
 * Base rules also hold the final state of every animation: the
 * animations only run without reduced motion, so reduced motion shows the end
 * state with nothing moving.
 */
.hero { background: radial-gradient(1200px 520px at 50% -80px, var(--color-blue-100) 0%, transparent 70%), linear-gradient(180deg, var(--color-hero-top) 0%, var(--color-white) 70%); text-align: center; padding: 40px var(--gutter) 0; }
.hero .for { font-size: 15px; font-weight: 600; color: var(--color-primary-deep); }
.hero h1 { margin: 14px auto 0; font-size: 36px; line-height: 1.08; font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
.hero-points { list-style: none; display: inline-grid; gap: 12px; margin: 22px auto 0; text-align: left; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; }
.hero-points svg { flex: none; width: 20px; height: 20px; }
.hero-points circle { fill: var(--color-blue-100); transform-origin: 10px 10px; }
.hero-points path { stroke: var(--color-primary-deep); }
/* Each point keeps one line from 360px; below that the longest may wrap rather than scroll sideways. */
@media (min-width: 360px) {
    .hero-points li { white-space: nowrap; }
}
.hero .actions { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; margin-top: 28px; }
.hero .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 320px; font-size: 17px; padding: 16px 28px; border-radius: 999px; box-shadow: 0 10px 24px rgba(37, 99, 235, .28); }
.hero .text-link { position: relative; padding: 8px; font-size: 16px; font-weight: 500; color: var(--color-text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--color-slate-300); }
.hero .text-link:hover { text-decoration-color: var(--color-text); }
/* Phones: See pricing looks 35px tall; this stretches its touch area to 48px or more. */
.hero .text-link::after { content: ""; position: absolute; inset: -7px 0; }
.hero .reassure { margin-top: 2px; font-size: 13.5px; color: var(--color-muted); }

/* After 0.5s each point slides in from the left, 0.4s apart: its circle pops in, then its tick draws itself. */
@keyframes point-in { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes tick-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes tick-draw { from { stroke-dashoffset: 13; } to { stroke-dashoffset: 0; } }
.hero-points path { stroke-dasharray: 13; }
@media (prefers-reduced-motion: no-preference) {
    .hero-points li { opacity: 0; animation: point-in .55s cubic-bezier(.2, .8, .2, 1) forwards; }
    .hero-points circle { transform: scale(0); animation: tick-pop .4s cubic-bezier(.2, 1.5, .4, 1) forwards; }
    .hero-points path { stroke-dashoffset: 13; animation: tick-draw .35s ease-out forwards; }
    .hero-points li:nth-child(1) { animation-delay: .5s; }
    .hero-points li:nth-child(2) { animation-delay: .9s; }
    .hero-points li:nth-child(3) { animation-delay: 1.3s; }
    .hero-points li:nth-child(1) circle { animation-delay: .55s; }
    .hero-points li:nth-child(2) circle { animation-delay: .95s; }
    .hero-points li:nth-child(3) circle { animation-delay: 1.35s; }
    .hero-points li:nth-child(1) path { animation-delay: .8s; }
    .hero-points li:nth-child(2) path { animation-delay: 1.2s; }
    .hero-points li:nth-child(3) path { animation-delay: 1.6s; }
}

@media (min-width: 761px) {
    .hero { padding: 72px var(--gutter) 0; }
    .hero .for { font-size: 17px; }
    /* 64px from about 1010px; narrower tablets scale down so each sentence keeps one line. */
    .hero h1 { margin-top: 18px; font-size: min(64px, calc((100vw - 96px) / 14.4)); line-height: 1.06; }
    .hero h1 .ln { display: block; }
    .hero-points { margin-top: 30px; }
    .hero-points li { gap: 12px; font-size: 20px; }
    .hero-points svg { width: 24px; height: 24px; }
    .hero .actions { gap: 8px; margin-top: 34px; }
    .hero .btn { width: auto; max-width: none; }
    .hero .text-link::after { content: none; }
    .hero .reassure { font-size: 14px; }
}

/* ---------- the demo: an app window below the hero ---------- */
.demo-zone { text-align: left; max-width: var(--wrap); margin: 36px auto 0; padding: 0 0 56px; position: relative; }
.demo-zone::before { content: ""; position: absolute; left: 8%; right: 8%; top: 40px; height: 70%; background: radial-gradient(closest-side, rgba(37, 99, 235, .22), rgba(37, 99, 235, 0)); filter: blur(30px); z-index: 0; }
.demo { position: relative; z-index: 1; }
/* Held on the first frame of Zap until the window is well inside the screen (home-demo.js).
   !important because each step's animation shorthand would set it back to running. */
.demo.wait *, .demo.wait *::before, .demo.wait *::after { animation-play-state: paused !important; }

/* shared bits */
.demo .pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.demo .p-hot { background: var(--color-hot-bg); color: var(--color-hot-text); border: 1px solid var(--color-hot-border); }
.demo .p-src { background: var(--color-primary-wash); color: var(--color-primary-deep); }
.demo .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 14px; flex: none; }
.demo .av-lead { background: var(--color-indigo-100); color: var(--color-primary-deep); }
.demo .av-closer { background: var(--color-green-100); color: var(--color-green); }
.demo .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--color-green-bg); color: var(--color-green); display: grid; place-items: center; flex: none; }
.demo .tick svg { width: 12px; height: 12px; }

/* objects in the viewfinder, built by home-demo.js */
.demo .obj { color: var(--color-text); }
.obj-card { display: flex; flex-direction: column; width: 156px; height: 96px; padding: 12px 13px 11px; background: var(--color-white); border-radius: 8px; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); text-align: left; line-height: 1.25; }
.obj-card i { display: block; width: 24px; height: 4px; margin-bottom: 8px; border-radius: 2px; background: var(--color-primary); }
.obj-card b { font-size: 13px; font-weight: 700; letter-spacing: -.01em; color: var(--color-text); }
.obj-card span { margin-top: 2px; font-size: 10.5px; color: var(--color-slate); }
.obj-card em { margin-top: auto; font-size: 10.5px; font-style: normal; font-weight: 600; color: var(--color-primary-deep); }
.obj-badge { width: 108px; background: var(--color-white); border-radius: 8px; overflow: hidden; box-shadow: 0 8px 20px rgba(0, 0, 0, .4); text-align: center; line-height: 1.2; }
.obj-badge .top { display: block; height: 14px; background: var(--color-demo-badge); }
.obj-badge .in { display: flex; flex-direction: column; align-items: center; padding: 6px 6px 7px; }
.obj-badge b { font-size: 11px; font-weight: 700; color: var(--color-text); white-space: nowrap; }
.obj-badge .co { margin: 1px 0 5px; font-size: 9px; font-weight: 500; color: var(--color-muted); white-space: nowrap; }
.obj-link { width: 96px; padding: 8px; background: var(--color-white); border-radius: 14px; box-shadow: 0 8px 20px rgba(0, 0, 0, .4); text-align: center; }
.obj-link span { display: block; font-size: 10px; font-weight: 600; color: var(--color-linkedin); margin-top: 3px; }
.obj-qr { padding: 8px 8px 6px; background: var(--color-white); border-radius: 8px; box-shadow: 0 8px 20px rgba(0, 0, 0, .4); text-align: center; line-height: 1.2; }
.obj-qr svg { display: block; }
.obj-qr b { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; color: var(--color-text); white-space: nowrap; }

/* step tabs */
.demo .tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 8px 8px 0; }
.demo .tab { appearance: none; border: 0; background: transparent; font: inherit; text-align: center; cursor: pointer; padding: 8px 6px 10px; border-radius: 12px; color: var(--color-muted); }
.demo .tab:hover { color: var(--color-text); }
.demo .tab .n { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.demo .tab .c { display: none; font-size: 13px; font-weight: 500; margin-top: 2px; }
.demo .tab .bar { display: block; height: 3px; border-radius: 2px; background: var(--color-line); margin-top: 10px; overflow: hidden; }
.demo .tab .bar i { display: block; height: 100%; width: 0; background: var(--color-primary); }
.demo .tab[aria-selected="true"] { background: var(--color-primary-wash); color: var(--color-primary); }
.demo .tab[aria-selected="true"] .c { color: var(--color-slate); }
/* home-demo.js draws the current step's bar from its clock; these are the bars it leaves alone. */
.demo .tab[aria-selected="true"] .bar i, .demo .tab.past .bar i { width: 100%; }

/* the app window */
.demo .win { background: var(--color-white); border: 1px solid var(--color-window-edge); border-radius: 16px; box-shadow: 0 2px 4px rgba(15, 23, 42, .04), 0 40px 80px -20px rgba(30, 64, 175, .28); overflow: hidden; }
.demo .win-top { display: none; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--color-window-line); background: var(--color-window-bar); }
.demo .win-top i { width: 11px; height: 11px; border-radius: 50%; background: var(--color-slate-200); }
.demo .win-body { display: grid; grid-template-columns: 1fr; margin-top: 8px; border-top: 1px solid var(--color-window-line); }
.demo .lbl { position: absolute; top: 14px; left: 18px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); }

/* left: the rep's phone (desktop only) */
.demo .a-left { display: none; background: linear-gradient(180deg, var(--color-hero-top), var(--color-panel-wash)); place-items: center; position: relative; }
.demo .phone { width: 206px; height: 410px; border-radius: 36px; background: var(--color-phone); padding: 9px; box-shadow: 0 24px 40px rgba(15, 23, 42, .28); position: relative; margin-top: 18px; }
.demo .phone .scr { position: relative; width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: var(--color-white); }
.demo .phone .notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 64px; height: 18px; border-radius: 12px; background: var(--color-phone); z-index: 5; }
/* The app's logo bar across the top of the phone screen, under the notch. */
.demo .appbar { position: absolute; top: 0; left: 0; right: 0; height: 50px; z-index: 4; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; background: var(--color-white); border-bottom: 1px solid var(--color-window-line); }
.demo .appbar img { display: block; height: 15px; width: auto; }
.demo .ps { position: absolute; inset: 50px 0 0; opacity: 0; transition: opacity .3s; }
.demo .ps.on { opacity: 1; }

/* the camera: in the phone on desktop, in a strip above the record on phones */
.demo .cam { background: var(--color-section-dark); height: 100%; display: grid; place-items: center; position: relative; }
.demo .phone .cam { place-items: start center; padding-top: 52px; }
.demo .reading { position: absolute; top: 22px; left: 0; right: 0; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .01em; color: var(--color-slate-300); }
.demo .reading span { color: var(--color-white); }
.demo .cam .vf { position: relative; width: 170px; height: 120px; }
.demo .cam .cn { position: absolute; width: 22px; height: 22px; border: 3px solid var(--color-white); opacity: .9; }
.demo .cam .k1 { top: 0; left: 0; border-width: 3px 0 0 3px; border-radius: 6px 0 0 0; }
.demo .cam .k2 { top: 0; right: 0; border-width: 3px 3px 0 0; border-radius: 0 6px 0 0; }
.demo .cam .k3 { bottom: 0; left: 0; border-width: 0 0 3px 3px; border-radius: 0 0 0 6px; }
.demo .cam .k4 { bottom: 0; right: 0; border-width: 0 3px 3px 0; border-radius: 0 0 6px 0; }
.demo .cam .obj { position: absolute; inset: 0; display: grid; place-items: center; transform: rotate(-4deg); }
.demo .cam .scan { position: absolute; left: 4px; right: 4px; height: 2px; background: var(--color-blue-400); box-shadow: 0 0 14px 3px rgba(96, 165, 250, .8); top: 0; opacity: 0; }
.demo .cam .flash { position: absolute; inset: 0; background: var(--color-white); opacity: 0; }
.demo .cam .shutter { position: absolute; bottom: 26px; left: 50%; margin-left: -26px; width: 52px; height: 52px; border-radius: 50%; border: 4px solid var(--color-white); background: rgba(255, 255, 255, .2); }
/* Full size on phones too, so the details on the card, badge and QR stay readable. */
.demo .mstrip { display: grid; height: 140px; border-radius: 12px; margin-top: 14px; }
.demo .toast { position: absolute; left: 12px; right: 12px; bottom: 92px; background: var(--color-white); border-radius: 12px; padding: 9px 11px; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 8px; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }

/* phone screens */
.demo .ph { padding: 14px; font-size: 12px; }
.demo .ph .t { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.demo .ph .s { color: var(--color-muted); margin-top: 2px; }
.demo .ph .row { display: flex; gap: 6px; margin-top: 14px; }
.demo .ph .row span { flex: 1; text-align: center; padding: 9px 0; border-radius: 10px; font-weight: 600; font-size: 12px; border: 1px solid; }
/* Hot, Warm and Cold as in the web app. */
.demo .ph .row .h { background: var(--color-hot-bg); color: var(--color-hot-text); border-color: var(--color-hot-border); }
.demo .ph .row .w { background: var(--color-warm-bg); color: var(--color-warm-text); border-color: var(--color-warm-border); }
.demo .ph .row .c { background: var(--color-cold-bg); color: var(--color-cold-text); border-color: var(--color-cold-border); }
.demo .ph .box { margin-top: 12px; border: 1px solid var(--color-line); border-radius: 12px; padding: 10px; }
.demo .ph .box b { display: block; font-size: 12px; }
.demo .ph .box small { color: var(--color-muted); }
.demo .notif { margin-top: 12px; background: var(--color-stage); border: 1px solid var(--color-line); border-radius: 12px; padding: 10px; display: flex; gap: 9px; align-items: flex-start; }
.demo .notif .ic { width: 26px; height: 26px; border-radius: 8px; background: var(--color-primary); display: grid; place-items: center; color: var(--color-white); font-size: 12px; font-weight: 700; flex: none; }
.demo .notif .ic.done { background: var(--color-green-600); }
.demo .notif .ic svg { width: 12px; height: 12px; }
.demo .notif b { display: block; font-size: 12px; }
.demo .notif small { color: var(--color-muted); font-size: 11px; }
.demo .mini-bars { display: flex; align-items: flex-end; gap: 10px; height: 90px; margin-top: 14px; padding: 0 6px; border-bottom: 1px solid var(--color-line); }
.demo .mini-bars span { flex: 1; border-radius: 6px 6px 0 0; height: var(--h); }
.demo .m1, .demo .b1 .col { --h: 58%; background: var(--color-hot); }
.demo .m2, .demo .b2 .col { --h: 100%; background: var(--color-warm); }
.demo .m3, .demo .b3 .col { --h: 44%; background: var(--color-cold); }

/* right: what the team sees, one panel per step */
.demo .a-right { position: relative; padding: 0; height: 500px; }
.demo .a-right .lbl { display: none; }
.demo .pn { position: absolute; inset: 18px 16px 16px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
.demo .pn.on { opacity: 1; visibility: visible; transition: opacity .35s .1s; }
.home-v2 .demo .pn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 4px; border-radius: 8px; }
.demo .s-title { font-size: 18px; font-weight: 700; letter-spacing: -.02em; text-align: center; }
.demo .rec { margin-top: 12px; border: 1px solid var(--color-line); border-radius: 16px; padding: 14px; background: var(--color-white); }
.demo .rec-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--color-line); }
.demo .rec-head .nm { font-size: 16px; font-weight: 600; }
.demo .rec-head .rl { font-size: 13px; color: var(--color-slate); }
.demo .rec-head .pill { margin-left: auto; }
.demo .kv { display: grid; grid-template-columns: 78px minmax(0, 1fr); }
.demo .kv > span { padding: 8px 0; border-bottom: 1px solid var(--color-line); font-size: 14px; }
.demo .kv .k { color: var(--color-muted); }
.demo .kv .v { font-weight: 500; }
.demo .kv .last { border-bottom: 0; }
.demo .quote { display: block; font-weight: 400; line-height: 1.5; }
.demo .mic { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--color-primary-deep); margin-bottom: 4px; }
.demo .route { display: grid; grid-template-columns: 1fr; align-items: center; gap: 10px; margin-top: 16px; }
.demo .who { display: flex; align-items: center; gap: 12px; border: 1px solid var(--color-line); border-radius: 14px; padding: 14px 16px; background: var(--color-white); }
.demo .who b { display: block; font-size: 15px; }
.demo .who small { font-size: 13px; color: var(--color-muted); }
.demo .wire { display: none; position: relative; height: 3px; background: var(--color-slate-200); border-radius: 2px; }
.demo .wire i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--color-primary); border-radius: 2px; }
.demo .wire .dot { position: absolute; top: -5px; left: calc(100% - 13px); width: 13px; height: 13px; border-radius: 50%; background: var(--color-primary); box-shadow: 0 0 0 5px rgba(37, 99, 235, .18); }
.demo .list { margin-top: 12px; border: 1px solid var(--color-line); border-radius: 16px; background: var(--color-white); }
.demo .li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-bottom: 1px solid var(--color-line); font-size: 14px; font-weight: 500; }
.demo .li:last-child { border-bottom: 0; }
.demo .li small { display: block; font-size: 13px; color: var(--color-muted); font-weight: 400; margin-top: 2px; }
.demo .light { width: 12px; height: 12px; border-radius: 50%; background: var(--color-green-500); margin: 0 5px; flex: none; }
.demo .boom { margin-top: 18px; display: flex; align-items: center; gap: 16px; background: linear-gradient(90deg, var(--color-primary-wash), var(--color-violet-50)); border: 1px solid var(--color-blue-100); border-radius: 16px; padding: 18px 20px; position: relative; overflow: visible; color: var(--color-primary); }
.demo .boom b { font-size: 28px; font-weight: 700; letter-spacing: -.03em; color: var(--color-primary); line-height: 1; }
.demo .boom > span:not(.spark) { font-size: 16px; font-weight: 600; color: var(--color-text); }
.demo .spark { position: absolute; width: 9px; height: 9px; border-radius: 2px; opacity: 0; left: 60px; top: 24px; }
.demo .sp1 { background: var(--color-primary); --x: -50px; --y: -60px; }
.demo .sp2 { background: var(--color-warm); --x: 20px; --y: -80px; }
.demo .sp3 { background: var(--color-green-500); --x: 80px; --y: -50px; }
.demo .sp4 { background: var(--color-hot); --x: 120px; --y: -10px; }
.demo .sp5 { background: var(--color-primary); --x: -80px; --y: 0px; }
.demo .chart { margin-top: 18px; border: 1px solid var(--color-line); border-radius: 16px; padding: 14px; background: var(--color-white); }
.demo .chart .hd { display: flex; justify-content: space-between; font-size: 15px; font-weight: 600; }
.demo .chart .hd small { font-weight: 400; color: var(--color-muted); font-size: 13px; }
.demo .bars { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 20px; align-items: end; height: 130px; margin-top: 14px; border-bottom: 1px solid var(--color-line); }
.demo .bc { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.demo .bc .val { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.demo .bc .col { width: 100%; max-width: 92px; border-radius: 10px 10px 0 0; height: var(--h); }
.demo .blabels { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 20px; padding-top: 8px; text-align: center; font-size: 13px; color: var(--color-muted); }
.demo .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.demo .stat { border: 1px solid var(--color-line); border-radius: 12px; padding: 10px 12px; background: var(--color-white); }
.demo .stat b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.demo .stat span { font-size: 13px; color: var(--color-muted); }

/* Every step waits for .on before it plays. Without reduced motion only. */
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes pop { to { opacity: 1; transform: scale(1); } }
@keyframes settle { from { transform: translateY(60px) rotate(-14deg) scale(.8); opacity: 0; } to { transform: rotate(-4deg); opacity: 1; } }
@keyframes scan { 0% { top: 2px; opacity: 1; } 50% { top: 116px; opacity: 1; } 100% { top: 2px; opacity: 0; } }
@keyframes flash { 0% { opacity: .9; } 100% { opacity: 0; } }
@keyframes tap { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .6); } 40% { transform: scale(.94); } 100% { transform: none; box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); } }
@keyframes grow { from { height: 0; } to { height: var(--h); } }
@keyframes type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes wire { from { width: 0; } to { width: 100%; } }
@keyframes travel { 0% { left: 0; opacity: 1; } 100% { left: calc(100% - 13px); opacity: 1; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 100% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); } }
@keyframes burst { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(220deg); } }
@media (prefers-reduced-motion: no-preference) {
    .demo .rise { opacity: 0; transform: translateY(8px); }
    .demo .slide { opacity: 0; transform: translateX(16px); }
    .demo .pop { opacity: 0; transform: scale(.6); }
    .demo .on .rise, .demo .on .slide { animation: rise .45s ease forwards; }
    .demo .on .pop { animation: pop .45s cubic-bezier(.2, 1.4, .4, 1) forwards; }
    .demo .on .d1 { animation-delay: .2s; }
    .demo .on .d2 { animation-delay: .5s; }
    .demo .on .d3 { animation-delay: .8s; }
    .demo .on .d4 { animation-delay: 1.1s; }
    .demo .on .d5 { animation-delay: 1.4s; }
    .demo .on .d6 { animation-delay: 1.7s; }
    .demo .on .d7 { animation-delay: 2s; }
    .demo .on .d8 { animation-delay: 2.4s; }
    .demo .on .d9 { animation-delay: 2.8s; }
    .demo .on .d10 { animation-delay: 3.2s; }
    .demo .on .cam .obj { animation: settle .7s cubic-bezier(.2, .8, .2, 1) both; }
    .demo .on .cam .scan { animation: scan 1.1s ease-in-out .7s 2; }
    .demo .on .cam .flash { animation: flash .5s ease-out 2.9s; }
    .demo .on .ph .h { animation: tap .6s ease 1s both; }
    .demo .mini-bars span, .demo .bc .col { height: 0; }
    .demo .on .mini-bars span { animation: grow .9s cubic-bezier(.2, .8, .2, 1) forwards; }
    .demo .on .mini-bars span:nth-child(2) { animation-delay: .15s; }
    .demo .on .mini-bars span:nth-child(3) { animation-delay: .3s; }
    .demo .typing { clip-path: inset(0 100% 0 0); }
    .demo .on .typing { animation: type 1.6s steps(40, end) 2.6s forwards; }
    .demo .wire i { width: 0; }
    .demo .wire .dot { left: 0; opacity: 0; }
    .demo .on .wire i { animation: wire .9s ease .6s forwards; }
    .demo .on .wire .dot { animation: travel .9s ease .6s forwards; }
    .demo .on .light { animation: pulse 1.6s ease-out 1s infinite; }
    .demo.stopped .on .light { animation: none; }
    .demo .on .spark { animation: burst 1.1s ease-out 2.2s forwards; }
    .demo .bc .val { opacity: 0; }
    .demo .on .bc .col { animation: grow 1s cubic-bezier(.2, .8, .2, 1) forwards; }
    .demo .on .bc .val { animation: rise .4s ease 1s forwards; }
    .demo .on .bc:nth-child(2) .col { animation-delay: .15s; }
    .demo .on .bc:nth-child(3) .col { animation-delay: .3s; }
}

/* pause and play: under the window, 48px tall for touch on phones, 44px from 761px */
.demo-toggle { position: relative; display: flex; align-items: center; gap: 6px; min-height: 48px; margin: 8px 0 0 auto; padding: 0 10px; appearance: none; border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 600; color: var(--color-slate); cursor: pointer; border-radius: 8px; }
.demo-toggle:hover { color: var(--color-text); }
.demo-toggle[hidden] { display: none; }
.demo-toggle svg { width: 12px; height: 12px; flex: none; }
.demo-toggle .i-play { display: none; }
.demo.stopped .demo-toggle .i-play { display: block; }
.demo.stopped .demo-toggle .i-pause { display: none; }

/* fallback: the four steps as plain text when JavaScript is off */
.steps-fallback { list-style: none; display: grid; gap: 8px; }
.steps-fallback li { font-size: 15px; font-weight: 600; padding: 12px 14px; background: var(--color-white); border: 1px solid var(--color-line); border-radius: 10px; }
.steps-fallback li b { color: var(--color-primary); }
.no-js .demo-live { display: none; }
.js .steps-fallback { display: none; }

@media (min-width: 761px) {
    .demo-zone { margin-top: 56px; padding-bottom: 96px; }
    .demo-toggle { min-height: 44px; }
    .steps-fallback { max-width: 640px; margin: 0 auto; }
}
/* The phone and the team view side by side need 900px; narrower tablets keep the stacked window. */
@media (min-width: 900px) {
    .demo .tabs { gap: 8px; padding: 12px 16px 0; }
    .demo .tab { padding: 10px 12px 12px; text-align: left; }
    .demo .tab .n { font-size: 20px; }
    .demo .tab .c { display: block; }
    .demo .win { border-radius: 22px; }
    .demo .win-top { display: flex; }
    .demo .win-body { grid-template-columns: 300px minmax(0, 1fr); height: 470px; margin-top: 12px; }
    .demo .a-left { display: grid; }
    .demo .a-right { padding: 44px 40px 28px; height: auto; }
    .demo .a-right .lbl { display: block; }
    .demo .pn { inset: 44px 40px 28px; }
    .demo .s-title { font-size: 24px; text-align: left; }
    .demo .mstrip { display: none; }
    .demo .rec { margin-top: 20px; padding: 18px 20px; }
    .demo .rec-head { gap: 14px; }
    .demo .rec-head .nm { font-size: 18px; }
    .demo .rec-head .rl { font-size: 14px; }
    .demo .kv { grid-template-columns: 110px minmax(0, 1fr); }
    .demo .kv > span { padding: 10px 0; font-size: 15px; }
    .demo .route { grid-template-columns: auto 1fr auto; gap: 18px; margin-top: 26px; }
    .demo .wire { display: block; }
    .demo .list { margin-top: 22px; }
    .demo .li { padding: 14px 18px; font-size: 15px; }
    .demo .boom b { font-size: 34px; }
    .demo .chart { padding: 18px 22px; }
    .demo .bars { height: 150px; column-gap: 36px; }
    .demo .blabels { column-gap: 36px; }
    .demo .stats { gap: 12px; }
    .demo .stat { padding: 12px 16px; }
    .demo .stat b { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}

/* ---------- section 2: the question you dread ---------- */
.sec2 .split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: center; }
.sec2 p.line { font-size: 17px; line-height: 1.6; color: var(--color-slate); margin-top: 18px; max-width: 44ch; }
.sec2 p.beat { color: var(--color-text); font-weight: 600; }
.sec2 p.ask { color: var(--color-text); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.sec2 .receipt-wrap { display: flex; justify-content: center; }
.sec2 .receipt { width: 100%; max-width: 400px; background: var(--color-white); border: 1px solid var(--color-line); border-radius: 4px; padding: 22px 18px 18px; font-variant-numeric: tabular-nums; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 14px 34px rgba(15, 23, 42, .09); position: relative; }
.sec2 .receipt:after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: linear-gradient(-45deg, transparent 7px, var(--color-white) 0) 0 0 / 14px 14px repeat-x, linear-gradient(45deg, transparent 7px, var(--color-white) 0) 0 0 / 14px 14px repeat-x; }
.sec2 .r-head { text-align: center; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); font-weight: 600; }
.sec2 .r-title { text-align: center; font-size: 17px; font-weight: 600; margin-top: 4px; }
.sec2 .r-sub { text-align: center; font-size: 13px; color: var(--color-muted); margin-top: 2px; }
.sec2 .r-example { text-align: center; font-size: 12px; font-weight: 500; color: var(--color-slate); margin-top: 6px; }
.sec2 .receipt hr { border: 0; border-top: 1px dashed var(--color-slate-300); margin: 12px 0; }
.sec2 .r-group { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); font-weight: 600; margin: 4px 0 2px; }
.sec2 .r-group.gap { margin-top: 12px; }
.sec2 .r-row { display: flex; align-items: baseline; gap: 8px; font-size: 14px; margin: 5px 0; color: var(--color-text); }
.sec2 .r-row .dots { flex: 1; min-width: 12px; border-bottom: 1px dotted var(--color-slate-300); transform: translateY(-4px); }
.sec2 .r-row .amt { font-weight: 600; white-space: nowrap; }
.sec2 .r-row.sum { font-size: 17px; font-weight: 700; margin-top: 2px; }
.sec2 .r-row.sum .amt { font-weight: 700; }
.sec2 .r-row.q .amt { color: var(--color-muted); }
.sec2 .r-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; font-weight: 700; margin-top: 2px; }
.sec2 .r-total .amt { color: var(--color-primary); }
.sec2 .r-foot { text-align: center; font-size: 12px; color: var(--color-muted); margin-top: 14px; }
/* The bridge to section 3: one question, then an arrow that pulses towards it. */
.sec2 .next { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; margin-top: 56px; font-size: 22px; font-weight: 700; letter-spacing: -.015em; color: var(--color-primary-deep); text-align: center; }
.sec2 .next .nb { display: block; }
.sec2 .next-arrow { display: inline-flex; width: 48px; height: 48px; border-radius: 50%; align-items: center; justify-content: center; color: var(--color-primary); background: var(--color-primary-wash); text-decoration: none; }
.sec2 .next-arrow svg { flex: none; }
@keyframes arrow-bob { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }
@keyframes arrow-ring { 0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, .35); } 80%, 100% { box-shadow: 0 0 0 14px rgba(37, 99, 235, 0); } }
@media (prefers-reduced-motion: no-preference) {
    .sec2 .next-arrow { animation: arrow-ring 1.4s ease-out infinite; }
    .sec2 .next-arrow svg { animation: arrow-bob 1.4s ease-in-out infinite; }
}

@media (min-width: 761px) {
    .sec2 p.line { font-size: 19px; }
    .sec2 p.ask { font-size: 22px; }
    .sec2 .receipt { transform: rotate(-1.2deg); padding: 26px 28px 20px; }
    .sec2 .receipt hr { margin: 14px 0; }
    .sec2 .r-row { font-size: 14.5px; margin: 7px 0; }
    .sec2 .next { margin-top: 72px; font-size: 28px; }
    .sec2 .next .nb { display: inline; }
}
/* Desktop: the story and the receipt split the width; the receipt sits on the right edge. */
@media (min-width: 1041px) {
    .sec2 .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 88px; }
    .sec2 .receipt-wrap { justify-content: flex-end; }
    .sec2 p.line { max-width: none; }
}

/* ---------- section 3: how it works, with Zapfalcon ---------- */
.sec3 { background: linear-gradient(180deg, var(--color-hero-top), var(--color-white)); }
.sec3 .s3 { padding-top: 72px; }
/* "With" and the logo itself, so Zapfalcon keeps its colours. */
.sec3 .with-logo { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .28em; text-align: center; }
.sec3 .with-logo img { display: block; height: 1.12em; width: auto; transform: translateY(.04em); }
.sec3 .no-more { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 22px 0 56px; text-align: center; }
.sec3 .no-more li { font-size: 18px; line-height: 1.35; font-weight: 700; letter-spacing: -.015em; color: var(--color-text); white-space: nowrap; }
.sec3 .no-more li:last-child { color: var(--color-primary); }

/* The timeline. A blue line draws down it as it scrolls by, lighting each step it reaches.
   The line runs on past the last step, as in the design. */
.sec3 .steps { position: relative; z-index: 0; max-width: 760px; margin: 0 auto 72px; }
.sec3 .timeline { list-style: none; }
.sec3 .timeline li { position: relative; padding-left: 34px; padding-bottom: 26px; }
.sec3 .timeline li:before { content: ""; position: absolute; left: 7px; top: 10px; bottom: -6px; width: 2px; background: var(--color-line); }
.sec3 .timeline li:after { content: ""; position: absolute; z-index: 2; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--color-primary); background: var(--color-primary-wash); transform: scale(1.15); transition: border-color .3s, background .3s, transform .3s; }
.sec3 .tl-fill { position: absolute; z-index: 1; left: 7px; top: 10px; width: 2px; height: var(--fill, 0px); background: var(--color-primary); border-radius: 2px; }
.sec3 .k { font-size: 22px; font-weight: 700; color: var(--color-primary); letter-spacing: -.01em; }
.sec3 .timeline p.d { font-size: 16.5px; line-height: 1.6; color: var(--color-slate); margin-top: 6px; }
.sec3 .timeline p.d b { color: var(--color-text); font-weight: 600; }
.sec3 .timeline .k, .sec3 .timeline .d { transition: opacity .4s ease; }
/* With JavaScript, steps the line has not reached yet wait dimmed. */
.js .sec3 .timeline li:not(.lit):after { border-color: var(--color-slate-300); background: var(--color-white); transform: none; }
.js .sec3 .timeline li:not(.lit) .k, .js .sec3 .timeline li:not(.lit) .d { opacity: .3; }

/* Phones and tablets: the payoff lines, then the report, then the button. */
.sec3 .split2 { display: flex; flex-direction: column; }
.sec3 .payoff { display: contents; }
.sec3 .payoff p { order: 1; font-size: 17px; line-height: 1.6; color: var(--color-slate); margin-top: 16px; max-width: 44ch; }
.sec3 .payoff p:first-child { margin-top: 0; }
.sec3 .payoff p.ask { color: var(--color-text); font-weight: 700; font-size: 19px; }
.sec3 .payoff p.beat { color: var(--color-primary-deep); font-weight: 700; font-size: 19px; }
.sec3 .payoff-cta { order: 3; align-self: stretch; display: inline-flex; justify-content: center; gap: 8px; margin-top: 28px; }
.sec3 .report { order: 2; align-self: stretch; margin-top: 28px; background: var(--color-white); border: 1px solid var(--color-line); border-radius: 14px; padding: 16px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 14px 34px rgba(15, 23, 42, .08); }
.sec3 .rep-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sec3 .rep-head .wm { font-weight: 600; font-size: 15px; }
.sec3 .rep-head .wm .z { color: var(--color-primary); }
.sec3 .rep-head .tag { font-size: 12px; color: var(--color-muted); }
.sec3 .rep-title { font-size: 18px; font-weight: 700; margin-top: 8px; letter-spacing: -.01em; }
.sec3 .kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.sec3 .kpi { background: var(--color-stage); border: 1px solid var(--color-line); border-radius: 10px; padding: 10px; transition: border-color .4s, background .4s; }
.sec3 .kpi b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.sec3 .kpi span { font-size: 12px; color: var(--color-muted); white-space: nowrap; }
.sec3 .all-done { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 12px; font-size: 13.5px; font-weight: 600; color: var(--color-green); background: var(--color-green-bg); border: 1px solid var(--color-green-200); border-radius: 10px; }
.sec3 .all-done .tk { width: 20px; height: 20px; border-radius: 50%; background: var(--color-white); display: grid; place-items: center; flex: none; }
.sec3 .lb { margin-top: 16px; width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.sec3 .lb th { font-size: 12px; color: var(--color-muted); font-weight: 600; text-align: right; padding: 6px 8px; border-bottom: 1px solid var(--color-line); }
.sec3 .lb th:first-child, .sec3 .lb td:first-child { text-align: left; }
.sec3 .lb td { padding: 9px 8px; border-bottom: 1px solid var(--color-line); text-align: right; }
.sec3 .lb tr:last-child td { border-bottom: 0; }
.sec3 .lb tr.top td { background: var(--color-green-bg); }
.sec3 .lb .who { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.sec3 .lb .av { width: 24px; height: 24px; border-radius: 50%; background: var(--color-primary-wash); color: var(--color-primary-deep); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.sec3 .lb .badge { font-size: 11px; font-weight: 600; color: var(--color-green); background: var(--color-white); border: 1px solid var(--color-green-200); border-radius: 999px; padding: 1px 7px; margin-left: 4px; white-space: nowrap; }
.sec3 .lb .hide-sm { display: none; }

/* After the count-up each number lights in turn, then the all-done strip, then Sam's row (home-motion.js). */
@keyframes kpi-lit { 0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, .45); border-color: var(--color-blue-300); background: var(--color-primary-wash); transform: scale(1); } 30% { transform: scale(1.06); } 100% { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); border-color: var(--color-blue-200); background: var(--color-hero-top); transform: none; } }
@keyframes row-lit { 0% { background: var(--color-data-edge); } 100% { background: var(--color-green-bg); } }
@keyframes strip-lit { 0% { background: var(--color-data-edge); transform: scale(1.03); } 100% { background: var(--color-green-bg); transform: none; } }
@keyframes badge-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.sec3 .kpi.hl { animation: kpi-lit 1.1s ease both; }
.sec3 .kpi.hl b { color: var(--color-primary); }
.sec3 .all-done.hl { animation: strip-lit 1.1s ease both; }
.sec3 .lb tr.top.hl td { animation: row-lit 1.2s ease both; }
.sec3 .lb tr.top.hl .badge { animation: badge-pop .5s cubic-bezier(.2, 1.4, .4, 1) .15s both; }

@media (prefers-reduced-motion: no-preference) {
    .js .sec3 .no-more li:nth-child(2) { transition-delay: .15s; }
    .js .sec3 .no-more li:nth-child(3) { transition-delay: .3s; }
}

@media (min-width: 761px) {
    .sec3 .no-more { flex-direction: row; justify-content: center; gap: 0; margin: 28px 0 72px; }
    .sec3 .no-more li { font-size: 24px; padding: 0 28px; }
    .sec3 .no-more li + li { border-left: 1px solid var(--color-slate-300); }
    .sec3 .steps { margin-bottom: 96px; }
    .sec3 .timeline li { padding-left: 44px; padding-bottom: 34px; }
    .sec3 .timeline .k { font-size: 26px; }
    .sec3 .timeline p.d { font-size: 19px; }
    .sec3 .nw { white-space: normal; }
    .sec3 .payoff p { font-size: 19px; }
    .sec3 .payoff p.ask, .sec3 .payoff p.beat { font-size: 22px; }
    .sec3 .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sec3 .report { padding: 20px 22px; }
    .sec3 .lb { font-size: 14px; }
    .sec3 .lb .hide-sm { display: table-cell; }
}
/* Tablets and small laptops (2026-11-06): the three lines side by side are wider than
   the screen up to about 1115px, so they stay stacked there. */
@media (min-width: 761px) and (max-width: 1119px) {
    .sec3 .no-more { flex-direction: column; gap: 10px; }
    .sec3 .no-more li { padding: 0; }
    .sec3 .no-more li + li { border-left: 0; }
}
/* Portrait tablets and small laptops (2026-11-06): the payoff question would leave
   "guess." alone on its second line, so its two lines are balanced. */
@media (min-width: 700px) and (max-width: 1100px) {
    .sec3 .payoff p.ask { text-wrap: balance; }
}
/* Desktop: the payoff and its button on the left, the report beside it. */
@media (min-width: 1041px) {
    .sec3 .split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 88px; align-items: center; }
    .sec3 .payoff { display: block; }
    .sec3 .payoff p { max-width: none; }
    .sec3 .payoff-cta { align-self: auto; }
    .sec3 .report { margin-top: 0; }
}

/* ---------- section 4: what's in it for you ---------- */
.sec4 .people { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 32px; }
/* Role first, then the person. Headline, text and chip share each card's lines. */
.sec4 .person { display: flex; flex-direction: column; padding: 22px 20px; background: var(--color-white); border: 1px solid var(--color-line); border-left: 4px solid var(--color-primary); border-radius: 14px; }
.sec4 .role { display: flex; align-items: center; gap: 12px; }
.sec4 .pav { width: 40px; height: 40px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--color-primary-wash); color: var(--color-primary-deep); font-size: 16px; font-weight: 700; transition: background .4s, color .4s; }
.sec4 .role b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--color-text); transition: color .4s; }
.sec4 .role small { display: block; margin-top: 1px; font-size: 13px; font-weight: 500; color: var(--color-muted); }
.sec4 h3 { margin-top: 16px; font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
.sec4 p.body { flex: 1; margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--color-slate); text-wrap: pretty; }
.sec4 .chip { display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; margin-top: 16px; font-size: 13px; font-weight: 600; border-radius: 999px; padding: 6px 11px; border: 1px solid var(--color-line); background: var(--color-stage); color: var(--color-text); }
.sec4 .chip i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--color-primary); flex: none; }
.sec4 .chip.green { background: var(--color-green-bg); border-color: var(--color-green-200); color: var(--color-green); }
.sec4 .chip.green i { background: var(--color-green); }
.sec4 .chip.amber { background: var(--color-warm-bg); border-color: var(--color-warm-border); color: var(--color-warm-text); }
.sec4 .chip.amber i { background: var(--color-warm-text); }
.sec4 .chip.hot { background: var(--color-hot-bg); border-color: var(--color-hot-border); color: var(--color-hot-text); }
.sec4 .chip.hot i { background: var(--color-hot-text); }

/* Each person lights up in turn as the cards come into view (home-motion.js adds .lu, .lit and .glow). */
@media (prefers-reduced-motion: no-preference) {
    .sec4 .people.lu .person { opacity: .35; transform: scale(.97); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s ease, border-color .5s ease; }
    .sec4 .people.lu .person.lit { opacity: 1; transform: none; }
    .sec4 .people.lu .person.glow { transform: translateY(-8px); box-shadow: 0 24px 48px -20px rgba(37, 99, 235, .5); border-color: var(--color-blue-300); }
    .sec4 .people.lu .person.glow .role b { color: var(--color-primary); }
    .sec4 .people.lu .person.glow .pav { background: var(--color-primary); color: var(--color-white); }
}
/* Desktop hover brings one person forward and dims the rest. */
@media (hover: hover) and (min-width: 761px) and (prefers-reduced-motion: no-preference) {
    .sec4 .people.lu .person { transition: opacity .3s ease, transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .3s ease; }
    .sec4 .people.lu:hover .person.lit:not(:hover) { opacity: .45; transform: scale(.98); }
    .sec4 .people.lu .person.lit:hover { z-index: 2; transform: scale(1.05); box-shadow: 0 28px 56px -22px rgba(37, 99, 235, .55); border-color: var(--color-blue-300); }
    .sec4 .people.lu .person.lit:hover .role b { color: var(--color-primary); }
    .sec4 .people.lu .person.lit:hover .pav { background: var(--color-primary); color: var(--color-white); }
}

@media (min-width: 761px) {
    .sec4 .people { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 44px; }
}
/* The narrowest two-across widths (2026-11-06): "Work the room, not the phone." takes two
   lines there, so every headline keeps two lines and the rows stay level. */
@media (min-width: 761px) and (max-width: 779px) {
    .sec4 h3 { min-height: 2.5em; }
}
@media (min-width: 1101px) {
    .sec4 .people { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sec4 h3 { min-height: 2.5em; }
}
/* Landscape tablets (2026-11-06): four across is too narrow for "Founder or director"
   and "Head of marketing", which wrap and push their rows down, so two across up to 1199px. */
@media (min-width: 1101px) and (max-width: 1199px) {
    .sec4 .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sec4 h3 { min-height: 0; }
}

/* ---------- section 5: the founder's letter ---------- */
/* overflow-x: the tilted sheet behind the letter would otherwise widen the page on phones. */
.sec5 { background: var(--color-letter-bg); overflow-x: clip; }
.sec5 .letter-wrap { position: relative; isolation: isolate; padding: 8px 8px 14px; }
.sec5 .letter { position: relative; max-width: 800px; margin: 0 auto; padding: 28px 22px; background: var(--color-white); border: 1px solid var(--color-letter-edge); border-radius: 22px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 30px 60px -30px rgba(15, 23, 42, .25); }
/* A tilted blue sheet behind the letter. */
.sec5 .letter::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 22px; background: linear-gradient(135deg, var(--color-blue-200), var(--color-primary)); transform: rotate(2.2deg) translate(6px, 6px); }
.sec5 .letter-top { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 16px; }
.sec5 .letter-eye { display: inline-block; margin-bottom: 18px; padding: 5px 12px; font-size: 13.5px; font-weight: 700; color: var(--color-primary-deep); background: var(--color-primary-wash); border: 1px solid var(--color-blue-100); border-radius: 999px; white-space: nowrap; }
.sec5 .face { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 3px solid var(--color-white); box-shadow: 0 6px 18px rgba(15, 23, 42, .18); }
.sec5 .letter-body p { margin-top: 16px; max-width: 62ch; font-size: 17px; line-height: 1.7; color: var(--color-slate); }
.sec5 .letter-body p.hook { margin-top: 22px; font-size: 20px; line-height: 1.55; font-weight: 500; color: var(--color-text); }
.sec5 .letter-body p b { color: var(--color-text); font-weight: 600; }
.sec5 .points { list-style: none; display: grid; gap: 18px; margin: 26px 0 6px; }
.sec5 .points li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; }
.sec5 .points .n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--color-primary); color: var(--color-white); font-size: 15px; font-weight: 700; }
.sec5 .points h3 { font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; color: var(--color-text); }
.sec5 .points .pb { color: var(--color-primary); }
.sec5 .letter-body .points p { margin-top: 4px; font-size: 16px; line-height: 1.6; }
.sec5 .sign { margin-top: 22px; }
/* 42px on phones keeps the name on one line down to 320px; 52px from 761px.
   The script's capitals and tails reach well past its letters, so the line is roomy and padded,
   with the left padding pulled back so the signature still lines up with the text. */
.sec5 .sig { display: block; margin: 18px 0 0 -.15em; padding: .1em .2em .15em .15em; font-family: "Mrs Saint Delafield", "Brush Script MT", cursive; font-size: 42px; white-space: nowrap; line-height: 1.35; font-weight: 400; color: var(--color-text); }
.sec5 .who { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--color-muted); }
.sec5 .letter-body p.ps { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--color-slate-200); font-style: italic; color: var(--color-slate); }
.sec5 .ps b { font-style: normal; }

/* The points rise in turn; the signature writes itself once it is on screen. */
@media (prefers-reduced-motion: no-preference) {
    .js .sec5 .points li:nth-child(2) { transition-delay: .15s; }
    .js .sec5 .points li:nth-child(3) { transition-delay: .3s; }
    /* A left-to-right wipe. Top, bottom and both ends sit outside the box, so the end state cuts nothing. */
    .js .sec5 .sig { clip-path: inset(-30% 100% -40% -6%); transition: clip-path 1.6s cubic-bezier(.6, .1, .3, 1); }
    .js .sec5 .sign.in .sig { clip-path: inset(-30% -12% -40% -6%); }
}

@media (min-width: 421px) {
    .sec5 .letter-eye { padding: 6px 14px; font-size: 15px; }
}
@media (min-width: 761px) {
    .sec5 .letter { padding: 52px 60px; }
    .sec5 .letter-top { flex-direction: row; justify-content: space-between; gap: 32px; }
    .sec5 .face { width: 112px; height: 112px; flex: none; }
    .sec5 .sig { font-size: 52px; }
    .sec5 .letter-body p { font-size: 18px; }
    .sec5 .letter-body p.hook { font-size: 21px; }
}

/* ---------- section 6: pricing ---------- */
.sec6 { background: var(--color-stage); }
.sec6 .plans-head { max-width: 760px; margin: 0 auto; text-align: center; }
.sec6 .plans-sub { margin-top: 12px; font-size: 17px; color: var(--color-slate); }
.sec6 .offer { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 6px 16px 6px 6px; font-size: 14.5px; font-weight: 600; text-align: left; color: var(--color-amber-900); background: var(--color-warm-bg); border: 1px solid var(--color-warm-border); border-radius: 14px; }
.sec6 .offer span { padding: 3px 10px; font-size: 12.5px; font-weight: 700; white-space: nowrap; color: var(--color-white); background: var(--color-warm-text); border-radius: 999px; }
.sec6 .plans { display: grid; gap: 16px; margin-top: 32px; }
.sec6 .plan { position: relative; display: flex; flex-direction: column; padding: 24px 24px 22px; background: var(--color-white); border: 1px solid var(--color-line); border-radius: 18px; }
/* The middle plan is the recommended one: dark, with a Most popular tag. */
.sec6 .plan.mid { color: var(--color-white); background: var(--color-section-dark); border-color: var(--color-section-dark); box-shadow: 0 24px 50px -24px rgba(15, 23, 42, .6); }
.sec6 .pop { position: absolute; top: 20px; right: 20px; padding: 4px 10px; font-size: 12px; font-weight: 700; color: var(--color-white); background: var(--color-primary); border-radius: 999px; }
.sec6 .plan-name { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.sec6 .plan-name span { margin-left: 6px; font-size: 15px; font-weight: 600; color: var(--color-primary-deep); }
.sec6 .mid .plan-name span { color: var(--color-blue-300); }
.sec6 .price { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; font-variant-numeric: tabular-nums; }
.sec6 .price s { font-size: 22px; font-weight: 600; color: var(--color-slate-400); }
.sec6 .price b { font-size: 44px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.sec6 .price > span { font-size: 15px; color: var(--color-muted); }
.sec6 .for { margin-top: 6px; font-size: 14px; color: var(--color-muted); }
.sec6 .mid .price > span, .sec6 .mid .for { color: var(--color-slate-400); }
.sec6 .fit { flex: 1; margin-top: 14px; font-size: 15.5px; color: var(--color-slate); }
.sec6 .mid .fit { color: var(--color-slate-300); }
.sec6 .plan .btn { display: block; margin-top: 20px; text-align: center; }
.sec6 .btn.ghost { background: var(--color-white); color: var(--color-primary-deep); border: 1px solid var(--color-blue-200); }
/* Every term in one line under the plans; one under another on phones. */
.sec6 .terms { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 28px 0 0 4px; font-size: 14.5px; color: var(--color-slate); }
.sec6 .terms span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sec6 .terms svg { color: var(--color-green); }
.sec6 .terms a { font-weight: 600; color: var(--color-primary-deep); text-decoration: none; white-space: nowrap; }

/* What is a Zapper? A 48px button round a small (i), opened by click or tap only
   (home-zapper.js), so it needs JavaScript and is hidden without it. The negative
   margins keep the icon's own spacing in the line. */
.sec6 .zi-btn { display: none; }
.js .sec6 .zi-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: -14px -14px -14px -8px; padding: 0; vertical-align: middle; color: var(--color-muted); background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.js .sec6 .plan-name .zi-btn { margin: -16px -16px -16px -12px; color: var(--color-primary-deep); }
.sec6 .zi-btn svg { width: 18px; height: 18px; border-radius: 50%; transition: color .2s; }
.sec6 .plan-name .zi-btn svg { width: 16px; height: 16px; }
.sec6 .mid .plan-name .zi-btn { color: var(--color-blue-300); }
.sec6 .zi-btn[aria-expanded="true"], .sec6 .plans-head .zi-btn:hover { color: var(--color-primary); }
.sec6 .zi-btn:focus-visible { outline: none; }
.sec6 .zi-btn:focus-visible svg { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.sec6 .mid .zi-btn:focus-visible svg { outline-color: var(--color-blue-300); }
/* home-zapper.js places the popover under its button and keeps it 16px inside the screen. */
.sec6 .plans-head { position: relative; }
.sec6 .zi-on { z-index: 3; }
.sec6 .zi-pop { position: absolute; z-index: 4; top: 0; left: 0; width: 260px; max-width: calc(100vw - 32px); padding: 10px 13px; font-size: 14.5px; font-weight: 500; line-height: 1.45; letter-spacing: 0; text-align: left; color: var(--color-text); background: var(--color-white); border: 1px solid var(--color-line); border-radius: 10px; box-shadow: 0 16px 32px -12px rgba(15, 23, 42, .3); }
.sec6 .zi-pop[hidden] { display: none; }
.sec6 .zi-pop::before { content: ""; position: absolute; top: -6px; left: var(--arrow, 50%); width: 10px; height: 10px; margin-left: -5px; background: var(--color-white); border: solid var(--color-line); border-width: 1px 0 0 1px; transform: rotate(45deg); }

@media (prefers-reduced-motion: no-preference) {
    .js .sec6 .plan:nth-child(2) { transition-delay: .12s; }
    .js .sec6 .plan:nth-child(3) { transition-delay: .24s; }
    .sec6 .zi-pop { animation: zi-in .16s ease-out; }
    @keyframes zi-in { from { opacity: 0; transform: translateY(-4px); } }
}

@media (min-width: 761px) {
    .sec6 .offer { border-radius: 999px; }
    .sec6 .terms { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-left: 0; }
}
@media (min-width: 900px) {
    .sec6 .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; margin-top: 40px; }
}
/* Portrait tablets and small laptops (2026-11-06): three across leaves no room for the
   whole price line, so "/month" may drop to the next line up to 1100px. */
@media (min-width: 900px) and (max-width: 1100px) {
    .sec6 .price { flex-wrap: wrap; row-gap: 2px; }
}
/* Same range, up to 1085px: the Most popular tag would sit on "5 Zappers" and its (i),
   so it rides the top edge of the card instead. */
@media (min-width: 900px) and (max-width: 1085px) {
    .sec6 .pop { top: -13px; right: auto; left: 24px; }
}
/* Phones up to 389px (2026-11-08): the Growth price line "$299 $149.50 /month" cannot
   shrink below 297px, which made every card 347px wide, so the page scrolled 7px sideways
   at 360px and the cards sat 12px off centre at 375px. The one column may now be
   narrower than that line, and the line wraps "/month" instead. */
@media (max-width: 389px) {
    .sec6 .plans { grid-template-columns: minmax(0, 1fr); }
    .sec6 .price { flex-wrap: wrap; row-gap: 2px; }
}

/* ---------- section 7: tools and trust ---------- */
.sec7 .tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 40px; }
/* Phones: the icon sits beside the title. */
.sec7 .tile { border: 1px solid var(--color-line); border-radius: 14px; padding: 16px; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; align-items: center; }
.sec7 .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--color-primary-wash); color: var(--color-primary-deep); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.sec7 .ic svg { width: 20px; height: 20px; }
.sec7 .tile h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.sec7 .tile p { grid-column: 1 / -1; font-size: 15.5px; line-height: 1.55; color: var(--color-slate); margin-top: 8px; text-wrap: pretty; }
/* The data promises, in a card of their own. */
.sec7 .data { margin-top: 24px; padding: 22px 20px; background: linear-gradient(180deg, var(--color-data-top), var(--color-stage)); border: 1px solid var(--color-data-edge); border-radius: 18px; }
.sec7 .data-head { display: flex; align-items: center; gap: 12px; }
.sec7 .shield { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--color-green-100); color: var(--color-green); }
.sec7 .data-head p { font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: var(--color-text); }
.sec7 .data-list { list-style: none; display: grid; gap: 14px; margin-top: 18px; }
.sec7 .data-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; font-size: 16.5px; line-height: 1.55; color: var(--color-text); }
.sec7 .data-list .tk { width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; display: grid; place-items: center; color: var(--color-green); background: var(--color-white); border: 1px solid var(--color-data-edge); }
.sec7 .data a { font-weight: 600; color: var(--color-primary-deep); }
.sec7 .data-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--color-data-line); font-size: 15.5px; color: var(--color-slate); }
.sec7 .data-mail svg { flex: none; color: var(--color-green); }

/* The tiles rise in turn as they come into view. */
@media (prefers-reduced-motion: no-preference) {
    .js .sec7 .tiles .tile { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; }
    .js .sec7 .tiles.in .tile { opacity: 1; transform: none; }
    .js .sec7 .tiles .tile:nth-child(2) { transition-delay: .1s; }
    .js .sec7 .tiles .tile:nth-child(3) { transition-delay: .2s; }
    .js .sec7 .tiles .tile:nth-child(4) { transition-delay: .3s; }
}

@media (min-width: 761px) {
    .sec7 .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sec7 .tile { display: block; padding: 22px 20px; }
    .sec7 .ic { width: 40px; height: 40px; }
    .sec7 .tile h3 { margin-top: 14px; }
    .sec7 .tile p { margin-top: 6px; }
}
@media (min-width: 900px) {
    .sec7 .data { margin-top: 28px; padding: 30px 34px; }
    .sec7 .data-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 48px; margin-top: 22px; }
    .sec7 .data-list li span:last-child { max-width: 40ch; }
}
@media (min-width: 1101px) {
    .sec7 .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- section 8: questions ---------- */
.sec8 .wrap { max-width: 820px; margin: 0 auto; }
.sec8 h2 { text-align: center; }
.sec8 .faq { margin-top: 40px; border-top: 1px solid var(--color-line); }
.sec8 details { border-bottom: 1px solid var(--color-line); }
.sec8 summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.sec8 summary::-webkit-details-marker { display: none; }
.sec8 summary:after { content: "+"; font-size: 26px; font-weight: 400; color: var(--color-primary); line-height: 1; flex: none; }
.sec8 details[open] summary:after { content: "\2212"; }
.sec8 summary:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: 8px; }
.sec8 details p { font-size: 16.5px; line-height: 1.65; color: var(--color-slate); padding: 0 4px 24px; max-width: 68ch; }

@media (min-width: 761px) {
    .sec8 summary { font-size: 19px; }
}

/* ---------- section 9: final call to action ---------- */
.sec9 { background: var(--color-primary); color: var(--color-white); text-align: center; padding: 64px var(--gutter); }
.sec9 h2 { margin: 0 auto; }
.sec9 h2 .zzb { display: block; font-size: clamp(28px, 9vw, 40px); line-height: 1.05; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; }
/* One line from 390px; narrower phones split it after "Get the most out of" (the two .nb halves). */
.sec9 h2 .pay { display: block; font-size: 18px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; color: var(--color-primary-wash); margin-top: 16px; text-wrap: balance; }
.sec9 .btn { margin-top: 34px; background: var(--color-white); color: var(--color-primary-deep); font-size: 17px; padding: 15px 28px; }
.sec9 .note { font-size: 16px; color: var(--color-white); margin-top: 14px; }
.sec9 .apps { max-width: var(--wrap); margin: 40px auto 0; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .25); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.sec9 .apps p { font-size: 16px; color: var(--color-primary-wash); }
.sec9 .badges { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; justify-content: center; }
.sec9 .badge { display: flex; align-items: center; min-height: 48px; }
.sec9 .badge img { display: block; }
.sec9 .apps p.legal { font-size: 11px; line-height: 1.45; color: var(--color-white); max-width: 60ch; }

@media (min-width: 390px) {
    .sec9 h2 .pay { font-size: 17px; white-space: nowrap; }
}
@media (min-width: 481px) {
    .sec9 h2 .pay { font-size: 20px; }
}
@media (min-width: 761px) {
    .sec9 { padding: 96px var(--gutter); }
    .sec9 h2 .zzb { font-size: 56px; white-space: normal; }
    .sec9 h2 .pay { font-size: 26px; }
    .sec9 .badge { display: block; min-height: 0; }
    .sec9 .apps p.legal { font-size: 12px; line-height: 1.5; }
}
