@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap");

:root {
  --bg: #040706;
  --surface: #0a0f0d;
  --p1: #0d1512;   /* workspace body */
  --p2: #101a16;   /* rail / cards */
  --p3: #1a2620;   /* focal scout report (brightest) */
  --text: #f4f0ea;
  --text-2: rgba(244, 240, 234, 0.76);
  --muted: rgba(244, 240, 234, 0.56);
  --faint: rgba(244, 240, 234, 0.42);
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --accent: #05c979;
  --accent-soft: rgba(5, 201, 121, 0.72);
  --accent-text: rgba(122, 228, 182, 0.96);
  --amber: rgba(238, 200, 120, 0.95);
  --warn: rgba(231, 138, 126, 0.9);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

:root[data-theme="light"] {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --p1: #faf9f6;
  --p2: #f4f2ec;
  --p3: #eeece5;
  --text: #171a17;
  --text-2: rgba(23, 26, 23, 0.78);
  --muted: rgba(23, 26, 23, 0.56);
  --faint: rgba(23, 26, 23, 0.42);
  --line: rgba(20, 24, 20, 0.16);
  --line-soft: rgba(20, 24, 20, 0.10);
  --accent: #178b4d;
  --accent-soft: rgba(23, 139, 77, 0.72);
  --accent-text: rgba(23, 139, 77, 0.92);
  --amber: rgba(180, 140, 50, 0.95);
  --warn: rgba(180, 60, 55, 0.9);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 36% at 50% -4%, rgba(5, 201, 121, 0.06), transparent 62%),
    radial-gradient(46% 40% at 84% 14%, rgba(5, 201, 121, 0.02), transparent 70%),
    radial-gradient(60% 50% at 50% 118%, rgba(5, 201, 121, 0.028), transparent 70%);
}

a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ─── Topbar ──────────────────────────────────────────────────── */
.topbar {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  width: min(1280px, calc(100% - 32px));
  min-height: 56px;
  padding: 7px 10px 7px 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(10, 15, 13, 0.5);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  color: rgba(244, 240, 234, 0.9);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.topbar.is-scrolled {
  background: rgba(10, 15, 13, 0.82);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px -16px rgba(0, 0, 0, 0.7);
}

.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.brand-mark img { width: 18px; height: 18px; }

.nav-links { display: inline-flex; align-items: center; gap: 22px; font-size: 12.5px; color: var(--faint); }
.nav-links a { transition: color 140ms ease; }
.nav-links a:hover { color: var(--text); }

.nav-cta {
  justify-self: end;
  min-height: 36px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  border: 1px solid rgba(5, 201, 121, 0.28);
  background: rgba(5, 201, 121, 0.06);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  transition: border-color 160ms, background 160ms;
}
.nav-cta:hover { border-color: rgba(5, 201, 121, 0.45); background: rgba(5, 201, 121, 0.1); }

/* ─── Account menu (logged-in nav) ────────────────────────────── */
.nav-account { justify-self: end; position: relative; }
.nav-user { position: relative; }
.nav-user-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 9px 3px 3px;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 160ms, background 160ms;
}
.nav-user-toggle:hover { border-color: rgba(5, 201, 121, 0.45); background: rgba(5, 201, 121, 0.08); }
.nav-user-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--faint);
  border-bottom: 1.5px solid var(--faint);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms;
}
.nav-user-toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(2px); }
.nav-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--p2);
  flex-shrink: 0;
}
.nav-user-initials {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(5, 201, 121, 0.16);
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.nav-user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 244px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(10, 15, 13, 0.94);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.82);
  z-index: 50;
}
.nav-user-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line-soft);
}
.nav-user-head .nav-user-avatar,
.nav-user-head .nav-user-initials { width: 38px; height: 38px; font-size: 13px; }
.nav-user-name { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.2; }
.nav-user-plan { margin-top: 2px; font-size: 11.5px; color: var(--faint); }
.nav-user-link {
  display: block;
  width: 100%;
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 13px;
  text-align: left;
  color: var(--text-2);
  transition: background 140ms, color 140ms;
}
.nav-user-link:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.nav-user-link.is-logout { color: var(--warn); }
.nav-user-link.is-logout:hover { background: rgba(231, 138, 126, 0.1); }

:root[data-theme="light"] .nav-user-menu {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--line);
  box-shadow: 0 12px 36px -8px rgba(0, 0, 0, 0.12);
}
:root[data-theme="light"] .nav-user-link:hover { background: rgba(0, 0, 0, 0.05); }
:root[data-theme="light"] .nav-user-link.is-logout { color: #b53e49; }
:root[data-theme="light"] .nav-user-link.is-logout:hover { background: rgba(181, 62, 73, 0.08); }
:root[data-theme="light"] .nav-user-initials {
  background: rgba(23, 139, 77, 0.12);
  color: var(--accent-text);
}

:root[data-theme="light"] .topbar {
  border-color: rgba(20, 24, 20, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}
:root[data-theme="light"] .topbar.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(20, 24, 20, 0.14);
  box-shadow: 0 8px 28px -10px rgba(0, 0, 0, 0.10);
}
:root[data-theme="light"] .nav-links { color: var(--muted); }
:root[data-theme="light"] .nav-links a:hover { color: var(--text); }
:root[data-theme="light"] .nav-cta {
  border-color: rgba(23, 139, 77, 0.32);
  background: rgba(23, 139, 77, 0.07);
}
:root[data-theme="light"] .nav-cta:hover {
  border-color: rgba(23, 139, 77, 0.5);
  background: rgba(23, 139, 77, 0.12);
}

/* ─── Light mode — page body & atmosphere ────────────────────── */
:root[data-theme="light"] body::before {
  background:
    radial-gradient(60% 36% at 50% -4%, rgba(23, 139, 77, 0.05), transparent 62%),
    radial-gradient(50% 38% at 80% 8%, rgba(120, 140, 220, 0.045), transparent 68%),
    radial-gradient(60% 50% at 50% 118%, rgba(23, 139, 77, 0.02), transparent 70%);
}

/* ─── Light mode — hero typography ───────────────────────────── */
:root[data-theme="light"] h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; }
:root[data-theme="light"] h1 span { color: rgba(23, 139, 77, 0.52); }
:root[data-theme="light"] h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; }

/* ─── Light mode — buttons ───────────────────────────────────── */
:root[data-theme="light"] .button-primary {
  background: #178b4d;
  border-color: rgba(23, 139, 77, 0.7);
  color: #fff;
}
:root[data-theme="light"] .button-primary:hover {
  box-shadow: 0 8px 22px -8px rgba(23, 139, 77, 0.35);
}
:root[data-theme="light"] .button-subtle {
  border-color: var(--line);
  background: #fff;
  color: var(--text);
}
:root[data-theme="light"] .button-subtle:hover {
  border-color: var(--faint);
  background: #fff;
  color: var(--text);
}

/* ─── Light mode — hero scene ────────────────────────────────── */
:root[data-theme="light"] .scene-glow {
  background:
    radial-gradient(closest-side, rgba(23, 139, 77, 0.06), transparent 72%),
    radial-gradient(closest-side, rgba(120, 140, 220, 0.04) 32%, transparent 76%);
}
:root[data-theme="light"] .scene-orb-1 { background: radial-gradient(closest-side, rgba(23, 139, 77, 0.04), transparent 70%); }
:root[data-theme="light"] .scene-orb-2 { background: radial-gradient(closest-side, rgba(120, 140, 220, 0.03), transparent 72%); }
:root[data-theme="light"] .scene-back {
  border-color: var(--line-soft);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.01));
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.08);
  opacity: 0.5;
}

