/* ============================================================
   TRACE — landing page styles
   Tokens: light on :root, dark redefines tokens only.
   ============================================================ */
:root {
  --bg:        #ffffff;
  --bg-alt:    #f5f5f7;
  --tile:      #ffffff;
  --tile-deep: #1d1d1f;
  --ink:       #1d1d1f;
  --ink-2:     #6e6e73;
  --ink-3:     #86868b;
  --hair:      rgba(0,0,0,.12);
  --hair-soft: rgba(0,0,0,.06);
  --link:      #0066cc;
  --field-bg:  #ffffff;
  --field-hair:rgba(0,0,0,.22);
  --nav-bg:    rgba(255,255,255,.72);
  --shadow:    0 4px 24px rgba(0,0,0,.05);

  /* Fixed dark-band tokens */
  --dk-bg:     #000000;
  --dk-ink:    #f5f5f7;
  --dk-ink-2:  #a1a1a6;
  --dk-ink-3:  #6e6e73;
  --dk-hair:   rgba(255,255,255,.16);
  --dk-link:   #2997ff;
  --dk-nav:    rgba(0,0,0,.62);

  /* The trail — origin to off-ramp (hero headline + canvas only) */
  --t-blue:    #0090f7;
  --t-purple:  #ba62fc;
  --t-pink:    #f2416b;
  --t-orange:  #ff9f0a;
  --t-green:   #30d158;
  --trail:     linear-gradient(93deg, var(--t-blue) 0%, var(--t-purple) 34%, var(--t-pink) 68%, var(--t-orange) 100%);

  /* Tile washes (Apple pastel logic: airy in light, deep in dark) */
  --wash-blue:   #e8f2ff;
  --wash-purple: #f2ecfd;
  --wash-pink:   #ffecf2;
  --wash-orange: #fff2e2;
  --wash-green:  #e8f8ee;
  --icon-blue:   #0071e3;
  --icon-purple: #9d4edd;
  --icon-pink:   #e0315e;
  --icon-orange: #e8890c;
  --icon-green:  #1f9d4d;

  --accent:    #0071e3;
  --accent-hi: #0077ed;

  /* Apple pairs SF Pro Display (>= 19px) with SF Pro Text (< 19px) */
  --sans-display: "SF Pro Display", -apple-system, BlinkMacSystemFont,
                  "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans-text:    "SF Pro Text", -apple-system, BlinkMacSystemFont,
                  "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --w: 1040px;
  --gut: 22px;
  --r: 28px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:        #000000;
    --bg-alt:    #101013;
    --tile:      #1c1c1f;
    --tile-deep: #1c1c1f;
    --ink:       #f5f5f7;
    --ink-2:     #a1a1a6;
    --ink-3:     #86868b;
    --hair:      rgba(255,255,255,.16);
    --hair-soft: rgba(255,255,255,.08);
    --link:      #2997ff;
    --field-bg:  #232326;
    --field-hair:rgba(255,255,255,.26);
    --nav-bg:    rgba(10,10,12,.66);
    --shadow:    0 4px 24px rgba(0,0,0,.4);
    --wash-blue:   #16324f;
    --wash-purple: #2c1d4d;
    --wash-pink:   #43172a;
    --wash-orange: #3d2d10;
    --wash-green:  #12351f;
    --icon-blue:   #409cff;
    --icon-purple: #bf7af0;
    --icon-pink:   #ff6482;
    --icon-orange: #ffb340;
    --icon-green:  #30d158;
  }
}
:root[data-theme="dark"] {
  --bg:        #000000;
  --bg-alt:    #101013;
  --tile:      #1c1c1f;
  --tile-deep: #1c1c1f;
  --ink:       #f5f5f7;
  --ink-2:     #a1a1a6;
  --ink-3:     #86868b;
  --hair:      rgba(255,255,255,.16);
  --hair-soft: rgba(255,255,255,.08);
  --link:      #2997ff;
  --field-bg:  #232326;
  --field-hair:rgba(255,255,255,.26);
  --nav-bg:    rgba(10,10,12,.66);
  --shadow:    0 4px 24px rgba(0,0,0,.4);
  --wash-blue:   #16324f;
  --wash-purple: #2c1d4d;
  --wash-pink:   #43172a;
  --wash-orange: #3d2d10;
  --wash-green:  #12351f;
  --icon-blue:   #409cff;
  --icon-purple: #bf7af0;
  --icon-pink:   #ff6482;
  --icon-orange: #ffb340;
  --icon-green:  #30d158;
}

/* ============================================================
   BASE
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
section[id], header[id] { scroll-margin-top: 54px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans-text);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,h2,h3,h4 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* Apple type ramp — values measured from apple.com:
   80/84 -.015em 600 · 56/60 -.005em 600 · 28/32 +.007em 600 ·
   21/29 +.011em 400 · 17/25 -.022em · 14/20 -.016em · 12/16 -.01em      */
