/* Paraeus story. Five scenes, one idea each, a lot of air.
   Plaster and pigment from the product; the first scene borrows the look
   it argues against. */
:root {
  --plaster: #edefe7;
  --sheet: #f7f7f2;
  --line: #cacdbf;
  --ink: #1e211b;
  --quiet: #565b50;
  --verdigris: #3f6f5f;
  --sinopia: #9a4b33;
  --red: #8c1d17;
  --cream: #f4dfcc;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --gutter: max(20px, 4vw);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--plaster); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.label { margin: 0; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--quiet); }

/* ---------- 1. the confident app ---------- */
.confident { position: relative; height: 100svh; min-height: 560px; display: grid; place-items: center; overflow: hidden; background: #f3eefc; }
.confident-glow {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 40% at calc(30% + var(--px, 0) * 8%) calc(30% + var(--py, 0) * 8%), #9b7bff 0%, transparent 70%),
    radial-gradient(38% 38% at calc(72% - var(--px, 0) * 6%) 34%, #ff7ad9 0%, transparent 70%),
    radial-gradient(45% 45% at 60% calc(78% - var(--py, 0) * 6%), #6fd3ff 0%, transparent 72%),
    radial-gradient(30% 30% at 24% 80%, #ffd36e 0%, transparent 70%);
  filter: blur(30px) saturate(1.15);
  transition: background-position 600ms var(--ease);
}
.confident-card {
  position: relative; display: grid; justify-items: center; gap: 10px; text-align: center;
  padding: 44px 56px 38px; border-radius: 36px;
  background: rgba(255, 255, 255, 0.38); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 30px 80px -30px rgba(80, 40, 160, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  font-family: "Nunito", system-ui, sans-serif; color: #2a1b5c;
}
.spark { width: 40px; height: 40px; fill: #7b5cff; animation: twinkle 2.4s var(--ease) infinite; }
@keyframes twinkle { 50% { transform: scale(0.82) rotate(12deg); opacity: 0.75; } }
.confident-kicker { margin: 0; font-weight: 700; font-size: 18px; color: #6b4ce6; }
.confident h1 { margin: 0; font-weight: 900; font-size: clamp(44px, 7vw, 96px); line-height: 0.95; letter-spacing: -0.03em;
  background: linear-gradient(100deg, #5b2fe0, #d23bb0 55%, #ff7a59); -webkit-background-clip: text; background-clip: text; color: transparent; }
.confident-pill { margin: 6px 0 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 15px; color: #1f8a4c; box-shadow: 0 8px 24px -12px rgba(31, 138, 76, 0.6); }
.confident-pill span { width: 10px; height: 10px; border-radius: 999px; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.22); }
.scroll-hint { position: absolute; bottom: 24px; left: 50%; translate: -50% 0; margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(42, 27, 92, 0.6); }

/* ---------- 2. the record ---------- */
.record { min-height: 100svh; display: grid; align-items: center; padding: 18vh 0; background: var(--plaster); }
.record .wrap { display: grid; gap: 28px; }
.record-line { margin: 0; max-width: 22ch; font-family: var(--serif); font-size: clamp(30px, 4.4vw, 58px); line-height: 1.12; letter-spacing: -0.015em; }
.record-line mark { background: none; color: var(--sinopia); box-shadow: inset 0 -0.08em 0 color-mix(in srgb, var(--sinopia) 45%, transparent); }
.record-ask { margin: 20px 0 0; font-family: var(--sans); font-weight: 700; font-size: clamp(34px, 5.6vw, 80px); line-height: 1; letter-spacing: -0.035em; color: var(--ink); }

/* ---------- 2. the storm: one line per beat over circling record words ---------- */
.storm { height: 400vh; position: relative; }
.storm-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.storm-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.beats { position: relative; z-index: 1; margin: 0; padding: 0 var(--gutter); list-style: none; display: grid; text-align: center; pointer-events: none; }
.beats li { grid-area: 1 / 1; display: grid; gap: 18px; justify-items: center; opacity: 0; transform: translateY(24px) scale(0.98); filter: blur(10px); transition: opacity 420ms var(--ease), transform 520ms var(--ease), filter 420ms var(--ease); }
.beats li.on { opacity: 1; transform: none; filter: none; }
.beats span { font-family: var(--sans); font-weight: 700; font-size: clamp(44px, 8.4vw, 136px); line-height: 0.92; letter-spacing: -0.045em; color: var(--ink); text-wrap: balance; text-shadow: 0 0 40px var(--plaster), 0 0 18px var(--plaster), 0 0 6px var(--plaster); }
.beats span b { font-weight: inherit; color: var(--sinopia); }
.beats cite { font-family: var(--mono); font-style: normal; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--quiet); background: color-mix(in srgb, var(--plaster) 80%, transparent); padding: 4px 8px; border-radius: 999px; }
.storm-count, .storm-hint { position: absolute; z-index: 1; bottom: 24px; margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--quiet); }
.storm-count { left: var(--gutter); }
.storm-hint { right: var(--gutter); }
@media (hover: none) { .storm-hint { display: none; } }

/* ---------- 3. who is this ---------- */
.why { height: 300vh; position: relative; background: var(--red); color: var(--cream); }
.why-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.bust { position: absolute; inset: 0; }
.bust canvas { width: 100%; height: 100%; display: block; }
.why-kicker { position: absolute; left: var(--gutter); top: calc(12vh - 34px); margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244, 223, 204, 0.72); }
.why-title { position: absolute; left: var(--gutter); top: 12vh; margin: 0; font-family: var(--sans); font-weight: 500; font-size: clamp(48px, 7vw, 112px); line-height: 0.86; letter-spacing: -0.045em; }
.why-notes { margin: 0; padding: 0; list-style: none; }
.note { position: absolute; display: grid; row-gap: 6px; opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity 600ms var(--ease), transform 700ms var(--ease), filter 600ms var(--ease); }
.note b { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244, 223, 204, 0.72); }
.note span { font-family: var(--sans); font-weight: 500; font-size: clamp(30px, 3.6vw, 60px); line-height: 0.95; letter-spacing: -0.035em; color: var(--cream); text-shadow: 0 0 28px var(--red), 0 0 10px var(--red); }
.note.on { opacity: 1; transform: none; filter: none; }
.n1 { left: var(--gutter); top: 37%; }
.n2 { left: var(--gutter); top: 50%; }
.n3 { left: var(--gutter); top: 70%; }
.why-close { position: absolute; right: var(--gutter); bottom: 6vh; margin: 0; text-align: right; font-family: var(--sans); font-weight: 500; font-size: clamp(40px, 5.4vw, 88px); line-height: 0.88; letter-spacing: -0.045em; opacity: 0; transform: translateY(16px); filter: blur(6px); transition: opacity 700ms var(--ease), transform 800ms var(--ease), filter 700ms var(--ease); }
.why-close.on { opacity: 1; transform: none; filter: none; }
.why-caption { position: absolute; left: var(--gutter); bottom: 6vh; margin: 0; font-family: var(--mono); font-size: 11.5px; line-height: 1.7; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244, 223, 204, 0.72); }

/* ---------- 5. the product ---------- */
.reveal { min-height: 100svh; display: grid; align-items: center; padding: 16vh 0; }
.reveal-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 5vw; align-items: center; }
.wordmark { margin: 0 0 26px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 30px; letter-spacing: -0.035em; }
.wordmark img { width: 0.92em; height: 1.15em; display: block; }
.wordmark sup { font-family: var(--mono); font-size: 11px; letter-spacing: 0; color: var(--quiet); }
.reveal-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5.4vw, 80px); line-height: 0.98; letter-spacing: -0.03em; }
.reveal-title em { color: var(--verdigris); }
.stops { margin: 34px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.stops li { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--quiet); }
.stops i { width: 14px; height: 14px; border-radius: 999px; border: 1.6px solid var(--verdigris); }
.stops li:nth-child(2) i { border-color: var(--sinopia); }
.cta { margin-top: 38px; display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: var(--sheet); font-weight: 500; font-size: 16px; text-decoration: none; transition: background-color 240ms var(--ease), transform 160ms var(--ease); }
.cta:hover { background: #3a3e35; }
.cta:active { transform: scale(0.98); }
.cta span { transition: transform 240ms var(--ease); }
.cta:hover span { transform: translateX(4px); }
.cta:focus-visible { outline: 2px solid var(--verdigris); outline-offset: 4px; }
.shot { margin: 0; display: grid; gap: 12px; }
.shot img { border-radius: 18px; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgba(30, 33, 27, 0.6); }
.shot figcaption { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--quiet); }

/* ---------- phones ---------- */
@media (max-width: 820px) {
  .confident-card { padding: 34px 28px 30px; margin: 0 20px; }
  .why-title { top: 7vh; }
  .why-notes { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(5vh + 96px); display: grid; gap: 14px; }
  .note { position: static; }
  .note span { font-size: 26px; }
  .why-close { left: var(--gutter); right: var(--gutter); text-align: left; bottom: 5vh; font-size: 40px; }
  .why-caption { display: none; }
  .reveal-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .spark { animation: none; }
  .beats li, .note, .why-close { transition: none; filter: none; }
}

/* language switch, quiet, always reachable */
.lang { position: fixed; top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); z-index: 50; display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(247, 247, 242, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(30, 33, 27, 0.12); }
.lang button { min-height: 30px; min-width: 40px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--quiet); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--sheet); }
.lang button:focus-visible { outline: 2px solid var(--verdigris); outline-offset: 2px; }
@media (max-width: 820px) { .why-kicker { top: calc(7vh - 26px); } }

