/* ==========================================================================
   Krona.Chat — site stylesheet
   Ported from the approved "Web 3.0 lite" design mockup. Deliberately
   avoids backdrop-filter, filter:blur() and infinite decorative animation
   on decorative elements — see the design notes in
   README.md for why, and keep new sections consistent with this budget.
   ========================================================================== */

:root {
  --bg: oklch(0.115 0.03 300);
  --panel: oklch(0.16 0.035 300);
  --panel-solid: oklch(0.14 0.03 300);
  --ink: oklch(0.96 0.006 320);
  --ink-dim: oklch(0.84 0.02 320);
  --ink-mute: oklch(0.68 0.02 320);
  --ink-faint: oklch(0.6 0.02 320);
  --ink-faintest: oklch(0.55 0.015 320);
  --accent-red: oklch(0.72 0.22 10);
  --accent-pink: oklch(0.85 0.19 350);
  --accent-magenta: oklch(0.6 0.2 335);
  --accent-purple: oklch(0.78 0.15 270);
  --accent-cyan: oklch(0.8 0.15 210);
  --hairline: oklch(1 0 0 / 0.08);
  --hairline-strong: oklch(1 0 0 / 0.14);
  --font-display: 'Unbounded', sans-serif;
  --font-wordmark: 'Manrope', sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  /* One layout grid for the whole site: header, every section and the
     footer share the same outer width and side gutter, so their edges line
     up. Long-form text sits inside it at a narrower reading measure. */
  --container: 1280px;
  --gutter: clamp(16px, 3vw, 32px);
  --measure: 760px;
}

/* Wide/HiDPI monitors (2K/4K): rather than stretching the layout (which
   pulled the header, footer and some sections much wider than the text
   blocks), the whole page is scaled up uniformly with `zoom` — the same as
   a user zooming the browser. Proportions stay identical to a 1440px
   laptop; text, icons and spacing simply get bigger, and the column keeps
   filling roughly the same share of the screen. `zoom` (unlike
   `transform: scale()`) reflows layout and keeps `position: sticky` and
   media queries correct. */
@media (min-width: 1800px) { body { zoom: 1.12; } }
@media (min-width: 2300px) { body { zoom: 1.33; } }
@media (min-width: 3000px) { body { zoom: 1.66; } }
@media (min-width: 3600px) { body { zoom: 2; } }

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent-pink); }
img, svg { display: block; max-width: 100%; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--panel); color: var(--ink); padding: 10px 16px;
  border-radius: 8px; transition: top .15s ease;
}
.skip-link:focus { top: 16px; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- background system ---------- */
.bg-system { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(720px 560px at 12% 8%, oklch(0.5 0.22 335 / 0.35), transparent 62%),
    radial-gradient(820px 640px at 88% 14%, oklch(0.45 0.2 285 / 0.32), transparent 62%),
    radial-gradient(640px 520px at 50% 40%, oklch(0.55 0.16 205 / 0.16), transparent 60%);
}
.bg-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(oklch(1 0 0 / 0.10) 1px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, #000 35%, transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 35%, transparent 75%);
}

/* ---------- layout shell ---------- */
/* overflow-x: clip is a safety net only (it never creates a scroll
   container, so the sticky header keeps working) — layouts below are built
   not to overflow in the first place. */
.page-shell { position: relative; min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
main { flex: 1; }

/* ---------- nav ---------- */
.nav-bar {
  position: sticky; top: 0; z-index: 30;
  /* same outer edges as the content column below it */
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--container) - 2 * var(--gutter));
  margin: 16px auto 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  border-radius: 20px;
  background: oklch(0.16 0.035 300 / 0.9);
  box-shadow: 0 16px 40px oklch(0 0 0 / 0.35);
}
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo svg { flex-shrink: 0; }
.nav-wordmark { font-family: var(--font-wordmark); font-weight: 800; font-size: 21px; letter-spacing: -0.01em; line-height: 1; }
.nav-wordmark span { color: var(--accent-red); }
.nav-tagline { font-size: 11px; font-weight: 500; color: var(--ink-mute); letter-spacing: .02em; margin-top: 4px; }

.nav-menu { display: flex; align-items: center; gap: 2px; font-size: 15.5px; color: var(--ink-dim); font-weight: 500; white-space: nowrap; }
.nav-item { position: relative; }
.nav-item > a, .nav-item > button.nav-toggle {
  display: flex; align-items: center; gap: 6px;
  background: none; border: none; color: var(--ink); font: inherit; cursor: pointer;
  padding: 9px 14px; border-radius: 12px; line-height: 1;
  transition: background-color .15s ease, color .15s ease;
}
.nav-item > a:hover, .nav-item > button.nav-toggle:hover { color: var(--accent-pink); background: oklch(1 0 0 / 0.05); }
.nav-item.is-current > a,
.nav-item.is-current > button.nav-toggle { color: var(--accent-pink); }
.nav-item.is-open > button.nav-toggle { color: var(--ink); background: oklch(1 0 0 / 0.08); }
.nav-item.is-current.is-open > button.nav-toggle { color: var(--accent-pink); }
.nav-item .icon--chevron-down { flex-shrink: 0; opacity: .6; transition: transform .15s ease; }
.nav-item.is-open .icon--chevron-down { transform: rotate(180deg); opacity: 1; }

.nav-dropdown {
  position: absolute; top: calc(100% + 10px); inset-inline-start: 0; width: 320px;
  padding: 8px; border-radius: 16px;
  background: oklch(0.15 0.032 300 / 0.99);
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 24px 50px oklch(0 0 0 / 0.5);
  z-index: 50; text-align: start; white-space: normal;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav-dropdown::before {
  content: ""; position: absolute; top: -6px; inset-inline-start: 26px; width: 12px; height: 12px;
  background: oklch(0.15 0.032 300); border: 1px solid var(--hairline-strong);
  border-right: none; border-bottom: none; border-radius: 3px 0 0 0; transform: rotate(45deg);
}
.nav-dropdown__label {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-faintest); padding: 8px 10px 6px 10px;
}
.nav-item.is-open .nav-dropdown,
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px;
}
.nav-dropdown a:hover { background: oklch(1 0 0 / 0.06); }
.nav-dropdown a.is-current { background: oklch(0.72 0.2 350 / 0.1); }
.nav-dropdown a.is-current .nav-dropdown-title { color: var(--accent-pink); }
.nav-dropdown a.is-current .nav-dropdown-icon { background: oklch(0.72 0.2 350 / 0.16); border-color: oklch(0.8 0.18 350 / 0.45); }
.nav-dropdown-icon {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  background: oklch(1 0 0 / 0.06); border: 1px solid var(--hairline);
  color: var(--accent-pink);
}
.nav-dropdown-title { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.nav-dropdown-desc { font-size: 12px; color: var(--ink-faint); margin-top: 2px; }
/* highlighted item (For webcam studios): gradient card, filled icon, badge */
.nav-dropdown a.nav-dropdown__promo {
  margin-top: 6px; border: 1px solid oklch(0.8 0.18 350 / 0.45);
  background: linear-gradient(135deg, oklch(0.72 0.22 10 / 0.2), oklch(0.6 0.2 335 / 0.14));
}
.nav-dropdown a.nav-dropdown__promo:hover,
.nav-dropdown a.nav-dropdown__promo.is-current {
  border-color: oklch(0.85 0.19 350 / 0.75);
  background: linear-gradient(135deg, oklch(0.72 0.22 10 / 0.3), oklch(0.6 0.2 335 / 0.22));
}
.nav-dropdown a.nav-dropdown__promo .nav-dropdown-icon {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-magenta));
  border-color: transparent; color: white; box-shadow: 0 6px 16px oklch(0.6 0.22 350 / 0.45);
}
.nav-dropdown a.nav-dropdown__promo .nav-dropdown-desc { color: var(--ink-dim); }
.nav-dropdown__badge {
  display: inline-block; margin-inline-start: 6px; padding: 2px 7px; border-radius: 20px; vertical-align: 1px;
  font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
  color: oklch(0.16 0.03 300); background: var(--accent-pink);
}
/* "new feature" badge (route `badge`, e.g. BETA): cyan, next to the label */
.nav-dropdown__badge--new, .badge-new { background: var(--accent-cyan); color: oklch(0.18 0.05 230); }
.badge-new {
  display: inline-block; margin-inline-start: 6px; padding: 2px 7px; border-radius: 20px; vertical-align: 2px;
  font-family: var(--font-wordmark); font-size: 10px; font-weight: 800; letter-spacing: .06em; white-space: nowrap;
}
/* the parent menu item hints that its dropdown has something new */
.nav-toggle__dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-inline-start: -2px; margin-inline-end: auto;
  background: var(--accent-pink); box-shadow: 0 0 0 3px oklch(0.85 0.19 350 / 0.18);
}

.nav-cta {
  font-size: 15px; font-weight: 700; color: white; white-space: nowrap; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-magenta) 60%, oklch(0.6 0.18 290));
  padding: 12px 22px; border-radius: 24px;
  box-shadow: 0 10px 30px oklch(0.6 0.22 350 / 0.5), inset 0 1px 0 oklch(1 0 0 / 0.25);
}

/* ---------- language selector ---------- */
.lang-select { position: relative; flex-shrink: 0; }
.lang-select__trigger {
  display: flex; align-items: center; gap: 7px;
  font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink-dim);
  background: oklch(1 0 0 / 0.05); border: 1px solid var(--hairline-strong);
  border-radius: 20px; padding: 8px 12px; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.lang-select__trigger:hover { color: var(--ink); background: oklch(1 0 0 / 0.09); }
