/* Svitlo — case study page. Depends on tokens.css (colors/type/space/motion). */

/* ---------- Base ---------- */
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
em { font-style: normal; color: var(--accent); }
strong { font-weight: 600; color: var(--text); }
code { font-family: var(--mono); }

.skip {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm); font-weight: 600; text-decoration: none;
}
.skip:focus { top: var(--s-4); }

.eyebrow, .sec-num, .src, .scroll-hint {
  font-family: var(--mono); font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase;
}
.eyebrow, .sec-num { color: var(--accent); }
.src { color: var(--text-muted); margin-top: auto; padding-top: var(--s-4); }

/* ---------- Buttons, chips, controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 44px; padding: 0 var(--s-5); border-radius: var(--r-full);
  font-weight: 600; font-size: var(--fs-sm); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; background: none;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--secondary { border-color: var(--border-strong); color: var(--text); }
.btn--secondary:hover { border-color: var(--accent); }
.btn--ghost { color: var(--text-muted); }
.btn--ghost:hover { color: var(--text); background: var(--surface-3); }
.btn--sm { padding: 0 var(--s-4); }
.btn--lg { min-height: 56px; padding: 0 var(--s-8); font-size: var(--fs-md); }

.chip {
  display: inline-flex; align-items: center; gap: var(--s-2); width: max-content;
  padding: var(--s-1) var(--s-3); border-radius: var(--r-full);
  font-family: var(--mono); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.04em;
  background: var(--surface-3); color: var(--text);
}
.chip--on { color: var(--on); background: color-mix(in srgb, var(--on) 12%, transparent); }
.chip--off { color: var(--off); background: color-mix(in srgb, var(--off) 12%, transparent); }
.chip--maybe { background: color-mix(in srgb, var(--maybe) 14%, transparent); }
.chip--maybe { color: color-mix(in srgb, var(--maybe) 70%, var(--text)); }

.dot { display: inline-block; width: 0.6em; height: 0.6em; border-radius: 50%; flex: none; background: var(--text-muted); }
.dot--on { background: var(--on); box-shadow: 0 0 0 0.2em color-mix(in srgb, var(--on) 25%, transparent); }
.dot--off { background: var(--off); box-shadow: 0 0 0 0.2em color-mix(in srgb, var(--off) 25%, transparent); }
.dot--maybe { background: var(--maybe); box-shadow: 0 0 0 0.2em color-mix(in srgb, var(--maybe) 25%, transparent); }

.switch { position: relative; display: inline-flex; align-items: center; gap: var(--s-3); min-height: 44px; cursor: pointer; font-size: var(--fs-sm); }
.switch input { position: absolute; opacity: 0; width: 44px; height: 26px; margin: 0; cursor: pointer; }
.switch__track {
  position: relative; width: 44px; height: 26px; border-radius: var(--r-full); flex: none;
  background: var(--surface-3); border: 1px solid var(--border-strong);
  transition: background var(--t-med) var(--ease);
}
.switch__track::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--text); transition: transform var(--t-med) var(--ease);
}
.switch input:checked + .switch__track { background: var(--accent); border-color: var(--accent); }
.switch input:checked + .switch__track::after { transform: translateX(18px); background: var(--accent-ink); }
.switch input:focus-visible + .switch__track { box-shadow: var(--focus); }

/* ---------- Top bar ---------- */
.topbar { border-bottom: 1px solid var(--border); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); min-height: 44px; font-weight: 700; font-size: var(--fs-lg); text-decoration: none; letter-spacing: -0.02em; }
.brand__mark {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--amber-100), var(--accent) 45%, var(--amber-600));
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 60%, transparent);
}
.topnav { display: flex; align-items: center; gap: var(--s-1); }
.topnav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3);
  color: var(--text-muted); text-decoration: none; font-size: var(--fs-sm); font-weight: 500;
}
.topnav a:not(.btn):hover, .topnav a[aria-current="page"] { color: var(--text); }
@media (max-width: 520px) { .topnav a[href="index.html"] { display: none; } }