/* ─── Light mode — workspace frame ───────────────────────────── */
:root[data-theme="light"] .workspace {
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 24px 64px -20px rgba(0, 0, 0, 0.10), 0 1px 3px rgba(0, 0, 0, 0.04);
}
:root[data-theme="light"] .workspace::after { box-shadow: none; }
:root[data-theme="light"] .ws-bar {
  border-bottom-color: var(--line-soft);
  background: rgba(0, 0, 0, 0.015);
}
:root[data-theme="light"] .ws-dots span { background: rgba(0, 0, 0, 0.12); }
:root[data-theme="light"] .ws-rankings {
  background: rgba(0, 0, 0, 0.02);
  border-right-color: var(--line-soft);
}
:root[data-theme="light"] .ws-report {
  background: var(--p1);
}
:root[data-theme="light"] .g-bar { background: rgba(0, 0, 0, 0.07); }
:root[data-theme="light"] .g-bar i { background: linear-gradient(90deg, rgba(23, 26, 23, 0.18), rgba(23, 26, 23, 0.38)); }
:root[data-theme="light"] .g-bar.is-accent i { background: linear-gradient(90deg, rgba(23, 139, 77, 0.4), rgba(23, 139, 77, 0.85)); }
:root[data-theme="light"] .rp-sep { background: var(--faint); }
:root[data-theme="light"] .rp-chip { border-color: var(--line-soft); background: rgba(0, 0, 0, 0.02); }
:root[data-theme="light"] .rp-avatar {
  background: linear-gradient(165deg, rgba(23, 139, 77, 0.14), rgba(23, 139, 77, 0.06));
  border-color: rgba(23, 139, 77, 0.22);
}
:root[data-theme="light"] .rk-dot { background: rgba(23, 26, 23, 0.18); }
:root[data-theme="light"] .rk-dot.is-up { background: var(--accent-soft); }
:root[data-theme="light"] .rk-dot.is-down { background: var(--warn); }
:root[data-theme="light"] .rail-count::before { box-shadow: 0 0 5px rgba(23, 139, 77, 0.4); }
:root[data-theme="light"] .ws-fade { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3)); }

/* ─── Light mode — Axis recommendation ───────────────────────── */
:root[data-theme="light"] .axis-rec {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--line);
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
}
:root[data-theme="light"] .rec-action {
  background: #178b4d;
  border-color: rgba(23, 139, 77, 0.6);
  color: #fff;
}
:root[data-theme="light"] .rec-mark { box-shadow: 0 0 6px rgba(23, 139, 77, 0.35); }

/* ─── Light mode — section dividers ──────────────────────────── */
:root[data-theme="light"] .capabilities::before,
:root[data-theme="light"] .showcase::before,
:root[data-theme="light"] .pricing::before,
:root[data-theme="light"] .testimonials::before,
:root[data-theme="light"] .closing-cta::before {
  background: linear-gradient(90deg, transparent, var(--line-soft), transparent);
}

/* ─── Light mode — capability columns ────────────────────────── */
:root[data-theme="light"] .capability-columns {
  border-color: var(--line-soft);
}
:root[data-theme="light"] .capability-columns article + article { border-left-color: var(--line-soft); }
:root[data-theme="light"] .capability-columns article:hover { background: rgba(0, 0, 0, 0.015); }

/* ─── Light mode — tier badges ───────────────────────────────── */
:root[data-theme="light"] .tier-s { background: rgba(23, 139, 77, 0.1); border-color: rgba(23, 139, 77, 0.2); }
:root[data-theme="light"] .tier-a { background: rgba(180, 140, 50, 0.1); border-color: rgba(180, 140, 50, 0.2); }
:root[data-theme="light"] .tier-b { background: rgba(100, 120, 170, 0.1); border-color: rgba(100, 120, 170, 0.2); color: rgba(80, 100, 150, 0.9); }
:root[data-theme="light"] .tier-c { background: rgba(0, 0, 0, 0.04); border-color: rgba(0, 0, 0, 0.1); }

/* demo highlight */
:root[data-theme="light"] .rk-row[data-demo-sel],
:root[data-theme="light"] [data-step="select"] [data-demo-sel],
:root[data-theme="light"] [data-step="report"] [data-demo-sel],
:root[data-theme="light"] [data-step="recommend"] [data-demo-sel],
:root[data-theme="light"] [data-step="confirm"] [data-demo-sel] {
  background: rgba(23, 139, 77, 0.07);
  box-shadow: inset 2px 0 0 rgba(23, 139, 77, 0.5);
}

/* ─── Light mode — showcase / comparison ─────────────────────── */
:root[data-theme="light"] .showcase-window {
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 24px 64px -20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.03);
}
:root[data-theme="light"] .showcase-window::after { box-shadow: none; }
:root[data-theme="light"] .sw-bar {
  background: rgba(0, 0, 0, 0.015);
  border-bottom-color: var(--line-soft);
}
:root[data-theme="light"] .sw-dots span { background: rgba(0, 0, 0, 0.12); }
:root[data-theme="light"] .sw-live {
  border-color: rgba(23, 139, 77, 0.22);
  background: rgba(23, 139, 77, 0.06);
}
:root[data-theme="light"] .sw-live::before { box-shadow: 0 0 5px rgba(23, 139, 77, 0.4); }
:root[data-theme="light"] .cp-player { border-color: var(--line-soft); background: var(--p1); }
:root[data-theme="light"] .cp-chips span { border-color: var(--line-soft); background: rgba(0, 0, 0, 0.02); }
:root[data-theme="light"] .cp-chips span.is-down { border-color: rgba(180, 60, 55, 0.2); background: rgba(180, 60, 55, 0.05); }
:root[data-theme="light"] .compare-metrics {
  border-color: var(--line-soft);
  background: var(--p1);
}
:root[data-theme="light"] .cm-fill.is-a { background: linear-gradient(90deg, rgba(23, 139, 77, 0.25), rgba(23, 139, 77, 0.7)); }
:root[data-theme="light"] .cm-fill.is-b { background: linear-gradient(90deg, rgba(100, 120, 170, 0.2), rgba(100, 120, 170, 0.45)); }
:root[data-theme="light"] .cp-scout-note {
  border-color: rgba(23, 139, 77, 0.14);
  background: rgba(23, 139, 77, 0.03);
}
:root[data-theme="light"] .scout-dot { box-shadow: 0 0 5px rgba(23, 139, 77, 0.35); }

/* ─── Light mode — pricing ───────────────────────────────────── */
:root[data-theme="light"] .pricing-item {
  border-color: var(--line);
  background: #fff;
}
:root[data-theme="light"] .pricing-item:hover {
  border-color: var(--faint);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.08);
}
:root[data-theme="light"] .pricing-item.is-featured {
  border-color: rgba(23, 139, 77, 0.24);
  background: linear-gradient(180deg, rgba(23, 139, 77, 0.03), #fff 40%);
}
:root[data-theme="light"] .pricing-item.is-featured:hover { border-color: rgba(23, 139, 77, 0.38); }
:root[data-theme="light"] .plan-button {
  border-color: var(--line);
  background: var(--p1);
}
:root[data-theme="light"] .plan-button:hover { border-color: var(--faint); background: var(--p2); }
:root[data-theme="light"] .is-featured .plan-button {
  background: #178b4d;
  border-color: rgba(23, 139, 77, 0.6);
  color: #fff;
}
:root[data-theme="light"] .is-featured .plan-button:hover { box-shadow: 0 8px 22px -8px rgba(23, 139, 77, 0.3); }

/* ─── Light mode — footer ────────────────────────────────────── */
:root[data-theme="light"] .footer { border-top-color: var(--line-soft); }

/* ─── Light mode — edge fade ─────────────────────────────────── */
:root[data-theme="light"] .media-edge-fade {
  background: linear-gradient(180deg, transparent, var(--bg) 90%);
}

/* ─── Page layout ─────────────────────────────────────────────── */
main, .footer { width: min(1280px, calc(100% - 32px)); margin: 0 auto; }

.hero, .capabilities, .showcase, .pricing, .testimonials, .closing-cta { position: relative; padding: 96px 0; }
.hero { padding-top: 128px; padding-bottom: 104px; }

.hero-copy, .section-heading, .showcase-copy, .closing-cta { text-align: center; }

.capabilities::before,
.showcase::before,
.pricing::before,
.testimonials::before,
.closing-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1080px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 240, 234, 0.1), transparent);
}

