/* Content Matrix website. Tokens live in brand.css. Layout: one centred column (1200 px) with
   full-bleed sections that alternate obsidian and graphite, split by thin champagne rules. */

:root {
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --wrap: 1200px;
  --gutter: 24px;
  --hdr-h: 72px;
  --cm-error: #E3806E;
}
@media (max-width: 640px) { :root { --gutter: 16px; --hdr-h: 64px; } }

/* ── Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
html.i18n-wait body { visibility: hidden; }
body {
  margin: 0;
  background: var(--cm-obsidian);
  color: var(--cm-ivory);
  font-family: var(--cm-font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--cm-champagne); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--cm-gold); color: var(--cm-obsidian); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--cm-ivory); color: var(--cm-obsidian); padding: 10px 16px; border-radius: 10px; font-weight: 500; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Section contexts. Every component reads --fg, --muted, --rule, --card. */
.s-ink      { --bg: var(--cm-obsidian); --fg: var(--cm-ivory); --muted: var(--cm-muted); --rule: var(--cm-rule); --line: var(--cm-border); --card: var(--cm-graphite); background: var(--bg); color: var(--fg); }
.s-graphite { --bg: var(--cm-graphite); --fg: var(--cm-ivory); --muted: var(--cm-muted); --rule: var(--cm-rule); --line: var(--cm-border); --card: var(--cm-obsidian); background: var(--bg); color: var(--fg); }

.s-light    { --bg: var(--cm-ivory); --fg: var(--cm-obsidian); --muted: rgba(12, 11, 10, .66); --rule: rgba(12, 11, 10, .16); --line: rgba(12, 11, 10, .1); --card: #FBF8F0; background: var(--bg); color: var(--fg); }
.s-light .label { color: var(--cm-bronze); }

.section { padding-block: clamp(80px, 9.5vw, 136px); position: relative; }
.section + .section, .hero + .section { border-top: .5px solid var(--cm-rule); }

/* ── Type ───────────────────────────────────────────── */
.display, .h2, .h3 { font-family: var(--cm-font-display); font-weight: 400; text-wrap: balance; }
.display { font-size: clamp(46px, 6.1vw, 88px); line-height: 1.0; letter-spacing: -0.015em; }
.h2 { font-size: clamp(38px, 4.6vw, 56px); line-height: 1.0; letter-spacing: -0.015em; }
.h3 { font-size: clamp(26px, 2.3vw, 32px); line-height: 1.05; letter-spacing: -0.01em; }
.display em, .h2 em { font-style: italic; color: var(--cm-gold); }
.h3 em { font-style: italic; }
/* The foil word: one per page, 48px or more. */
.foil { font-style: italic; background: var(--cm-foil); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; padding-right: .06em; margin-right: -.06em; }
.s-light .foil { background-image: var(--cm-foil-deep); }
.s-light .display em, .s-light .h2 em { color: #B98300; }
.label {
  font-family: var(--cm-font-mono); font-weight: 400; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cm-champagne);
}
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.muted { color: var(--muted); }
.sec-head { display: flex; flex-direction: column; gap: 20px; }
.sec-head .lead { max-width: 56ch; }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 10px;
  font-family: var(--cm-font-body); font-weight: 500; font-size: 14px; letter-spacing: 0; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .25s, color .25s, border-color .25s, filter .25s;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--primary { background: var(--cm-gold); color: var(--cm-obsidian); }
.btn--primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn--ghost { color: var(--cm-champagne); border: .5px solid rgba(234, 213, 154, .45); background: transparent; }
.btn--ghost:hover { background: rgba(234, 213, 154, .07); border-color: rgba(234, 213, 154, .7); transform: translateY(-1px); }
.s-light .btn--ghost { color: var(--cm-obsidian); border-color: rgba(12, 11, 10, .34); }
.s-light .btn--ghost:hover { background: rgba(12, 11, 10, .05); border-color: rgba(12, 11, 10, .6); }
.btn--sm { height: 40px; padding: 0 16px; }
.btn:disabled, .btn[aria-disabled="true"] { background: transparent; color: var(--cm-bronze); border: .5px solid var(--cm-bronze); cursor: not-allowed; filter: none; transform: none; }

/* ── Mark and wordmark ──────────────────────────────── */
/* The logo: the CM monogram in its gold bracket frame. Two pictures, one for dark grounds and one for light grounds
   (the white C is outlined in brown there). The header swaps them when it passes over a light section. */
.logo { position: relative; display: block; height: 50px; aspect-ratio: 280 / 263; flex: none; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .35s; }
.logo__light { opacity: 0; }
.hdr.on-light .logo__dark { opacity: 0; }
.hdr.on-light .logo__light { opacity: 1; }
.logo-solo { display: block; width: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--cm-ivory); }
.wm { display: inline-flex; flex-direction: column; gap: 5px; }
.wm__w { font-family: var(--cm-font-display); font-size: 27px; line-height: 1.0; letter-spacing: -0.01em; color: var(--cm-ivory); white-space: nowrap; }
.wm__w em { font-style: italic; color: var(--cm-gold); }
.wm small { font-family: var(--cm-font-mono); font-size: 7.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--cm-champagne); line-height: 1; white-space: nowrap; }
.hdr .logo { height: 32px; }
.hdr .wm small { display: none; }
@media (max-width: 520px) { .hdr .logo { height: 28px; } .hdr .wm__w { font-size: 24px; } }