.lang-select .icon--chevron-down { opacity: .65; transition: transform .15s ease; }
.lang-select.is-open .icon--chevron-down { transform: rotate(180deg); }
.lang-select__panel {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; min-width: 168px; max-height: 320px;
  overflow-y: auto; padding: 6px; border-radius: 14px;
  background: oklch(0.15 0.032 300 / 0.99); border: 1px solid var(--hairline-strong);
  box-shadow: 0 24px 50px oklch(0 0 0 / 0.5);
  z-index: 50; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.lang-select.is-open .lang-select__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-select__option {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--ink-dim);
  padding: 9px 10px; border-radius: 9px;
}
.lang-select__option:hover { background: oklch(1 0 0 / 0.06); color: var(--ink); }
.lang-select__option.is-current { color: var(--ink); font-weight: 700; }
.lang-select__option .icon--check { color: var(--accent-pink); flex-shrink: 0; }

.nav-burger { display: none; }

/* Laptops (1280–1439px): the full menu fits, but only just in Russian —
   tighten item padding a little rather than collapsing it. */
@media (min-width: 1280px) and (max-width: 1439px) {
  .nav-bar { gap: 12px; }
  .nav-item > a, .nav-item > button.nav-toggle { padding: 9px 11px; }
}

/* Collapsed nav (tablets and phones). The full menu needs ~1200px in
   Russian — and longer languages are coming — so below 1280px the menu
   moves behind the burger instead of forcing the page wider than the
   screen. */
@media (max-width: 1279px) {
  .nav-bar { margin-top: 12px; padding: 10px 12px; padding-inline-start: 14px; gap: 10px; flex-wrap: nowrap; }
  .nav-logo { margin-inline-end: auto; min-width: 0; }
  .nav-menu {
    position: fixed; top: 84px; inset-inline-end: var(--gutter); inset-inline-start: auto;
    width: min(400px, calc(100% - 2 * var(--gutter)));
    flex-direction: column; align-items: stretch;
    gap: 2px; padding: 12px; border-radius: 16px;
    background: oklch(0.13 0.03 300 / 0.98); border: 1px solid var(--hairline-strong);
    box-shadow: 0 24px 50px oklch(0 0 0 / 0.55);
    max-height: calc(100vh - 100px); overflow-y: auto;
    white-space: normal;
    display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-item { width: 100%; }
  .nav-item > a, .nav-item > button.nav-toggle { width: 100%; justify-content: space-between; padding: 12px 8px; border-radius: 10px; }
  .nav-dropdown {
    position: static; width: auto; opacity: 1; visibility: visible; transform: none;
    background: none; border: none; box-shadow: none; padding: 0 0 6px; padding-inline-start: 12px;
    display: none;
  }
  .nav-dropdown::before { display: none; }
  .nav-dropdown__label { display: none; }
  .nav-item.is-open .nav-dropdown { display: block; }
  .lang-select { order: 2; }
  .nav-cta { order: 3; padding: 11px 18px; font-size: 14px; }
  .nav-burger {
    order: 4;
    display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
    border-radius: 12px; background: oklch(1 0 0 / 0.06); border: 1px solid var(--hairline-strong);
    color: var(--ink); flex-shrink: 0; cursor: pointer;
  }
}

/* Phones: drop the CTA from the bar (Contacts is in the menu), let the
   menu span the full width, and slim the logo so the bar always fits. */
@media (max-width: 640px) {
  .nav-cta { display: none; }
  .nav-menu { left: var(--gutter); right: var(--gutter); width: auto; top: 76px; }
  .lang-select__trigger { font-size: 12.5px; padding: 7px 10px; }
}
@media (max-width: 480px) {
  .nav-bar { padding: 8px; padding-inline-start: 10px; gap: 8px; }
  .nav-logo { gap: 8px; }
  .nav-logo svg { width: 36px; height: 36px; }
  .nav-wordmark { font-size: 18px; }
  .nav-tagline { display: none; }
  .lang-select__trigger { gap: 5px; padding: 7px 9px; }
  .lang-select__trigger .icon--globe { display: none; }
  .nav-burger { width: 38px; height: 38px; }
}

/* ---------- buttons & badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 700; padding: 14px 28px; border-radius: 26px;
  border: none; cursor: pointer; font-family: inherit;
}
.btn--primary {
  color: white;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-magenta) 60%, oklch(0.6 0.18 290));
  box-shadow: 0 14px 36px oklch(0.6 0.22 350 / 0.5), inset 0 1px 0 oklch(1 0 0 / 0.25);
}
.btn--ghost {
  color: var(--ink); font-weight: 600; background: oklch(1 0 0 / 0.05);
  border: 1px solid var(--hairline-strong); box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.1);
}
.btn--outline { color: var(--ink); font-weight: 600; border: 1px solid oklch(1 0 0 / 0.22); background: none; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hover states. Every button keeps its own text colour on hover (the
   generic pink link hover must never reach a pink button) and signals
   hover with glow / surface change instead. */
.btn, .nav-cta { transition: box-shadow .15s ease, background-color .15s ease, border-color .15s ease, transform .15s ease; }
.btn--primary:hover, .nav-cta:hover {
  color: white; transform: translateY(-1px);
  box-shadow: 0 16px 40px oklch(0.6 0.22 350 / 0.7), inset 0 1px 0 oklch(1 0 0 / 0.35);
}
.btn--primary:active, .nav-cta:active { transform: translateY(0); }
.btn--ghost:hover { color: var(--ink); background: oklch(1 0 0 / 0.1); border-color: oklch(1 0 0 / 0.26); }
.btn--outline:hover { color: var(--ink); background: oklch(1 0 0 / 0.06); border-color: oklch(1 0 0 / 0.4); }
.btn:focus-visible, .nav-cta:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 18px; border-radius: 20px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; color: oklch(0.94 0.02 330);
  background: linear-gradient(oklch(0.17 0.04 305), oklch(0.17 0.04 305)) padding-box,
    linear-gradient(90deg, var(--accent-pink), var(--accent-cyan)) border-box;
  border: 1px solid transparent; box-shadow: 0 0 30px oklch(0.7 0.2 345 / 0.2);
  text-transform: uppercase;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-pink); box-shadow: 0 0 10px var(--accent-pink); }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-red); margin-bottom: 14px; }