.t-hero {
  font-family: var(--sans-display);
  font-size: clamp(48px, 7.5vw, 80px);
  line-height: 1.05; letter-spacing: -.015em; font-weight: 600;
}
.t-sec  {
  font-family: var(--sans-display);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.0715; letter-spacing: -.005em; font-weight: 600;
}
.t-sub  {
  font-size: clamp(19px, 2.2vw, 21px);
  line-height: 1.381; letter-spacing: .011em; font-weight: 400;
}
.t-tile {
  font-family: var(--sans-display);
  font-size: clamp(24px, 2.6vw, 28px);
  line-height: 1.1429; letter-spacing: .007em; font-weight: 600;
}

.grad {
  background: var(--trail);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradpan 9s ease-in-out infinite alternate;   /* living gradient, Apple Intelligence-style */
}
@keyframes gradpan {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

/* Skip link — hidden until keyboard focus, Apple-style */
.skip {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  background: var(--accent); color: #fff;
  padding: 10px 18px; border-radius: 980px; font-size: 14px;
  transform: translateY(-64px);
  transition: transform .2s ease;
}
.skip:focus { transform: none; text-decoration: none; outline-offset: 1px; }

/* Footnote markers — Apple's sup-link pattern */
.fnref { font-size: 55%; line-height: 0; vertical-align: baseline; position: relative; top: -.7em; }
.fnref a { color: inherit; opacity: .75; text-decoration: none; }
.fnref a:hover { color: var(--link); opacity: 1; text-decoration: none; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.dim { color: var(--ink-2); }

.wrap { max-width: var(--w); margin-inline: auto; padding-inline: var(--gut); }
.band { padding-block: clamp(64px, 9vw, 120px); }
.band--alt { background: var(--bg-alt); }
.band--dark { background: var(--dk-bg); color: var(--dk-ink); }

.sechead { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 72px); }
.sechead .t-sub { color: var(--ink-2); margin-top: 14px; }
/* Apple's coloured section eyebrows — measured 24px w600 in the product
   accent; ours take the trail stage each section belongs to */
.eyebrow {
  display: block;
  font-family: var(--sans-display);
  font-size: 24px; font-weight: 600; letter-spacing: .009em;
  line-height: 1.1667;
  margin-bottom: 14px;
  color: var(--ink-3);
}
#what   .eyebrow { color: var(--icon-blue); }
#how    .eyebrow { color: var(--icon-purple); }
#limits .eyebrow { color: var(--icon-pink); }
#send   .eyebrow { color: var(--icon-orange); }
#report .eyebrow { color: var(--icon-green); }

/* Buttons — Apple solid pills: 17px, 11/21 padding, hover tint only */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-size: 17px; letter-spacing: -.022em; line-height: 1.17648;
  padding: 11px 21px; border-radius: 980px; border: 0;
  background: var(--accent); color: #fff; cursor: pointer;
  transition: background .2s ease;
  text-decoration: none;
}
.btn:hover { background: var(--accent-hi); text-decoration: none; }
.btn:active { filter: brightness(.94); }
.linkarrow { font-size: 17px; display: inline-flex; align-items: baseline; gap: 3px; }
.linkarrow::after { content: "\203A"; font-size: 1.15em; line-height: 1; }
.btnrow { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: center; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: 44px; display: flex; align-items: center;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: var(--dk-nav);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.nav__in {
  max-width: var(--w); margin-inline: auto; padding-inline: var(--gut);
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 28px;
  position: relative;   /* CTA pins to the right; links stay dead-centre */
}
.nav__links { display: flex; gap: 24px; align-items: center; }
@media (max-width: 700px) { .nav__links { display: none; } }
.nav a.nav__link {
  font-size: 12px; letter-spacing: -.01em;
  color: var(--dk-ink-2);
  transition: color .25s ease;
}
.nav a.nav__link:hover { color: var(--dk-ink); text-decoration: none; }
.nav.is-solid { background: var(--nav-bg); border-bottom-color: var(--hair-soft); }
.nav.is-solid a.nav__link { color: var(--ink-2); }
.nav.is-solid a.nav__link:hover { color: var(--ink); }

/* Scrollspy state — current section's link brightens */
.nav a.nav__link.is-current { color: var(--dk-ink); }
.nav.is-solid a.nav__link.is-current { color: var(--ink); }

/* Localnav CTA — Apple's small "Buy" pill; slides in once you scroll past the hero CTA */
.btn.nav__cta {
  position: absolute; right: var(--gut); top: 50%;
  font-size: 12px; letter-spacing: -.01em;
  padding: 4px 11px; line-height: 1.33337;
  opacity: 0; transform: translateY(calc(-50% + 5px)); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background .2s ease;
}
.nav.nav--scrolled .nav__cta { opacity: 1; transform: translateY(-50%); pointer-events: auto; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--dk-bg); color: var(--dk-ink);
  padding-top: calc(44px + clamp(52px, 8vw, 88px));
  overflow: hidden;
}
.hero__copy { text-align: center; max-width: 780px; margin-inline: auto; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; letter-spacing: -.016em; color: var(--dk-ink-2);
  border: 1px solid var(--dk-hair); border-radius: 980px;
  padding: 7px 16px; margin-bottom: 28px;
}
.hero__badge b {
  color: var(--t-green);
  font-weight: 700;
}
.hero__sub { color: var(--dk-ink-2); margin-top: 22px; }
.hero .btnrow { margin-top: 32px; }
.hero .linkarrow { color: var(--dk-link); }