/* ─── Type ────────────────────────────────────────────────────── */
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

h1, h2 { margin-top: 16px; font-family: var(--serif); line-height: 0.98; letter-spacing: -0.01em; }
h1 { font-size: clamp(46px, 6.2vw, 76px); }
h2 { font-size: clamp(36px, 5vw, 62px); }
h1 span { color: rgba(244, 240, 234, 0.56); font-style: italic; white-space: nowrap; }

.hero-text,
.section-heading p:not(.eyebrow),
.showcase-copy p:not(.eyebrow),
.closing-cta p:not(.eyebrow) {
  margin: 18px auto 0;
  max-width: 580px;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.68;
}

/* ─── Buttons ─────────────────────────────────────────────────── */
.hero-actions { margin-top: 36px; display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }

.button-primary, .button-subtle {
  min-height: 47px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button-primary {
  min-width: 176px;
  padding: 0 28px;
  color: #03130c;
  border: 1px solid rgba(5, 201, 121, 0.55);
  background: linear-gradient(180deg, rgba(5, 201, 121, 0.95), rgba(5, 201, 121, 0.8));
  font-weight: 700;
}
.button-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -12px rgba(5, 201, 121, 0.55); }

.button-subtle { min-width: 176px; padding: 0 20px; border: 1px solid var(--line); background: rgba(244, 240, 234, 0.025); color: var(--text-2); }
.button-subtle:hover { color: var(--text); border-color: rgba(244, 240, 234, 0.2); transform: translateY(-1px); }

/* ─── Hero scene ──────────────────────────────────────────────── */
.hero-visual { position: relative; margin: 60px auto 0; width: min(95vw, 1300px); overflow-x: clip; }

.scene { position: relative; min-height: clamp(470px, 50vw, 624px); }

/* deep green glow anchoring the product into the scene */
.scene-glow {
  position: absolute;
  z-index: 0;
  left: 10%;
  top: 2%;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(5, 201, 121, 0.16), transparent 72%),
    radial-gradient(closest-side, rgba(5, 201, 121, 0.05) 32%, transparent 76%);
  filter: blur(56px);
  pointer-events: none;
}

/* soft blurred background shapes for depth */
.scene-orb { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; filter: blur(66px); }
.scene-orb-1 { width: 42%; height: 56%; left: -8%; top: 4%; background: radial-gradient(closest-side, rgba(5, 201, 121, 0.1), transparent 70%); }
.scene-orb-2 { width: 34%; height: 46%; right: -6%; bottom: -6%; background: radial-gradient(closest-side, rgba(5, 201, 121, 0.06), transparent 72%); }

/* faded stacked window behind for layered depth */
.scene-back {
  position: absolute;
  z-index: 1;
  top: -22px;
  left: 42px;
  right: 42px;
  height: 70%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  background: linear-gradient(180deg, rgba(26, 36, 30, 0.5), rgba(10, 15, 12, 0.14));
  box-shadow: 0 30px 70px -32px rgba(0, 0, 0, 0.6);
  opacity: 0.6;
  pointer-events: none;
}

.scene-main { position: relative; z-index: 2; }

/* ─── Workspace window ────────────────────────────────────────── */
.workspace {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, var(--p1) 0%, #091310 78%);
  box-shadow:
    0 50px 130px -40px rgba(0, 0, 0, 0.84),
    0 18px 48px -24px rgba(0, 0, 0, 0.6);
}
.workspace::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(244, 240, 234, 0.07);
}

.ws-bar {
  position: relative;
  z-index: 3;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.015);
}

.ws-dots { display: flex; gap: 6px; flex: 0 0 auto; }
.ws-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(244, 240, 234, 0.14); }

.ws-tabs { display: inline-flex; align-items: center; gap: 3px; }
.ws-tabs span {
  min-height: 28px;
  padding: 0 13px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  transition: color 320ms ease, background 320ms ease;
}
.ws-tabs span.is-active { color: var(--text); background: rgba(5, 201, 121, 0.13); }

.ws-stamp { margin-left: auto; color: var(--faint); font-size: 11px; font-weight: 500; }

.ws-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(216px, 0.82fr) 1.34fr;
  min-height: clamp(340px, 37vw, 472px);
}

/* ── Supporting rankings rail ── */
.ws-rankings {
  border-right: 1px solid var(--line-soft);
  padding: 16px 13px 18px;
  background: rgba(0, 0, 0, 0.18);
}

.rail-head { display: flex; align-items: baseline; justify-content: space-between; padding: 2px 8px 12px; }
.rail-head span:first-child { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.rail-count {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--accent-text); display: inline-flex; align-items: center; gap: 6px;
}
.rail-count::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 7px rgba(5, 201, 121, 0.7); }

.rail-list { display: grid; gap: 2px; }

.rk-row {
  display: grid;
  grid-template-columns: 22px 1fr 20px 56px 8px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  width: 100%;
  text-align: left;
  color: var(--muted);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  transition: background 380ms ease, color 380ms ease, box-shadow 380ms ease, opacity 480ms ease;
}

.rk-rank { color: var(--faint); font-weight: 600; }
.rk-name { font-weight: 600; color: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-tier { width: 18px; height: 18px; border-radius: 5px; font-style: normal; font-size: 9.5px; font-weight: 700; display: inline-grid; place-items: center; }
.rk-pwr { text-align: right; font-weight: 600; color: var(--text-2); }
.rk-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(244, 240, 234, 0.26); justify-self: center; }
.rk-dot.is-up { background: var(--accent-soft); }
.rk-dot.is-down { background: var(--warn); }

/* tier colours (shared) — soft fills, no neon outline */
.tier-s { background: rgba(5, 201, 121, 0.14); border: 1px solid rgba(5, 201, 121, 0.22); color: var(--accent-text); }
.tier-a { background: rgba(232, 188, 96, 0.13); border: 1px solid rgba(232, 188, 96, 0.22); color: var(--amber); }
.tier-b { background: rgba(150, 170, 210, 0.11); border: 1px solid rgba(150, 170, 210, 0.2); color: rgba(182, 200, 234, 0.95); }
.tier-c { background: rgba(244, 240, 234, 0.06); border: 1px solid rgba(244, 240, 234, 0.12); color: var(--text-2); }

/* ── Focal scout report ── */
.ws-report {
  position: relative;
  padding: 24px 26px 26px;
  background: linear-gradient(180deg, var(--p3) 0%, #131e19 74%);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rp-head { display: flex; align-items: center; gap: 15px; }

.rp-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(5, 201, 121, 0.24), rgba(5, 201, 121, 0.08));
  border: 1px solid rgba(5, 201, 121, 0.26);
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--accent-text);
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}

