/* handtap.ai's landing page. The same look as the app (generator/ui/shell.css): near-white and near-black, Inter with
   its optical sizes, one ink colour, orange (#ff5a1f) for the Get started buttons and small
   accents. Colour comes from the clips. Dark when the computer is. */
:root {
  --bg: #fcfcfc; --panel: #ffffff; --soft: #f3f3f2; --ink: #0c0c0c; --muted: #6b6b6b; --line: #e8e8e8;
  --accent: #0c0c0c; --accent-ink: #ffffff; --brand: #ff5a1f; --card: #fbfaf6; --card-line: #e6e0d6; --lift: 0 0 #0000;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif; --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light dark;
}
/* Dark when the computer is dark and Light wasn't picked in the footer, or when Dark was (script.js keeps the pick).
   Dark cards had all but vanished (user, 2026-11-09): a shadow does not show on near-black, and the cards inside a
   block were darker than the block. So in dark the block is a step lighter with a clearer warm edge, the cards inside it
   a step lighter again (--panel), and each card has a faint light line along its top edge (--lift), as light from above. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0d0d0d; --panel: #242321; --soft: #1b1b1b; --ink: #f2f2f2; --muted: #9d9d9d; --line: #34322f;
                                    --accent: #f2f2f2; --accent-ink: #0c0c0c; --card: #1c1b19; --card-line: #3a3733; --lift: inset 0 1px 0 rgb(255 255 255 / .07); }
}
:root[data-theme="dark"] { --bg: #0d0d0d; --panel: #242321; --soft: #1b1b1b; --ink: #f2f2f2; --muted: #9d9d9d; --line: #34322f;
                           --accent: #f2f2f2; --accent-ink: #0c0c0c; --card: #1c1b19; --card-line: #3a3733; --lift: inset 0 1px 0 rgb(255 255 255 / .07); color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.55;
       font-optical-sizing: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:where(a, button, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(1160px, 100% - 48px); margin: 0 auto; }
.wrap.narrow { width: min(760px, 100% - 48px); }
@media (max-width: 600px) { .wrap, .wrap.narrow { width: calc(100% - 32px); } }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 650; text-wrap: balance; }
h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; justify-self: start; color: var(--muted);
           font: 500 .6875rem/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.eyebrow .soon { font-family: var(--sans); letter-spacing: 0; text-transform: none; }
.fine { color: var(--muted); font-size: .875rem; }
.center { text-align: center; }

/* The name: the h drawn as a pointing hand, then the letters, in one drawing (as in the app). */
.brand { display: inline-flex; color: var(--ink); text-decoration: none; font-size: 1.375rem; }
.wordmark { display: block; height: .97em; width: auto; overflow: visible; }
.wordmark text { font-family: var(--sans); font-size: 100px; font-weight: 650; letter-spacing: -2.5px; font-variation-settings: "opsz" 22; fill: currentColor; }
.wordmark .brand-dot { fill: var(--brand); }
.wordmark .tld { fill: var(--muted); font-weight: 550; }

/* Buttons: orange (primary, every Get started) or quiet, rounded, pressing in a little. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px;
          border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--ink); font: inherit; font-size: .9375rem;
          font-weight: 550; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 140ms ease, opacity 140ms ease; }
.button.primary { border-color: var(--brand); background: var(--brand); color: #fff; }  /* Get started: the brand orange */
.button.small { min-height: 36px; padding: 6px 15px; font-size: .875rem; }
.button.large { min-height: 54px; padding: 12px 28px; font-size: 1.0625rem; }
.button:active { transform: scale(0.97); }
.link-quiet { color: var(--ink); font-size: .9375rem; font-weight: 500; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .button:not(.primary):hover { background: var(--soft); }
  .button.primary:hover { opacity: .86; }
  .link-quiet:hover, .nav-links a:hover, .footer-links a:hover { color: var(--muted); }
}

/* The bar on top, the sections in the middle on a wide screen. As Pamba's (user, 2026-11-09): plain, the dot grid starting
   under it, but the mouse's light shows in it too, its own haze at the page haze's place and strength (script.js sets
   --hx and --hy on it). Scrolled, it frosts so the page passing under it does not show through its words. */
.nav { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid transparent;
       transition: border-color 200ms ease, background-color 200ms ease; }
.nav.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 82%, transparent);
                -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 900ms ease;
               background: radial-gradient(500px circle at var(--hx, -999px) var(--hy, -999px), color-mix(in srgb, var(--brand) 7%, transparent),
                                           color-mix(in srgb, var(--brand) 2.5%, transparent) 250px, transparent 500px); }