.chip {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--ink);
  background: oklch(1 0 0 / 0.05); border: 1px solid var(--hairline-strong); border-radius: 20px;
  padding: 9px 18px; box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.1);
}
.chip-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- hero ---------- */
.hero { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; max-width: var(--container); margin: 0 auto; padding: 48px var(--gutter) 0 var(--gutter); }
.hero h1 {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4.6vw, 42px);
  line-height: 1.18; letter-spacing: -.005em; margin: 22px 0 20px 0; max-width: 1040px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--accent-pink), oklch(0.8 0.15 300) 55%, var(--accent-cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede { font-size: 18px; line-height: 1.6; color: var(--ink-dim); margin: 0 0 30px 0; max-width: 660px; font-weight: 500; }
.hero .chip-row { margin-bottom: 36px; }

/* ---------- intro video ---------- */
.intro-video {
  position: relative; z-index: 2; width: min(960px, calc(100% - 2 * var(--gutter))); margin: 0 auto 20px auto;
  aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; isolation: isolate;
  background: linear-gradient(#0b0610, #0b0610) padding-box,
    linear-gradient(135deg, var(--accent-pink), oklch(1 0 0 / 0.12) 35%, oklch(1 0 0 / 0.12) 65%, var(--accent-cyan)) border-box;
  border: 1px solid transparent; box-shadow: 0 30px 70px oklch(0 0 0 / 0.55);
}
.intro-video__media { display: block; width: 100%; height: 100%; object-fit: cover; background: #0b0610; cursor: pointer; }

/* big play/pause button, offset to the lower left so it doesn't cover the
   logo in the poster frame */
.intro-video__play {
  position: absolute; left: 28px; bottom: 30px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  padding: 0; border: 0; background: none; color: white; font: inherit; cursor: pointer; text-align: start;
  transition: opacity .25s ease;
}
.intro-video__play-circle {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 76px; height: 76px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-magenta) 60%, oklch(0.6 0.18 290));
  box-shadow: 0 14px 34px oklch(0.6 0.22 350 / 0.55), inset 0 1px 0 oklch(1 0 0 / 0.3), 0 0 0 6px oklch(1 0 0 / 0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.intro-video__play:hover .intro-video__play-circle,
.intro-video__play:focus-visible .intro-video__play-circle {
  transform: scale(1.06);
  box-shadow: 0 18px 40px oklch(0.6 0.22 350 / 0.7), inset 0 1px 0 oklch(1 0 0 / 0.35), 0 0 0 8px oklch(1 0 0 / 0.12);
}
.intro-video__play:focus-visible { outline: none; }
.intro-video__play:focus-visible .intro-video__play-circle { outline: 2px solid var(--accent-cyan); outline-offset: 4px; }
.intro-video__icon-play { margin-left: 4px; }
.intro-video__icon-pause { display: none; }
.intro-video.is-playing .intro-video__icon-play { display: none; }
.intro-video.is-playing .intro-video__icon-pause { display: block; }
/* buffering: a ring spins around the button (only while actually waiting) */
.intro-video__play-circle::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 2px solid transparent; border-top-color: white; opacity: 0;
}
.intro-video.is-buffering .intro-video__play-circle::after { opacity: 1; animation: spin .9s linear infinite; }
/* attention pulse until the video is started: two staggered rings ripple out
   from the button and its glow breathes; stops on hover, after the first
   play and for visitors who prefer reduced motion */
.intro-video__pulse {
  position: absolute; inset: 0; z-index: -1; border-radius: 50%; pointer-events: none;
  border: 2px solid var(--accent-pink); background: oklch(0.68 0.22 355 / 0.28);
  opacity: 0; animation: intro-pulse-ring 2.6s cubic-bezier(.2, .6, .35, 1) infinite;
}
.intro-video__pulse + .intro-video__pulse { animation-delay: 1.3s; }
.intro-video:not(.is-started) .intro-video__play-circle { animation: intro-pulse-glow 2.6s ease-in-out infinite; }
.intro-video__play:hover .intro-video__play-circle,
.intro-video__play:focus-visible .intro-video__play-circle { animation: none; }
.intro-video.is-started .intro-video__pulse { display: none; }
@keyframes intro-pulse-ring {
  0%   { transform: scale(1);   opacity: .75; }
  100% { transform: scale(1.8); opacity: 0; }
}
@keyframes intro-pulse-glow {
  0%, 100% { box-shadow: 0 14px 34px oklch(0.6 0.22 350 / 0.5), inset 0 1px 0 oklch(1 0 0 / 0.3), 0 0 0 6px oklch(1 0 0 / 0.08); }
  50%      { box-shadow: 0 14px 44px oklch(0.66 0.24 350 / 0.85), inset 0 1px 0 oklch(1 0 0 / 0.3), 0 0 0 9px oklch(1 0 0 / 0.14); }
}
@media (prefers-reduced-motion: reduce) {
  .intro-video__pulse { display: none; }
  .intro-video:not(.is-started) .intro-video__play-circle { animation: none; }
}

.intro-video__play-text {
  display: flex; flex-direction: column; gap: 3px; padding: 8px 14px; border-radius: 12px;
  background: oklch(0.1 0.02 300 / 0.72); text-shadow: 0 1px 2px oklch(0 0 0 / 0.5);
}
.intro-video__play-text b { font-size: 15px; font-weight: 700; }
.intro-video__play-text small { font-size: 12px; color: oklch(0.88 0.02 320); }
/* once started, the label goes; while playing the button steps back until hovered */
.intro-video.is-started .intro-video__play-text { display: none; }
.intro-video.is-playing .intro-video__play { opacity: .35; }
.intro-video.is-playing:hover .intro-video__play,
.intro-video.is-playing .intro-video__play:focus-visible { opacity: 1; }
@media (hover: none) { .intro-video.is-playing .intro-video__play { opacity: .75; } }

.intro-video__fullscreen {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 10px; border: 1px solid oklch(1 0 0 / 0.18); background: oklch(0.1 0.02 300 / 0.6);
  color: white; cursor: pointer; opacity: .8; transition: opacity .2s ease, background-color .2s ease;
}
.intro-video__fullscreen:hover, .intro-video__fullscreen:focus-visible { opacity: 1; background: oklch(0.1 0.02 300 / 0.85); }
.intro-video__fullscreen:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 2px; }

.intro-video__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 2; background: oklch(1 0 0 / 0.12); opacity: 0; transition: opacity .2s ease; }
.intro-video__progress i { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan)); }
.intro-video.is-started .intro-video__progress { opacity: 1; }

.intro-video.is-fullscreen { width: 100%; height: 100%; max-width: none; aspect-ratio: auto; border-radius: 0; border: 0; background: #000; }
.intro-video.is-fullscreen .intro-video__media { object-fit: contain; background: #000; }

.intro-video-caption { position: relative; z-index: 2; text-align: center; font-size: 12.5px; color: var(--ink-faint); margin: 0 auto 44px auto; max-width: 560px; padding: 0 var(--gutter); }

/* ---------- cases: products running on the platform ---------- */
.cases { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; padding: 8px var(--gutter) 64px var(--gutter); }
.cases-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.case-card { display: flex; flex-direction: column; color: var(--ink); }
.case-card:hover { color: var(--ink); }
.case-window {
  border-radius: 14px; overflow: hidden;
  background: var(--panel-solid);
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 24px 50px oklch(0 0 0 / 0.45);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.case-card:hover .case-window {
  transform: translateY(-4px);
  border-color: oklch(0.8 0.18 350 / 0.5);
  box-shadow: 0 30px 60px oklch(0 0 0 / 0.55), 0 0 0 1px oklch(0.8 0.18 350 / 0.2);
}
.case-window__bar {
  display: flex; align-items: center; gap: 12px; padding: 9px 12px;
  background: oklch(0.19 0.03 300); border-bottom: 1px solid var(--hairline);
}
.case-window__dots { display: flex; gap: 6px; flex-shrink: 0; }
.case-window__dots i { width: 9px; height: 9px; border-radius: 50%; display: block; background: oklch(0.65 0.18 25); }
.case-window__dots i:nth-child(2) { background: oklch(0.78 0.15 85); }
.case-window__dots i:nth-child(3) { background: oklch(0.7 0.15 150); }
.case-window__url {
  flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 5px 10px; border-radius: 8px; background: oklch(0 0 0 / 0.3);
  font-size: 11.5px; color: var(--ink-mute); letter-spacing: .01em;
}
.case-window__url span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case-window__url .icon--lock { flex-shrink: 0; color: oklch(0.75 0.14 150); }
.case-window img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top center; background: var(--panel-solid); }
.case-caption { text-align: center; margin-top: 18px; padding: 0 8px; }
.case-caption strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.case-caption span { font-size: 13px; line-height: 1.5; color: var(--ink-mute); }
.case-card:hover .case-caption strong { color: var(--accent-pink); }
.case-preview { margin: 0 0 36px; }
.case-preview__caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 16px; }
.case-preview__caption > span { flex: 1 1 280px; font-size: 14px; line-height: 1.6; color: var(--ink-mute); }
.case-preview__caption .btn { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 999px) {
  .cases-grid { grid-template-columns: minmax(0, 1fr); max-width: 600px; margin: 0 auto; gap: 36px; }
}

/* ---------- description / cta section ---------- */
.section { position: relative; z-index: 2; max-width: var(--container); margin-left: auto; margin-right: auto; padding: 0 var(--gutter); }
.section--center { text-align: center; }
.section--top-gap { margin-top: 90px; }
.section-lede { font-size: 15px; line-height: 1.75; color: var(--ink-dim); max-width: 680px; margin: 0 auto 28px auto; }
.trust-line { font-size: 12px; color: var(--ink-faint); }

h2.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 18px 0; }

/* ---------- steps ---------- */
.steps-head { text-align: center; margin-bottom: 44px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps-line { position: absolute; top: 23px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--hairline-strong) 15%, var(--hairline-strong) 85%, transparent); z-index: 0; }
.step { position: relative; z-index: 1; }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--panel);
  border: 1px solid oklch(0.75 0.18 15 / 0.6); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; color: oklch(0.85 0.19 20); margin-bottom: 16px;
}
.step-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 13px; line-height: 1.6; color: var(--ink-mute); }
@media (max-width: 820px) { .steps-grid { grid-template-columns: 1fr 1fr; } .steps-line { display: none; } }
@media (max-width: 520px) { .steps-grid { grid-template-columns: 1fr; } }

/* ---------- compliance band ---------- */
.band { position: relative; z-index: 2; max-width: var(--container); margin-left: auto; margin-right: auto; padding: 0 var(--gutter); }
.band-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  padding: 32px; border-radius: 20px;
  background: oklch(1 0 0 / 0.03); border: 1px solid var(--hairline);
}
.band-item { display: flex; align-items: flex-start; gap: 14px; }
.band-item svg { flex-shrink: 0; margin-top: 2px; }
.band-item strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.band-item span { font-size: 12.5px; line-height: 1.55; color: var(--ink-mute); }
@media (max-width: 820px) { .band-grid { grid-template-columns: 1fr; padding: 24px; gap: 22px; } }

/* ---------- cta band ---------- */
.cta-band { position: relative; z-index: 2; max-width: var(--container); margin-left: auto; margin-right: auto; padding: 60px var(--gutter); text-align: center; background: radial-gradient(ellipse 700px 300px at 50% 0%, oklch(0.4 0.16 335 / 0.3), transparent 70%); }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { font-size: 15px; color: var(--ink-mute); margin: 0 0 26px 0; }

/* ---------- hub / detail pages ---------- */
.page-head { position: relative; z-index: 2; padding: 40px var(--gutter) 0 var(--gutter); max-width: calc(900px + 2 * var(--gutter)); margin: 0 auto; text-align: center; }
.page-head h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 4vw, 38px); line-height: 1.2; margin: 14px 0 16px 0; }
.page-head .lede { font-size: 16px; line-height: 1.7; color: var(--ink-dim); }