/* Hero entrance — one orchestrated timeline, Apple product-page style */
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.hero__badge      { animation: rise .8s cubic-bezier(.28,.11,.32,1) .05s both; }
/* rise + the living gradient share the shorthand — a lone `animation: rise`
   would silently cancel gradpan from .grad */
.hero .t-hero     { animation: rise .9s cubic-bezier(.28,.11,.32,1) .15s both,
                               gradpan 9s ease-in-out infinite alternate; }
.hero__sub        { animation: rise .9s cubic-bezier(.28,.11,.32,1) .28s both; }
.hero .btnrow     { animation: rise .9s cubic-bezier(.28,.11,.32,1) .40s both; }
.hero__note       { animation: rise .9s cubic-bezier(.28,.11,.32,1) .50s both; }
.trace            { animation: rise 1.1s cubic-bezier(.28,.11,.32,1) .55s both; }

.hero__note {
  margin-top: 18px;
  font-size: 14px; letter-spacing: -.016em;
  color: var(--dk-ink-3);
}

.trace { margin-top: clamp(30px, 5vw, 56px); position: relative; }
.trace__canvas { will-change: transform, opacity; }
.trace__canvas {
  display: block; width: 100%;
  height: clamp(240px, 32vw, 360px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.trace__cap {
  text-align: center; color: var(--dk-ink-3);
  padding: 12px var(--gut) clamp(48px, 7vw, 80px);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0;
}

/* ============================================================
   $0 STATEMENT
   ============================================================ */
.zero { text-align: center; }
/* Apple-style scroll scrub: app.js drives blur, scale and the £-countdown
   directly from scroll position — no clock, no transition. These are the
   resting states for before-scrub and for the ?flat fallback. */
.zero.rv-group > .zero__num {
  opacity: 0; transform: scale(1.4); filter: blur(24px);
  transition: none;
}
.zero.rv-group.is-in > .zero__num { opacity: 1; transform: none; filter: blur(0); }
.zero__num {
  font-family: var(--sans-display);
  font-size: clamp(120px, 22vw, 260px);
  font-weight: 600; line-height: .95; letter-spacing: -.02em;
  color: var(--icon-green);
  font-variant-numeric: tabular-nums;   /* steady digits while counting down */
}
/* mid-countdown "£1,500" is six glyphs — keep it on-screen on phones */
@media (max-width: 620px) {
  .zero__num { font-size: clamp(64px, 24vw, 120px); }
}
.zero h2 { margin-top: 10px; }
.zero .t-sub { color: var(--ink-2); margin-top: 14px; max-width: 560px; margin-inline: auto; }

/* ============================================================
   BENTO
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  grid-column: span 2;
  background: var(--tile);
  border-radius: var(--r);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--hair-soft);
  display: flex; flex-direction: column; gap: 8px;
  overflow: hidden;
}
.tile--3 { grid-column: span 3; }
.tile--6 { grid-column: span 6; }
@media (max-width: 900px) {
  .tile, .tile--3 { grid-column: span 3; }
  .tile--6 { grid-column: span 6; }
}
@media (max-width: 620px) {
  .tile, .tile--3, .tile--6 { grid-column: span 6; }
}
.tile p { color: var(--ink-2); font-size: 17px; line-height: 1.47059; letter-spacing: -.022em; }
.tile__art {
  margin: -30px -30px 18px;
  padding: 26px 30px 22px;
  display: flex; align-items: center; justify-content: center;
  height: 210px;                    /* identical art band on every card */
  flex: none;
}
@media (max-width: 620px) { .tile__art { height: 180px; } }
.tile__art svg { width: 100%; height: auto; display: block; max-height: 150px; }
.tile p { margin-top: 2px; }
.art--blue   { background: var(--wash-blue); }
.art--purple { background: var(--wash-purple); }
.art--pink   { background: var(--wash-pink); }
.art--orange { background: var(--wash-orange); }
.art--green  { background: var(--wash-green); }

/* Highlights strip — Apple stat-row pattern, no invented metrics */
.stats {
  margin-top: clamp(34px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  text-align: center;
}
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; gap: 28px 16px; } }
.stats li { display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--hair-soft); }
.stats li:first-child { border-left: 0; }
@media (max-width: 760px) { .stats li { border-left: 0; } }
.stats__num {
  font-family: var(--sans-display);
  font-size: clamp(36px, 4.5vw, 48px);
  font-weight: 600; line-height: 1.0834; letter-spacing: -.003em;
}
.stats__label { font-size: 14px; line-height: 1.4286; letter-spacing: -.016em; color: var(--ink-2); }