.pointing .nav::before { opacity: 1; transition-duration: 350ms; }
.nav-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.nav-links { display: flex; gap: 26px; margin: 0 auto; font-size: .9375rem; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 450; }
.nav-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* The whole page lies on a touchscreen's dot grid: dots every 24 px in the ink colour, faint, fixed to the screen so the
   page scrolls over them like glass. Over it, as Pamba's spotlight: a soft orange haze that eases after the mouse
   (moved by transform only), and a canvas where the dots the mouse passes, and those round each demo tap, light
   orange and fade out (script.js). Panels and bands sit on top; the light shows between them. */
.page-dots { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
             background: radial-gradient(circle, color-mix(in srgb, var(--ink) 10%, transparent) 1.2px, transparent 1.6px) 0 0 / 24px 24px; }
.page-haze { position: absolute; left: 0; top: 0; width: 1000px; height: 1000px; margin: -500px 0 0 -500px; opacity: 0; will-change: transform;
             background: radial-gradient(circle closest-side, color-mix(in srgb, var(--brand) 7%, transparent),
                                         color-mix(in srgb, var(--brand) 2.5%, transparent) 50%, transparent);
             transition: opacity 900ms ease; }
.pointing .page-haze { opacity: 1; transition-duration: 350ms; }
.page-trail { position: absolute; inset: 0; width: 100%; height: 100%; }