.breadcrumbs { position: relative; z-index: 2; max-width: var(--container); margin: 20px auto 0 auto; padding: 0 var(--gutter); font-size: 13px; color: var(--ink-faintest); display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs a { color: var(--ink-faintest); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span[aria-hidden] { color: var(--ink-faintest); }
.breadcrumbs .current { color: var(--ink-mute); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; max-width: var(--container); margin: 48px auto 0 auto; padding: 0 var(--gutter); }
.card {
  display: flex; flex-direction: column; padding: 26px; border-radius: 18px;
  background: linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(135deg, oklch(1 0 0 / 0.18), oklch(1 0 0 / 0.04) 60%) border-box;
  border: 1px solid transparent;
}
.card-icon {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px;
  background: oklch(1 0 0 / 0.06); border: 1px solid var(--hairline); color: var(--accent-pink);
}
.card { transition: transform .15s ease, box-shadow .15s ease; }
a.card:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 18px 40px oklch(0 0 0 / 0.35); }
a.card:hover .card-arrow { color: var(--accent-pink); }
.card h3 { font-size: 17px; margin: 0 0 8px 0; }
.card p { font-size: 13.5px; line-height: 1.6; color: var(--ink-mute); margin: 0; }
.card .card-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 600; color: var(--accent-pink); }
@media (min-width: 600px) and (max-width: 1100px) { .card-grid { grid-template-columns: 1fr 1fr; } }

.detail-body { max-width: calc(var(--measure) + 2 * var(--gutter)); margin: 48px auto 0 auto; padding: 0 var(--gutter) 80px var(--gutter); position: relative; z-index: 2; }
.detail-body .lede { font-size: 17px; line-height: 1.7; color: var(--ink-dim); margin-bottom: 36px; }
.detail-section { margin-bottom: 32px; }
/* wide case page: one content width for everything; feature rows = text left,
   screenshot right in a fixed-width frame (same widths in every row) */
.detail-body--wide { max-width: calc(960px + 2 * var(--gutter)); }
.detail-section .detail-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0 0 0; }
.detail-section .detail-chips li {
  margin: 0; padding: 6px 12px; border-radius: 20px; font-size: 13.5px; line-height: 1.3; color: var(--ink-dim);
  background: oklch(1 0 0 / 0.05); border: 1px solid var(--hairline-strong);
}
.detail-section .detail-chips li::before { display: none; }
.detail-feature { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: center; margin: 56px 0; }
.detail-feature__text > :last-child { margin-bottom: 0; }
.detail-feature__media { margin: 0; min-width: 0; }
.detail-feature__shot {
  display: grid; place-items: center; min-height: 300px; padding: 20px; border-radius: 18px; border: 1px solid var(--hairline);
  background: radial-gradient(120% 90% at 85% 0%, oklch(0.42 0.16 10 / 0.22), transparent 60%), oklch(1 0 0 / 0.03);
}
.detail-feature__shot img { display: block; width: auto; height: auto; max-width: 100%; max-height: 360px; border-radius: 10px; box-shadow: 0 16px 40px oklch(0 0 0 / 0.5); }
.detail-feature__media figcaption { margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--ink-faint); text-align: center; }
/* a text-only section on a wide page: its list becomes a grid of small cards */
.detail-body--wide .detail-section:not(.detail-feature) ul:not(.detail-chips) { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.detail-body--wide .detail-section:not(.detail-feature) ul:not(.detail-chips) > li { margin: 0; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--hairline); background: oklch(1 0 0 / 0.03); line-height: 1.55; }
.detail-feature--stack { display: block; margin: 44px 0; }
.detail-feature--stack .detail-feature__media { margin-top: 18px; }
.detail-feature--stack .detail-feature__shot { min-height: 0; padding: 14px; }
.detail-feature--stack .detail-feature__shot img { width: 100%; max-height: none; }
/* small cards inside a text section (e.g. reward models) */
.detail-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 6px 0 14px; }
.detail-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .detail-cards--2 { grid-template-columns: 1fr; } }
.detail-card { min-width: 0; padding: 16px 16px 14px; border-radius: 14px; border: 1px solid var(--hairline); background: oklch(1 0 0 / 0.03); }
.detail-card__badge { display: inline-block; margin-bottom: 8px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: var(--ink); background: oklch(0.72 0.2 350 / 0.18); border: 1px solid oklch(0.72 0.2 350 / 0.45); }
.detail-card h3 { margin: 0 0 6px; font-size: 16px; }
.detail-section .detail-card p { margin: 0; font-size: 14px; line-height: 1.6; }
.detail-faq { margin-top: 56px; }
.detail-faq > h2 { font-family: var(--font-display); font-size: 20px; margin: 0 0 14px; }
@media (max-width: 860px) {
  .detail-feature { grid-template-columns: 1fr; gap: 18px; margin: 40px 0; }
  .detail-feature__shot { min-height: 0; padding: 14px; }
  .detail-feature__shot img { max-height: 340px; }
  .detail-body--wide .detail-section:not(.detail-feature) ul { grid-template-columns: 1fr; }
}
.detail-section h2 { font-family: var(--font-display); font-size: 20px; margin: 0 0 10px 0; }
.detail-section p { font-size: 15px; line-height: 1.75; color: var(--ink-dim); margin: 0 0 12px 0; }
.detail-section ul { margin: 0; padding-inline-start: 20px; color: var(--ink-dim); font-size: 15px; line-height: 1.8; }
/* links inside running text (e.g. the Lovense referral link) */
.detail-section a, .faq-item__a a, .calc-text a {
  color: var(--accent-pink); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: oklch(0.85 0.19 350 / 0.35);
}
.detail-section a:hover, .faq-item__a a:hover, .calc-text a:hover { text-decoration-color: currentColor; }