/* cluster nodes breathe in sequence */
.nodep { animation: nodepulse 3.2s ease-in-out infinite; }
.n2 { animation-delay: .4s; }
.n3 { animation-delay: .8s; }
.n4 { animation-delay: 1.2s; }
@keyframes nodepulse {
  0%, 100% { fill-opacity: .45; }
  50%      { fill-opacity: 1; }
}

/* funnel lines flow into the off-ramp */
.flowpath {
  stroke-dasharray: 7 11;
  animation: flow 1.5s linear infinite;
}
@keyframes flow {
  from { stroke-dashoffset: 36; }
  to   { stroke-dashoffset: 0; }
}

/* coin row (crypto tile) — coins bob like floating product shots */
.coins { display: flex; }
.coin {
  width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 34px; font-weight: 700; color: #fff;
  border: 4px solid var(--tile);
  margin-left: -18px;
  animation: bob 4.6s ease-in-out infinite;
}
.coin:first-child { margin-left: 0; }
.coin:nth-child(2) { animation-delay: .7s; }
.coin:nth-child(3) { animation-delay: 1.4s; }
/* Dimensional coins: top-left light source, rim shading, soft cast shadow
   (Apple's shadow recipe: large blur, low opacity) */
.coin--btc { background: radial-gradient(130% 130% at 30% 22%, #ffbe66, #f7931a 54%, #d67a06); }
.coin--eth { background: radial-gradient(130% 130% at 30% 22%, #98a9f6, #627eea 54%, #4a63cf); }
.coin--usdt{ background: radial-gradient(130% 130% at 30% 22%, #55d6a4, #26a17b 54%, #1a7f60); }
.coin {
  box-shadow: inset 0 1px 1px rgba(255,255,255,.5),
              inset 0 -8px 14px rgba(0,0,0,.16),
              4px 12px 30px rgba(0,0,0,.16);
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* payment card (fiat tile) — Apple Card treatment: white titanium, sheen,
   soft large-blur shadow (measured off apple.com/apple-card: ~9% opacity) */
.paycard {
  width: min(240px, 80%); aspect-ratio: 1.586;
  border-radius: 16px;
  background: linear-gradient(150deg, #ffffff 0%, #f2f3f6 55%, #e3e5ea 100%);
  padding: 16px; position: relative;
  box-shadow: 4px 16px 44px 4px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.08);
  color: #86868b;
  animation: cardfloat 7s ease-in-out infinite;
}
.paycard::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(118deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,0) 42%);
  pointer-events: none;
}
@keyframes cardfloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-7px) rotate(-1.4deg); }
}
.paycard__chip {
  width: 34px; height: 25px; border-radius: 6px;
  background: linear-gradient(135deg, #eccf7f, #d0a844);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.55), inset 0 -1px 2px rgba(0,0,0,.18);
}
.paycard__num {
  position: absolute; left: 16px; bottom: 34px;
  font-family: var(--mono); font-size: 14px; letter-spacing: .14em;
  color: #6e6e73;
}
.paycard__row {
  position: absolute; left: 16px; right: 16px; bottom: 13px;
  display: flex; justify-content: space-between;
  font-size: 9px; letter-spacing: .06em; text-transform: uppercase;
  color: #86868b;
}

/* ============================================================
   STEPS PIPELINE
   ============================================================ */
.pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.pipe::before {
  content: "";
  position: absolute; top: 37px; left: 12.5%; right: 12.5%;  /* first icon centre → last icon centre */
  height: 2px;
  background: var(--hair);
  transform: scaleX(0); transform-origin: left center;  /* draws itself on reveal */
  transition: transform 1.1s cubic-bezier(.28,.11,.32,1) .15s;
}
.pipe.is-in::before { transform: scaleX(1); }

/* Steps cascade in after the line starts drawing */
.pipe .pstep { opacity: 0; transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.28,.11,.32,1), transform .8s cubic-bezier(.28,.11,.32,1); }
.pipe.is-in .pstep { opacity: 1; transform: none; }
.pipe.is-in .pstep:nth-of-type(2) { transition-delay: .12s; }
.pipe.is-in .pstep:nth-of-type(3) { transition-delay: .24s; }
.pipe.is-in .pstep:nth-of-type(4) { transition-delay: .36s; }

/* One pulse travels the full line, linear so its position matches the
   glow keyframes below: circle centers sit at 12.5 / 37.5 / 62.5 / 87.5%.
   The clock starts only when the section reveals, so dot and glows stay in phase. */
.pipe__pulse {
  position: absolute; top: 33px; left: 0;
  width: 10px; height: 10px; border-radius: 50%;
  opacity: 0;
}
.pipe.is-in .pipe__pulse { animation: travel 7s linear 1.3s infinite; }
/* Dot runs first-icon centre → last-icon centre; icon hits at 0/33.3/66.7/100 */
@keyframes travel {
  0%     { left: 12.5%; opacity: 0;
           background: var(--icon-blue);
           box-shadow: 0 0 12px 2px color-mix(in srgb, var(--icon-blue) 45%, transparent); }
  4%     { opacity: 1; }
  33.33% { background: var(--icon-purple);
           box-shadow: 0 0 12px 2px color-mix(in srgb, var(--icon-purple) 45%, transparent); }
  66.67% { background: var(--icon-pink);
           box-shadow: 0 0 12px 2px color-mix(in srgb, var(--icon-pink) 45%, transparent); }
  96%    { opacity: 1; }
  100%   { left: calc(87.5% - 10px); opacity: 0;
           background: var(--icon-orange);
           box-shadow: 0 0 12px 2px color-mix(in srgb, var(--icon-orange) 45%, transparent); }
}

/* Each circle blooms in its icon color as the pulse passes its center;
   same 7s/1.3s clock as the pulse so they can never drift out of sync */
.pipe.is-in .pstep:nth-of-type(1) .pstep__ico { animation: glow-1 7s linear 1.3s infinite; }
.pipe.is-in .pstep:nth-of-type(2) .pstep__ico { animation: glow-2 7s linear 1.3s infinite; }
.pipe.is-in .pstep:nth-of-type(3) .pstep__ico { animation: glow-3 7s linear 1.3s infinite; }
.pipe.is-in .pstep:nth-of-type(4) .pstep__ico { animation: glow-4 7s linear 1.3s infinite; }
@keyframes glow-1 {
  0%, 9%, 100% { box-shadow: var(--shadow); }
  2.5% { box-shadow: 0 0 0 1px color-mix(in srgb, var(--icon-blue) 55%, transparent),
                     0 0 26px 5px color-mix(in srgb, var(--icon-blue) 40%, transparent); }
}
@keyframes glow-2 {
  0%, 27%, 40%, 100% { box-shadow: var(--shadow); }
  33.33% { box-shadow: 0 0 0 1px color-mix(in srgb, var(--icon-purple) 55%, transparent),
                       0 0 26px 5px color-mix(in srgb, var(--icon-purple) 40%, transparent); }
}
@keyframes glow-3 {
  0%, 60%, 73.5%, 100% { box-shadow: var(--shadow); }
  66.67% { box-shadow: 0 0 0 1px color-mix(in srgb, var(--icon-pink) 55%, transparent),
                       0 0 26px 5px color-mix(in srgb, var(--icon-pink) 40%, transparent); }
}
@keyframes glow-4 {
  0%, 91%, 100% { box-shadow: var(--shadow); }
  97.5% { box-shadow: 0 0 0 1px color-mix(in srgb, var(--icon-orange) 55%, transparent),
                      0 0 26px 5px color-mix(in srgb, var(--icon-orange) 40%, transparent); }
}
/* The How section runs dark in both themes — Apple's mid-page "pro" moment */
.band--dark .eyebrow { color: var(--dk-ink-3); }
.band--dark .sechead .t-sub { color: var(--dk-ink-2); }
.band--dark .pipe::before { background: var(--dk-hair); }
.band--dark .pstep__ico { background: #1c1c1f; border-color: rgba(255,255,255,.08); }
.band--dark .pstep h3 { color: var(--dk-ink); }
.band--dark .pstep p { color: var(--dk-ink-2); }
.band--dark .pstep__who { color: var(--dk-ink-3); }

.pstep { text-align: center; position: relative; padding-top: 0; }
.pstep__ico {
  width: 74px; height: 74px; border-radius: 50%;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  background: var(--tile);
  border: 1px solid var(--hair-soft);
  box-shadow: var(--shadow);
  position: relative; z-index: 1;
}
.pstep__ico svg { width: 32px; height: 32px; }
.pstep h3 {
  font-family: var(--sans-display);
  font-size: 21px; line-height: 1.1905; letter-spacing: .011em;
}
.pstep p { color: var(--ink-2); font-size: 14px; line-height: 1.4286; letter-spacing: -.016em; margin-top: 6px; }
.pstep__who {
  display: inline-block; margin-bottom: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .066em; text-transform: uppercase;
  color: var(--ink-3);
}
@media (max-width: 760px) {
  .pipe { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .pipe::before, .pipe__pulse { display: none; }
  .pstep .pstep__ico { animation: none; }   /* no dot, no glow */
}
@media (max-width: 400px) { .pipe { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .pipe__pulse { display: none; }
}

/* ============================================================
   CAN / CAN'T
   ============================================================ */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }
.pane {
  border-radius: var(--r); padding: 34px;
  background: var(--tile); border: 1px solid var(--hair-soft);
  box-shadow: var(--shadow);
}
.pane h3 {
  font-family: var(--sans-display);
  font-size: 24px; line-height: 1.1667; letter-spacing: .009em;
  margin-bottom: 22px;
}
.pane ul { display: flex; flex-direction: column; gap: 18px; }
.pane li {
  display: grid; grid-template-columns: 24px 1fr; gap: 12px;
  font-size: 17px; line-height: 1.47059; letter-spacing: -.022em; color: var(--ink-2);
  align-items: start;
}
.pane li b { color: var(--ink); font-weight: 600; }
.mk {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  margin-top: 2px;
}
.mk--y { background: var(--wash-green);  color: var(--icon-green); }
.mk--n { background: var(--wash-orange); color: var(--icon-orange); }

.warn {
  margin-top: 16px; border-radius: var(--r); padding: 26px 34px;
  background: var(--tile); border: 1px solid var(--hair-soft);
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: center;
}
.warn__i {
  width: 34px; height: 34px; border-radius: 50%;
  background: #e8890c;
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 17px;
}
.warn h4 { font-size: 17px; letter-spacing: -.022em; }
.warn p { color: var(--ink-2); font-size: 14px; line-height: 1.4286; letter-spacing: -.016em; margin-top: 4px; }

/* ============================================================
   COMPARE — Apple compare-grid: 14px semibold facts, hairline rows,
   the "this one" column carried on a tinted wash
   ============================================================ */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; }
.compare th, .compare td {
  text-align: left; vertical-align: top;
  padding: 16px 18px;
  font-size: 14px; line-height: 1.4286; letter-spacing: -.016em;
}
.compare thead th {
  font-size: 17px; letter-spacing: -.022em; font-weight: 600; color: var(--ink);
  padding-top: 0;
}
.compare thead th:first-child, .compare tbody th[scope="row"] { padding-left: 0; }
.compare tbody th[scope="row"] { font-weight: 600; color: var(--ink); width: 18%; }
.compare tbody td { color: var(--ink-2); }
.compare tbody tr { border-top: 1px solid var(--hair-soft); }
.compare .hl { background: var(--wash-blue); }
.compare td.hl { color: var(--ink); font-weight: 600; }
.compare thead th.hl { color: var(--icon-blue); border-radius: 14px 14px 0 0; }
.compare tbody tr:last-child td.hl { border-radius: 0 0 14px 14px; }

/* ============================================================
   EVIDENCE CHIPS
   ============================================================ */
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .chips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 430px) { .chips { grid-template-columns: 1fr; } }
.chip {
  background: var(--tile); border: 1px solid var(--hair-soft);
  border-radius: 22px; padding: 22px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 6px;
}
.chip__ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 6px;
}
.chip__ico svg { width: 22px; height: 22px; }
.chip h4 { font-size: 17px; line-height: 1.2353; letter-spacing: -.022em; }
.chip p { font-size: 14px; line-height: 1.4286; letter-spacing: -.016em; color: var(--ink-3); }
.chip .best {
  display: inline-block; vertical-align: 2px;
  font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  background: var(--accent); color: #fff;
  border-radius: 980px; padding: 2px 9px; margin-left: 7px;
}
.ci--blue   { background: var(--wash-blue);   color: var(--icon-blue); }
.ci--purple { background: var(--wash-purple); color: var(--icon-purple); }
.ci--pink   { background: var(--wash-pink);   color: var(--icon-pink); }
.ci--orange { background: var(--wash-orange); color: var(--icon-orange); }
.ci--green  { background: var(--wash-green);  color: var(--icon-green); }

/* ============================================================
   FAQ — Apple's accordion pattern: hairline rows, 24px questions,
   rotating plus. Native <details name="faq"> = exclusive open, no JS.
   ============================================================ */
.faq { max-width: 720px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--hair); }
.faq details:last-of-type { border-bottom: 1px solid var(--hair); }
.faq summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 2px;
  font-family: var(--sans-display);
  font-size: clamp(19px, 2.2vw, 24px); line-height: 1.1667; letter-spacing: .009em;
  font-weight: 600; color: var(--ink);
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 30px; font-weight: 300; line-height: 1;
  color: var(--ink-3); flex: none;
  transition: transform .3s cubic-bezier(.28,.11,.32,1);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p {
  padding: 0 2px 24px;
  color: var(--ink-2);
  max-width: 62ch;
}
.faq details[open] > p { animation: faqin .4s cubic-bezier(.28,.11,.32,1); }
@keyframes faqin {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   REPORT FORM
   ============================================================ */
.form {
  background: var(--tile); border: 1px solid var(--hair-soft);
  border-radius: var(--r); padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 22px;
  max-width: 780px; margin-inline: auto;
}
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .fgrid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend {
  font-size: 14px; font-weight: 600; color: var(--ink-2); letter-spacing: -.016em;
  padding: 0; margin-bottom: 0;
}
fieldset.field > legend { margin-bottom: 7px; }
.field input[type="text"], .field select, .field textarea {
  font: inherit; font-size: 17px; color: var(--ink);
  background: var(--field-bg);
  border: 1px solid var(--field-hair);
  border-radius: 12px; padding: 12px 14px; width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
.field select { appearance: none; cursor: pointer; padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
                    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 19px) calc(50% + 1px), calc(100% - 14px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,113,227,.16);
}
.pills { display: flex; flex-wrap: wrap; gap: 9px; }
.pill { position: relative; }
.pill input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pill span {
  display: inline-block; font-size: 14px; letter-spacing: -.016em; color: var(--ink-2);
  border: 1px solid var(--field-hair); border-radius: 980px;
  padding: 8px 15px; cursor: pointer; user-select: none;
  transition: all .18s ease;
}
.pill:has(input:checked) span {
  background: var(--accent); border-color: var(--accent); color: #fff;
  animation: pillpop .28s cubic-bezier(.28,.11,.32,1);
}
@keyframes pillpop {
  0% { transform: scale(.94); }
  60% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.pill:has(input:focus-visible) span { outline: 3px solid var(--accent); outline-offset: 2px; }
.formnote { font-size: 12px; line-height: 1.33337; letter-spacing: -.01em; color: var(--ink-3); }

.out { display: none; flex-direction: column; gap: 14px; }
.out.is-open { display: flex; }
.out__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.out__acts { display: flex; gap: 8px; }
.out pre {
  margin: 0; background: #101014; color: #c9c9ce;
  border-radius: 16px; padding: 22px;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.62;
  white-space: pre-wrap; word-break: break-word;
  border: 1px solid rgba(255,255,255,.14);
}
.btn--small { font-size: 14px; padding: 8px 16px; }
.btn--quiet { background: transparent; color: var(--link); border: 1px solid var(--field-hair); }
.btn--quiet:hover { background: var(--bg-alt); }

/* ============================================================
   CLOSER + FOOTER
   ============================================================ */
.closer { text-align: center; }
.closer h2 {
  font-family: var(--sans-display);
  font-size: clamp(36px, 5.5vw, 56px);
  line-height: 1.0715; letter-spacing: -.005em;
}
.closer .t-sub { color: var(--dk-ink-2); margin-top: 16px; max-width: 560px; margin-inline: auto; }
.closer .btnrow { margin-top: 30px; }

.foot {
  background: var(--bg-alt); padding-block: 40px;
  font-size: 12px; line-height: 1.33337; letter-spacing: -.01em; color: var(--ink-3);
}
.footnotes {
  list-style: decimal; margin: 0 0 24px; padding-left: 18px;
  max-width: 820px; display: flex; flex-direction: column; gap: 8px;
}
.footnotes li { padding-left: 4px; border-radius: 6px; }
.footnotes li:target { color: var(--ink); animation: fnflash 1.6s ease .1s both; }
@keyframes fnflash {
  0%   { background: color-mix(in srgb, var(--accent) 14%, transparent); }
  100% { background: transparent; }
}
.foot__rule { height: 1px; background: var(--hair-soft); margin-bottom: 22px; }
.foot__fine { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.foot__fine b { color: var(--ink-2); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 22px; }
.foot__nav a { color: var(--ink-2); font-size: 12px; }

/* ============================================================
   XL DESKTOP (≥1440px) — Apple's "elevated" tier: wider wrap,
   bigger display sizes, denser graphics, more air between bands
   ============================================================ */
@media (min-width: 1440px) {
  :root { --w: 1200px; }
  .nav { height: 56px; }
  .nav__links { gap: 30px; }
  .nav a.nav__link { font-size: 14px; }
  .btn.nav__cta { font-size: 14px; padding: 6px 14px; }
  section[id], header[id] { scroll-margin-top: 66px; }
  .hero { padding-top: calc(56px + clamp(52px, 8vw, 88px)); }
  .t-hero { font-size: clamp(80px, 5.5vw, 96px); }
  .t-sec, .closer h2 { font-size: 64px; line-height: 1.0625; letter-spacing: -.009em; }
  .hero__copy { max-width: 860px; }
  .band { padding-block: 150px; }
  .sechead { max-width: 800px; margin-bottom: 84px; }

  .bento { gap: 18px; }
  .tile { padding: 34px; }
  .tile__art { margin: -34px -34px 20px; height: 240px; }
  .tile__art svg { max-height: 175px; }
  .coin { width: 96px; height: 96px; font-size: 38px; }
  .paycard { width: 264px; }

  .stats__num { font-size: 56px; }
  .zero__num { font-size: min(22vw, 300px); }

  .pstep__ico { width: 84px; height: 84px; }
  .pstep__ico svg { width: 36px; height: 36px; }
  .pipe::before { top: 42px; }
  .pipe__pulse { top: 38px; }

  .chip { padding: 26px; }
}

/* ============================================================
   REVEAL — solo elements (.rv) and staggered groups (.rv-group)
   ============================================================ */
.rv { opacity: 0; transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.28,.11,.32,1), transform .8s cubic-bezier(.28,.11,.32,1); }
.rv.is-in { opacity: 1; transform: none; }

.rv-group > * { opacity: 0; transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.28,.11,.32,1), transform .8s cubic-bezier(.28,.11,.32,1); }
.rv-group.is-in > * { opacity: 1; transform: none; }
.rv-group.is-in > :nth-child(2) { transition-delay: .07s; }
.rv-group.is-in > :nth-child(3) { transition-delay: .14s; }
.rv-group.is-in > :nth-child(4) { transition-delay: .21s; }
.rv-group.is-in > :nth-child(5) { transition-delay: .28s; }
.rv-group.is-in > :nth-child(6) { transition-delay: .35s; }
.rv-group.is-in > :nth-child(7) { transition-delay: .42s; }
.rv-group.is-in > :nth-child(8) { transition-delay: .49s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important;
      transition-delay: 0s !important; animation-delay: 0s !important; }
  .rv, .rv-group > * { opacity: 1; transform: none; }
  .trace__canvas { transform: none !important; opacity: 1 !important; }
  .zero.rv-group > .zero__num { opacity: 1; transform: none; filter: none; }
}