/* The hero: the promise, then the recording and its clip side by side. */
.hero { position: relative; isolation: isolate; padding: 72px 0 40px; text-align: center; }
.hero h1 { max-width: 16ch; margin: 14px auto 0; font-size: clamp(2.3rem, 1.3rem + 4.2vw, 4.1rem); font-weight: 680; letter-spacing: -0.04em; line-height: 1.02; }
.hero h1 .line { display: block; }  /* "Your app," then "in a real hand.": the promise lands on its own line */
.hero .lead { max-width: 36rem; margin: 20px auto 0; color: var(--muted); font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
/* Trust under the button: a small mono label, then names in a quiet ink, as Pamba's "Built by engineers from". */
.trust { display: grid; justify-items: center; gap: 10px; margin-top: 26px; }
.trust-label { color: var(--muted); font: 500 .625rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.trust-marks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.trust-marks b { display: inline-flex; align-items: center; gap: 7px; color: color-mix(in srgb, var(--ink) 58%, transparent);
                 font-size: .9375rem; font-weight: 650; letter-spacing: -0.01em; }
.mark { flex: none; width: 17px; height: 17px; background: currentColor;
        -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.hero h1, .hero .lead, .hero .cta-row, .hero .trust { animation: rise 700ms var(--ease-out) both; }
.hero .trust { animation-delay: 240ms; }
.hero .lead { animation-delay: 80ms; } .hero .cta-row { animation-delay: 160ms; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* The demo: three video cards the same size, the hook and the recording side by side, an arrow, then the result.
   The cards are made like pamba.app's: a warm off-white frame with a thin border, the video rounded inside it (9:16;
   the recording at its own 9:19.5, so all of it shows) with a dark pill, a mono label ending in "_" and a small round arrow under it, each tilted a little. Below 861 px
   the two inputs share a row and the result sits under them. */
.demo { --card-w: clamp(164px, 15.3vw, 220px);
        display: grid; grid-template-columns: var(--card-w) calc(var(--card-w) * .78) auto calc(var(--card-w) * 1.18); justify-content: center; align-items: center;
        column-gap: 14px; margin-top: 72px; animation: rise 900ms var(--ease-out) 260ms both; }
.vcard { margin: 0; padding: 6px 6px 0; border: 1px solid var(--card-line); border-radius: 16px; background: var(--card);
         box-shadow: var(--lift), 0 18px 40px -22px rgba(60, 40, 10, .38), 0 2px 4px rgba(0, 0, 0, .04);
         transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--tilt, 0deg)); transition: transform 320ms var(--ease-out); }
/* The two inputs tilted and overlapping, the recording a little in front of the hook and lower (its track is 78% of
   a card; it reaches back over the hook by the rest and the gap). The result stands straight, 18% larger, so it
   weighs as much as the pair. */
.demo-hook { --tilt: -5deg; --y: -10px; }
.demo-before { --tilt: 4deg; --y: 16px; position: relative; z-index: 1; width: var(--card-w); margin-left: calc(var(--card-w) * -.22 - 14px);
               box-shadow: var(--lift), 0 24px 46px -20px rgba(40, 25, 5, .45), 0 2px 4px rgba(0, 0, 0, .05); }
.vcard-media { position: relative; overflow: hidden; aspect-ratio: 9 / 16; border-radius: 11px; background: #111; }
.vcard-media > video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Under the video, its file, as you'd upload it or get it: the name, then what's in it. The pill on the video says
   what the card is, so the two never repeat. */
.vcard figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 6px 11px;
                    font: 500 .6875rem/1 var(--mono); letter-spacing: .02em; white-space: nowrap; }
.vcard figcaption .file { overflow: hidden; color: var(--ink); text-overflow: ellipsis; }
.vcard figcaption .meta { color: var(--muted); }
.vcard-pill { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px;
              background: rgba(20, 20, 20, .58); color: #fff; font: 600 .5938rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase;
              -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vcard-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.demo-after figcaption { color: var(--ink); }
/* The recording fills its card (no phone around it), at its own shape, so none of it is cut. */
.demo-before .vcard-media { aspect-ratio: 9 / 19.5; }
/* Where the recording taps: an orange ring at the moment of the tap (script.js), on the Workout card, 41% across and
   78% down. */
.tap-dot { position: absolute; left: 41%; top: 78%; width: 24px; height: 24px; margin: -12px 0 0 -12px; border: 2.5px solid var(--brand); border-radius: 50%;
           background: color-mix(in srgb, var(--brand) 25%, transparent); opacity: 0; transform: scale(.6); transition: opacity 120ms ease, transform 220ms var(--ease-out); }
.tap-dot.on { opacity: 1; transform: scale(1); }
.demo-arrow { display: grid; place-items: center; width: 40px; height: 40px; margin-inline: 12px; border: 1px solid var(--card-line); border-radius: 50%;
              background: var(--card); color: var(--ink); }
/* What the clip kept from the hook: one white chip at a time at its lower left, each with its emoji, the next sliding
   in every 1.5 s (script.js), as Wispr Flow's "Removed Umm" does. With reduced motion all seven show, wrapped. The
   emoji are Apple's images, the same on every device. */
.clip-chips { position: absolute; left: 10px; bottom: 10px; display: grid; justify-items: start; margin: 0; padding: 0; list-style: none; }
.clip-chip { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 7px; border-radius: 999px;
             background: rgba(255, 255, 255, .95); color: #0c0c0c; font-size: .75rem; font-weight: 600; line-height: 1.2;
             box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(8px) scale(.96);
             transition: opacity 240ms ease, transform 380ms var(--ease-out); }
.clip-chip.on { opacity: 1; transform: none; }
.clip-emoji { flex: none; width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) {
  .clip-chips { right: 10px; display: flex; flex-wrap: wrap; gap: 4px; } .clip-chip { transition: none; } .vcard { transition: none; }
}
@media (max-width: 860px) {  /* the two inputs on a row, the arrow down, the result under them */
  .demo { --card-w: auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 12px; row-gap: 24px; margin-top: 56px; }
  .demo-hook { --x: 9%; }
  .demo-before { --x: -9%; width: auto; margin-left: 0; }
  .demo-arrow { grid-column: 1 / -1; justify-self: center; transform: rotate(90deg); }
  .demo-after { grid-column: 1 / -1; justify-self: center; width: min(250px, 68vw); }
  .vcard figcaption { font-size: .625rem; }
}

/* Sections. */
.section { padding: 84px 0; }
/* A block, as on Pamba: a section's pieces held in one big rounded warm card on the grid, as white cards inside it. */
.block { padding: clamp(12px, 1.6vw, 18px); border: 1px solid var(--card-line); border-radius: 28px; background: var(--card);
         box-shadow: var(--lift), 0 34px 60px -50px rgba(60, 40, 10, .4); }
/* A numbered badge, as Pamba numbers its steps. */
.num { display: inline-grid; place-items: center; justify-self: start; min-width: 30px; height: 26px; padding: 0 7px; border-radius: 8px;
       background: var(--ink); color: var(--bg); font: 600 .6875rem/1 var(--mono); letter-spacing: .04em; }
@media (max-width: 600px) { .section { padding: 64px 0; } }
.section-head { display: grid; gap: 10px; max-width: 40rem; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.0625rem; }

/* Three ways to film it: a clip each, its recording in the corner. */
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .modes { grid-template-columns: minmax(0, 420px); justify-content: center; } }
.mode { display: grid; align-content: start; gap: 8px; padding: 8px 8px 18px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); box-shadow: var(--lift); }
.mode h3, .mode p { padding: 0 10px; }
.mode-media { position: relative; aspect-ratio: 9 / 13; margin-bottom: 8px; overflow: hidden; border-radius: 16px; background: #111; }
.mode-media > video:first-child { width: 100%; height: 100%; object-fit: cover; }
.mode-input { position: absolute; left: 14px; bottom: 14px; width: 26%; aspect-ratio: 9 / 19.5; object-fit: cover; border: 3px solid #fff;
              border-radius: 12px; background: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5); }