/* legal pages (privacy policy) */
.legal-updated { margin: 0; font-size: 13.5px; color: var(--ink-faint); }
.legal-body .detail-section { scroll-margin-top: 110px; }
.legal-body .detail-section h2 { font-size: 19px; }
.legal-body .detail-section ul { margin: 0 0 12px 0; }
.legal-body .detail-section li { margin-bottom: 4px; }
.legal-body a { color: var(--accent-pink); text-decoration: underline; text-decoration-color: oklch(0.85 0.19 350 / 0.35); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-body a:hover { text-decoration-color: currentColor; }
.legal-body code { font-size: 0.9em; padding: 1px 6px; border-radius: 6px; background: oklch(1 0 0 / 0.06); border: 1px solid var(--hairline); }
.legal-controller {
  display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px;
  margin: 0 0 16px; padding: 16px 18px; border-radius: 14px;
  background: oklch(1 0 0 / 0.03); border: 1px solid var(--hairline);
  font-size: 14.5px; line-height: 1.5;
}
.legal-controller dt { color: var(--ink-faint); }
.legal-controller dd { margin: 0; color: var(--ink); min-width: 0; }
@media (max-width: 420px) { .legal-controller { grid-template-columns: 1fr; gap: 0; } .legal-controller dd { margin-bottom: 8px; } }
.stat-row { display: flex; gap: 24px; flex-wrap: wrap; margin: 20px 0 32px 0; }
.stat { flex: 1; min-width: 140px; padding: 18px; border-radius: 14px; background: oklch(1 0 0 / 0.04); border: 1px solid var(--hairline); }
.stat b { display: block; font-family: var(--font-display); font-size: 22px; margin-bottom: 4px; }
.stat span { font-size: 12px; color: var(--ink-mute); }

/* ---------- calculators ---------- */
.calc { max-width: calc(var(--measure) + 2 * var(--gutter)); margin: 48px auto 0 auto; padding: 0 var(--gutter) 80px var(--gutter); position: relative; z-index: 2; }
.calc-card { padding: 28px; border-radius: 18px; background: oklch(1 0 0 / 0.04); border: 1px solid var(--hairline); }
/* Dragging a slider past its end selects page text; the next drag on a thumb
   then drags that selection instead of the slider. No text selection inside
   the calculator (the number boxes stay editable). */
.calc-card { -webkit-user-select: none; user-select: none; }
.calc-card input[type="number"] { -webkit-user-select: text; user-select: text; }
.calc-card input[type="range"] { touch-action: pan-y; }
.calc-field { margin-bottom: 22px; }
.calc-field label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.calc-field output { color: var(--accent-pink); font-weight: 700; }
.calc-field input[type="range"] { width: 100%; accent-color: var(--accent-pink); }
.calc-row { display: flex; align-items: center; gap: 14px; }
.calc-row input[type="range"] { flex: 1 1 auto; min-width: 0; }
.calc-num {
  flex: 0 0 104px; width: 104px; padding: 8px 10px; border-radius: 10px; text-align: end;
  font: inherit; font-weight: 700; color: var(--accent-pink); background: var(--panel-solid);
  border: 1px solid var(--hairline-strong); font-variant-numeric: tabular-nums;
}
.calc-num:focus { outline: 2px solid var(--accent-pink); outline-offset: 1px; }
.calc-text { margin-top: 36px; }
.calc-text h2 { font-family: var(--font-display); font-size: 20px; margin: 0 0 12px; }
.calc-text p { font-size: 15px; line-height: 1.75; color: var(--ink-dim); margin: 0 0 12px; }
.calc-text ul { margin: 0 0 12px; padding-inline-start: 20px; font-size: 15px; line-height: 1.8; color: var(--ink-dim); }
.calc-text b { color: var(--ink); }
.calc-faq .faq-list { margin-top: 4px; }

/* income calculator: operator / webmaster / model split */
.calc--income { --c-operator: oklch(0.72 0.21 10); --c-webmaster: oklch(0.78 0.13 215); --c-model: oklch(0.68 0.17 300); }
.calc-shares { margin-top: 6px; padding: 18px 18px 6px; border-radius: 14px; background: oklch(1 0 0 / 0.03); border: 1px solid var(--hairline); }
.calc-shares .calc-field { margin-bottom: 16px; }
.share-out { font-variant-numeric: tabular-nums; }
.share-out--operator { color: var(--c-operator) !important; }
.share-out--webmaster { color: var(--c-webmaster) !important; }
.calc--income .calc-field input.range--operator { accent-color: var(--c-operator); }
.calc--income .calc-field input.range--webmaster { accent-color: var(--c-webmaster); }
.calc-model-share { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--ink-dim); }
.calc-model-share b { color: var(--c-model); font-size: 16px; }
.calc-hint { margin: 0 0 12px; font-size: 12.5px; color: var(--ink-faint); }
.split { margin-top: 20px; }
.split__title { font-size: 13px; font-weight: 600; color: var(--ink-mute); margin-bottom: 8px; }
.split__bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: oklch(1 0 0 / 0.06); }
.split__seg { display: block; height: 100%; transition: width .2s ease; }
.split__seg--operator { background: var(--c-operator); }
.split__seg--webmaster { background: var(--c-webmaster); }
.split__seg--model { background: var(--c-model); }
.split__legend { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-dim); }
.split__legend li { display: inline-flex; align-items: center; gap: 7px; }
.split__legend b { color: var(--ink); font-variant-numeric: tabular-nums; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--operator { background: var(--c-operator); } .dot--webmaster { background: var(--c-webmaster); } .dot--model { background: var(--c-model); }
@media (prefers-reduced-motion: reduce) { .split__seg { transition: none; } }

.income-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px;
}
.income-hero__item {
  padding: 22px 22px 20px; border-radius: 18px; min-width: 0;
  background: linear-gradient(135deg, oklch(0.32 0.12 10 / 0.55), oklch(0.26 0.1 330 / 0.45));
  border: 1px solid oklch(0.72 0.2 350 / 0.45);
  box-shadow: 0 18px 40px oklch(0.2 0.1 340 / 0.35);
}
.income-hero__item span { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-dim); margin-bottom: 8px; }
.income-hero__item b {
  display: block; font-family: var(--font-display); font-weight: 700; line-height: 1.05;
  font-size: clamp(26px, 5vw, 40px); font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
  background: linear-gradient(90deg, oklch(0.88 0.12 20), oklch(0.85 0.13 330)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.calc-results--three { grid-template-columns: repeat(3, 1fr); }
.calc-results--three .stat b { font-size: 19px; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .income-hero, .calc-results--three { grid-template-columns: 1fr; }
}
.calc-field select {
  width: 100%; padding: 10px 12px; border-radius: 10px; background: var(--panel-solid);
  color: var(--ink); border: 1px solid var(--hairline-strong); font: inherit;
}
.calc-results { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--hairline); display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.calc-results .stat b { font-size: 24px; }
/* server calculator: media server licence comparison */
.lic-compare { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--hairline); }
.lic-compare__title { margin: 0 0 12px; font-size: 16px; }
.lic-compare__rows { display: grid; gap: 8px; }
.lic-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--hairline); background: oklch(1 0 0 / 0.03); }
.lic-row span { font-size: 14px; color: var(--ink-dim); min-width: 0; }
.lic-row b { font-family: var(--font-display); font-size: 20px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lic-row--ours { border-color: oklch(0.72 0.2 350 / 0.45); }
.lic-row--ours b { color: oklch(0.82 0.15 150); }
.lic-compare__save { margin-top: 14px; }
.lic-compare .calc-note a { color: var(--ink-dim); }
.calc-note { margin-top: 18px; font-size: 12.5px; color: var(--ink-faint); line-height: 1.6; }
@media (max-width: 560px) { .calc-results { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.pricing-principles { max-width: var(--container); margin: 48px auto 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .pricing-principles { grid-template-columns: 1fr; } }
.pricing-body { padding-bottom: 0; }
.pricing-body .pricing-intro { text-align: center; }
.detail-section ul li + li { margin-top: 4px; }
.detail-section b { color: var(--ink); }
.pricing-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 4px 0 16px; }
.pricing-col { min-width: 0; padding: 18px 18px 14px; border-radius: 14px; border: 1px solid var(--hairline); background: oklch(1 0 0 / 0.03); }
.pricing-col h3 { margin: 0 0 8px; font-size: 16px; }
.detail-section .pricing-col ul { font-size: 14px; line-height: 1.65; }
@media (max-width: 640px) { .pricing-cols { grid-template-columns: 1fr; } }
.pricing-cta { justify-content: center; margin-top: 8px; }
.pricing-faq { max-width: calc(var(--measure) + 2 * var(--gutter)); margin: 56px auto 0 auto; padding: 0 var(--gutter) 80px var(--gutter); position: relative; z-index: 2; }
.pricing-faq > h2 { font-family: var(--font-display); font-size: 20px; margin: 0 0 14px; }

/* ---------- contact ---------- */
.contact-grid { max-width: var(--container); margin: 48px auto 0 auto; padding: 0 var(--gutter) 80px var(--gutter); display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2 { font-family: var(--font-display); font-size: 20px; margin: 0 0 12px 0; }
.contact-info p { font-size: 14.5px; line-height: 1.7; color: var(--ink-mute); }
.contact-info .contact-detail { display: flex; align-items: center; gap: 10px; margin: 18px 0; font-size: 14.5px; }
.contact-form { padding: 28px; border-radius: 18px; background: oklch(1 0 0 / 0.04); border: 1px solid var(--hairline); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 14px; border-radius: 10px; background: var(--panel-solid);
  color: var(--ink); border: 1px solid var(--hairline-strong); font: inherit; resize: vertical;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: 2px solid var(--accent-pink); outline-offset: 1px; }
.contact-info .contact-detail a { color: var(--accent-pink); }
.contact-info .contact-detail a:hover { color: var(--ink); }
.contact-info .contact-detail svg { flex-shrink: 0; color: var(--ink-mute); }
.form-error {
  --err: oklch(0.74 0.19 25);
  display: flex; align-items: flex-start; gap: 7px;
  color: var(--err); font-size: 13.5px; font-weight: 600; line-height: 1.4; margin-top: 8px;
}
.form-error::before {
  content: "!"; flex: 0 0 auto; width: 17px; height: 17px; margin-top: 1px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11.5px; font-weight: 800; line-height: 1; color: oklch(0.16 0.03 300); background: var(--err);
}
.form-error[hidden] { display: none; }
/* invalid fields: red border + tint, so they stand out even without reading */
.form-row input[aria-invalid="true"], .form-row textarea[aria-invalid="true"], .form-row select[aria-invalid="true"] {
  border-color: oklch(0.7 0.19 25); background: oklch(0.22 0.06 20 / 0.55);
  box-shadow: 0 0 0 3px oklch(0.7 0.19 25 / 0.16);
}
.has-error > label, .form-row.has-error > label { color: oklch(0.82 0.12 25); }
.form-consent { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; border: 1px solid transparent; transition: border-color .2s ease, background-color .2s ease; }
.form-consent .form-row--check { margin: 0; }
.form-consent.has-error { border-color: oklch(0.7 0.19 25 / 0.75); background: oklch(0.3 0.1 20 / 0.18); }
.form-consent.has-error .form-row--check label { color: var(--ink-dim); }
.form-consent input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent-pink); flex-shrink: 0; }
.form-consent.has-error input[type="checkbox"] { outline: 2px solid oklch(0.7 0.19 25); outline-offset: 2px; }
#captcha-row { padding: 12px 14px; border-radius: 12px; border: 1px solid transparent; scroll-margin-top: 120px; transition: border-color .2s ease, background-color .2s ease; }
#captcha-row.has-error { border-color: oklch(0.7 0.19 25 / 0.75); background: oklch(0.3 0.1 20 / 0.18); }
#captcha-row:focus { outline-offset: 2px; }
/* summary above the form after a failed attempt */
.form-summary {
  margin: 0 0 22px; padding: 16px 18px; border-radius: 14px;
  background: oklch(0.28 0.1 20 / 0.35); border: 1px solid oklch(0.7 0.19 25 / 0.7);
  border-inline-start-width: 4px; scroll-margin-top: 120px;
}
.form-summary:focus { outline: none; }
.form-summary:focus-visible { outline: none; } /* programmatic focus; the red frame already marks it */
.form-summary__head { display: flex; align-items: center; gap: 10px; color: oklch(0.8 0.16 25); font-size: 16px; }
.form-summary__head strong { color: var(--ink); font-weight: 700; }
.form-summary__text { margin: 8px 0 0; font-size: 14px; color: var(--ink-dim); }
.form-summary__text[hidden] { display: none; }
.form-summary__list { margin: 8px 0 0; padding-inline-start: 20px; font-size: 14px; line-height: 1.6; }
.form-summary__list:empty { display: none; }
.form-summary__list a { color: oklch(0.84 0.13 25); text-decoration: underline; text-underline-offset: 3px; }
.form-summary__list a:hover { color: var(--ink); }
.form-summary.is-flash, .form-alert.is-flash { animation: form-flash 1.1s ease-out 1; }
@keyframes form-flash {
  0% { box-shadow: 0 0 0 0 oklch(0.7 0.19 25 / 0.55); }
  100% { box-shadow: 0 0 0 14px oklch(0.7 0.19 25 / 0); }
}
.form-alert--success.is-flash { animation-name: form-flash-ok; }
@keyframes form-flash-ok {
  0% { box-shadow: 0 0 0 0 oklch(0.7 0.15 150 / 0.55); }
  100% { box-shadow: 0 0 0 14px oklch(0.7 0.15 150 / 0); }
}
@media (prefers-reduced-motion: reduce) { .form-summary.is-flash, .form-alert.is-flash { animation: none; } }
.form-status { scroll-margin-top: 120px; }
.form-status .form-alert { scroll-margin-top: 120px; display: flex; align-items: flex-start; gap: 10px; }
.form-status .form-alert svg { flex-shrink: 0; margin-top: 2px; color: oklch(0.8 0.15 150); }
.form-status .form-alert:focus { outline: none; }
.form-error--tight { margin: -10px 0 14px 0; }
.form-hint { font-size: 12.5px; color: var(--ink-faint); margin: 0 0 14px 0; }
.form-group { border: 1px solid var(--hairline); border-radius: 14px; padding: 16px 16px 2px 16px; margin: 0 0 18px 0; }
.form-group legend { font-size: 13.5px; font-weight: 600; padding: 0 6px; margin-inline-start: -6px; }
.form-group.has-error { border-color: oklch(0.7 0.19 25 / 0.75); background: oklch(0.3 0.1 20 / 0.12); }
.form-group.has-error > legend { color: oklch(0.82 0.12 25); }
.form-group > .form-error { margin: -6px 0 14px 0; }
.form-group > .form-error[hidden] { display: none; }
.form-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row--split { grid-template-columns: 1fr; } }
.form-row--check { display: flex; align-items: flex-start; gap: 10px; }
.form-row--check input { width: auto; margin-top: 3px; }
.form-row--check label { margin: 0; font-weight: 400; font-size: 13px; color: var(--ink-mute); }
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--ink-faintest); }
.recaptcha { min-height: 78px; }
.contact-submit { width: 100%; }
.contact-submit[disabled] { opacity: .7; cursor: progress; transform: none; }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-alert { padding: 14px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 20px; }
.form-alert--success { background: oklch(0.3 0.1 150 / 0.25); border: 1px solid oklch(0.6 0.12 150 / 0.4); }
.form-alert--error { background: oklch(0.3 0.12 20 / 0.25); border: 1px solid oklch(0.6 0.15 20 / 0.4); }

