/* Alternative Brains landing v3: v2 layout (Brainforge model + Guillem's kit), colours from palettes.css. 6 Nov 2026. */

:root {
  --tint-mint: #DBEAE0;
  --tint-sky: #D6E2F2;
  --tint-lilac: #E4DAF5;
  --tint-pink: #F8DCE9;
  --midnight-2: #18213A;
  --midnight-3: #2A3757;
  --dark-line: color-mix(in srgb, var(--sand) 14%, transparent);
  --wrap: 1200px;
  --nav-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--midnight);
  font-family: var(--font-display);
  font-size: var(--fs-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
mark { background: var(--highlight); color: inherit; padding: 0 .05em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.narrow-p { max-width: 560px; margin: 0 auto; }

/* ---------- type ---------- */
h2 { font-size: var(--fs-h2); font-weight: 600; letter-spacing: var(--tracking-title); line-height: .98; }
.h2-md { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -.04em; }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.025em; line-height: 1.25; }
.lede { font-size: var(--fs-lede); color: var(--muted); line-height: 1.65; margin-top: 18px; }
.on-dark { color: var(--muted-on-dark); }
h2.on-dark, .h2-md.on-dark { color: var(--sand); }
.pink { color: var(--accent-on-dark); }
.hl { background: var(--highlight); padding: 0 .04em; }

.eyebrow {
  font-family: var(--font-mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: .12em;
  color: var(--ink-2); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.eyebrow.on-dark { color: var(--muted-on-dark); }
.mono-label { font-family: var(--font-mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.mono-label.on-dark { color: var(--muted-on-dark); }
.mono-cap { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--muted); }
.mono-cap.on-dark { color: var(--muted-on-dark); }

/* ---------- buttons + links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: var(--radius-pill);
  font-size: var(--fs-small); font-weight: 500; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 13.5px; }
.btn-pink { background: var(--pink); color: var(--on-accent); }
.btn-pink:hover { box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--pink) 70%, transparent); }
.btn-dark { background: var(--midnight); color: var(--sand); }
.btn-dark:hover { box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--midnight) 60%, transparent); }
.btn-block { width: 100%; }
.link-light, .link-dark { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); font-weight: 500; }
.link-light { color: var(--accent-on-dark); }
.link-dark { color: var(--pink-text); }
.link-light svg, .link-dark svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.link-light:hover svg, .link-dark:hover svg { transform: translateX(3px); }
.cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.cta-row.center { justify-content: center; }

/* chips + sources */
.chip {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: 11px; background: var(--sand); color: var(--ink-2);
}
.chip-dark { background: color-mix(in srgb, var(--sand) 10%, transparent); color: var(--muted-on-dark); }
.src {
  display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: var(--radius-pill);
  background: var(--sand); font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-2); white-space: nowrap;
}
.src-dark { background: color-mix(in srgb, var(--sand) 12%, transparent); color: var(--sand); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; display: inline-block; }
.dot-pink { background: var(--pink); } .dot-lilac { background: var(--lilac); } .dot-mint { background: var(--mint); } .dot-sky { background: var(--sky); }

/* bands */
.band-dark { background: var(--midnight); color: var(--sand); }
.band-tint { background: var(--paper); }
.band-tint-2 { background: var(--tint-mint); }

/* reveal on scroll (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- NAV ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); background: var(--midnight-2); border-bottom: 1px solid var(--dark-line); }
.nav-inner { max-width: var(--wrap); height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--sand); font-weight: 600; font-size: 21px; letter-spacing: -.045em; }
.brand-mark { width: 26px; height: 24px; color: var(--sand); }
.brand-dark { color: var(--midnight); } .brand-dark .brand-mark { color: var(--midnight); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 11px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: color-mix(in srgb, var(--sand) 82%, transparent); transition: color .2s, background .2s; }
.nav-link svg { width: 14px; height: 14px; }
.nav-link:hover { color: var(--sand); background: color-mix(in srgb, var(--sand) 7%, transparent); }
.nav-icon { width: 36px; height: 36px; display: grid; place-items: center; color: color-mix(in srgb, var(--sand) 82%, transparent); }
.nav-icon svg { width: 17px; height: 17px; }
.nav-cta { margin-left: auto; }
.nav-drop { position: relative; }
.drop-panel {
  position: absolute; top: calc(100% + 10px); left: -8px; width: 300px; padding: 8px; border-radius: 16px;
  background: var(--paper); box-shadow: 0 24px 50px -20px color-mix(in srgb, var(--midnight-2) 45%, transparent);
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .2s, transform .2s var(--ease);
}
.nav-drop:hover .drop-panel, .nav-drop:focus-within .drop-panel, .nav-drop.open .drop-panel { opacity: 1; transform: none; pointer-events: auto; }
.drop-panel a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; color: var(--midnight); }
.drop-panel a:hover { background: var(--sand); }
.drop-panel .icon { width: 36px; height: 36px; }
.drop-panel b { display: block; font-size: 14px; font-weight: 600; }
.drop-panel i { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); line-height: 1.3; }

/* ---------- 1 HERO ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--sand); padding: calc(var(--nav-h) + 92px) 0 56px;
  background: radial-gradient(110% 75% at 50% 0%, var(--midnight-3) 0%, var(--midnight) 48%, var(--midnight-2) 100%) var(--midnight-2);
}
.hero-lines, .closer-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { position: relative; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.hero h1 { font-size: clamp(36px, 4.1vw, 60px); font-weight: 600; letter-spacing: var(--tracking-title); line-height: 1.02; }
.hero-lede { max-width: 560px; margin: 26px auto 0; font-size: 17px; line-height: 1.6; color: var(--muted-on-dark); }
.hero-for { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: color-mix(in srgb, var(--muted-on-dark) 80%, transparent); }
.hero-ctas { margin-top: 30px; display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-logos { position: relative; margin-top: 96px; text-align: center; }
.logos-title { padding: 0 var(--gutter); font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.03em; color: var(--sand); }
.marquee { position: relative; margin-top: 30px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 72px; animation: marquee 36s linear infinite; }
.wm { font-size: clamp(22px, 2.1vw, 30px); font-weight: 500; letter-spacing: -.035em; color: color-mix(in srgb, var(--sand) 62%, transparent); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(calc(-50% - 36px)); } }

/* ---------- 2 SPREAD ---------- */
.spread { background: var(--midnight-2); color: var(--sand); padding: 64px var(--gutter) 150px; text-align: center; }
.spread-title { font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.03em; }
.spread-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 52px; margin-top: 30px; }
.spread-row li { font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--sand) 55%, transparent); }