.mode-input.wide { width: 44%; aspect-ratio: 16 / 9; border-radius: 8px; }
.mode p { color: var(--muted); }

/* The hook match: three hook frames fanned, and what is copied from them. */
.hook { background: none; }
.hook-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px;
            padding: clamp(28px, 4vw, 52px); border: 1px solid var(--card-line); border-radius: 28px; background: var(--card);
            box-shadow: var(--lift), 0 34px 60px -50px rgba(60, 40, 10, .4); }
@media (max-width: 860px) { .hook-row { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.hook-frames { position: relative; height: 420px; }
.hook-frames img { position: absolute; top: 40px; width: 200px; aspect-ratio: 9 / 16; object-fit: cover; border: 5px solid #fff; border-radius: 18px;
                   box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .45); }
.hf-a { left: calc(50% - 250px); transform: rotate(-8deg); }
.hf-c { left: calc(50% + 50px); transform: rotate(8deg); }
.hf-b { left: calc(50% - 110px); top: 0 !important; width: 220px !important; z-index: 1; }
@media (max-width: 600px) {  /* three frames that fit a 343 px column, the side ones fully on screen */
  .hook-frames { height: 290px; }
  .hook-frames img { top: 30px; width: 128px; border-width: 4px; border-radius: 14px; }
  .hf-a { left: calc(50% - 160px); } .hf-c { left: calc(50% + 32px); } .hf-b { left: calc(50% - 72px); width: 144px !important; }
}
.hook-words { display: grid; gap: 16px; }
.hook-words p:not(.eyebrow) { color: var(--muted); font-size: 1.0625rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.chips li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font-size: .875rem; font-weight: 500; }

/* How it works: three steps, each with a small picture of that moment in the app. */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; list-style: none; }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { display: grid; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); box-shadow: var(--lift); }
.step p { color: var(--muted); }
.step-num { display: grid; place-items: center; width: 26px; height: 26px; margin-top: 6px; border-radius: 50%; background: var(--ink); color: var(--bg);
            font-size: .8125rem; font-weight: 650; }
.step-art { display: grid; place-items: center; height: 150px; margin-bottom: 8px; border-radius: 14px; background: var(--soft); }
.mini-drop { display: grid; justify-items: center; gap: 8px; padding: 18px 26px; border: 1.5px dashed color-mix(in srgb, var(--ink) 25%, transparent);
             border-radius: 12px; font-size: .8125rem; color: var(--muted); }
.mini-drop .icon { width: 22px; height: 22px; color: var(--ink); }
/* Step 2, the app at work: a small recording with an orange line scanning down it, and what it finds ticking in, the
   last line the shot it picks. One 4.8 s loop; with reduced motion all of it simply shows. */
.mini-scan { display: flex; align-items: center; gap: 16px; }
.mini-rec { position: relative; width: 50px; aspect-ratio: 9 / 19.5; overflow: hidden; border: 2.5px solid #111; border-radius: 10px; background: #fff;
            box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .45); }
.mini-rec img { width: 100%; height: 100%; object-fit: cover; }
.mini-rec i { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--brand); box-shadow: 0 0 10px 2px color-mix(in srgb, var(--brand) 55%, transparent);
              animation: mini-scan 4.8s var(--ease-out) infinite; }
@keyframes mini-scan { 0% { top: 0; opacity: 1; } 45% { top: calc(100% - 2px); opacity: 1; } 55%, 100% { top: calc(100% - 2px); opacity: 0; } }
.mini-checks { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; font-size: .8125rem; text-align: left; }
.mini-checks li { display: flex; align-items: center; gap: 7px; color: var(--muted); animation: mini-check 4.8s ease infinite; }
.mini-checks li::before { content: "\2713"; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); color: var(--bg);
                          font-size: .625rem; font-weight: 700; }