/* ---------- contact page: confidentiality, hours, next steps ---------- */
.contact-form { scroll-margin-top: 110px; }
/* studio form (Cam business → For webcam studios), inside .detail-body */
.studio-form-section { margin-top: 40px; scroll-margin-top: 100px; }
.studio-form-section > h2 { margin-bottom: 8px; }
.studio-form-section__intro { margin: 0 0 18px 0; }
.studio-form-section .form-status .form-alert { margin-bottom: 16px; }
.form-hint--below { margin: 8px 0 0 0; }
.form-choices { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-choices legend { font-size: 13.5px; font-weight: 600; padding: 0; margin-bottom: 10px; }
.form-choice { display: flex; align-items: center; gap: 10px; margin: 0 0 8px 0; font-size: 14px; font-weight: 400; color: var(--ink-dim); cursor: pointer; }
.form-row .form-choice input { width: auto; margin: 0; accent-color: var(--accent-pink); }
.form-choices.has-error > legend { color: oklch(0.82 0.12 25); }
.form-choices > .form-error { margin-top: 4px; }
.form-row--split > div, .form-row--split > fieldset { min-width: 0; }
.contact-hours, .next-steps { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--hairline); }
.contact-hours h3, .next-steps h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 15px; font-weight: 700; color: var(--ink); }
.contact-hours h3 svg { color: var(--ink-mute); }
.contact-info .contact-hours p { margin: 0 0 6px; font-size: 14.5px; color: var(--ink-dim); }
.contact-hours__tz { color: var(--ink-faint); }
.contact-info .contact-hours__now { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.contact-hours__now time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); }
.contact-hours__status {
  display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 999px;
  font-size: 12.5px; line-height: 1.4; color: var(--ink-mute); background: oklch(1 0 0 / 0.05); border: 1px solid var(--hairline);
}
.contact-hours__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-faint); flex-shrink: 0; }
.contact-hours__status.is-open { color: oklch(0.85 0.12 150); border-color: oklch(0.7 0.14 150 / 0.4); background: oklch(0.35 0.1 150 / 0.18); }
.contact-hours__status.is-open::before { background: oklch(0.78 0.17 150); box-shadow: 0 0 0 3px oklch(0.78 0.17 150 / 0.2); }
.next-steps ol { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.next-steps li { position: relative; counter-increment: step; padding: 0 0 14px; padding-inline-start: 42px; }
.next-steps li:last-child { padding-bottom: 0; }
.next-steps li::before {
  content: counter(step); position: absolute; inset-inline-start: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: white; background: linear-gradient(135deg, var(--accent-red), var(--accent-magenta));
}
.next-steps li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 13.5px; top: 32px; bottom: 4px; width: 1px; background: var(--hairline-strong); }
.next-steps li strong { display: block; font-size: 14.5px; color: var(--ink); }
.next-steps li span { display: block; font-size: 14px; line-height: 1.6; color: var(--ink-mute); }

/* ---------- FAQ (shared partial: FAQ page + contact page) ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--hairline); border-radius: 14px; background: oklch(1 0 0 / 0.03); transition: border-color .15s ease, background-color .15s ease; scroll-margin-top: 110px; }
.faq-item[open] { border-color: var(--hairline-strong); background: oklch(1 0 0 / 0.05); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px; cursor: pointer; list-style: none; font-weight: 600; font-size: 15.5px; line-height: 1.45; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover .faq-item__q { color: white; }
.faq-item summary:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 2px; border-radius: 14px; }
.faq-item__toggle { position: relative; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--hairline-strong); }
.faq-item__toggle::before, .faq-item__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; background: var(--ink-dim); transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq-item__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__toggle { border-color: var(--accent-pink); }
.faq-item[open] .faq-item__toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item__a { padding: 0 18px 16px; }
.faq-item__a p { margin: 0; font-size: 15px; line-height: 1.75; color: var(--ink-dim); max-width: 72ch; }
@media (prefers-reduced-motion: reduce) { .faq-item__toggle::before, .faq-item__toggle::after { transition: none; } }

.faq-page { max-width: calc(860px + 2 * var(--gutter)); margin: 44px auto 0; padding: 0 var(--gutter) 40px; position: relative; z-index: 2; }
.faq-page__cta { justify-content: center; margin: 28px 0 0; }
.contact-faq { max-width: calc(860px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 40px; position: relative; z-index: 2; }
.contact-faq > h2 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 28px); margin: 0 0 20px; text-align: center; }
.contact-faq__all { margin: 16px 0 0; text-align: center; font-size: 14.5px; }
.contact-faq__all a { color: var(--accent-pink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: oklch(0.85 0.19 350 / 0.35); }
.contact-faq__all a:hover { color: var(--ink); }

/* ---------- launch checklist offer (lead magnet) ---------- */
.checklist-offer {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; margin-top: 40px; padding: 26px;
  border-radius: 18px; border: 1px solid oklch(0.72 0.2 350 / 0.35);
  background: linear-gradient(135deg, oklch(0.25 0.08 350 / 0.35), oklch(0.2 0.06 290 / 0.3));
  scroll-margin-top: 110px;
}
.checklist-offer__icon {
  width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  color: white; background: linear-gradient(135deg, var(--accent-red), var(--accent-magenta));
}
.checklist-offer__eyebrow { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-pink); }
.checklist-offer h2 { font-family: var(--font-display); font-size: clamp(19px, 2.6vw, 23px); margin: 6px 0 8px; }
.checklist-offer__text, .checklist-offer__done p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.65; color: var(--ink-dim); }
.checklist-offer__done:focus { outline: none; }
.checklist-offer__download { display: inline-flex; align-items: center; gap: 8px; }
.checklist-form__label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.checklist-form__row { display: flex; gap: 10px; }
.checklist-form__row input {
  flex: 1 1 auto; min-width: 0; padding: 12px 14px; border-radius: 10px; background: var(--panel-solid);
  color: var(--ink); border: 1px solid var(--hairline-strong); font: inherit;
}
.checklist-form__row input:focus { outline: 2px solid var(--accent-pink); outline-offset: 1px; }
.checklist-form__row input::placeholder { color: var(--ink-faintest); }
.checklist-form__row input[aria-invalid="true"] { border-color: oklch(0.7 0.19 25); background: oklch(0.22 0.06 20 / 0.55); box-shadow: 0 0 0 3px oklch(0.7 0.19 25 / 0.16); }
.checklist-form__row .btn { flex: 0 0 auto; white-space: nowrap; }
.checklist-form .form-consent { margin: 12px 0 0; padding: 10px 12px; }
.checklist-form .form-row--check label { font-size: 12.5px; }
@media (max-width: 560px) {
  .checklist-offer { grid-template-columns: 1fr; padding: 20px; }
  .checklist-form__row { flex-direction: column; }
  .checklist-form__row .btn { width: 100%; }
}