/* ---------- the challenge, one line; hover, focus or tap for the brief ---------- */
.challenge { position: fixed; top: max(16px, env(safe-area-inset-top, 0px)); left: max(16px, env(safe-area-inset-left, 0px)); z-index: 50; }
.challenge-chip { display: inline-flex; align-items: center; gap: 10px; max-width: min(460px, calc(100vw - 140px)); min-height: 34px; padding: 0 14px 0 6px; border: 0; border-radius: 999px; background: rgba(247, 247, 242, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(30, 33, 27, 0.12); color: var(--ink); font: inherit; cursor: pointer; }
.challenge-chip b { flex: none; padding: 5px 9px; border-radius: 999px; background: var(--ink); color: var(--plaster); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.challenge-chip span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; }
.challenge-chip:focus-visible { outline: 2px solid #3f6f5f; outline-offset: 3px; }
.challenge-brief { position: absolute; top: calc(100% + 8px); left: 0; width: min(380px, calc(100vw - 32px)); padding: 18px 20px 20px; border-radius: 16px; background: var(--plaster); box-shadow: 0 0 0 1px rgba(30, 33, 27, 0.1), 0 18px 40px -18px rgba(30, 33, 27, 0.35); opacity: 0; visibility: hidden; transform: translateY(-4px); filter: blur(6px); transition: opacity 260ms var(--ease), transform 320ms var(--ease), filter 260ms var(--ease), visibility 0s linear 320ms; }
.challenge:hover .challenge-brief, .challenge:focus-within .challenge-brief, .challenge.open .challenge-brief { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: 0s; }
.challenge-brief p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink); }
.challenge-brief .challenge-meta { margin-bottom: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--quiet); }
.challenge-brief .challenge-title { margin-bottom: 8px; font-family: var(--serif); font-size: 24px; line-height: 1.1; letter-spacing: -0.015em; }
@media (prefers-reduced-motion: reduce) { .challenge-brief { transition: none; filter: none; transform: none; } }

