/* ============================================================
   Observer — marketing site design system
   (brand: brand-kit/observer — eye mark, raspberry ramp)
   Dark dense internal-tool aesthetic: bg #14171c · surface #23242e
   text #fcfcfc · muted #81859f
   brand: dark #6D173B · mid #D61F6C (accent) · light #E9A5C2
   signature gradient: raspberry brand ramp (#6D173B → #D61F6C → #E9A5C2)
   ============================================================ */

:root {
  color-scheme: dark;
  --bg: #14171c;
  --bg-2: #131419;
  --surface: #23242e;
  --surface-2: #272834;
  --line: rgba(252, 252, 252, .10);
  --line-soft: rgba(252, 252, 252, .06);
  --text: #fcfcfc;
  --muted: #81859f;
  --brand-dark: #6D173B;
  --brand-mid: #D61F6C;
  --brand-light: #E9A5C2;
  --accent: var(--brand-mid);
  --accent-soft: rgba(214, 31, 108, .16);
  --accent-contrast: #ffffff;
  --heat: #e0566d;
  --grad-heat: linear-gradient(90deg, #6D173B 0%, #D61F6C 48%, #E9A5C2 100%);
  --header-glass: rgba(23, 24, 32, .72);
  --header-glass-2: rgba(19, 20, 25, .88);
  --warn: #ffc46b;
  --ok: #6fd39c;
  --radius: 14px;
  --radius-lg: 22px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --container: 1300px;
  --header-h: 72px;
}

/* ---------- theme: light ---------- */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f6f8;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #eceef2;
  --line: rgba(20, 22, 30, .15);
  --line-soft: rgba(20, 22, 30, .07);
  --text: #161821;
  --muted: #5b6070;
  --accent: var(--brand-dark);
  --accent-soft: rgba(214, 31, 108, .10);
  --accent-contrast: #ffffff;
  --heat: #c93a54;
  --grad-heat: linear-gradient(90deg, #6D173B 0%, #C41A5F 48%, #D67EA8 100%);
  --header-glass: rgba(252, 252, 253, .82);
  --header-glass-2: rgba(255, 255, 255, .94);
}
/* light theme: primary CTA in brand raspberry, never near-black */
html[data-theme="light"] .dropdown,
html[data-theme="light"] .mobile-nav {
  box-shadow: 0 18px 48px rgba(20, 22, 30, .16);
  border-color: rgba(20, 22, 30, .14);
}
html[data-theme="light"] .dropdown__link:hover,
html[data-theme="light"] .dropdown__lang:hover { background: rgba(109, 23, 59, .07); }
html[data-theme="light"] .btn--primary { background: var(--brand-mid); color: #ffffff; }
html[data-theme="light"] .btn--primary:hover { background: var(--brand-dark); }
html[data-theme="light"] .btn--light { background: var(--brand-dark); color: #ffffff; }
html[data-theme="light"] .skip-link { color: #ffffff; }

/* product mockups stay dark chrome in light theme (they're app screenshots) */
html[data-theme="light"] .app, html[data-theme="light"] .browser, html[data-theme="light"] .player,
html[data-theme="light"] .present, html[data-theme="light"] .demo {
  --bg: #14171c;
  --bg-2: #101216;
  --surface: #23242e;
  --surface-2: #272834;
  --line: rgba(252, 252, 252, .10);
  --line-soft: rgba(252, 252, 252, .06);
  --text: #fcfcfc;
  --muted: #81859f;
}

/* ---------- theme: high contrast dark ---------- */
html[data-theme="hc-dark"] {
  color-scheme: dark;
  --bg: #000000;
  --bg-2: #050608;
  --surface: #0d0f13;
  --surface-2: #14161c;
  --line: rgba(255, 255, 255, .30);
  --line-soft: rgba(255, 255, 255, .16);
  --text: #ffffff;
  --muted: #c3c8d4;
  --accent: var(--brand-light);
  --accent-soft: rgba(233, 165, 194, .26);
  --accent-contrast: #40071f;
  --heat: #ff7d92;
  --grad-heat: linear-gradient(90deg, #b0447a 0%, #f0609b 48%, #f7cbdd 100%);
  --header-glass: rgba(0, 0, 0, .88);
  --header-glass-2: rgba(0, 0, 0, .95);
}
html[data-theme="hc-dark"] a:focus-visible,
html[data-theme="hc-dark"] button:focus-visible,
html[data-theme="hc-dark"] summary:focus-visible,
html[data-theme="hc-dark"] [tabindex]:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  border-radius: 4px;
}
html[data-theme="hc-dark"] .dropdown__link small,
html[data-theme="hc-dark"] .plan__context,
html[data-theme="hc-dark"] .section__sub { color: #d7dbe4; }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
[hidden] { display: none !important; }
em, i { font-style: normal; }
::selection { background: var(--accent); color: var(--accent-contrast); }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--accent); color: #ffffff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- sticky subnav on feature/use-case pages ---------- */
.subnav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: var(--header-glass);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.subnav__inner { display: flex; align-items: center; gap: 14px; min-height: 46px; }
.subnav__arrow {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: none; place-items: center; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); transition: color .15s, border-color .15s, opacity .2s;
}
.subnav__arrow .ci { --ci-size: 15px; }
.subnav__arrow:hover { color: var(--text); border-color: var(--line-strong, var(--accent)); }
.subnav__arrow[disabled] { opacity: 0; pointer-events: none; }
.subnav.has-overflow .subnav__arrow { display: grid; }
.subnav__set {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); flex: none;
}
.subnav__links { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; min-width: 0;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scroll-behavior: smooth; touch-action: pan-x; }
.subnav__links::-webkit-scrollbar { display: none; }
.subnav__links a {
  padding: 7px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap;
  transition: color .15s, background .15s;
}
.subnav__links a:hover { color: var(--text); background: var(--line-soft); }
.subnav__links a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 60px); }

/* ---------- prev/next pager ---------- */
.pager { padding: 28px 0 8px; }
.pager__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pager__link {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); padding: 18px 22px;
  display: grid; gap: 6px; align-content: start;
  transition: border-color .2s, transform .2s;
}
.pager__link:hover { border-color: var(--accent); transform: translateY(-2px); }
.pager__link--next { text-align: right; }
.pager__dir {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
}
.pager__title { font-weight: 700; font-size: 16px; color: var(--text); }
@media (max-width: 640px) {
  .pager__inner { grid-template-columns: 1fr; }
  .pager__link--next { text-align: left; }
}

/* ---------- castomo icons sizing ---------- */
.dropdown__icon { color: var(--accent); }
.dropdown__icon .ci { --ci-size: 20px; }
.bcard__icon .ci { --ci-size: 22px; }
.story__icon .ci { --ci-size: 46px; color: #D61F6C; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .5)); }
.story__tag { display: inline-flex; align-items: center; gap: 7px; }
.story__tag .ci { --ci-size: 12px; }
.pcomment b .ci { --ci-size: 10px; }
.comment .ci { --ci-size: 12px; vertical-align: -2px; }
.pcard__pin .ci { --ci-size: 13px; }
.pcard__play .ci { --ci-size: 16px; color: var(--accent); }
.btn__play .ci { --ci-size: 10px; color: var(--accent); }
.theme-seg button .ci { --ci-size: 14px; }
.mobile-nav__theme-btns .icn .ci { --ci-size: 15px; }

/* language picker (icon + dropdown) */
.lang-pick { position: relative; }
.lang-pick__btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--line-soft);
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--muted);
  transition: color .15s, border-color .15s;
}
.lang-pick__btn .ci { --ci-size: 15px; }
.lang-pick__btn:hover, .lang-pick.is-open .lang-pick__btn { color: var(--text); border-color: var(--accent); }
.lang-pick__btn .nav__caret { width: 9px; height: 6px; opacity: .6; transition: transform .2s; }
.lang-pick.is-open .nav__caret { transform: rotate(180deg); }
.dropdown--lang {
  left: 0; right: auto; transform: translateY(6px);
  display: grid; gap: 2px; min-width: 200px; padding: 10px;
}
.nav__item--dropdown.is-open .dropdown--lang, .lang-pick.is-open .dropdown--lang {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
}
.dropdown__lang {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 9px 12px; border-radius: 9px;
  font-size: 14px; font-weight: 500;
  transition: background .15s, color .15s;
}
.dropdown__lang:hover { background: var(--line-soft); }
.dropdown__lang.is-active { color: var(--accent); font-weight: 600; }
.dropdown__lang .ci { --ci-size: 14px; color: var(--accent); }