.mini-checks li:nth-child(2) { animation-name: mini-check-2; }
.mini-checks li.pick { animation-name: mini-check-3; color: var(--ink); }
.mini-checks li.pick::before { background: var(--brand); color: #fff; }
.mini-checks b { padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); font-weight: 600; }
@keyframes mini-check { 0%, 14% { opacity: 0; transform: translateY(4px); } 20%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes mini-check-2 { 0%, 30% { opacity: 0; transform: translateY(4px); } 36%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes mini-check-3 { 0%, 50% { opacity: 0; transform: translateY(4px) scale(.96); } 58%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.mini-file { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
             font-size: .8125rem; color: var(--muted); }
.mini-file strong { display: block; color: var(--ink); font-weight: 600; }
.mini-clip { width: 34px; aspect-ratio: 9 / 16; border-radius: 6px; background: #111; object-fit: cover; }
/* The upload filling, holding, fading, again; the chips taking turns (script.js); the clip playing. */
.mini-bar { display: block; width: 120px; height: 4px; overflow: hidden; border-radius: 2px; background: color-mix(in srgb, var(--ink) 10%, transparent); }
.mini-bar b { display: block; height: 100%; border-radius: inherit; background: var(--brand); transform: scaleX(0); transform-origin: left;
              animation: mini-upload 3.4s var(--ease-out) infinite; }
@keyframes mini-upload { 0% { transform: scaleX(0); opacity: 1; } 55%, 85% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

/* Real details: crops from the clips. */
.details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .details { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .details { grid-template-columns: minmax(0, 1fr); } }
.details figure { display: grid; align-content: start; gap: 14px; margin: 0; padding: 8px 8px 18px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); box-shadow: var(--lift); }
.details figcaption { padding: 0 8px; }
.details img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.details figcaption { display: grid; gap: 4px; color: var(--muted); font-size: .9375rem; }
.details figcaption strong { color: var(--ink); font-weight: 600; }

/* Who it's for. */
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .who { grid-template-columns: minmax(0, 1fr); } }
.who article { display: grid; align-content: start; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); box-shadow: var(--lift); }
.who h3 { margin-top: 6px; }
.who p { color: var(--muted); }

/* The old way against handtap: two columns, the old one muted with crosses, handtap with ticks. */
.versus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .versus { grid-template-columns: minmax(0, 1fr); } }
.versus-col { padding: 28px; border-radius: 22px; }
.versus-col.old { border: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 55%, transparent); color: var(--muted); }
.versus-col.new { border: 1px solid var(--ink); background: var(--panel); box-shadow: var(--lift), 0 0 0 1px var(--ink), 0 24px 50px -30px rgba(0, 0, 0, .35); }
.versus-col h3 { margin-bottom: 16px; color: var(--ink); }
.versus-col ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.versus-col li { display: flex; gap: 10px; }
.versus-col.old li::before { content: "\2715"; color: color-mix(in srgb, var(--muted) 80%, transparent); }
.versus-col.new li::before { content: "\2713"; color: var(--brand); font-weight: 700; }

/* Rising in as they're reached (script.js marks them .reveal, then .shown), a little after the one before. The old-way
   list ticks in line by line. Small lifts on hover where there's a mouse. */
.motion .reveal:not(.shown) { opacity: 0; transform: translateY(18px); }
.reveal { transition: opacity 600ms ease, transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.motion .versus-col:not(.shown) li { opacity: 0; transform: translateX(-8px); }
.versus-col li { transition: opacity 400ms ease, transform 520ms var(--ease-out); transition-delay: calc(var(--j, 0) * 80ms + 250ms); }
@media (hover: hover) and (pointer: fine) {
  .step, .plan, .who article { transition: transform 260ms var(--ease-out), box-shadow 260ms ease; }
  .step:hover, .plan:hover, .who article:hover { transform: translateY(-3px); box-shadow: var(--lift), 0 26px 44px -30px rgba(0, 0, 0, .38); }
  .mode-media > video:first-child { transition: transform 700ms var(--ease-out); }
  .mode:hover .mode-media > video:first-child { transform: scale(1.035); }
}
@media (prefers-reduced-motion: reduce) { .mini-bar b { animation: none; transform: none; } .mini-rec i, .mini-checks li { animation: none; } .mini-rec i { opacity: 0; } }

/* Pricing. */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 440px); justify-content: center; } .plan.popular { order: -1; } }
.plan { display: grid; gap: 14px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); box-shadow: var(--lift); }
.plan.popular { border-color: var(--ink); box-shadow: var(--lift), 0 0 0 1px var(--ink), 0 24px 50px -30px rgba(0, 0, 0, .4); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.badge { padding: 3px 10px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 600; }
.price { color: var(--muted); }
.price span { color: var(--ink); font-size: 2.5rem; font-weight: 650; letter-spacing: -0.03em; }
.plan-videos { padding: 10px 14px; border-radius: 12px; background: var(--soft); font-size: .9375rem; }
.plan ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: .9375rem; }
.plan li::before { content: "✓"; margin-right: 9px; color: var(--muted); }
.plan .button { margin-top: 6px; }
#pricing .fine { margin-top: 22px; }