/* ---------- 1. the opening: the record as written ---------- */
/* No intro scene: the first thing a stranger sees is the jargon itself.
   Lines come into focus one by one; the terms a patient trips on stay dark. */
.record { position: relative; min-height: 100svh; padding: max(96px, 12vh) 0 14vh; }
.record .wrap { gap: 32px; }
.wall { display: grid; gap: 0.5em; max-width: 46ch; font-family: var(--serif); font-size: clamp(20px, 1.9vw, 28px); line-height: 1.28; letter-spacing: -0.01em; }
.wall p { margin: 0; color: var(--quiet); opacity: 0; filter: blur(7px); transform: translateY(6px); animation: wall-in 760ms var(--ease) forwards; animation-delay: calc(240ms + var(--i) * 170ms); }
.wall .j { color: var(--ink); text-decoration: underline dotted 1.5px; text-decoration-color: color-mix(in srgb, var(--ink) 40%, transparent); text-underline-offset: 0.2em; }
.wall .key { font-size: 1.22em; line-height: 1.18; padding-top: 0.55em; color: var(--ink); }
.wall .labs { font-family: var(--mono); font-size: 0.58em; letter-spacing: 0.04em; }
.wall mark { background: none; color: var(--sinopia); box-shadow: inset 0 -0.08em 0 color-mix(in srgb, var(--sinopia) 45%, transparent); }
.record .record-ask { margin-top: 8px; opacity: 0; filter: blur(8px); animation: wall-in 900ms var(--ease) forwards; animation-delay: 1500ms; }
.record .scroll-hint { color: var(--quiet); }
@keyframes wall-in { to { opacity: 1; filter: none; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wall p, .record .record-ask { animation: none; opacity: 1; filter: none; transform: none; } }
.why-close { text-shadow: 0 0 32px var(--red), 0 0 12px var(--red); }

/* The one word that matters gets its meaning written above it, like a teacher's note. */
.wall mark { position: relative; }
.wall mark::after { content: "= " attr(data-gloss); position: absolute; left: 50%; bottom: 100%; translate: -50% -2px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; color: var(--sinopia); opacity: 0; animation: gloss-in 600ms var(--ease) 2400ms forwards; }
@keyframes gloss-in { from { opacity: 0; translate: -50% 4px; } to { opacity: 1; translate: -50% -2px; } }
@media (prefers-reduced-motion: reduce) { .wall mark::after { animation: none; opacity: 1; } }
.why-close small { display: block; margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.1vw, 34px); font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; color: var(--cream); }
@media (max-width: 820px) { .why-close small { font-size: 21px; margin-top: 10px; } .why-notes { bottom: calc(5vh + 150px); gap: 10px; } .why-title { top: 9vh; } }