/* ---------- market analytics ---------- */
.market-updated { margin: 6px 0 0; font-size: 13px; color: var(--ink-faint); }
.market-actions { justify-content: center; margin-top: 18px; }
.market-actions .btn { display: inline-flex; align-items: center; gap: 8px; }
.market { max-width: calc(1060px + 2 * var(--gutter)); margin: 40px auto 0; padding: 0 var(--gutter) 40px; position: relative; z-index: 2; }
.market-block { margin: 0 0 48px; }
.market-block > h2 { font-family: var(--font-display); font-size: clamp(21px, 3vw, 27px); margin: 0 0 16px; }
.market-intro { margin: -6px 0 18px; font-size: 15px; line-height: 1.7; color: var(--ink-dim); max-width: 760px; }
.market-note { margin: 14px 0 0; font-size: 13px; line-height: 1.6; color: var(--ink-faint); }
.market-note--platform { font-size: 14px; color: var(--ink-dim); padding: 14px 16px; border-radius: 12px; border: 1px solid var(--hairline); background: oklch(1 0 0 / 0.03); }
.market a[href^="#src-"], .src-refs a { color: var(--ink-faint); font-size: 11px; text-decoration: none; margin-inline-start: 2px; }
.market a[href^="#src-"]:hover { color: var(--accent-pink); }
.mtiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mtile {
  display: flex; flex-direction: column; gap: 6px; min-width: 0;
  padding: 20px 20px 16px; border-radius: 16px; background: oklch(1 0 0 / 0.04); border: 1px solid var(--hairline);
}
.mtile__value {
  font-family: var(--font-display); font-weight: 700; line-height: 1.05; font-size: clamp(28px, 3.6vw, 40px);
  font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
  background: linear-gradient(90deg, oklch(0.86 0.13 15), oklch(0.82 0.14 320)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mtile__label { font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.mtile__note { font-size: 12.5px; color: var(--ink-faint); }
.mtile .src-refs { margin-top: auto; }
.mtiles--compact .mtile__value { font-size: clamp(24px, 3vw, 32px); }
.tbars { display: flex; flex-direction: column; gap: 10px; }
.tbar { display: grid; grid-template-columns: 120px 1fr 64px; align-items: center; gap: 12px; }
.tbar__name { font-weight: 600; font-size: 14.5px; }
.tbar__track { height: 14px; border-radius: 999px; background: oklch(1 0 0 / 0.06); overflow: hidden; }
.tbar__track i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, oklch(0.7 0.21 10), oklch(0.66 0.18 320)); }
.tbar__value { text-align: end; font-family: var(--font-display); font-size: 16px; font-variant-numeric: tabular-nums; }
/* Stripchat estimate: numbered chain of assumptions → result */
.est-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.est-step {
  display: grid; grid-template-columns: 30px minmax(120px, 170px) 1fr; align-items: center; gap: 14px; min-width: 0;
  padding: 12px 16px; border-radius: 14px; border: 1px solid var(--hairline); background: oklch(1 0 0 / 0.03);
}
.est-step__n {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: var(--ink); border: 1px solid oklch(0.72 0.2 350 / 0.5); background: oklch(0.72 0.2 350 / 0.12);
}
.est-step__value {
  font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
  background: linear-gradient(90deg, oklch(0.86 0.13 15), oklch(0.82 0.14 320)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.est-step__label { font-size: 14.5px; line-height: 1.5; color: var(--ink-dim); min-width: 0; }
.est-result {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 12px; padding: 20px 22px; border-radius: 18px;
  border: 1px solid oklch(0.72 0.2 350 / 0.5); background: linear-gradient(135deg, oklch(0.32 0.12 10 / 0.5), oklch(0.26 0.1 330 / 0.4));
}
.est-result__value {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4.6vw, 48px); line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(90deg, oklch(0.88 0.12 20), oklch(0.85 0.13 330)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.est-result__label { font-size: 16px; font-weight: 600; color: var(--ink); }
.est-result__hook { flex-basis: 100%; font-size: 14px; color: var(--ink-dim); }
.scenario { padding: 24px; border-radius: 20px; border: 1px solid oklch(0.72 0.2 350 / 0.35); background: linear-gradient(160deg, oklch(0.22 0.06 340 / 0.5), oklch(0.18 0.04 290 / 0.4)); }
.scenario__inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 16px; margin-bottom: 20px; }
.sfield { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-dim); }
.sfield span { min-height: 2.4em; display: flex; align-items: flex-end; }
.sfield input { padding: 10px 12px; border-radius: 10px; background: var(--panel-solid); color: var(--ink); border: 1px solid var(--hairline-strong); font: inherit; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sfield input:focus { outline: 2px solid var(--accent-pink); outline-offset: 1px; }
.scenario__results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sres { padding: 16px 16px 14px; border-radius: 14px; background: oklch(1 0 0 / 0.05); border: 1px solid var(--hairline); min-width: 0; }
.sres span { display: block; font-size: 13px; color: var(--ink-dim); margin-bottom: 6px; }
.sres b { display: block; font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.sres--accent { border-color: oklch(0.72 0.2 350 / 0.5); background: linear-gradient(135deg, oklch(0.32 0.12 10 / 0.5), oklch(0.26 0.1 330 / 0.4)); }
.sres--accent b { background: linear-gradient(90deg, oklch(0.88 0.12 20), oklch(0.85 0.13 330)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.scenario__chart { margin: 20px 0 0; }
.scenario__chart figcaption { font-size: 13px; font-weight: 600; color: var(--ink-mute); margin-bottom: 8px; }
.scenario__chart svg { display: block; width: 100%; height: 180px; border-radius: 12px; background: oklch(0 0 0 / 0.2); }
.scenario__chart .chart-zero { stroke: oklch(1 0 0 / 0.35); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.scenario__chart .chart-grid { stroke: oklch(1 0 0 / 0.08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.scenario__axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-faint); margin-top: 6px; }
.scenario .btn-row { margin-top: 16px; }
.risks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.risk { padding: 18px; border-radius: 14px; border: 1px solid var(--hairline); background: oklch(1 0 0 / 0.03); }
.risk h3 { margin: 0 0 8px; font-size: 16px; }
.risk p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-dim); }
.market-sources ol { margin: 0; padding-inline-start: 26px; font-size: 13px; line-height: 1.6; color: var(--ink-mute); }
.market-sources li { margin-bottom: 4px; scroll-margin-top: 110px; }
.market-sources li a { color: var(--accent-pink); overflow-wrap: anywhere; }
.market-cta { justify-content: center; }
@media (max-width: 900px) {
  .mtiles, .risks, .scenario__inputs { grid-template-columns: repeat(2, 1fr); }
  .scenario__results { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .mtiles, .risks, .scenario__inputs, .scenario__results { grid-template-columns: 1fr; }
  .tbar { grid-template-columns: 92px 1fr 52px; gap: 8px; }
  .scenario { padding: 18px; }
  .sfield span { min-height: 0; }
  .est-step { grid-template-columns: 26px 1fr; gap: 6px 12px; padding: 12px 14px; }
  .est-step__n { width: 26px; height: 26px; font-size: 12px; }
  .est-step__label { grid-column: 2; }
  .est-result { padding: 16px 18px; }
}

/* ---------- print / "save as PDF" (all pages; the market report uses it) ---------- */
@media print {
  @page { size: A4; margin: 12mm; }
  :root { --ink: #16101c; --ink-dim: #3b3242; --ink-mute: #5a5062; --ink-faint: #7a7083; --hairline: #e3dbe6; --hairline-strong: #cfc4d4; --panel-solid: #fff; }
  html, body { background: #fff !important; color: #16101c !important; }
  .bg-system, .nav-bar, .site-footer, .breadcrumbs, .back-to-top, .consent, .skip-link, .no-print { display: none !important; }
  .page-head { padding-top: 0; }
  .eyebrow { border-color: #d9cfdc; color: #5a5062; background: none; }
  .mtile, .sres, .risk, .scenario, .market-note--platform { background: #fff !important; border-color: #e3dbe6 !important; box-shadow: none !important; break-inside: avoid; }
  .mtile__value, .sres b, .sres--accent b { background: none !important; -webkit-text-fill-color: #c2185b; color: #c2185b !important; }
  .tbar__track { background: #f1ecf3; }
  .tbar__track i, .split__seg { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .scenario__chart svg { background: #faf7fb; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .scenario__chart .chart-zero { stroke: #9a8fa0; }
  .scenario__chart .chart-grid { stroke: #e7e0ea; }
  .sfield input { border: 1px solid #cfc4d4; color: #16101c; }
  /* compact layout so the market report fits ~3 A4 pages */
  .page-head h1 { font-size: 26px; margin: 8px 0 6px; }
  .page-head .lede { font-size: 12.5px; }
  .market { margin-top: 10px; max-width: none; padding: 0; }
  .market-block { margin-bottom: 14px; break-inside: auto; }
  .market-block > h2 { font-size: 16px; margin: 0 0 8px; break-after: avoid; }
  .market-intro, .market-note { font-size: 10.5px; margin-top: 0; margin-bottom: 8px; }
  .mtiles, .mtiles--three, .risks, .scenario__inputs { grid-template-columns: repeat(3, 1fr) !important; gap: 8px; }
  .scenario__results { grid-template-columns: repeat(4, 1fr) !important; gap: 8px; }
  .mtile { padding: 10px 12px 8px; gap: 3px; }
  .mtile__value { font-size: 21px !important; }
  .mtile__label { font-size: 11px; }
  .mtile__note, .src-refs a { font-size: 9px !important; }
  .tbars { gap: 5px; }
  .tbar { grid-template-columns: 90px 1fr 50px; }
  .tbar__name, .tbar__value { font-size: 11px; }
  .tbar__track { height: 9px; }
  .scenario { padding: 12px; break-inside: avoid; }
  .sfield { font-size: 10px; } .sfield span { min-height: 0; }
  .sfield input { padding: 4px 8px; font-size: 12px; }
  .sres { padding: 8px 10px; } .sres span { font-size: 10px; margin-bottom: 2px; } .sres b { font-size: 18px !important; }
  .scenario__chart { margin-top: 10px; } .scenario__chart svg { height: 110px; }
  .scenario__chart figcaption, .scenario__axis { font-size: 9.5px; }
  .risk { padding: 10px; } .risk h3 { font-size: 12px; margin-bottom: 4px; } .risk p { font-size: 10.5px; }
  .market-note--platform { padding: 8px 10px; }
  .est-step, .est-result { background: #fff !important; border-color: #e3dbe6 !important; break-inside: avoid; }
  .est-steps { gap: 4px; }
  .est-step { grid-template-columns: 20px 110px 1fr; gap: 10px; padding: 5px 10px; }
  .est-step__n { width: 20px; height: 20px; font-size: 10px; background: none; border-color: #c2185b; }
  .est-step__label { font-size: 10.5px; }
  .est-step__value, .est-result__value { background: none !important; -webkit-text-fill-color: #c2185b; color: #c2185b !important; }
  .est-step__value { font-size: 15px; }
  .est-result { margin-top: 6px; padding: 8px 12px; gap: 2px 12px; border-color: #c2185b !important; }
  .est-result__value { font-size: 24px; }
  .est-result__label { font-size: 12px; } .est-result__hook { font-size: 10.5px; }
  .market-sources ol { font-size: 9px; line-height: 1.45; }
  a { color: inherit !important; }
}

/* ---------- footer ---------- */
.site-footer { position: relative; z-index: 1; max-width: var(--container); width: 100%; margin: 80px auto 0 auto; padding: 0 var(--gutter); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-top: 48px; margin-bottom: 40px; border-top: 1px solid var(--hairline); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand span { font-family: var(--font-wordmark); font-weight: 800; font-size: 16px; }
.footer-brand span i { color: var(--accent-red); font-style: normal; }
.footer-col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-faintest); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--ink-dim); }
.footer-links a { color: var(--ink-dim); }
.footer-links a:hover { color: var(--ink); }
.footer-links a.is-current { color: var(--accent-pink); font-weight: 600; }
.footer-col-title.is-current { color: var(--accent-pink); }
.footer-desc { font-size: 12.5px; line-height: 1.6; color: var(--ink-faint); max-width: 220px; }
/* webcam studios promo card in the brand column */
.footer-promo {
  display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; max-width: 300px;
  padding: 14px 16px; border-radius: 14px; color: var(--ink);
  border: 1px solid oklch(0.8 0.18 350 / 0.45);
  background: linear-gradient(135deg, oklch(0.72 0.22 10 / 0.18), oklch(0.6 0.2 335 / 0.12));
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.footer-promo:hover, .footer-promo.is-current {
  border-color: oklch(0.85 0.19 350 / 0.75);
  background: linear-gradient(135deg, oklch(0.72 0.22 10 / 0.28), oklch(0.6 0.2 335 / 0.2));
}
.footer-promo:hover { transform: translateY(-1px); }
.footer-promo:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 2px; }
.footer-promo__icon {
  display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 11px; color: white; background: linear-gradient(135deg, var(--accent-red), var(--accent-magenta));
  box-shadow: 0 6px 16px oklch(0.6 0.22 350 / 0.4);
}
.footer-promo__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.footer-promo__title { font-size: 14px; font-weight: 700; color: var(--ink); }
.footer-promo__text { font-size: 12.5px; line-height: 1.5; color: var(--ink-dim); }
@media (prefers-reduced-motion: reduce) { .footer-promo { transition: none; } .footer-promo:hover { transform: none; } }
.footer-bottom { padding: 22px 0; border-top: 1px solid var(--hairline); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--ink-faintest); }
/* floating "back to top" button (shown by back-to-top.js) */
.back-to-top {
  position: fixed; inset-inline-end: var(--gutter); bottom: 24px; z-index: 25;
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; padding: 0; cursor: pointer;
  color: var(--ink); background: oklch(0.2 0.035 300 / 0.92);
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 12px 30px oklch(0 0 0 / 0.45);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s, background-color .15s ease, border-color .15s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { color: white; background: linear-gradient(135deg, var(--accent-red), var(--accent-magenta)); border-color: transparent; }
.back-to-top:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 3px; }
@media (max-width: 640px) {
  .back-to-top { width: 44px; height: 44px; bottom: 16px; }
  /* on phones the consent banner spans the width — lift the button above it */
  .has-consent-banner .back-to-top { bottom: calc(16px + var(--consent-offset, 0px)); }
  /* room under the last footer row so the floating button never covers it */
  .footer-bottom { padding-bottom: 76px; }
}

/* cookie consent banner (GDPR regions only, see consent.js) — a small card,
   not a modal: the page stays fully usable while it's open */
.consent {
  position: fixed; inset-inline-start: var(--gutter); bottom: 24px; z-index: 30;
  width: min(380px, calc(100vw - 2 * var(--gutter)));
  padding: 16px 18px; border-radius: 16px;
  background: oklch(0.17 0.035 300 / 0.96);
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 16px 40px oklch(0 0 0 / 0.5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}
.consent.is-visible { opacity: 1; transform: none; }
.consent[hidden] { display: none; }
.consent__text { margin: 0 0 14px; font-size: 13.5px; line-height: 1.5; color: var(--ink-dim); }
.consent__actions { display: flex; gap: 8px; }
.consent__btn {
  flex: 1 1 0; min-height: 38px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  font: 600 13.5px/1.2 var(--font-body);
  color: var(--ink); background: oklch(1 0 0 / 0.04);
  border: 1px solid var(--hairline-strong);
  transition: background-color .15s ease, border-color .15s ease;
}
.consent__btn:hover { background: oklch(1 0 0 / 0.1); border-color: oklch(1 0 0 / 0.24); }
.consent__btn--accept { border-color: oklch(0.72 0.2 350 / 0.55); }
.consent__btn--accept:hover { background: oklch(0.72 0.2 350 / 0.16); border-color: oklch(0.72 0.2 350 / 0.8); }
.consent__btn:focus-visible, .footer-cookie-link:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 2px; }
@media (max-width: 640px) {
  .consent { left: var(--gutter); right: var(--gutter); bottom: 12px; width: auto; }
}
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }

/* footer "Cookie settings" (visible only in GDPR regions) */
.footer-bottom__end { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.footer-cookie-link {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: oklch(1 0 0 / 0.25);
}
.footer-cookie-link:hover { color: var(--ink-dim); }
.footer-legal-link { color: inherit; text-decoration: none; }
.footer-legal-link:hover { color: var(--ink-dim); }
.footer-legal-link.is-current { color: var(--accent-pink); }
.footer-legal-link:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 2px; }
.footer-cookie-link[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .back-to-top { transition: none; } }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- responsive hero/nav width guards ---------- */
@media (max-width: 480px) {
  .hero { padding-top: 32px; }
  .eyebrow { font-size: 11px; letter-spacing: .05em; padding: 7px 14px; text-align: center; }
  .intro-video { border-radius: 14px; }
  .intro-video__play { left: 14px; bottom: 16px; gap: 10px; }
  .intro-video__play-circle { width: 56px; height: 56px; }
  .intro-video__play-circle svg { width: 20px; height: 20px; }
  .intro-video__play-text { display: none; }
  .intro-video__fullscreen { top: 10px; right: 10px; width: 34px; height: 34px; }
}

/* ---------- Arabic (RTL) and Chinese ---------- */
/* Unbounded / Manrope / IBM Plex have no Arabic or CJK glyphs: the browser falls
   back per character to IBM Plex Sans Arabic / Noto Sans SC (loaded in layout.tpl
   only on those pages), so Latin words keep the brand fonts. */
:lang(ar) {
  --font-display: 'Unbounded', 'IBM Plex Sans Arabic', sans-serif;
  --font-wordmark: 'Manrope', 'IBM Plex Sans Arabic', sans-serif;
  --font-body: 'IBM Plex Sans', 'IBM Plex Sans Arabic', system-ui, sans-serif;
}
/* letter-spacing breaks the joining of Arabic letters */
:lang(ar) body, :lang(ar) body * { letter-spacing: 0 !important; }
:lang(ar) .lede, :lang(ar) p, :lang(ar) li { line-height: 1.85; }
:lang(zh-Hans) {
  --font-display: 'Unbounded', 'Noto Sans SC', sans-serif;
  --font-wordmark: 'Manrope', 'Noto Sans SC', sans-serif;
  --font-body: 'IBM Plex Sans', 'Noto Sans SC', system-ui, sans-serif;
}
:lang(zh-Hans) h1, :lang(zh-Hans) h2, :lang(zh-Hans) h3 { letter-spacing: 0; }
/* direction-sensitive arrows/icons in RTL */
[dir="rtl"] .icon--external-link, [dir="rtl"] .icon--send { transform: scaleX(-1); }
/* long words (German compounds, Arabic/French phrases) must never push the layout wider */
.faq-item__q { min-width: 0; overflow-wrap: anywhere; }
.checklist-offer > * { min-width: 0; }
.checklist-form__row .btn { white-space: normal; text-align: center; }
:lang(de) h1, :lang(de) h2, :lang(de) h3, :lang(de) .faq-item__q, :lang(de) .card p, :lang(de) .stat span { hyphens: auto; }