/* ---------- 3 VIDEO ---------- */
.video-sec { position: relative; padding: 0 var(--gutter) 80px; background: linear-gradient(var(--midnight-2) 0 34%, var(--sand) 34% 100%); margin-top: -110px; }
.video-frame { max-width: 860px; margin: 0 auto; border-radius: 22px; background: var(--paper); padding: 8px; box-shadow: var(--shadow-device), 0 2px 0 rgba(255, 255, 255, .1) inset; }
.video-bar { display: flex; align-items: center; gap: 10px; padding: 8px 10px 12px; font-size: 13.5px; font-weight: 500; color: var(--midnight); }
.video-bar .chip { margin-left: auto; background: var(--sand); color: var(--ink-2); }
.vb-mark { width: 22px; height: 20px; color: var(--midnight); }
.video-poster {
  position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
  background: radial-gradient(90% 120% at 85% 10%, var(--midnight-3) 0%, var(--midnight) 55%, var(--midnight-2) 100%);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 28px; padding: clamp(20px, 4vw, 48px);
}
.vp-title { margin-top: 12px; color: var(--sand); font-size: clamp(22px, 2.7vw, 36px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.vp-card { background: var(--paper); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-device); }
.vp-card .q { font-size: 12.5px; color: var(--muted); }
.vp-card .a { margin: 8px 0 14px; font-size: 14.5px; line-height: 1.5; }
.play {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 22px 0 6px; border-radius: 999px;
  background: color-mix(in srgb, var(--sand) 10%, transparent); color: var(--sand); font-size: 14px; font-weight: 500; transition: background .25s;
}
.play-ico { width: 40px; height: 40px; border-radius: 50%; background: var(--pink); color: var(--on-accent); display: grid; place-items: center; box-shadow: 0 0 0 7px color-mix(in srgb, var(--pink) 18%, transparent); transition: box-shadow .25s; }
.play-ico svg { width: 16px; height: 16px; margin-left: 2px; }
.play:hover { background: color-mix(in srgb, var(--sand) 16%, transparent); }
.play:hover .play-ico { box-shadow: 0 0 0 11px color-mix(in srgb, var(--pink) 14%, transparent); }
.video-soon {
  position: absolute; left: 50%; bottom: 18px; translate: -50% 0; padding: 8px 14px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--midnight-2) 86%, transparent); color: var(--sand); font-family: var(--font-mono); font-size: 11.5px; white-space: nowrap;
  opacity: 0; transition: opacity .3s;
}
.video-soon.show { opacity: 1; }

/* ---------- 4 PROOF ---------- */
.proof { padding: 30px 0 110px; border-top: 0; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proof-card {
  display: flex; flex-direction: column; gap: 8px; background: var(--paper); border-radius: 20px; padding: 26px 24px 22px;
  border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.proof-card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: 0 22px 40px -28px color-mix(in srgb, var(--midnight) 45%, transparent); }
.pc-num { font-size: 34px; font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.pc-num small { font-family: var(--font-mono); font-size: 11.5px; font-weight: 400; letter-spacing: .04em; color: var(--muted); margin-left: 6px; vertical-align: middle; }
.pc-title { font-size: 15px; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; margin-top: 6px; }
.pc-link { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--pink-text); }
.pc-link svg { width: 14px; height: 14px; }

/* ---------- 5 WHAT ---------- */
.what { padding: 120px 0; }
.what h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.04; letter-spacing: -.04em; }
.what .lede { max-width: 620px; margin-left: auto; margin-right: auto; }
.small-for { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; }

/* ---------- 6 WHERE ---------- */
.where { background: var(--paper); padding: 120px 0; }
.where .lede { max-width: 560px; margin-left: auto; margin-right: auto; }
.where-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 52px; }
.where-card { background: var(--sand); border-radius: 20px; padding: 30px 30px 28px; border-top: 3px solid var(--pink); display: flex; flex-direction: column; gap: 12px; transition: transform .25s var(--ease); }
.where-card:hover { transform: translateY(-3px); }
.where-card h3 { font-size: 22px; }
.where-card p:not(.mono-label) { color: var(--muted); }
.where-card .link-dark { margin-top: 8px; }