/* ---------- Cover ---------- */
.cover { padding-top: clamp(var(--s-12), 8vw, var(--s-24)); overflow: hidden; }
.cover__title {
  font-size: calc(var(--fs-display) * 1.7); line-height: 0.88; letter-spacing: -0.055em; font-weight: 800;
  margin: var(--s-4) 0 var(--s-6) -0.04em;
}
.cover__dot { color: var(--accent); text-shadow: var(--shadow-glow); }
.cover__summary { font-size: var(--fs-2xl); line-height: var(--lh-snug); letter-spacing: -0.02em; max-width: 26ch; font-weight: 500; }
.meta {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6);
  margin-top: var(--s-12); padding-top: var(--s-6); border-top: 1px solid var(--border-strong);
}
.meta dt { font-family: var(--mono); font-size: var(--fs-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--s-1); }
.meta dd { font-size: var(--fs-md); font-weight: 500; }
@media (max-width: 760px) { .meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Hero composition — scales as one image via container units */
.hero {
  position: relative; container-type: inline-size; aspect-ratio: 16 / 9.4;
  margin-top: var(--s-16); margin-bottom: var(--s-12);
}
.hero__glow {
  position: absolute; inset: -10% -20%; pointer-events: none;
  background:
    radial-gradient(40% 45% at 68% 50%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%),
    radial-gradient(30% 35% at 30% 40%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%);
  filter: blur(10px);
}
.hero__window { position: absolute; left: 0; top: 4%; width: 70%; font-size: calc(70cqw / 64); }
.hero__phone { position: absolute; }
.hero__phone--a { right: 20%; top: 12%; width: 23%; font-size: calc(23cqw / 18); z-index: 2; }
.hero__phone--b { right: 0; top: 24%; width: 19%; font-size: calc(19cqw / 18); z-index: 1; }
.hero__phone--a .phone { box-shadow: var(--shadow-2), var(--shadow-glow); }
.hero__toast {
  position: absolute; left: 6%; bottom: 3%; z-index: 3;
  display: flex; align-items: center; gap: 0.8em;
  font-size: max(11px, 1.3cqw); font-weight: 500; padding: 0.9em 1.3em;
  background: color-mix(in srgb, var(--surface-3) 88%, transparent); backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong); border-radius: var(--r-full); box-shadow: var(--shadow-2);
}
@media (max-width: 700px) {
  .hero { aspect-ratio: 1 / 1.34; margin-top: var(--s-10); }
  .hero__window { width: 120%; left: 8%; top: 0; font-size: calc(120cqw / 64); opacity: 0.45; }
  .hero__phone--a { left: 2%; right: auto; top: 8%; width: 50%; font-size: calc(50cqw / 18); }
  .hero__phone--b { right: 2%; top: 20%; width: 44%; font-size: calc(44cqw / 18); }
  .hero__toast { left: 0; right: 0; bottom: 0; font-size: 13px; justify-content: center; }
}

