@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"] .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, .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,
.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; 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); }

/* ─── 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, .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, .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; }
}