/* ---------- 2b. what a misread costs: dominoes ---------- */
.cost { height: 360vh; position: relative; background: var(--plaster); }
.cost-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto auto auto; align-content: center; justify-items: center; gap: 6vh; padding: 0 var(--gutter); }
.cost-kicker { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--quiet); }
.dominoes { margin: 0; padding: 0; list-style: none; display: flex; gap: clamp(14px, 2.4vw, 34px); align-items: flex-end; }
.domino { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 14px; width: clamp(200px, 17vw, 250px); height: clamp(300px, 27vw, 370px); padding: 18px; border-radius: 18px; background: #f7f7f2; box-shadow: 0 0 0 1px rgba(30, 33, 27, 0.12), 0 22px 40px -26px rgba(30, 33, 27, 0.45); transform-origin: 100% 100%; transition: transform 820ms cubic-bezier(0.55, 0, 0.35, 1.25), background-color 500ms var(--ease), box-shadow 500ms var(--ease); }
.domino i { font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--quiet); }
.domino b { font-family: var(--sans); font-weight: 700; font-size: clamp(22px, 2.1vw, 32px); line-height: 0.98; letter-spacing: -0.035em; color: var(--ink); }
/* The record's own words, cut out like newspaper clippings: what she read. */
.clips { display: grid; align-content: start; gap: 10px; filter: drop-shadow(0 6px 8px rgba(30, 33, 27, 0.16)); }
.clip { margin: 0; padding: 12px 12px 14px; background: #fbf6e8; font-family: var(--serif); font-size: 16px; line-height: 1.25; color: #2a2a24; clip-path: polygon(0 4%, 6% 0, 13% 3%, 21% 0, 29% 4%, 37% 1%, 46% 4%, 55% 0, 63% 3%, 72% 0, 80% 4%, 88% 1%, 95% 4%, 100% 1%, 100% 96%, 94% 100%, 86% 97%, 78% 100%, 70% 96%, 61% 100%, 53% 97%, 44% 100%, 36% 96%, 27% 100%, 19% 97%, 11% 100%, 4% 96%, 0 100%); rotate: -1.6deg; }
.clips .clip + .clip { rotate: 1.4deg; }
.domino:nth-child(even) .clip { rotate: 1.2deg; }
.clip small { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #8a8576; }
.clip mark { background: none; color: var(--sinopia); box-shadow: inset 0 -0.1em 0 color-mix(in srgb, var(--sinopia) 45%, transparent); }
.clip-ai { background: #eef0f6; }
.clip-ai .ai-right { display: none; }
.clip-ai .ai-right mark { color: #fff; background: var(--verdigris); box-shadow: none; padding: 0 3px; border-radius: 3px; }
.domino.caught .clip-ai .ai-wrong { display: none; }
.domino.caught .clip-ai .ai-right { display: inline; }
.domino.down { transform: rotate(20deg) translateY(4%); background: #f3e6df; box-shadow: 0 0 0 1px color-mix(in srgb, var(--sinopia) 40%, transparent), 0 10px 18px -14px rgba(30, 33, 27, 0.45); }
.domino.down b { color: var(--sinopia); }
.domino.caught { transform: none; background: #f7f7f2; box-shadow: 0 0 0 2px var(--verdigris), 0 22px 40px -26px rgba(30, 33, 27, 0.45); }
.domino.caught::after { content: "Caught"; position: absolute; top: 14px; right: 14px; padding: 3px 8px; border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--verdigris); }
html[lang="sv"] .domino.caught::after { content: "Fångad"; }
.cost-lines { display: grid; text-align: center; min-height: 2.1em; font-size: clamp(34px, 4.6vw, 70px); }
.cost-line { grid-area: 1 / 1; margin: 0; font-family: var(--sans); font-weight: 700; font-size: inherit; line-height: 0.98; letter-spacing: -0.04em; color: var(--ink); opacity: 0; transform: translateY(14px); filter: blur(8px); transition: opacity 500ms var(--ease), transform 600ms var(--ease), filter 500ms var(--ease); }
.cost-line em { font-style: normal; color: var(--verdigris); }
.cost-line.on { opacity: 1; transform: none; filter: none; }
.cost-note { position: absolute; bottom: 24px; left: var(--gutter); margin: 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--quiet); }
@media (max-width: 820px) {
  .cost-stage { gap: 4vh; }
  .dominoes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
  .domino { width: auto; height: auto; min-height: 196px; padding: 12px; gap: 8px; border-radius: 14px; }
  .domino b { font-size: 19px; }
  .clip { padding: 8px 9px 10px; font-size: 12.5px; }
  .clip small { font-size: 8.5px; }
  .clips { gap: 6px; }
  .domino.down { transform: rotate(7deg) translateY(3%); }
  .domino.caught::after { top: 12px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) { .domino, .cost-line { transition: none; filter: none; } }

/* ---------- 3b. why not just a chatbot ---------- */
.vs { min-height: 100svh; display: grid; align-items: center; padding: 14vh 0; background: var(--plaster); }
.vs-wrap { display: grid; gap: 40px; }
.vs-kicker { margin: 0; font-family: var(--sans); font-weight: 700; font-size: clamp(38px, 5.4vw, 84px); line-height: 0.95; letter-spacing: -0.045em; color: var(--ink); }
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vs-col { padding: 28px; border-radius: 20px; }
.vs-them { background: #ecebe5; box-shadow: inset 0 0 0 1px rgba(30, 33, 27, 0.08); }
.vs-us { background: #f7f7f2; box-shadow: 0 0 0 2px var(--verdigris), 0 24px 48px -30px rgba(30, 33, 27, 0.5); }
.vs-head { margin: 0 0 20px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--quiet); }
.vs-us .vs-head { color: var(--verdigris); }
.vs-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.vs-col li { display: grid; grid-template-columns: 26px 1fr; align-items: baseline; font-family: var(--sans); font-weight: 600; font-size: clamp(22px, 2.3vw, 34px); line-height: 1.05; letter-spacing: -0.03em; opacity: 0; transform: translateY(12px); filter: blur(6px); transition: opacity 500ms var(--ease), transform 600ms var(--ease), filter 500ms var(--ease); transition-delay: calc(var(--i) * 120ms + 100ms); }
.vs-them li { color: #6f6f66; }
.vs-them li::before { content: "×"; color: var(--sinopia); font-weight: 700; }
.vs-us li { color: var(--ink); transition-delay: calc(var(--i) * 120ms + 600ms); }
.vs-us li::before { content: "✓"; color: var(--verdigris); font-weight: 700; }
.vs.on .vs-col li { opacity: 1; transform: none; filter: none; }
.vs-line { margin: 0; font-family: var(--serif); font-size: clamp(28px, 3.2vw, 48px); line-height: 1.1; letter-spacing: -0.015em; color: var(--ink); }
.vs-line em { color: var(--verdigris); }
@media (max-width: 820px) { .vs-grid { grid-template-columns: 1fr; } .vs-col { padding: 20px; } .vs-wrap { gap: 28px; } }
@media (prefers-reduced-motion: reduce) { .vs-col li { transition: none; opacity: 1; transform: none; filter: none; } }

/* ---------- under the hood: three rows, one open ---------- */
.hood { display: grid; margin-top: 48px; border-top: 1px solid rgba(30, 33, 27, 0.14); }
.hood-row { border-bottom: 1px solid rgba(30, 33, 27, 0.14); }
.hood-row summary { display: grid; grid-template-columns: 40px 1fr 28px; align-items: center; gap: 12px; padding: 22px 0; list-style: none; cursor: pointer; }
.hood-row summary::-webkit-details-marker { display: none; }
.hood-row summary::after { content: "+"; justify-self: end; font: 400 28px/1 var(--sans); color: var(--quiet); transition: transform 300ms var(--ease); }
.hood-row[open] summary::after { transform: rotate(45deg); }
.hood-row summary i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; box-shadow: 0 0 0 1px rgba(30, 33, 27, 0.18); font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--quiet); }
.hood-row[open] summary i { background: var(--ink); color: var(--plaster); box-shadow: none; }
.hood-row summary span { font-family: var(--sans); font-weight: 700; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.05; letter-spacing: -0.03em; color: var(--ink); }
.hood-row > p { margin: 0 0 22px 52px; max-width: 40em; font-size: 17px; line-height: 1.5; color: var(--quiet); animation: wall-in 420ms var(--ease) both; }
.hood-row > p b { font-weight: 600; color: var(--ink); }
.hood-row > p small { display: block; margin-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }

.lab { display: grid; gap: 14px; margin: 0 0 26px 52px; padding: 22px; border-radius: 18px; background: var(--ink); color: var(--plaster); animation: wall-in 420ms var(--ease) both; }
.lab small { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(237, 239, 231, 0.55); }
.lab-src p { margin: 0; font-family: var(--serif); font-size: clamp(17px, 1.6vw, 22px); line-height: 1.3; color: rgba(237, 239, 231, 0.88); }
.lab-src mark { background: none; color: #f0a98f; box-shadow: inset 0 -0.1em 0 rgba(240, 169, 143, 0.5); }
.lab-plain textarea { width: 100%; resize: none; padding: 12px 14px; border: 0; border-radius: 12px; background: rgba(237, 239, 231, 0.08); box-shadow: inset 0 0 0 1px rgba(237, 239, 231, 0.18); color: #fff; font: 500 clamp(16px, 1.5vw, 20px)/1.35 var(--sans); outline: none; transition: box-shadow 240ms var(--ease); }
.lab[data-state="flag"] .lab-plain textarea { box-shadow: inset 0 0 0 1.5px #f0a98f; }
.lab[data-state="clean"] .lab-plain textarea { box-shadow: inset 0 0 0 1.5px #8fc7ad; }
.lab-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.lab-out { display: flex; flex-wrap: wrap; gap: 8px; min-height: 30px; }
.lab-flag, .lab-ok { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 600; animation: lab-pop 360ms cubic-bezier(0.34, 1.45, 0.64, 1) both; }
.lab-flag { background: rgba(240, 169, 143, 0.16); color: #f6b9a4; }
.lab-ok { background: rgba(143, 199, 173, 0.16); color: #a9dcc4; }
@keyframes lab-pop { from { opacity: 0; transform: scale(0.85); } }
.lab-tries { display: flex; flex-wrap: wrap; gap: 8px; }
.lab-tries button { min-height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(237, 239, 231, 0.1); color: var(--plaster); font: 500 13px var(--sans); cursor: pointer; }
.lab-tries button:hover { background: rgba(237, 239, 231, 0.2); }
.lab-tries button:focus-visible, .lab-plain textarea:focus-visible, .hood-row summary:focus-visible { outline: 2px solid #3f6f5f; outline-offset: 3px; }
@media (max-width: 820px) {
  .hood-row summary { grid-template-columns: 32px 1fr 22px; gap: 10px; padding: 18px 0; }
  .hood-row > p, .lab { margin-left: 0; }
  .lab { padding: 16px; }
  .lab-plain textarea { min-height: 5.6em; }
}

/* ---------- misread costs, v2: a huge heading and one card at a time ---------- */
.cost { height: 520vh; }
.cost-stage { --w: clamp(260px, 27vw, 380px); --h: clamp(350px, 34vw, 470px); --gap: clamp(20px, 3vw, 44px); align-content: center; justify-items: stretch; gap: 5vh; }
.cost-title { margin: 0; font-family: var(--sans); font-weight: 700; font-size: clamp(44px, 7.2vw, 120px); line-height: 0.92; letter-spacing: -0.05em; color: var(--ink); }
.cost .dominoes { position: relative; left: 50%; display: flex; gap: var(--gap); width: max-content; transform: translateX(calc(-1 * (var(--step, 0) + 0.5) * (var(--w) + var(--gap)) + var(--gap) / 2)); transition: transform 760ms cubic-bezier(0.6, 0, 0.3, 1); }
.cost .domino { width: var(--w); height: var(--h); padding: 22px; gap: 18px; opacity: 0.38; scale: 0.9; transition: transform 820ms cubic-bezier(0.55, 0, 0.35, 1.25), scale 600ms var(--ease), opacity 500ms var(--ease), background-color 500ms var(--ease), box-shadow 500ms var(--ease); }
.cost .domino.active { opacity: 1; scale: 1; }
.cost .domino.down { opacity: 0.6; }
.cost.caught .domino { opacity: 0.55; }
.cost.caught .domino.caught { opacity: 1; }
.cost .domino b { font-size: clamp(30px, 3vw, 46px); }
.cost .clip { font-size: clamp(16px, 1.45vw, 20px); padding: 14px 14px 16px; }
.cost .clip small { font-size: 10px; }
.cost-lines { font-size: clamp(30px, 4vw, 60px); }
@media (max-width: 820px) {
  .cost-stage { --w: 74vw; --h: 380px; --gap: 16px; gap: 3.5vh; }
  .cost .dominoes { display: flex; grid-template-columns: none; width: max-content; }
  .cost .domino { height: var(--h); min-height: 0; padding: 18px; }
  .cost .domino b { font-size: 32px; }
  .cost .clip { font-size: 16px; padding: 12px 12px 14px; }
  .cost-lines { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .cost .dominoes, .cost .domino { transition: none; } }
.cost-stage { padding-top: 84px; }
.cost-stage { grid-template-columns: minmax(0, 1fr); } .cost-title { text-wrap: balance; }

/* ---------- the checker demo, one line top to bottom ---------- */
.lab { justify-items: center; gap: 6px; padding: 32px 24px; text-align: center; }
.lab-step { display: grid; gap: 6px; max-width: 30em; }
.lab-step small { margin: 0; }
.lab-step p { margin: 0; font-family: var(--sans); font-weight: 600; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.02em; color: var(--plaster); }
.lab-step:first-child p { font-family: var(--serif); font-weight: 400; color: rgba(237, 239, 231, 0.88); }
.lab-step mark { background: none; color: #f0a98f; box-shadow: inset 0 -0.1em 0 rgba(240, 169, 143, 0.5); }
.lab-step em { font-style: normal; color: #a9dcc4; box-shadow: inset 0 -0.1em 0 rgba(169, 220, 196, 0.5); }
.lab-arrow { font-style: normal; font-size: 22px; line-height: 1; color: rgba(237, 239, 231, 0.35); }
.lab-verdict p { font-size: clamp(26px, 3vw, 40px); }
.lab[data-state="flag"] .lab-verdict p { color: #f6b9a4; }
.lab[data-state="clean"] .lab-verdict p { color: #a9dcc4; }
.lab-fix { margin-top: 18px; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--plaster); color: var(--ink); font: 600 15px var(--sans); cursor: pointer; }
.lab-fix:focus-visible { outline: 2px solid #a9cdbd; outline-offset: 3px; }

/* ---------- footer on every screen ---------- */
.site-footer { display: grid; gap: 6px; width: min(1120px, 100%); margin: 0 auto; padding: 32px var(--gutter) 40px; border-top: 1px solid rgba(30, 33, 27, 0.12); color: var(--quiet); }
.site-footer p { margin: 0; font-size: 12px; line-height: 1.55; }
.site-footer-rights { font-weight: 600; color: var(--ink); }
/* The gloss sits right after the word, in the line, so it can never cover the line above. */
.wall mark::after { position: static; display: inline-block; margin-left: 0.4em; translate: none; vertical-align: 0.35em; animation: gloss-fade 600ms var(--ease) 2400ms forwards; }
@keyframes gloss-fade { from { opacity: 0; } to { opacity: 1; } }
.wall .key { padding-top: 0; }
/* The tick and cross get a column wide enough for the glyph at any size. */
.vs-col li { grid-template-columns: 1.15em 1fr; column-gap: 0.25em; }

/* ---------- feedback pass: smooth accordions, shorter pinned scenes, clearer progress ---------- */
:root { interpolate-size: allow-keywords; }
.hood-row::details-content { block-size: 0; overflow: hidden; transition: block-size 420ms var(--ease), content-visibility 420ms allow-discrete; }
.hood-row[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) { .hood-row::details-content { transition: none; } }
.storm { height: 300vh; }
.cost { height: 420vh; }
.why { height: 260vh; }
.storm-count { font-size: 15px; letter-spacing: 0.14em; color: var(--ink); }
.storm-count span { font-weight: 700; }
/* The scroll hint stays at the bottom of the screen until the reader has started. */
.scroll-hint { position: fixed; z-index: 30; bottom: 22px; left: 50%; translate: -50% 0; display: inline-flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13px; color: var(--ink); transition: opacity 400ms var(--ease); }
.scroll-hint::after { content: "↓"; font-size: 16px; animation: hint-bob 1.6s var(--ease) infinite; }
@keyframes hint-bob { 50% { transform: translateY(5px); } }
.scroll-hint.gone { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .scroll-hint::after { animation: none; } }

/* ---------- explanations on the dotted words ---------- */
.wall .j { cursor: help; border-radius: 3px; transition: background-color 200ms var(--ease); }
.wall .j:hover, .wall .j:focus-visible { background: color-mix(in srgb, var(--verdigris) 12%, transparent); outline: none; }
.gloss-tip { position: absolute; z-index: 60; max-width: 260px; padding: 10px 12px; border-radius: 12px; background: var(--ink); color: var(--plaster); font-size: 14px; line-height: 1.4; box-shadow: 0 14px 30px -14px rgba(30, 33, 27, 0.6); opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity 180ms var(--ease), transform 220ms var(--ease); }
.gloss-tip b { display: block; margin-bottom: 2px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #a9dcc4; }
.gloss-tip.on { opacity: 1; transform: none; }

/* ---------- progress toward the next card ---------- */
.cost-progress { display: flex; justify-content: center; gap: 8px; }
.cost-progress i { position: relative; width: 44px; height: 4px; border-radius: 4px; background: rgba(30, 33, 27, 0.12); overflow: hidden; }
.cost-progress i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--ink); transform: scaleX(var(--fill, 0)); transform-origin: left; transition: transform 160ms linear; }
.cost.caught .cost-progress i::after { background: var(--verdigris); }

/* ---------- misread scene v3: plain scroll, one card at a time, no pinning ---------- */
.cost { height: auto; padding: 16vh 0 18vh; }
.cost .cost-stage { position: static; height: auto; overflow: visible; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; gap: 56px; padding: 0 var(--gutter); }
.cost .cost-title { justify-self: stretch; text-align: center; }
.cost .dominoes { position: static; left: auto; transform: none; display: grid; justify-items: center; gap: 12vh; width: 100%; transition: none; }
.cost .domino, .cost-caught .domino { width: min(var(--w), 100%); }
.cost .domino.down { transform: rotate(-9deg) translateX(-4%); }
.cost-line { grid-area: auto; text-align: center; font-size: clamp(34px, 4.6vw, 70px); }
.cost-caught { display: grid; justify-items: center; width: 100%; }
.cost-caught .domino { opacity: 1; scale: 1; transform: none; }
.cost-note { position: static; justify-self: center; }
@media (max-width: 820px) { .cost .dominoes { gap: 8vh; } .cost-line { font-size: 32px; } }

.lab-next { margin-top: 6px; padding: 6px 10px; border: 0; background: none; color: rgba(237, 239, 231, 0.6); font: 500 13px var(--sans); cursor: pointer; }
.lab-next:hover { color: var(--plaster); }
.lab-next:focus-visible { outline: 2px solid #a9cdbd; outline-offset: 2px; border-radius: 6px; }

/* ---------- Paré v3: no pinning, he turns on his own, his head rises over the edge ---------- */
.why { height: auto; min-height: 112svh; overflow: visible; z-index: 2; }
.why .why-stage { position: relative; height: 112svh; overflow: visible; }
.why .bust { top: -24vh; bottom: 0; height: auto; }
.why .note { transition-delay: calc(var(--n, 0) * 260ms + 200ms); }
.why .why-close { transition-delay: 1100ms; }
@media (max-width: 820px) { .why .bust { top: -16vh; } }
.cost { padding-bottom: 36vh; }
.why .bust { top: -34vh; }
@media (max-width: 820px) { .why .bust { top: -22vh; } }

/* ---------- the call to the demo: big, dark, impossible to miss ---------- */
.cta { margin-top: 44px; gap: 22px; min-height: 92px; padding: 0 14px 0 34px; border-radius: 999px; background: var(--ink); color: var(--plaster); box-shadow: 0 24px 50px -22px rgba(30, 33, 27, 0.7); animation: cta-ring 2.6s var(--ease) infinite; }
.cta-text { display: grid; gap: 2px; text-align: left; }
.cta-text b { font-family: var(--sans); font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); line-height: 1; letter-spacing: -0.03em; }
.cta-text small { font-size: 14px; color: rgba(237, 239, 231, 0.7); }
.cta-arrow { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: var(--verdigris); color: #fff; font-size: 28px; transition: transform 240ms var(--ease); }
.cta:hover .cta-arrow { transform: translateX(5px); }
@keyframes cta-ring { 0% { box-shadow: 0 24px 50px -22px rgba(30, 33, 27, 0.7), 0 0 0 0 rgba(63, 111, 95, 0.45); } 70% { box-shadow: 0 24px 50px -22px rgba(30, 33, 27, 0.7), 0 0 0 16px rgba(63, 111, 95, 0); } 100% { box-shadow: 0 24px 50px -22px rgba(30, 33, 27, 0.7), 0 0 0 0 rgba(63, 111, 95, 0); } }
@media (max-width: 820px) { .cta { display: flex; justify-content: space-between; width: 100%; min-height: 84px; padding-left: 26px; } .cta-arrow { width: 56px; height: 56px; } }
@media (prefers-reduced-motion: reduce) { .cta { animation: none; } }
@media (max-width: 820px) { .why .bust { top: -30vh; } }
@media (max-width: 820px) { .why .why-kicker { display: none; } }

/* ---------- the end: logo, the product, one button ---------- */
.reveal-simple { display: grid; justify-items: center; gap: 36px; text-align: center; }
.reveal-simple .wordmark { margin: 0; font-size: 34px; }
.shot-link { display: block; width: min(760px, 100%); border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px rgba(30, 33, 27, 0.1), 0 40px 80px -40px rgba(30, 33, 27, 0.55); transition: transform 300ms var(--ease), box-shadow 300ms var(--ease); }
.shot-link img { display: block; width: 100%; height: auto; }
.shot-link:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(30, 33, 27, 0.12), 0 50px 90px -40px rgba(30, 33, 27, 0.6); }
.reveal-simple .cta { margin-top: 0; }
@media (max-width: 820px) { .reveal-simple { gap: 26px; } .reveal-simple .cta { width: 100%; } }

/* ---------- the opening, one line: the X-ray as written ---------- */
.wall-one { max-width: 22ch; font-size: clamp(32px, 4.6vw, 66px); line-height: 1.12; }
.wall-one .key { font-size: 1em; line-height: 1.12; color: var(--ink); animation-delay: 300ms; }
.record .record-ask { animation-delay: 1100ms; }
.wall-one mark::after { font-size: 0.24em; }

/* ---------- misread story v4: plain sentences, a time stamp on each card ---------- */
.cost .domino b { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; }
.cost .domino-plain { grid-template-rows: auto 1fr; align-content: stretch; }
.cost .domino-plain b { align-self: end; }
.cost .domino-plain i { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--quiet); }
.cost-maybe { color: var(--sinopia); }
@media (max-width: 820px) { .cost .domino b { font-size: 28px; } .cost .domino-plain { min-height: 220px; } }
.cost .domino.domino-plain { height: auto; min-height: 220px; }

/* ---------- the technical section, shorter: compact comparison, all rows closed ---------- */
.vs { min-height: 0; padding: 10vh 0; }
.vs-wrap { gap: 24px; }
.vs-kicker { font-size: clamp(34px, 4.4vw, 64px); }
.vs-col { padding: 20px 22px; border-radius: 16px; }
.vs-head { margin-bottom: 12px; }
.vs-col ul { gap: 8px; }
.vs-col li { font-size: clamp(18px, 1.7vw, 24px); }
.vs-line { font-size: clamp(24px, 2.4vw, 36px); }
.hood { margin-top: 20px; }
.hood-row summary { padding: 16px 0; }
.hood-row summary span { font-size: clamp(19px, 1.9vw, 26px); }
.hood-row > p { margin-bottom: 16px; }
.lab { margin-bottom: 20px; padding: 24px 20px; }
.vs { padding: 6vh 0; }
.vs-wrap { gap: 16px; }
.vs-grid { gap: 12px; }
.vs-col { padding: 16px 18px; }
.vs-col ul { gap: 4px; }
.vs-line { margin-top: 4px; }
.hood { margin-top: 8px; }
.hood-row summary { padding: 12px 0; }

/* ---------- beats that explain themselves, on a calm patch of paper ---------- */
.beats::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(1100px, 130vw); height: 520px; translate: -50% -50%; background: radial-gradient(closest-side, var(--plaster) 55%, color-mix(in srgb, var(--plaster) 70%, transparent) 75%, transparent); pointer-events: none; }
.beats li { gap: 14px; }
.beat-sub { margin: 0; max-width: 26ch; font-family: var(--sans); font-weight: 600; font-size: clamp(20px, 2.1vw, 30px); line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.beats cite { margin-top: 4px; background: var(--plaster); color: var(--ink); opacity: 0.7; }
@media (max-width: 820px) { .beats::before { height: 420px; } .beat-sub { font-size: 19px; } }
.lang .lang-soon { opacity: 0.38; cursor: not-allowed; }

/* ---------- language: one compact dropdown ---------- */
.lang { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 30px 0 12px; color: var(--ink); }
.lang::after { content: ""; position: absolute; right: 13px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; translate: 0 -70%; rotate: 45deg; pointer-events: none; }
.lang svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.lang select { appearance: none; border: 0; background: transparent; font: 600 13px var(--sans); color: inherit; cursor: pointer; outline: none; }

/* ---------- Hanna as a figure beside the cards (desktop only) ---------- */
.cost-figure { position: fixed; z-index: 1; right: max(2vw, calc(50vw - 640px)); top: 14vh; width: min(30vw, 420px); height: 72vh; opacity: 0; transition: opacity 500ms var(--ease); pointer-events: none; }
.cost-figure canvas { width: 100%; height: 100%; display: block; }
.cost-figure.on { opacity: 1; }
@media (max-width: 899px) { .cost-figure { display: none; } }

/* The word that frightened her, marked where she read it; and the line that ties it back. */
.clip mark.scare { color: #fff; background: var(--sinopia); box-shadow: none; padding: 0 3px; border-radius: 3px; }
.cost-sub { margin: -36px 0 0; max-width: 28ch; text-align: center; font-family: var(--sans); font-weight: 600; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.3; color: var(--quiet); opacity: 0; transition: opacity 600ms var(--ease) 300ms; }
.cost-line.on + .cost-sub { opacity: 1; }

/* ---------- the film: a small chip up top, a button at the end, a dialog to watch in ---------- */
.film-chip { position: fixed; z-index: 50; top: max(16px, env(safe-area-inset-top, 0px)); right: calc(max(16px, env(safe-area-inset-right, 0px)) + 150px); display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px 0 10px; border: 0; border-radius: 999px; background: var(--ink); color: var(--plaster); font: 600 13px var(--sans); cursor: pointer; box-shadow: 0 8px 20px -10px rgba(30, 33, 27, 0.6); }
.film-chip svg, .cta-film svg { width: 14px; height: 14px; fill: currentColor; }
.cta-film { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); font: 600 15px var(--sans); cursor: pointer; }
.cta-film:hover { background: rgba(30, 33, 27, 0.06); }
.film { width: min(1100px, 94vw); padding: 0; border: 0; border-radius: 18px; background: #000; overflow: visible; }
.film::backdrop { background: rgba(20, 22, 18, 0.82); backdrop-filter: blur(4px); }
.film video { display: block; width: 100%; height: auto; border-radius: 18px; }
.film-close { position: absolute; top: -44px; right: 0; width: 36px; height: 36px; border: 0; border-radius: 999px; background: var(--plaster); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
@media (max-width: 820px) { .film-chip { top: auto; bottom: 16px; right: 16px; } }
@media (max-width: 820px) {
  .lang { padding: 0 24px 0 10px; }
  .lang svg { display: none; }
  .lang::after { right: 10px; }
  .challenge-chip { max-width: calc(100vw - 150px); }
}
/* The select is as wide as its longest option ("Coming soon" ones) unless told otherwise. */
.lang select { width: 62px; }
@media (max-width: 820px) { .challenge-chip { max-width: calc(100vw - 140px); } }
/* The demo first, the film beside it as the quieter choice. */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; }
.cta-row .cta-film { min-height: 64px; padding: 0 26px; font-size: 16px; }
@media (max-width: 820px) { .cta-row { width: 100%; flex-direction: column; gap: 14px; } .cta-row .cta-film { width: 100%; justify-content: center; min-height: 56px; } }
.site-footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 8px !important; }
.site-footer-links a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(30, 33, 27, 0.25); text-underline-offset: 3px; }
.site-footer-links a:hover { text-decoration-color: currentColor; }
.site-footer-links svg { width: 15px; height: 15px; fill: currentColor; }