/* ---------- 7 START PANEL ---------- */
.start-panel-sec { background: var(--paper); padding: 0 0 120px; }
.start-panel {
  position: relative; overflow: hidden; border-radius: var(--radius-card); color: var(--sand);
  background: radial-gradient(70% 90% at 75% 15%, var(--midnight-3) 0%, var(--midnight) 55%, var(--midnight-2) 100%);
  padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px) clamp(28px, 4vw, 48px);
}
.start-panel h2 { max-width: 620px; font-size: clamp(36px, 4.4vw, 64px); line-height: .98; color: var(--sand); }
.start-panel .lede { max-width: 470px; }
.sp-shapes { position: absolute; inset: 0; pointer-events: none; }
.s-pill { position: absolute; right: -40px; top: 40px; width: 240px; height: 120px; border-radius: 999px; background: color-mix(in srgb, var(--lilac) 16%, transparent); transform: rotate(-18deg); animation: drift 14s ease-in-out infinite alternate; }
.s-dot { position: absolute; right: 190px; top: 150px; width: 54px; height: 54px; border-radius: 50%; background: var(--pink); opacity: .9; animation: drift 10s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { translate: -18px 14px; } }
/* sp-content-above: copy always sits over the decorative shapes; shapes stay clear of the title on smaller screens */
.start-panel > :not(.sp-shapes) { position: relative; z-index: 1; }
@media (max-width: 1080px) { .s-dot { right: 40px; top: 110px; width: 44px; height: 44px; } }
@media (max-width: 820px) {
  .s-dot { display: none; }
  .s-pill { width: 140px; height: 70px; right: -60px; top: -18px; }
}
.sp-tiles { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border: 1px solid var(--dark-line); border-radius: 18px; overflow: hidden; }
.sp-tile { display: flex; align-items: flex-start; gap: 16px; padding: 24px; transition: background .25s; }
.sp-tile + .sp-tile { border-left: 1px solid var(--dark-line); }
.sp-tile:hover { background: color-mix(in srgb, var(--sand) 7%, transparent); }
.sp-n { font-family: var(--font-mono); font-size: 11.5px; color: var(--accent-on-dark); padding-top: 3px; }
.sp-txt b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.sp-txt i { display: block; margin-top: 6px; font-style: normal; font-size: 13.5px; line-height: 1.5; color: var(--muted-on-dark); }
.sp-tile svg { width: 20px; height: 20px; margin-left: auto; flex: none; color: var(--muted-on-dark); transition: color .2s, transform .25s var(--ease); }
.sp-tile:hover svg { color: var(--accent-on-dark); transform: translate(2px, -2px); }

/* ---------- 8 LAYER (tabs) ---------- */
.layer { padding: 120px 0; }
.layer-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.layer-left .lede { max-width: 440px; }
.tabs { margin-top: 40px; border-top: 1px solid var(--line); }
.tab {
  position: relative; width: 100%; display: flex; justify-content: space-between; align-items: center; text-align: left;
  padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; font-weight: 500; color: var(--ink-2); transition: color .2s;
}
.tab svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.tab::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--pink); transition: width .4s var(--ease); }
.tab:hover { color: var(--midnight); }
.tab:hover svg { transform: translateX(3px); }
.tab.is-active { color: var(--midnight); font-weight: 600; }
.tab.is-active::after { width: 100%; }
.layer-right { position: relative; display: grid; }
.tab-card {
  grid-area: 1 / 1; border-radius: var(--radius-tile); padding: clamp(26px, 3.5vw, 40px);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s, transform .35s var(--ease), visibility 0s .35s;
}
.tab-card.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .35s var(--ease); }
.t-sky { background: var(--tint-sky); } .t-mint { background: var(--tint-mint); } .t-pink { background: var(--tint-pink); } .t-lilac { background: var(--tint-lilac); }
.tc-icon { width: 58px; height: 58px; }
.tab-card h3 { margin-top: 22px; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.04em; line-height: 1.08; }
.tab-card > p { margin-top: 12px; color: var(--ink-2); max-width: 440px; }
.checks { margin-top: 20px; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.checks svg { width: 18px; height: 18px; color: var(--pink-text); flex: none; }
.tc-demo { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tc-demo .src { background: var(--paper); }
.tc-fix { margin-top: 24px; background: var(--paper); border-radius: 16px; padding: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; }
.tc-fix s { color: var(--muted); }
.tc-fix svg { width: 16px; height: 16px; color: var(--pink-text); }
.tc-fix .mono-cap { width: 100%; margin-top: 4px; }
.tc-file { margin-top: 24px; background: var(--paper); border-radius: 16px; padding: 18px; }
.tc-file ul { margin-top: 10px; display: grid; gap: 8px; }
.tc-file li { font-size: 14px; padding-left: 14px; position: relative; }
.tc-file li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--midnight); }
.tc-file em { font-style: normal; color: var(--muted); }