.rp-id { min-width: 0; }
.rp-name-row { display: flex; align-items: center; gap: 10px; }
.rp-name { font-family: var(--serif); font-size: 29px; line-height: 1; color: var(--text); }
.rp-tier { width: 23px; height: 23px; border-radius: 7px; font-size: 10.5px; font-weight: 700; display: inline-grid; place-items: center; }
.rp-meta { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; }

.rp-rank { margin-left: auto; text-align: right; flex: 0 0 auto; }
.rp-rank small { display: block; color: var(--faint); font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.rp-rank b { display: block; margin-top: 3px; font-size: 28px; font-weight: 800; line-height: 1; color: var(--accent); letter-spacing: -0.02em; }

.rp-keyline { display: flex; align-items: center; gap: 12px; }
.rp-pwr { font-size: 13px; color: var(--text-2); }
.rp-pwr b { font-size: 18px; font-weight: 700; color: var(--text); }
.rp-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(244, 240, 234, 0.25); }
.rp-eps { font-size: 12.5px; color: var(--muted); font-weight: 600; }

.rp-gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rp-gauge { display: grid; gap: 9px; }

.g-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.g-top span { font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.g-top b { font-size: 13px; font-weight: 700; color: var(--text); }

.g-bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.09); overflow: hidden; }
.g-bar i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(244, 240, 234, 0.28), rgba(244, 240, 234, 0.5));
  transition: width 900ms var(--ease);
}
.g-bar.is-accent { height: 7px; }
.g-bar.is-accent i { background: linear-gradient(90deg, rgba(5, 201, 121, 0.5), rgba(5, 201, 121, 0.95)); }

.rp-signal { display: grid; gap: 9px; }

.rp-foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.rp-chip {
  min-height: 26px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-2);
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.ws-fade { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 52px; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(8, 12, 10, 0.4)); }

/* ── Floating Axis recommendation ── */
.axis-rec {
  position: absolute;
  z-index: 5;
  left: clamp(10px, 3.5vw, 40px);
  bottom: clamp(-20px, -2.2vw, 2px);
  width: clamp(252px, 27vw, 340px);
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(14, 21, 17, 0.88);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 34px 70px -24px rgba(0, 0, 0, 0.76), inset 0 1px 0 rgba(244, 240, 234, 0.06);
  display: grid;
  gap: 9px;
}

.rec-top { display: flex; align-items: center; gap: 8px; }
.rec-mark { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px rgba(5, 201, 121, 0.65); flex: 0 0 auto; }
.rec-eyebrow { font-size: 9.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent-text); }
.rec-title { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.2; }
.rec-sub { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.5; }

.rec-actions { display: flex; align-items: center; gap: 12px; margin-top: 2px; }
.rec-action {
  min-height: 30px;
  padding: 0 16px;
  border-radius: 9px;
  border: 1px solid rgba(5, 201, 121, 0.5);
  background: linear-gradient(180deg, rgba(5, 201, 121, 0.92), rgba(5, 201, 121, 0.74));
  color: #03130c;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  transition: transform 220ms var(--ease), box-shadow 220ms ease;
}
.rec-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-text);
  font-size: 11.5px;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 400ms ease 120ms, transform 400ms var(--ease) 120ms;
}
.rec-check i { position: relative; width: 15px; height: 15px; border-radius: 50%; background: rgba(5, 201, 121, 0.16); border: 1px solid rgba(5, 201, 121, 0.4); flex: 0 0 auto; }
.rec-check i::before { content: ""; position: absolute; left: 4px; top: 2.5px; width: 4px; height: 7px; border: 1.6px solid var(--accent-text); border-top: 0; border-left: 0; transform: rotate(45deg); }

.media-edge-fade { position: absolute; z-index: 3; left: 0; right: 0; bottom: -12px; height: 96px; pointer-events: none; background: linear-gradient(180deg, transparent, var(--bg) 90%); }

/* ─── Demo timeline (data-step on .scene) ─────────────────────── */
/* Base (no-JS / resolved): report + recommendation visible, Muz highlighted. */
.ws-report { opacity: 1; transform: none; transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.axis-rec { opacity: 1; transform: translateY(0); transition: opacity 600ms ease, transform 700ms var(--ease); }

/* Highlight the selected player (Muz) */
.rk-row[data-demo-sel],
[data-step="select"] [data-demo-sel],
[data-step="report"] [data-demo-sel],
[data-step="recommend"] [data-demo-sel],
[data-step="confirm"] [data-demo-sel] {
  background: rgba(5, 201, 121, 0.09);
  color: var(--text);
  box-shadow: inset 2px 0 0 rgba(5, 201, 121, 0.55);
}
/* …but neutral while idling / switching region */
[data-step="idle"] .rk-row[data-demo-sel],
[data-step="switch"] .rk-row[data-demo-sel] { background: transparent; color: var(--muted); box-shadow: none; }

/* Dim the rest while a player is under review */
[data-step="select"] .rk-row:not([data-demo-sel]),
[data-step="report"] .rk-row:not([data-demo-sel]),
[data-step="recommend"] .rk-row:not([data-demo-sel]),
[data-step="confirm"] .rk-row:not([data-demo-sel]) { opacity: 0.4; }

/* Report opens only once the player is chosen */
[data-step="idle"] .ws-report,
[data-step="select"] .ws-report,
[data-step="switch"] .ws-report { opacity: 0; transform: translateY(18px) scale(0.985); pointer-events: none; }

/* Gauges fill from empty when the report opens */
[data-step="idle"] .g-bar i,
[data-step="select"] .g-bar i,
[data-step="switch"] .g-bar i { width: 0; }

/* Recommendation rises only at the recommend/confirm beats */
[data-step="idle"] .axis-rec,
[data-step="select"] .axis-rec,
[data-step="report"] .axis-rec,
[data-step="switch"] .axis-rec { opacity: 0; transform: translateY(24px); pointer-events: none; }

/* Subtle button press + confirmation on the confirm beat */
[data-step="confirm"] .rec-action { transform: scale(0.96); box-shadow: 0 0 0 4px rgba(5, 201, 121, 0.12); }
[data-step="confirm"] .rec-check { opacity: 1; transform: none; }

/* ─── Capabilities ────────────────────────────────────────────── */
.section-heading { max-width: 820px; margin: 0 auto 52px; }

.capability-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.capability-columns article { padding: 32px 28px 34px; display: grid; align-content: start; gap: 14px; transition: background 220ms ease; }
.capability-columns article:hover { background: rgba(244, 240, 234, 0.018); }
.capability-columns article + article { border-left: 1px solid var(--line-soft); }

.cap-head { display: flex; align-items: baseline; gap: 13px; }
.cap-head span { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; flex: 0 0 auto; }
.capability-columns h3 { margin-top: 0; font-size: 23px; font-family: var(--serif); line-height: 1.08; }
.capability-columns p { margin-top: 0; color: var(--text-2); font-size: 14px; line-height: 1.65; }
.capability-columns ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.capability-columns li { position: relative; padding-left: 16px; color: var(--text-2); font-size: 13px; }
.capability-columns li::before { content: ""; position: absolute; top: 0.72em; left: 0; width: 5px; height: 5px; border-radius: 999px; background: var(--accent); }

/* ─── Showcase / comparison ───────────────────────────────────── */
.showcase { overflow: hidden; }
.showcase-copy { max-width: 820px; margin: 0 auto 44px; }

.showcase-window {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--p1), #091310);
  overflow: hidden;
  box-shadow: 0 44px 110px -38px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(244, 240, 234, 0.05);
}