/* ---------- Mockup primitives (em-based; parent sets font-size) ---------- */
.phone {
  width: 18em; aspect-ratio: 9 / 19; padding: 0.55em; border-radius: 2.7em;
  background: linear-gradient(160deg, var(--ink-700), var(--ink-850));
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-2);
}
.phone__screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 2.2em;
  background: radial-gradient(120% 50% at 50% 0%, color-mix(in srgb, var(--accent) 14%, var(--ink-950)), var(--ink-950) 60%);
  padding: 2.2em 1.2em 1.2em; display: flex; flex-direction: column; gap: 0.75em;
}
.phone__screen::before {
  content: ""; position: absolute; top: 0.6em; left: 50%; width: 5em; height: 1.2em;
  transform: translateX(-50%); border-radius: var(--r-full); background: var(--ink-950); border: 1px solid var(--border);
}
.phone__screen::after {
  content: ""; flex: none; margin: auto -1.2em -1.2em; height: 3.6em; border-top: 1px solid var(--border);
  background:
    radial-gradient(circle, var(--accent) 0.28em, transparent 0.3em) 12.5% 40% / 2em 2em no-repeat,
    radial-gradient(circle, var(--ink-500) 0.28em, transparent 0.3em) 37.5% 40% / 2em 2em no-repeat,
    radial-gradient(circle, var(--ink-500) 0.28em, transparent 0.3em) 62.5% 40% / 2em 2em no-repeat,
    radial-gradient(circle, var(--ink-500) 0.28em, transparent 0.3em) 87.5% 40% / 2em 2em no-repeat,
    var(--ink-900);
}
.scr-top { display: flex; justify-content: space-between; font-size: 0.62em; color: var(--text-muted); font-family: var(--mono); margin-top: -1.2em; }
.scr-label { font-size: 0.62em; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--mono); margin-top: 0.6em; }
.scr-status { display: flex; align-items: center; gap: 0.6em; font-size: 0.78em; color: var(--text); }
.scr-big { font-size: 1.75em; line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; color: var(--text-muted); }
.scr-big b { color: var(--text); font-weight: 700; }
.axis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.5em; color: var(--text-muted); margin-top: -0.6em; }
.scard { padding: 0.8em 0.9em; border-radius: 1em; background: var(--surface-2); border: 1px solid var(--border); display: grid; gap: 0.25em; }
.scard__t { font-size: 0.85em; font-weight: 600; line-height: 1.2; }
.scard__s { font-size: 0.62em; color: var(--text-muted); }
.scard--tip { background: color-mix(in srgb, var(--accent) 16%, var(--surface-2)); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.scard--tip .scard__t { color: var(--accent); }
.scard--maybe { border-color: color-mix(in srgb, var(--maybe) 50%, transparent); }
.bar { height: 0.4em; border-radius: var(--r-full); background: var(--surface-3); overflow: hidden; margin-top: 0.3em; }
.bar i { display: block; height: 100%; background: var(--battery); border-radius: inherit; }

.ring {
  --p: 74; width: 8.5em; aspect-ratio: 1; border-radius: 50%; margin: 0.4em auto;
  background: conic-gradient(var(--battery) calc(var(--p) * 1%), var(--surface-3) 0);
  display: grid; place-items: center;
}
.ring span {
  width: 76%; aspect-ratio: 1; border-radius: 50%; background: var(--ink-950);
  display: grid; place-items: center; font-size: 1.3em; font-weight: 700; letter-spacing: -0.02em;
}
.devices { list-style: none; padding: 0; display: grid; gap: 0.35em; }
.devices li {
  display: flex; justify-content: space-between; font-size: 0.7em; padding: 0.7em 0.9em;
  border-radius: 0.8em; background: var(--surface-2); border: 1px solid var(--border);
}
.devices li span:last-child { font-family: var(--mono); color: var(--text-muted); }
.devices li.is-off { opacity: 0.55; }
.wk { display: grid; grid-template-columns: auto 1fr; gap: 0.55em 0.6em; align-items: center; }
.wk span { font-size: 0.58em; font-family: var(--mono); color: var(--text-muted); }
.wk .sched { height: 1.05em; }

/* 24h schedule bar: base colors + "possible" stripes + hour ticks */
.sched {
  --mL: 0; --mW: 0;
  position: relative; height: 1.4em; border-radius: 0.35em; flex: none;
  background-image:
    linear-gradient(90deg, transparent calc(100% - 1px), var(--ink-950) 0),
    repeating-linear-gradient(45deg, transparent 0 0.25em, color-mix(in srgb, var(--ink-950) 55%, transparent) 0.25em 0.5em),
    var(--g);
  background-size: calc(100% / 24) 100%, calc(var(--mW) * 1%) 100%, 100% 100%;
  background-repeat: repeat-x, no-repeat, no-repeat;
  background-position: 0 0, calc(var(--mL) / (100 - var(--mW)) * 100%) 0, 0 0;
}
.sched--a { --g: linear-gradient(90deg, var(--on) 0 25%, var(--off) 0 41.667%, var(--on) 0 66.667%, var(--off) 0 83.333%, var(--on) 0); }
.sched--b { --mL: 37.5; --mW: 8.333; --g: linear-gradient(90deg, var(--off) 0 12.5%, var(--on) 0 37.5%, var(--maybe) 0 45.833%, var(--on) 0 62.5%, var(--off) 0 79.167%, var(--on) 0); }
.sched--c { --mL: 91.667; --mW: 8.333; --g: linear-gradient(90deg, var(--on) 0 8.333%, var(--off) 0 20.833%, var(--on) 0 54.167%, var(--off) 0 66.667%, var(--on) 0 91.667%, var(--maybe) 0); }
.sched--d { --mL: 50; --mW: 8.333; --g: linear-gradient(90deg, var(--on) 0 16.667%, var(--off) 0 33.333%, var(--on) 0 50%, var(--maybe) 0 58.333%, var(--on) 0 75%, var(--off) 0 87.5%, var(--on) 0); }
.sched--now::after {
  content: ""; position: absolute; left: 72.2%; top: -0.25em; bottom: -0.25em; width: 0.18em;
  border-radius: 1em; background: var(--text); box-shadow: 0 0 0 0.12em var(--ink-950);
}

/* Desktop window mockup (designed at 64em wide) */
.window {
  width: 64em; border-radius: 1em; overflow: hidden;
  background: var(--ink-900); border: 1px solid var(--border-strong); box-shadow: var(--shadow-2);
}
.window__bar { display: flex; align-items: center; gap: 0.45em; padding: 0.75em 1em; border-bottom: 1px solid var(--border); background: var(--ink-850); }
.window__bar i { width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--ink-700); }
.window__bar span { margin-left: 1.2em; font-family: var(--mono); font-size: 0.7em; color: var(--text-muted); padding: 0.3em 1em; border-radius: var(--r-full); background: var(--ink-950); }
.window__body { display: grid; grid-template-columns: 11em 1fr; min-height: 33em; }
.wside { display: flex; flex-direction: column; gap: 0.3em; padding: 1.4em 1em; border-right: 1px solid var(--border); }
.wside__logo { width: 1.6em; height: 1.6em; border-radius: 50%; margin-bottom: 1.2em; background: radial-gradient(circle at 35% 35%, var(--amber-100), var(--accent) 45%, var(--amber-600)); }
.wside__item { font-size: 0.8em; padding: 0.6em 0.8em; border-radius: 0.6em; color: var(--text-muted); }
.wside__item.is-on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.wmain { padding: 1.6em 1.8em; display: flex; flex-direction: column; gap: 1.2em; }
.w-label { font-family: var(--mono); font-size: 0.68em; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.w-hero { font-size: 2.4em; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--text-muted); }
.w-hero b { color: var(--text); }
.w-big { font-size: 1.6em; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.w-small { font-size: 0.72em; color: var(--text-muted); }
.week { display: grid; grid-template-columns: 2.6em 1fr; gap: 0.7em 0.8em; align-items: center; }
.week span { font-family: var(--mono); font-size: 0.7em; color: var(--text-muted); }
.week .sched { height: 1.5em; }
.wcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9em; margin-top: auto; }
.mcard { padding: 1em 1.1em; border-radius: 0.9em; background: var(--surface-2); border: 1px solid var(--border); display: grid; gap: 0.3em; align-content: start; }
.mcard--tip { background: color-mix(in srgb, var(--accent) 14%, var(--surface-2)); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.mcard--tip .w-big { color: var(--accent); }

/* ---------- Layout: index + content ---------- */
.case__body { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: var(--s-16); align-items: start; }
.case__content { min-width: 0; }

.toc { position: sticky; top: var(--s-8); padding-top: var(--s-24); }
.toc__toggle { display: none; }
.toc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--border); }
.toc__list a {
  display: flex; align-items: center; gap: var(--s-3); min-height: 44px; padding: var(--s-2) var(--s-4);
  margin-left: -1px; border-left: 2px solid transparent;
  color: var(--text-muted); text-decoration: none; font-size: var(--fs-sm); line-height: var(--lh-snug);
  transition: color var(--t-fast) var(--ease), border-color var(--t-med) var(--ease);
}
.toc__list a span { font-family: var(--mono); font-size: var(--fs-xs); color: var(--text-muted); }
.toc__list a:hover { color: var(--text); }
.toc__list a[aria-current="true"] { color: var(--text); border-left-color: var(--accent); font-weight: 600; }
.toc__list a[aria-current="true"] span { color: var(--accent); }