/* ---------- 9 WHO ---------- */
.who { padding: 120px 0; }
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.who .lede { max-width: 470px; margin-bottom: 28px; }
.chips-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.chip-b {
  height: 44px; padding: 0 20px; border-radius: var(--radius-pill); background: var(--sand); border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 500; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.chip-b:hover, .chip-b.is-on { background: var(--midnight); color: var(--sand); border-color: var(--midnight); transform: translateY(-2px); }

/* ---------- 10 START HERE ---------- */
.start-here { padding: 100px 0; }
.here-card { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; background: var(--sand); border-radius: var(--radius-card); padding: clamp(28px, 5vw, 60px); }
.here-copy .lede { max-width: 520px; }
.here-box { background: var(--paper); border-radius: 20px; padding: 26px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; margin-top: 18px; }
.facts b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.045em; line-height: 1.05; }
.facts span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ---------- 11 ECO + BADGES ---------- */
.eco { padding: 120px 0; }
.eco-head, .eco-sub { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.eco-head .eyebrow { margin-bottom: 14px; }
.eco-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.eco-tile {
  height: 88px; display: flex; align-items: center; justify-content: center; gap: 12px; border-radius: 16px; background: var(--paper);
  border: 1px solid var(--line); font-size: 17px; font-weight: 600; letter-spacing: -.03em; transition: transform .25s var(--ease), border-color .25s;
}
.eco-tile:hover { transform: translateY(-3px); border-color: var(--midnight); }
.eco-tile .icon { width: 30px; height: 30px; }
.eco-tile .dot { width: 14px; height: 14px; }
.eco-sub { margin-top: 48px; align-items: center; }
.eco-sub .eyebrow { margin-bottom: 0; }
.badge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.badge-card {
  position: relative; min-height: 150px; border-radius: 18px; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  background: radial-gradient(120% 120% at 100% 0%, var(--midnight-3) 0%, var(--midnight) 60%); color: var(--sand);
  box-shadow: 0 18px 36px -24px color-mix(in srgb, var(--midnight) 70%, transparent); transition: transform .25s var(--ease);
}
.badge-card:hover { transform: translateY(-3px); }
.bc-mark { position: absolute; top: 18px; right: 18px; width: 26px; height: 24px; color: var(--sand); }
.bc-title { font-size: 19px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; padding-right: 30px; }
.bc-arrow { position: absolute; right: 16px; bottom: 16px; width: 28px; height: 28px; padding: 6px; border-radius: 50%; border: 1px solid var(--dark-line); color: var(--muted-on-dark); }

/* ---------- 12 HOW ---------- */
.how { padding: 100px 0; }
.how-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--sand); border-radius: var(--radius-card); padding: clamp(28px, 5vw, 60px); }
.how-list { display: grid; gap: 12px; }
.how-list li { display: flex; align-items: center; gap: 16px; background: var(--paper); border-radius: 14px; padding: 16px 18px; font-size: 15px; font-weight: 500; }
.how-list span { font-family: var(--font-mono); font-size: 12px; color: var(--pink-text); }

/* ---------- 13 CASES ---------- */
.cases { padding: 120px 0 100px; }
.carousel { display: flex; gap: 20px; margin-top: 52px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.case-card { flex: 0 0 calc((100% - 40px) / 3); min-width: 280px; scroll-snap-align: start; background: var(--paper); color: var(--midnight); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.cc-visual { height: 190px; display: grid; place-items: center; padding: 22px; }
.v-pink { background: var(--tint-pink); } .v-lilac { background: var(--tint-lilac); } .v-mint { background: var(--tint-mint); } .v-sky { background: var(--tint-sky); }
.mini-chat { width: 100%; max-width: 270px; display: grid; gap: 8px; }
.mini-chat p { padding: 10px 13px; border-radius: 14px; font-size: 13px; line-height: 1.4; }
.mq { justify-self: end; background: var(--midnight); color: var(--sand); border-bottom-right-radius: 4px; max-width: 85%; }
.ma { background: var(--paper); border-bottom-left-radius: 4px; box-shadow: 0 10px 22px -16px color-mix(in srgb, var(--midnight) 50%, transparent); }
.mini-file { width: 100%; max-width: 260px; display: grid; gap: 6px; }
.mini-file p { background: var(--paper); border-radius: 10px; padding: 9px 12px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.mini-file .win { color: var(--midnight); box-shadow: inset 0 0 0 2px var(--pink); }
.case-card .tag { align-self: flex-start; margin: 20px 22px 0; height: 24px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; background: var(--midnight); color: var(--sand); font-family: var(--font-mono); font-size: 11px; }
.case-card h3 { margin: 14px 22px 0; font-size: 23px; letter-spacing: -.04em; line-height: 1.1; }
.cc-foot { margin-top: auto; padding: 22px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.cc-foot a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--pink-text); }
.cc-foot a svg { width: 14px; height: 14px; }
.carousel-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; }
.arrows { display: flex; gap: 10px; }
.arr { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--dark-line); display: grid; place-items: center; color: var(--sand); transition: background .2s, color .2s; }
.arr svg { width: 18px; height: 18px; }
.arr:hover, .arr-on { background: var(--sand); color: var(--midnight); }

