/* ============================================================================
   scrollcraft.css: the taste floor
   ----------------------------------------------------------------------------
   Two layers, and the split matters:

     TOKENS   what you override per brand. Colour roles, the type ramp, the
              spacing scale, elevation, motion. A brand is ~12 values.
     DEVICES  what the engine drives. Do not restyle these to taste; they are
              the mechanism. Style your own markup instead.

   Nothing here draws a "component". There are no card, badge, or pill classes,
   because a stylesheet that ships those is how every page built on it ends up
   with the same shapes. You get a floor and a vocabulary; the composition is
   yours.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens -- */
:root {
  /* --- colour roles. Override these six and the page is rebranded. -------- */
  --sc-canvas:      #08090b;   /* the page ground. Drift interpolates this.   */
  --sc-surface:     #101217;   /* anything raised off the ground             */
  --sc-ink:         #f4f2ef;   /* primary text                               */
  --sc-ink-soft:    #9a9ba1;   /* secondary text. Tinted, never flat gray.   */
  --sc-accent:      #d8ff3e;   /* ONE accent. It owns a region, not confetti. */
  --sc-accent-ink:  #08090b;   /* text that sits on the accent               */

  --sc-hairline:    color-mix(in oklab, var(--sc-ink) 12%, transparent);
  --sc-hairline-strong: color-mix(in oklab, var(--sc-ink) 22%, transparent);

  /* --- type. Two families max. Display carries voice, text carries prose. - */
  --sc-font-display: "Instrument Sans", "Geist", system-ui, sans-serif;
  --sc-font-text:    "Geist", system-ui, sans-serif;
  --sc-font-mono:    "Geist Mono", ui-monospace, monospace;

  /* Fluid ramp. Tracking tightens as size grows because a face set at 6rem
     with 0 tracking reads loose; this is optical correction, not decoration. */
  --sc-t-xs:   clamp(0.75rem, 0.72rem + 0.15vw, 0.82rem);
  --sc-t-sm:   clamp(0.875rem, 0.84rem + 0.18vw, 0.95rem);
  --sc-t-base: clamp(1rem, 0.96rem + 0.22vw, 1.125rem);
  --sc-t-lg:   clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --sc-t-xl:   clamp(1.6rem, 1.35rem + 1.2vw, 2.25rem);
  --sc-t-2xl:  clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem);
  --sc-t-3xl:  clamp(2.8rem, 1.9rem + 4.2vw, 5rem);
  --sc-t-4xl:  clamp(3.4rem, 1.9rem + 6.6vw, 7.5rem);

  --sc-track-tight:  -0.035em;
  --sc-track-snug:   -0.02em;
  --sc-track-normal: -0.005em;
  --sc-track-wide:    0.08em;

  --sc-leading-none: 0.94;
  --sc-leading-tight: 1.06;
  --sc-leading-body: 1.62;

  --sc-measure: 62ch;

  /* --- space. 4px base: the useful middle steps an 8-only scale misses. --- */
  --sc-1: 0.25rem;  --sc-2: 0.5rem;   --sc-3: 0.75rem;  --sc-4: 1rem;
  --sc-5: 1.5rem;   --sc-6: 2rem;     --sc-7: 3rem;     --sc-8: 4rem;
  --sc-9: 6rem;     --sc-10: 8rem;    --sc-11: 12rem;

  /* Section rhythm is fluid so a phone doesn't inherit desktop air. */
  --sc-section: clamp(4.5rem, 9vw, 11rem);
  --sc-gutter:  clamp(1.25rem, 5vw, 5.5rem);
  --sc-maxw:    82rem;

  /* --- radius. Pick one scale for the page and hold it. ------------------- */
  --sc-r-sm: 6px;  --sc-r-md: 12px;  --sc-r-lg: 20px;  --sc-r-pill: 999px;

  /* --- elevation. Every shadow has an offset AND a soft blur, and is tinted
         to the canvas hue. A zero-offset coloured halo is decoration, not
         depth, so there isn't one here. ---------------------------------- */
  --sc-shadow-color: 220 40% 2%;
  --sc-e1: 0 1px 2px hsl(var(--sc-shadow-color) / 0.28),
           0 2px 6px -1px hsl(var(--sc-shadow-color) / 0.20);
  --sc-e2: 0 2px 4px hsl(var(--sc-shadow-color) / 0.24),
           0 8px 18px -4px hsl(var(--sc-shadow-color) / 0.30);
  --sc-e3: 0 4px 8px hsl(var(--sc-shadow-color) / 0.22),
           0 18px 40px -8px hsl(var(--sc-shadow-color) / 0.38),
           0 48px 90px -24px hsl(var(--sc-shadow-color) / 0.30);

  /* Edge light: a 1px top highlight sells a raised surface better than any
     amount of blur, because real raised things catch light on their lip. */
  --sc-edge: inset 0 1px 0 color-mix(in oklab, var(--sc-ink) 10%, transparent);

  /* --- motion. Built-in CSS easings are too weak for UI. ------------------ */
  --sc-ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --sc-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --sc-ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --sc-d-fast: 160ms;  --sc-d-base: 240ms;  --sc-d-slow: 420ms;

  --sc-z-stage: 1; --sc-z-copy: 20; --sc-z-chrome: 60;
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--sc-canvas);
  color: var(--sc-ink);
  font-family: var(--sc-font-text);
  font-size: var(--sc-t-base);
  line-height: var(--sc-leading-body);
  letter-spacing: var(--sc-track-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis-weight: none;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ------------------------------------------------- the browser surfaces --
   The parts you did not draw still carry the design. Selection, caret, focus
   ring, scrollbar and tabular numerals all ship with defaults that belong to no
   design system. Theming them is the cheapest signal that a page was built
   rather than assembled, and it is the step that gets skipped most reliably. */
::selection { background: var(--sc-accent); color: var(--sc-accent-ink); }
:root { caret-color: var(--sc-accent); accent-color: var(--sc-accent); }
:focus-visible {
  outline: 2px solid var(--sc-accent);
  outline-offset: 3px;
  border-radius: var(--sc-r-sm);
}
:where(a) { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
@supports (scrollbar-color: auto) {
  html { scrollbar-color: color-mix(in oklab, var(--sc-ink) 26%, transparent) transparent; scrollbar-width: thin; }
}
:where(table, .sc-nums, [data-sc-count]) { font-variant-numeric: tabular-nums; }

/* ----------------------------------------------------------- typography -- */
.sc-display {
  font-family: var(--sc-font-display);
  font-weight: 500;
  line-height: var(--sc-leading-none);
  letter-spacing: var(--sc-track-tight);
  text-wrap: balance;
  margin: 0;
}
.sc-display--xl { font-size: var(--sc-t-4xl); }
.sc-display--lg { font-size: var(--sc-t-3xl); }
.sc-display--md { font-size: var(--sc-t-2xl); letter-spacing: var(--sc-track-snug); }
.sc-lede {
  font-size: var(--sc-t-lg);
  line-height: 1.44;
  letter-spacing: var(--sc-track-snug);
  color: var(--sc-ink);
  max-width: 46ch;
  text-wrap: pretty;
  margin: 0;
}
.sc-body { max-width: var(--sc-measure); color: var(--sc-ink-soft); text-wrap: pretty; margin: 0; }
.sc-label {
  font-family: var(--sc-font-mono);
  font-size: var(--sc-t-xs);
  letter-spacing: var(--sc-track-wide);
  text-transform: uppercase;
  color: var(--sc-ink-soft);
}

/* ---------------------------------------------------------------- layout -- */
.sc-wrap { width: 100%; max-width: var(--sc-maxw); margin-inline: auto; padding-inline: var(--sc-gutter); }
.sc-section { padding-block: var(--sc-section); }
/* More space above a heading than below it: the gap belongs to the boundary,
   not to the pair. */
.sc-stack > * + * { margin-top: var(--sc-4); }
.sc-stack > :is(h1,h2,h3) { margin-top: var(--sc-7); }
.sc-stack > :is(h1,h2,h3):first-child { margin-top: 0; }
.sc-rule { height: 1px; border: 0; background: var(--sc-hairline); margin: 0; }

/* =============================================================== DEVICES ==
   Driven by the engine. Restyle your own markup, not these.                */

.sc-act--pinned { position: relative; }
.sc-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: clip;
  z-index: var(--sc-z-stage);
}

/* scrub / sequence media */
.sc-stage :is(video[data-sc-scrub], canvas[data-sc-sequence], .sc-stage__poster) {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
video[data-sc-scrub] { opacity: 0; transition: opacity 380ms var(--sc-ease-out); }
.sc-has-clip video[data-sc-scrub] { opacity: 1; }
/* The poster is a live frame-holder, not a placeholder: it stays up until a
   real video frame has painted, which is what stops the blank-stage flash. */
.sc-stage__poster { z-index: 0; transition: opacity 380ms var(--sc-ease-out); }
.sc-has-clip .sc-stage__poster { opacity: 0; }

/* A scrim only where text sits. A full-frame darkening layer flattens the
   image everywhere to fix contrast in one corner. */
.sc-scrim {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(
    var(--sc-scrim-angle, 180deg),
    color-mix(in oklab, var(--sc-canvas) var(--sc-scrim-a, 78%), transparent) 0%,
    color-mix(in oklab, var(--sc-canvas) 30%, transparent) 42%,
    transparent 68%);
}
/* Point the scrim at the copy. A scrim gradient that darkens the top while the
   copy sits at the bottom fixes contrast nowhere and flattens the image
   everywhere, which is the most common way text-over-video goes wrong. */
.sc-scrim--bottom { --sc-scrim-angle: 0deg; }
.sc-scrim--left   { --sc-scrim-angle: 90deg; }
.sc-scrim--right  { --sc-scrim-angle: 270deg; }

/* Corner scrims, for copy anchored to a corner. An edge gradient has to darken
   a whole band across the frame to cover one corner; a corner gradient puts the
   density where the text is and leaves the rest of the image alone. Pair with
   .sc-copy--lead / .sc-copy--trail. */
.sc-scrim--lead {
  background: linear-gradient(to top right,
    color-mix(in oklab, var(--sc-canvas) 94%, transparent) 0%,
    color-mix(in oklab, var(--sc-canvas) 72%, transparent) 30%,
    color-mix(in oklab, var(--sc-canvas) 30%, transparent) 52%,
    transparent 72%);
}
.sc-scrim--trail {
  background: linear-gradient(to top left,
    color-mix(in oklab, var(--sc-canvas) 94%, transparent) 0%,
    color-mix(in oklab, var(--sc-canvas) 72%, transparent) 30%,
    color-mix(in oklab, var(--sc-canvas) 30%, transparent) 52%,
    transparent 72%);
}
/* A band across the bottom, for copy that spans the full width of the frame.
   That is what both corner anchors become below 860px, and it is also the right
   shape whenever the copy block is wider than a corner. */
.sc-scrim--band {
  background: linear-gradient(to top,
    color-mix(in oklab, var(--sc-canvas) 94%, transparent) 0%,
    color-mix(in oklab, var(--sc-canvas) 74%, transparent) 22%,
    color-mix(in oklab, var(--sc-canvas) 30%, transparent) 42%,
    transparent 58%);
}
.sc-scrim--vignette {
  background: radial-gradient(120% 90% at 50% 45%, transparent 40%,
              color-mix(in oklab, var(--sc-canvas) 70%, transparent) 100%);
}

/* copy over a stage.
   max-width is in rem, never ch. A `ch` on this container resolves against the
   CONTAINER's font-size (body size), not the display size of the heading inside
   it, so `max-width: 20ch` here silently produces a ~180px column and wraps a
   hero headline to six lines. Set a ch measure on the text element itself. */
.sc-copy {
  position: absolute; z-index: var(--sc-z-copy);
  inset-inline: var(--sc-gutter);
  max-width: min(46rem, 76vw);
  will-change: opacity, transform;
}
.sc-copy--lead   { left: var(--sc-gutter); bottom: clamp(3rem, 12vh, 9rem); }
/* inset-inline FIRST. It is the shorthand for left+right, so declaring it after
   `left: 50%` resets left to auto and the block drifts off the left edge. */
.sc-copy--center { inset-inline: auto; left: 50%; top: 50%; translate: -50% -50%; text-align: center; }
.sc-copy--trail  { inset-inline: auto; right: var(--sc-gutter); bottom: clamp(3rem, 12vh, 9rem); text-align: right; }

/* cue defaults: the engine writes opacity/transform inline, these are the
   pre-paint state so nothing flashes before the first read() */
[data-sc-cue] { opacity: 0; will-change: opacity, transform; }
.sc-ready [data-sc-cue] { transition: none; }

/* kinetic split */
.sc-split { display: inline-block; overflow: hidden; vertical-align: top; }
/* Descenders live below the baseline; a line mask clipped to the line box eats
   the tails off g, y, p, j. The padding buys them room back. */
.sc-split--line { display: block; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.sc-split__i { display: inline-block; will-change: transform, opacity; }
.sc-is-split { opacity: 1 !important; }

/* horizontal rail */
[data-sc-pan] { display: flex; will-change: transform; }

/* reveal + parallax */
[data-sc-reveal] { will-change: clip-path; }
[data-sc-parallax] { will-change: transform; }

/* flow reveal (fires once) */
[data-sc-in], [data-sc-stagger] > * {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 620ms var(--sc-ease-out), transform 620ms var(--sc-ease-out);
}
[data-sc-in].sc-in, [data-sc-stagger] > .sc-in { opacity: 1; transform: none; }

/* pointer devices */
[data-sc-tilt] { transform-style: preserve-3d; will-change: transform; }
[data-sc-magnet] { will-change: transform; }
/* isolation always; position only if nothing more specific already set it.
   Written with :where() (zero specificity) on purpose: a plain `position:
   relative` here has the same weight as `.sc-stage` and, being later in the
   file, silently wins. A stage carrying both attributes then stops being
   sticky and the whole act scrolls away instead of pinning. */
[data-sc-spotlight] { isolation: isolate; }
:where([data-sc-spotlight]) { position: relative; }
[data-sc-spotlight]::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(
    28rem 28rem at calc(var(--sc-mx, 0.5) * 100%) calc(var(--sc-my, 0.5) * 100%),
    color-mix(in oklab, var(--sc-accent) 16%, transparent), transparent 70%);
  opacity: 0; transition: opacity var(--sc-d-slow) var(--sc-ease-out);
}
[data-sc-spotlight]:hover::after { opacity: 1; }

/* =========================================================== WORLDFLIGHT ==
   One fixed stage for the whole page. The only thing in document flow is the
   spacer, and it is empty. If you find yourself adding a section here, you want
   act mode instead: the moment a real block scrolls past the fixed stage, the
   page has a seam again and the whole point is gone.                        */

[data-sc-mode="worldflight"] { position: relative; }

.sc-world {
  position: fixed; inset: 0;
  overflow: clip;
  z-index: var(--sc-z-stage);
  background: var(--sc-canvas);
}

/* Every leg is mounted for the life of the page and stacked in the same box.
   The engine owns opacity, visibility and z-index here; do not set them. */
.sc-world__seg {
  position: absolute; inset: 0;
  opacity: 0;
  will-change: opacity;
}
.sc-world__seg > :is(video, img, canvas) {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* The poster is the frame-holder AND the first camera move: the engine pushes
   it in slowly until a real decoded frame is available to replace it. */
.sc-world__poster {
  z-index: 0;
  transform-origin: 50% 50%;
  transition: opacity 420ms var(--sc-ease-out);
}
.sc-world__seg > video { z-index: 1; }
.sc-world__seg.sc-has-clip .sc-world__poster { opacity: 0; }
/* The act stylesheet lights a clip through its ancestor act. A worldflight leg
   has no act, so match the class the engine also writes on the clip itself. */
video[data-sc-scrub].sc-has-clip { opacity: 1; }

/* The copy layer is fixed too, and inert by default: the engine hands
   pointer-events back to a block only while it is actually legible. */
.sc-world__copy {
  position: fixed; inset: 0;
  z-index: var(--sc-z-copy);
  pointer-events: none;
}
.sc-world__scrim { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
[data-sc-copy] {
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}
.sc-ready [data-sc-copy] { transition: none; }

/* The track. Empty on purpose. */
.sc-world__spacer { pointer-events: none; }

/* scroll progress */
[data-sc-progress] {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: var(--sc-z-chrome);
  background: var(--sc-accent); transform-origin: 0 50%; transform: scaleX(0);
  will-change: transform;
}

/* ----------------------------------------------------------- atmosphere --
   Depth is not only shadow. Grain keeps a flat dark ground from banding, and
   it is the difference between "a dark page" and "a lit room". */
.sc-grain { position: fixed; inset: 0; pointer-events: none; z-index: 3; opacity: 0.045; }
.sc-grain::before {
  content: ""; position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
}

/* -------------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  /* Fewer and gentler, not zero. Opacity still carries the reveal so the page
     is comprehensible; every position change is dropped. */
  [data-sc-in], [data-sc-stagger] > * { transform: none; transition-duration: 220ms; }
  [data-sc-parallax], [data-sc-pan], .sc-split__i { transform: none !important; }
  /* A wipe is a position change too. Show reveal content settled. */
  [data-sc-reveal] { clip-path: none !important; }
  /* A rail's transform IS its navigation, not decoration. Zeroing it the way
     parallax and kinetic type are zeroed parks the act on its first screenful
     and makes everything past the fold unreachable: a device degrading into
     missing content. Hand the travel back to the reader as an ordinary scroll
     region instead, so the same items are all still gettable without motion.
     A build that would rather re-lay the rail out as a grid can still do that;
     this is the floor, not the ceiling. */
  [data-sc-act="pan"] .sc-stage,
  [data-sc-act="pan"] [data-sc-stage] {
    overflow-x: auto; overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
  }
  [data-sc-pan] > * { scroll-snap-align: center; }
  [data-sc-spotlight]::after { display: none; }
  /* A worldflight keeps its whole story here. No clip is ever fetched, so the
     posters are the film, and they cross-dissolve through exactly the same
     seams at exactly the same scroll positions. The push-in and the copy drift
     are the only things that go. */
  .sc-world__poster, [data-sc-copy] { transform: none !important; }
}

/* --------------------------------------------------------------- mobile -- */
@media (max-width: 860px) {
  .sc-copy { inset-inline: var(--sc-gutter); max-width: none; }
  .sc-copy--trail { text-align: left; }
  .sc-stage { height: 100svh; }
  /* .sc-copy--trail re-anchors to the left and spans the full width here, so a
     bottom-RIGHT corner gradient darkens the one corner the copy just left and
     guarantees a contrast failure over any bright clip. Point the density at
     the copy: the same band .sc-scrim--band paints. */
  .sc-scrim--trail {
    background: linear-gradient(to top,
      color-mix(in oklab, var(--sc-canvas) 94%, transparent) 0%,
      color-mix(in oklab, var(--sc-canvas) 74%, transparent) 22%,
      color-mix(in oklab, var(--sc-canvas) 30%, transparent) 42%,
      transparent 58%);
  }
}


/* ======================================================================
   THREADLIST: page styles. Everything above this line is the unmodified
   scrollcraft engine stylesheet.
   ====================================================================== */

@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
}


:root {
  --sc-canvas:     #FDF6EF;   /* cream */
  --sc-surface:    #FFFFFF;
  --sc-ink:        #26262A;
  --sc-ink-soft:   #66666E;   /* the brief's muted, one step darker so it clears 4.5:1 on cloud too */
  --sc-accent:     #E8924F;
  --sc-accent-ink: #26262A;
  --sc-font-display: "Hanken Grotesk", system-ui, sans-serif;
  --sc-font-text:    "Hanken Grotesk", system-ui, sans-serif;
  --sc-shadow-color: 24 30% 30%;

  --cream: #FDF6EF;
  --cloud: #F6F6F8;
  --line:  #E3E3E6;
  --night: #1E1D22;
  --red:   #DA3C34;
  --bar-h: 4.25rem;
  --radius: 16px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 0.5rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--sc-ink);
  font-family: var(--sc-font-text);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: color-mix(in oklab, var(--sc-accent) 38%, white); color: var(--sc-ink); }
:focus-visible { outline: 2px solid var(--sc-ink); outline-offset: 3px; border-radius: 6px; }
a { color: inherit; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.92em; background: color-mix(in oklab, var(--sc-ink) 6%, transparent); padding: 0.08em 0.36em; border-radius: 6px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--sc-ink); color: var(--cream); padding: 0.6rem 1rem; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: clamp(1rem, 4.5vw, 4rem); }