.sw-bar { min-height: 46px; background: rgba(255, 255, 255, 0.015); border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; gap: 14px; padding: 0 16px; }
.sw-dots { display: flex; gap: 6px; flex: 0 0 auto; }
.sw-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(244, 240, 234, 0.14); }
.sw-title { flex: 0 0 auto; color: var(--muted); font-size: 11px; font-weight: 600; }
.sw-right { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.sw-status { color: var(--accent-text); font-family: var(--serif); font-size: 19px; line-height: 1; }
.sw-live {
  min-height: 20px; padding: 0 9px; border-radius: 6px;
  border: 1px solid rgba(5, 201, 121, 0.26); background: rgba(5, 201, 121, 0.07);
  color: var(--accent-text); font-size: 9.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}
.sw-live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 7px rgba(5, 201, 121, 0.7); }

.compare-preview { padding: 26px 26px 28px; display: grid; gap: 22px; }
.compare-head { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; gap: 16px; }

.cp-player { min-height: 104px; border: 1px solid var(--line-soft); border-radius: 14px; padding: 15px 17px; background: var(--p2); display: grid; align-content: start; gap: 7px; }
.cp-role { color: var(--faint); font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.cp-name-row { display: flex; align-items: center; gap: 9px; }
.cp-name-row strong { font-size: 28px; line-height: 1; font-family: var(--serif); color: var(--text); }
.tier-badge { height: 20px; padding: 0 8px; border-radius: 6px; font-style: normal; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; }
.cp-sub { color: var(--muted); font-size: 12px; }
.cp-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.cp-chips span { min-height: 20px; padding: 0 9px; border-radius: 6px; border: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.03); color: var(--muted); font-size: 10px; font-weight: 600; display: inline-flex; align-items: center; }
.cp-chips span.is-down { border-color: rgba(231, 138, 126, 0.24); background: rgba(231, 138, 126, 0.06); color: var(--warn); }

.compare-vs { text-align: center; color: var(--accent-text); font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }

.compare-metrics { border: 1px solid var(--line-soft); border-radius: 14px; padding: 16px 20px; background: rgba(0, 0, 0, 0.18); display: grid; gap: 14px; }
.cm-metric { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 20px; }
.cm-label { color: var(--faint); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; }
.cm-bars { display: grid; gap: 6px; }
.cm-bar { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
.cm-fill { height: 5px; border-radius: 999px; }
.cm-fill.is-a { background: linear-gradient(90deg, rgba(5, 201, 121, 0.32), rgba(5, 201, 121, 0.8)); }
.cm-fill.is-b { background: linear-gradient(90deg, rgba(150, 170, 210, 0.22), rgba(150, 170, 210, 0.5)); }
.cm-bar span { font-size: 11px; font-weight: 600; color: var(--muted); min-width: 32px; text-align: right; font-variant-numeric: tabular-nums; }

.cp-scout-note { border: 1px solid rgba(5, 201, 121, 0.14); border-radius: 12px; background: rgba(5, 201, 121, 0.035); padding: 13px 15px; display: flex; align-items: flex-start; gap: 11px; }
.scout-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; margin-top: 5px; box-shadow: 0 0 8px rgba(5, 201, 121, 0.55); }
.cp-scout-note p { margin: 0; color: var(--text-2); font-size: 12.5px; line-height: 1.55; }

/* ─── Pricing ─────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }

.pricing-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.014), var(--surface) 32%);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.pricing-item:hover { transform: translateY(-5px); border-color: rgba(244, 240, 234, 0.2); box-shadow: 0 26px 60px -28px rgba(0, 0, 0, 0.7); }
.pricing-item.is-featured { border-color: rgba(5, 201, 121, 0.26); background: linear-gradient(180deg, rgba(5, 201, 121, 0.05), var(--surface) 38%); }
.pricing-item.is-featured:hover { border-color: rgba(5, 201, 121, 0.4); }

.plan-kicker { color: var(--accent); font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.pricing-item h3 { margin-top: 11px; font-family: var(--serif); font-size: 29px; line-height: 1.05; }
.plan-price { margin-top: 20px; font-size: 42px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.plan-price span { margin-left: 4px; font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.pricing-item p { margin-top: 12px; color: var(--text-2); font-size: 14px; line-height: 1.6; }
.pricing-item ul { margin: 18px 0 26px; padding: 0; list-style: none; display: grid; gap: 11px; }
.pricing-item li { position: relative; padding-left: 17px; color: var(--text-2); font-size: 14px; }
.pricing-item li::before { content: ""; position: absolute; top: 0.7em; left: 0; width: 5px; height: 5px; border-radius: 999px; background: var(--accent); }

.plan-button {
  margin-top: auto; min-height: 47px; width: 100%; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(244, 240, 234, 0.03); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 600;
  transition: background 180ms, border-color 180ms, box-shadow 180ms;
}
.plan-button:hover { border-color: rgba(244, 240, 234, 0.22); background: rgba(244, 240, 234, 0.06); }
.is-featured .plan-button { border-color: rgba(5, 201, 121, 0.5); background: linear-gradient(180deg, rgba(5, 201, 121, 0.92), rgba(5, 201, 121, 0.76)); color: #03130c; font-weight: 700; }
.is-featured .plan-button:hover { box-shadow: 0 12px 28px -14px rgba(5, 201, 121, 0.5); }
.plan-button-locked,
.is-featured .plan-button-locked {
  cursor: not-allowed;
  border-color: rgba(244, 240, 234, 0.14);
  background: repeating-linear-gradient(135deg, rgba(244, 240, 234, 0.045) 0 8px, rgba(244, 240, 234, 0.02) 8px 16px);
  color: var(--muted);
  box-shadow: inset 0 1px 0 rgba(244, 240, 234, 0.05);
}
.plan-button-locked:hover,
.is-featured .plan-button-locked:hover {
  border-color: rgba(244, 240, 234, 0.14);
  background: repeating-linear-gradient(135deg, rgba(244, 240, 234, 0.045) 0 8px, rgba(244, 240, 234, 0.02) 8px 16px);
  box-shadow: inset 0 1px 0 rgba(244, 240, 234, 0.05);
}
.lock-icon {
  width: 15px;
  height: 15px;
  overflow: hidden;
  color: transparent;
  position: relative;
  flex: 0 0 auto;
}
.lock-icon::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  width: 7px;
  height: 8px;
  border: 1.6px solid currentColor;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  color: var(--muted);
}
.lock-icon::after {
  content: "";
  position: absolute;
  left: 1px;
  bottom: 1px;
  width: 13px;
  height: 9px;
  border-radius: 3px;
  background: currentColor;
  color: var(--muted);
}

/* ─── Closing CTA ─────────────────────────────────────────────── */
.closing-cta { max-width: 820px; margin: 0 auto; padding-bottom: 84px; }
.closing-cta .button-primary { margin-top: 30px; }

/* ─── Footer ──────────────────────────────────────────────────── */
.footer { min-height: 104px; border-top: 1px solid var(--line-soft); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; color: var(--text-2); font-size: 12px; }
.footer nav { display: flex; gap: 20px; }
.footer a:hover { color: var(--text); }
.footer > span { justify-self: end; }