/* ---------- 14 DELIVERS ---------- */
.delivers { padding: 120px 0; }
.del-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.del-copy .lede { max-width: 420px; }
.del-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.del-tile { min-height: 210px; border-radius: 18px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; }
.del-tile p { font-size: 13.5px; line-height: 1.4; }
.del-tile b { font-size: clamp(48px, 5vw, 72px); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.dt-dark { background: var(--midnight); color: var(--sand); }
.dt-dark p { color: var(--muted-on-dark); }
.dt-sky { background: var(--tint-sky); } .dt-mint { background: var(--tint-mint); }
.dt-dark b { color: var(--accent-on-dark); }

/* ---------- 15 WALL ---------- */
.wall { padding: 110px 0; overflow: hidden; }
.wall-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.wall-copy .lede { max-width: 420px; }
.wall-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; height: 560px; -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.wall-col { overflow: hidden; }
.wall-track { display: grid; gap: 14px; animation: wallUp 40s linear infinite; }
.wall-col-2 .wall-track { animation-duration: 48s; animation-direction: reverse; }
.wall-cols:hover .wall-track { animation-play-state: paused; }
@keyframes wallUp { to { transform: translateY(calc(-50% - 7px)); } }
.qa { background: var(--paper); color: var(--midnight); border-radius: 16px; padding: 18px; display: grid; gap: 10px; }
.qa p { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.qa .qa-q { color: var(--midnight); font-weight: 600; font-size: 15px; letter-spacing: -.02em; }
.qa .src { justify-self: start; }

/* ---------- 16 FRAME ---------- */
.frame { background: var(--tint-mint); padding: 110px 0; }
.frame-words { display: flex; justify-content: center; align-items: center; gap: clamp(12px, 2vw, 28px); margin: 40px 0 26px; flex-wrap: wrap; }
.fw { position: relative; display: inline-flex; align-items: center; gap: 12px; height: clamp(60px, 7vw, 92px); padding: 0 clamp(16px, 2vw, 26px); font-size: clamp(34px, 4.6vw, 62px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.fw-box { background: var(--paper); border-radius: 16px; }
.fw-box .icon { width: clamp(36px, 4vw, 52px); height: auto; }
.fw-ring .ring { position: absolute; inset: 0; border: 3px solid var(--midnight); border-radius: 999px; clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease) .25s; }
.frame-words.in .fw-ring .ring { clip-path: inset(0 0 0 0); }
.fw-term { background: var(--midnight); color: var(--sand); border-radius: 16px; }
.fw-term i { font-style: normal; color: var(--accent-on-dark); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.fw-arrow { width: clamp(26px, 3vw, 40px); height: clamp(26px, 3vw, 40px); color: var(--midnight); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 48px 0 40px; text-align: left; }
.step { background: var(--paper); border-radius: 20px; padding: 14px 14px 24px; }
.step-vis { height: 170px; border-radius: 14px; background: var(--sand); display: grid; place-items: center; padding: 18px; margin-bottom: 20px; }
.step-n { padding: 0 8px; font-family: var(--font-mono); font-size: 12px; color: var(--pink-text); }
.step h3 { padding: 4px 8px 0; font-size: 22px; letter-spacing: -.035em; }
.step > p:last-child { padding: 6px 8px 0; color: var(--muted); font-size: 14.5px; }
.sv-row { display: flex; gap: 8px; }
.sv-opt { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--paper); font-weight: 600; font-size: 14px; }
.sv-on { box-shadow: inset 0 0 0 2px var(--midnight); }
.sv-list { width: 100%; max-width: 230px; display: grid; gap: 8px; }
.sv-list span { display: flex; align-items: center; gap: 10px; background: var(--paper); border-radius: 12px; padding: 7px 12px 7px 7px; font-size: 13.5px; font-weight: 500; }
.sv-list .icon { width: 26px; height: 26px; }
.sv-list b { margin-left: auto; color: var(--pink-text); }
.sv-list .sv-wait { color: var(--muted); }
.sv-ask { width: 100%; max-width: 240px; display: grid; gap: 10px; }
.sv-ask p { background: var(--midnight); color: var(--sand); border-radius: 14px 14px 4px 14px; padding: 11px 14px; font-size: 13.5px; }
.sv-ask .src { justify-self: start; background: var(--paper); }

/* ---------- 17 CHANGE (before/after stack) ---------- */
.change { padding: 120px 0 80px; }
.change-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.change-copy { position: sticky; top: calc(var(--nav-h) + 56px); }
.src-stack { display: flex; margin: 24px 0 6px; }
.src-stack .icon { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--sand); }
.src-stack .icon + .icon { margin-left: -12px; }
.change-copy .lede { max-width: 400px; margin-bottom: 26px; }
/* spacing via gap, not margins: a sticky card's margin counts against its container and pushed the stack up early */
.ba-stack { display: grid; gap: 22vh; }
.ba-stack::after { content: ""; height: 1px; }
.ba-card {
  position: sticky; top: calc(var(--nav-h) + 40px + var(--i) * 18px); display: grid; grid-template-columns: 1fr 1.1fr; min-height: 300px;
  border-radius: 22px; overflow: hidden; background: var(--paper); box-shadow: 0 26px 50px -30px color-mix(in srgb, var(--midnight) 50%, transparent);
}
.ba-before, .ba-after { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.ba-before { background: var(--ba-before); }
.ba-label { font-size: 15px; font-weight: 500; }
.ba-before .ba-label { color: var(--pink-text); }
.ba-txt { font-size: clamp(18px, 1.7vw, 22px); letter-spacing: -.03em; line-height: 1.2; }
.ba-txt b { font-weight: 600; }
.ba-vis-before { margin-top: auto; display: grid; gap: 8px; }
.ba-vis-before span { background: var(--paper); border-radius: 10px; padding: 9px 12px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); border: 1px dashed var(--line); }
.ba-vis { margin-top: auto; }
.ba-vis .src { background: var(--paper); }
.a-mint { background: var(--tint-mint); } .a-sky { background: var(--tint-sky); } .a-lilac { background: var(--tint-lilac); }
.a-dark { background: var(--midnight); color: var(--sand); }
.a-dark .ba-vis .src { background: color-mix(in srgb, var(--sand) 12%, transparent); color: var(--sand); }

/* ---------- 18 PRICING ---------- */
.pricing { padding-bottom: 110px; }
.pricing-top { padding: 110px 0 170px; }
.pricing-h { font-size: clamp(56px, 7vw, 104px); letter-spacing: -.05em; line-height: .95; color: var(--sand); }
.pricing-top .lede { max-width: 540px; margin-left: auto; margin-right: auto; }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; gap: 22px; margin-top: -110px; position: relative; }
.price-card { position: relative; background: var(--paper); border-radius: var(--radius-card); padding: 40px 30px 30px; display: flex; flex-direction: column; box-shadow: 0 26px 50px -30px color-mix(in srgb, var(--midnight) 55%, transparent); }
.price-card.is-rec { box-shadow: 0 0 0 2px var(--pink), 0 26px 50px -30px color-mix(in srgb, var(--midnight) 55%, transparent); }
.rec-pill { position: absolute; top: -13px; left: 50%; translate: -50% 0; height: 26px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--pink); color: var(--on-accent); font-family: var(--font-mono); font-size: 11px; white-space: nowrap; }
.rec-quiet { background: var(--midnight); color: var(--sand); }
.price-card h3 { font-size: 28px; letter-spacing: -.04em; }
.pc-sub { margin-top: 4px; color: var(--muted); }
.price { margin-top: 22px; display: flex; align-items: baseline; gap: 12px; }
.price b { font-size: clamp(52px, 5vw, 70px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.price s { font-size: 18px; color: var(--muted); }
.pc-note { margin-top: 8px; font-size: 13px; color: var(--muted); }
.price-card .checks { margin: 24px 0 28px; }
.price-card .btn { margin-top: auto; }
.price-extra { margin-top: 34px; text-align: center; display: grid; gap: 6px; color: var(--ink-2); }
.price-extra b { font-weight: 600; color: var(--midnight); }

/* ---------- 19 FAQ ---------- */
.faq { padding: 110px 0 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-h { font-size: clamp(48px, 5.4vw, 80px); letter-spacing: -.05em; color: var(--sand); }
.faq .lede { max-width: 360px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border-radius: 14px; background: color-mix(in srgb, var(--sand) 5%, transparent); border: 1px solid var(--dark-line); transition: background .2s; }
.faq-list details[open] { background: color-mix(in srgb, var(--sand) 9%, transparent); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-size: 15.5px; font-weight: 500; color: var(--sand); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 20px; height: 20px; flex: none; color: var(--accent-on-dark); transition: transform .25s var(--ease); }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list details p { padding: 0 22px 20px; color: var(--muted-on-dark); max-width: 560px; }
.faq-bottom { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 70px; padding-bottom: 90px; font-size: 16px; font-weight: 500; color: var(--sand); }

/* ---------- 20 CLOSER ---------- */
.closer { position: relative; overflow: hidden; padding: 120px 0; border-top: 1px solid var(--dark-line); }
.closer-inner { position: relative; }
.closer-h { font-size: clamp(36px, 4.6vw, 64px); color: var(--sand); line-height: 1; }
.closer .lede { max-width: 520px; margin: 20px auto 30px; }

/* ---------- 21 NEWSLETTER ---------- */
.news { padding: 30px 0 120px; }
.news-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.news .lede { max-width: 440px; }
.news-form { margin-top: 28px; display: flex; align-items: center; gap: 6px; max-width: 470px; background: var(--paper); border-radius: 999px; padding: 5px 5px 5px 20px; }
.news-form input { flex: 1; min-width: 0; height: 38px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: var(--midnight); }
.news-ok { min-height: 22px; margin: 10px 0 2px; font-size: 13.5px; color: var(--accent-on-dark); }
.news-card { background: var(--tint-mint); color: var(--midnight); border-radius: 22px; padding: 28px; display: grid; gap: 12px; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .6); }
.nc-top { display: flex; justify-content: space-between; align-items: center; }
.nc-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: -.045em; font-size: 17px; }
.nc-brand svg { width: 20px; height: 18px; color: var(--midnight); }
.news-card .chip { background: var(--paper); }
.news-card h3 { font-size: 24px; letter-spacing: -.04em; line-height: 1.12; }
.news-card ol { display: grid; gap: 8px; }
.news-card li { display: flex; gap: 12px; font-size: 14px; }
.news-card li span { font-family: var(--font-mono); font-size: 12px; color: var(--pink-text); padding-top: 2px; }

/* ---------- FOOTER ---------- */
.foot { background: var(--tint-mint); padding: 56px 0 36px; }
.foot-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-links { display: grid; gap: 14px; }
.foot-links nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; font-weight: 500; }
.foot-links nav + nav { font-weight: 400; color: var(--muted); }
.foot-links a:hover { color: var(--pink-text); }
.foot-note { margin-top: 40px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .del-grid, .wall-grid, .layer-grid, .who-grid, .change-grid, .news-grid, .faq-grid { grid-template-columns: 1fr; }
  .change-copy { position: static; }
  .eco-grid, .badge-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  :root { --gutter: 16px; }
  .hero { padding-top: calc(var(--nav-h) + 64px); }
  .hero-logos { margin-top: 64px; }
  .video-poster { grid-template-columns: 1fr; aspect-ratio: auto; min-height: 340px; }
  .vp-title, .vp-copy .mono-label, .video-bar .chip { display: none; }
  .play { margin-top: 0; }
  .vp-copy { order: 2; }
  .proof-grid, .where-grid, .sp-tiles, .steps { grid-template-columns: 1fr; }
  .sp-tile + .sp-tile { border-left: 0; border-top: 1px solid var(--dark-line); }
  .here-card, .how-card { grid-template-columns: 1fr; }
  .case-card { flex-basis: 84%; }
  .del-tiles { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .del-tile { min-height: 170px; padding: 14px; }
  .del-tile p { font-size: 12px; }
  .wall-cols { grid-template-columns: 1fr; height: 460px; }
  .wall-col-2 { display: none; }
  .ba-stack { gap: 16px; }
  .ba-stack::after { display: none; }
  .ba-card { position: relative; top: auto; grid-template-columns: 1fr; min-height: 0; }
  .ba-vis-before { margin-top: 10px; }
  .price-grid { grid-template-columns: minmax(0, 1fr); margin-top: -120px; }
  .what, .where, .layer, .who, .eco, .cases, .delivers, .change, .wall, .frame { padding-top: 84px; padding-bottom: 84px; }
  .start-panel-sec { padding-bottom: 84px; }
  .carousel-nav .btn { display: none; }
  .carousel-nav { justify-content: flex-end; }
  .nav-cta { height: 36px; padding: 0 14px; font-size: 13px; }
}
@media (max-width: 480px) {
  .eco-grid, .badge-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .eco-tile { height: 72px; font-size: 14.5px; gap: 8px; }
  .eco-tile .icon { width: 24px; height: 24px; }
  .del-tiles { grid-template-columns: 1fr; }
  .del-tile { min-height: 120px; flex-direction: row; align-items: flex-end; gap: 12px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fw { font-size: 30px; height: 56px; }
  .video-bar span:nth-of-type(1) { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .wall-track, .s-pill, .s-dot, .fw-term i { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .fw-ring .ring { clip-path: none; transition: none; }
}

/* hero entrance: CSS only, never waits on JS */
.rise { animation: rise .8s var(--ease) both; }
.hero-lede.rise { animation-delay: .08s; }
.hero-for.rise { animation-delay: .14s; }
.hero-ctas.rise { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } }


/* ---------- v4: demo video in the hero; design 1 default, 2 and 3 via html[data-video] for feedback ---------- */
.spread { padding-bottom: 64px; }
.proof { padding-top: 80px; }
.hero { padding-bottom: 60px; }
.hero-logos { margin-top: 80px; }
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center;
  grid-template-areas: "eyebrow" "h1" "lede" "for" "ctas" "note" "demo";
}
.hero h1 { grid-area: h1; }
.hero-lede { grid-area: lede; }
.hero-for { grid-area: for; }
.hero-ctas { grid-area: ctas; }
.demo { grid-area: demo; width: 100%; max-width: 1040px; margin: 56px auto 0; }
.demo-frame {
  border-radius: 20px; padding: 6px; background: color-mix(in srgb, var(--sand) 8%, transparent);
  border: 1px solid var(--dark-line); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .75);
}
.demo-bar { display: flex; align-items: center; gap: 12px; padding: 6px 10px 10px; font-size: 13px; color: var(--muted-on-dark); text-align: left; }
.demo-dots { display: inline-flex; gap: 5px; }
.demo-dots i { width: 9px; height: 9px; border-radius: 50%; background: color-mix(in srgb, var(--sand) 22%, transparent); }
.demo-title { font-weight: 500; color: var(--sand); }
.demo-dur { margin-left: auto; font-family: var(--font-mono); font-size: 11.5px; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--sand) 10%, transparent); }
.demo-media { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--midnight-2); }
.demo-media video { width: 100%; height: 100%; object-fit: cover; }
.demo-sound {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 6px;
  border-radius: 999px; background: color-mix(in srgb, var(--midnight-2) 84%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--dark-line); color: var(--sand); font-size: 14px; font-weight: 500; transition: transform .2s var(--ease), background .2s;
}
.demo-sound:hover { transform: translateY(-1px); background: var(--midnight-2); }
.ds-ico { width: 34px; height: 34px; border-radius: 50%; background: var(--pink); color: var(--on-accent); display: grid; place-items: center; }
.ds-ico svg { width: 14px; height: 14px; margin-left: 2px; }
.demo.is-full .demo-sound { display: none !important; }
.demo-chapters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.demo-chapters button { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--dark-line); color: var(--muted-on-dark); font-size: 13px; white-space: nowrap; transition: background .2s, color .2s; }
.demo-chapters b { font-family: var(--font-mono); font-weight: 400; font-size: 12px; color: var(--accent-on-dark); }
.demo-chapters button:hover { background: color-mix(in srgb, var(--sand) 8%, transparent); color: var(--sand); }