/* ── Header ─────────────────────────────────────────── */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; border-bottom: .5px solid transparent; transition: background-color .35s, border-color .35s, backdrop-filter .35s; }
.hdr.is-scrolled { background: rgba(12, 11, 10, .86); -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px); border-bottom-color: var(--cm-rule); }
.hdr__in { height: var(--hdr-h); display: flex; align-items: center; gap: 36px; }
.nav { display: flex; gap: 30px; margin-left: auto; font-size: 14px; color: var(--cm-muted); }
.nav a { position: relative; padding-block: 6px; transition: color .2s; }
.nav a:hover { color: var(--cm-ivory); }
.hdr__cta { display: flex; align-items: center; gap: 20px; }
.lang { display: inline-flex; align-items: center; gap: 2px; font-family: var(--cm-font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.lang a { padding: 6px 7px; color: var(--cm-muted); border-radius: 6px; transition: color .2s; }
.lang a:hover { color: var(--cm-ivory); }
.lang a[aria-current="true"] { color: var(--cm-ivory); }
.lang i { width: 1px; height: 10px; background: var(--cm-border-strong); }
@media (max-width: 860px) {
  .nav { display: none; }
  .hdr__cta { margin-left: auto; }
}
@media (max-width: 420px) { .hdr__cta .btn-long { display: none; } .hdr__cta { gap: 10px; } }
@media (min-width: 421px) { .hdr__cta .btn-short { display: none; } }

.hdr.on-light .wm__w { color: var(--cm-obsidian); }
.hdr.on-light .wm__w em { color: #B98300; }
.hdr.on-light .wm small { color: var(--cm-bronze); }
.hdr.on-light .nav { color: rgba(12, 11, 10, .68); }
.hdr.on-light .nav a:hover { color: var(--cm-obsidian); }
.hdr.on-light .lang a { color: rgba(12, 11, 10, .55); }
.hdr.on-light .lang a:hover, .hdr.on-light .lang a[aria-current="true"] { color: var(--cm-obsidian); }
.hdr.on-light .lang i { background: rgba(12, 11, 10, .25); }
.hdr.on-light .btn--ghost { color: var(--cm-obsidian); border-color: rgba(12, 11, 10, .34); }
.hdr.on-light .btn--ghost:hover { background: rgba(12, 11, 10, .06); border-color: rgba(12, 11, 10, .6); }
.hdr.on-light.is-scrolled { background: rgba(244, 238, 226, .88); border-bottom-color: rgba(12, 11, 10, .12); }
.hdr .brand, .hdr .nav, .hdr .wm__w, .hdr .lang a { transition: color .35s; }

/* ── Hero ───────────────────────────────────────────── */
/* Centred on ivory: a masthead line, the headline, the copy and the buttons, then the film big underneath.
   Paper grain and a champagne light behind the film. */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: min(100svh, 960px);
  padding-top: calc(var(--hdr-h) + clamp(24px, 3.4vw, 48px)); padding-bottom: clamp(72px, 7vw, 112px); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow { position: absolute; border-radius: 50%; }
.hero__glow--a { width: min(1200px, 130vw); aspect-ratio: 1; left: 50%; top: 30%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(234, 213, 154, .9), rgba(234, 213, 154, .4) 48%, transparent 74%); }
.hero__glow--b { width: min(900px, 110vw); aspect-ratio: 1; left: -28%; top: -40%; background: radial-gradient(closest-side, rgba(245, 180, 0, .12), transparent 68%); }
.hero__grain { position: absolute; inset: 0; opacity: .18; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .08 0 0 0 0 .04 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__in { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__title { margin-top: 0; font-size: clamp(54px, 7.6vw, 116px); line-height: .94; letter-spacing: -0.022em; max-width: 19ch; }
.hero__copy { display: flex; flex-direction: column; align-items: center; gap: 28px; margin-top: clamp(28px, 2.8vw, 40px); }
.hero__sub { max-width: 46ch; font-size: clamp(17px, 1.42vw, 20px); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero__ctas .btn { height: 52px; padding: 0 24px; font-size: 15px; }
/* The headline and the copy sit in the middle of the first screen; the film starts below the fold */
.hero__centre { width: 100%; min-height: calc(100svh - var(--hdr-h) - 48px); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero__centre .hero__title { margin-top: 0; }
@media (max-width: 960px) { .hero__centre { min-height: 0; } }
.hero__shot { position: relative; width: 100%; max-width: 1120px; margin-top: clamp(56px, 6vw, 88px); }
@media (max-width: 640px) {
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__title { font-size: clamp(44px, 12.5vw, 60px); }
}

/* The living grid and the moving light (js/hero.js) */
/* The dot grid across the hero, at rest. js/hero.js lights the dots near the cursor on top of it. */
.hero__dots { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(138, 102, 0, .3) 1px, transparent 1.5px); background-size: 26px 26px; background-position: 13px 13px; -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 40%, #000 30%, transparent 88%); mask-image: radial-gradient(ellipse 85% 80% at 50% 40%, #000 30%, transparent 88%); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__light { position: absolute; left: 0; top: 0; width: 1000px; height: 1000px; margin: -500px 0 0 -500px; border-radius: 50%; pointer-events: none; will-change: transform;
  background: radial-gradient(circle, rgba(236, 190, 70, .3) 0%, rgba(236, 190, 70, .1) 35%, rgba(236, 190, 70, 0) 65%); }
/* The gold word: solid letters that take turns catching the light */
.hero h1 .foil.foil--live { position: relative; display: inline-block; margin-right: 0; padding: 0 .06em .08em 0; background: none; -webkit-text-fill-color: currentColor; color: #B98300; }
.hero h1 .foil__letters span { display: inline-block; padding: .12em .04em; margin: -.12em -.04em; animation: foil-in 1s var(--ease) both; animation-delay: calc(250ms + var(--i) * 85ms); }
.hero h1 .foil__line { position: absolute; left: .04em; right: .1em; bottom: .02em; height: 3px; background: #F5B400; transform-origin: left; transform: scaleX(0); animation: foil-line 1.2s var(--ease) 900ms both; }
@keyframes foil-in { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: none; } }
@keyframes foil-line { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .hero h1 .foil__line { transform: scaleX(1); } }

/* The VSL slot. Put the video in later: set data-src (and data-poster) on .vsl and delete the class is-empty.
   Landscape is the default. For a portrait video add the class vsl--tall. */
.vsl { --vsl-ratio: 16 / 9; position: relative; width: 100%; aspect-ratio: var(--vsl-ratio); border-radius: 16px; overflow: hidden; isolation: isolate; background: var(--cm-obsidian);
  box-shadow: 0 2px 4px rgba(12, 11, 10, .1), 0 34px 64px -22px rgba(12, 11, 10, .5), 0 70px 140px -50px rgba(110, 80, 0, .45); }
.vsl::after { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(234, 213, 154, .22); pointer-events: none; }
.vsl--tall { --vsl-ratio: 9 / 16; width: min(100%, 360px); margin-inline: auto 0; }
@media (max-width: 960px) { .vsl--tall { margin-inline: auto; } }
.vsl video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--cm-obsidian); z-index: 1; opacity: 0; pointer-events: none; }
.vsl.is-playing video { opacity: 1; pointer-events: auto; }
.vsl__ph { position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 65% 75% at 50% -6%, rgba(245, 180, 0, .2), transparent 62%), radial-gradient(ellipse 70% 50% at 50% 115%, rgba(234, 213, 154, .1), transparent 70%), linear-gradient(180deg, #1A1715, var(--cm-obsidian)); }
.vsl__ph::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(234, 213, 154, .05) 1px, transparent 1px), linear-gradient(to bottom, rgba(234, 213, 154, .05) 1px, transparent 1px); background-size: 44px 44px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 45%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 45%, #000 10%, transparent 75%); }
.vsl__mark { position: absolute; right: 18px; top: 14px; height: 38px; width: auto; }
.vsl__title { position: absolute; left: 0; right: 0; top: 63%; text-align: center; font-family: var(--cm-font-display); font-size: clamp(22px, 2.1vw, 32px); line-height: 1.1; letter-spacing: -0.01em; color: var(--cm-ivory); }
.vsl__title em { font-style: italic; }
.vsl__play { position: absolute; z-index: 2; left: 50%; top: 43%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; display: grid; place-items: center; color: var(--cm-ivory);
  background: rgba(244, 238, 226, .06); border: 1px solid rgba(234, 213, 154, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .5s var(--ease), border-color .25s, background-color .25s; }
.vsl__play svg { width: 26px; height: 26px; margin-left: 4px; }
.vsl__play::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(234, 213, 154, .25); animation: ring 3s var(--ease) infinite; }
.vsl:hover .vsl__play { transform: scale(1.06); border-color: var(--cm-champagne); background: rgba(244, 238, 226, .1); }
.vsl.is-empty .vsl__play { cursor: default; }
.vsl .label { color: var(--cm-champagne); }
.vsl__tag { position: absolute; z-index: 2; left: 20px; top: 20px; }
.vsl__cap { position: absolute; z-index: 2; left: 0; right: 0; top: calc(63% + clamp(36px, 3.2vw, 48px)); text-align: center; font-family: var(--cm-font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(234, 213, 154, .7); }
.vsl.is-playing .vsl__play, .vsl.is-playing .vsl__tag, .vsl.is-playing .vsl__cap, .vsl.is-playing .vsl__ph { opacity: 0; pointer-events: none; }
.vsl__play, .vsl__tag, .vsl__cap, .vsl__ph { transition: opacity .35s, transform .5s var(--ease), border-color .25s; }
@keyframes ring { 0% { transform: scale(.92); opacity: .9; } 100% { transform: scale(1.4); opacity: 0; } }
@media (max-width: 520px) { .vsl__play { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .vsl__play svg { width: 20px; height: 20px; } .vsl__title { top: 64%; } .vsl__cap { display: none; } }

/* Words rise in on load */
.w { display: inline-block; }
.js .hero .w { opacity: 0; transform: translateY(.42em); animation: rise .9s var(--ease) forwards; animation-delay: calc(120ms + var(--i, 0) * 55ms); }
.js .hero .fade-up { opacity: 0; transform: translateY(16px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ── Fit: fixed-size product mock-ups scaled to their box ─ */
.fit { position: relative; width: 100%; }
.fit > .fit__in { position: absolute; top: 0; left: 0; transform-origin: top left; transform: scale(var(--fit, 1)); }

/* ── Features carousel ──────────────────────────────── */
.feat__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.feat__head .h2 { max-width: 20ch; }
.feat__arrows { display: flex; gap: 10px; flex: none; }
.arrow-btn { width: 52px; height: 52px; border-radius: 50%; border: .5px solid var(--cm-rule); background: var(--card); display: grid; place-items: center; color: var(--fg); transition: border-color .25s, transform .3s var(--ease), opacity .25s; }
.arrow-btn svg { width: 18px; height: 18px; }
.arrow-btn:hover:not(:disabled) { border-color: var(--cm-champagne); transform: translateY(-1px); }
.arrow-btn:disabled { opacity: .35; cursor: default; }
.feat__rail {
  --pad: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  padding: 56px var(--pad) 28px; scrollbar-width: none; cursor: grab;
}
.feat__rail::-webkit-scrollbar { display: none; }
.feat__rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.feat__rail.is-dragging * { pointer-events: none; user-select: none; }
.fcard {
  flex: 0 0 auto; width: min(352px, calc(100vw - 2 * var(--gutter) - 24px)); scroll-snap-align: start;
  border-radius: 14px; background: var(--cm-graphite); border: .5px solid var(--cm-border-strong); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), border-color .3s;
}
.fcard:hover { transform: translateY(-4px); border-color: rgba(234, 213, 154, .4); }
.fcard__vis { position: relative; height: 312px; border-bottom: .5px solid var(--cm-border-strong); background: var(--cm-obsidian); overflow: hidden; }
.fcard__vis .fit { height: 100%; }
.fcard__body { padding: 24px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.fcard__num { font-family: var(--cm-font-mono); font-size: 11px; letter-spacing: .16em; color: var(--cm-champagne); }
.fcard__body h3 { font-family: var(--cm-font-display); font-weight: 400; font-size: 28px; line-height: 1.04; letter-spacing: -0.01em; text-wrap: balance; }
.fcard__body h3 em { font-style: italic; }
.fcard__body p { font-size: 15px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.feat__foot { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
@media (max-width: 640px) {
  .feat__arrows { display: none; }
  .feat__rail { gap: 14px; padding-top: 40px; }
  .fcard { width: calc(100vw - 2 * var(--gutter) - 40px); }
}
.feat__progress { flex: 1; height: 1px; background: var(--cm-border-strong); overflow: hidden; }
.feat__progress i { display: block; height: 100%; width: var(--p, 10%); background: var(--cm-champagne); transition: width .3s var(--ease); }
.feat__count { font-family: var(--cm-font-mono); font-size: 11px; letter-spacing: .16em; color: var(--cm-champagne); min-width: 56px; text-align: right; }

/* ── How it works ───────────────────────────────────── */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); column-gap: clamp(48px, 7vw, 104px); margin-top: clamp(56px, 7vw, 88px); }
.step { grid-column: 1; min-height: 58vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding-block: 40px; border-top: .5px solid var(--cm-rule); opacity: .32; transition: opacity .5s var(--ease); }
.step:last-of-type { border-bottom: .5px solid var(--cm-rule); }
.step.is-active { opacity: 1; }
.step .label { display: flex; align-items: center; gap: 12px; }
.step .label::after { content: ""; height: 1px; width: 0; background: currentColor; transition: width .8s var(--ease); }
.step.is-active .label::after { width: 48px; }
.step p { max-width: 46ch; font-size: 17px; color: var(--muted); }
.step--1 { grid-row: 1; } .step--2 { grid-row: 2; } .step--3 { grid-row: 3; } .step--4 { grid-row: 4; }
.scene {
  grid-column: 2; grid-row: 1 / span 4; align-self: start;
  position: sticky; top: calc(50vh - 250px + var(--hdr-h) / 2); height: 500px;
  border-radius: 14px; background: var(--cm-obsidian); color: var(--cm-ivory); overflow: hidden; border: .5px solid var(--cm-border-strong);
  opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .6s var(--ease), transform .7s var(--ease);
  pointer-events: none;
}
.scene.is-active { opacity: 1; transform: none; pointer-events: auto; }
.scene .fit { height: 100%; }
.scene__tag { position: absolute; top: 22px; left: 24px; z-index: 2; font-family: var(--cm-font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--cm-champagne); }
@media (max-width: 960px) {
  .how { grid-template-columns: minmax(0, 1fr); }
  .step { min-height: 0; opacity: 1; padding-block: 32px 24px; }
  .step:last-of-type { border-bottom: 0; }
  .step .label::after { width: 32px; }
  .scene { grid-column: 1; position: relative; top: auto; opacity: 1; transform: none; pointer-events: auto; height: auto; aspect-ratio: 560 / 500; }
  .scene--1 { grid-row: 2; } .step--2 { grid-row: 3; } .scene--2 { grid-row: 4; }
  .step--3 { grid-row: 5; } .scene--3 { grid-row: 6; } .step--4 { grid-row: 7; } .scene--4 { grid-row: 8; }
}

/* ── Why it is different, and who we work with ──────── */
.diff { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(48px, 6vw, 72px); }
.diff__item { border-radius: 14px; background: var(--card); border: .5px solid var(--cm-border-strong); padding: 32px 30px 34px; display: flex; flex-direction: column; gap: 14px; min-height: 300px; }
.diff__item h3 { margin-top: 56px; }
.diff__item p { color: var(--muted); font-size: 15px; }
.diff__glyph { width: 52px; height: 52px; border-radius: 12px; border: .5px solid var(--cm-rule); display: grid; place-items: center; color: var(--cm-champagne); }
.diff__glyph svg { width: 24px; height: 24px; }
.diff--fit .diff__item { min-height: 0; }
.diff--fit .diff__item h3 { margin-top: 36px; }
.diff__n { font-family: var(--cm-font-mono); font-size: 11px; letter-spacing: .16em; color: var(--cm-champagne); }
.fit-cta { margin-top: 48px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
@media (max-width: 900px) { .diff { grid-template-columns: minmax(0, 1fr); } .diff__item { min-height: 0; } .diff__item h3 { margin-top: 20px; } }

/* ── FAQ ────────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.faq__side { position: sticky; top: calc(var(--hdr-h) + 48px); display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.faq__side .h2 { max-width: 9ch; }
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 12px; background: var(--card); border: .5px solid var(--cm-border-strong); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { height: 38px; padding: 0 16px; border-radius: 8px; font-weight: 500; font-size: 14px; color: var(--muted); white-space: nowrap; transition: background-color .25s, color .25s; }
.tab:hover { color: var(--fg); }
.tab[aria-selected="true"] { background: rgba(244, 238, 226, .09); color: var(--cm-ivory); box-shadow: inset 0 0 0 .5px var(--cm-border-strong); }
.qa-list { margin-top: 24px; border-top: .5px solid var(--cm-rule); }
.qa-list[hidden] { display: none; }
.js .qa-list.is-entering { animation: fade-in .45s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.qa { border-bottom: .5px solid var(--cm-rule); }
.qa h3 { font: inherit; }
.qa__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; text-align: left; font-weight: 500; font-size: 17px; line-height: 1.35; }
.qa__icon { position: relative; width: 22px; height: 22px; flex: none; color: var(--muted); transition: transform .45s var(--ease), color .25s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.4px; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa__q:hover .qa__icon { color: var(--fg); }
.qa.is-open .qa__icon { transform: rotate(45deg); color: var(--cm-champagne); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 48px 26px 0; color: var(--muted); font-size: 16px; max-width: 64ch; }
@media (max-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr); } .faq__side { position: static; } .qa__a p { padding-right: 0; } }

/* ── Closing call to action ─────────────────────────── */
.cta { overflow: clip; text-align: center; }
.cta__bg { position: absolute; inset: 0; pointer-events: none; }
.cta__grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(138, 102, 0, .09) 1px, transparent 1px), linear-gradient(to bottom, rgba(138, 102, 0, .09) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 5%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 5%, transparent 72%);
}
.cta__glow { position: absolute; left: 50%; top: 50%; width: min(900px, 120vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(234, 213, 154, .9), rgba(234, 213, 154, .3) 55%, transparent 74%); }
.cta .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.cta .h2 { font-size: clamp(46px, 6.2vw, 84px); max-width: 12ch; }
.cta.s-light .h2 em { color: #B98300; }
.cta .lead { max-width: 44ch; }

/* ── Footer ─────────────────────────────────────────── */
.ftr { padding-block: 72px 40px; border-top: .5px solid var(--cm-rule); }
.ftr__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.ftr__brand p { margin-top: 20px; max-width: 34ch; color: var(--muted); font-size: 15px; }
.ftr__cols { display: flex; gap: clamp(40px, 8vw, 96px); flex-wrap: wrap; }
.ftr__col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.ftr__col .label { margin-bottom: 4px; }
.ftr__col a { color: var(--fg); opacity: .8; transition: opacity .2s; }
.ftr__col a:hover { opacity: 1; }
.ftr__bottom { margin-top: 64px; padding-top: 24px; border-top: .5px solid var(--cm-border); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-family: var(--cm-font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cm-muted); }

/* ── Toast ──────────────────────────────────────────── */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 10px; background: var(--cm-ivory); color: var(--cm-obsidian); font-weight: 500; font-size: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); transition: opacity .3s, transform .45s var(--ease); max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast i { width: 6px; height: 6px; background: var(--cm-obsidian); flex: none; }

/* ── Scroll reveal ──────────────────────────────────── */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ── Language blocks (legal pages carry both languages) ─ */
html[lang="nl"] [data-l="en"] { display: none; }
html:not([lang="nl"]) [data-l="nl"] { display: none; }

/* ── Legal pages ────────────────────────────────────── */
.legal-hero { padding-top: calc(var(--hdr-h) + clamp(56px, 8vw, 104px)); padding-bottom: clamp(40px, 5vw, 64px); }
.legal-hero .h2 { margin-top: 18px; }
.legal-hero p { margin-top: 18px; max-width: 62ch; }
.legal { padding-block: clamp(56px, 7vw, 88px) clamp(80px, 10vw, 128px); border-top: .5px solid var(--cm-rule); }
.legal__in { max-width: 760px; }
.legal h2 { font-family: var(--cm-font-display); font-weight: 400; font-size: clamp(28px, 2.6vw, 34px); line-height: 1.05; letter-spacing: -0.01em; margin-top: 56px; }
.legal [data-l] > h2:first-child, .legal__in > h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.7; color: var(--cm-muted); }
.legal p { margin-top: 16px; }
.legal ul { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.legal li { padding-left: 22px; position: relative; }
.legal li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 6px; height: 6px; background: var(--cm-champagne); }
.legal a { color: var(--cm-champagne); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--cm-ivory); font-weight: 500; }
.fill { font-family: var(--cm-font-mono); font-size: .86em; color: var(--cm-champagne); border-bottom: 1px dashed currentColor; white-space: nowrap; }

/* ── 404 ────────────────────────────────────────────── */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 80px; }
.nf .logo-solo { height: 88px; margin: 0 auto 28px; }
.nf p { margin: 20px auto 36px; max-width: 40ch; }

/* ── Apply page ─────────────────────────────────────── */
.apply { padding-top: clamp(88px, 9.5vw, 136px); padding-bottom: clamp(72px, 9vw, 128px); position: relative; overflow: hidden; }
.apply__in { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.apply__side { position: sticky; top: calc(var(--hdr-h) + 40px); display: flex; flex-direction: column; gap: 24px; }
.apply__side .h2 { font-size: clamp(42px, 4.8vw, 66px); max-width: 12ch; }
.apply__side .lead { max-width: 40ch; }
.next { margin-top: 12px; display: flex; flex-direction: column; border-top: .5px solid var(--rule); }
.next li { display: grid; grid-template-columns: 34px 1fr; gap: 6px 12px; padding: 18px 0; border-bottom: .5px solid var(--rule); }
.next li > span { font-family: var(--cm-font-mono); font-size: 11px; letter-spacing: .16em; color: var(--cm-bronze); padding-top: 4px; }
.next li b { font-weight: 500; font-size: 15px; }
.next li p { grid-column: 2; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 960px) { .apply__in { grid-template-columns: minmax(0, 1fr); } .apply__side { position: static; } .apply__side .h2 { max-width: 16ch; } }

.form-card { border-radius: 14px; background: var(--cm-graphite); color: var(--cm-ivory); border: .5px solid rgba(12, 11, 10, .9); padding: clamp(22px, 3.4vw, 40px); box-shadow: 0 50px 110px -20px rgba(12, 11, 10, .45); }
.form-card .label { color: var(--cm-champagne); }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.progress i { height: 2px; background: var(--cm-border-strong); transition: background-color .4s var(--ease); }
.progress i.is-done, .progress i.is-now { background: var(--cm-champagne); }
.progress-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; }
.fstep { margin-top: 30px; display: none; flex-direction: column; gap: 22px; }
.fstep.is-on { display: flex; animation: fade-in .45s var(--ease); }
html:not(.js) .fstep { display: flex; }
.fstep__head h2 { font-family: var(--cm-font-display); font-weight: 400; font-size: clamp(30px, 3vw, 38px); line-height: 1.04; letter-spacing: -0.01em; }
.fstep__head p { margin-top: 8px; color: var(--cm-muted); font-size: 15px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > label, .field > legend { font-weight: 500; font-size: 14px; color: var(--cm-ivory); padding: 0; }
.field > label i, .field > legend i { font-style: normal; color: var(--cm-muted); font-weight: 400; }
.field .hint { font-size: 13px; color: var(--cm-muted); line-height: 1.5; margin-top: -2px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--cm-ivory); background: var(--cm-obsidian);
  border: .5px solid var(--cm-border-strong); border-radius: 10px; padding: 0 14px; height: 48px;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.field select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23EAD59A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field select option { background: var(--cm-graphite); color: var(--cm-ivory); }
.field input::placeholder, .field textarea::placeholder { color: rgba(178, 173, 169, .55); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(244, 238, 226, .32); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cm-champagne); box-shadow: 0 0 0 3px rgba(234, 213, 154, .16); }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: var(--cm-error); }
.field .err { display: none; font-size: 13px; color: var(--cm-error); }
.field.is-bad .err { display: block; }
.at { position: relative; }
.at > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--cm-champagne); font-size: 15px; pointer-events: none; }
.at input { padding-left: 32px !important; }
.choices { display: grid; gap: 8px; }
.choice { position: relative; display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 10px; border: .5px solid var(--cm-border-strong); background: var(--cm-obsidian); font-size: 14.5px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: .5px solid rgba(244, 238, 226, .4); flex: none; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.choice:hover { border-color: rgba(244, 238, 226, .32); }
.choice:has(input:checked) { border-color: rgba(234, 213, 154, .65); background: rgba(234, 213, 154, .06); }
.choice:has(input:checked)::before { border-color: var(--cm-champagne); background: var(--cm-champagne); box-shadow: inset 0 0 0 3.5px var(--cm-obsidian); }
.choice:has(input:focus-visible) { outline: 2px solid var(--cm-champagne); outline-offset: 2px; }
.field.is-bad .choice { border-color: rgba(227, 128, 110, .55); }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--cm-muted); line-height: 1.55; cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 2px 0 0; flex: none; border-radius: 5px; border: .5px solid rgba(244, 238, 226, .4); background: var(--cm-obsidian); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, background-color .2s; }
.consent input:checked { background: var(--cm-champagne); border-color: var(--cm-champagne); }
.consent input:checked::after { content: ""; width: 9px; height: 5px; border-left: 1.6px solid var(--cm-obsidian); border-bottom: 1.6px solid var(--cm-obsidian); transform: translateY(-1px) rotate(-45deg); }
.consent a { color: var(--cm-champagne); text-decoration: underline; text-underline-offset: 3px; }
.field.is-bad .consent input { border-color: var(--cm-error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-nav { margin-top: 34px; padding-top: 24px; border-top: .5px solid var(--cm-rule); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.form-nav .btn[hidden] { display: none; }
.form-nav__r { margin-left: auto; display: flex; gap: 12px; }
.form-err { margin-top: 16px; padding: 12px 14px; border-radius: 10px; border: .5px solid rgba(227, 128, 110, .5); color: var(--cm-error); font-size: 14px; display: none; }
.form-err.is-on { display: block; }
.form-err a { text-decoration: underline; text-underline-offset: 3px; }
.sending .btn--primary { opacity: .6; pointer-events: none; }
@media (max-width: 520px) { .form-nav { flex-direction: column-reverse; align-items: stretch; } .form-nav__r { margin-left: 0; flex-direction: column-reverse; } .form-nav .btn { width: 100%; } }
.done { display: none; flex-direction: column; align-items: flex-start; gap: 22px; padding-block: 12px; }
.done.is-on { display: flex; animation: fade-in .6s var(--ease); }
.done .logo-solo { height: 64px; }
.done h2 { font-family: var(--cm-font-display); font-weight: 400; font-size: clamp(36px, 4vw, 52px); line-height: 1.0; letter-spacing: -0.015em; }
.done h2 em { font-style: italic; color: var(--cm-gold); }
.done p { color: var(--cm-muted); max-width: 46ch; }
.is-submitted .form-body { display: none; }

/* ═══════════════════════════════════════════════════════
   Product mock-ups: the real dashboard's components, drawn at fixed sizes and scaled by .fit.
   They show the product as it looks, in the dashboard's own warm darks, Outfit and gold, and in
   English, because the interface is English in every language. Post images live in /media/sem.
   ═══════════════════════════════════════════════════════ */
@font-face { font-family: 'Outfit'; src: url('../fonts/outfit-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
.d {
  --d-canvas: #0C0B0A; --d-surface: #141211; --d-surface2: #1C1A18; --d-surface3: #252220;
  --d-border: rgba(255, 238, 220, .1); --d-border2: rgba(255, 238, 220, .2);
  --d-fg: #F6F5F4; --d-fg2: #B2ADA9; --d-fg3: #8B847E;
  --d-acc: #F5B400; --d-acc-hot: #FFC93D; --d-acc-text: #F5B400; --d-acc-rgb: 245, 180, 0; --d-on-acc: #0C0B0A;
  --d-ok: #41AA67; --d-bad: #E25C50;
  --f-broll: #3FD0B6; --f-talk: #A890FA; --f-carousel: #F28CC6; --f-tweet: #7CB7FF; --f-photo: #B5DC6E;
  font-family: 'Outfit', 'Inter Tight', system-ui, sans-serif; color: var(--d-fg); font-size: 12.5px; line-height: 1.35; text-align: left;
  background: var(--d-canvas);
}
.d .ico { width: 14px; height: 14px; flex: none; }
.d img { display: block; width: 100%; height: 100%; object-fit: cover; }
.d-chip { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 10.5px; font-weight: 500; white-space: nowrap; color: var(--d-fg2); background: var(--d-surface3); border: 1px solid var(--d-border); }
.d-chip[style*="--f"] { color: var(--f); background: color-mix(in srgb, var(--f) 14%, transparent); border-color: color-mix(in srgb, var(--f) 32%, transparent); }
.d-chip--acc { color: var(--d-acc-text); background: rgba(var(--d-acc-rgb), .12); border-color: rgba(var(--d-acc-rgb), .3); }
.d-chip--ok { color: var(--d-ok); background: rgba(65, 170, 103, .12); border-color: rgba(65, 170, 103, .32); }
.d-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px; padding: 0 13px; border-radius: 10px; font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--d-fg); background: var(--d-surface3); border: 1px solid var(--d-border); }
.d-btn--acc { background: var(--d-acc); border-color: var(--d-acc); color: var(--d-on-acc); }
.d-btn--cream { background: var(--d-fg); border-color: var(--d-fg); color: #0C0B0A; border-radius: 999px; }
.d-btn kbd { font-family: var(--cm-font-mono); font-size: 9.5px; padding: 0 5px; border-radius: 4px; background: rgba(255, 255, 255, .16); }
.d-label { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--d-fg3); }
.d-mono { font-family: var(--cm-font-mono); font-size: 10.5px; color: var(--d-fg2); }
.d-card { background: var(--d-surface); border: 1px solid var(--d-border); border-radius: 14px; }
.d-bar { height: 5px; border-radius: 5px; background: var(--d-surface3); overflow: hidden; }
.d-bar i { display: block; height: 100%; width: var(--w, 60%); border-radius: 5px; background: var(--d-acc-text); }
.d-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: var(--d-surface2); border: 1px solid var(--d-border); }
.d-seg span { height: 24px; padding: 0 10px; border-radius: 7px; display: grid; place-items: center; font-size: 11px; color: var(--d-fg3); white-space: nowrap; }
.d-seg span.is-on { background: var(--d-surface3); color: var(--d-fg); box-shadow: inset 0 0 0 1px var(--d-border2); }
.d-x { font-family: var(--cm-font-mono); font-weight: 600; font-size: 11px; color: var(--d-acc-text); white-space: nowrap; }
.yn { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--d-border); background: var(--d-surface2); display: grid; place-items: center; color: var(--d-fg2); flex: none; }
.yn .ico { width: 13px; height: 13px; }
.spinner { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--d-surface3); border-top-color: var(--d-acc-text); animation: spin 1s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.ph { position: relative; overflow: hidden; background: var(--d-surface2); border-radius: 10px; box-shadow: 0 0 0 1px var(--d-border); }
.ph--reel { aspect-ratio: 9 / 16; }
.ph--feed { aspect-ratio: 4 / 5; }
.ph > img, .ph > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph .d-chip { position: absolute; z-index: 2; top: 7px; left: 7px; background: rgba(12, 11, 10, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
[data-orb] { display: block; aspect-ratio: 1; }
@keyframes pop-in { 0% { opacity: 0; transform: translateY(8px) scale(.95); } 6%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }

/* Feature vignettes share a 352 x 312 canvas */
.v { width: 352px; height: 312px; position: relative; padding: 22px; }

/* 01 Talking head: the reel beside the steps the video goes through */
.v-th { display: grid; grid-template-columns: 122px 1fr; gap: 16px; align-items: center; }
.v-th .ph { border-radius: 12px; }
.prog { display: flex; flex-direction: column; gap: 9px; }
.prog__head { display: flex; align-items: center; justify-content: space-between; }
.prog__head b { font-size: 13px; }
.prog .d-bar i { animation: prog 9s var(--ease-in-out) infinite both; }
@keyframes prog { 0% { width: 6%; } 85%, 100% { width: 100%; } }
.steps-list { display: flex; flex-direction: column; gap: 7px; }
.steps-list li { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--d-fg); white-space: nowrap; animation: step-on 9s infinite both; animation-delay: calc(var(--k) * .95s); }
.steps-list .dot { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--d-acc); background: var(--d-acc); flex: none; color: var(--d-on-acc); animation: dot-on 9s infinite both; animation-delay: calc(var(--k) * .95s); }
.steps-list .dot .ico { width: 10px; height: 10px; animation: ico-on 9s infinite both; animation-delay: calc(var(--k) * .95s); }
@keyframes step-on { 0%, 3% { color: var(--d-fg3); } 6%, 90% { color: var(--d-fg); } 97%, 100% { color: var(--d-fg3); } }
@keyframes dot-on { 0%, 3% { background: var(--d-surface2); border-color: var(--d-border2); } 6%, 90% { background: var(--d-acc); border-color: var(--d-acc); } 97%, 100% { background: var(--d-surface2); border-color: var(--d-border2); } }
@keyframes ico-on { 0%, 3% { opacity: 0; transform: scale(.5); } 6%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }

/* 02 Make it: pick the angle, then the versions arrive */
.v-make { display: flex; flex-direction: column; gap: 10px; }
.src { display: flex; gap: 11px; align-items: center; padding: 9px; border-radius: 14px; background: var(--d-surface); border: 1px solid var(--d-border); }
.src .ph { width: 42px; flex: none; border-radius: 7px; }
.src__meta { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.src__meta b { font-size: 12.5px; font-weight: 600; }
.src__row { display: flex; gap: 6px; align-items: center; }
.sheet { position: relative; flex: 1; border-radius: 14px; background: var(--d-surface); border: 1px solid var(--d-border); overflow: hidden; }
.sheet__a, .sheet__b { position: absolute; inset: 0; padding: 12px; display: flex; flex-direction: column; gap: 9px; }
.sheet__a { animation: sheet-a 10s infinite both; }
.sheet__b { animation: sheet-b 10s infinite both; }
@keyframes sheet-a { 0%, 54% { opacity: 1; transform: none; } 58%, 96% { opacity: 0; transform: translateY(-8px); } 100% { opacity: 1; } }
@keyframes sheet-b { 0%, 56% { opacity: 0; transform: translateY(10px); } 60%, 94% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
.angles { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.angle { padding: 8px 9px; border-radius: 11px; border: 1px solid var(--d-border); background: var(--d-surface2); display: flex; flex-direction: column; gap: 2px; }
.angle b { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.angle small { color: var(--d-fg3); font-size: 10.5px; white-space: nowrap; }
.angle .ico { width: 13px; height: 13px; color: var(--d-fg2); }
.angle:nth-child(1) { animation: angle-a 10s infinite both; }
.angle:nth-child(2) { animation: angle-b 10s infinite both; }
@keyframes angle-a { 0%, 22% { border-color: var(--d-acc-text); box-shadow: inset 0 0 0 1px var(--d-acc-text); } 25%, 100% { border-color: var(--d-border); box-shadow: none; } }
@keyframes angle-b { 0%, 22% { border-color: var(--d-border); box-shadow: none; } 25%, 100% { border-color: var(--d-acc-text); box-shadow: inset 0 0 0 1px var(--d-acc-text); } }
.sheet__row { display: flex; align-items: center; justify-content: space-between; }
.stepper { display: flex; align-items: center; gap: 9px; font-family: var(--cm-font-mono); font-size: 11.5px; }
.stepper span { width: 22px; height: 22px; border-radius: 7px; border: 1px solid var(--d-border); display: grid; place-items: center; color: var(--d-fg2); font-family: 'Outfit', sans-serif; }
.sheet .d-btn--acc { animation: press 10s infinite both; }
@keyframes press { 0%, 48% { transform: none; } 50% { transform: scale(.95); } 53%, 100% { transform: none; } }
.versions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.versions .ph { animation: pop-in 10s infinite both; animation-delay: calc(6.1s + var(--k) * .25s); }

/* 03 Champ: the real panel, listening */
.v-champ { display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.cp-head { display: flex; align-items: center; gap: 9px; padding-bottom: 10px; border-bottom: 1px solid var(--d-border); }
.cp-head .avatar { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #F6F5F4 0 1.2px, transparent 1.4px) 0 0 / 4px 4px, #2A2310; box-shadow: 0 0 0 1px rgba(var(--d-acc-rgb), .45); flex: none; }
.cp-head b { display: block; font-size: 13px; }
.cp-status { position: relative; display: block; height: 14px; font-size: 11px; color: var(--d-acc-text); }
.cp-status span { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; }
.cp-status span:nth-child(1) { animation: say-1 8.5s infinite both; }
.cp-status span:nth-child(2) { animation: say-2 8.5s infinite both; }
.cp-status span:nth-child(3) { animation: say-3 8.5s infinite both; }
@keyframes say-1 { 0%, 45% { opacity: 1; } 47%, 100% { opacity: 0; } }
@keyframes say-2 { 0%, 46% { opacity: 0; } 48%, 63% { opacity: 1; } 65%, 100% { opacity: 0; } }
@keyframes say-3 { 0%, 64% { opacity: 0; } 66%, 98% { opacity: 1; } 100% { opacity: 0; } }
.cp-head .d-chip { margin-left: auto; }
.cp-listen { flex: 1; display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(var(--d-acc-rgb), .45); background: var(--d-surface); }
.cp-listen [data-orb] { width: 112px; }
.cp-heard { font-size: 13px; font-weight: 500; line-height: 1.35; }
.cp-heard .w2 { color: var(--d-fg3); }
.cp-actions { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.cp-actions .ghost { font-size: 11.5px; color: var(--d-fg3); }
.cp-foot { font-size: 10.5px; color: var(--d-fg3); }

/* 04 B-roll batch */
.v-broll { display: flex; flex-direction: column; gap: 12px; }
.batch { display: flex; flex-direction: column; gap: 8px; padding: 11px; border-radius: 14px; background: var(--d-surface); border: 1px solid var(--d-border); }
.batch__head { display: flex; align-items: center; justify-content: space-between; }
.batch__head b { font-size: 13px; }
.batch__in { display: flex; align-items: center; gap: 8px; }
.batch__field { flex: 1; height: 30px; padding: 0 10px; border-radius: 9px; background: var(--d-surface2); border: 1px solid var(--d-border); display: flex; align-items: center; font-size: 12px; white-space: nowrap; overflow: hidden; }
.batch__field i { width: 1.5px; height: 14px; margin-left: 2px; background: var(--d-acc-text); animation: blink-caret 1s steps(1) infinite; }
@keyframes blink-caret { 50% { opacity: 0; } }
.reels3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.reels3 > div { animation: pop-in 9s infinite both; animation-delay: calc(var(--k) * .35s + .5s); }
.shot-note { margin-top: 6px; display: flex; gap: 5px; align-items: center; font-size: 10px; color: var(--d-fg2); white-space: nowrap; overflow: hidden; }
.shot-note .ico { width: 11px; height: 11px; color: var(--d-acc-text); }

/* 05 Carousels in the Designer */
.v-deck { display: grid; place-items: center; }
.tbar { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 9px; border-radius: 11px; background: var(--d-surface); border: 1px solid var(--d-border); white-space: nowrap; }
.tbar__font { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: 7px; background: var(--d-surface2); font-size: 11px; }
.tbar__font b { font-family: var(--cm-font-body); font-weight: 800; }
.tbar__n { height: 24px; padding: 0 7px; border-radius: 7px; background: var(--d-surface2); display: grid; place-items: center; font-family: var(--cm-font-mono); font-size: 10.5px; }
.tbar .sw { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px var(--d-border2); }
.tbar__b { font-weight: 800; font-size: 12px; width: 20px; text-align: center; }
.deck { position: relative; width: 148px; height: 185px; margin-top: 30px; }
.deck .ph { position: absolute; inset: 0; border-radius: 9px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 0 1px var(--d-border); transition: transform .9s var(--ease); }
.deck .ph:nth-child(1) { transform: rotate(-3deg); }
.deck .ph:nth-child(2) { transform: rotate(3deg); }
.deck .ph:nth-child(3) { transform: translateY(6px); }
.is-in .deck .ph:nth-child(1) { transform: translateX(-86px) translateY(14px) rotate(-9deg); }
.is-in .deck .ph:nth-child(2) { transform: translateX(86px) translateY(14px) rotate(9deg); }
.fcard:hover .deck .ph:nth-child(1) { transform: translateX(-98px) translateY(18px) rotate(-12deg); }
.fcard:hover .deck .ph:nth-child(2) { transform: translateX(98px) translateY(18px) rotate(12deg); }
.fcard:hover .deck .ph:nth-child(3) { transform: scale(1.03); }

/* 06 Why it worked: the analysis screen */
.v-why { display: grid; grid-template-columns: 98px 1fr; gap: 12px; padding: 18px; }
.why-l { display: flex; flex-direction: column; gap: 8px; }
.why-l .d-btn { width: 100%; height: 28px; }
.why-r { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.why-r__top { display: flex; align-items: center; gap: 6px; }
.why-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 9px; background: var(--d-surface2); border: 1px solid var(--d-border); }
.why-tabs span { flex: 1; height: 22px; display: grid; place-items: center; border-radius: 6px; font-size: 10.5px; color: var(--d-fg3); }
.why-tabs span.is-on { background: var(--d-surface3); color: var(--d-fg); }
.lines { position: relative; padding: 4px 8px; border-radius: 11px; background: var(--d-surface); border: 1px solid var(--d-border); }
.lines li { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; height: 27px; font-size: 11px; color: var(--d-fg2); }
.lines li span:first-child { font-family: var(--cm-font-mono); font-size: 9.5px; color: var(--d-fg3); flex: none; }
.lines li span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lines__hi { position: absolute; z-index: 0; left: 3px; right: 3px; top: 4px; height: 27px; border-radius: 7px; background: rgba(var(--d-acc-rgb), .13); animation: line-walk 8s var(--ease-in-out) infinite; }
@keyframes line-walk { 0%, 20% { transform: translateY(0); } 25%, 45% { transform: translateY(27px); } 50%, 70% { transform: translateY(54px); } 75%, 95% { transform: translateY(81px); } 100% { transform: translateY(0); } }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.why-stat { padding: 7px 9px; border-radius: 10px; background: var(--d-surface); border: 1px solid var(--d-border); }
.why-stat b { display: block; font-size: 16px; font-weight: 700; margin-top: 1px; }
.why-stat b.acc { color: var(--d-acc-text); }
.why-stat b.ok { color: var(--d-ok); }
.why-stat small { color: var(--d-fg3); font-size: 9.5px; }
.hook-bars { display: flex; gap: 2px; margin-top: 4px; }
.hook-bars i { flex: 1; height: 4px; border-radius: 2px; background: var(--d-ok); }
.hook-bars i:last-child { opacity: .25; }

/* 07 Voice: Settings, Voice */
.v-voice { display: flex; flex-direction: column; gap: 9px; }
.v-voice .d-card { padding: 11px 13px; display: flex; flex-direction: column; gap: 7px; }
.meter-row { display: flex; justify-content: space-between; align-items: baseline; }
.meter-row b { font-size: 13px; }
.v-voice .d-bar i { animation: fill-voice 9s var(--ease) infinite both; }
@keyframes fill-voice { 0% { width: 44%; } 30%, 100% { width: 84%; } }
.learned { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 10px; }
.learned li { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--d-fg2); white-space: nowrap; }
.learned li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--d-acc-text); flex: none; }
.edit p { font-size: 12.5px; }
.strike { position: relative; color: var(--d-fg3); }
.strike::after { content: ""; position: absolute; left: 0; top: 54%; height: 1.5px; width: 100%; background: var(--d-bad); animation: strike 9s infinite both; }
@keyframes strike { 0%, 18% { width: 0; } 28%, 92% { width: 100%; } 100% { width: 0; } }
.ins { color: var(--d-acc-text); font-weight: 600; animation: ins 9s infinite both; }
@keyframes ins { 0%, 30% { opacity: 0; } 38%, 92% { opacity: 1; } 100% { opacity: 0; } }

/* 08 Review wall, every post as Instagram will show it */
.v-review { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; }
.rv-top { display: flex; align-items: center; justify-content: space-between; }
.rv-top b { font-size: 13px; }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.phone { display: flex; flex-direction: column; gap: 7px; align-items: center; }
.phone .ph { width: 100%; animation: focus-ring 9s infinite both; animation-delay: calc((var(--k) - 1) * 2.6s); }
.ig { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.ig__side { position: absolute; right: 5px; bottom: 30px; display: flex; flex-direction: column; gap: 7px; }
.ig__side i { width: 9px; height: 9px; border-radius: 3px; border: 1.4px solid rgba(246, 245, 244, .9); }
.ig__side i:first-child { border-radius: 50% 50% 45% 45%; }
.ig__who { position: absolute; left: 6px; bottom: 9px; right: 18px; display: flex; align-items: center; gap: 4px; font-size: 8px; font-weight: 600; color: #F6F5F4; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); white-space: nowrap; }
.ig__who i { width: 10px; height: 10px; border-radius: 50%; background: var(--d-acc); flex: none; }
.ig__who em { font-style: normal; font-weight: 500; padding: 0 4px; border: 1px solid rgba(246, 245, 244, .7); border-radius: 4px; font-size: 7px; }
.phone__yn { display: flex; gap: 5px; }
.phone__yn .yn { width: 26px; height: 26px; }
.phone:nth-child(1) .yn--y { animation: yes-a 9s infinite both; }
.phone:nth-child(2) .yn--n { animation: no-b 9s infinite both; }
.phone:nth-child(3) .yn--y { animation: yes-c 9s infinite both; }
@keyframes focus-ring { 0%, 2% { box-shadow: 0 0 0 1px var(--d-border); } 4%, 26% { box-shadow: 0 0 0 2px var(--d-acc-text); } 29%, 100% { box-shadow: 0 0 0 1px var(--d-border); } }
@keyframes yes-a { 0%, 26% { background: var(--d-surface2); color: var(--d-fg2); border-color: var(--d-border); } 29%, 95% { background: var(--d-acc); color: var(--d-on-acc); border-color: var(--d-acc); } 100% { background: var(--d-surface2); color: var(--d-fg2); border-color: var(--d-border); } }
@keyframes no-b { 0%, 55% { background: var(--d-surface2); color: var(--d-fg2); } 58%, 95% { background: var(--d-bad); color: #F6F5F4; } 100% { background: var(--d-surface2); color: var(--d-fg2); } }
@keyframes yes-c { 0%, 84% { background: var(--d-surface2); color: var(--d-fg2); border-color: var(--d-border); } 87%, 95% { background: var(--d-acc); color: var(--d-on-acc); border-color: var(--d-acc); } 100% { background: var(--d-surface2); color: var(--d-fg2); border-color: var(--d-border); } }
.keys { display: flex; justify-content: center; gap: 12px; font-size: 10.5px; color: var(--d-fg3); }
.keys kbd { font-family: var(--cm-font-mono); font-size: 9.5px; border: 1px solid var(--d-border2); background: var(--d-surface2); border-radius: 5px; padding: 1px 5px; margin-right: 4px; color: var(--d-fg); }

/* 09 Calendar, the month with every post as its cover */
.v-cal { display: flex; flex-direction: column; gap: 9px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; }
.cal-head b { font-size: 17px; font-weight: 700; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal > span { position: relative; height: 34px; border-radius: 6px; background: var(--d-surface); border: 1px solid var(--d-border); overflow: hidden; font-family: var(--cm-font-mono); font-size: 8.5px; color: var(--d-fg3); padding: 2px 4px; }
.cal > span.wd { height: auto; background: none; border: 0; text-align: center; padding: 0; font-family: 'Outfit', sans-serif; font-size: 9.5px; }
.cal > span img { position: absolute; inset: 0; z-index: 0; opacity: .92; }
.cal > span em { position: relative; z-index: 1; font-style: normal; color: #F6F5F4; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
.cal > span.n img { animation: cal-in 9s infinite both; animation-delay: calc(var(--k) * .22s + .8s); }
.cal > span.today { box-shadow: inset 0 0 0 1.5px var(--d-acc-text); }
@keyframes cal-in { 0% { opacity: 0; transform: translateY(6px); } 5%, 88% { opacity: .92; transform: none; } 95%, 100% { opacity: 0; } }
.v-cal .d-btn--acc { align-self: flex-start; animation: press 9s infinite both; }

/* 10 Stats */
.v-stats { display: flex; flex-direction: column; gap: 9px; }
.chart { padding: 11px 12px 7px; }
.chart__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.chart__top b { font-size: 13px; }
.chart svg { width: 100%; height: 92px; }
.chart .line { fill: none; stroke: var(--d-acc-text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 0; animation: draw 9s var(--ease) infinite both; }
.chart .grid line { stroke: var(--d-border); stroke-width: 1; }
@keyframes draw { 0% { stroke-dashoffset: 600; } 40%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.reads { display: flex; gap: 5px; }
.reads .d-chip { animation: read-on 9s infinite both; }
.reads .d-chip:nth-child(2) { animation-delay: .9s; } .reads .d-chip:nth-child(3) { animation-delay: 1.8s; } .reads .d-chip:nth-child(4) { animation-delay: 2.7s; }
@keyframes read-on { 0%, 6% { color: var(--d-fg2); background: var(--d-surface3); border-color: var(--d-border); } 10%, 88% { color: var(--d-acc-text); background: rgba(var(--d-acc-rgb), .12); border-color: rgba(var(--d-acc-rgb), .3); } 96%, 100% { color: var(--d-fg2); background: var(--d-surface3); border-color: var(--d-border); } }
.outlier-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; }
.outlier-row .ph { width: 30px; border-radius: 5px; flex: none; }
.outlier-row b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.outlier-row small { font-size: 10.5px; color: var(--d-acc-text); }
.outlier-row > div { min-width: 0; flex: 1; }

/* How it works scenes, 560 x 500 */
.sc { width: 560px; height: 500px; position: relative; padding: 58px 28px 28px; display: flex; flex-direction: column; }

/* Scene 2: the Inspiration wall */
.wallbar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.wallbar__search { flex: 1; height: 30px; padding: 0 10px; border-radius: 9px; background: var(--d-surface); border: 1px solid var(--d-border); display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--d-fg3); white-space: nowrap; overflow: hidden; }
.wall-view { position: relative; height: 372px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 92%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 92%, transparent); }
.wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; padding-bottom: 9px; animation: wall-up 48s linear infinite; }
@keyframes wall-up { to { transform: translateY(-50%); } }
.tile { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.tile .ph { border-radius: 8px; animation: scan 10s infinite both; animation-delay: calc(var(--k) * 1s); }
.tile .out { position: absolute; z-index: 2; top: 5px; right: 5px; height: 17px; padding: 0 6px; border-radius: 999px; display: flex; align-items: center; gap: 3px; background: rgba(12, 11, 10, .74); font-size: 8.5px; font-weight: 600; color: #F6F5F4; }
.tile__stats { display: flex; align-items: center; gap: 5px; font-size: 9px; color: var(--d-fg3); white-space: nowrap; overflow: hidden; }
.tile__stats .d-x { font-size: 9.5px; }



.tile .d-chip { height: 16px; padding: 0 6px; font-size: 8.5px; align-self: flex-start; }
@keyframes scan { 0%, 1% { box-shadow: 0 0 0 1px var(--d-border); } 3%, 9% { box-shadow: 0 0 0 2px var(--d-acc-text); } 12%, 100% { box-shadow: 0 0 0 1px var(--d-border); } }

/* Scene 3: setting it up */
.setup { margin: auto 0; display: flex; flex-direction: column; gap: 8px; }
.setup li { display: flex; align-items: center; gap: 14px; height: 58px; padding: 0 16px; border-radius: 14px; background: var(--d-surface); border: 1px solid var(--d-border); animation: setup-on 10s infinite both; animation-delay: calc(var(--k) * .7s); }
@keyframes setup-on { 0%, 3% { opacity: .35; } 7%, 92% { opacity: 1; } 98%, 100% { opacity: .35; } }
.setup li > b { font-size: 14px; width: 140px; flex: none; }
.setup__val { display: flex; align-items: center; gap: 8px; flex: 1; color: var(--d-fg2); font-size: 12px; min-width: 0; white-space: nowrap; }
.setup .sw { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px var(--d-border2); }
.setup .dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; margin-left: auto; flex: none; background: var(--d-acc); color: var(--d-on-acc); animation: dot-pop 10s infinite both; animation-delay: calc(var(--k) * .7s + .3s); }
.setup .dot .ico { width: 13px; height: 13px; }
@keyframes dot-pop { 0%, 3% { opacity: 0; transform: scale(.6); } 7%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
.avs { display: flex; }
.avs i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--d-surface); margin-left: -6px; background: var(--c); }
.avs i:first-child { margin-left: 0; }

/* Scene 4: the Making screen */
.sc-making .tag { position: absolute; top: 20px; right: 24px; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--d-surface); border: 1px solid var(--d-border); font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--d-fg2); }
.sc-making .tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--d-acc-text); animation: blink-caret 1.4s steps(1) infinite; }
.mk-top { display: flex; align-items: center; gap: 20px; margin: 4px 0 18px; }
.mk-orb { position: relative; width: 136px; flex: none; }
.mk-orb [data-orb] { width: 136px; }
.mk-orb svg.ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); transform: rotate(-90deg); }
.mk-orb .ring circle { fill: none; stroke-width: 2; }
.mk-orb .ring .bg { stroke: var(--d-border); }
.mk-orb .ring .fg { stroke: var(--d-acc-text); stroke-linecap: round; stroke-dasharray: 389; stroke-dashoffset: 389; animation: ring-fill 10s var(--ease-in-out) infinite both; }
@keyframes ring-fill { 0% { stroke-dashoffset: 389; } 85%, 100% { stroke-dashoffset: 40; } }
.mk-copy .d-label { color: var(--d-acc-text); }
.mk-copy .big { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.mk-copy .big b { font-size: 60px; line-height: .9; font-weight: 700; letter-spacing: -0.03em; }
.mk-copy .big span { font-size: 16px; color: var(--d-fg2); }
.mk-copy small { display: block; margin-top: 8px; color: var(--d-fg3); font-size: 12px; }
.mk-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.mk-card { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mk-card .ph { border-radius: 9px; }
.mk-card .ph::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(12, 11, 10, .62); transform-origin: top; transform: scaleY(0); animation: render 10s var(--ease-in-out) infinite both; animation-delay: calc(var(--k) * .45s); }
@keyframes render { 0% { transform: scaleY(1); } 55%, 92% { transform: scaleY(0); } 100% { transform: scaleY(1); } }
.mk-card .pct { position: absolute; z-index: 2; left: 6px; bottom: 5px; font-weight: 700; font-size: 15px; color: #F6F5F4; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.mk-card .d-bar { height: 3px; }
.mk-card .d-bar i { animation: render-bar 10s var(--ease-in-out) infinite both; animation-delay: calc(var(--k) * .45s); }
@keyframes render-bar { 0% { width: 4%; } 55%, 92% { width: 100%; } 100% { width: 4%; } }
.mk-card small { font-size: 9px; color: var(--d-fg3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-foot { margin-top: auto; align-self: center; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px; border-radius: 999px; background: var(--d-surface); border: 1px solid var(--d-border); font-size: 12px; color: var(--d-fg2); }
.mk-foot .ico { width: 13px; height: 13px; }

/* Animations pause while off screen, and stop for people who ask for less motion */
.is-paused, .is-paused * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .hero .w, .js .hero .fade-up, .js .rv { opacity: 1; transform: none; }
  .sheet__b { display: none; }
  .cp-status span:first-child { opacity: 1; }
  .player__play::before { display: none; }
}
.ph--contain > img { object-fit: contain; background: #0B0D1A; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
.tbar__font b { font-family: 'Poppins', var(--cm-font-body); font-weight: 700; }

/* 06 Client wins as a batch of stories, beside a before and after */
.v-stories { display: grid; grid-template-columns: 118px 1fr; gap: 12px; align-items: center; }
.v-stories > .ph { border-radius: 12px; }
.st-batch { display: flex; flex-direction: column; gap: 8px; }
.st-batch__head { display: flex; align-items: center; justify-content: space-between; }
.st-batch__head b { font-size: 13px; }
.st-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.st-grid .ph { border-radius: 7px; animation: pop-in 9s infinite both; animation-delay: calc(var(--k) * .3s + .3s); }
.st-foot { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--d-fg2); }
.st-foot .dot { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: var(--d-acc); color: var(--d-on-acc); flex: none; }
.st-foot .dot .ico { width: 10px; height: 10px; }

/* How it works, scene 1: the application */
.am { margin: auto; width: 408px; padding: 22px; border-radius: 16px; background: var(--d-surface); border: 1px solid var(--d-border); display: flex; flex-direction: column; gap: 14px; }
.am__prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.am__prog i { height: 3px; border-radius: 3px; background: var(--d-surface3); }
.am__prog i.on { background: var(--d-acc-text); }
.am__head { display: flex; align-items: baseline; justify-content: space-between; }
.am__head b { font-size: 17px; font-weight: 600; }
.am__f { display: flex; flex-direction: column; gap: 5px; }
.am__v { height: 34px; padding: 0 11px; border-radius: 9px; background: var(--d-canvas); border: 1px solid var(--d-border2); display: flex; align-items: center; font-size: 12.5px; color: var(--d-fg); overflow: hidden; }
.am__v span { display: block; overflow: hidden; white-space: nowrap; max-width: 0; animation: am-type 10s infinite both; animation-timing-function: steps(22, end); animation-delay: calc(var(--k) * 1.2s); }
.am__v--tall { height: 62px; align-items: flex-start; padding-top: 9px; }
.am__v--tall span { white-space: normal; line-height: 1.4; }
@keyframes am-type { 0%, 2% { max-width: 0; } 16%, 90% { max-width: 100%; } 97%, 100% { max-width: 0; } }
.am .d-btn { height: 38px; font-size: 13px; }

/* ── Phones and tablets: last in the file so these win ───────────────────
   The header has to fit "Aanmelden" next to EN | NL on a 360 px phone. Sections sit closer together, cards lose
   the desktop air between icon and title, and on the application page the form comes straight after the
   headline, with the three "what happens next" notes under it. */
@media (max-width: 960px) {
  .apply__in { display: flex; flex-direction: column; gap: 20px; }
  .apply__side { display: contents; }
  .apply .form-card { order: 1; margin-top: 8px; }
  .apply .next { order: 2; margin-top: 16px; }
  .scene { width: 100%; max-width: 560px; justify-self: center; }
}
@media (max-width: 640px) {
  .section { padding-block: 64px; }
  .hdr__in { gap: 12px; }
  .hdr__cta { gap: 8px; }
  .hdr .brand { gap: 8px; }
  .hdr .wm__w { font-size: 22px; }
  .lang a { padding: 6px 4px; }
  .hdr__cta .btn--sm { height: 36px; padding: 0 12px; font-size: 13px; }
  .feat__rail { padding-top: 32px; }
  .fcard__body { padding: 20px 20px 24px; }
  .diff { margin-top: 36px; gap: 14px; }
  .diff__item { padding: 24px 22px 26px; gap: 10px; }
  .diff__item h3, .diff--fit .diff__item h3 { margin-top: 14px; }
  .fit-cta { margin-top: 32px; }
  .fit-cta .btn { width: 100%; }
  .how { margin-top: 32px; }
  .faq__side .btn { width: 100%; }
  .qa__q { padding: 20px 0; font-size: 16px; }
  .qa__a p { font-size: 15.5px; }
  .cta .h2 { font-size: clamp(42px, 12vw, 56px); }
  .cta .btn { width: 100%; }
  .ftr { padding-block: 56px 32px; }
  .ftr__bottom { margin-top: 40px; }
  .apply { padding-top: 64px; }
}
@media (max-width: 380px) {
  .hdr .wm__w { font-size: 20px; }
  .hdr .logo { height: 24px; }
  .tab { padding: 0 11px; }
}

/* ── Phone cue: the feature cards scroll sideways ── */
.feat__swipe { display: none; }
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--hdr-h) + 96px); }
  .feat__swipe { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 0 var(--gutter); font-family: var(--cm-font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--cm-champagne); }
  .feat__swipe svg { width: 16px; height: 16px; flex: none; animation: swipe-nudge 1.6s var(--ease-in-out) infinite; }
}
@keyframes swipe-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

/* Cards on a light section */
.s-light .diff__item { background: #FBF8F0; border-color: rgba(12, 11, 10, .12); }
.s-light .diff__glyph { color: var(--cm-bronze); border-color: rgba(138, 102, 0, .3); }

/* ── Phone polish ─────────────────────────────────────────────────────
   Last in the file, so it wins. The application form takes the full width, the three "what happens next" steps
   become one compact strip above it, the two card lists become rows with the icon on the left, and inputs use
   16 px text so iPhones do not zoom in when a field is tapped. */
@media (max-width: 960px) {
  .apply__in { align-items: stretch; }
}
@media (max-width: 640px) {
  /* Application */
  .apply .next { order: 1; margin-top: 4px; }
  .apply .form-card { order: 2; margin-top: 0; }
  .next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-top: 0; }
  .next li { display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 14px; border: .5px solid var(--rule); border-radius: 12px; background: rgba(255, 255, 255, .28); }
  .next li > span { padding-top: 0; }
  .next li b { font-size: 13.5px; line-height: 1.3; }
  .next li p { display: none; }
  .form-card { padding: 24px 18px 22px; border-radius: 16px; }
  .fstep { margin-top: 24px; gap: 18px; }
  .fstep__head h2 { font-size: 30px; }
  .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea { font-size: 16px; height: 50px; }
  .field textarea { height: auto; }
  .choice { font-size: 15px; padding: 14px; }
  .form-nav { margin-top: 26px; padding-top: 20px; }

  /* Why it's different, and Who we work with: rows instead of tall cards */
  .diff { gap: 0; margin-top: 28px; border-top: .5px solid var(--cm-rule); }
  .diff .diff__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 6px; align-items: start; min-height: 0; padding: 22px 0; background: none; border: 0; border-bottom: .5px solid var(--cm-rule); border-radius: 0; }
  .diff .diff__glyph { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; }
  .diff .diff__glyph svg { width: 20px; height: 20px; }
  .diff .diff__item h3 { margin-top: 2px; font-size: 23px; line-height: 1.1; }
  .diff .diff__item p { font-size: 15px; line-height: 1.55; }

  /* How it works: closer steps */
  .step { padding-block: 26px 18px; gap: 10px; }
  .step p { font-size: 16px; }
  .scene { border-radius: 12px; }
}