/* ─── Reveal animation ────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 560ms ease, transform 560ms ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero, .capabilities, .showcase, .pricing, .testimonials, .closing-cta { padding: 76px 0; }
  .hero { padding-top: 112px; }
  .capability-columns h3 { font-size: 21px; }
  .ws-body { grid-template-columns: minmax(196px, 0.9fr) 1.26fr; }
  .rp-name { font-size: 25px; }
}

@media (max-width: 980px) {
  .capability-columns { grid-template-columns: 1fr; }
  .capability-columns article + article { border-left: 0; border-top: 1px solid var(--line-soft); }
  .pricing-grid { grid-template-columns: 1fr; }
  .scene-back { top: -16px; left: 28px; right: 28px; }
}

@media (max-width: 820px) {
  .topbar { min-height: 52px; grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  h1 { font-size: clamp(40px, 11.5vw, 60px); }
  h1 span { white-space: normal; }
  .button-primary, .button-subtle { width: 100%; }

  /* stack the workspace: report first (focal), rankings below */
  .ws-body { grid-template-columns: 1fr; }
  .ws-report { order: -1; }
  .ws-rankings { border-right: 0; border-top: 1px solid var(--line-soft); }

  .compare-head { grid-template-columns: 1fr; gap: 12px; }
  .compare-vs { order: -1; }
  .sw-right { display: none; }
}

@media (max-width: 768px) {
  .pricing-item h3 { font-size: 26px; }
  .plan-price { font-size: 38px; }
  .capability-columns article { padding: 24px 20px 26px; }
  .cm-metric { grid-template-columns: 74px 1fr; gap: 14px; }
  .rp-gauges { gap: 12px; }
}

@media (max-width: 640px) {
  main, .footer, .topbar { width: min(100% - 24px, 1440px); }
  .hero, .capabilities, .showcase, .pricing, .testimonials, .closing-cta { padding: 64px 0; }
  .hero { padding-top: 96px; padding-bottom: 72px; }

  .hero-visual { width: 100%; }
  .scene { min-height: 0; }
  .scene-back { display: none; }

  .ws-report { padding: 18px; }
  .rp-gauges { grid-template-columns: 1fr; gap: 11px; }

  .axis-rec { position: relative; left: auto; bottom: auto; width: 100%; margin: 12px auto 0; }

  .media-edge-fade { display: none; }
  .compare-preview { padding: 18px; }
  .showcase-window { border-radius: 16px; }

  .footer { grid-template-columns: 1fr; padding: 24px 0; }
  .footer > span { justify-self: start; }
}

@media (max-width: 375px) {
  .topbar { width: calc(100% - 16px); }
  main, .footer { width: calc(100% - 16px); }
  .hero-actions { gap: 10px; }
  .rk-row { grid-template-columns: 20px 1fr 18px 50px 8px; gap: 8px; }
}

/* ─── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ws-report, .axis-rec, .g-bar i, .rk-row, .rec-action, .rec-check, .ws-tabs span {
    transition: none !important;
  }
  .button-primary:hover, .button-subtle:hover, .pricing-item:hover { transform: none; }
}

/* ════════════════════════════════════════════════════════════════════
   SUB-PAGE LAYER  —  features / about / privacy / terms
   Shares the landing tokens, serif display type, accent, and panel
   materials so the secondary pages read as one continuous product site.
   ════════════════════════════════════════════════════════════════════ */

/* ─── Active nav link ─────────────────────────────────────────────── */
.nav-links a.is-current { color: var(--text); }

/* ─── Page hero (top of every sub-page) ───────────────────────────── */
.page-hero { position: relative; padding: 150px 0 8px; text-align: center; }
.page-hero .hero-inner { max-width: 760px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(40px, 6vw, 68px); }
.page-hero .lead {
  margin: 20px auto 0;
  max-width: 600px;
  color: var(--text-2);
  font-size: clamp(15.5px, 1.5vw, 17px);
  line-height: 1.66;
}
:root[data-theme="light"] .page-hero h1 { line-height: 0.98; }

.chip-row { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.chip {
  min-height: 30px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(244, 240, 234, 0.03);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
}
:root[data-theme="light"] .chip { background: rgba(0, 0, 0, 0.02); }

/* ─── Section scaffold ────────────────────────────────────────────── */
.subsection { position: relative; padding: clamp(72px, 9vw, 116px) 0; }
.subsection.is-tight { padding: clamp(48px, 7vw, 80px) 0; }
.subsection .section-heading { text-align: center; }
.subsection .section-heading.is-left { text-align: left; margin-left: 0; }
.subsection .section-heading.is-left p:not(.eyebrow) { margin-left: 0; }

/* ─── Feature rows (alternating copy + visual) ────────────────────── */
.feature-rows { display: grid; gap: clamp(64px, 8vw, 120px); }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}
.feature-row.is-flip .feature-media { order: -1; }
.feature-copy h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.04; }
.feature-copy p { margin-top: 16px; color: var(--text-2); font-size: 15px; line-height: 1.66; max-width: 30em; }

/* ─── Framed panel (echoes the landing workspace window) ──────────── */
.panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--p1), #091310);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(244, 240, 234, 0.05);
  overflow: hidden;
}
:root[data-theme="light"] .panel {
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 24px 64px -22px rgba(0, 0, 0, 0.10), 0 1px 3px rgba(0, 0, 0, 0.04);
}
.panel-bar {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.015);
}
:root[data-theme="light"] .panel-bar { background: rgba(0, 0, 0, 0.015); }
.panel-bar .dots { display: flex; gap: 6px; }
.panel-bar .dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(244, 240, 234, 0.14); }
:root[data-theme="light"] .panel-bar .dots span { background: rgba(0, 0, 0, 0.12); }
.panel-bar .panel-title { color: var(--muted); font-size: 11px; font-weight: 600; }
.panel-bar .panel-live {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 20px; padding: 0 9px; border-radius: 6px;
  border: 1px solid rgba(5, 201, 121, 0.26); background: rgba(5, 201, 121, 0.07);
  color: var(--accent-text); font-size: 9.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
}
.panel-bar .panel-live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 7px rgba(5, 201, 121, 0.7); }
.panel-body { padding: 22px; }

/* Mini ranking table inside a panel */
.frank { display: grid; grid-template-columns: 26px 1fr 24px 56px 46px; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; transition: background 200ms ease; }
.frank + .frank { margin-top: 1px; }
.frank:hover { background: rgba(244, 240, 234, 0.02); }
:root[data-theme="light"] .frank:hover { background: rgba(0, 0, 0, 0.015); }
.frank .fr-rank { color: var(--faint); font-weight: 600; }
.frank .fr-name { font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frank .fr-pwr { text-align: right; font-weight: 600; color: var(--text-2); }
.frank .fr-reg { text-align: right; color: var(--faint); font-size: 11px; font-weight: 600; }

/* Breakdown bars inside a panel */
.bar-grid { display: grid; gap: 16px; padding: 6px; }
.bar-row { display: grid; gap: 8px; }
.bar-row .bar-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.bar-row .bar-label { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); }
.bar-row .bar-val { font-size: 12.5px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.bar-track { height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.09); overflow: hidden; }
:root[data-theme="light"] .bar-track { background: rgba(0, 0, 0, 0.07); }
/* Width carries the data and is always visible; the entrance is the row fade,
   never a class-gated width transition (which ships blank in headless/hidden
   renderers). A subtle, self-running grow keyframe adds life without gating. */