@media (max-width: 1023px) {
  .case__body { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc {
    top: 0; z-index: 20; padding: 0; margin-inline: calc(-1 * var(--gutter));
    background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px);
    border-block: 1px solid var(--border);
  }
  .toc__toggle {
    display: flex; align-items: center; gap: var(--s-3); width: 100%; min-height: 56px;
    padding: 0 var(--gutter); border: 0; background: none; text-align: left;
  }
  .toc__toggle-label { font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
  .toc__current { flex: 1; font-weight: 600; font-size: var(--fs-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .toc__chev { width: 10px; height: 10px; border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: rotate(45deg) translateY(-3px); transition: transform var(--t-med) var(--ease); }
  .toc__toggle[aria-expanded="true"] .toc__chev { transform: rotate(-135deg); }
  .toc__list { border-left: 0; padding: 0 var(--gutter) var(--s-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc__list a { border-left: 0; margin: 0; padding-inline: var(--s-2); }
  .toc--js .toc__list {
    position: absolute; left: 0; right: 0; top: 100%; max-height: 70vh; overflow-y: auto;
    background: var(--surface); border-bottom: 1px solid var(--border-strong); box-shadow: var(--shadow-2);
    padding-top: var(--s-3);
  }
  .toc--js:not(.is-open) .toc__list { display: none; }
  .toc:not(.toc--js) .toc__toggle { display: none; }
  .toc:not(.toc--js) .toc__list { padding-top: var(--s-3); }
}
@media (max-width: 420px) { .toc__list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Sections ---------- */
.sec { padding-block: var(--s-24); border-top: 1px solid var(--border); scroll-margin-top: var(--s-4); }
.case__content > .sec:first-child { border-top: 0; }
@media (max-width: 1023px) { .sec { padding-block: var(--s-16); scroll-margin-top: 64px; } }
.sec-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-12); max-width: 820px; }
.sec-head h2 { font-size: var(--fs-3xl); line-height: var(--lh-tight); letter-spacing: -0.035em; font-weight: 700; }
.lede { font-size: var(--fs-xl); line-height: 1.45; color: var(--text-muted); max-width: 60ch; }
.sub { font-size: var(--fs-xl); font-weight: 600; letter-spacing: -0.015em; margin: var(--s-16) 0 var(--s-6); }
.sub-lede { color: var(--text-muted); max-width: 62ch; margin: calc(-1 * var(--s-3)) 0 var(--s-6); }
p { color: var(--text-muted); }

.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--s-10); margin-bottom: var(--s-12); }
.split .lede { color: var(--text); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; gap: var(--s-6); } }

/* Problem stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.stat {
  display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-8) var(--s-6) var(--s-6);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
}
.stat:nth-child(2) { transform: translateY(var(--s-8)); }
.stat:first-child { background: linear-gradient(180deg, var(--accent-soft), var(--surface) 70%); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.stat__num { font-size: var(--fs-3xl); font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--accent); }
.stat h3 { font-size: var(--fs-lg); line-height: var(--lh-snug); }
.stat p:not(.stat__num):not(.src) { font-size: var(--fs-sm); }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr; }
  .stat:nth-child(2) { transform: none; }
}

/* Research */
.methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--border-strong); }
.methods li { padding: var(--s-8) var(--s-6) var(--s-8) 0; display: grid; gap: var(--s-2); align-content: start; }
.methods li + li { padding-left: var(--s-6); border-left: 1px solid var(--border); }
.methods__n { font-size: var(--fs-3xl); font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--text); }
.methods h3 { font-size: var(--fs-md); color: var(--accent); }
.methods p:not(.methods__n) { font-size: var(--fs-sm); }
@media (max-width: 760px) {
  .methods { grid-template-columns: 1fr; }
  .methods li, .methods li + li { padding: var(--s-6) 0; border-left: 0; }
  .methods li + li { border-top: 1px solid var(--border); }
}

.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.quote {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-8);
  padding: var(--s-8); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border);
}
.quote:nth-child(3n + 1) { background: var(--surface-2); }
.quote::before { content: "\201C"; position: absolute; top: var(--s-2); right: var(--s-6); font-size: 6rem; line-height: 1; color: var(--accent); opacity: 0.3; font-weight: 700; }
.quote blockquote { padding-right: var(--s-10); }
.quote blockquote p { font-size: var(--fs-xl); line-height: 1.35; color: var(--text); letter-spacing: -0.01em; font-weight: 500; }
.quote figcaption { font-size: var(--fs-sm); color: var(--text-muted); padding-top: var(--s-4); border-top: 1px solid var(--border); }
.quote figcaption strong { display: block; color: var(--accent); }
@media (max-width: 700px) { .quotes { grid-template-columns: 1fr; } .quote { padding: var(--s-6); } }