/* standout stat band */
.statband--standout, html[data-theme="light"] .statband--standout, html[data-theme="hc-dark"] .statband--standout {
  padding: 50px 0;
  background:
    radial-gradient(720px 340px at 22% 15%, rgba(214, 31, 108, .14), transparent 62%),
    linear-gradient(120deg, #0b0d10 10%, #171b21 90%);
  border-block: 1px solid rgba(252, 252, 252, .14);
  position: relative; overflow: hidden;
}
.statband--standout .statband__title, html[data-theme="light"] .statband--standout .statband__title { color: #fcfcfc; }
.statband--standout .statband__title em, html[data-theme="light"] .statband--standout .statband__title em { color: #D61F6C; }
.statband--standout .btn--light, html[data-theme="light"] .statband--standout .btn--light { color: #161821; }

/* ---------- theme switcher ---------- */
.theme-seg, .lang-seg {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 3px; background: var(--line-soft);
}
.theme-seg button, .lang-seg a {
  min-width: 32px; height: 28px; padding-inline: 8px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; line-height: 1; color: var(--muted);
  letter-spacing: .04em;
  transition: background .15s, color .15s;
}
.theme-seg button:hover, .lang-seg a:hover { color: var(--text); }
.theme-seg button.is-active, .lang-seg a.is-active { background: var(--accent); color: var(--accent-contrast); }
.mobile-nav__theme, .mobile-nav__lang { display: grid; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.mobile-nav__theme-label, .mobile-nav__lang-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mobile-nav__theme-btns, .mobile-nav__lang-btns { display: flex; gap: 8px; }
.mobile-nav__theme-btns button, .mobile-nav__lang-btns a {
  flex: 1; padding: 10px 6px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); font-size: 12px; font-weight: 600;
  display: grid; place-items: center; gap: 3px;
  transition: border-color .15s, color .15s;
}
.mobile-nav__theme-btns button .icn { font-size: 15px; }
.mobile-nav__theme-btns button.is-active, .mobile-nav__lang-btns a.is-active { border-color: var(--accent); color: var(--accent); }

/* ---------- typography ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section__title {
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.12;
  max-width: 18ch;
}
.section__sub { color: var(--muted); font-size: 17px; margin-top: 14px; max-width: 56ch; }
h6, .flist h6, .pcard__label {
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.stat-src { color: var(--muted); font-size: 13px; margin-top: 10px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--text); color: var(--bg); }
.btn--primary:hover { background: var(--accent); color: var(--accent-contrast); }
.btn--ghost { color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--outline { border-color: var(--line); color: var(--text); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--light { background: var(--text); color: var(--bg); }
.btn--light:hover { background: var(--accent); }
.btn--lg { padding: 14px 26px; font-size: 15px; }
.btn--block { width: 100%; justify-content: center; }
.btn__play { font-size: 9px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; }

.textlink { color: var(--accent); font-weight: 600; font-size: 15px; display: inline-flex; gap: 6px; align-items: center; }
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- banner ---------- */
.banner { background: #D61F6C; color: #ffffff; font-size: 13.5px; position: relative; z-index: 60; }
.banner__inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; }
.banner__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.banner__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.banner__dot { width: 7px; height: 7px; border-radius: 50%; background: #ffffff; }
.banner__arrow { transition: transform .2s; }
.banner__link:hover .banner__arrow { transform: translateX(3px); }
.banner__close { position: absolute; right: 20px; opacity: .7; font-size: 12px; padding: 6px; }
.banner__close:hover { opacity: 1; }
.banner.is-hidden { display: none; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-glass);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.header.is-scrolled { border-bottom-color: var(--line); background: var(--header-glass-2); }
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.logo__mark { width: 28px; height: 28px; display: block; flex: none; }
.logo__word { color: var(--text); }

.nav { margin-left: 8px; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--text);
  transition: background .18s, color .18s;
}
.nav__link:hover { background: var(--line-soft); color: var(--text); }
.nav__caret { width: 9px; height: 6px; opacity: .6; transition: transform .2s; }
.nav__item--dropdown.is-open .nav__caret { transform: rotate(180deg); }
.nav__item--dropdown.is-open .nav__link { background: var(--line-soft); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex; gap: 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s, transform .18s, visibility .18s;
  min-width: 320px;
}
.nav__item--dropdown { position: relative; }
.nav__item--dropdown.is-open .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* invisible bridge over the gap so the pointer can travel to the panel */
.dropdown::before {
  content: "";
  position: absolute;
  top: -14px; left: 0; right: 0; height: 14px;
}
.dropdown__col { display: grid; gap: 4px; min-width: 220px; }
.dropdown__label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.dropdown__link {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 8px 10px; border-radius: 10px; font-size: 14px;
  transition: background .15s;
}
.dropdown__link:hover { background: var(--line-soft); }
.dropdown__link strong { display: block; font-weight: 600; font-size: 14px; }
.dropdown__link small { color: var(--muted); font-size: 12.5px; }
.dropdown__icon {
  width: 34px; height: 34px; flex: none;
  border-radius: 9px;
  background: var(--accent-soft);
  display: grid; place-items: center;
  font-size: 17px;
}

.dropdown--4col {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  width: 980px;
  max-width: calc(100vw - 40px);
  gap: 26px 30px;
  padding: 24px;
  left: 0;
  transform: translateY(6px);
}
.nav__item--dropdown.is-open .dropdown--4col { transform: translateY(0); }
.dropdown--4col .dropdown__col { min-width: 0; }
.dropdown--4col .dropdown__link { padding: 10px; align-items: center; }

/* three-column variant (Features) */
.dropdown--3col {
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  width: 740px;
  max-width: calc(100vw - 40px);
  gap: 26px 30px;
  padding: 24px;
  left: 0;
  transform: translateY(6px);
}
.nav__item--dropdown.is-open .dropdown--3col { transform: translateY(0); }
.dropdown--3col .dropdown__col { min-width: 0; }
.dropdown--3col .dropdown__link { padding: 10px; align-items: center; }
.dropdown--3col .dropdown__all {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 4px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}
.dropdown--3col .dropdown__all:hover { text-decoration: underline; text-underline-offset: 4px; }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger.is-open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: calc(var(--header-h) + 40px) 0 0 0; z-index: 49;
  background: var(--bg-2);
  padding: 24px; display: grid; align-content: start; gap: 4px;
  overflow-y: auto;
}
.mobile-nav__link { padding: 14px 10px; border-bottom: 1px solid var(--line-soft); font-size: 17px; font-weight: 600; }
.mobile-nav__cta { display: grid; gap: 10px; margin-top: 20px; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 90px; position: relative; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.hero__kicker {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.hero__title { font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.hero__sub { color: var(--muted); font-size: 18px; margin-top: 20px; max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__note { color: var(--muted); font-size: 13px; margin-top: 16px; }
.hero__media { position: relative; }
.hero__glow {
  position: absolute; inset: -8% -12%;
  background:
    radial-gradient(600px 380px at 70% 20%, rgba(214, 31, 108, .16), transparent 65%),
    radial-gradient(500px 340px at 20% 80%, rgba(111, 211, 156, .07), transparent 60%);
  filter: blur(6px); z-index: -1;
}

/* app mockup */
.app {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
  font-size: 11px;
}
.app__chrome { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
.app__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.app__dot:first-child { background: #ff5f57; } .app__dot:nth-child(2) { background: #febc2e; } .app__dot:nth-child(3) { background: #28c840; }
.app__crumb { margin-left: 12px; color: var(--muted); font-size: 11.5px; }
.app__crumb i { color: var(--muted); opacity: .5; margin-inline: 4px; }
.app__body { display: grid; grid-template-columns: 150px 1fr 168px; }
.app__side { padding: 14px; border-right: 1px solid var(--line-soft); display: grid; align-content: start; gap: 3px; }
.app__side-title { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 8px 4px 4px; }
.app__side-item { padding: 6px 8px; border-radius: 7px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__side-item.is-active, .app__side-item:first-of-type { background: var(--accent-soft); color: var(--text); }
.app__main { padding: 14px; }
.app__toolbar { display: flex; gap: 8px; margin-bottom: 12px; }
.app__search { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; color: var(--muted); }
.app__chip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; color: var(--muted); white-space: nowrap; }
.app__chip:last-child { color: var(--accent); border-color: var(--accent-soft); background: var(--accent-soft); }
.app__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.thumb { aspect-ratio: 16/10; border-radius: 9px; position: relative; overflow: hidden; border: 1px solid var(--line-soft); }
.thumb--a { background: linear-gradient(135deg, #2b2d4a, #14171c); }
.thumb--b { background: linear-gradient(135deg, #1e3a3a, #14171c); }
.thumb--c { background: linear-gradient(135deg, #3a2b45, #14171c); }
.thumb--d { background: linear-gradient(135deg, #23364f, #14171c); }
.thumb--e { background: linear-gradient(135deg, #2f2f38, #14171c); }
.thumb--f { background: linear-gradient(135deg, #34334a, #14171c); }
.thumb__badge {
  position: absolute; top: 6px; left: 6px;
  font-size: 8px; font-weight: 600; letter-spacing: .04em;
  padding: 2.5px 7px; border-radius: 999px;
  background: rgba(111, 211, 156, .18); color: var(--ok);
}
.thumb__badge--warn { background: rgba(255, 196, 107, .15); color: var(--warn); }
.thumb__name { position: absolute; left: 7px; bottom: 6px; right: 7px; font-size: 8.5px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__comments { padding: 14px; border-left: 1px solid var(--line-soft); display: grid; align-content: start; gap: 10px; }
.comment { display: flex; gap: 8px; align-items: flex-start; }
.comment p { color: var(--muted); font-size: 10px; line-height: 1.5; }
.comment strong { color: var(--text); font-weight: 600; }
.comment time { color: var(--muted); opacity: .6; font-size: 9px; }
.comment--resolved { opacity: .55; }
.comment__avatar {
  width: 20px; height: 20px; border-radius: 50%; flex: none;
  background: var(--surface-2); color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 600;
}
.comment__avatar--v { background: rgba(214, 31, 108, .25); color: var(--accent); }
.comment__avatar--c { background: rgba(111, 211, 156, .2); color: var(--ok); }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.platform { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.platform__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px;
}
.pcard {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 22px;
  transition: transform .25s, border-color .25s;
}
.pcard:hover { transform: translateY(-4px); border-color: var(--accent-soft); }
.pcard__art {
  height: 132px; border-radius: var(--radius); margin-bottom: 18px;
  background: var(--bg-2); border: 1px solid var(--line-soft);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.pcard__label { color: var(--text); font-size: 12px; margin-bottom: 8px; }
.pcard__copy { color: var(--muted); font-size: 13.5px; text-transform: none; letter-spacing: 0; font-weight: 400; }

.pcard__art--files { gap: 8px; align-items: flex-end; padding-bottom: 18px; }
.pcard__file { width: 34px; height: 44px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); position: relative; }
.pcard__file::after { content: ""; position: absolute; top: 8px; left: 7px; width: 14px; height: 3px; border-radius: 2px; background: var(--accent); opacity: .7; }
.pcard__file:nth-child(2) { height: 58px; }
.pcard__file:nth-child(3) { height: 70px; }

.pcard__art--review { position: relative; }
.pcard__play { width: 42px; height: 42px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-size: 12px; border: 1px solid var(--accent-soft); }
.pcard__pin { position: absolute; font-size: 12px; padding: 5px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.pcard__pin--1 { top: 20%; left: 18%; }
.pcard__pin--2 { bottom: 22%; right: 16%; }

.pcard__art--workflow { flex-direction: column; gap: 7px; justify-content: center; align-items: stretch; padding-inline: 22px; }
.pcard__task {
  font-size: 10px; color: var(--muted); background: var(--surface-2);
  border: 1px solid var(--line-soft); border-radius: 7px; padding: 6px 10px;
  display: flex; align-items: center; justify-content: space-between;
}
.pcard__task::after { content: "○"; color: var(--muted); }
.pcard__task.is-done { color: var(--ok); }
.pcard__task.is-done::after { content: "✓"; color: var(--ok); }

.pcard__art--share { padding: 16px; }
.pcard__screen { width: 100%; height: 100%; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line);
  padding: 12px; font-size: 10.5px; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
.pcard__logo-dot { width: 18px; height: 4px; border-radius: 2px; background: var(--accent); }

/* ---------- blockers ---------- */
.blockers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.bcard { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; background: var(--bg-2); }
.bcard__icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft);
  display: grid; place-items: center; font-size: 19px; margin-bottom: 16px;
}
.bcard h6 { color: var(--text); font-size: 12px; margin-bottom: 8px; }
.bcard p { color: var(--muted); font-size: 14px; }

/* ---------- stat band ---------- */
.statband:not(.statband--standout) { padding: 84px 0; background: linear-gradient(180deg, var(--bg), var(--bg-2)); border-block: 1px solid var(--line-soft); }
.statband__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.statband__title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 700; letter-spacing: -.02em; max-width: 22ch; }
.statband__title em, .section__title em { color: var(--accent); font-weight: inherit; }
.stat-src--light { margin: 0; }

/* ---------- feature rows ---------- */
.feature__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.feature--right .feature__inner > .feature__media { order: -1; }
.flist { margin-top: 34px; display: grid; gap: 22px; }
.flist__item { border-top: 1px solid var(--line); padding-top: 18px; }
.flist__item h6 { color: var(--text); font-size: 12px; margin-bottom: 6px; }
.flist__item p { color: var(--muted); font-size: 14.5px; max-width: 52ch; }
.textlink { margin-top: 20px; }

/* browser mockup */
.browser { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 32px 70px rgba(0, 0, 0, .45); font-size: 11px; }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line-soft); }
.browser__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser__bar i { margin-inline: auto; font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--muted);
  background: var(--bg-2); padding: 4px 40px; border-radius: 6px; }
.browser__body { display: grid; grid-template-columns: 140px 1fr; min-height: 240px; }
.browser__tree { border-right: 1px solid var(--line-soft); padding: 12px; display: grid; align-content: start; gap: 5px; }
.browser__tree span { color: var(--muted); font-size: 10.5px; padding: 4px 7px; border-radius: 6px; white-space: nowrap; }
.browser__tree .is-active { background: var(--accent-soft); color: var(--text); }
.is-indent { padding-left: 18px !important; }
.is-indent2 { padding-left: 30px !important; }
.browser__grid { padding: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; align-content: start; }
.cell { aspect-ratio: 4/3; border-radius: 8px; border: 1px solid var(--line-soft); }
.cell--a { background: linear-gradient(135deg, #2b2d4a, #14171c); }
.cell--b { background: linear-gradient(135deg, #1e3a3a, #14171c); }
.cell--c { background: linear-gradient(135deg, #3a2b45, #14171c); }
.cell--d { background: linear-gradient(135deg, #23364f, #14171c); }
.cell--e { background: linear-gradient(135deg, #34334a, #14171c); }
.cell--f { background: linear-gradient(135deg, #2f3a44, #14171c); }
.browser__upload { border-top: 1px solid var(--line-soft); padding: 10px 14px 14px; }
.browser__upload small { color: var(--muted); font-size: 10px; }
.browser__bar-fill {
  display: block; height: 3px; border-radius: 3px; margin-bottom: 6px;
  background: var(--accent); width: 87%; transition: width 1.2s cubic-bezier(.22, 1, .36, 1);
}

/* player mockup */
.player { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 32px 70px rgba(0, 0, 0, .45); font-size: 11px; }
.player__screen { position: relative; aspect-ratio: 16/9; background: #101117; overflow: hidden; }
.player__grad { position: absolute; inset: 0; background:
  radial-gradient(420px 220px at 60% 30%, rgba(214, 31, 108, .22), transparent 65%),
  radial-gradient(380px 260px at 30% 80%, rgba(45, 52, 90, .6), transparent 70%); }
.player__pin {
  position: absolute; left: var(--x); top: var(--y);
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); color: #0e0f16;
  display: grid; place-items: center; font-size: 10px; font-weight: 700;
  box-shadow: 0 0 0 3px rgba(214, 31, 108, .25);
}
.player__tc { position: absolute; top: 10px; left: 12px; font-family: var(--mono); font-size: 10px; color: var(--muted);
  background: rgba(16, 17, 23, .7); padding: 3px 8px; border-radius: 6px; }
.player__controls { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line-soft); color: var(--muted); }
.player__track { position: relative; flex: 1; height: 4px; border-radius: 4px; background: var(--line-soft); }
.player__progress { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--accent); }
.player__head { position: absolute; top: 50%; width: 11px; height: 11px; border-radius: 50%;
  background: var(--text); transform: translate(-50%, -50%); }
.player__time { font-family: var(--mono); font-size: 10px; white-space: nowrap; }
.player__comments { padding: 12px 16px 16px; display: grid; gap: 7px; border-top: 1px solid var(--line-soft); }
.pcomment { color: var(--muted); font-size: 10.5px; display: flex; gap: 9px; align-items: center; }
.pcomment b { width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  display: inline-grid; place-items: center; font-size: 9px; flex: none; }

/* tabs */
.tabs { margin-top: 30px; }
.tabs__bar { display: inline-flex; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.tabs__tab { padding: 8px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: background .18s, color .18s; }
.tabs__tab:hover { color: var(--text); }
.tabs__tab.is-active { background: var(--text); color: var(--bg); }
.tabs__panel { margin-top: 16px; color: var(--muted); font-size: 15px; max-width: 52ch; }

/* carousel */
.carousel { margin-top: 30px; }
.carousel__viewport { position: relative; min-height: 120px; }
.slide { position: absolute; inset: 0; opacity: 0; transform: translateX(14px); transition: opacity .3s, transform .3s; pointer-events: none; }
.slide.is-active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.slide h6 { color: var(--text); font-size: 12px; margin-bottom: 6px; }
.slide p { color: var(--muted); font-size: 14.5px; max-width: 48ch; }
.carousel__nav { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.carousel__nav > button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--muted); transition: border-color .18s, color .18s; }
.carousel__nav > button:hover { border-color: var(--accent); color: var(--accent); }
.carousel__dots { display: flex; gap: 7px; }
.carousel__dots button { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .18s, transform .18s; padding: 0; }
.carousel__dots button.is-active { background: var(--accent); transform: scale(1.25); }

/* presentation mockup */
.present { position: relative; min-height: 320px; }
.present__card {
  position: relative; z-index: 2; width: min(440px, 100%); margin-left: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 36px 80px rgba(0, 0, 0, .5); font-size: 11px;
}
.present--back { position: absolute; z-index: 1; opacity: .55; filter: blur(.4px); }
.present--b { top: 26px; right: 60px; width: 300px; transform: rotate(-2.5deg); }
.present--c { top: 48px; right: 24px; width: 260px; transform: rotate(2deg); }
.present__head { display: flex; align-items: center; gap: 8px; padding: 11px 14px; color: var(--muted);
  border-bottom: 1px solid var(--line-soft); font-size: 10.5px; }
.present__mark { width: 16px; height: 4px; border-radius: 2px; background: var(--accent); }
.present__hero { aspect-ratio: 16/8; }
.present__hero--1 { background: linear-gradient(120deg, #2b2d4a 10%, #4a3f7a 55%, #14171c 100%); }
.present__hero--2 { background: linear-gradient(120deg, #1e3a3a, #14171c); }
.present__hero--3 { background: linear-gradient(120deg, #3a2b45, #14171c); }
.present__hero--4 { background: linear-gradient(120deg, #23364f, #14171c); }
.present__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 14px; }
.present__thumb { aspect-ratio: 4/3; border-radius: 8px; }
.present__foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px 13px; color: var(--muted); font-size: 10px; }
.present__pill { background: rgba(111, 211, 156, .15); color: var(--ok); padding: 3px 10px; border-radius: 999px; font-weight: 600; }

/* ---------- stories ---------- */
.stories__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.story { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface);
  transition: transform .25s, border-color .25s; display: flex; flex-direction: column; }
.story:hover { transform: translateY(-4px); border-color: var(--accent-soft); }
.story__media { aspect-ratio: 16/9; position: relative; }
.story__media--1 { background: linear-gradient(120deg, #232c48, #14171c); }
.story__media--2 { background: linear-gradient(120deg, #2c2440, #14171c); }
.story__media--3 { background: linear-gradient(120deg, #1d3540, #14171c); }
.story__tag {
  position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: 9.5px;
  letter-spacing: .1em; text-transform: uppercase;
  background: rgba(16, 17, 23, .72); color: var(--text); padding: 5px 10px; border-radius: 999px;
}
.story h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; padding: 18px 20px 0; }
.story p { color: var(--muted); font-size: 14px; padding: 8px 20px 6px; flex: 1; }
.story .textlink { padding: 0 20px 20px; margin: 0; }

/* ---------- pricing ---------- */
.pricing { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; align-items: start; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px;
  display: flex; flex-direction: column; transition: transform .25s, border-color .25s; }
.plan:hover { transform: translateY(-4px); }
.plan--featured { border-color: var(--accent-soft); background: linear-gradient(180deg, rgba(214, 31, 108, .07), var(--surface) 55%); }
.plan__use { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.plan__name { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-top: 6px; }
.plan__price { font-size: 40px; font-weight: 800; letter-spacing: -.03em; margin-top: 14px; }
.plan__price sup { font-size: 18px; font-weight: 700; vertical-align: super; margin-right: 2px; }
.plan__per { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.plan__price--custom { font-size: 30px; }
.plan__context { color: var(--muted); font-size: 13px; margin-top: 10px; min-height: 40px; }
.plan__incl { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  margin: 18px 0 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.plan__list { display: grid; gap: 8px; margin-bottom: 22px; flex: 1; }
.plan__list li { font-size: 13px; color: var(--text); padding-left: 20px; position: relative; }
.plan__list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; font-size: 12px; }
.plan__dual { display: grid; gap: 8px; }

/* ---------- CTA ---------- */
.cta { padding: 120px 0; text-align: center; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 50% 60%, rgba(214, 31, 108, .13), transparent 70%);
  pointer-events: none;
}
.cta__title { font-size: clamp(36px, 5.6vw, 64px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.cta__title em { color: var(--accent); }
.cta__sub { color: var(--muted); margin-top: 18px; font-size: 16px; }
.cta__inner { position: relative; }
.cta .hero__ctas { justify-content: center; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 32px; }
.footer__brand p { color: var(--muted); font-size: 13.5px; margin-top: 14px; max-width: 26ch; }
.footer__head { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px; }
.footer__col { display: grid; align-content: start; gap: 9px; }
.footer__col a { color: var(--muted); font-size: 13.5px; transition: color .15s; }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  color: var(--muted); font-size: 12.5px;
}
.footer__lang { display: flex; gap: 14px; flex-wrap: wrap; }
.footer__lang a { color: var(--muted); }
.footer__lang a:hover { color: var(--text); }
.footer__legal {
  margin-top: 18px; color: var(--muted); opacity: .75;
  font-size: 11.5px; line-height: 1.7; max-width: 100%;
}

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.22, 1, .36, 1), transform .6s cubic-bezier(.22, 1, .36, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .nav__link { padding: 8px 9px; font-size: 13.5px; }
  .header__inner { gap: 16px; }
}
@media (max-width: 1080px) {
  .platform__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 1120px) {
  /* nav (3 dropdowns + 2 links + actions) no longer fits — switch to burger */
  .nav { display: none; }
  .burger { display: flex; }
  .header__actions .btn--ghost { display: none; }
}
@media (max-width: 900px) {
  .pricing__grid { grid-template-columns: 1fr; }
  .hero__inner, .feature__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero__media { max-width: 100%; min-width: 0; }
  .app__body { grid-template-columns: minmax(0, 132px) minmax(0, 1fr); }
  .app__chips { flex-wrap: wrap; }
  .app__chip { white-space: normal; text-align: left; }
  .feature--right .feature__inner > .feature__media { order: 0; }
  .feature__media { order: -1; }
  .hero { padding-top: 44px; }
  .section { padding: 68px 0; }
  .blockers__grid, .stories__grid { grid-template-columns: 1fr; }
  .app__body { grid-template-columns: 140px 1fr; }
  .app__comments { display: none; }
  .statband__inner { justify-content: center; text-align: center; }
}
@media (max-width: 640px) {
  .platform__grid, .pricing__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .banner__close { display: none; }
  .banner__inner { padding-right: 20px; text-align: center; }
  .header__actions .btn--primary { padding: 8px 14px; font-size: 13px; }
  .theme-seg, .lang-seg, .lang-pick { display: none; }
  .header__inner { gap: 12px; }
}

/* ============================================================
   Subpage components
   ============================================================ */

.page-hero { padding: 84px 0 72px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(620px 300px at 18% 10%, rgba(214, 31, 108, .10), transparent 65%);
  pointer-events: none;
}
/* Grid-aligned two-column hero: copy left (flush with .container edge),
   royalty-free photo + big animated sprite icon right. */
.page-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.page-hero__copy { position: relative; max-width: 580px; }
.page-hero .eyebrow { margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.eyebrow__ico { --ci-size: 15px; color: var(--accent); flex: none; }
.page-hero__title { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; }
.page-hero__title em { color: var(--accent); font-style: normal; }
.page-hero__sub { color: var(--muted); font-size: 18px; margin-top: 18px; max-width: 62ch; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* --- hero media: photo card + spinning icon orb + floating chips --- */
.page-hero__media { position: relative; }
.page-hero__fig { margin: 0; position: relative; }
.page-hero__fig img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 24px; border: 1px solid var(--line);
  box-shadow: 0 40px 90px -42px rgba(0, 0, 0, .65);
}
.page-hero__fig::after {
  content: ""; position: absolute; inset: 0; border-radius: 24px; pointer-events: none;
  background: linear-gradient(212deg, color-mix(in srgb, var(--bg) 4%, transparent) 52%,
              color-mix(in srgb, var(--bg) 42%, transparent) 100%);
}
.page-hero__orb {
  position: absolute; top: -30px; right: -22px; width: 112px; height: 112px;
  border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(120% 120% at 30% 18%, color-mix(in srgb, var(--accent) 26%, var(--surface)) 0%, var(--surface) 72%);
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line));
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .55), 0 0 0 10px color-mix(in srgb, var(--accent) 7%, transparent);
  z-index: 2;
}
.page-hero__orb::before,
.page-hero__orb::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.page-hero__orb::before {
  inset: -12px; border: 1.5px dashed color-mix(in srgb, var(--accent) 52%, transparent);
  animation: orb-spin 26s linear infinite;
}
.page-hero__orb::after {
  inset: -23px; border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  animation: orb-spin 44s linear infinite reverse;
}
.page-hero__orb .ci {
  --ci-size: 46px; color: var(--accent);
  filter: drop-shadow(0 6px 16px color-mix(in srgb, var(--accent) 45%, transparent));
  animation: orb-bob 5.5s ease-in-out infinite;
}
.page-hero__chip {
  position: absolute; width: 48px; height: 48px; border-radius: 15px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: orb-bob 6.5s ease-in-out infinite; z-index: 2;
}
.page-hero__chip .ci { --ci-size: 21px; color: var(--text); }
.page-hero__chip--a { left: -16px; bottom: 46px; animation-delay: -2.4s; }
.page-hero__chip--b { right: 28px; bottom: -18px; animation-delay: -4.1s; }
@keyframes orb-spin { to { transform: rotate(1turn); } }
@keyframes orb-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* icon chip in front of section titles */
.section__head { display: flex; align-items: flex-start; gap: 14px; }
.t-ico {
  display: inline-grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 11px;
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
}
.section__head .t-ico { margin: 3px 0 0; }
.t-ico .ci { --ci-size: 18px; color: var(--accent); }

.section--tint { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.section--tight { padding: 64px 0; }

/* numbered steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.step { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: var(--surface); }
.step__num {
  font-family: var(--mono); font-size: 13px; color: var(--accent);
  letter-spacing: .1em; margin-bottom: 12px; display: block;
}
.step h6 { color: var(--text); font-size: 12.5px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* checklist */
.checks { display: grid; gap: 10px; margin-top: 24px; }
@media (min-width: 760px) {
  .checks:has(li:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 44px; }
}
.checks li { display: flex; gap: 11px; align-items: flex-start; color: var(--text); font-size: 15px; }
.checks li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(214, 31, 108, .16); color: var(--accent);
  display: grid; place-items: center; font-size: 12px; font-weight: 700; margin-top: 1px;
}
.checks--muted li { color: var(--muted); }

/* big kpi row */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.kpi { text-align: left; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-2); padding: 24px; }
.kpi__num { font-size: 44px; font-weight: 800; letter-spacing: -.03em; color: var(--accent); line-height: 1; }
.kpi__num small { font-size: 22px; font-weight: 700; }
.kpi p { color: var(--muted); font-size: 13.5px; margin-top: 10px; }

/* comparison table */
.table-wrap { overflow-x: auto; margin-top: 44px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.table th, .table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.table thead th { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.table td:first-child { color: var(--muted); font-weight: 500; }
.table .yes { color: var(--ok); font-weight: 700; }
.table .no { color: var(--muted); opacity: .6; }
.table .part { color: var(--accent); font-weight: 600; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--line-soft); }
.table .is-us { color: var(--accent); }

/* FAQ */
.faq { margin-top: 44px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 20px 4px; font-weight: 600; font-size: 16px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); font-size: 14.5px; padding: 0 4px 20px; max-width: 72ch; }

/* quote strip */
.quote { border-left: 3px solid var(--accent); padding: 6px 0 6px 22px; margin-top: 40px; }
.quote p { font-size: 20px; font-weight: 600; letter-spacing: -.01em; max-width: 46ch; }
.quote cite { display: block; margin-top: 10px; color: var(--muted); font-size: 13px; font-style: normal; }

/* nav current page */
.nav__link[aria-current="page"], .mobile-nav__link[aria-current="page"] { color: var(--accent); }

/* plain-language demo blocks */
.demo {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px; margin-top: 24px;
  font-size: 16.5px; line-height: 1.75; color: var(--text);
  max-width: 72ch;
}
.demo .strike { text-decoration: line-through; color: var(--muted); opacity: .55; }
.demo .mark { background: rgba(214, 31, 108, .18); border-radius: 3px; padding: 0 4px; color: var(--accent); font-weight: 600; }
.demo__note { display: block; margin-top: 10px; color: var(--muted); font-size: 12.5px; font-family: var(--mono); letter-spacing: .04em; }
.plain { color: var(--muted); font-size: 16.5px; max-width: 62ch; }
.plain strong { color: var(--text); }

.hero__title em { color: var(--accent); }

/* story tile icon art */
.story__icon { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; font-size: 46px; }
.story__icon::before {
  content: ""; position: absolute; width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(214, 31, 108, .30), transparent 70%);
}
.story__icon span { position: relative; z-index: 1; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .5)); }

/* full-bleed "thinking moment" band */
.moment {
  position: relative; display: flex; align-items: flex-end;
  min-height: 440px; overflow: hidden;
  border-block: 1px solid var(--line-soft);
}
.moment__scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.moment__inner { position: relative; z-index: 1; width: 100%; padding: 72px 0; }
.moment__card {
  max-width: 640px;
  background: rgba(10, 12, 16, .74);
  border: 1px solid rgba(252, 252, 252, .14);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .38);
}
.moment__kicker {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: #D61F6C; margin-bottom: 12px;
}
.moment__card h2 {
  font-size: clamp(26px, 3.4vw, 38px); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.1; color: #fcfcfc;
}
.moment__card p { color: #b9bdc9; font-size: 16px; margin-top: 12px; }
.moment__card .btn { margin-top: 20px; }
@media (max-width: 640px) {
  .moment { min-height: 360px; }
  .moment__inner { padding: 48px 0; }
  .moment__card { padding: 24px; }
}

@media (max-width: 900px) {
  .steps, .kpis { grid-template-columns: 1fr; }
  .page-hero { padding: 56px 0 44px; }
  .page-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .page-hero__copy { max-width: none; }
  .page-hero__fig { max-width: 620px; }
  .page-hero__orb { width: 92px; height: 92px; top: -20px; right: 4px; }
  .page-hero__orb .ci { --ci-size: 38px; }
  .page-hero__chip { width: 42px; height: 42px; border-radius: 13px; }
  .page-hero__chip .ci { --ci-size: 18px; }
  .page-hero__chip--a { left: -8px; bottom: 34px; }
  .page-hero__chip--b { right: 18px; bottom: -12px; }
}

@media (max-width: 640px) {
  .subnav__arrow { width: 30px; height: 30px; }
  .page-hero { padding: 44px 0 36px; }
  .page-hero__inner { gap: 30px; }
  .page-hero__fig { border-radius: 18px; }
  .page-hero__fig img { border-radius: 18px; aspect-ratio: 16 / 10; }
  .page-hero__fig::after { border-radius: 18px; }
  .page-hero__orb { width: 70px; height: 70px; top: -16px; right: 0; box-shadow: 0 16px 40px -14px rgba(0,0,0,.5), 0 0 0 7px color-mix(in srgb, var(--accent) 7%, transparent); }
  .page-hero__orb .ci { --ci-size: 28px; }
  .page-hero__chip { width: 36px; height: 36px; border-radius: 11px; }
  .page-hero__chip .ci { --ci-size: 15px; }
  .page-hero__chip--a { left: -4px; bottom: 26px; }
  .page-hero__chip--b { right: 10px; bottom: -10px; }
  .section__head { gap: 10px; }
  .section__head .t-ico { margin-top: 2px; }
  .t-ico { width: 30px; height: 30px; border-radius: 9px; }
  .t-ico .ci { --ci-size: 15px; }
}
/* ============ FREE TOOLS WIDGETS ============ */
.ftw { position: relative; margin-top: 18px; }
.ftcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ftw[data-slots="1"] .ftcards { grid-template-columns: minmax(0, 560px); }
.ftcard { position: relative; aspect-ratio: 16/9; border: 1px solid #262b34; border-radius: 14px; background: #0e1116; overflow: hidden; cursor: pointer; box-shadow: 0 26px 52px -26px rgba(0,0,0,.65); transition: transform .6s cubic-bezier(.22,1,.36,1), border-color .15s; }
.ftw--want .ftcard { transform: scale(.985); }
.ftcard:hover, .ftcard.over { border-color: #D61F6C; }
.ftcard .mcard__empty { position: absolute; inset: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; text-align: center; padding: 12px; border: 1.5px dashed #2a2f38; border-radius: 10px; transition: border-color .15s, background .15s; }
.ftcard:hover .mcard__empty, .ftcard.over .mcard__empty { border-color: #D61F6C; background: #12151a; }
.ftcard .mcard__empty b { color: #e8eaed; font-size: 14px; }
.ftcard .mcard__empty small { color: #81859f; font-size: 11px; max-width: 210px; line-height: 1.5; }
.ftcard .mcard__empty svg { width: 26px; height: 26px; stroke: #D61F6C; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 2px; }
.ftcard canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.ftcard.has-frame canvas { display: block; }
.ftcard.has-frame .mcard__empty { display: none; }
.ftcard .mcard__meta { position: absolute; left: 0; right: 0; bottom: 0; display: none; align-items: center; gap: 10px; padding: 22px 12px 8px; background: linear-gradient(180deg, rgba(11,13,16,0), rgba(11,13,16,.85)); font-size: 11px; }
.ftcard.has-frame .mcard__meta, .ftcard.has-file .mcard__meta { display: flex; }
.ftcard .mcard__meta b { color: #e8eaed; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ftcard .mcard__meta span { color: #7aa9ff; font-variant-numeric: tabular-nums; flex: none; margin-left: auto; }
.ftcard .mcard__tag { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #7aa9ff; background: rgba(11,13,16,.72); border: 1px solid rgba(214,31,108,.35); padding: 3px 8px; border-radius: 99px; }
.ftcard .merge__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(214,31,108,.14); overflow: hidden; opacity: 0; transition: opacity .2s; z-index: 3; }
.ftcard .merge__bar.up { opacity: 1; }
.ftcard .merge__bar span { display: block; height: 100%; width: 0; background: #D61F6C; transition: width .2s; }
.ftopts { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 12px; align-items: flex-end; }
.ftopt { display: flex; flex-direction: column; gap: 4px; }
.ftopt small { color: #81859f; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.ftopt select, .ftopt input { background: #0e1116; border: 1px solid #262b34; border-radius: 9px; color: #e8eaed; padding: 8px 10px; font-size: 13px; min-width: 130px; }
.ftopt input[type="number"] { min-width: 96px; }
.ftopt select:focus, .ftopt input:focus { outline: 1.5px solid rgba(214,31,108,.6); outline-offset: 1px; }
.ftgo { position: relative; display: block; margin: 16px auto 0; min-width: 220px; height: 52px; border-radius: 26px; border: 0; background: #D61F6C; color: #171205; font-family: inherit; font-size: 15px; font-weight: 650; letter-spacing: -.01em; cursor: pointer; padding: 0 26px; overflow: hidden; transition: transform .2s, box-shadow .2s, opacity .2s; box-shadow: 0 18px 40px -16px rgba(214,31,108,.35), inset 0 1px 0 rgba(255,255,255,.3); }
.ftgo:not(:disabled):hover { transform: scale(1.03); box-shadow: 0 22px 48px -16px rgba(214,31,108,.5), inset 0 1px 0 rgba(255,255,255,.3); }
.ftgo:focus-visible { outline: 2px solid #7aa9ff; outline-offset: 3px; }
.ftgo:disabled { opacity: .45; cursor: not-allowed; }
.ftgo__label { display: inline-block; }
.ftgo__pct { position: absolute; inset: 0 0 auto 0; padding-top: 9px; text-align: center; font-style: normal; font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; display: none; }
.ftgo__prog { position: absolute; left: 16px; right: 16px; bottom: 13px; height: 5px; border-radius: 3px; background: rgba(23,18,5,.22); overflow: hidden; display: none; }
.ftgo__prog span { display: block; height: 100%; width: 0; background: #171205; transition: width .3s; }
.ftgo__done, .ftgo__err { display: none; }
.ftgo__done small { display: block; font-size: 10px; font-weight: 500; opacity: .72; }
.ftgo__err { font-size: 12px; font-weight: 600; line-height: 1.3; }
.ftw.is-working .ftgo { min-width: 244px; }
.ftw.is-working .ftgo__label, .ftw.is-done .ftgo__label, .ftw.is-error .ftgo__label { display: none; }
.ftw.is-working .ftgo__pct, .ftw.is-working .ftgo__prog { display: block; }
.ftw.is-done .ftgo__done { display: block; }
.ftw.is-error .ftgo { background: #e0566d; color: #fff; box-shadow: 0 18px 40px -16px rgba(224,86,109,.4); }
.ftw.is-error .ftgo__err { display: block; }
.ftstatus { min-height: 18px; color: #81859f; font-size: 12px; margin-top: 10px; text-align: center; }
.ftouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.ftouts .merge__card { border: 1px solid #2a2f38; border-radius: 12px; background: #0e1116; overflow: hidden; }
.ftouts .merge__card video, .ftouts .merge__card img { width: 100%; aspect-ratio: 16/9; background: #000; display: block; object-fit: contain; }
.ftouts .merge__card audio { width: 100%; display: block; padding: 10px; background: #0e1116; }
.ftouts .merge__card .ftfile { display: flex; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 16/9; color: #81859f; }
.ftouts .merge__card .ftfile svg { width: 22px; height: 22px; stroke: #7aa9ff; fill: none; stroke-width: 1.6; }
.ftouts .mc-body { padding: 10px 12px; }
.ftouts .mc-body h6 { margin: 0 0 6px; font-size: 12px; color: #e8eaed; }
.ftnote { color: #81859f; font-size: 11px; margin-top: 10px; }
@media (max-width: 900px) { .ftouts { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ftcards { grid-template-columns: 1fr !important; } .ftopt, .ftopt select, .ftopt input { width: 100%; min-width: 0; } }
@media (prefers-reduced-motion: reduce) { .ftcard, .ftgo, .ftcard .merge__bar span { transition: none; } }

/* ---------- pricing: wide enterprise card below the three plans ---------- */
.plan--wide { display: grid; grid-template-columns: minmax(230px, 1fr) 2.2fr; gap: 10px 40px; margin-top: 18px; }
.plan--wide .plan__price { margin-top: 10px; }
.plan--wide .plan__context { min-height: 0; }
.plan--wide .plan__list { columns: 2; column-gap: 36px; }
.plan--wide .plan__dual { max-width: 420px; }
@media (max-width: 900px) {
  .plan--wide { grid-template-columns: 1fr; }
  .plan--wide .plan__list { columns: 1; }
}

/* ---------- shared auth gate (tool pages + hub) ---------- */
.merge__auth { margin-top: 14px; border: 1px solid #2a2f38; border-radius: 12px; padding: 14px; background: #0e1116; }
.merge__auth h6 { color: #e8eaed; }
.merge__auth .prow { display: flex; gap: 8px; margin-bottom: 8px; }
.merge__auth .prow input { flex: 1; background: #0b0d10; border: 1px solid #262b34; border-radius: 9px; color: #e8eaed; padding: 9px 12px; font: inherit; font-size: 13.5px; }
.merge__auth .prow input:focus { outline: 1.5px solid rgba(214,31,108,.6); outline-offset: 1px; }
.merge__note { color: #81859f; font-size: 11px; margin-top: 8px; }

@media (max-width: 900px) { .mcp-grid { grid-template-columns: 1fr !important; gap: 22px; } .mcp-grid > * { min-width: 0; } }

/* ---------- free-tools sub-header + dynamic submenu ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 48; background: var(--header-glass); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.subnav__inner { display: flex; align-items: center; gap: 12px; padding: 9px 20px; max-width: 1240px; margin: 0 auto; }
.subnav__label { font: 700 11px 'JetBrains Mono',monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); text-decoration: none; white-space: nowrap; }
.subnav__label:hover { color: var(--text); }
.subnav__sep { color: var(--muted); }
.subnav__title { color: var(--text); font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.subnav__chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-left: auto; }
.subnav__chips::-webkit-scrollbar { display: none; }
.subnav__chip { flex: none; font: 600 11.5px Inter, sans-serif; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.subnav__chip:hover { border-color: var(--accent); color: var(--text); }
.subnav__chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); }
@media (max-width: 640px) { .subnav__title { display: none; } .subnav__sep { display: none; } }

/* tiny screens: burger-only header */
@media (max-width: 420px) {
  .header__actions .theme-seg { display: none; }
  .header__actions .btn { display: none; }
}

/* ============================================================
   Observer components (cloned system + product-specific layer)
   ============================================================ */

/* ---------- trust badges (exact / estimated / sampled / suppressed) ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font: 600 10px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 99px; border: 1px solid transparent; white-space: nowrap;
}
.badge--exact   { color: var(--ok);   border-color: rgba(111,211,156,.35); background: rgba(111,211,156,.10); }
.badge--est     { color: var(--warn); border-color: rgba(255,196,107,.35); background: rgba(255,196,107,.10); }
.badge--sampled { color: #b18cff;     border-color: rgba(177,140,255,.35); background: rgba(177,140,255,.10); }
.badge--sup     { color: var(--heat); border-color: rgba(224,86,109,.35); background: rgba(224,86,109,.10); }
.badge--blue    { color: var(--accent); border-color: var(--accent-soft); background: var(--accent-soft); }

/* ---------- gradient text + rules (heatmap ramp signature) ---------- */
.grad-text { background: var(--grad-heat); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-rule { height: 3px; border: 0; border-radius: 99px; background: var(--grad-heat); opacity: .85; }

/* ---------- code window ---------- */
.codeblk { border: 1px solid var(--line); border-radius: 14px; background: #0b0d10; overflow: hidden; box-shadow: 0 26px 52px -26px rgba(0,0,0,.65); }
.codeblk__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); }
.codeblk__dot { width: 10px; height: 10px; border-radius: 50%; }
.codeblk__title { color: var(--muted); font: 500 11px var(--mono); margin-left: 6px; }
.codeblk pre { margin: 0; padding: 16px 18px; font: 12px/1.65 var(--mono); color: #cfe6f7; overflow: auto; }
.codeblk .c-key { color: #6f9fc8; }
.codeblk .c-str { color: #7bd88f; }
.codeblk .c-com { color: #5d6373; }
.codeblk .c-acn { color: var(--accent); }

/* ---------- dashboard mockup shell ---------- */
.dash { position: relative; border: 1px solid #262b34; border-radius: 14px; background: #0e1116; overflow: hidden; box-shadow: 0 26px 52px -26px rgba(0,0,0,.65); }
.dash__chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid #22262d; background: #0b0d10; }
.dash__crumb { color: #81859f; font: 500 11px var(--mono); margin-left: 6px; }
.dash__crumb i { font-style: normal; color: #4a4f60; padding: 0 4px; }
.dash__body { display: grid; grid-template-columns: 168px 1fr; min-height: 0; }
.dash__side { border-right: 1px solid #22262d; padding: 12px 10px; background: #0b0d10; }
.dash__side-title { color: #5d6373; font: 600 9.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; margin: 10px 6px 6px; }
.dash__side-title:first-child { margin-top: 0; }
.dash__side-item { display: block; color: #a6abc0; font-size: 12px; padding: 5px 8px; border-radius: 7px; }
.dash__side-item.is-active { color: #e8eaed; background: var(--accent-soft); }
.dash__main { padding: 14px 16px; min-width: 0; }
.dash__top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.dash__search { flex: 1; max-width: 260px; color: #6d7284; font: 500 11px var(--mono); border: 1px solid #262b34; border-radius: 8px; padding: 6px 10px; background: #10131a; }
.dash__live { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--ok); font: 600 10.5px var(--mono); }
.dotlive { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(111,211,156,.5); animation: obs-pulse 1.8s infinite; }
@keyframes obs-pulse { 0% { box-shadow: 0 0 0 0 rgba(111,211,156,.45); } 70% { box-shadow: 0 0 0 7px rgba(111,211,156,0); } 100% { box-shadow: 0 0 0 0 rgba(111,211,156,0); } }
@media (prefers-reduced-motion: reduce) { .dotlive { animation: none; } }

/* KPI tiles inside dashboards */
.dash__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.dash__kpi { border: 1px solid #262b34; border-radius: 10px; background: #10131a; padding: 10px 12px; }
.dash__kpi small { display: flex; align-items: center; gap: 6px; color: #81859f; font-size: 10px; margin-bottom: 4px; }
.dash__kpi b { color: #e8eaed; font: 600 17px/1 var(--font); font-variant-numeric: tabular-nums; }
.dash__kpi .badge { margin-left: auto; }
.dash__chart { border: 1px solid #262b34; border-radius: 10px; background: #10131a; padding: 12px; margin-bottom: 12px; }
.dash__chart small { color: #81859f; font-size: 10px; display: flex; justify-content: space-between; margin-bottom: 8px; }
.dash__chart svg { display: block; width: 100%; height: auto; }

/* generic dashboard table */
.dtable { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.dtable th { color: #5d6373; text-align: left; font: 600 9.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 8px; border-bottom: 1px solid #22262d; }
.dtable td { color: #c7ccd8; padding: 7px 8px; border-bottom: 1px solid rgba(252,252,252,.05); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dtable td:first-child { color: #e8eaed; font-family: var(--mono); font-size: 11px; }
.dtable .num { text-align: right; }
.dtable tr:last-child td { border-bottom: 0; }
.dtable .is-sup { color: #5d6373; font-style: italic; }

/* horizontal bar meter */
.meter { position: relative; height: 6px; border-radius: 99px; background: rgba(252,252,252,.07); overflow: hidden; min-width: 60px; }
.meter span { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: var(--accent); }
.meter--heat span { background: var(--grad-heat); }
.meter--ok span { background: var(--ok); }
.meter--warn span { background: var(--warn); }

/* ---------- session timeline with tab-split lanes ---------- */
.lanes { border: 1px solid #262b34; border-radius: 12px; background: #10131a; padding: 14px; }
.lanes__head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.lanes__head b { color: #e8eaed; font-size: 12.5px; }
.lanes__head .badge { margin-left: auto; }
.lanes__axis { display: flex; justify-content: space-between; color: #5d6373; font: 500 9.5px var(--mono); padding: 0 2px 6px; border-bottom: 1px dashed #262b34; }
.lane { position: relative; margin-top: 14px; }
.lane__label { position: absolute; top: -9px; left: 8px; color: #81859f; font: 600 9.5px var(--mono); letter-spacing: .06em; background: #10131a; padding: 0 6px; border: 1px solid #262b34; border-radius: 99px; z-index: 2; }
.lane__track { position: relative; height: 34px; border: 1px solid #22262d; border-radius: 8px; background: #0b0d10; overflow: hidden; }
.lane__block { position: absolute; top: 0; bottom: 0; background: rgba(214,31,108,.14); border-right: 1px solid rgba(214,31,108,.4); }
.lane__ev { position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 50%; transform: translate(-50%, -50%); }
.lane__ev--pv { background: var(--accent); }
.lane__ev--click { background: #E9A5C2; }
.lane__ev--err { background: var(--heat); }
.lane__ev--goal { background: var(--ok); border-radius: 2px; transform: translate(-50%, -50%) rotate(45deg); }
.lane__ev--vit { background: var(--warn); }
.lane__split { position: absolute; top: -14px; bottom: -6px; width: 2px; background: var(--grad-heat); }
.lane__split::after { content: "⎇"; position: absolute; top: -4px; left: 50%; transform: translateX(-50%); color: var(--heat); font-size: 11px; background: #10131a; padding: 0 3px; }
.lanes__legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; color: #81859f; font-size: 10.5px; }
.lanes__legend span { display: inline-flex; align-items: center; gap: 5px; }
.lanes__legend i { width: 8px; height: 8px; border-radius: 50%; font-style: normal; }

/* ---------- heatmap mockup ---------- */
.hmap { position: relative; border: 1px solid #262b34; border-radius: 12px; background: #10131a; overflow: hidden; }
.hmap__page { padding: 18px 16px 22px; display: grid; gap: 9px; }
.hmap__nav { display: flex; gap: 6px; }
.hmap__nav i { height: 8px; border-radius: 99px; background: #262b34; }
.hmap__hero { height: 44px; border-radius: 8px; background: #161a22; border: 1px solid #22262d; }
.hmap__row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 9px; }
.hmap__card { height: 34px; border-radius: 8px; background: #161a22; border: 1px solid #22262d; }
.hmap__blob { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .8; pointer-events: none; }
.hmap__blob--hot { background: radial-gradient(circle, rgba(233,165,194,.9), rgba(233,165,194,0) 70%); }
.hmap__blob--warm { background: radial-gradient(circle, rgba(214,31,108,.75), rgba(214,31,108,0) 70%); }
.hmap__blob--cool { background: radial-gradient(circle, rgba(109,23,59,.6), rgba(109,23,59,0) 70%); }
.hmap__scale { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 6px; color: #81859f; font: 500 9.5px var(--mono); background: rgba(11,13,16,.8); border: 1px solid #22262d; padding: 4px 8px; border-radius: 99px; }
.hmap__scale i { width: 44px; height: 6px; border-radius: 99px; background: var(--grad-heat); }

/* ---------- ask observer bar ---------- */
.askbar { display: flex; align-items: center; gap: 10px; border: 1px solid #262b34; background: #10131a; border-radius: 12px; padding: 10px 14px; font-size: 13px; color: #c7ccd8; box-shadow: 0 18px 40px -22px rgba(0,0,0,.6); }
.askbar .ci { color: var(--accent); flex: none; }
.askbar em { font-style: normal; color: #6d7284; }
.askbar kbd { margin-left: auto; color: #81859f; font: 500 10px var(--mono); border: 1px solid #262b34; border-radius: 6px; padding: 3px 7px; background: #0b0d10; }

/* ---------- architecture flow ---------- */
.arch { display: grid; gap: 10px; }
.arch__row { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.arch__node { flex: 1 1 150px; border: 1px solid #262b34; border-radius: 12px; background: #10131a; padding: 12px 14px; min-width: 140px; }
.arch__node b { display: flex; align-items: center; gap: 7px; color: #e8eaed; font-size: 12.5px; margin-bottom: 3px; }
.arch__node b .ci { color: var(--accent); }
.arch__node small { color: #81859f; font-size: 11px; line-height: 1.5; display: block; }
.arch__node--hot { border-color: rgba(214,31,108,.5); background: linear-gradient(180deg, rgba(214,31,108,.10), rgba(214,31,108,.03)); }
.arch__flow { display: flex; align-items: center; gap: 8px; color: #5d6373; font: 500 10px var(--mono); }
.arch__flow i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(214,31,108,.0), rgba(214,31,108,.6), rgba(214,31,108,.0)); min-width: 24px; }

/* ---------- proof strip (live privacy proof) ---------- */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.proof__cell { border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--surface) 55%, transparent); padding: 14px 16px; }
.proof__cell b { display: block; color: var(--text); font: 650 22px/1.1 var(--font); font-variant-numeric: tabular-nums; margin: 2px 0 3px; }
.proof__cell small { color: var(--muted); font-size: 11.5px; line-height: 1.5; display: block; }
.proof__cell .badge { margin-bottom: 6px; }

@media (max-width: 720px) {
  .proof { grid-template-columns: 1fr; }
  .dash__kpis { grid-template-columns: repeat(2, 1fr); }
  .dash__body { grid-template-columns: 1fr; }
  .dash__side { display: none; }
}

/* ---------- mobile nav extras ---------- */
.mobile-nav__link { display: block; }

/* small screens: let dashboard tables wrap instead of overflowing */
@media (max-width: 720px) {
  .dtable { font-size: 10.5px; }
  .dtable td, .dtable th { white-space: normal; }
  .dtable td:first-child { font-size: 10px; }
  .lanes { overflow-x: clip; }
  .lanes__head { flex-wrap: wrap; }
  .lanes__axis { display: none; }
  .meter { min-width: 40px; }
}

/* Privacy page: the "this website" notice sits apart from the product text below it, so the accent
   rule marks it as a different subject (the site, not Observer the product). */
.site-notice { border-left: 3px solid var(--accent); padding-left: 28px; }
.site-notice .plain { margin-top: 16px; max-width: 72ch; }
.site-notice .plain a { color: var(--accent); font-weight: 600; }
.site-notice .plain a:hover { text-decoration: underline; text-underline-offset: 3px; }