.bar-fill {
  height: 100%;
  width: var(--w);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(5, 201, 121, 0.5), rgba(5, 201, 121, 0.92));
  transform-origin: left center;
}
.bar-fill.is-low { background: linear-gradient(90deg, rgba(231, 138, 126, 0.45), rgba(231, 138, 126, 0.8)); }
@media (prefers-reduced-motion: no-preference) {
  .bar-fill { animation: barGrow 900ms var(--ease) both; }
  @keyframes barGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Compare stack inside a panel */
.cmp-stack { display: grid; gap: 11px; padding: 4px; }
.cmp-card { border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px 16px; background: var(--p2); }
:root[data-theme="light"] .cmp-card { background: var(--p1); }
.cmp-card.is-note { border-color: rgba(5, 201, 121, 0.16); background: rgba(5, 201, 121, 0.035); }
.cmp-card strong { display: block; font-family: var(--serif); font-size: 19px; line-height: 1.1; color: var(--text); }
.cmp-card span { display: block; margin-top: 5px; color: var(--text-2); font-size: 13px; line-height: 1.5; }

/* ─── CTA band ────────────────────────────────────────────────────── */
.cta-band {
  position: relative;
  border: 1px solid rgba(5, 201, 121, 0.2);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 46px);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(5, 201, 121, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(5, 201, 121, 0.04), var(--surface) 60%);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}
:root[data-theme="light"] .cta-band {
  border-color: rgba(23, 139, 77, 0.2);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(23, 139, 77, 0.07), transparent 55%),
    linear-gradient(180deg, rgba(23, 139, 77, 0.03), #fff 60%);
}
.cta-band h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.05; }
.cta-band p { margin-top: 14px; color: var(--text-2); font-size: 14.5px; line-height: 1.6; max-width: 38em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-band .button-primary, .cta-band .button-subtle { min-width: 0; }

/* ─── About — split intro ─────────────────────────────────────────── */
.about-split { display: grid; grid-template-columns: 220px 1fr; gap: clamp(20px, 4vw, 56px); align-items: start; }
.about-split .split-label .eyebrow { display: inline-block; padding-top: 6px; }
.about-split h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.08; }
.about-split p { margin-top: 16px; color: var(--text-2); font-size: 15px; line-height: 1.7; max-width: 60ch; }

/* ─── About — data visual ─────────────────────────────────────────── */
.data-visual { border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; background: var(--surface); display: grid; gap: 16px; }
:root[data-theme="light"] .data-visual { background: #fff; }

/* ─── About — quote ───────────────────────────────────────────────── */
.about-quote { max-width: 880px; margin: 0 auto; text-align: center; }
.about-quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(24px, 3.6vw, 40px); line-height: 1.18; letter-spacing: -0.01em; color: var(--text); }
.about-quote cite { display: block; margin-top: 20px; font-style: normal; color: var(--muted); font-size: 13px; }

/* ─── About — pillars ─────────────────────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.pillar { padding: 30px 26px 32px; display: grid; align-content: start; gap: 12px; transition: background 220ms ease; }
.pillar:hover { background: rgba(244, 240, 234, 0.018); }
:root[data-theme="light"] .pillar:hover { background: rgba(0, 0, 0, 0.015); }
.pillar + .pillar { border-left: 1px solid var(--line-soft); }
.pillar .pillar-num { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; }
.pillar h3 { font-family: var(--serif); font-size: 21px; line-height: 1.12; }
.pillar p { color: var(--text-2); font-size: 13.5px; line-height: 1.62; }

/* ─── FAQ (native details/summary) ────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
:root[data-theme="light"] .faq-item { background: #fff; }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 17px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 14.5px; font-weight: 600; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: 0 0 auto; width: 9px; height: 9px;
  border-right: 1.6px solid var(--faint); border-bottom: 1.6px solid var(--faint);
  transform: rotate(45deg); transition: transform 220ms var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--text-2); font-size: 13.5px; line-height: 1.66; max-width: 66ch; }

/* ─── Legal pages (prose) ─────────────────────────────────────────── */
.legal-shell { max-width: 760px; margin: 0 auto; }
.legal-card { margin-top: 34px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: clamp(24px, 4vw, 40px); display: grid; gap: 26px; }
:root[data-theme="light"] .legal-card { background: #fff; }
.legal-card section { display: grid; gap: 9px; }
.legal-card h2 { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.12; }
.legal-card p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.72; }
.legal-card a { color: var(--accent-text); }
.legal-card a:hover { text-decoration: underline; }
.legal-meta { margin-top: 16px; color: var(--faint); font-size: 12.5px; }

/* ─── Footer X / social link ──────────────────────────────────────── */
.footer .x-link { display: inline-flex; align-items: center; gap: 7px; }
.footer .x-link svg { width: 13px; height: 13px; }

/* ─── Sub-page responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; gap: 26px; }
  .feature-row.is-flip .feature-media { order: 0; }
  .feature-media { order: -1; }
  .about-split { grid-template-columns: 1fr; gap: 14px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line-soft); }
  .cta-band { grid-template-columns: 1fr; gap: 20px; }
  .cta-actions { justify-content: flex-start; }
}

@media (max-width: 820px) {
  .page-hero { padding-top: 124px; }
}

@media (max-width: 640px) {
  .page-hero { padding-top: 108px; }
  .legal-card { padding: 22px; }
}

/* ════════════════════════════════════════════════════════════════════
   FEATURES STORY LAYER  —  distinct rhythm per section
   Each block below is a deliberately different layout so the page reads
   as a product story, not one template repeated.
   ════════════════════════════════════════════════════════════════════ */

/* ─── Lead-in (centered intro above a full-width product moment) ───── */
.lead-in { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.lead-in h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.05; }
.lead-in p { margin: 16px auto 0; max-width: 560px; color: var(--text-2); font-size: 15.5px; line-height: 1.68; }