/* --------------------------------------------------------------- type -- */
.eyebrow {
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--sc-ink-soft);
}
.h2 {
  font-family: var(--sc-font-display); font-weight: 800;
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem);
  line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance;
}
.lede { font-size: clamp(1.06rem, 1rem + 0.3vw, 1.2rem); line-height: 1.55; color: var(--sc-ink); max-width: 46ch; text-wrap: pretty; }
.note { font-size: 0.97rem; color: var(--sc-ink-soft); max-width: 50ch; text-wrap: pretty; }
.cap { font-size: 0.875rem; font-weight: 600; color: var(--sc-ink-soft); text-align: center; margin-bottom: 0.75rem; }
.ico { width: 26px; height: 26px; fill: none; stroke: var(--sc-accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------ buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 3rem; padding: 0 1.4rem; border-radius: 999px;
  font: 700 1rem/1 var(--sc-font-text); letter-spacing: -0.01em; white-space: nowrap;
  text-decoration: none; border: 1.5px solid transparent;
  transition: transform 140ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--sc-accent); color: var(--sc-accent-ink); box-shadow: 0 1px 0 rgb(255 255 255 / 0.35) inset, 0 6px 16px -8px hsl(24 70% 40% / 0.55); }
.btn--ghost { color: var(--sc-ink); border-color: color-mix(in oklab, var(--sc-ink) 22%, transparent); background: transparent; }
.btn--sm { min-height: 2.5rem; padding: 0 1.1rem; font-size: 0.9375rem; }
.btn--lg { min-height: 3.5rem; padding: 0 1.9rem; font-size: 1.0625rem; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: #EC9D5E; box-shadow: 0 1px 0 rgb(255 255 255 / 0.35) inset, 0 10px 22px -10px hsl(24 70% 40% / 0.6); }
  .btn--ghost:hover { border-color: var(--sc-ink); }
}
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.25em; text-decoration-color: var(--sc-accent); }
.link:hover { text-decoration-color: currentColor; }

/* ----------------------------------------------------------- wordmark -- */
.wordmark { font: 800 1.5rem/1 var(--sc-font-display); letter-spacing: -0.02em; color: var(--sc-ink); text-decoration: none; white-space: nowrap; }
.wordmark--sm { font-size: 1.35rem; }
.wordmark__i { position: relative; display: inline-block; }
.wordmark__i svg { position: absolute; left: 50%; top: -0.02em; width: 0.34em; height: 0.34em; transform: translateX(-50%); fill: none; stroke: var(--sc-accent); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }

/* ----------------------------------------------------------------- bar -- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--bar-h);
  background: color-mix(in oklab, var(--cream) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(12px); backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--sc-ease-out), background-color 200ms var(--sc-ease-out);
}
.bar.is-scrolled { border-bottom-color: var(--line); }
.bar.on-dark { background: color-mix(in oklab, var(--cream) 94%, transparent); }
.bar__in { height: 100%; max-width: 76rem; margin-inline: auto; padding-inline: clamp(1rem, 4.5vw, 4rem); display: flex; align-items: center; gap: 1.5rem; }
.bar__nav { display: flex; gap: 0.25rem; margin-left: auto; }
.bar__nav a { padding: 0.55rem 0.8rem; border-radius: 999px; font-weight: 600; font-size: 0.97rem; text-decoration: none; color: var(--sc-ink); transition: background-color 150ms var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) { .bar__nav a:hover { background: color-mix(in oklab, var(--sc-ink) 6%, transparent); } }
.bar__menu { display: none; }

@media (max-width: 860px) {
  .bar__in { gap: 0.6rem; }
  .bar__cta { margin-left: auto; }
  .bar__menu {
    display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 999px;
    border: 1.5px solid color-mix(in oklab, var(--sc-ink) 18%, transparent); background: transparent; color: var(--sc-ink); cursor: pointer;
  }
  .bar__menu svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .bar__menu path { transform-box: fill-box; transform-origin: center; transition: transform 200ms var(--sc-ease-out); }
  .bar__menu[aria-expanded="true"] .l1 { transform: translateY(4px) rotate(45deg); }
  .bar__menu[aria-expanded="true"] .l2 { transform: translateY(-4px) rotate(-45deg); }
  .bar__nav {
    position: absolute; top: var(--bar-h); left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 0.5rem clamp(1rem, 4.5vw, 4rem) 1rem;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -24px rgb(60 40 20 / 0.35);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity 180ms var(--sc-ease-out), transform 180ms var(--sc-ease-out), visibility 0s linear 180ms;
  }
  .bar__nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .bar__nav a { padding: 0.9rem 0.25rem; border-radius: 0; font-size: 1.06rem; border-bottom: 1px solid var(--line); }
  .bar__nav a:last-child { border-bottom: 0; }
}
@media (max-width: 380px) { .wordmark { font-size: 1.3rem; } .bar__cta { padding: 0 0.9rem; font-size: 0.9rem; } }

/* -------------------------------------------------------- device frames -- */
.phone {
  --w: 280px;
  width: var(--w); padding: calc(var(--w) * 0.035);
  border-radius: calc(var(--w) * 0.16);
  background: #222226;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.12),
    0 2px 4px hsl(24 30% 25% / 0.12),
    0 18px 40px -12px hsl(24 30% 25% / 0.28),
    0 50px 80px -40px hsl(24 30% 25% / 0.3);
  margin-inline: auto;
}
.phone__screen {
  position: relative; overflow: hidden; aspect-ratio: 568 / 1264;
  border-radius: calc(var(--w) * 0.125); background: var(--cloud);
}
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.browser { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 4px hsl(24 30% 25% / 0.08), 0 24px 50px -24px hsl(24 30% 25% / 0.3); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #F1EFEC; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #D9D5CF; }
.browser__bar span { flex: 1; height: 18px; margin-left: 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); max-width: 60%; }
.browser__view { position: relative; aspect-ratio: 1440 / 900; background: var(--cloud); }
.browser__view img { width: 100%; height: 100%; object-fit: cover; }