@media (max-width: 820px) {
  .demo { margin-top: 40px; }
  .demo-bar .demo-title { font-size: 12px; }
  .demo-sound { left: 10px; bottom: 10px; height: 40px; font-size: 12.5px; padding-right: 14px; }
  .ds-ico { width: 30px; height: 30px; }
  .demo-chapters { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start !important; scrollbar-width: none; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .demo-chapters::-webkit-scrollbar { display: none; }
}
/* ?shot=1: no entrance animations (used only to take static screenshots) */
.shot .rise { animation: none !important; }
.shot .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- video designs 2 and 3 (feedback round with Alex and Max) + switcher ---------- */
.vsl-eyebrow { grid-area: eyebrow; display: none; }
.vsl-note { grid-area: note; display: none; }
.demo-play {
  display: none; position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; width: max-content; max-width: calc(100% - 24px); white-space: nowrap;
  align-items: center; gap: 16px; padding: 12px 28px 12px 12px; border-radius: 999px; background: var(--pink); color: var(--on-accent);
  box-shadow: 0 0 0 12px color-mix(in srgb, var(--pink) 22%, transparent), 0 24px 48px -12px rgba(0, 0, 0, .6); transition: transform .25s var(--ease), box-shadow .25s;
}
.demo-play:hover { transform: scale(1.03); box-shadow: 0 0 0 18px color-mix(in srgb, var(--pink) 16%, transparent), 0 24px 48px -12px rgba(0, 0, 0, .6); }
.dp-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--on-accent); color: var(--pink); display: grid; place-items: center; flex: none; }
.dp-ico svg { width: 22px; height: 22px; margin-left: 3px; }
.dp-txt { text-align: left; }
.dp-txt b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.025em; }
.dp-txt i { display: block; font-style: normal; font-family: var(--font-mono); font-size: 12px; opacity: .85; margin-top: 2px; }
.demo-close { display: none; position: absolute; top: 8px; right: 8px; z-index: 3; width: 32px; height: 32px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; place-items: center; }
.demo-close svg { width: 16px; height: 16px; rotate: 45deg; }
.demo.is-full .demo-play { display: none !important; }