/* The API: a dark band in both themes, with a code sample. */
.api { background: none; }
.api-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 48px;
           padding: clamp(28px, 4.5vw, 60px); border: 1px solid rgba(255, 255, 255, .08); border-radius: 28px; color: #f2f2f2;
           background: radial-gradient(60% 90% at 90% 115%, rgba(255, 90, 31, .22), transparent 62%), #0c0c0c; }
@media (max-width: 900px) { .api-row { grid-template-columns: minmax(0, 1fr); } }
.api-words { display: grid; gap: 16px; }
.api .eyebrow { display: flex; align-items: center; gap: 10px; color: #9d9d9d; }
.api-words p:not(.eyebrow) { color: #b3b3b3; font-size: 1.0625rem; }
.soon { padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 22%, transparent); color: #ff8a5c; font-size: .75rem; font-weight: 600; }
.code { margin: 0; padding: 22px 24px; overflow-x: auto; border: 1px solid #262626; border-radius: 18px; background: #151515; color: #e8e8e8;
        font-family: var(--mono); font-size: .8125rem; line-height: 1.7; }
.c-mute { color: #8a8a8a; } .c-str { color: #ffb38f; }

/* Questions: rows with a chevron, as on the Plans page. */
.faq-title { margin-bottom: 18px; }
details { border-bottom: 1px solid var(--line); }
.faq-list { padding: 4px 26px; }
.faq-list details:last-child { border-bottom: 0; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; font-size: 1.0625rem; font-weight: 500;
          list-style: none; }
summary::-webkit-details-marker { display: none; }
summary .icon { color: var(--muted); transition: transform 200ms var(--ease-out); }
details[open] summary .icon { transform: rotate(180deg); }
details p { margin: -6px 0 20px; max-width: 640px; color: var(--muted); }

/* The last call, and the footer. */
.final { padding: 24px 0 96px; text-align: center; }
.final .wrap { padding: clamp(56px, 8vw, 104px) clamp(20px, 4vw, 48px); border: 1px solid rgba(255, 255, 255, .08); border-radius: 32px; color: #f2f2f2;
               background: radial-gradient(70% 100% at 50% 130%, rgba(255, 90, 31, .42), transparent 64%), #0c0c0c; }
.final h2 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.5rem); letter-spacing: -0.035em; }
.final p { margin: 14px 0 30px; color: #b3b3b3; font-size: 1.125rem; }
.footer { padding: 34px 0 44px; border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.footer .brand { font-size: 1.125rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9375rem; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-end { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.copy { color: var(--muted); font-size: .875rem; white-space: nowrap; }
/* The colours: Auto (the computer's), Light or Dark, a white pill sliding to the choice, as in the app. */
.theme-switch { position: relative; display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft);
                isolation: isolate; }
.theme-switch label { position: relative; }
.theme-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.theme-switch span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; color: var(--muted); font-size: .8125rem;
                     font-weight: 500; pointer-events: none; transition: color 160ms ease; }
.theme-switch span .icon { width: 14px; height: 14px; }
.theme-switch input:checked + span { color: var(--ink); }
.theme-switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }
.theme-pill { position: absolute; top: 3px; bottom: 3px; left: 0; z-index: -1; border-radius: 999px; background: var(--panel);
              box-shadow: 0 0 0 1px var(--line), 0 1px 3px rgba(0, 0, 0, .1); transition: transform 260ms var(--ease-out), width 260ms var(--ease-out); }
/* While the colours change they ease over instead of flashing. */
.theme-switching, .theme-switching * { transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease !important; }
@media (max-width: 600px) { .footer-end { flex-wrap: wrap; gap: 14px; width: 100%; margin-left: 0; } }  /* the copyright under the switch */

@media (prefers-reduced-motion: reduce) {
  .hero *, .demo { animation: none !important; }
  .button, .tap-dot, summary .icon, .nav, .theme-pill, .theme-switch span { transition: none; }
  .button:active { transform: none; }
}