.affinity { margin-top: var(--s-12); }
.affinity__board {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6);
  padding: var(--s-8); border-radius: var(--r-xl); border: 1px solid var(--border);
  background-color: var(--surface);
  background-image: radial-gradient(var(--border-strong) 1px, transparent 1px);
  background-size: 18px 18px;
}
.cluster { display: grid; gap: var(--s-3); align-content: start; }
.cluster h4 { font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); padding-bottom: var(--s-2); border-bottom: 2px solid var(--note); }
.note {
  padding: var(--s-4); min-height: 88px; font-size: var(--fs-sm); line-height: var(--lh-snug); font-weight: 500;
  color: var(--ink-950); background: var(--note-bg); border-radius: 3px; box-shadow: var(--shadow-2);
  transform: rotate(-1.2deg);
}
.note:nth-of-type(2n) { transform: rotate(1.4deg) translateX(4px); }
.note:nth-of-type(3n) { transform: rotate(-0.4deg) translateX(-2px); }
.cluster--amber { --note: var(--amber-400); --note-bg: var(--amber-100); }
.cluster--violet { --note: var(--violet-500); --note-bg: color-mix(in srgb, var(--violet-500) 28%, var(--ink-50)); }
.cluster--green { --note: var(--green-500); --note-bg: color-mix(in srgb, var(--green-500) 28%, var(--ink-50)); }
.cluster--blue { --note: var(--blue-500); --note-bg: color-mix(in srgb, var(--blue-500) 25%, var(--ink-50)); }
.affinity figcaption, .diagram figcaption, .desk figcaption, .screens__item figcaption { margin-top: var(--s-4); font-size: var(--fs-sm); color: var(--text-muted); max-width: 70ch; }
@media (max-width: 900px) { .affinity__board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .affinity__board { gap: var(--s-4); padding: var(--s-4); }
  .note { min-height: 72px; padding: var(--s-3); font-size: var(--fs-xs); }
}

/* Personas */
.personas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); }
.persona {
  display: flex; flex-direction: column; gap: var(--s-6); padding: var(--s-8);
  border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border);
}
.persona:nth-child(2) { margin-top: var(--s-12); }
.persona__head { display: flex; gap: var(--s-4); align-items: center; }
.persona__head h3 { font-size: var(--fs-2xl); letter-spacing: -0.03em; line-height: 1.1; }
.persona__head p { font-size: var(--fs-sm); margin-top: var(--s-1); }
.avatar {
  flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-size: var(--fs-xl); font-weight: 700; color: var(--accent-ink);
  background: radial-gradient(circle at 30% 30%, var(--amber-100), var(--accent) 55%, var(--amber-600));
  box-shadow: 0 0 32px color-mix(in srgb, var(--accent) 35%, transparent);
}
.avatar--blue { background: radial-gradient(circle at 30% 30%, var(--ink-50), var(--blue-500) 60%); box-shadow: 0 0 32px color-mix(in srgb, var(--blue-500) 35%, transparent); color: var(--ink-950); }
.persona__quote { font-size: var(--fs-lg); color: var(--text); line-height: 1.45; padding-left: var(--s-4); border-left: 2px solid var(--accent); }
.persona__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); }
.persona__cols h4 { font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: var(--s-2); }
.persona__cols ul { padding-left: var(--s-4); margin: 0; font-size: var(--fs-sm); display: grid; gap: var(--s-1); }
.persona__cols li::marker { color: var(--accent); }
.persona__tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: auto; }
.persona__tags span { font-size: var(--fs-xs); padding: var(--s-1) var(--s-3); border-radius: var(--r-full); border: 1px solid var(--border-strong); color: var(--text); }
@media (max-width: 860px) {
  .personas { grid-template-columns: 1fr; }
  .persona:nth-child(2) { margin-top: 0; }
}
@media (max-width: 480px) { .persona { padding: var(--s-6); } .persona__cols { grid-template-columns: 1fr; } }

/* Journey map */
.journey-wrap { position: relative; }
.scroll-hint { display: none; color: var(--text-muted); margin-bottom: var(--s-3); }
.journey-scroll { overflow-x: auto; border-radius: var(--r-xl); border: 1px solid var(--border); background: var(--surface); overscroll-behavior-x: contain; }
.journey {
  display: grid; grid-template-columns: 128px repeat(5, minmax(150px, 1fr)); min-width: 920px;
}
.journey > * { padding: var(--s-4); border-bottom: 1px solid var(--border); margin: 0; }
.journey > *:nth-last-child(-n + 6) { border-bottom: 0; }
.j-row-h {
  position: sticky; left: 0; z-index: 1; background: var(--surface); border-right: 1px solid var(--border);
  font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted);
}
.j-stage { font-size: var(--fs-md); font-weight: 600; display: flex; gap: var(--s-2); align-items: baseline; line-height: var(--lh-snug); }
.j-stage span { font-family: var(--mono); font-size: var(--fs-xs); color: var(--accent); }
.j-cell { font-size: var(--fs-sm); line-height: 1.45; color: var(--text); }
.j-cell--q { color: var(--text-muted); font-style: italic; }
.j-cell--pain::before, .j-cell--opp::before { content: ""; display: block; width: 18px; height: 3px; border-radius: 2px; margin-bottom: var(--s-2); background: var(--off); }
.j-cell--opp::before { background: var(--accent); }
.j-cell--opp { color: var(--text); font-weight: 500; }
.j-curve { grid-column: 2 / -1; position: relative; padding: var(--s-2) 0 var(--s-8) !important; }
.j-curve svg { width: 100%; height: auto; overflow: visible; }
.c-mid { stroke: var(--border-strong); stroke-dasharray: 4 6; }
.c-area { fill: var(--accent-soft); }
.c-line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.c-dot { fill: var(--surface); stroke: var(--accent); stroke-width: 3; }
.c-dot--low { stroke: var(--off); }
.j-emo { position: absolute; bottom: var(--s-2); transform: translateX(-50%); font-size: var(--fs-xs); font-weight: 600; color: var(--text); white-space: nowrap; }
.j-emo--low { color: var(--off); }
@media (max-width: 1100px) { .scroll-hint { display: block; } }
@media (max-width: 600px) { .journey { grid-template-columns: 96px repeat(5, 160px); min-width: 0; } }