/* design 2: copy and video side by side */
html[data-video="2"] .hero { padding-top: calc(var(--nav-h) + 72px); }
html[data-video="2"] .hero-inner {
  max-width: 1320px; text-align: left; justify-items: start; column-gap: clamp(32px, 4vw, 64px);
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); grid-template-rows: 1fr auto auto auto auto auto 1fr;
  grid-template-areas: "top demo" "h1 demo" "lede demo" "for demo" "ctas demo" "note demo" "bottom demo";
}
html[data-video="2"] .hero h1 { font-size: clamp(34px, 3.5vw, 54px); }
html[data-video="2"] .hero-lede { margin-left: 0; margin-right: 0; }
html[data-video="2"] .hero-ctas { justify-content: flex-start; }
html[data-video="2"] .demo { margin: 0; max-width: none; align-self: center; }
html[data-video="2"] .demo-chapters { justify-content: flex-start; }

/* design 3: VSL, the video is the hero */
html[data-video="3"] .hero-inner { grid-template-areas: "eyebrow" "h1" "demo" "ctas" "note"; }
html[data-video="3"] .vsl-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--dark-line);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-on-dark);
}
html[data-video="3"] .hero h1 { font-size: clamp(32px, 3.7vw, 54px); }
html[data-video="3"] .hero-lede, html[data-video="3"] .hero-for, html[data-video="3"] .hero-watch { display: none; }
html[data-video="3"] .demo { max-width: 1100px; margin-top: 36px; }
html[data-video="3"] .hero-ctas { margin-top: 34px; }
html[data-video="3"] .vsl-note { display: block; margin-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .03em; color: var(--muted-on-dark); }
html[data-video="3"] .demo-sound { display: none; }
html[data-video="3"] .demo-play { display: inline-flex; }
html[data-video="3"] .demo-media::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--midnight-2) 45%, transparent); pointer-events: none; transition: opacity .3s; }
html[data-video="3"] .demo.is-full .demo-media::after { opacity: 0; }