/* ============================================================
   HIGH CONTRAST — respect prefers-contrast like Apple does
   ============================================================ */
@media (prefers-contrast: more) {
  :root {
    --hair: rgba(0,0,0,.34);
    --hair-soft: rgba(0,0,0,.2);
    --ink-2: #48484c;
    --ink-3: #56565a;
  }
}
@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --hair: rgba(255,255,255,.38);
    --hair-soft: rgba(255,255,255,.24);
    --ink-2: #c7c7cc;
    --ink-3: #b0b0b5;
  }
}

/* ============================================================
   PRINT — a victim printing this page (or their summary) for
   the bank or police gets clean black-on-white
   ============================================================ */
@media print {
  .nav, .skip, .trace, .btnrow, .hero__note, .hero__badge,
  .pipe__pulse, .foot__nav, .linkarrow, .out__head .btn { display: none !important; }
  body, .band, .band--alt, .band--dark, .hero, .foot { background: #fff !important; color: #000 !important; }
  .band { padding-block: 28px; }
  .hero { padding-top: 12px; }
  .grad { background: none; color: #000; }
  .band--dark *, .hero *, .closer * { color: #000 !important; }
  .rv, .rv-group > *, .pipe .pstep { opacity: 1 !important; transform: none !important; }
  .pipe::before { transform: none !important; background: #bbb; }
  .zero.rv-group > .zero__num { opacity: 1 !important; transform: none !important; filter: none !important; }
  .tile, .pane, .chip, .warn, .form {
    box-shadow: none !important; border: 1px solid #ccc !important;
    break-inside: avoid;
  }
  .tile p, .chip p, .pane li, .stats__label, .warn p { color: #333 !important; }
  .out pre { background: #fff; color: #000; border: 1px solid #999; }
  .compare .hl { background: #f2f2f2 !important; }
  .compare th, .compare td { color: #000 !important; }
  .compare tbody tr { border-top: 1px solid #bbb; }
  .footnotes, .foot__fine { color: #333; }
  a { color: #000; text-decoration: none; }
}