/* IA diagram */
.diagram__scroll { overflow-x: auto; border-radius: var(--r-xl); border: 1px solid var(--border); background: var(--surface); padding: var(--s-6); }
.flow { width: 100%; min-width: 760px; height: auto; font-family: var(--font); }
.flow text { font-size: 14px; text-anchor: middle; fill: var(--text); font-weight: 500; }
.f-node rect { fill: var(--surface-3); stroke: var(--border-strong); stroke-width: 1; }
.f-node--opt rect { stroke-dasharray: 5 4; fill: var(--surface-2); stroke: var(--text-muted); }
.f-node--hub rect { fill: var(--accent); stroke: none; filter: drop-shadow(0 0 18px color-mix(in srgb, var(--accent) 45%, transparent)); }
.f-node--hub text { fill: var(--accent-ink); font-weight: 700; font-size: 16px; }
.flow .f-node--hub .f-sub { font-size: 12px; font-weight: 500; fill: var(--accent-ink); }
.f-node--push rect { fill: color-mix(in srgb, var(--off) 14%, var(--surface)); stroke: var(--off); }
.f-node--l1 rect { fill: var(--surface-3); stroke: color-mix(in srgb, var(--accent) 45%, transparent); }
.f-node--l1 text { font-weight: 600; font-size: 15px; }
.f-node--l2 rect { fill: var(--surface-2); stroke: var(--border); }
.flow .f-node--l2 text { font-size: 13px; fill: var(--text-muted); }
.f-line { fill: none; stroke: var(--ink-400); stroke-width: 1.5; }
.f-line--dash { stroke-dasharray: 6 5; stroke: var(--off); }
.f-arrowhead { fill: var(--ink-400); }
.flow .f-cap { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-anchor: start; fill: var(--text-muted); }
.flow .f-legend text { text-anchor: start; font-size: 13px; fill: var(--text-muted); }
.f-key--hub { fill: var(--accent); }
.f-key--opt { fill: none; stroke: var(--text-muted); stroke-dasharray: 3 2; }