/* floating mini player (design 3, while the demo plays and the hero is out of view) */
.demo.is-pip .demo-frame { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: min(360px, calc(100vw - 32px)); padding: 4px; animation: pipIn .3s var(--ease); }
.demo.is-pip .demo-bar { display: none; }
.demo.is-pip .demo-close { display: grid; }
.demo.is-pip .demo-chapters { visibility: hidden; }
@keyframes pipIn { from { transform: translateY(20px); opacity: 0; } }

/* design switcher (feedback tool only, remove before launch) */
  position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 4px;
  padding: 5px; border-radius: 999px; background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line);
  box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--midnight) 55%, transparent);
}

@media (max-width: 1080px) {
  html[data-video="2"] .hero-inner { text-align: center; justify-items: center; grid-template-columns: minmax(0, 1fr); grid-template-rows: none;
    grid-template-areas: "h1" "lede" "for" "ctas" "note" "demo"; }
  html[data-video="2"] .hero-lede { margin-left: auto; margin-right: auto; }
  html[data-video="2"] .hero-ctas, html[data-video="2"] .demo-chapters { justify-content: center; }
  html[data-video="2"] .demo { margin-top: 48px; }
}
@media (max-width: 820px) {
  .demo-play { gap: 10px; padding: 8px 18px 8px 8px; }
  .dp-ico { width: 42px; height: 42px; }
  .dp-txt b { font-size: 15px; }
  .dp-txt i { font-size: 11px; }
  .demo.is-pip .demo-frame { right: 12px; bottom: 72px; width: 220px; }
}

/* v2.1: outlined horizontal logo (Guillem kit). */
.brand-logo { display: block; height: 21px; width: auto; }
.nc-brand { letter-spacing: -.035em; }

/* 11-17: third-party tools as brand-colour circles, same shape as kit icons (#br-*). */
.sv-opt .sv-ic { width: 18px; height: 18px; }