/* A shot that has no file yet shows its name, in place, at the final size. */
.shot { position: relative; }
.shot.is-missing img { opacity: 0; }
.shot.is-missing :is(.phone__screen, .browser__view)::after,
.phone__screen--stack .shot.is-missing::after {
  content: attr(data-placeholder);
  position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem;
  text-align: center; white-space: pre-line; font: 600 0.8125rem/1.5 var(--sc-font-text); color: var(--sc-ink-soft);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in oklab, var(--sc-ink) 3.5%, transparent) 14px 15px),
    var(--cloud);
}
.wt--dark .shot.is-missing :is(.phone__screen, .browser__view)::after,
.wt--dark .phone__screen--stack .shot.is-missing::after { color: #5d5a60; }

/* ---------------------------------------------------------------- hero -- */
.hero { position: relative; padding-top: calc(var(--bar-h) + clamp(1.5rem, 5vh, 4rem)); padding-bottom: clamp(3rem, 8vh, 6rem); overflow: clip; }
.hero__in {
  max-width: 76rem; margin-inline: auto; padding-inline: clamp(1rem, 4.5vw, 4rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem);
  min-height: min(52rem, calc(100svh - var(--bar-h) - 4rem));
}
.hero__copy { position: relative; z-index: 5; }
.hero__copy .eyebrow { margin-bottom: 1.25rem; }
.hero__title {
  font-family: var(--sc-font-display); font-weight: 800;
  font-size: clamp(3.1rem, 1.6rem + 6vw, 6.6rem); line-height: 0.95; letter-spacing: -0.04em;
}
.hero__sub { margin-top: 1.5rem; font-size: clamp(1.15rem, 1.02rem + 0.55vw, 1.45rem); line-height: 1.45; max-width: 31ch; text-wrap: pretty; }
.hero__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__small { margin-top: 1.1rem; font-size: 0.9375rem; color: var(--sc-ink-soft); }

.scene { position: relative; height: clamp(34rem, 72svh, 44rem); }
.plane { position: absolute; }
.plane--paper {
  inset: 6% 4% 4% 10%; border-radius: 28px;
  background:
    repeating-linear-gradient(to bottom, transparent 0 39px, color-mix(in oklab, var(--sc-accent) 14%, transparent) 39px 40px),
    #FAEBDD;
  transform: rotate(-4deg);
  box-shadow: 0 30px 60px -40px hsl(24 40% 35% / 0.35);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 40%, #000 55%, transparent 100%);
          mask-image: radial-gradient(120% 100% at 50% 40%, #000 55%, transparent 100%);
}
.plane--thread { inset: 0; width: 100%; height: 100%; overflow: visible; }
.plane--thread path { fill: none; stroke: var(--sc-accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: var(--draw, 0.62); vector-effect: non-scaling-stroke; opacity: 0.85; }
/* centred by layout, not by a -50% translate, so it never lands between pixels */
.plane--phone { inset: 0; display: grid; place-items: center; pointer-events: none; }
.plane--phone .phone { pointer-events: auto; }
.phone--hero { --w: clamp(220px, 19vw, 290px); }
.frag {
  position: absolute; left: var(--x); top: var(--y); z-index: 2;
  padding: 0.55rem 0.95rem; border-radius: 999px; white-space: nowrap;
  background: #fff; color: var(--sc-ink); font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 1px 0 #fff inset, 0 2px 4px hsl(24 30% 30% / 0.08), 0 12px 24px -12px hsl(24 30% 30% / 0.3);
}
.frag b { font-weight: 700; color: #A65A1E; }
.frag--back { z-index: 0; font-size: 0.85rem; opacity: 0.75; background: #FFFDFB; }
.frag--front { z-index: 3; }
.frag--near { z-index: 4; font-size: 1.05rem; padding: 0.7rem 1.15rem; }

@media (max-width: 860px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 1rem; }
  .hero__title { font-size: clamp(3.1rem, 13vw, 4.4rem); }
  .scene { height: 30rem; margin-inline: -0.5rem; }
  .phone--hero { --w: 200px; }
  .frag { font-size: 0.82rem; padding: 0.45rem 0.8rem; }
  .frag--near { font-size: 0.9rem; }
  .frag { left: var(--xm, var(--x)); top: var(--ym, var(--y)); }
}

/* ------------------------------------------------------------- problem -- */
.problem { padding-block: clamp(5rem, 12vw, 10rem) clamp(4rem, 10vw, 8rem); }
.problem__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.problem__title { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); max-width: 14ch; }
.points { display: grid; gap: 0; }
.point { display: grid; grid-template-columns: 2.5rem 1fr; column-gap: 1rem; padding-block: 1.6rem; border-top: 1px solid var(--line); }
.point:last-child { border-bottom: 1px solid var(--line); }
.point .ico { grid-row: span 2; margin-top: 0.15rem; }
.point h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.point p { margin-top: 0.35rem; color: var(--sc-ink-soft); max-width: 44ch; }
@media (max-width: 860px) { .problem__in { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------- how it works -- */
.how { background: var(--cloud); }
.how__stage { display: grid; align-items: center; padding-top: var(--bar-h); }
.how__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.how__title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.3rem); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1.75rem; }
.step { position: relative; padding-top: 0.9rem; border-top: 2px solid var(--line); color: var(--sc-ink-soft); transition: color 240ms var(--sc-ease-out); }
.step::before { content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: calc(var(--fill, 0) * 100%); background: var(--sc-accent); }
.step__n { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; font-size: 0.8125rem; font-weight: 700; background: #E9E9EC; color: var(--sc-ink); margin-right: 0.4rem; transition: background-color 240ms var(--sc-ease-out); }
.step__t { font-weight: 700; color: var(--sc-ink); }
.step__d { display: block; margin-top: 0.35rem; font-size: 0.9375rem; line-height: 1.45; color: var(--sc-ink-soft); }
.step.is-on .step__n { background: var(--sc-accent); }
.step.is-on .step__d { color: var(--sc-ink); }

.sorter { position: relative; margin-top: clamp(1.5rem, 4vh, 2.75rem); }
.sorter__box {
  position: relative; display: grid; min-height: 7.5rem; align-items: center;
  padding: clamp(1.1rem, 2.4vw, 1.6rem) clamp(1.2rem, 2.6vw, 1.8rem); border-radius: 20px;
  background: #fff; border: 1.5px solid color-mix(in oklab, var(--sc-accent) 55%, white);
  box-shadow: inset 0 1px 0 #fff, 0 2px 4px hsl(24 30% 30% / 0.06), 0 24px 40px -28px hsl(24 30% 30% / 0.35);
}
.sorter__line, .sorter__task { grid-area: 1 / 1; }
.sorter__line { font-size: clamp(1.35rem, 1rem + 1.5vw, 2.1rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
.w { position: relative; display: inline-block; }
.w::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.12em; border-radius: 2px; background: var(--sc-accent); transform: scaleX(var(--t, 0)); transform-origin: left; opacity: 0.85; }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 3px; vertical-align: -0.12em; background: var(--sc-ink); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.sorter__task { display: flex; align-items: center; gap: 0.9rem; opacity: 0; font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem); font-weight: 600; letter-spacing: -0.01em; pointer-events: none; }
.tick { flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 2px solid #CFCFD4; background: #fff; }
.tick svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: calc(20 - var(--k, 0) * 20); }
.sorter__task.is-done .tick { background: var(--sc-accent); border-color: var(--sc-accent); }
.sorter__task-t { position: relative; }
.sorter__task-t { text-decoration: line-through 2px transparent; transition: text-decoration-color 240ms var(--sc-ease-out), color 240ms var(--sc-ease-out); }
.sorter__task.is-done .sorter__task-t { text-decoration-color: var(--sc-ink-soft); color: var(--sc-ink-soft); }
.burst { position: absolute; left: clamp(1.2rem, 2.6vw, 1.8rem); top: 50%; width: 1.9rem; height: 1.9rem; translate: 0 -50%; pointer-events: none; }
.burst i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--sc-accent); opacity: 0; }
.burst i:nth-child(2n) { background: var(--red); width: 5px; height: 5px; }
.sorter__task.is-burst .burst i { animation: burst 700ms var(--sc-ease-out) forwards; }
.burst i:nth-child(1) { --a: 0deg; } .burst i:nth-child(2) { --a: 60deg; } .burst i:nth-child(3) { --a: 120deg; }
.burst i:nth-child(4) { --a: 180deg; } .burst i:nth-child(5) { --a: 240deg; } .burst i:nth-child(6) { --a: 300deg; }
@keyframes burst { 0% { opacity: 1; transform: rotate(var(--a)) translateX(0); } 100% { opacity: 0; transform: rotate(var(--a)) translateX(30px); } }

.chips { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.1rem; min-height: 3rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.55rem; height: 3rem; padding: 0 1.15rem 0 1rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 1.125rem;
  box-shadow: 0 2px 4px hsl(24 30% 30% / 0.06), 0 10px 20px -14px hsl(24 30% 30% / 0.35);
  opacity: 0;
}
.chip__k { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sc-ink-soft); }
.chip[data-chip="thread"] { background: #FCEBDC; border-color: #F3D2B6; }
.chip[data-chip="thread"] .chip__v { color: #8A4512; }
.sorter__note { margin-top: 1rem; font-size: 0.9375rem; color: var(--sc-ink-soft); opacity: var(--note, 0); }

.how__phone { position: relative; }
.how__phone .phone { --w: clamp(220px, min(23vw, calc((100svh - var(--bar-h) - 7rem) * 0.42)), 300px); }
.phone__screen--stack .shot { position: absolute; inset: 0; opacity: 0; }
.phone__screen--stack .shot[data-s="1"] { opacity: 1; }
.phone__screen--stack .shot img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .how__stage { align-items: start; padding-top: calc(var(--bar-h) + 0.75rem); }
  .how__in { grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
  .how__title { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .steps { margin-top: 0.9rem; gap: 0.5rem; }
  .step { padding-top: 0.6rem; }
  .step__n { width: 1.35rem; height: 1.35rem; font-size: 0.75rem; margin-right: 0.25rem; }
  .step__t { font-size: 0.875rem; }
  .step__d { display: none; }
  .sorter { margin-top: 0.9rem; }
  .sorter__box { min-height: 5.5rem; }
  .sorter__line { font-size: 1.2rem; }
  .chip { height: 2.25rem; font-size: 0.9375rem; padding: 0 0.75rem 0 0.65rem; gap: 0.4rem; }
  .chips { gap: 0.4rem; margin-top: 0.7rem; min-height: 2.25rem; }
  .sorter__note { margin-top: 0.6rem; font-size: 0.875rem; }
  .how__phone .cap { display: none; }
  .how__phone .phone { --w: clamp(120px, calc((100svh - 26rem) * 0.45), 210px); }
}

/* ------------------------------------------------ feature walkthroughs --
   Each one is a pinned stage. Steps arrive 1, 2, 3 as you scroll and the
   screen follows the step. */
.wt--cream { background: var(--cream); }
.wt--cloud { background: var(--cloud); }
.wt__stage { display: grid; align-items: center; padding-top: var(--bar-h); }
.wt__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.wt--flip .wt__media { order: -1; }
.wt__copy > * + * { margin-top: 1rem; }
.wt__copy .h2 { margin-top: 0.6rem; max-width: 18ch; }
.wt__media { position: relative; }
.wt__media .phone { --w: clamp(210px, min(23vw, calc((100svh - var(--bar-h) - 7rem) * 0.43)), 290px); }

.wsteps { margin-top: 1.6rem !important; max-width: 34rem; display: grid; }
.wstep {
  position: relative; display: grid; grid-template-columns: 2.6rem 1fr; align-items: start;
  padding: 0.85rem 0; border-top: 1px solid var(--line); color: var(--sc-ink-soft);
  opacity: 0; transform: translateY(10px);
  transition: opacity 360ms var(--sc-ease-out), transform 360ms var(--sc-ease-out), color 240ms var(--sc-ease-out);
}
.wstep:last-child { border-bottom: 1px solid var(--line); }
.wstep::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: calc(var(--fill, 0) * 100%); background: var(--sc-accent); }
.wstep.is-past, .wstep.is-on { opacity: 1; transform: none; }
.wstep.is-on { color: var(--sc-ink); }
.wstep__n {
  display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%;
  font-size: 0.875rem; font-weight: 700; background: color-mix(in oklab, var(--sc-ink) 9%, transparent); color: var(--sc-ink);
  transition: background-color 240ms var(--sc-ease-out), transform 240ms var(--sc-ease-out);
}
.wstep.is-on .wstep__n { background: var(--sc-accent); color: var(--sc-accent-ink); transform: scale(1.08); }
.wstep b { font-weight: 700; color: var(--sc-ink); }
kbd { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; padding: 0 0.3em; margin: 0 0.1em; border-radius: 6px; font: 600 max(0.875rem, 0.85em)/1 var(--sc-font-text); background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 0 var(--line); color: var(--sc-ink); }

.phone__screen--stack .shot { transition: opacity 420ms var(--sc-ease-out); }
.wt .phone__screen--stack .shot { opacity: 0; }
.wt .phone__screen--stack .shot.is-show { opacity: 1; }
.wt .shot img { transform-origin: var(--fo, 50% 0%); transform: scale(var(--fs, 1)); transition: transform 800ms var(--sc-ease-out); }

@media (prefers-reduced-motion: reduce) {
  .wstep { opacity: 1; transform: none; }
  .wt .shot img { transition: none; }
}

/* Dark scene: focus. The stage stays dark; the phone screen is what brightens. */
.wt--dark { background: var(--night); color: #F4EFE8; --sc-ink: #F4EFE8; --sc-ink-soft: #B9B2AA; --line: #38363D; }
.wt--dark .lede { color: #F4EFE8; }
.wt--dark .cap { color: #B9B2AA; }
.wt--dark .wstep__n { background: #34323A; }
.wt--dark .phone { background: #0E0E10; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.1), 0 30px 60px -20px rgb(0 0 0 / 0.6); }
.wt--dark :focus-visible { outline-color: #F4EFE8; }

/* The timer, drawn live. Sized from the phone width so it scales as one object. */
.fx-media { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 2rem); align-items: center; }
.fx-media > .cap { grid-column: 1 / -1; text-align: left; margin: 0; }
.fx-media .phone { --w: clamp(190px, min(18vw, calc((100svh - var(--bar-h) - 8rem) * 0.42)), 250px); margin: 0; }
.fx { --u: calc(var(--w) / 100); background: #F6F6F8; color: #26262A; font-family: var(--sc-font-text); }
.fx > div { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: calc(var(--u) * 3.2); padding: calc(var(--u) * 8); }
.fx__bar { position: absolute; inset: 0 0 auto; height: calc(var(--u) * 13); display: flex; align-items: center; justify-content: space-between; padding: 0 calc(var(--u) * 9); font-size: calc(var(--u) * 5); font-weight: 600; z-index: 3; color: var(--bar-c, #26262A); transition: color 300ms; }
.fx__bar i { position: absolute; left: 50%; top: calc(var(--u) * 3.5); translate: -50% 0; width: calc(var(--u) * 30); height: calc(var(--u) * 8); border-radius: 999px; background: #0E0E10; }
.fx__k { font-size: calc(var(--u) * 5); font-weight: 600; color: #66666E; }
.fx__name { font-size: calc(var(--u) * 6); font-weight: 700; padding: calc(var(--u) * 2.4) calc(var(--u) * 5); border-radius: calc(var(--u) * 3); background: #fff; border: 1px solid #E3E3E6; }
.fx__time { font-size: calc(var(--u) * 22); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.fx__chips { display: flex; gap: calc(var(--u) * 2); }
.fx__chips span { font-size: calc(var(--u) * 4.6); font-weight: 600; padding: calc(var(--u) * 1.4) calc(var(--u) * 3.4); border-radius: 999px; border: 1px solid #E3E3E6; background: #fff; }
.fx__chips .is-on { border-color: var(--sc-accent); background: #FCEBDC; }
.fx__btn { font-size: calc(var(--u) * 5.2); font-weight: 700; padding: calc(var(--u) * 3.4) calc(var(--u) * 7); border-radius: calc(var(--u) * 3); background: var(--sc-accent); color: #26262A; }
.fx__run { background: #111113; color: #EFE7DC; }
.fx__run .fx__name { background: transparent; border: 0; color: #9B948C; font-weight: 600; }
.fx__run .fx__time { font-weight: 300; color: #EFE7DC; font-size: calc(var(--u) * 24); }
.fx__ring { width: calc(var(--u) * 60); height: 3px; border-radius: 3px; background: #2A2A2E; overflow: hidden; }
.fx__ring i { display: block; height: 100%; width: 100%; background: var(--sc-accent); transform-origin: left; transform: scaleX(var(--left, 1)); }
.fx__done { background: #FFFFFF; }
.fx__check { display: grid; place-items: center; width: calc(var(--u) * 22); height: calc(var(--u) * 22); border-radius: 50%; background: var(--sc-accent); }
.fx__check svg { width: 60%; height: 60%; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.fx .fx__banner {
  inset: calc(var(--u) * 15) calc(var(--u) * 4) auto; place-content: unset; display: flex; align-items: center; gap: calc(var(--u) * 3.5); text-align: left;
  padding: calc(var(--u) * 3.5); border-radius: calc(var(--u) * 6); background: rgb(255 255 255 / 0.94); box-shadow: 0 8px 24px -8px rgb(0 0 0 / 0.35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); z-index: 4;
  opacity: 0; transform: translateY(-120%);
}
.fx__banner img { width: calc(var(--u) * 11); height: calc(var(--u) * 11); border-radius: calc(var(--u) * 2.6); }
.fx__banner span { display: grid; font-size: calc(var(--u) * 4.6); line-height: 1.3; color: #26262A; }
.fx__banner b { font-weight: 700; }
#fx-phone.is-buzz { animation: buzz 420ms linear 1; }
@keyframes buzz { 0%, 100% { transform: none; } 20% { transform: translateX(-3px) rotate(-0.6deg); } 40% { transform: translateX(3px) rotate(0.6deg); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } }

.chord { padding: clamp(1rem, 2vw, 1.4rem); border-radius: var(--radius); background: #26252B; border: 1px solid #38363D; }
.chord__head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.chord__t { font-weight: 700; font-size: 1rem; }
.chord__play {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.5rem; padding: 0 0.95rem 0 0.75rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid #4B4851; background: transparent; color: #F4EFE8; font: 700 0.9375rem/1 var(--sc-font-text);
  transition: border-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.chord__play:hover { border-color: var(--sc-accent); }
.chord__play:active { transform: scale(0.97); }
.chord__play svg { width: 1.1rem; height: 1.1rem; fill: var(--sc-accent); }
.chord__play .i-stop, .chord__play[aria-pressed="true"] .i-play { display: none; }
.chord__play[aria-pressed="true"] .i-stop { display: block; }
#chord-wave { display: block; width: 100%; height: auto; aspect-ratio: 640 / 220; margin-top: 1rem; }
.chord__notes { margin-top: 0.8rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; font-size: 0.875rem; color: #B9B2AA; }
.chord__notes span { display: inline-grid; place-items: center; min-width: 1.9rem; height: 1.9rem; padding: 0 0.35rem; border-radius: 8px; background: #34323A; color: #F4EFE8; font-weight: 700; }
.chord__notes em { font-style: normal; flex-basis: 100%; margin-top: 0.2rem; }

/* Chrome: a browser with the real side panel captures. */
.cx__in { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }
.cx .wt__copy .h2 { max-width: 20ch; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.7rem); }
.wsteps--five .wstep { padding: 0.7rem 0; }
.cx__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.4rem; margin-top: 1.5rem !important; }
.bw { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 4px hsl(24 30% 25% / 0.08), 0 30px 60px -28px hsl(24 30% 25% / 0.35); }
.bw__bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; background: #F1EFEC; border-bottom: 1px solid var(--line); }
.bw__bar i { width: 10px; height: 10px; border-radius: 50%; background: #D9D5CF; }
.bw__bar span { flex: 1; margin-left: 10px; max-width: 70%; height: 22px; display: flex; align-items: center; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 0.75rem; color: #66666E; white-space: nowrap; overflow: hidden; }
.bw__view { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 40%; aspect-ratio: 16 / 10.4; max-height: calc(100svh - var(--bar-h) - 6rem); }
.pg { position: relative; padding: 7% 8%; background: #FBF8F4; font-size: clamp(0.7rem, 0.55rem + 0.4vw, 0.9rem); line-height: 1.55; color: #3A3A40; overflow: visible; z-index: 2; }
.pg > * + * { margin-top: 0.8em; }
.pg__k { font-size: 0.78em; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #66666E; }
.pg__h { font-size: 1.7em; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: #26262A; margin-top: 0.35em !important; }
.pg__s { color: #66666E; }
.pg__box { margin-top: 1.2em !important; padding: 1em 1.1em; border-radius: 10px; background: #F1ECE4; }
.pg__box > * + * { margin-top: 0.5em; }
.pg__bt { font-weight: 700; color: #26262A; }
.pg__hl { background: linear-gradient(#BFD9FF, #BFD9FF) no-repeat 0 0 / calc(var(--hl, 0) * 100%) 100%; border-radius: 3px; padding: 0.05em 0; }
.ctx {
  position: absolute; left: 12%; top: 74%; width: max-content; max-width: 86%; display: grid; padding: 0.35em; border-radius: 8px;
  background: #fff; border: 1px solid #DDDAD5; box-shadow: 0 10px 30px -10px rgb(0 0 0 / 0.3); font-size: 0.92em; color: #26262A;
  opacity: 0; transform: scale(0.96); transform-origin: top left; pointer-events: none;
}
.ctx span { padding: 0.35em 0.8em; border-radius: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctx .is-hi { background: var(--sc-accent); color: #26262A; font-weight: 600; }
.pn { position: relative; border-left: 1px solid var(--line); background: #fff; overflow: hidden; }
.pn__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity 380ms var(--sc-ease-out); }
.pn__img.is-show { opacity: 1; }
.qa {
  position: absolute; left: 50%; top: 22%; width: min(78%, 22rem); translate: -50% 0; display: grid; gap: 0.6rem; padding: 0.9rem; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -16px rgb(40 30 20 / 0.45); z-index: 3;
  opacity: 0; transform: translateY(8px) scale(0.98); pointer-events: none;
}
.qa__keys { display: flex; gap: 0.2rem; font-size: 0.9rem; }
.qa__in { display: flex; align-items: center; min-height: 2.4rem; padding: 0 0.8rem; border-radius: 8px; border: 1.5px solid color-mix(in oklab, var(--sc-accent) 60%, white); font-weight: 600; font-size: 0.95rem; color: #26262A; }
.qa__in i { width: 2px; height: 1.1em; margin-left: 2px; background: #26262A; animation: blink 1.1s steps(1) infinite; }
.toast {
  position: absolute; right: 3%; top: 4%; width: min(60%, 19rem); display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0.85rem; border-radius: 12px; z-index: 4;
  background: rgb(255 255 255 / 0.97); border: 1px solid #E6E3DE; box-shadow: 0 14px 34px -12px rgb(40 30 20 / 0.4);
  opacity: 0; transform: translateX(16px); pointer-events: none;
}
.toast img { width: 2rem; height: 2rem; border-radius: 8px; flex: none; }
.toast > span { display: grid; font-size: 0.85rem; line-height: 1.35; color: #3A3A40; min-width: 0; }
.toast b { font-weight: 700; color: #26262A; }
.cx__note { margin-top: 0.8rem; font-size: 0.875rem; color: var(--sc-ink-soft); }

@media (max-width: 860px) {
  .wt__stage { align-items: start; padding-top: calc(var(--bar-h) + 0.9rem); }
  .wt__in, .cx__in { grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
  .wt--flip .wt__media { order: 0; }
  .wt__copy > * + * { margin-top: 0.55rem; }
  .wt__copy .h2 { font-size: clamp(1.45rem, 6.4vw, 1.9rem); margin-top: 0.3rem; }
  .wt__copy .lede { font-size: 0.97rem; }
  .wt .note, .wt__media > .cap, .cx__note, .cx .lede { display: none; }
  .wsteps { margin-top: 0.8rem !important; }
  .wstep { grid-template-columns: 2.1rem 1fr; padding: 0.45rem 0; font-size: 0.94rem; line-height: 1.45; }
  .wstep__n { width: 1.6rem; height: 1.6rem; font-size: 0.875rem; }
  .wstep:not(.is-on) > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .wsteps--five .wstep { padding: 0.35rem 0; }
  .wt__media .phone { --w: clamp(110px, calc((100svh - 31rem) * 0.44), 200px); }
  .fx-media .phone { --w: clamp(110px, calc((100svh - 32rem) * 0.44), 170px); }
  .fx-media { gap: 0.8rem; }
  .chord { padding: 0.8rem; }
  .chord__t { font-size: 0.9rem; }
  .chord__play { min-height: 2.75rem; font-size: 0.875rem; }
  .chord__notes em { display: none; }
  .chord__notes span { min-width: 1.6rem; height: 1.6rem; }
  .cx__actions { margin-top: 0.8rem !important; }
  .bw__view { aspect-ratio: 16 / 12; max-height: none; grid-template-columns: minmax(0, 1fr) 46%; }
  .pg { font-size: 0.56rem; }
  .ctx { font-size: 0.6rem; left: 6%; }
  .toast { width: 70%; padding: 0.45rem 0.55rem; gap: 0.45rem; }
  .toast > span { font-size: 0.7rem; }
  .toast img { width: 1.5rem; height: 1.5rem; }
  .qa { padding: 0.55rem; } .qa__in { min-height: 1.9rem; font-size: 0.8rem; } .qa__keys { font-size: 0.75rem; }
}
@media (max-width: 860px) and (max-height: 760px) {
  .wt__copy .lede { display: none; }
}

/* ---------------------------------------------------- capture anywhere -- */
.any { background: var(--cream); }
.any__stage { display: grid; align-items: center; padding-top: var(--bar-h); }
.rail { gap: clamp(1.25rem, 3vw, 2.5rem); padding-inline: clamp(1rem, 4.5vw, 4rem); align-items: center; width: max-content; }
.rail__lead { flex: none; width: min(28rem, 82vw); }
.rail__lead .h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); }
.src { flex: none; display: grid; grid-template-columns: auto minmax(0, 15rem); gap: 1.5rem; align-items: center; padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 4px hsl(24 30% 30% / 0.05), 0 24px 40px -30px hsl(24 30% 30% / 0.4); }
.src .phone { --w: clamp(150px, 13vw, 190px); }
.src--wide { grid-template-columns: minmax(0, 1fr); width: clamp(19rem, 34vw, 30rem); align-items: start; }
.src__copy h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.src__copy p { margin-top: 0.5rem; color: var(--sc-ink-soft); font-size: 0.97rem; line-height: 1.5; }
.tag { display: inline-flex; align-items: center; height: 1.7rem; padding: 0 0.75rem; border-radius: 999px; font-size: 0.875rem; font-weight: 700; background: #FCEBDC; color: #7A3D10; margin-top: 0.85rem !important; }
.tag--inline { margin-top: 0 !important; }
.src--import { grid-template-columns: minmax(0, 1fr); width: clamp(17rem, 24vw, 21rem); }
.import { display: grid; gap: 0.35rem; justify-items: start; padding: 1.25rem; border-radius: 12px; background: var(--cloud); }
.import span { font-weight: 700; font-size: 1.15rem; color: var(--sc-ink-soft); }
.import svg { width: 26px; height: 26px; margin: 0.25rem 0; fill: none; stroke: var(--sc-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.import .import__to { font-weight: 800; color: var(--sc-ink); font-size: 1.4rem; letter-spacing: -0.02em; }
.rail__end { flex: none; width: min(18rem, 70vw); font-size: 1.1rem; font-weight: 600; line-height: 1.45; color: var(--sc-ink); padding-right: 2rem; }
@media (max-width: 860px) {
  .any__stage { padding-top: calc(var(--bar-h) + 0.5rem); }
  .src { grid-template-columns: minmax(0, 1fr); width: min(78vw, 20rem); }
  .src .phone { --w: min(150px, 40vw); }
  .src--wide, .src--import { width: min(80vw, 22rem); }
}
/* Without motion the rail is a sideways scroll region, so the act does not need its pinned length. */
@media (prefers-reduced-motion: reduce) {
  .any { height: auto !important; }
  .any__stage { position: relative; height: auto; padding-block: clamp(4rem, 9vw, 7rem); }
}

/* --------------------------------------------------------------- trust -- */
.trust { background: var(--cream); padding-block: clamp(5rem, 11vw, 9rem); }
.trust__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem clamp(2rem, 6vw, 6rem); align-items: end; }
.trust__head .h2 { font-size: clamp(2.4rem, 1.4rem + 3.8vw, 4.4rem); }
.trust__quote { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); line-height: 1.5; max-width: 32ch; }
.trust__quote span { font-weight: 700; padding: 0.05em 0.4em; border-radius: 8px; background: #fff; border: 1px solid var(--line); white-space: nowrap; }
.promises { margin-top: clamp(2.5rem, 6vw, 4.5rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 6vw, 6rem); }
.promises li { display: grid; grid-template-columns: 2.5rem 1fr; column-gap: 1rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.promises .ico { grid-row: span 2; margin-top: 0.15rem; }
.promises h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
.promises p { margin-top: 0.3rem; color: var(--sc-ink-soft); }
.trust__small { margin-top: 2rem; font-size: 0.9375rem; color: var(--sc-ink-soft); max-width: 62ch; }
.trust__small a { color: var(--sc-ink); text-decoration-color: var(--sc-accent); text-underline-offset: 0.2em; }
@media (max-width: 860px) {
  .trust__head, .promises { grid-template-columns: minmax(0, 1fr); }
}

/* ----------------------------------------------------------------- faq -- */
.faq { background: var(--cloud); padding-block: clamp(5rem, 10vw, 8rem); }
.faq__in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.2rem 0.25rem; font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; border-radius: 6px;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; flex: none; width: 0.65rem; height: 0.65rem; margin-right: 0.35rem;
  border-right: 2px solid var(--sc-ink); border-bottom: 2px solid var(--sc-ink);
  transform: translateY(-25%) rotate(45deg); transition: transform 200ms var(--sc-ease-out);
}
.faq__list details[open] summary::after { transform: translateY(15%) rotate(225deg); }
.faq__list details p { padding: 0 0.25rem 1.3rem; color: var(--sc-ink-soft); max-width: 56ch; }
.faq__list a { color: var(--sc-ink); text-decoration-color: var(--sc-accent); text-underline-offset: 0.2em; }
@media (max-width: 860px) { .faq__in { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------- close -- */
.close { background: var(--cream); padding-top: clamp(6rem, 14vw, 11rem); }
.close__in { display: grid; justify-items: start; }
.close__mark { width: clamp(3.5rem, 7vw, 5rem); height: clamp(3.5rem, 7vw, 5rem); }
.close__mark svg { width: 100%; height: 100%; fill: none; stroke: var(--sc-accent); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 900ms var(--sc-ease-out) 200ms; overflow: visible; }
.close__mark.sc-in svg { stroke-dashoffset: 0; }
.close__title { margin-top: 1.5rem; font-family: var(--sc-font-display); font-weight: 800; font-size: clamp(2.8rem, 1.4rem + 5.6vw, 6rem); line-height: 0.98; letter-spacing: -0.04em; max-width: 13ch; text-wrap: balance; }
.close__actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.soon { font-weight: 600; color: var(--sc-ink-soft); }

.foot { margin-top: clamp(5rem, 12vw, 9rem); border-top: 1px solid var(--line); padding-block: 2.5rem 3rem; }
.foot__in { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: start; }
.foot__brand p { margin-top: 0.6rem; color: var(--sc-ink-soft); font-size: 0.97rem; }
.foot__links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.foot__links a { font-size: 0.97rem; font-weight: 600; text-decoration: none; padding-block: 0.5rem; }
.foot__links a:hover { text-decoration: underline; text-decoration-color: var(--sc-accent); text-underline-offset: 0.25em; }
.foot__copy { grid-column: 1 / -1; font-size: 0.875rem; color: var(--sc-ink-soft); }
@media (max-width: 640px) { .foot__in { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------- tighter --
   Closer columns, bigger devices, less air in the plain sections. */
.wt__in { max-width: 68rem; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 4.5vw, 4.5rem); }
.wt--flip .wt__in { grid-template-columns: auto minmax(0, 1fr); }
.wt__media .phone { --w: clamp(220px, min(25vw, calc((100svh - var(--bar-h) - 4.75rem) * 0.44)), 330px); }
.wt__copy .h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); max-width: 16ch; }
.wt__copy .lede { max-width: 40ch; }
.fx-media { grid-template-columns: auto minmax(15rem, 19rem); }
.fx-media .phone { --w: clamp(200px, min(20vw, calc((100svh - var(--bar-h) - 6rem) * 0.44)), 290px); }
.cx__in { max-width: 76rem; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); }
.how__in { max-width: 68rem; grid-template-columns: minmax(0, 1fr) auto; }
.how__phone .phone { --w: clamp(220px, min(25vw, calc((100svh - var(--bar-h) - 5rem) * 0.44)), 320px); }
.hero { padding-bottom: clamp(1.5rem, 4vh, 3rem); }
.problem { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3.5rem, 8vw, 6rem); }
.problem__in { max-width: 68rem; }
.trust, .faq { padding-block: clamp(3.5rem, 8vw, 6rem); }
.trust__in, .faq__in, .close__in { max-width: 68rem; }
.promises { margin-top: clamp(2rem, 4vw, 3rem); }
.close { padding-top: clamp(4rem, 9vw, 7rem); }
.foot { margin-top: clamp(3.5rem, 8vw, 5.5rem); }
.any__stage { padding-top: var(--bar-h); }

@media (max-width: 860px) {
  .wt__in, .wt--flip .wt__in, .how__in, .cx__in { grid-template-columns: minmax(0, 1fr); }
  .wt__media .phone { --w: clamp(120px, calc((100svh - 29rem) * 0.46), 220px); }
  .fx-media { grid-template-columns: auto minmax(0, 1fr); }
  .fx-media .phone { --w: clamp(110px, calc((100svh - 31rem) * 0.46), 180px); }
  .how__phone .phone { --w: clamp(120px, calc((100svh - 25rem) * 0.46), 220px); }
  .wt__copy .h2 { font-size: clamp(1.45rem, 6.4vw, 1.9rem); }
}
.fx-media { grid-template-columns: auto minmax(13rem, 15rem); }
.focus .wt__copy .h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); max-width: 17ch; }
@media (max-width: 860px) { .fx-media { grid-template-columns: auto minmax(0, 1fr); } }
.any__stage { align-items: start; padding-top: calc(var(--bar-h) + clamp(1.5rem, 7vh, 4.5rem)); }
@media (prefers-reduced-motion: reduce) { .any__stage { padding-top: clamp(3rem, 7vw, 5rem); } }


/* =====================================================================
   NATURAL FLOW (revision 4). Sections scroll like a normal page. Text
   rises in with the scroll, the device sticks beside the steps, and the
   step nearest the reading line lights up.
   ===================================================================== */
.wt { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.wt__stage { display: block; padding-top: 0; }
.wt__in {
  max-width: 68rem; display: grid; align-items: start;
  grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head media" "steps media";
  column-gap: clamp(2.5rem, 6vw, 6rem); row-gap: 0;
}
.wt--flip .wt__in { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "media head" "media steps"; }
.wt__head { grid-area: head; }
.wt__head > * + * { margin-top: 1rem; }
.wt__head .h2 { margin-top: 0.6rem; }
.wt__steps { grid-area: steps; }
.wt__media {
  grid-area: media; align-self: start; position: sticky;
  top: calc(var(--bar-h) + max(1.25rem, (100svh - var(--bar-h) - var(--mh, 40rem)) / 2));
}
.wt__media .phone { --w: clamp(220px, min(24vw, calc((100svh - var(--bar-h) - 6rem) * 0.42)), 310px); }
.wt__media { --mh: calc(var(--w-guess, 300px) * 2.3); }

.wsteps { margin-top: clamp(1.5rem, 4vh, 2.5rem) !important; max-width: 32rem; }
.wstep {
  opacity: 1; transform: none; min-height: clamp(9rem, 30vh, 16rem); align-content: start;
  padding: 1.1rem 0 1.5rem; border-top: 1px solid var(--line); color: var(--sc-ink-soft);
  font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.15rem); line-height: 1.55;
  transition: color 300ms var(--sc-ease-out);
}
.wstep:last-child { border-bottom: 0; min-height: 0; }
.wstep.is-on { color: var(--sc-ink); }
.wsteps--five .wstep { min-height: clamp(7rem, 22vh, 12rem); padding: 1rem 0 1.25rem; }
.wt .note { margin-top: 1.5rem; }
.cx__actions { margin-top: 1.25rem !important; }
.cx .wt__in { max-width: 76rem; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.cx .wt__media { --mh: 30rem; }
.focus .wt__media { --mh: 34rem; }

/* scroll-linked reveal: the JS writes --rv from 0 to 1 as an element rises */
.rv { opacity: var(--rv, 0); transform: translateY(calc((1 - var(--rv, 0)) * 28px)); }
/* Once settled, text is plain text again: no transform, no layer, crisp rendering. */
.rv.rv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { transform: none; } }

/* capture from anywhere: a plain grid now */
.any { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.any__stage { display: block; padding-top: 0; }
.rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); width: auto; max-width: 68rem; margin-inline: auto; padding: 0; align-items: stretch; }
.rail__lead, .rail__end { width: auto; grid-column: 1 / -1; padding: 0; }
.rail__lead { margin-bottom: clamp(0.5rem, 2vw, 1.5rem); }
.rail__lead .h2 { max-width: 20ch; }
.src, .src--wide, .src--import { width: auto; }
.src { grid-template-columns: auto minmax(0, 1fr); }
.src--wide, .src--import { grid-template-columns: minmax(0, 1fr); }
.rail__end { margin-top: 0.5rem; color: var(--sc-ink-soft); font-weight: 500; }

/* next-section arrow */
.next-wrap { display: flex; justify-content: center; margin-top: clamp(2.5rem, 6vw, 4rem); }
.next {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  border: 1.5px solid color-mix(in oklab, var(--sc-ink) 20%, transparent); color: var(--sc-ink); background: color-mix(in oklab, var(--sc-surface) 70%, transparent);
  transition: transform 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out);
}
.next svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.next:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .next:hover { border-color: var(--sc-accent); transform: translateY(2px); } }
.wt--dark .next { border-color: #4B4851; color: #F4EFE8; background: transparent; }
.how__stage .next-wrap { position: absolute; left: 0; right: 0; bottom: clamp(1rem, 3vh, 2rem); margin: 0; }
.hero .next-wrap { margin-top: 0; }

/* Features dropdown */
.dd { position: relative; }
.dd__btn {
  display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.55rem 0.8rem; border-radius: 999px; border: 0; background: transparent; cursor: pointer;
  font: 600 0.97rem/1 var(--sc-font-text); color: var(--sc-ink);
}
.dd__btn svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--sc-ease-out); }
.dd__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .dd__btn:hover { background: color-mix(in oklab, var(--sc-ink) 6%, transparent); } }
.dd__menu {
  position: absolute; top: calc(100% + 0.6rem); left: 50%; width: min(34rem, 90vw);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.15rem; padding: 0.6rem;
  border-radius: 18px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 2px 6px hsl(24 30% 25% / 0.08), 0 28px 60px -24px hsl(24 30% 25% / 0.35);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity 180ms var(--sc-ease-out), transform 180ms var(--sc-ease-out), visibility 0s linear 180ms;
}
.dd.is-open .dd__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.dd__menu a { display: grid; gap: 0.15rem; padding: 0.7rem 0.85rem; border-radius: 12px; text-decoration: none; color: var(--sc-ink); }
.dd__menu a b { font-weight: 700; font-size: 0.97rem; }
.dd__menu a span { font-size: 0.875rem; color: var(--sc-ink-soft); line-height: 1.35; }
.dd__menu a:hover, .dd__menu a:focus-visible { background: var(--cream); }

@media (max-width: 860px) {
  .wt__in, .wt--flip .wt__in, .cx .wt__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "steps"; }
  .wt__media {
    top: var(--bar-h); z-index: 5; margin: 1.25rem calc(-1 * clamp(1rem, 4.5vw, 4rem)) 0; padding: 0.75rem clamp(1rem, 4.5vw, 4rem);
    background: inherit; display: flex; justify-content: center;
  }
  .wt--cream .wt__media { background: var(--cream); } .wt--cloud .wt__media { background: var(--cloud); } .wt--dark .wt__media { background: var(--night); }
  .wt__media .phone { --w: clamp(120px, 34vw, 150px); }
  .fx-media { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; }
  .fx-media .phone { --w: clamp(110px, 30vw, 140px); }
  .cx .wt__media { display: block; }
  .wt .note, .cx__note, .wt__media > .cap { display: none; }
  .wt .lede, .cx .lede { display: block; }
  .wstep { min-height: 34svh; padding: 0.9rem 0 1.2rem; font-size: 1rem; }
  .wstep:not(.is-on) > span:last-child { white-space: normal; overflow: visible; }
  .wsteps--five .wstep { min-height: 28svh; }
  .rail { grid-template-columns: minmax(0, 1fr); }
  .src { grid-template-columns: auto minmax(0, 1fr); }
  .src .phone { --w: 110px; }
  .bar__nav .dd { width: 100%; }
  .dd__btn { width: 100%; justify-content: space-between; padding: 0.9rem 0.25rem; border-radius: 0; font-size: 1.06rem; border-bottom: 1px solid var(--line); }
  .dd__menu { position: static; width: auto; grid-template-columns: minmax(0, 1fr); transform: none; box-shadow: none; border: 0; padding: 0.25rem 0 0.5rem 0.75rem; display: none; }
  .dd.is-open .dd__menu { display: grid; transform: none; }
  .dd__menu a { padding: 0.55rem 0.5rem; }
  .bar__nav { max-height: calc(100svh - var(--bar-h)); overflow-y: auto; }
}
.wt__media { top: calc(var(--bar-h) + clamp(1rem, 5vh, 3rem)); }
@media (max-width: 860px) { .wt__media { top: var(--bar-h); } }
/* tighter steps: the next one arrives about a third of a screen later */
.wstep { min-height: clamp(7rem, 17vh, 10rem); }
.wsteps--five .wstep { min-height: clamp(5.5rem, 12vh, 8rem); }
.wt__steps { padding-bottom: clamp(2rem, 16vh, 9rem); }
@media (max-width: 860px) { .wstep { min-height: 24svh; } .wsteps--five .wstep { min-height: 20svh; } .wt__steps { padding-bottom: 3rem; } }
.wt, .any { padding-block: clamp(3.5rem, 7vw, 6rem); }
.wt__steps { padding-bottom: clamp(1rem, 6vh, 3.5rem); }
.next-wrap { margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.dd__menu a { align-content: start; }
@media (max-width: 860px) { .src--wide, .src--import { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .how__stage .next-wrap { display: none; } }

/* =====================================================================
   SIRI + SLACK demos: held like How it works, steps across the top.
   ===================================================================== */
.demo--siri { background: var(--cloud); }
.demo--slack { background: var(--cream); }
.demo .how__title { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.1rem); }
.demo .eyebrow { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.demo .eyebrow .tag { text-transform: none; letter-spacing: 0; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.demo__note { opacity: 1; }
.demo .step__d { color: var(--sc-ink-soft); }
.demo .step.is-on .step__d { color: var(--sc-ink); }

/* the spoken line */
.voice {
  margin-top: clamp(1.4rem, 3.5vh, 2.4rem); display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem;
  min-height: 7.5rem; padding: clamp(1.1rem, 2.4vw, 1.6rem); border-radius: 20px; background: #fff;
  border: 1.5px solid color-mix(in oklab, var(--sc-accent) 55%, white);
  box-shadow: inset 0 1px 0 #fff, 0 2px 4px hsl(24 30% 30% / 0.06), 0 24px 40px -28px hsl(24 30% 30% / 0.35);
  position: relative;
}
.voice__mic { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--sc-accent); }
.voice__mic svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: #26262A; stroke-width: 2; stroke-linecap: round; }
.voice__line { font-size: clamp(1.3rem, 1rem + 1.3vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; min-height: 1.3em; }
.voice__hey { color: var(--sc-ink-soft); font-style: italic; }
.voice__chip { display: inline-flex; align-items: center; height: 1.5em; padding: 0 0.5em; margin-left: 0.25em; border-radius: 999px; font-size: 0.8em; font-weight: 700; background: #FCEBDC; color: #8A4512; border: 1px solid #F3D2B6; opacity: 0; transform: scale(0.8); transition: opacity 260ms var(--sc-ease-out), transform 260ms var(--sc-ease-out); vertical-align: 0.06em; }
.voice__chip.is-on { opacity: 1; transform: none; }
.voice__bars { position: absolute; right: 1.2rem; bottom: 0.9rem; display: flex; align-items: center; gap: 3px; height: 1.4rem; opacity: var(--listen, 0); }
.voice__bars i { width: 3px; height: 30%; border-radius: 2px; background: var(--sc-accent); animation: bar 900ms ease-in-out infinite; }
.voice__bars i:nth-child(2) { animation-delay: -120ms; } .voice__bars i:nth-child(3) { animation-delay: -340ms; } .voice__bars i:nth-child(4) { animation-delay: -560ms; }
.voice__bars i:nth-child(5) { animation-delay: -220ms; } .voice__bars i:nth-child(6) { animation-delay: -700ms; } .voice__bars i:nth-child(7) { animation-delay: -440ms; }
@keyframes bar { 0%, 100% { height: 25%; } 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .voice__bars i { animation: none; height: 60%; } }

/* the phone: lock screen, Siri sheet, confirmation */
.phone--siri { position: relative; }
.abtn { position: absolute; left: -4px; top: 21%; width: 4px; height: 7%; border-radius: 3px 0 0 3px; background: #3a3a40; transition: background-color 200ms; }
.phone--siri.is-press .abtn { background: var(--sc-accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--sc-accent) 30%, transparent); }
.sr { --u: calc(var(--w) / 100); background: linear-gradient(170deg, #F6E3CF 0%, #EBC9A6 45%, #C99A78 100%); color: #26262A; }
.sr > div { position: absolute; }
.sr__lock { inset: 14% 0 auto; text-align: center; color: #3A2A1E; transition: opacity 300ms; }
.sr__date { font-size: calc(var(--u) * 5.2); font-weight: 600; }
.sr__time { font-size: calc(var(--u) * 24); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.sr__glow { inset: auto -10% -12% -10%; height: 46%; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 140 70 / 0.75), rgb(255 120 160 / 0.35) 55%, transparent); filter: blur(10px); opacity: 0; }
.sr__sheet {
  inset: auto calc(var(--u) * 4) calc(var(--u) * 5); padding: calc(var(--u) * 5); border-radius: calc(var(--u) * 7);
  background: rgb(255 255 255 / 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -12px rgb(60 30 10 / 0.45); opacity: 0; transform: translateY(14px);
}
.sr__app { display: flex; align-items: center; gap: calc(var(--u) * 3); font-size: calc(var(--u) * 4.4); color: #55555C; }
.sr__app img { width: calc(var(--u) * 10); height: calc(var(--u) * 10); border-radius: calc(var(--u) * 2.4); }
.sr__app span { display: grid; line-height: 1.25; } .sr__app b { color: #26262A; font-weight: 700; }
.sr__text { margin-top: calc(var(--u) * 4); min-height: 2.6em; font-size: calc(var(--u) * 6); font-weight: 600; line-height: 1.3; }
.sr__orb { display: block; margin: calc(var(--u) * 3) auto 0; width: calc(var(--u) * 13); height: calc(var(--u) * 13); border-radius: 50%; background: conic-gradient(from 0deg, #FF8A4C, #FF6FA1, #8E7CFF, #4CC3FF, #FF8A4C); filter: blur(1px); animation: orb 3s linear infinite; }
@keyframes orb { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sr__orb { animation: none; } }
.sr__done {
  inset: auto calc(var(--u) * 4) calc(var(--u) * 5); display: grid; justify-items: center; gap: calc(var(--u) * 2); text-align: center;
  padding: calc(var(--u) * 6) calc(var(--u) * 5); border-radius: calc(var(--u) * 7); background: #fff; box-shadow: 0 10px 30px -12px rgb(60 30 10 / 0.45);
  font-size: calc(var(--u) * 5.4); opacity: 0; transform: translateY(14px);
}
.sr__check { display: grid; place-items: center; width: calc(var(--u) * 14); height: calc(var(--u) * 14); border-radius: 50%; background: var(--sc-accent); }
.sr__check svg { width: 60%; height: 60%; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sr__task { font-weight: 600; } .sr__task em { font-style: normal; color: #8A4512; background: #FCEBDC; padding: 0 0.35em; border-radius: 999px; }

/* Slack-style window */
.sk {
  margin-top: clamp(1.2rem, 3vh, 2rem); display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); height: clamp(15rem, 34vh, 19rem);
  border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 2px 4px hsl(24 30% 25% / 0.06), 0 28px 50px -30px hsl(24 30% 25% / 0.4); font-size: 0.875rem;
}
.sk__side { background: #3F2B3A; color: #E9DCE5; padding: 0.9rem 0.6rem; display: grid; align-content: start; gap: 0.15rem; }
.sk__ws { font-weight: 800; color: #fff; padding: 0 0.4rem 0.6rem; }
.sk__k { font-size: 0.875rem; opacity: 0.85; padding: 0.6rem 0.4rem 0.2rem; }
.sk__ch { display: flex; align-items: center; gap: 0.4rem; padding: 0.22rem 0.45rem; border-radius: 6px; white-space: nowrap; }
.sk__ch img { width: 16px; height: 16px; border-radius: 4px; }
.sk__ch.is-on { background: #7E5B76; color: #fff; font-weight: 600; }
.sk__main { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; }
.sk__head { padding: 0.6rem 1rem; font-weight: 800; border-bottom: 1px solid var(--line); }
.sk__pane { grid-row: 2; grid-column: 1; padding: 0.75rem 1rem; display: grid; align-content: start; gap: 0.7rem; transition: opacity 300ms var(--sc-ease-out); }
.sk__pane--dm { opacity: 0; }
.sk__msg { position: relative; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.6rem; align-items: start; }
.sk__msg p { display: grid; line-height: 1.4; color: #2E2E33; }
.sk__msg b { font-weight: 800; color: #1D1C1D; } .sk__msg b em { font-style: normal; font-weight: 600; font-size: 0.75em; padding: 0 0.3em; margin-left: 0.3em; border-radius: 3px; background: #EEE; color: #555; }
.sk__msg small { font-size: 0.875rem; color: #66666E; }
.sk__av { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 7px; background: var(--c); color: #fff; font-weight: 800; }
.sk__av--app img { width: 2rem; height: 2rem; border-radius: 7px; }
.sk__msg--bot { padding: 0.45rem 0.5rem; margin-inline: -0.5rem; border-radius: 8px; background: #F8F4F0; opacity: 0; transform: translateY(6px); }
.sk__react { grid-column: 2; justify-self: start; margin-top: 0.15rem; padding: 0.05rem 0.5rem; border-radius: 999px; background: #EAF1FA; border: 1px solid #9DC1EA; font-size: 0.875rem; color: #1B5FA8; opacity: 0; transform: scale(0.7); }
.sk__more { position: absolute; right: 0; top: -0.3rem; padding: 0 0.45rem; border-radius: 6px; border: 1px solid var(--line); background: #fff; font-weight: 800; opacity: 0; }
.sk__menu { position: absolute; right: 0; top: 1.4rem; z-index: 3; display: grid; padding: 0.3rem; border-radius: 8px; background: #fff; border: 1px solid #DDDAD5; box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.3); opacity: 0; transform: scale(0.96); transform-origin: top right; }
.sk__menu i { font-style: normal; padding: 0.3rem 0.7rem; border-radius: 5px; white-space: nowrap; }
.sk__menu .is-hi { background: #1264A3; color: #fff; font-weight: 600; }
.sk__compose { margin: 0.5rem 0.8rem 0.8rem; min-height: 2.3rem; display: flex; align-items: center; padding: 0 0.75rem; border-radius: 8px; border: 1.5px solid #CFCDC9; font-weight: 600; color: #26262A; }
.sk__compose .caret { height: 1.1em; }

/* the list on the phone */
.tl { --u: calc(var(--w) / 100); background: #F6F6F8; }
.tl__bar { position: absolute; inset: 0 0 auto; height: calc(var(--u) * 13); display: flex; align-items: center; padding: 0 calc(var(--u) * 9); font-size: calc(var(--u) * 5); font-weight: 600; }
.tl__bar i { position: absolute; left: 50%; top: calc(var(--u) * 3.5); translate: -50% 0; width: calc(var(--u) * 30); height: calc(var(--u) * 8); border-radius: 999px; background: #0E0E10; }
.tl__body { position: absolute; inset: calc(var(--u) * 17) calc(var(--u) * 5) 0; }
.tl__mark { text-align: center; font-weight: 800; font-size: calc(var(--u) * 10); letter-spacing: -0.02em; line-height: 1; }
.tl__mark svg { position: absolute; left: 50%; top: -0.02em; width: 0.34em; height: 0.34em; transform: translateX(-50%); fill: none; stroke: var(--sc-accent); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.tl__k { margin-top: calc(var(--u) * 6); font-size: calc(var(--u) * 4.2); font-weight: 600; color: #66666E; }
.tl__list { margin-top: calc(var(--u) * 2.5); display: grid; gap: calc(var(--u) * 2.5); }
.tl__list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: calc(var(--u) * 3); align-items: start; padding: calc(var(--u) * 3.6); border-radius: calc(var(--u) * 3.5); background: #fff; border: 1px solid #ECECEF; font-size: calc(var(--u) * 4.6); line-height: 1.35; opacity: 0; transform: translateY(-8px) scale(0.98); transition: opacity 360ms var(--sc-ease-out), transform 360ms var(--sc-ease-out); }
.tl__list li.is-in { opacity: 1; transform: none; }
.tl__list li.is-new { border-color: color-mix(in oklab, var(--sc-accent) 60%, white); box-shadow: 0 0 0 3px color-mix(in oklab, var(--sc-accent) 18%, transparent); }
.tl__list i { width: calc(var(--u) * 5); height: calc(var(--u) * 5); margin-top: 0.1em; border-radius: 50%; border: 1.5px solid #CFCFD4; }
.tl__list span { display: grid; } .tl__list small { font-size: 0.82em; color: #66666E; }

@media (max-width: 860px) {
  .steps--4 .step__t { font-size: 0.875rem; }
  .steps--4 { gap: 0.35rem; }
  .voice { min-height: 5rem; grid-template-columns: auto minmax(0, 1fr); gap: 0.7rem; }
  .voice__mic { width: 2.4rem; height: 2.4rem; }
  .voice__line { font-size: 1.15rem; }
  .demo .how__phone .phone { --w: clamp(120px, calc((100svh - 27rem) * 0.45), 200px); }
  .demo--slack .how__phone, .sk__side, .demo__note { display: none; }
  .sk { grid-template-columns: minmax(0, 1fr); height: clamp(16rem, 44svh, 21rem); font-size: 0.875rem; }
}
#sk-type:empty::before { content: attr(data-ph); color: #66666E; font-weight: 500; }
.sk { grid-template-rows: minmax(0, 1fr); } .sk__main { min-height: 0; overflow: hidden; } .sk__pane { overflow: hidden; }
/* Features sits on the same line as the other nav links */
@media (min-width: 861px) {
  .bar__nav { align-items: center; }
  .dd { display: flex; }
  .dd__btn { font: 600 0.97rem/1.6 var(--sc-font-text); padding: 0.55rem 0.8rem; }
}
.problem__lede { margin-top: 1.4rem; max-width: 34ch; color: var(--sc-ink-soft); }

/* How it works, step 3: the duplicate check */
.sorter__dup { grid-area: 1 / 1; opacity: 0; font-size: clamp(1.35rem, 1rem + 1.5vw, 2.1rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; pointer-events: none; }
.sorter__under { display: grid; margin-top: 1rem; }
.sorter__under > * { grid-area: 1 / 1; margin-top: 0; align-self: start; }
.dupe {
  display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.8rem 1rem; border-radius: 14px;
  background: #FFF6DE; border: 1px solid #F3DBA0; color: #7A4410; font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem); line-height: 1.45;
  opacity: 0; pointer-events: none;
}
.dupe svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.1rem; fill: none; stroke: var(--sc-accent); stroke-width: 1.8; stroke-linejoin: round; }
.dupe b { font-weight: 700; }
@media (max-width: 860px) { .sorter__dup { font-size: 1.2rem; } .sorter__under { margin-top: 0.7rem; } .dupe { font-size: 0.9375rem; padding: 0.6rem 0.8rem; } }

/* =====================================================================
   TIME BLOCKS: a drawn week (Mon to Fri, 6am to 6pm)
   ===================================================================== */
.tb-media { width: clamp(20rem, 34vw, 30rem); }
.tb {
  --g: 2.6rem; --col: calc((100% - var(--g)) / 5); --row: clamp(1.5rem, 3.6vh, 2rem);
  padding: 1rem 1rem 0.9rem; border-radius: 18px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 2px 4px hsl(24 30% 25% / 0.06), 0 30px 60px -32px hsl(24 30% 25% / 0.38);
  font-family: var(--sc-font-text); color: #26262A;
}
.tb__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.8rem; }
.tb__top b { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; }
.tb__top span { font-size: 0.8125rem; font-weight: 600; color: #55555C; }
.tb__days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding-left: var(--g); margin-bottom: 0.4rem; }
.tb__days span { text-align: center; font-size: 0.75rem; font-weight: 600; color: #55555C; }
.tb__days b { display: block; font-size: 0.95rem; color: #26262A; }
.tb__grid { position: relative; height: calc(12 * var(--row)); }
.tb__grid::before {
  content: ""; position: absolute; inset: 0 0 0 var(--g); border-top: 1px solid #EEEDEA;
  background: repeating-linear-gradient(to bottom, transparent 0 calc(var(--row) - 1px), #EEEDEA calc(var(--row) - 1px) var(--row));
}
.tb__hours span { position: absolute; left: 0; top: calc((var(--h) - 6) * var(--row) + 2px); font-size: 0.6875rem; font-weight: 600; color: #55555C; }
.tb__b {
  position: absolute; z-index: 1; overflow: hidden;
  left: calc(var(--g) + (var(--d) - 1) * var(--col) + 2px); width: calc(var(--col) - 4px);
  top: calc((var(--s) - 6) * var(--row) + 1px); height: calc((var(--e) - var(--s)) * var(--row) - 2px);
  display: grid; align-content: start; gap: 1px; padding: 3px 5px 3px 6px; border-radius: 6px; border-left: 3px solid;
  font-size: 0.6875rem; line-height: 1.2; opacity: 0; transform: scale(0.94);
  transition: top 520ms var(--sc-ease-out), height 520ms var(--sc-ease-out), opacity 300ms var(--sc-ease-out), transform 300ms var(--sc-ease-out);
}
.tb__b.is-in { opacity: 1; transform: none; }
.tb__b b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb__b i { font-style: normal; font-size: 0.625rem; opacity: 0.9; white-space: nowrap; }
.tb__b--green  { background: #DDF0E3; border-color: #4E9A6A; color: #1E4D2F; }
.tb__b--violet { background: #ECE6F8; border-color: #8B7FB8; color: #3F2E78; }
.tb__b--orange { background: #FCE3CF; border-color: #E8924F; color: #6E3610; }
.tb__b--blue   { background: #DDEBF8; border-color: #5B8FC7; color: #1B4470; }
.tb__b--solo   { background: #fff; border: 1.5px dashed #E8924F; border-left-width: 3px; border-left-style: solid; color: #26262A; z-index: 2; }
/* repeating blocks show a small repeat mark once step 2 explains them */
.tb.is-tagged .tb__b:not(.tb__b--solo)::after { content: "↻"; position: absolute; right: 4px; top: 2px; font-size: 0.625rem; font-weight: 700; }
.tb__b.is-moved i::after { content: " · this day only"; }
.tb__clash {
  position: absolute; z-index: 3; pointer-events: none;
  left: calc(var(--g) + (var(--d) - 1) * var(--col) - 1px); width: calc(var(--col) + 2px);
  top: calc((var(--s) - 6) * var(--row) - 3px); height: calc((var(--e) - var(--s)) * var(--row) + 6px);
  border: 2px dashed #C2362F; border-radius: 9px; opacity: 0; transition: opacity 260ms var(--sc-ease-out);
}
.tb__clash span { position: absolute; left: 50%; top: calc(100% + 4px); translate: -50% 0; white-space: nowrap; padding: 2px 8px; border-radius: 999px; background: #C2362F; color: #fff; font-size: 0.6875rem; font-weight: 700; }
.tb__legend { display: flex; gap: 1rem; margin-top: 0.8rem; padding-left: var(--g); font-size: 0.75rem; font-weight: 600; color: #55555C; }
.tb__lg { display: inline-flex; align-items: center; gap: 0.4rem; transition: opacity 300ms; }
.tb__lg::before { content: ""; width: 0.85rem; height: 0.6rem; border-radius: 3px; }
.tb__lg--rep::before { background: #FCE3CF; border-left: 3px solid #E8924F; }
.tb__lg--solo::before { background: #fff; border: 1.5px dashed #E8924F; }
@media (prefers-reduced-motion: reduce) { .tb__b { transition: opacity 200ms; transform: none; } }

@media (max-width: 860px) {
  .tb-media { width: auto; display: block; }
  .tb { --row: 1.15rem; --g: 2.1rem; padding: 0.7rem 0.7rem 0.6rem; border-radius: 14px; }
  .tb__top { margin-bottom: 0.4rem; } .tb__top b { font-size: 0.95rem; }
  .tb__days b { font-size: 0.8125rem; }
  .tb__b { padding: 1px 3px 1px 4px; font-size: 0.625rem; }
  .tb__b i { display: none; }
  .tb__legend { margin-top: 0.5rem; }
}
@media (min-width: 861px) {
  .tb-media { width: clamp(24rem, 40vw, 35rem); }
  .tb { --row: clamp(1.7rem, 4.3vh, 2.35rem); --g: 3rem; padding: 1.25rem 1.25rem 1rem; }
  .tb__b { font-size: 0.75rem; padding: 4px 6px 4px 7px; }
  .tb__b i { font-size: 0.6875rem; }
}
@media (min-width: 861px) {
  .tb { --row: clamp(1.65rem, 3.7vh, 2.15rem); }
  .tb__b { padding: 2px 6px 2px 7px; line-height: 1.12; gap: 0; }
}
@media (max-width: 860px) { .tb.is-tagged .tb__b:not(.tb__b--solo)::after { display: none; } }

/* Goals and Journal: the real side panel capture, with the step's area outlined */
.gp-media { width: clamp(18rem, 27vw, 23rem); }
.gp { position: relative; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 4px hsl(24 30% 25% / 0.06), 0 30px 60px -32px hsl(24 30% 25% / 0.38); }
.gp img { width: 100%; height: auto; display: block; }
.gp__ring { position: absolute; left: 1.5%; right: 1.5%; border: 2.5px solid var(--sc-accent); border-radius: 14px; opacity: 0; transition: opacity 300ms var(--sc-ease-out); pointer-events: none; }
.gp__ring[data-ring="goals"] { top: 0.4%; height: 59.6%; }
.gp__ring[data-ring="journal"] { top: 61%; height: 38.4%; }
.gp__ring.is-on { opacity: 1; }
.gp__note { margin-top: 0.7rem; text-align: center; font-size: 0.875rem; color: var(--sc-ink-soft); }
@media (max-width: 860px) {
  .gp-media { width: auto; display: block; }
  .gp { width: min(17rem, 72vw); margin-inline: auto; }
  .gp-media .gp__note { display: none; }
}
@media (min-width: 861px) { .gp-media { width: clamp(20rem, 30vw, 26rem); } }

/* Siri intro line */
.demo__lede { margin-top: 0.9rem; max-width: 44ch; color: var(--sc-ink-soft); }
@media (max-width: 860px) { .demo__lede { font-size: 0.97rem; margin-top: 0.5rem; } }

/* Grounds alternate down the page after Import was added */
.demo--siri { background: var(--cream); }
.demo--slack { background: var(--cloud); }
.trust { background: var(--cloud); }
.faq { background: var(--cream); }

/* Capture from anywhere: one wide Chrome card */
.src--quote { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; padding: clamp(1rem, 2vw, 1.5rem); }
.src--quote .src__copy h3 { font-size: 1.35rem; }
.src--quote .src__copy p { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); color: var(--sc-ink); }
.qt { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #FBF8F4; }
.qt__bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: #F1EFEC; border-bottom: 1px solid var(--line); }
.qt__bar i { width: 9px; height: 9px; border-radius: 50%; background: #D9D5CF; }
.qt__bar span { margin-left: 10px; height: 20px; display: flex; align-items: center; padding: 0 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 0.75rem; color: #55555C; white-space: nowrap; overflow: hidden; }
.qt__page { position: relative; padding: 1.1rem 1.25rem 4.6rem; font-size: 0.9rem; line-height: 1.6; color: #3A3A40; }
.qt__k { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #66666E; }
.qt__h { margin: 0.25rem 0 0.5rem; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; color: #26262A; }
/* the highlight and the menu arrive with the card's own scroll reveal */
.qt__hl { background: linear-gradient(#BFD9FF, #BFD9FF) no-repeat 0 0 / calc(clamp(0, (var(--rv, 1) - 0.35) * 2.2, 1) * 100%) 100%; border-radius: 3px; }
.qt__menu {
  position: absolute; left: 18%; bottom: 0.8rem; display: grid; padding: 0.3rem; border-radius: 8px; background: #fff; border: 1px solid #DDDAD5;
  box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.3); font-size: 0.8rem; color: #26262A;
  opacity: clamp(0, (var(--rv, 1) - 0.75) * 5, 1);
}
.qt__menu i { font-style: normal; padding: 0.28rem 0.7rem; border-radius: 5px; white-space: nowrap; }
.qt__menu .is-hi { background: var(--sc-accent); font-weight: 600; }

/* Import: a CSV that turns into threads */
.im-media { width: clamp(20rem, 32vw, 27rem); }
.im { display: grid; gap: 0.8rem; }
.im__file, .im__out, .im__bar { border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 4px hsl(24 30% 25% / 0.05), 0 20px 40px -28px hsl(24 30% 25% / 0.35); }
.im__file { padding: 0.9rem 1rem; transition: opacity 300ms var(--sc-ease-out); }
.im__name { display: flex; align-items: center; gap: 0.45rem; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.5rem; }
.im__name svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: #4E9A6A; stroke-width: 1.8; stroke-linejoin: round; }
.im__file ul { display: grid; font-size: 0.8125rem; }
.im__file li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem; padding: 0.32rem 0; border-top: 1px solid #EFEEEB; font-family: ui-monospace, "SF Mono", Menlo, monospace; color: #3A3A40; opacity: 0; transition: opacity 260ms var(--sc-ease-out); }
.im__file li em { font-style: normal; color: #66666E; }
.im__file li.is-in { opacity: 1; }
.im__bar { display: grid; gap: 0.45rem; padding: 0.7rem 1rem; font-size: 0.8125rem; font-weight: 600; color: #3A3A40; opacity: 0; transition: opacity 260ms var(--sc-ease-out); }
.im__bar b { display: block; height: 6px; border-radius: 6px; background: #EEEDEA; overflow: hidden; }
.im__bar i { display: block; height: 100%; width: 100%; background: var(--sc-accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.im__out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; padding: 0.8rem; opacity: 0; transition: opacity 300ms var(--sc-ease-out); }
.im__g { display: grid; align-content: start; gap: 0.35rem; }
.im__g p { font-weight: 800; font-size: 0.8125rem; color: #8A4512; }
.im__g span { display: flex; gap: 0.35rem; align-items: flex-start; font-size: 0.75rem; line-height: 1.3; padding: 0.4rem 0.45rem; border-radius: 8px; background: #F6F6F8; opacity: 0; transform: translateY(6px); transition: opacity 300ms var(--sc-ease-out), transform 300ms var(--sc-ease-out); }
.im__g span i { flex: none; width: 0.7rem; height: 0.7rem; margin-top: 0.1rem; border-radius: 50%; border: 1.5px solid #CFCFD4; }
.im__g span.is-in { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .src--quote { grid-template-columns: minmax(0, 1fr); }
  .qt__page { font-size: 0.8125rem; padding-bottom: 4.2rem; }
  .qt__menu { left: 6%; font-size: 0.75rem; }
  .im-media { width: auto; display: block; }
  .im__file li { padding: 0.18rem 0; font-size: 0.75rem; }
}
/* status bar on the drawn phones: signal and a full battery */
.sbar { position: absolute; right: calc(var(--u) * 8); top: 50%; translate: 0 -50%; display: flex; align-items: center; gap: calc(var(--u) * 1.8); color: currentColor; }
.sbar svg { fill: currentColor; height: calc(var(--u) * 3.6); width: auto; }
.fx > .fx__bar { display: flex; place-content: normal; justify-content: space-between; align-items: center; padding: 0 calc(var(--u) * 9); gap: 0; }

/* =====================================================================
   CALENDAR CLASHES: a drawn day, 8am to 6pm
   ===================================================================== */
.cal-media { width: clamp(18rem, 28vw, 24rem); }
.cal {
  --g: 3rem; --row: clamp(1.75rem, 4vh, 2.3rem);
  padding: 1.1rem 1.1rem 1rem; border-radius: 18px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 2px 4px hsl(24 30% 25% / 0.06), 0 30px 60px -32px hsl(24 30% 25% / 0.38); color: #26262A;
}
.cal__top { display: flex; justify-content: space-between; align-items: baseline; }
.cal__top b { font-size: 1.05rem; font-weight: 800; }
.cal__top span { font-size: 0.8125rem; font-weight: 600; color: #55555C; }
.cal__chips { display: flex; gap: 0.4rem; margin: 0.7rem 0 0.8rem; min-height: 1.6rem; }
.cal__chip { display: inline-flex; align-items: center; gap: 0.35rem; height: 1.6rem; padding: 0 0.65rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; border: 1px solid; opacity: 0; transform: scale(0.94); transition: opacity 280ms var(--sc-ease-out), transform 280ms var(--sc-ease-out); }
.cal__chip::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; }
.cal__chip--work { color: #3F5F86; border-color: #C9D7E8; background: #EEF3F9; }
.cal__chip--pers { color: #4E6B44; border-color: #CFE0C9; background: #F0F6EE; }
.cal__chip.is-in { opacity: 1; transform: none; }
.cal__grid { position: relative; height: calc(10 * var(--row)); }
.cal__grid::before { content: ""; position: absolute; inset: 0 0 0 var(--g); border-top: 1px solid #EEEDEA; background: repeating-linear-gradient(to bottom, transparent 0 calc(var(--row) - 1px), #EEEDEA calc(var(--row) - 1px) var(--row)); }
.cal__hours span { position: absolute; left: 0; top: calc((var(--h) - 8) * var(--row) + 2px); font-size: 0.6875rem; font-weight: 600; color: #55555C; }
.cal__b {
  position: absolute; left: calc(var(--g) + 4px); right: 4px; z-index: 1;
  top: calc((var(--s) - 8) * var(--row) + 1px); height: calc((var(--e) - var(--s)) * var(--row) - 2px);
  display: grid; align-content: start; padding: 3px 8px; border-radius: 7px; border-left: 3px solid; font-size: 0.75rem; line-height: 1.2; overflow: hidden;
  opacity: 0; transform: translateX(6px); transition: opacity 300ms var(--sc-ease-out), transform 300ms var(--sc-ease-out);
}
.cal__b.is-in { opacity: 1; transform: none; }
.cal__b b { font-weight: 700; } .cal__b i { font-style: normal; font-size: 0.6875rem; opacity: 0.85; }
.cal__b--work { background: repeating-linear-gradient(135deg, #EEF3F9 0 6px, #E5ECF5 6px 12px); border-color: #7C9CC4; color: #2E4A6E; }
.cal__b--pers { background: repeating-linear-gradient(135deg, #F0F6EE 0 6px, #E6F0E2 6px 12px); border-color: #86A97A; color: #3B5634; }
.cal__b--block { left: calc(var(--g) + 38%); right: 4px; z-index: 2; background: #FCE3CF; border-color: #E8924F; color: #6E3610; box-shadow: 0 6px 14px -8px rgb(120 60 20 / 0.45); }
.cal__flag {
  position: absolute; left: calc(var(--g) + 38% - 3px); right: 1px; z-index: 3; pointer-events: none;
  top: calc((var(--s) - 8) * var(--row) - 3px); height: calc((var(--e) - var(--s)) * var(--row) + 6px);
  border: 2px dashed #C2362F; border-radius: 9px; opacity: 0; transition: opacity 260ms var(--sc-ease-out);
}
.cal__flag span { position: absolute; right: 0; top: calc(100% + 4px); white-space: nowrap; padding: 2px 8px; border-radius: 999px; background: #C2362F; color: #fff; font-size: 0.6875rem; font-weight: 700; }
.cal__flag.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .cal__b, .cal__chip { transform: none; } }
@media (max-width: 860px) {
  .cal-media { width: auto; display: block; }
  .cal { --row: 1.3rem; --g: 2.4rem; padding: 0.7rem; width: min(22rem, 100%); margin-inline: auto; }
  .cal__chips { margin: 0.4rem 0 0.5rem; }
  .cal__b { padding: 1px 6px; } .cal__b i { display: none; }
}
@media (min-width: 861px) { .cal-media { width: clamp(20rem, 32vw, 27rem); } }
/* Chrome card: the real menu shape, with Threadlist as a submenu */
.qt__page { padding-bottom: 7.2rem; }
.qt__menu { left: 10%; bottom: 0.9rem; min-width: 13rem; overflow: visible; }
.qt__menu i { color: #26262A; }
.qt__menu .qt__sep { height: 1px; padding: 0; margin: 0.25rem 0.5rem; background: #E3E0DB; }
.qt__menu .is-hi { display: flex; justify-content: space-between; align-items: center; background: #2F6FE4; color: #fff; font-weight: 500; }
.qt__menu .is-hi em { font-style: normal; font-weight: 700; }
.qt__sub {
  position: absolute; left: calc(100% - 0.4rem); top: 4.1rem; display: grid; padding: 0.3rem; border-radius: 8px;
  background: #fff; border: 1px solid #DDDAD5; box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.3); white-space: nowrap;
  opacity: clamp(0, (var(--rv, 1) - 0.85) * 8, 1);
}
.qt__sub i { font-style: normal; padding: 0.28rem 0.7rem; border-radius: 5px; }
.qt__sub i:first-child { background: #2F6FE4; color: #fff; }
@media (max-width: 860px) {
  .qt__page { padding-bottom: 9.6rem; }
  .qt__menu { left: 4%; min-width: 10rem; }
  .qt__sub { left: 12%; top: auto; bottom: -0.2rem; transform: translateY(100%); }
  .src--quote .qt { overflow: visible; margin-bottom: 3.6rem; }
}
@media (min-width: 861px) { .src--quote .qt { overflow: visible; } .qt__bar { border-radius: 12px 12px 0 0; } .src--quote { overflow: visible; } }
@media (min-width: 861px) { .qt__menu { left: 3%; min-width: 0; } }
.faq { background: var(--cloud); }

/* =====================================================================
   SWITCHER (revision 5, modelled on todoist.com feature sections).
   Each walkthrough holds the screen. Rows on the left, the visual in a
   tinted card on the right; scrolling moves the highlighted row and the
   visual swaps in place. No zoom, no slide: everything at its true size.
   ===================================================================== */
.wt { padding: 0; position: relative; }
.wt__stage { position: sticky; top: var(--bar-h); height: calc(100svh - var(--bar-h)); display: grid; align-items: center; padding: 0; }
.wt__in, .wt--flip .wt__in, .cx .wt__in {
  max-width: 72rem; margin-inline: auto; display: grid; align-items: center; align-content: center;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); grid-template-areas: "head media" "steps media";
  column-gap: clamp(2rem, 4.5vw, 4rem); row-gap: 0; height: 100%; padding-block: clamp(1rem, 3vh, 2rem);
}
.cx .wt__in { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.wt__head { grid-area: head; align-self: end; }
.wt__head .h2 { font-size: clamp(1.9rem, 1.2rem + 1.9vw, 2.6rem); line-height: 1.12; letter-spacing: -0.02em; max-width: 18ch; }
.wt__head .lede { font-size: clamp(1rem, 0.95rem + 0.25vw, 1.12rem); max-width: 42ch; color: var(--sc-ink-soft); }
.wt__steps { grid-area: steps; align-self: start; padding-bottom: 0; }

/* the rows */
.wsteps { margin-top: clamp(1.1rem, 3vh, 1.75rem) !important; max-width: 31rem; display: grid; gap: 0.35rem; }
.wstep, .wsteps--five .wstep {
  min-height: 0; position: relative; display: grid; grid-template-columns: 2.2rem 1fr; align-items: start;
  padding: 0.75rem 0.9rem; border: 0; border-radius: 12px; color: var(--sc-ink-soft);
  font-size: clamp(0.95rem, 0.92rem + 0.15vw, 1.02rem); line-height: 1.5; opacity: 1; transform: none;
  transition: background-color 220ms var(--sc-ease-out), color 220ms var(--sc-ease-out);
}
.wstep:last-child { border-bottom: 0; }
.wstep.is-on { background: color-mix(in oklab, var(--sc-accent) 13%, transparent); color: var(--sc-ink); }
.wstep::before { content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.35rem; top: auto; height: 2px; border-radius: 2px; width: auto; background: color-mix(in oklab, var(--sc-accent) 70%, transparent); transform-origin: left; transform: scaleX(var(--fill, 0)); opacity: 0; transition: opacity 200ms; }
.wstep.is-on::before { opacity: 1; }
.wstep__n { width: 1.55rem; height: 1.55rem; font-size: 0.8125rem; }
.wt .note { display: none; }
.cx__actions { margin-top: 1rem !important; padding-left: 0.9rem; }
.cx__note { display: none; }

/* the visual card */
.wt__media, .wt--flip .wt__media {
  grid-area: media; order: 0; position: relative; top: auto; align-self: center; width: auto;
  height: min(calc(100svh - var(--bar-h) - 3rem), 44rem); display: grid; place-items: center; padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: 28px; background: linear-gradient(155deg, #FDEBDD 0%, #FADCC6 55%, #F6CFB4 100%); overflow: hidden;
  margin: 0;
}
.wt--cloud .wt__media { background: linear-gradient(155deg, #FBEFE6 0%, #F7E2D2 60%, #F2D5C0 100%); }
.wt--dark .wt__media { background: linear-gradient(155deg, #2A282E 0%, #232227 100%); }
.wt__media > .cap { position: absolute; top: 1.1rem; left: 0; right: 0; margin: 0; text-align: center; color: #6E4A30; font-weight: 600; }
.wt--dark .wt__media > .cap { color: #B9B2AA; }
.wt__media .phone { --w: clamp(180px, min(20vw, calc((100svh - var(--bar-h) - 9rem) * 0.42)), 270px); }
.tb-media, .cal-media, .gp-media, .im-media { width: auto; }
.tb-media .tb { width: min(100%, 32rem); }
.cal-media .cal { width: min(100%, 25rem); }
.gp-media .gp { width: min(100%, 22rem); }
.gp-media .gp__note { position: absolute; bottom: 0.9rem; left: 0; right: 0; margin: 0; color: #6E4A30; }
.im-media .im { width: min(100%, 26rem); }
.fx-media { grid-template-columns: auto minmax(13rem, 15rem); }
.fx-media > .cap { grid-column: auto; }
.cx__media .bw { width: 100%; }
.wt .next-wrap { position: absolute; left: 0; right: 0; bottom: clamp(0.75rem, 2vh, 1.5rem); margin: 0; z-index: 2; }

/* no zoom and no slide on text: it fades in where it will sit */
.rv { transform: none; }

@media (max-width: 860px) {
  .wt__stage { height: calc(100svh - var(--bar-h)); align-items: start; }
  .wt__in, .wt--flip .wt__in, .cx .wt__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "steps"; align-content: start; row-gap: 0.7rem; padding-block: 0.8rem; }
  .wt__head { align-self: start; }
  .wt__head .h2 { font-size: clamp(1.45rem, 6.2vw, 1.85rem); }
  .wt__head .lede { display: none; }
  .wt__media, .wt--flip .wt__media { height: 40svh; padding: 1rem; border-radius: 20px; margin: 0; }
  .wt__media > .cap { display: none; }
  .wt__media .phone { --w: min(150px, calc(40svh * 0.42)); }
  .fx-media .phone { --w: min(120px, calc(40svh * 0.4)); }
  .wsteps { margin-top: 0 !important; gap: 0.15rem; }
  .wstep, .wsteps--five .wstep { padding: 0.5rem 0.6rem; grid-template-columns: 1.9rem 1fr; font-size: 0.94rem; }
  .wstep:not(.is-on) > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cx__actions { display: none; }
  .tb { --row: 1.05rem; } .cal { --row: 1.15rem; }
  .gp-media .gp { width: min(100%, 13rem); }
  .wt .next-wrap { display: none; }
}


/* switcher tuning */
.wt .next-wrap { justify-content: flex-start; max-width: 72rem; margin-inline: auto; padding-inline: clamp(1rem, 4.5vw, 4rem); }
.wsteps--five .wstep { padding: 0.55rem 0.9rem; }
@media (min-width: 861px) and (max-height: 900px) { .cx .wt__head .lede { display: none; } }
@media (max-width: 860px) {
  .tb { --row: 0.92rem; } .tb__legend { display: none; } .tb__top { margin-bottom: 0.2rem; }
  .cal { --row: 1rem; } .cal__chips { margin: 0.3rem 0; }
}
.wstep__n { font-size: 0.875rem; width: 1.65rem; height: 1.65rem; }

/* =====================================================================
   GROUPS (revision 6): three held sections, each row swaps the card.
   ===================================================================== */
.grp__media { display: block; }
.grp__pane {
  position: absolute; inset: 3rem clamp(1rem, 2.5vw, 2rem) clamp(1rem, 2.5vw, 2rem);
  display: grid; place-items: center; opacity: 0; visibility: hidden;
  transition: opacity 280ms var(--sc-ease-out), visibility 0s linear 280ms;
}
.grp__pane.is-show { opacity: 1; visibility: visible; transition-delay: 0s; }
.grp__pane .phone { --w: clamp(180px, min(19vw, calc((100svh - var(--bar-h) - 10rem) * 0.42)), 260px); }
.grp__pane .tb { width: min(100%, 32rem); }
.grp__pane .cal { width: min(100%, 25rem); }
.grp__pane .gp { width: min(100%, 21rem); }
.grp__pane .im { width: min(100%, 26rem); }
.grp__pane--fx .fx-media { display: grid; grid-template-columns: auto minmax(13rem, 15rem); gap: 1.5rem; align-items: center; }
.grp__pane--fx .fx-media .phone { --w: clamp(170px, min(17vw, calc((100svh - var(--bar-h) - 10rem) * 0.4)), 230px); margin: 0; }
.grp__pane--siri { grid-template-rows: auto; }
.grp__pane--siri .voice { display: none; }
.grp__pane--slack .sk { width: 100%; margin: 0; height: min(100%, 21rem); }
.grp__pane--qt .qt-wrap { width: 100%; --rv: 1; }
.grp__pane--qt .qt { box-shadow: 0 2px 4px hsl(24 30% 25% / 0.06), 0 30px 60px -32px hsl(24 30% 25% / 0.38); background: #FBF8F4; }
/* the plan card holds the dark focus timer, so its ground stays light */
#plan .wt__media { background: linear-gradient(155deg, #FBEFE6 0%, #F7E2D2 60%, #F2D5C0 100%); }
#plan .chord { box-shadow: 0 20px 40px -24px rgb(0 0 0 / 0.5); }
.grp .wstep b { color: var(--sc-ink); }
.grp .tag--inline { margin-left: 0.25rem; vertical-align: 0.05em; }
.grp__actions { padding-left: 0.9rem; margin-top: 1rem !important; }
/* grounds alternate */
#plan { background: var(--cloud); } #organize { background: var(--cream); } #capture { background: var(--cloud); }
#plan .wt__media, #capture .wt__media { background: linear-gradient(155deg, #FDEBDD 0%, #FADCC6 55%, #F6CFB4 100%); }

@media (max-width: 860px) {
  .grp__pane { inset: 0.8rem; }
  .grp__pane .phone { --w: min(140px, calc(40svh * 0.4)); }
  .grp__pane--fx .fx-media { grid-template-columns: auto minmax(0, 1fr); gap: 0.6rem; }
  .grp__pane--fx .fx-media .phone { --w: min(115px, calc(40svh * 0.38)); }
  .grp__pane--fx .chord__notes, .grp__pane--fx .chord__head .chord__t { display: none; }
  .grp__pane .tb { width: 100%; } .grp__pane .gp { width: min(100%, 12rem); }
  .grp__pane--slack .sk { height: 100%; }
  .grp__pane--qt .qt__page { font-size: 0.75rem; padding: 0.7rem 0.8rem 6.5rem; }
  .grp__pane--qt .qt__h { font-size: 0.95rem; }
  .grp__pane--qt .qt__menu { font-size: 0.6875rem; }
  .grp__pane--qt .qt__sub { left: 30%; top: auto; bottom: -1.8rem; transform: none; font-size: 0.6875rem; }
  .grp__actions { display: none; }
}
@media (min-width: 861px) and (max-height: 900px) { #capture .wt__head .lede { display: none; } }

/* =====================================================================
   TIME TRACKER card
   ===================================================================== */
#track { background: var(--cream); } #organize { background: var(--cloud); } #capture { background: var(--cream); }
#organize .wt__media { background: linear-gradient(155deg, #FDEBDD 0%, #FADCC6 55%, #F6CFB4 100%); }
.trk {
  width: min(100%, 27rem); padding: 1.1rem 1.15rem 1.2rem; border-radius: 18px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 2px 4px hsl(24 30% 25% / 0.06), 0 30px 60px -32px hsl(24 30% 25% / 0.38); color: #26262A;
}
.trk__top { display: flex; justify-content: space-between; align-items: center; }
.trk__top b { font-size: 1.05rem; font-weight: 800; }
.trk__tabs { display: inline-flex; padding: 3px; border-radius: 999px; background: #F2F1EE; }
.trk__tabs i { font-style: normal; font-size: 0.8125rem; font-weight: 700; padding: 0.3rem 0.8rem; border-radius: 999px; color: #55555C; transition: background-color 200ms, color 200ms; }
.trk__tabs i.is-on { background: #fff; color: #26262A; box-shadow: 0 1px 3px rgb(0 0 0 / 0.12); }
.trk__totals { display: flex; gap: 1.2rem; margin: 0.7rem 0 0.9rem; font-size: 0.8125rem; color: #55555C; }
.trk__totals b { color: #26262A; margin-left: 0.25rem; }
.trk__view { display: none; }
.trk__view.is-on { display: grid; gap: 0.7rem; }
.trk__in { display: flex; align-items: center; min-height: 2.6rem; padding: 0 0.4rem 0 0.8rem; border-radius: 10px; border: 1.5px solid color-mix(in oklab, var(--sc-accent) 55%, white); font-weight: 600; font-size: 0.9rem; }
.trk__in span:empty::before { content: "What are you working on? #thread"; color: #66666E; font-weight: 500; }
.trk__in .caret { height: 1.05em; margin-right: auto; }
.trk__start { font-style: normal; font-weight: 700; font-size: 0.8125rem; padding: 0.4rem 0.8rem; border-radius: 8px; background: var(--sc-accent); color: #26262A; }
.trk__runs { display: grid; gap: 0.45rem; }
.trk__runs li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 0.55rem; padding: 0.55rem 0.7rem; border-radius: 10px; background: #FBF8F4; border: 1px solid #F0ECE6; font-size: 0.875rem; opacity: 0; transform: translateY(-4px); transition: opacity 260ms var(--sc-ease-out), transform 260ms var(--sc-ease-out); }
.trk__runs li.is-in { opacity: 1; transform: none; }
.trk__dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #3E9B5F; box-shadow: 0 0 0 3px rgb(62 155 95 / 0.18); }
.trk__what b { color: #8A4512; font-weight: 700; }
.trk__time { font-variant-numeric: tabular-nums; font-weight: 700; }
.trk__runs em { font-style: normal; font-size: 0.75rem; font-weight: 700; color: #55555C; padding: 0.2rem 0.5rem; border-radius: 6px; border: 1px solid #E3E0DB; }
.trk__meet { padding: 0.7rem; border-radius: 12px; background: #F4F6FA; border: 1px solid #DEE5EF; opacity: 0; transition: opacity 260ms var(--sc-ease-out); }
.trk__meet.is-in { opacity: 1; }
.trk__k { font-size: 0.75rem; font-weight: 700; color: #3F5F86; text-transform: uppercase; letter-spacing: 0.06em; }
.trk__m { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; margin-top: 0.4rem; font-size: 0.875rem; }
.trk__m span { display: grid; color: #55555C; } .trk__m b { color: #26262A; }
.trk__m em { font-style: normal; font-weight: 700; font-size: 0.8125rem; padding: 0.35rem 0.75rem; border-radius: 8px; background: #fff; border: 1px solid #C9D7E8; color: #2E4A6E; transition: background-color 200ms, color 200ms; }
.trk__m em.is-done { background: #3E9B5F; border-color: #3E9B5F; color: #fff; }
.trk__range { display: flex; gap: 0.5rem; font-size: 0.8125rem; color: #55555C; }
.trk__range span { padding: 0.35rem 0.6rem; border-radius: 8px; background: #F6F5F2; } .trk__range b { color: #26262A; margin-left: 0.2rem; }
.trk__seg { display: inline-flex; justify-self: start; padding: 3px; border-radius: 999px; background: #F2F1EE; }
.trk__seg i { font-style: normal; font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.7rem; border-radius: 999px; color: #55555C; }
.trk__seg i.is-on { background: #fff; color: #26262A; }
.trk__bars { display: grid; gap: 0.5rem; }
.trk__bars li { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) 4rem; align-items: center; gap: 0.6rem; font-size: 0.8125rem; }
.trk__bars span { font-weight: 700; color: #8A4512; }
.trk__bars i { height: 0.7rem; border-radius: 6px; background: linear-gradient(90deg, #E8924F, #F2B183); transform-origin: left; transform: scaleX(calc(var(--v) * var(--grow, 0))); }
.trk__bars b { text-align: right; font-variant-numeric: tabular-nums; }
.trk__acts { display: flex; gap: 0.4rem; margin-top: 0.2rem; }
.trk__acts em { font-style: normal; font-size: 0.8125rem; font-weight: 700; padding: 0.4rem 0.75rem; border-radius: 8px; border: 1px solid #E3E0DB; color: #3A3A40; transition: background-color 200ms, color 200ms; }
.trk__acts em.is-hi { border-color: #3F2B3A; color: #3F2B3A; }
.trk__acts em.is-press { background: #3F2B3A; color: #fff; }
.trk__sent { justify-self: start; padding: 0.35rem 0.7rem; border-radius: 8px; background: #EAF5EE; color: #24603A; font-size: 0.8125rem; font-weight: 700; opacity: 0; transition: opacity 260ms; }
.trk__sent.is-in { opacity: 1; }
@media (max-width: 860px) {
  .trk { padding: 0.8rem; } .trk__totals { margin: 0.4rem 0 0.5rem; }
  .trk__view.is-on { gap: 0.45rem; } .trk__runs li { padding: 0.4rem 0.55rem; font-size: 0.8125rem; } .trk__runs em { display: none; }
}

/* =====================================================================
   TIGHTER (revision 7): solid text, less air between sections
   ===================================================================== */
.rv { opacity: 0; transform: none; transition: opacity 450ms var(--sc-ease-out); }
.rv.rv-in { opacity: 1; }
.faq { padding-block: clamp(3rem, 6vw, 4.5rem); }
.close { padding-top: clamp(3rem, 6vw, 4.5rem); }
.next-wrap { margin-top: clamp(1.5rem, 3.5vw, 2.5rem); }
/* panels fit their cards: less empty peach, bigger cards */
@media (min-width: 861px) {
  .wt__media, .wt--flip .wt__media { height: min(calc(100svh - var(--bar-h) - 3rem), 36rem); }
  .wt__in, .wt--flip .wt__in, .cx .wt__in { column-gap: clamp(2rem, 4vw, 3.5rem); }
  .grp__pane { inset: 2.6rem clamp(1rem, 2vw, 1.75rem) clamp(1rem, 2vw, 1.75rem); }
  .grp__pane .tb { width: min(100%, 36rem); }
  .grp__pane .cal { width: min(100%, 28rem); }
  .grp__pane .im { width: min(100%, 30rem); }
  .trk { width: min(100%, 30rem); }
}

/* revision 8: threads second, goals lower */
#threads { background: var(--cream); } #plan { background: var(--cloud); } #track { background: var(--cream); }
#goals { background: var(--cloud); } #capture { background: var(--cream); }
#threads .wt__media, #goals .wt__media { background: linear-gradient(155deg, #FDEBDD 0%, #FADCC6 55%, #F6CFB4 100%); }

/* revision 9: sections fit their content, no empty band between them */
.grp .wt__stage { height: auto; }
.grp .wt__in, .grp.wt--flip .wt__in { height: auto; padding-block: clamp(1rem, 2.5vh, 1.75rem); }
.grp .next-wrap { bottom: 0.75rem; }

/* =====================================================================
   EVEN RHYTHM (revision 10): How it works fits its content like the
   groups, every section has the same room above and below, and each
   ground fades softly out of the one before it.
   ===================================================================== */
.how { position: relative; }
.how__stage { position: sticky; height: auto; padding-block: clamp(1rem, 2.5vh, 1.75rem); }
.how__stage .next-wrap, .wt .next-wrap { position: absolute; top: auto; bottom: 8px; }
.how > .next-wrap { position: absolute; left: 0; right: 0; bottom: 8px; margin: 0; z-index: 2; }
@media (max-width: 860px) { .how > .next-wrap { display: none; } }
:root { --fade: clamp(5rem, 12vh, 9rem); }
#how-it-works, #plan, #goals, .faq { background: linear-gradient(to bottom, var(--cream) 0, var(--cloud) var(--fade)); }
#threads, #track, #capture, .close { background: linear-gradient(to bottom, var(--cloud) 0, var(--cream) var(--fade)); }
.close__sub { margin: 0.9rem auto 0; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); color: var(--sc-ink-soft); }
.close__sub { margin: 1rem 0 0; max-width: 34ch; text-align: left; }
.close { padding-top: clamp(2.5rem, 5vw, 4rem); }
.faq { padding-bottom: clamp(2rem, 4vw, 3rem); }

/* =====================================================================
   THREADS phone: a coded copy of the app screen so a thread can be born
   ===================================================================== */
.ts { --u: calc(var(--w) / 100); background: #F5F5F8; color: #16161A; font-size: calc(var(--u) * 4); line-height: 1.25; }
.ts__bar { position: absolute; inset: 0 0 auto; height: calc(var(--u) * 13); display: flex; align-items: center; justify-content: space-between; padding: 0 calc(var(--u) * 6); background: #fff; font-size: calc(var(--u) * 3.8); font-weight: 600; z-index: 1; }
.ts__bar em { position: absolute; left: 50%; top: calc(var(--u) * 3); translate: -50% 0; width: calc(var(--u) * 25); height: calc(var(--u) * 6.2); border-radius: 999px; background: #111114; }
.ts__bar svg { width: calc(var(--u) * 16); fill: #16161A; }
.ts__nav { position: absolute; inset: calc(var(--u) * 13) 0 auto; height: calc(var(--u) * 16); display: flex; align-items: center; justify-content: space-between; padding: 0 calc(var(--u) * 4); background: #fff; }
.ts__nav svg { width: calc(var(--u) * 5.6); height: calc(var(--u) * 5.6); fill: none; stroke: #55555C; stroke-width: 1.8; stroke-linecap: round; }
.ts__nav span { display: flex; gap: calc(var(--u) * 2); }
.ts__body { position: absolute; inset: calc(var(--u) * 29) 0 0; padding: calc(var(--u) * 5.5) calc(var(--u) * 3.8) 0; overflow: hidden; }
.ts__h { font-size: calc(var(--u) * 6.2); font-weight: 700; display: flex; gap: calc(var(--u) * 2.6); align-items: baseline; }
.ts__h i { font-style: normal; color: #E8791E; }
.ts__s { margin-top: calc(var(--u) * 1.6); font-size: calc(var(--u) * 3.6); color: #7C7C86; }
.ts__add { display: grid; grid-template-columns: minmax(0, 1fr) calc(var(--u) * 16); gap: calc(var(--u) * 2); margin-top: calc(var(--u) * 6.5); height: calc(var(--u) * 12.6); }
.ts__in { display: flex; align-items: center; min-width: 0; padding: 0 calc(var(--u) * 3); background: #fff; border: 1px solid #E2E2E7; border-radius: calc(var(--u) * 3); font-size: calc(var(--u) * 3.5); white-space: nowrap; overflow: hidden; }
.ts__in:has(span:empty):has(b:empty)::before { content: "Add task with #hashtag..."; color: #8A8A92; }
.ts__in b { font-weight: 700; color: #C8610F; }
.ts__in .caret { height: 1.1em; flex: none; }
.ts__add em { display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: calc(var(--u) * 3.5); color: #fff; background: #F0B883; border-radius: calc(var(--u) * 3); transition: background-color 180ms, scale 120ms; }
.ts__add em.is-ready { background: var(--sc-accent); color: #26262A; }
.ts__add em.is-press { scale: 0.93; }
.ts__list { display: grid; gap: calc(var(--u) * 3.6); margin-top: calc(var(--u) * 6); }
.ts__card { padding: calc(var(--u) * 3.6) calc(var(--u) * 4); background: #fff; border: 1px solid #E8E8EC; border-radius: calc(var(--u) * 4); }
.ts__hd { display: flex; align-items: center; gap: calc(var(--u) * 2.4); }
.ts__hd i { width: calc(var(--u) * 2.1); height: calc(var(--u) * 2.1); border-radius: 50%; background: #DEDEE3; }
.ts__hd b { font-size: calc(var(--u) * 4); font-weight: 700; }
.ts__hd span { margin-left: auto; font-size: calc(var(--u) * 3.1); color: #7C7C86; }
.ts__card > u { display: block; height: calc(var(--u) * 1); margin-top: calc(var(--u) * 2.6); border-radius: 9px; background: #E5E5E9; }
.ts__task { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: calc(var(--u) * 2.4); margin-top: calc(var(--u) * 3); font-size: calc(var(--u) * 3.7); }
.ts__task > i { width: calc(var(--u) * 3.8); height: calc(var(--u) * 3.8); margin-top: calc(var(--u) * 0.2); border-radius: 50%; border: 1px solid #BDBDC4; }
.ts__task small { display: block; margin-top: calc(var(--u) * 0.8); font-size: calc(var(--u) * 2.8); color: #7C7C86; }
/* the new thread opens in place and pushes the others down */
.ts__new, .ts__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 380ms var(--sc-ease-out), opacity 300ms var(--sc-ease-out); }
.ts__new > *, .ts__more > * { min-height: 0; overflow: hidden; }
.ts__new.is-in, .ts__more.is-in { grid-template-rows: 1fr; opacity: 1; }
.ts__new { margin-bottom: calc(var(--u) * -3.6); }
.ts__new.is-in { margin-bottom: 0; }
.ts__card.ts__card--new { border-color: var(--sc-accent); padding-block: 0; transition: padding 380ms var(--sc-ease-out); }
.ts__new.is-in .ts__card--new { padding-block: calc(var(--u) * 3.6); }
.ts__card--new .ts__hd i { background: var(--sc-accent); }
.ts__home { position: absolute; left: 50%; bottom: calc(var(--u) * 2); translate: -50% 0; width: calc(var(--u) * 28); height: calc(var(--u) * 1); border-radius: 9px; background: #16161A; }
/* phones always fit inside their panel */
@media (min-width: 861px) {
  .wt__media, .wt--flip .wt__media { height: min(calc(100svh - var(--bar-h) - 3rem), 38rem); }
  .grp__pane .phone { --w: min(14.6rem, calc((100svh - var(--bar-h) - 7.6rem) * 0.44)); }
  .grp__pane--fx .fx-media .phone { --w: min(13.5rem, calc((100svh - var(--bar-h) - 7.6rem) * 0.42)); }
}
.ts__in span, .ts__in b { white-space: pre; }
.ts__in::before { order: 2; }

/* nav links jump, they don't scroll past everything */
html { scroll-behavior: auto; scroll-padding-top: 0; }
.faq, .close { scroll-margin-top: var(--bar-h); }