/* Ideation wireframes */
.wires { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.wire { display: grid; gap: var(--s-5); align-content: start; }
.wire:nth-child(2) { margin-top: var(--s-10); }
.wire:nth-child(3) { margin-top: var(--s-20); }
.wire figcaption { display: grid; gap: var(--s-2); }
.wire h3 { font-size: var(--fs-lg); }
.wire figcaption p:not(.chip) { font-size: var(--fs-sm); }
.wf {
  --ink: color-mix(in srgb, var(--text) 70%, transparent);
  display: flex; flex-direction: column; gap: 10px; aspect-ratio: 9 / 13; padding: 22px 16px 14px;
  border: 2px solid var(--ink); border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px;
  background: var(--surface); position: relative;
}
.wf::after { content: ""; margin-top: auto; height: 22px; border-top: 1.5px dashed var(--ink); }
.wire--chosen .wf { --ink: var(--accent); box-shadow: var(--shadow-glow); }
.wf-b, .wf-bub, .wf-grid i {
  display: block; border: 1.5px solid var(--ink);
  border-radius: 12px 3px 10px 4px / 4px 10px 3px 12px;
}
.wf-b--xs { width: 40%; height: 10px; }
.wf-b--hero { height: 70px; background: repeating-linear-gradient(-45deg, transparent 0 6px, color-mix(in srgb, var(--text) 10%, transparent) 6px 7px); }
.wf-b--bar { height: 20px; background: linear-gradient(90deg, transparent 30%, color-mix(in srgb, var(--text) 18%, transparent) 30% 45%, transparent 45% 75%, color-mix(in srgb, var(--text) 18%, transparent) 75% 88%, transparent 88%); }
.wf-row { display: flex; gap: 10px; }
.wf-row .wf-b { flex: 1; }
.wf-b--card { height: 52px; }
.wf-b--accent { border-width: 2.5px; }
.wf-b--line { height: 8px; border-radius: 8px; }
.wf-b--short { width: 60%; }
.wf-b--input { height: 30px; margin-top: auto; border-radius: 20px; }
.wf-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.wf-grid i { aspect-ratio: 1; border-radius: 3px; border-width: 1px; }
.wf-grid i:nth-child(5n + 2) { background: color-mix(in srgb, var(--text) 18%, transparent); }
.wf-bub { width: 70%; height: 34px; border-radius: 16px 16px 16px 4px; }
.wf-bub--me { align-self: flex-end; width: 50%; border-radius: 16px 16px 4px 16px; background: color-mix(in srgb, var(--text) 10%, transparent); }
.wf-bub--tall { height: 60px; width: 80%; }
@media (max-width: 860px) {
  .wires { grid-template-columns: 1fr; gap: var(--s-12); }
  .wire:nth-child(n) { margin-top: 0; grid-template-columns: minmax(0, 200px) 1fr; align-items: center; gap: var(--s-6); }
}
@media (max-width: 520px) { .wire:nth-child(n) { grid-template-columns: 1fr; } .wf { max-width: 240px; } }

/* Design system */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s-4); }
.swatches li { display: grid; gap: var(--s-1); }
.sw { height: 80px; border-radius: var(--r-md); border: 1px solid var(--border-strong); margin-bottom: var(--s-2); }
.swatches code { font-size: var(--fs-sm); color: var(--text); }
.swatches li > span:last-child { font-size: var(--fs-xs); color: var(--text-muted); }
@media (max-width: 420px) { .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.ds-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s-6); margin-top: var(--s-16); }
.ds-card { padding: var(--s-8); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); display: grid; gap: var(--s-6); align-content: start; }
.ds-card .sub { margin: 0; }
.type { display: grid; }
.type li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s-4); align-items: baseline; padding: var(--s-3) 0; border-top: 1px solid var(--border); }
.type__meta { font-family: var(--mono); font-size: var(--fs-xs); color: var(--text-muted); }
.type__s { color: var(--text); line-height: var(--lh-tight); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.type__s--display { font-size: var(--fs-display); font-weight: 800; letter-spacing: -0.05em; }
.type__s--3xl { font-size: var(--fs-3xl); font-weight: 700; letter-spacing: -0.035em; }
.type__s--2xl { font-size: var(--fs-2xl); font-weight: 600; }
.type__s--xl { font-size: var(--fs-xl); font-weight: 600; }
.type__s--mono { font-family: var(--mono); font-size: var(--fs-sm); letter-spacing: 0; }
.ds-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.battery-demo { display: grid; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--border); }
.battery-demo__head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-2); font-size: var(--fs-sm); color: var(--text-muted); }
.battery-demo__head strong { color: var(--text); font-size: var(--fs-lg); }
.meter { height: 14px; border-radius: var(--r-full); background: var(--surface-3); overflow: hidden; }
.meter__fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet-500), color-mix(in srgb, var(--violet-500) 60%, var(--ink-50))); transition: width var(--t-med) var(--ease); }
.range-label { font-size: var(--fs-xs); color: var(--text-muted); font-family: var(--mono); }
.range { width: 100%; height: 44px; margin: 0; accent-color: var(--accent); cursor: pointer; }
@media (max-width: 860px) { .ds-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ds-card { padding: var(--s-5); } }

/* Final UI */
.annotated { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-16); align-items: center; }
.annotated__phone { position: relative; width: max-content; margin-inline: auto; font-size: 16px; }
.annotated__phone::before {
  content: ""; position: absolute; inset: 10% -14%; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 25%, transparent), transparent);
}
.pin {
  position: absolute; left: -18px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--mono); font-weight: 600; font-size: var(--fs-sm);
  background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 5px var(--bg), var(--shadow-glow);
}
.pin--static { position: static; flex: none; box-shadow: none; }
.callouts { display: grid; gap: var(--s-6); }
.callouts li { display: flex; gap: var(--s-4); padding-bottom: var(--s-6); border-bottom: 1px solid var(--border); }
.callouts li:last-child { border-bottom: 0; padding-bottom: 0; }
.callouts h3 { font-size: var(--fs-lg); margin-bottom: var(--s-1); }
.callouts p { font-size: var(--fs-sm); }
@media (max-width: 860px) { .annotated { grid-template-columns: 1fr; gap: var(--s-10); } }
@media (max-width: 360px) { .annotated__phone { font-size: 15px; } }

.screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8); margin-top: var(--s-20); }
.screens__item { font-size: 14px; display: grid; justify-items: center; gap: var(--s-2); text-align: center; }
.screens__item:nth-child(2) { margin-top: var(--s-16); }
.screens__item figcaption { max-width: 32ch; }
.screens__item .phone { text-align: left; }
@media (max-width: 640px) {
  .screens { grid-template-columns: 1fr; gap: var(--s-12); }
  .screens__item:nth-child(2) { margin-top: 0; }
}

.desk { margin-top: var(--s-20); }
.desk__scale { container-type: inline-size; }
.desk .window { font-size: calc(100cqw / 64); }