/* ─── Showcase panel (one spacious editorial product moment) ──────── */
.showpanel { max-width: 1040px; margin: 0 auto; }
.showpanel .panel-body { padding: clamp(20px, 3vw, 32px); }
.showpanel-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(20px, 3vw, 34px); align-items: stretch; }
.showpanel-rail { border-right: 1px solid var(--line-soft); padding-right: clamp(16px, 2.4vw, 28px); }
.showpanel-rail .rail-cap { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.showpanel-rail .rail-cap span { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.showpanel-report { display: grid; align-content: start; gap: 20px; }
.report-id { display: flex; align-items: center; gap: 15px; }
.report-id .ravatar {
  width: 52px; height: 52px; border-radius: 16px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 16px; font-weight: 800; letter-spacing: 0.04em;
  color: var(--accent-text);
  background: linear-gradient(165deg, rgba(5, 201, 121, 0.24), rgba(5, 201, 121, 0.08));
  border: 1px solid rgba(5, 201, 121, 0.26);
}
.report-id .rname { font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--text); }
.report-id .rmeta { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; }
.report-id .rrank { margin-left: auto; text-align: right; }
.report-id .rrank small { display: block; color: var(--faint); font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.report-id .rrank b { display: block; margin-top: 3px; font-size: 26px; font-weight: 800; line-height: 1; color: var(--accent); letter-spacing: -0.02em; }
.report-foot { display: flex; gap: 8px; flex-wrap: wrap; }
.report-foot .rchip {
  min-height: 26px; padding: 0 12px; border-radius: 8px;
  border: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.025);
  color: var(--text-2); font-size: 11.5px; font-weight: 600; display: inline-flex; align-items: center;
}
:root[data-theme="light"] .report-foot .rchip { background: rgba(0, 0, 0, 0.02); }

/* ─── Versus (rank vs signal — comparison/tradeoff argument) ───────── */
.versus { display: grid; grid-template-columns: 0.8fr auto 1.2fr; gap: clamp(18px, 3vw, 40px); align-items: stretch; max-width: 1000px; margin: 0 auto; }
.versus-col { border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 32px); display: grid; align-content: start; gap: 14px; }
.versus-col .vlabel { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.versus-col.is-rank { background: var(--surface); }
:root[data-theme="light"] .versus-col.is-rank { background: #fff; }
.versus-col.is-rank .vlabel { color: var(--faint); }
.versus-col.is-rank .vbig { font-family: var(--serif); font-size: clamp(48px, 7vw, 76px); line-height: 0.9; color: var(--text-2); letter-spacing: -0.02em; }
.versus-col.is-rank .vnote { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.versus-col.is-axis {
  border-color: rgba(5, 201, 121, 0.24);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(5, 201, 121, 0.07), transparent 55%),
    linear-gradient(180deg, rgba(5, 201, 121, 0.04), var(--surface) 60%);
}
:root[data-theme="light"] .versus-col.is-axis {
  border-color: rgba(23, 139, 77, 0.22);
  background: radial-gradient(120% 140% at 100% 0%, rgba(23, 139, 77, 0.07), transparent 55%), linear-gradient(180deg, rgba(23, 139, 77, 0.03), #fff 60%);
}
.versus-col.is-axis .vlabel { color: var(--accent-text); }
.versus-col.is-axis .vhead { font-family: var(--serif); font-size: clamp(22px, 2.8vw, 30px); line-height: 1.08; color: var(--text); }
.versus-mini { display: grid; gap: 12px; margin-top: 4px; }
.versus-mini .vm-row { display: grid; grid-template-columns: 104px 1fr 40px; align-items: center; gap: 14px; }
.versus-mini .vm-label { color: var(--faint); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.versus-mini .vm-track { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.09); overflow: hidden; }
:root[data-theme="light"] .versus-mini .vm-track { background: rgba(0, 0, 0, 0.07); }
.versus-mini .vm-fill { height: 100%; border-radius: 999px; width: var(--w); background: linear-gradient(90deg, rgba(5, 201, 121, 0.4), rgba(5, 201, 121, 0.9)); }
.versus-mini .vm-val { text-align: right; font-size: 12px; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.versus-vs { align-self: center; color: var(--accent-text); font-size: 18px; font-weight: 800; letter-spacing: 0.04em; }

/* ─── Flow (signal → decision; horizontal step process) ───────────── */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2.4vw, 26px); counter-reset: flow; }
.flow-step { position: relative; display: grid; align-content: start; gap: 11px; padding-top: 8px; }
.flow-step::before {
  counter-increment: flow; content: counter(flow);
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--accent-text);
  background: rgba(5, 201, 121, 0.1); border: 1px solid rgba(5, 201, 121, 0.26);
}
/* connector line between nodes */
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; top: 27px; left: 46px; right: -13px; height: 1px;
  background: linear-gradient(90deg, rgba(5, 201, 121, 0.4), var(--line-soft));
}
.flow-step h3 { font-size: 16px; font-weight: 700; color: var(--text); }
.flow-step p { color: var(--text-2); font-size: 13.5px; line-height: 1.58; }

/* ─── Trust band (why orgs trust it) + capability ledger ──────────── */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.trust-copy h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.07; }
.trust-copy p { margin-top: 16px; color: var(--text-2); font-size: 15px; line-height: 1.7; max-width: 38em; }
.stat-row { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 28px; }
.stat-row .stat b { display: block; font-family: var(--serif); font-size: clamp(28px, 3.4vw, 38px); line-height: 1; color: var(--text); }
.stat-row .stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.ledger { border-top: 1px solid var(--line-soft); }
.ledger-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 16px; padding: 15px 2px; border-bottom: 1px solid var(--line-soft); }
.ledger-row .lg-name { color: var(--text); font-size: 14.5px; font-weight: 600; }
.ledger-row .lg-desc { color: var(--muted); font-size: 12.5px; margin-top: 3px; line-height: 1.5; max-width: 40ch; }
.ledger-row .lg-tier { flex: 0 0 auto; color: var(--accent-text); font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }

/* ─── Testimonial carousel (thin, glassy, avatars) ────────────────── */
.tcar { position: relative; }
.tcar-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(20px, 3vw, 32px); }
.tcar-head .section-heading { text-align: left; margin: 0; }
.tcar-nav { display: inline-flex; gap: 8px; flex: 0 0 auto; }
.tcar-btn {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(244, 240, 234, 0.03); color: var(--text-2);
  transition: border-color 160ms, background 160ms, color 160ms, opacity 160ms;
}
.tcar-btn:hover { border-color: rgba(5, 201, 121, 0.4); background: rgba(5, 201, 121, 0.08); color: var(--text); }
.tcar-btn:disabled { opacity: 0.32; cursor: default; }
.tcar-btn svg { width: 17px; height: 17px; }
:root[data-theme="light"] .tcar-btn { background: rgba(0, 0, 0, 0.02); }

.tcar-track {
  display: flex; gap: clamp(14px, 2vw, 20px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 2px 8px; margin: -4px -2px -8px;
  scrollbar-width: none;
}
.tcar-track::-webkit-scrollbar { display: none; }
.tcard {
  flex: 0 0 clamp(280px, 78vw, 372px); scroll-snap-align: start;
  border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), var(--surface) 60%);
  padding: 22px 24px; display: grid; align-content: space-between; gap: 18px; min-height: 188px;
}
:root[data-theme="light"] .tcard { background: #fff; }
.tcard .tq-mark { color: var(--accent); font-family: var(--serif); font-size: 30px; line-height: 0.5; height: 14px; }
.tcard blockquote { margin: 0; color: var(--text); font-size: 14.5px; line-height: 1.6; }
.tcard-by { display: flex; align-items: center; gap: 11px; }
.tcard-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto; object-fit: cover;
  display: grid; place-items: center; font-size: 12.5px; font-weight: 700;
  color: var(--accent-text); background: rgba(5, 201, 121, 0.16);
  border: 1px solid rgba(244, 240, 234, 0.16);
}
.tcard-meta .tc-name { font-size: 13.5px; font-weight: 700; color: var(--text); line-height: 1.2; }
.tcard-meta .tc-role { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.tcar-dots { display: flex; justify-content: center; gap: 7px; margin-top: clamp(18px, 2.5vw, 26px); }
.tcar-dot { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: var(--line); transition: background 200ms, width 200ms; }
.tcar-dot.is-active { width: 20px; border-radius: 999px; background: var(--accent-soft); }

/* ── Marquee mode ──────────────────────────────────────────────────── */
[data-tcar-marquee] {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
[data-tcar-marquee] .tcar-track {
  overflow: visible;
  scroll-snap-type: none;
  width: max-content;
  flex-wrap: nowrap;
  padding: 4px 0 8px;
  will-change: transform;
}
@keyframes sa-marquee {
  0%   { transform: translateX(calc(-50% + var(--tcar-center-offset, 0px))); }
  100% { transform: translateX(var(--tcar-center-offset, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  [data-tcar-marquee]:not([data-tcar-force-motion]) .tcar-track { animation: none !important; }
}

/* ─── Features-story responsive ───────────────────────────────────── */
@media (max-width: 900px) {
  .showpanel-grid { grid-template-columns: 1fr; gap: 20px; }
  .showpanel-rail { border-right: 0; border-bottom: 1px solid var(--line-soft); padding-right: 0; padding-bottom: 20px; }
  .versus { grid-template-columns: 1fr; }
  .versus-vs { justify-self: center; }
  .flow { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .flow-step:not(:last-child)::after { display: none; }
  .trust { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: 1fr; }
  .tcar-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-row { gap: 22px; }
}