/* Before / after slider */
.ba { position: relative; --pos: 50%; }
.ba__frame {
  position: relative; container-type: inline-size; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--r-xl); border: 1px solid var(--border-strong); user-select: none;
}
.ba__layer { position: absolute; inset: 0; }
.ba__layer--before { background: var(--ink-100); }
.ba__layer--after { clip-path: inset(0 0 0 var(--pos)); background: radial-gradient(90% 70% at 70% 0%, color-mix(in srgb, var(--accent) 16%, var(--ink-950)), var(--ink-950) 70%); }
.ba__screen { position: absolute; inset: 0; padding: 2.4em 3em; font-size: calc(100cqw / 40); display: flex; flex-direction: column; gap: 0.8em; }
.ba__screen--new { gap: 0.9em; padding-top: 2.6em; }
.ba__screen--new .scr-big { font-size: 3em; }
.ba__screen--new .scr-label { margin-top: 0; }
.ba__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8em; margin-top: 0.4em; }
.old-title { font-family: var(--mono); font-size: 0.8em; color: var(--ink-950); font-weight: 500; }
.old-table { border-collapse: collapse; font-family: var(--mono); font-size: 0.62em; color: var(--ink-700); width: auto; min-width: 16em; }
.old-table td { border: 1px solid var(--ink-200); padding: 0.25em 0.6em; }
.old-note { font-family: var(--mono); font-size: 0.6em; color: var(--ink-700); }
.ba__tag {
  position: absolute; top: 1em; left: 1em; font-family: var(--mono); font-size: max(11px, 1.3cqw);
  padding: 0.3em 0.8em; border-radius: var(--r-full); background: var(--ink-950); color: var(--text);
}
.ba__tag--after { left: auto; right: 1em; background: var(--accent); color: var(--accent-ink); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--accent); pointer-events: none; }
.ba__knob {
  position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--accent); box-shadow: var(--shadow-glow), var(--shadow-2);
  transition: box-shadow var(--t-fast) var(--ease);
}
.ba__knob::before, .ba__knob::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0; border-block: 6px solid transparent; transform: translateY(-50%);
}
.ba__knob::before { left: 11px; border-right: 8px solid var(--accent-ink); }
.ba__knob::after { right: 11px; border-left: 8px solid var(--accent-ink); }
.ba__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0;
  cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none;
}
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 100vh; }
.ba:has(.ba__range:focus-visible) .ba__knob { box-shadow: 0 0 0 4px var(--bg), 0 0 0 7px var(--accent); }
.ba:has(.ba__range:focus-visible) .ba__frame { border-color: var(--accent); }
@media (max-width: 640px) {
  .ba__frame { aspect-ratio: 3 / 4; }
  .ba__screen { font-size: calc(100cqw / 20); padding: 3em 1.4em 1.4em; }
  .ba__screen--new { padding-top: 3em; }
  .old-table { width: 100%; min-width: 0; }
  .ba__screen--new .scr-big { font-size: 2.2em; }
}

/* Testing */
.metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.metric { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-8); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); }
.metric h3 { font-size: var(--fs-md); font-weight: 500; color: var(--text-muted); max-width: 30ch; }
.metric__val { font-size: var(--fs-display); font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.metric__unit { font-size: 0.45em; letter-spacing: -0.02em; margin-left: 0.05em; }
.metric__from { font-size: var(--fs-sm); color: var(--text); }
.cmp { display: grid; gap: 6px; margin-top: var(--s-4); }
.cmp span { display: block; height: 6px; width: var(--w); border-radius: var(--r-full); background: var(--ink-500); transition: width 1.2s var(--ease) 0.2s; }
.cmp span.is-new { background: var(--accent); }
.reveal-on [data-reveal]:not(.is-in) .cmp span { width: 0; }
@media (max-width: 760px) { .metrics { grid-template-columns: 1fr; } .metric { padding: var(--s-6); } }

.findings ul, .next__list { padding: 0; list-style: none; display: grid; gap: var(--s-4); }
.findings li { padding-left: var(--s-6); position: relative; max-width: 72ch; }
.findings li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

/* Learnings */
.learn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8); }
.learn li { display: grid; gap: var(--s-3); align-content: start; padding-top: var(--s-6); border-top: 2px solid var(--accent); }
.learn li:nth-child(2) { border-top-color: var(--border-strong); }
.learn li:nth-child(3) { border-top-color: var(--border-strong); }
.learn__n { font-family: var(--mono); font-size: var(--fs-sm); color: var(--accent); }
.learn h3 { font-size: var(--fs-xl); line-height: var(--lh-snug); letter-spacing: -0.015em; }
.learn p { font-size: var(--fs-sm); }
.next__list li { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-4) 0; border-bottom: 1px solid var(--border); color: var(--text); }
@media (max-width: 860px) { .learn { grid-template-columns: 1fr; } }

/* Footer CTA */
.cta { position: relative; overflow: hidden; padding-block: var(--s-32); border-top: 1px solid var(--border); text-align: center; }
.cta::before {
  content: ""; position: absolute; left: 50%; top: 100%; width: 1200px; height: 900px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 28%, transparent), transparent);
  pointer-events: none;
}
.cta__inner { position: relative; display: grid; justify-items: center; gap: var(--s-6); }
.cta__title { font-size: calc(var(--fs-display) * 1.1); line-height: 0.95; letter-spacing: -0.05em; font-weight: 800; max-width: 12ch; }
.cta__title span { color: var(--accent); }
.cta__text { font-size: var(--fs-lg); max-width: 48ch; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-4); }
.cta__fine { font-size: var(--fs-xs); max-width: 60ch; margin-top: var(--s-10); }
@media (max-width: 480px) { .cta { padding-block: var(--s-24); } .cta__actions .btn { width: 100%; } }

/* ---------- Motion ---------- */
.reveal-on [data-reveal] { transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.reveal-on [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(28px); }
.reveal-on .stat:nth-child(2):not(.is-in) { transform: translateY(calc(var(--s-8) + 28px)); }
@media (max-width: 860px) { .reveal-on .stat:nth-child(2):not(.is-in) { transform: translateY(28px); } }
