/* styles-v2.css — Apple × Stripe inspired design system
   Philosophy:
   - Apple: massive confident type, heavy whitespace, centered rhythm, thin hairlines, alternating light/dark
   - Stripe: angled gradient meshes, indigo-violet-cyan palette, card grids, technical polish
*/

/* ————————————————————————————————————————————————————————————
   1. RESET & FOUNDATION
   ———————————————————————————————————————————————————————————— */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: var(--font-body);
  font-feature-settings: 'ss01', 'cv11';
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul { margin: 0; padding: 0; list-style: none; }

/* ————————————————————————————————————————————————————————————
   2. DESIGN TOKENS
   ———————————————————————————————————————————————————————————— */
:root {
  /* Typography */
  --font-display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Core palette — Stripe-adjacent navy + violet + cyan */
  --bg: #FFFFFF;
  --bg-soft: #FAFAFB;
  --bg-warm: #F6F9FC;
  --ink: #0A2540;        /* Stripe navy */
  --ink-2: #425466;
  --muted: #697386;
  --muted-2: #8898AA;
  --hair: #E6EBF1;
  --hair-2: #CDD5DF;

  /* Dark surface */
  --dark-bg: #0A2540;
  --dark-ink: #FFFFFF;
  --dark-muted: rgba(255,255,255,0.7);
  --dark-hair: rgba(255,255,255,0.12);

  /* Accents */
  --violet: #635BFF;     /* Stripe primary */
  --violet-2: #7A73FF;
  --indigo: #4F46E5;
  --cyan: #00D4FF;
  --teal: #11EFE3;
  --coral: #FF5F6D;
  --peach: #FFA45B;
  --green: #00D924;
  --yellow: #FFC700;

  /* Gradient presets */
  --grad-hero: linear-gradient(120deg, #635BFF 0%, #4F46E5 30%, #00B8D9 70%, #11EFE3 100%);
  --grad-mesh: radial-gradient(ellipse 80% 60% at 10% 10%, rgba(99,91,255,0.18), transparent 60%),
               radial-gradient(ellipse 70% 50% at 90% 20%, rgba(0,212,255,0.16), transparent 55%),
               radial-gradient(ellipse 60% 60% at 50% 100%, rgba(255,95,109,0.12), transparent 60%);
  --grad-dark-mesh: radial-gradient(ellipse 60% 50% at 15% 20%, rgba(99,91,255,0.35), transparent 60%),
                    radial-gradient(ellipse 70% 55% at 85% 80%, rgba(0,212,255,0.25), transparent 55%);
  --grad-card-border: linear-gradient(135deg, rgba(99,91,255,0.4), rgba(0,212,255,0.3), rgba(255,95,109,0.3));

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10,37,64,0.04), 0 2px 4px rgba(10,37,64,0.03);
  --shadow-md: 0 4px 8px rgba(10,37,64,0.04), 0 12px 24px rgba(10,37,64,0.06);
  --shadow-lg: 0 10px 20px rgba(10,37,64,0.06), 0 30px 60px rgba(10,37,64,0.08);
  --shadow-xl: 0 20px 40px rgba(10,37,64,0.08), 0 50px 100px rgba(10,37,64,0.12);
  --shadow-glow: 0 0 40px rgba(99,91,255,0.35), 0 20px 60px rgba(99,91,255,0.20);

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-pill: 999px;
}

/* ————————————————————————————————————————————————————————————
   3. TYPOGRAPHY SCALE (Apple-style dramatic scale)
   ———————————————————————————————————————————————————————————— */
.display-xl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.display-lg {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.display-md {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.display-sm {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0;
  line-height: 1;
  color: var(--violet);
  background: rgba(99,91,255,0.06);
  border: 1px solid rgba(99,91,255,0.18);
  border-radius: 999px;
  margin-bottom: 11px;
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 3px rgba(99,91,255,0.14);
}
/* On dark sections, invert to white-on-glass */
.problem-v2 .eyebrow,
.cta-v2 .eyebrow {
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}
.problem-v2 .eyebrow::before,
.cta-v2 .eyebrow::before {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.14);
}
.lede {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 62ch;
}
.grad-text {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* prevent italic/negative-tracking glyphs from getting right-edge clipped */
  padding-right: 0.12em;
  margin-right: -0.12em;
}
.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: -0.01em; }

/* ————————————————————————————————————————————————————————————
   4. LAYOUT PRIMITIVES
   ———————————————————————————————————————————————————————————— */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.wrap-tight {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
}
.section {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}
.section-sm {
  padding: clamp(56px, 7vw, 96px) 0;
  position: relative;
}
.center-stack {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.hair {
  height: 1px;
  background: var(--hair);
  border: 0;
  margin: 0;
}

/* ————————————————————————————————————————————————————————————
   5. BUTTONS
   ———————————————————————————————————————————————————————————— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform 160ms ease, box-shadow 240ms ease, background 240ms ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 2px 6px rgba(10,37,64,0.20);
}
.btn-primary:hover { background: #091D33; box-shadow: 0 8px 20px rgba(10,37,64,0.28); }
.btn-accent {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 2px 6px rgba(99,91,255,0.30), 0 0 0 0 rgba(99,91,255,0);
}
.btn-accent:hover { background: #524CDB; box-shadow: 0 8px 24px rgba(99,91,255,0.40); }
.btn-glow {
  background: var(--violet);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hair-2);
}
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--ink-2); }
.btn-on-dark {
  background: #fff;
  color: var(--ink);
}
.btn-on-dark:hover { background: #F0F0F0; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }

.btn .arrow {
  transition: transform 240ms ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ————————————————————————————————————————————————————————————
   6. NAV
   ———————————————————————————————————————————————————————————— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease, backdrop-filter 200ms ease;
}
.nav.scrolled {
  border-bottom-color: var(--hair);
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-brand {
  display: flex;
  align-items: center;  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.nav-brand .dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--grad-hero);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.04em;
  box-shadow: 0 2px 8px rgba(99,91,255,0.35);
}
.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
}
.nav-links.nav-links-center {
  justify-content: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 160ms ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav-cta .sign-in {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: var(--r-pill);
}
.nav-cta .sign-in:hover { color: var(--ink); }

/* Nav version switcher */
.nav-version {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--r-pill);
  background: var(--bg-warm);
  border: 1px solid var(--hair);
  margin-right: 8px;
}
.nav-version a {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  transition: all 160ms ease;
}
.nav-version a.active {
  background: var(--ink);
  color: #fff;
}

/* ————————————————————————————————————————————————————————————
   7. HERO
   ———————————————————————————————————————————————————————————— */
.hero {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -10% 0 0 0;
  background: var(--grad-mesh);
  z-index: -1;
  filter: blur(40px);
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 14px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--hair);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}
.hero-pill .badge {
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--violet);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero h1 {
  margin: 0 0 24px;
  max-width: 14ch;
}
.hero-lede {
  margin: 0 0 36px;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 52ch;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 18px;
}
.hero-check {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  align-items: center;
}
.hero-check .c {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-check .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
}

/* Hero product mockup */
.hero-product {
  margin-top: clamp(40px, 6vw, 80px);
  position: relative;
  border-radius: var(--r-2xl);
  background: #fff;
  border: 1px solid var(--hair);
  box-shadow:
    0 1px 1px rgba(0,0,0,0.02),
    0 20px 40px -10px rgba(10,37,64,0.10),
    0 60px 100px -20px rgba(10,37,64,0.18);
  overflow: hidden;
  transform: perspective(2000px) rotateX(2deg);
  transform-origin: top center;
}
.hero-product::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--r-2xl);
  padding: 2px;
  background: var(--grad-card-border);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.4;
}

/* ————————————————————————————————————————————————————————————
   7b. HERO V2 (ported v1 content, split layout + answer card)
   ———————————————————————————————————————————————————————————— */
.hero-v2b { padding: clamp(64px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); }
.hero-grid-v2 {
  display: grid;
  grid-template-columns: 1.35fr 0.78fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: stretch;
}
.hero-left-v2 { align-self: center; }
.hero-visual-v2 {
  max-width: 520px;
  margin-left: auto;
  margin-right: -24px;
  margin-top: -40px;
  width: 100%;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}
@media (max-width: 980px) { .hero-grid-v2 { grid-template-columns: 1fr; } }

.hero-left-v2 .display-xl { font-size: clamp(44px, 6.4vw, 84px); margin: 0 0 22px; max-width: 14ch; }
.hero-left-v2 .display-xl .grad-text { display: inline-block; }

.hero-benefits-v2 {
  display: flex; flex-wrap: wrap; gap: 18px;
  margin: 28px 0 28px;
  font-size: 14px; color: var(--ink-2); font-weight: 500;
}
.hero-benefits-v2 span { display: inline-flex; align-items: center; gap: 8px; }
.hero-benefits-v2 .gc {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green);
  display: grid; place-items: center;
}

.visibility-form-v2 {
  display: flex; gap: 8px; align-items: center;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: var(--r-pill);
  max-width: 520px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 300ms ease, border-color 300ms ease;
  scroll-margin-top: 120px;
}
.visibility-form-v2.glow {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(99,91,255,0.15), var(--shadow-glow);
}
.visibility-form-v2 input {
  flex: 1;
  border: 0; outline: none;
  padding: 0 14px;
  height: 44px;
  font-family: var(--font-body);
  font-size: 15px;
  background: transparent;
  color: var(--ink);
}
.visibility-form-v2 input::placeholder { color: var(--muted-2); }
.visibility-form-v2 button { height: 44px; padding: 0 20px; }

.form-meta-v2 {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}

.recommended-by-v2 { margin-top: 32px; }
.rb-label {
  display: block;
  font-size: 12px; font-weight: 600;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.rb-pills-v2 { display: flex; flex-wrap: wrap; gap: 8px; }
.rb-pill-v2 {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500;
  color: var(--ink-2);
  transition: all 180ms ease;
  cursor: pointer;
}
.rb-pill-v2:hover { border-color: var(--hair-2); background: var(--bg-warm); }
.rb-pill-v2.active {
  background: var(--bg-warm);
  color: var(--ink);
  border-color: var(--hair-2);
  box-shadow: inset 0 0 0 1px var(--pill-accent, var(--violet)), 0 1px 2px rgba(10,37,64,0.04);
}

/* Right column */
.hero-visual-v2 { position: relative; }

.ac-v2 {
  border-radius: var(--r-xl);
  border: 1px solid var(--hair);
  overflow: hidden;
  box-shadow: 0 1px 1px rgba(0,0,0,0.02), 0 20px 40px -10px rgba(10,37,64,0.10), 0 50px 90px -20px rgba(10,37,64,0.14);
  position: relative;
  z-index: 1;
  min-height: 560px;
  display: flex;
  flex-direction: column;
}
.ac-assistant-v2 { padding: 0 22px 22px; font-size: 14px; line-height: 1.6; flex: 1; }
.ac-google-v2 .g-body-v2 { flex: 1; }
.ac-head-v2 {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid;
  font-size: 13px;
}
.ac-head-v2 .ac-brand { display: flex; align-items: center; gap: 8px; }
.ac-brand-name { font-weight: 600; letter-spacing: -0.01em; }
.ac-model {
  display: inline-flex; align-items: center;
  font-size: 11.5px; font-weight: 500;
  font-family: var(--font-mono);
  margin-left: 2px;
  padding: 2px 7px; border-radius: 4px;
  background: rgba(0,0,0,0.04);
}
.ac-bubble-v2 {
  margin: 22px 22px 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  align-self: flex-end;
  max-width: 90%;
  margin-left: auto;
}
.ac-sources-v2 {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid;
}
.ac-sources-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}
.ac-source-chips-v2 { display: flex; flex-wrap: wrap; gap: 6px; }
.ac-chip-v2 {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 500;
}
.ac-input-v2 {
  margin: 0 16px 16px;
  padding: 13px 16px;
  border: 1px solid;
  border-radius: var(--r-pill);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

/* Google */
.ac-google-v2 { background: #fff; padding: 14px 16px 16px; }
.g-top-v2 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.g-logo-v2 { font-family: 'Inter Tight', sans-serif; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.g-logo-v2 span { display: inline-block; }
.g-ai-badge-v2 {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 4px;
  background: #F8F9FA; border: 1px solid #E8EAED;
  border-radius: var(--r-pill);
  font-size: 12px; color: #5F6368; font-weight: 500;
}
.g-overview-icon {
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center;
}
.g-search-v2 {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: #F8F9FA;
  border: 1px solid #E8EAED;
  border-radius: var(--r-pill);
  margin: 16px 0 14px;
  font-size: 13px;
  color: #202124;
}
.g-q-v2 { flex: 1; }
.g-body-v2 { padding: 4px 4px 8px; font-size: 14px; }
.g-sources-v2 { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #E8EAED; }
.g-source-v2 {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: #F8F9FA;
  border: 1px solid #E8EAED;
  border-radius: var(--r-pill);
  font-size: 11.5px; color: #202124; font-weight: 500;
}

/* Source float card */
.sf-v2 {
  position: absolute;
  right: -56px;
  bottom: -40px;
  width: 320px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02), 0 20px 40px -10px rgba(10,37,64,0.12), 0 40px 80px -20px rgba(10,37,64,0.18);
  transform: rotate(2deg);
  z-index: 2;
  transition: transform 300ms ease;
  animation: sfFadeIn 400ms ease;
}
@keyframes sfFadeIn { from { opacity: 0; transform: translateY(10px) rotate(2deg); } to { opacity: 1; transform: rotate(2deg); } }
.sf-v2:hover { transform: rotate(0deg) translateY(-4px); }
@media (max-width: 980px) { .sf-v2 { position: relative; right: 0; bottom: 0; margin: 20px auto 0; transform: none; } }

/* Answer-card swap fade when platform changes */
.ac-v2 { animation: acFadeIn 400ms ease; }
@keyframes acFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Source chips inside dark-platform answer cards render logos white */
.ac-v2[data-platform="perplexity"] .ac-chip-v2 img,
.ac-v2[data-platform="grok"] .ac-chip-v2 img {
  filter: brightness(0) invert(1);
}

.sf-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.sf-badge {
  width: 24px; height: 24px; border-radius: 6px;
  display: grid; place-items: center; flex-shrink: 0;
}
.sf-label { font-size: 11.5px; font-weight: 600; color: var(--ink-2); font-family: var(--font-mono); }
.sf-user-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.sf-user { font-size: 13px; font-weight: 600; color: var(--ink); }
.sf-time { font-size: 11px; color: var(--muted); font-family: var(--font-mono); }
.sf-body { font-size: 13px; color: var(--ink-2); line-height: 1.5; margin-bottom: 12px; }
.sf-body b { color: var(--violet); font-weight: 600; }
.sf-foot {
  display: flex; gap: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--hair);
  font-size: 11px; color: var(--muted);
  font-family: var(--font-mono);
}

/* ————————————————————————————————————————————————————————————
   8. LOGO WALL (Stripe-style "Trusted by")
   ———————————————————————————————————————————————————————————— */
.logowall {
  padding: 48px 0;
  background: var(--bg);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.logowall-label {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.logowall-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  flex-wrap: wrap;
}
.logowall-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
  opacity: 0.7;
  transition: opacity 200ms ease;
}
.logowall-item:hover { opacity: 1; }

/* ————————————————————————————————————————————————————————————
   9. PROBLEM / DARK SECTION
   ———————————————————————————————————————————————————————————— */
.dark-section {
  background: var(--dark-bg);
  color: var(--dark-ink);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.dark-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-dark-mesh);
  z-index: -1;
}
.dark-section .display-lg,
.dark-section .display-md,
.dark-section h2, .dark-section h3 { color: var(--dark-ink); }
.dark-section .eyebrow { color: var(--teal); }
.dark-section .lede { color: var(--dark-muted); }
.dark-section .hair { background: var(--dark-hair); }

.split-quote {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 60px;
}
.sq-card {
  padding: 24px;
  border-radius: var(--r-xl);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sq-head { display: flex; align-items: center; justify-content: space-between; }
.sq-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.sq-tag.now-tag { color: #C9BCFF; }
.sq-source { display: flex; align-items: center; gap: 6px; }
.g-logo-mini {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.03em;
  background: #fff;
  padding: 4px 9px;
  border-radius: 6px;
}
.sq-source.now-source { gap: 5px; }
.sq-source.now-source > * {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 5px;
  padding: 3px;
  display: grid;
  place-items: center;
}
.sq-query {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-pill);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--dark-ink);
}
.sq-query.now-query {
  background: linear-gradient(135deg, rgba(99,91,255,0.2), rgba(0,212,255,0.1));
  border-color: rgba(99,91,255,0.3);
}
.chat-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  box-shadow: 0 0 8px rgba(99,91,255,0.6);
  flex-shrink: 0;
}

.serp-list, .ai-answer, .serp-row, .serp-site, .serp-title, .serp-meta, .serp-bar, .serp-pos, .ai-lead, .ai-list, .ai-row, .ai-num, .ai-meta, .ai-absent, .absent-icon, .g-logo-mini, .sq-head, .sq-source { /* deprecated */ }

.sq-brand-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2px;
}
.sq-brand { display: flex; align-items: center; gap: 10px; }
.sq-brand-icon { display: grid; place-items: center; }
.sq-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--dark-ink);
}
.g-logo-chip {
  font-family: 'Inter Tight', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  display: inline-block;
  line-height: 1;
}
.sq-card.now .sq-brand-icon img { filter: invert(1) brightness(2); }
.sq-col { display: flex; flex-direction: column; gap: 20px; }
.sq-era {
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: center;
  color: #fff;
}
.sq-year {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-muted);
  letter-spacing: 0.06em;
}
.sq-year.now-year { color: #C9BCFF; }
.rank-list { display: flex; flex-direction: column; gap: 6px; }
.rank-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  font-size: 14px;
  color: var(--dark-ink);
}
.rank-row.highlighted {
  background: linear-gradient(135deg, rgba(0,217,36,0.12), rgba(17,239,227,0.06));
  border: 1px solid rgba(0,217,36,0.35);
}
.rank-row.absent {
  background: rgba(255,82,82,0.08);
  border: 1px dashed rgba(255,82,82,0.35);
}
.rank-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--dark-muted);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.rank-row.highlighted .rank-num {
  background: var(--green);
  color: var(--ink);
}
.rank-row.absent .rank-num {
  background: rgba(255,82,82,0.2);
  color: #FF6B6B;
}
.rank-name { flex: 1; font-weight: 500; letter-spacing: -0.01em; }
.rank-row.absent .rank-name { color: #FFB5B5; }
.rank-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.rank-tag.good { background: var(--green); color: var(--ink); }
.rank-tag.bad { background: rgba(255,82,82,0.2); color: #FF6B6B; }
.serp-row {
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
}
.serp-row.highlighted {
  background: linear-gradient(135deg, rgba(0,217,36,0.12), rgba(17,239,227,0.06));
  border: 1px solid rgba(0,217,36,0.3);
  box-shadow: 0 4px 16px -4px rgba(0,217,36,0.2);
}
.serp-site {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--dark-muted);
  margin-bottom: 4px;
  display: flex; align-items: center; gap: 8px;
}
.serp-row.highlighted .serp-site { color: #7FF29A; }
.serp-pos {
  font-size: 9.5px;
  background: var(--green);
  color: var(--ink);
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 700;
}
.serp-title {
  font-size: 13px;
  color: #8AB4F8;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
  line-height: 1.3;
}
.serp-meta {
  font-size: 11px;
  color: #7FF29A;
  font-weight: 600;
}
.serp-bar {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  margin-top: 6px;
}

.ai-answer {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ai-lead {
  font-size: 12px;
  color: var(--dark-ink);
  line-height: 1.5;
  margin: 0;
  opacity: 0.9;
}
.ai-list { display: flex; flex-direction: column; gap: 5px; }
.ai-row {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--dark-ink);
  font-weight: 500;
}
.ai-num {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(99,91,255,0.2);
  color: #C9BCFF;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.ai-row > span:nth-child(2) { flex: 1; }
.ai-meta {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--dark-muted);
}
.ai-absent {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: rgba(255,82,82,0.1);
  border: 1px dashed rgba(255,82,82,0.35);
  border-radius: 8px;
  font-size: 12px;
  color: #FFB5B5;
  line-height: 1.4;
}
.ai-absent strong { color: #fff; font-weight: 600; }
.absent-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,82,82,0.2);
  color: #FF6B6B;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
}

.sq-foot {
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px;
  color: var(--dark-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: auto;
}
.sq-foot.now-foot { color: #FFB5B5; }
.alert-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #FF6B6B;
  box-shadow: 0 0 8px rgba(255,107,107,0.6);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.sq-card.now {
  background: linear-gradient(135deg, rgba(99,91,255,0.15) 0%, rgba(0,212,255,0.08) 100%);
  border-color: rgba(99,91,255,0.3);
}
@media (max-width: 820px) {
  .split-quote { grid-template-columns: 1fr; }
}

/* ————————————————————————————————————————————————————————————
   10. HOW IT WORKS — 3 big cards
   ———————————————————————————————————————————————————————————— */
.steps-v2 {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
  padding: 90px 0 100px;
}
.steps-arrows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.step-v2 {
  position: relative;
  z-index: 1;
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--hair);
  padding: 36px 32px 32px;
  overflow: hidden;
  transition: transform 280ms ease, box-shadow 280ms ease;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.step-v2:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.step-v2 .step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--violet);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.step-v2 h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  color: var(--ink);
}
.step-v2 p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 24px;
}
.step-v2 .step-visual {
  margin-top: auto;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 180px;
  background: var(--bg-warm);
  padding: 16px;
}
@media (max-width: 900px) {
  .steps-v2 { grid-template-columns: 1fr; }
}

/* Step 1 — query audit */
.sv1 {
  background: linear-gradient(180deg, #fff 0%, var(--bg-warm) 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sv1-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--hair);
  font-size: 12px;
}
.sv1-row .q { font-family: var(--font-mono); color: var(--ink-2); font-size: 11px; }
.sv1-row .s { font-family: var(--font-mono); font-weight: 600; font-size: 11px; }
.sv1-row.bad .s { color: var(--coral); }
.sv1-row.ok .s { color: var(--green); }
.sv1-row.warn .s { color: var(--peach); }

/* Step 2 — publish grid */
.sv2 {
  background: var(--ink) !important;
  display: block;
  padding: 12px;
}
.reddit-post {
  display: flex; flex-direction: column; gap: 8px;
  color: rgba(255,255,255,0.9);
}
.rp-top {
  display: flex; align-items: center; gap: 8px;
}
.rp-avatar {
  width: 20px; height: 20px; border-radius: 50%;
  color: #fff; font-weight: 700; font-size: 9px;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  flex-shrink: 0;
}
.rp-sub { font-weight: 600; font-size: 10.5px; color: #fff; letter-spacing: -0.01em; }
.rp-platform {
  margin-left: auto;
  padding: 3px;
  background: rgba(255,69,0,0.15);
  border-radius: 5px;
  border: 1px solid rgba(255,69,0,0.3);
  display: grid; place-items: center;
}
.rp-reply-body {
  font-size: 10.5px;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
  padding: 8px 10px;
  background: rgba(255,255,255,0.04);
  border-left: 2px solid var(--violet);
  border-radius: 6px;
}
.rp-reply-body strong { color: #fff; }
.rp-reply-foot {
  display: flex; align-items: center; gap: 10px;
  font-size: 9.5px;
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.5);
}
.rp-pub {
  margin-left: auto;
  color: var(--teal) !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* Step 3 — share of voice */
.sv3 {
  background: linear-gradient(135deg, rgba(99,91,255,0.08) 0%, rgba(0,212,255,0.06) 100%);
  border: 1px solid rgba(99,91,255,0.15);
  padding: 16px;
}
.sv3-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}
.sv3-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sv3-big {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1;
}
.sv3-delta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
  padding: 4px 8px;
  background: rgba(0,217,36,0.1);
  border-radius: var(--r-pill);
}

/* ————————————————————————————————————————————————————————————
   11. PLATFORMS GRID
   ———————————————————————————————————————————————————————————— */
.plats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.plat {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--hair);
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease;
  isolation: isolate;
}
.plat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--plat-color, var(--violet));
  z-index: 1;
}
.plat .logo {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--plat-color);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 0;
  box-shadow: 0 6px 16px -4px color-mix(in oklab, var(--plat-color) 55%, transparent);
}
.plat .logo > * { filter: brightness(0) invert(1); }
.plat .name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.plat .share {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.plat .desc {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.plat .tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.plat .tag {
  font-size: 11px;
  font-family: var(--font-mono);
  padding: 3px 8px;
  border-radius: var(--r-sm);
  background: var(--bg-warm);
  color: var(--ink-2);
  border: 1px solid var(--hair);
}
@media (max-width: 900px) {
  .plats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .plats { grid-template-columns: 1fr; }
}

/* ————————————————————————————————————————————————————————————
   12. PRODUCT SHOWCASE (Apple-style full-bleed)
   ———————————————————————————————————————————————————————————— */
.showcase {
  background: var(--bg-warm);
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
  overflow: hidden;
}
.showcase-panel {
  margin-top: clamp(56px, 7vw, 96px);
  border-radius: var(--r-2xl);
  background: #fff;
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.showcase-header {
  height: 44px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--hair);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
}
.showcase-dots { display: flex; gap: 6px; }
.showcase-dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--hair-2);
}
.showcase-title {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-left: 12px;
}
.showcase-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 480px;
}
.showcase-side {
  background: var(--bg-soft);
  border-right: 1px solid var(--hair);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.showcase-side .side-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 10px;
  margin-bottom: 10px;
  margin-top: 14px;
}
.showcase-side .side-label:first-child { margin-top: 0; }
.showcase-side .side-item {
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.showcase-side .side-item.active {
  background: rgba(99,91,255,0.08);
  color: var(--violet);
  font-weight: 600;
}
.showcase-side .side-item .sb-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--hair-2);
}
.showcase-side .side-item.active .sb-dot { background: var(--violet); }
.showcase-main {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.showcase-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sk {
  padding: 18px 18px 16px;
  border-radius: var(--r-lg);
  background: var(--bg-soft);
  border: 1px solid var(--hair);
}
.sk .kpi-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}
.sk .kpi-big {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.sk .kpi-delta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
}
.sk.featured {
  background: linear-gradient(135deg, var(--violet) 0%, var(--indigo) 100%);
  border-color: transparent;
}
.sk.featured .kpi-label,
.sk.featured .kpi-delta { color: rgba(255,255,255,0.85); }
.sk.featured .kpi-big { color: #fff; }

.chart-frame {
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 20px;
  background: #fff;
}
.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.chart-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.chart-legend { display: flex; gap: 14px; }
.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
  font-family: var(--font-mono);
}
.chart-legend .sw {
  width: 10px; height: 10px; border-radius: 2px;
}

.mentions-table {
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
}
.mt-row {
  display: grid;
  grid-template-columns: 1fr 120px 80px 60px;
  gap: 14px;
  padding: 12px 18px;
  align-items: center;
  border-bottom: 1px solid var(--hair);
  font-size: 13px;
}
.mt-row:last-child { border-bottom: 0; }
.mt-row.head {
  background: var(--bg-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.mt-source {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mt-source .mt-ico {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--bg-warm);
  border: 1px solid var(--hair);
  display: grid; place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}
.mt-source .mt-ico img { width: 14px; height: 14px; }
.mt-source .mt-name {
  font-weight: 500;
  color: var(--ink);
}
.mt-source .mt-title {
  color: var(--muted);
  font-size: 12px;
}
.mt-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono);
}
.mt-pill.live { background: rgba(0,217,36,0.12); color: #00A81E; }
.mt-pill.draft { background: rgba(255,199,0,0.15); color: #996D00; }
.mt-pill.cited { background: rgba(99,91,255,0.12); color: var(--violet); }

/* New mentions-table row slides in, flashes violet, then settles */
.mt-row.row-new {
  animation: rowIn 650ms cubic-bezier(.2,.8,.2,1) both,
             rowFlash 1800ms ease-out 300ms both;
  transform-origin: center top;
  position: relative;
  z-index: 1;
}
.mt-row.row-new::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--violet);
  animation: rowBar 1800ms ease-out 300ms both;
}
@keyframes rowIn {
  0%   { opacity: 0; transform: translateY(-12px) scaleY(0.6); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scaleY(1); }
}
@keyframes rowFlash {
  0%   { background: rgba(99,91,255,0.10); }
  100% { background: transparent; }
}
@keyframes rowBar {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}

/* ————————————————————————————————————————————————————————————
   13. STATS
   ———————————————————————————————————————————————————————————— */
.stats-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 72px;
  padding-top: 60px;
  border-top: 1px solid var(--hair);
}
.stat-v2 .s-big {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 12px;
}
.stat-v2 .s-big sup {
  font-size: 0.45em;
  font-weight: 600;
  color: var(--violet);
  margin-left: 2px;
  top: -0.7em;
}
.stat-v2 .s-lbl {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
@media (max-width: 900px) {
  .stats-v2 { grid-template-columns: 1fr 1fr; }
}

/* ————————————————————————————————————————————————————————————
   14. COMPARE TABLE
   ———————————————————————————————————————————————————————————— */
.cmp-v2 {
  margin-top: 64px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--hair);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.cmp-v2 table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.cmp-v2 thead th {
  text-align: left;
  padding: 22px 24px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--hair);
  vertical-align: top;
}
.cmp-v2 thead th.us {
  background: linear-gradient(180deg, rgba(99,91,255,0.06), rgba(99,91,255,0.02));
  color: var(--violet);
}
.cmp-v2 thead th small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  color: var(--muted-2);
  margin-top: 4px;
  letter-spacing: 0;
}
.cmp-v2 tbody td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--hair);
  vertical-align: top;
  color: var(--ink-2);
}
.cmp-v2 tbody tr:last-child td { border-bottom: 0; }
.cmp-v2 tbody tr {
  transition: background-color 140ms ease;
}
.cmp-v2 tbody tr:hover td {
  background: rgba(99, 91, 255, 0.035);
}
.cmp-v2 tbody tr:hover td.us {
  background: rgba(99, 91, 255, 0.07);
}
.cmp-v2 tbody td.row-label {
  color: var(--ink);
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.cmp-v2 tbody td.us {
  background: linear-gradient(180deg, rgba(99,91,255,0.03), rgba(99,91,255,0.01));
  color: var(--ink);
  font-weight: 500;
}
.cmp-v2 .dot-yes {
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(0,168,30,0.12);
  display: inline-grid; place-items: center;
  margin-right: 8px;
  vertical-align: middle;
}
.cmp-v2 .dot-yes::after {
  content: '';
  width: 9px; height: 5px;
  border-left: 2px solid #00A81E;
  border-bottom: 2px solid #00A81E;
  transform: rotate(-45deg) translate(1px, -1px);
  border-radius: 1px;
}
.cmp-v2 .dot-no {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--hair);
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
}
.cmp-v2 .dot-no::after {
  content: '';
  position: absolute;
  inset: 6px 3px;
  border-top: 1.5px solid var(--muted);
}

/* ————————————————————————————————————————————————————————————
   15. PRICING
   ———————————————————————————————————————————————————————————— */
.pricing-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
  align-items: stretch;
}
.plan-v2 {
  position: relative;
  padding: 36px 32px 32px;
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform 280ms ease, box-shadow 280ms ease;
}
.plan-v2:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-v2.featured {
  background: linear-gradient(180deg, #0A2540 0%, #1A3560 100%);
  color: #fff;
  border: 0;
  box-shadow: var(--shadow-glow), var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}
.plan-v2.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 60% at 0% 0%, rgba(99,91,255,0.5), transparent 60%),
              radial-gradient(ellipse 80% 60% at 100% 100%, rgba(0,212,255,0.3), transparent 60%);
  z-index: -1;
  pointer-events: none;
}
.plan-v2 .p-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-v2.featured .p-name { color: #fff; }
.plan-v2 .p-badge {
  padding: 3px 9px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  background: var(--teal);
  color: var(--ink);
}
.plan-v2 .p-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.plan-v2.featured .p-desc { color: rgba(255,255,255,0.75); }
.plan-v2 .p-price {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.plan-v2.featured .p-price { color: #fff; }
.plan-v2 .p-price .per {
  font-size: 17px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.01em;
  margin-left: 2px;
}
.plan-v2.featured .p-price .per { color: rgba(255,255,255,0.6); }
.plan-v2 .p-billed {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-top: 6px;
}
.plan-v2.featured .p-billed { color: rgba(255,255,255,0.6); }
.plan-v2 ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.plan-v2 li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  align-items: flex-start;
}
.plan-v2.featured li { color: rgba(255,255,255,0.85); }
.plan-v2 .check {
  flex-shrink: 0;
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(99,91,255,0.12);
  display: grid; place-items: center;
  margin-top: 2px;
}
.plan-v2.featured .check { background: rgba(255,255,255,0.15); }
.plan-v2 .plan-cta { width: 100%; }

.bill-toggle {
  display: inline-flex;
  padding: 4px;
  background: var(--bg-warm);
  border: 1px solid var(--hair);
  border-radius: var(--r-pill);
  margin-top: 24px;
}
.bill-toggle .bt {
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: all 200ms ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bill-toggle .bt.active {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.bill-toggle .save {
  font-size: 10px;
  padding: 2px 7px;
  background: var(--violet);
  color: #fff;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
}
@media (max-width: 900px) {
  .pricing-v2 { grid-template-columns: 1fr; }
}

/* Pricing extras */
.extras-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.extra-card-v2 {
  padding: 24px 28px;
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.extra-card-v2.free { background: linear-gradient(135deg, rgba(99,91,255,0.04), rgba(0,212,255,0.03)); border-color: rgba(99,91,255,0.2); }
.extra-card-v2.addon { background: linear-gradient(135deg, rgba(0,217,36,0.04), rgba(17,239,227,0.03)); border-color: rgba(0,217,36,0.2); }
.extra-tag-v2 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--violet);
}
.extra-tag-v2.addon-tag { color: #00A81E; }
.extra-tag-v2 span { color: var(--ink-2); }
.extra-card-v2 h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.extra-card-v2 p { font-size: 13px; color: var(--ink-2); margin: 0; line-height: 1.5; }
.extra-card-v2 ul { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.extra-card-v2 li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.extra-card-v2 .btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 720px) { .extras-grid-v2 { grid-template-columns: 1fr; } }

/* FAQ v2 enhancements */
.faq-header-v2 {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 8px; margin-bottom: 20px;
}
.faq-cat-v2 {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  color: var(--violet); letter-spacing: 0.08em; text-transform: uppercase;
}
.faq-search-v2 {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 18px;
  background: #fff; border: 1px solid var(--hair); border-radius: var(--r-pill);
  width: 520px; max-width: 100%;
  color: var(--muted);
  margin: 0 auto 64px;
  box-shadow: var(--shadow-sm);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.faq-search-v2:focus-within {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(99,91,255,0.12), var(--shadow-sm);
}
.faq-search-btn {
  border: 0;
  background: var(--violet);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(99,91,255,0.30);
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  flex-shrink: 0;
}
.faq-search-btn:hover { background: #524CDB; box-shadow: 0 8px 24px rgba(99,91,255,0.40); }
.faq-search-btn:active { transform: scale(0.97); }
.faq-search-v2 input {
  flex: 1; border: 0; outline: none; background: transparent;
  font-family: var(--font-body); font-size: 14px; color: var(--ink);
}
.faq-search-v2 input::placeholder { color: var(--muted-2); }
.faq-clear-v2 {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg-warm); color: var(--ink-2);
  font-size: 14px;
}
.faq-cols-v2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.faq-col-v2 { display: flex; flex-direction: column; }
.faq-empty-v2 { padding: 40px; text-align: center; color: var(--ink-2); background: var(--bg-soft); border-radius: var(--r-lg); }
@media (max-width: 820px) {
  .faq-header-v2 { grid-template-columns: 1fr; }
  .faq-search-v2 { width: 100%; }
  .faq-cols-v2 { grid-template-columns: 1fr; }
}
.faq-item-v2 .faq-q { align-items: flex-start; }

/* ————————————————————————————————————————————————————————————
   16. FAQ
   ———————————————————————————————————————————————————————————— */
.faq-v2 {
  margin-top: 56px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.faq-item-v2 {
  border-top: 1px solid var(--hair);
  padding: 24px 0;
  cursor: pointer;
}
.faq-item-v2:last-child { border-bottom: 1px solid var(--hair); }
.faq-item-v2 .faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  gap: 24px;
}
.faq-item-v2 .faq-caret {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--hair-2);
  display: grid; place-items: center;
  transition: transform 280ms ease, background 200ms ease;
  flex-shrink: 0;
  color: var(--ink-2);
}
.faq-item-v2.open .faq-caret {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: rotate(180deg);
}
.faq-item-v2 .faq-a {
  max-height: 0;
  overflow: hidden;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.6;
  transition: max-height 320ms ease, margin-top 320ms ease;
  max-width: 62ch;
}
.faq-item-v2.open .faq-a {
  max-height: 500px;
  margin-top: 14px;
}

/* ————————————————————————————————————————————————————————————
   17. CTA
   ———————————————————————————————————————————————————————————— */
.cta-v2 {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--dark-bg);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 70% at 50% 0%, rgba(99,91,255,0.5), transparent 60%),
              radial-gradient(ellipse 80% 50% at 20% 100%, rgba(0,212,255,0.25), transparent 60%),
              radial-gradient(ellipse 70% 50% at 85% 80%, rgba(255,95,109,0.20), transparent 60%);
  z-index: -1;
}
.cta-v2 h2 {
  color: #fff;
  margin: 0 0 20px;
}
.cta-v2 p {
  color: rgba(255,255,255,0.75);
  margin: 0 0 36px;
}

/* ————————————————————————————————————————————————————————————
   18. FOOTER
   ———————————————————————————————————————————————————————————— */
.footer-v2 {
  background: #fff;
  padding: 80px 0 48px;
  border-top: 1px solid var(--hair);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-brand {
  max-width: 340px;
}
.footer-brand .fb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.footer-brand p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}
.footer-col h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  font-weight: 700;
  margin: 0 0 16px;
  font-family: var(--font-body);
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color 160ms ease;
}
.footer-col a:hover { color: var(--violet); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--hair);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-social {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--hair);
  color: var(--muted);
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}
.footer-social:hover {
  color: var(--ink);
  border-color: var(--hair-2, var(--hair));
  background: color-mix(in oklab, var(--ink) 4%, transparent);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ————————————————————————————————————————————————————————————
   19. UTILITIES
   ———————————————————————————————————————————————————————————— */
.grad-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hair-2), transparent);
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0ms !important; transition-duration: 0ms !important; }
}

/* ————————————————————————————————————————————————————————————
   20. BRAND LOGO (SVG wordmark)
   ———————————————————————————————————————————————————————————— */
.nav-logo-svg {
  display: block;
  height: 32px;
  width: auto;
  /* The SVG viewBox has vertical whitespace around the wordmark;
     a negative top margin compensates so the mark sits optically centered. */
  margin: -8px 0;
}
.footer-brand .fb-logo .nav-logo-svg {
  height: 36px;
}

/* ————————————————————————————————————————————————————————————
   21. CTA TRUST ROW
   ———————————————————————————————————————————————————————————— */
.cta-trust {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.cta-avatars {
  display: inline-flex;
}
.cta-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #0B1220;
  display: inline-block;
  margin-left: -10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  overflow: hidden;
  line-height: 0;
  background: #222;
}
.cta-av svg,
.cta-av img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.cta-av:first-child { margin-left: 0; }
.cta-stars {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}
.cta-trust-text {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  font-weight: 450;
  letter-spacing: -0.005em;
}
.cta-fineprint {
  margin-top: 18px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  letter-spacing: -0.005em;
}

/* ————————————————————————————————————————————————————————————
   22. PILL ICON WHITE-ON-ACTIVE (for black logos)
   ———————————————————————————————————————————————————————————— */
/* No longer needed — active pill is light, so black logos show naturally. */


/* ————————————————————————————————————————————————————————————
   23. AE WORDMARK (gradient via mask)
   ———————————————————————————————————————————————————————————— */
.ae-wordmark {
  display: block;
  width: 172px;   /* matches aspect ratio of the SVG viewBox */
  height: 32px;
  background: var(--grad-hero);
  -webkit-mask: url(/v2-assets/ae-logo-black.svg) center / contain no-repeat;
          mask: url(/v2-assets/ae-logo-black.svg) center / contain no-repeat;
  /* compensate for the viewBox vertical whitespace */
  margin: -2px 0;
}
/* Footer sits on dark bg — use white/glass tint so it reads */
.ae-wordmark-light {
  background: #000000;
  height: 36px;
  width: 192px;
}
/* Solid black for use inside comparison-table header */
.ae-wordmark-black {
  background: #000000;
  height: 22px;
  width: 120px;
  margin: 0;
}


/* Problem-section CTA line */
.sq-cta {
  margin: 40px auto 0;
  text-align: center;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
  letter-spacing: -0.01em;
}
.sq-cta-link {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 1px;
  transition: color 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}
.sq-cta-link:hover {
  color: var(--violet, #635bff);
  border-bottom-color: var(--violet, #635bff);
}


/* Invert the Grok logomark (black by default) when rendered on the dark Grok mockup */
.ac-v2[data-platform="grok"] img[alt="Grok"] {
  filter: invert(1);
}


/* ============================================================
   On-view reveal animations (consistent motion system)
   - Single primitive: .reveal → fades + lifts 14px
   - Staggers: .reveal.delay-1 through .delay-6
   - SEO-safe: elements stay in the DOM; only CSS changes visibility.
     Hero / above-the-fold content is not marked .reveal.
   - Accessibility: respects prefers-reduced-motion.
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 90ms; }
.reveal.delay-2 { transition-delay: 180ms; }
.reveal.delay-3 { transition-delay: 270ms; }
.reveal.delay-4 { transition-delay: 360ms; }
.reveal.delay-5 { transition-delay: 450ms; }
.reveal.delay-6 { transition-delay: 540ms; }

/* Slight variant for things that should just fade (no lift) */
.reveal.reveal-fade { transform: none; }

/* When the user prefers reduced motion, disable the motion entirely
   but keep content visible. */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Pricing inline CTA under the pricing grid */
.pricing-inline-cta-v2 {
  margin: 28px auto 0;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  font-family: var(--font-body);
}
.pricing-inline-cta-v2 a {
  color: var(--violet);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(99,91,255,0.25);
  padding-bottom: 1px;
  transition: border-color 160ms ease, color 160ms ease;
}
.pricing-inline-cta-v2 a:hover {
  color: var(--violet-2, var(--violet));
  border-bottom-color: var(--violet);
}

/* Ghost CTA on dark bg: text turns black on hover so it stays readable against the soft hover bg */
.btn-ghost.cta-ghost-on-dark:hover {
  color: var(--ink) !important;
  background: #fff;
  border-color: #fff;
}

/* Section scope: HowItWorksV2 — use Inter everywhere, overriding mono usages */
#how {
  --font-mono: var(--font-sans, 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif);
}
#how .step-v2 .step-num,
#how .sv1-row .q,
#how .sv1-row .s,
#how .rp-avatar,
#how .rp-reply-foot,
#how .sv3-lbl,
#how .sv3-delta {
  font-family: var(--font-sans, 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif);
}

/* Section scope: PlatformsV2 — swap mono tags to Inter */
#platforms .plat .tag {
  font-family: var(--font-sans, 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif);
}

/* Section scope: PricingV2 — use Inter everywhere, overriding mono usages */
#pricing {
  --font-mono: var(--font-sans, 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif);
}
#pricing .plan-v2 .p-billed,
#pricing .bill-toggle .save,
#pricing .extra-tag-v2 {
  font-family: var(--font-sans, 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif);
}


/* ————————————————————————————————————————————————————————————
   12a. DASHBOARD PAGE SNIPPETS (Overview / AI Perception /
         Keywords / Competition / Citations / Blog Posts)
   ———————————————————————————————————————————————————————————— */

/* shared pill */
.ds-pill {
  display: inline-flex; align-items: center;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  font-size: 10.5px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ds-pill-pos     { background: rgba(0,168,30,0.12);   color: #00A81E; }
.ds-pill-warn    { background: rgba(231,161,0,0.14);  color: #A6700A; }
.ds-pill-neg     { background: rgba(229,69,69,0.12);  color: #C13333; }
.ds-pill-violet  { background: rgba(99,91,255,0.12);  color: var(--violet); }
.ds-pill-cyan    { background: rgba(0,212,255,0.14);  color: #0089A8; }
.ds-pill-neutral { background: var(--bg-soft); color: var(--muted); }

.ds-link {
  color: var(--violet);
  font-weight: 600;
  text-decoration: none;
  font-size: 12px;
}
.ds-link:hover { text-decoration: underline; }

/* Alert strip */
.ds-alert {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-radius: var(--r-lg);
  background: rgba(231,161,0,0.08);
  border: 1px solid rgba(231,161,0,0.25);
  font-size: 13px;
  color: var(--ink-2);
}
.ds-alert-ico { font-size: 15px; }
.ds-alert-warn { background: rgba(231,161,0,0.06); }
.ds-alert b { color: var(--ink); }

/* mini single-value bar (for KPI cards) */
.ds-mini-bar {
  width: 100%; height: 4px;
  border-radius: 2px;
  background: var(--hair);
  overflow: hidden;
}
.ds-mini-bar span { display: block; height: 100%; border-radius: 2px; }

/* Two column grid for cards */
.ds-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ds-card {
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  background: #fff;
  padding: 18px 20px;
}
.ds-card-head {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ds-card-head-split {
  justify-content: space-between;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
}
.ds-card-head-split > span:first-child { text-transform: uppercase; letter-spacing: 0.04em; font-size: 12px; }
.ds-card-ico { font-size: 14px; opacity: 0.75; }
.ds-card-body {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
}
.ds-card-foot {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
}
.ds-card-foot-note {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 8px;
}

/* Gap list */
.ds-gap-list { display: flex; flex-direction: column; gap: 10px; }
.ds-gap-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.4;
}

/* Stacked percent bar */
.ds-bar-stack {
  display: flex;
  width: 100%; height: 10px;
  border-radius: var(--r-pill);
  overflow: hidden;
  background: var(--hair);
}
.ds-bar-stack span { display: block; height: 100%; }

.ds-legend-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 10px;
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--muted);
}
.ds-legend-row i {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
}

/* Site/keyword count row (horizontal bar) */
.ds-site-row {
  display: grid;
  grid-template-columns: 150px 1fr 36px;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  padding: 6px 0;
}
.ds-site-name { color: var(--ink-2); }
.ds-site-bar {
  height: 6px;
  background: var(--hair);
  border-radius: 3px;
  overflow: hidden;
}
.ds-site-bar span {
  display: block;
  height: 100%;
  background: var(--violet);
  border-radius: 3px;
}
.ds-site-count {
  text-align: right;
  font-family: var(--font-mono);
  color: var(--muted);
  font-weight: 600;
}

/* AI perception — 4 scores grid */
.ds-scores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ds-score {
  padding: 16px 16px 14px;
  border-radius: var(--r-lg);
  background: var(--bg-soft);
  border: 1px solid var(--hair);
}
.ds-score-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 8px;
}
.ds-score-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 8px;
}
.ds-score-big {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.ds-score-max {
  font-size: 13px;
  color: var(--muted);
}
.ds-score-bar {
  height: 5px;
  background: var(--hair);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}
.ds-score-bar span {
  display: block;
  height: 100%;
  border-radius: 3px;
  transition: width 800ms cubic-bezier(.4,.0,.2,1);
}
.ds-score-delta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}
.ds-score-delta.pos  { color: #00A81E; }
.ds-score-delta.warn { color: #A6700A; }
.ds-score-delta.neg  { color: #C13333; }

/* Citation mini grid (AI Perception gap analysis) */
.ds-citation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.ds-cite-mini {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  background: var(--bg-soft);
  border: 1px solid var(--hair);
  border-radius: 6px;
  font-size: 12px;
}
.ds-cite-type { color: var(--ink-2); font-weight: 500; }
.ds-cite-date { color: var(--muted); font-family: var(--font-mono); font-size: 11px; margin-left: auto; }

/* Tabs */
.ds-tab-row {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 14px;
}
.ds-tab-row-sm { border-bottom: none; margin-bottom: 0; }
.ds-tab {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  border: none;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  font-family: inherit;
  margin-bottom: -1px;
}
.ds-tab:hover { color: var(--ink-2); }
.ds-tab.active {
  color: var(--violet);
  border-bottom-color: var(--violet);
  font-weight: 600;
}
.ds-tab-count {
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--hair);
  color: var(--muted);
  padding: 1px 6px;
  border-radius: var(--r-pill);
  margin-left: 4px;
}
.ds-tab.active .ds-tab-count { background: rgba(99,91,255,0.12); color: var(--violet); }

.ds-filter-row { margin-top: -8px; }

.ds-tab-content {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
  padding: 4px 2px;
}

/* Keywords table */
.ds-kw-table {
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
}
.ds-kw-head, .ds-kw-row {
  display: grid;
  grid-template-columns: 2.2fr 0.9fr 0.8fr 0.6fr 0.9fr 0.5fr 0.5fr;
  gap: 10px;
  padding: 10px 18px;
  align-items: center;
  font-size: 12px;
  border-bottom: 1px solid var(--hair);
}
.ds-kw-head {
  background: var(--bg-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.ds-kw-row:last-child { border-bottom: 0; }
.ds-kw-row:hover { background: var(--bg-soft); }
.ds-kw-brand { cursor: pointer; }
.ds-kw-brand.is-open { background: rgba(99,91,255,0.04); }
.ds-kw-name { color: var(--ink); font-size: 13px; }
.ds-plats { display: flex; gap: 3px; }
.ds-kw-detail {
  padding: 16px 18px 20px;
  background: rgba(99,91,255,0.03);
  border-bottom: 1px solid var(--hair);
}
.ds-detail-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr;
  gap: 20px;
}
.ds-detail-cell {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 8px;
  padding: 12px 14px;
}
.ds-detail-label {
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 10px;
}
.ds-plat-share {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 12px;
}
.ds-plat-share > div { display: flex; align-items: center; gap: 6px; color: var(--ink-2); }
.ds-plat-share b { font-family: var(--font-mono); color: var(--violet); }
.ds-recent-list {
  list-style: none;
  padding: 0; margin: 0;
  font-size: 12px;
  color: var(--ink-2);
}
.ds-recent-list li {
  padding: 3px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

/* Competition matrix */
.ds-comp-table {
  border: 1px solid var(--hair);
  border-radius: 8px;
  overflow: hidden;
}
.ds-comp-head, .ds-comp-row {
  display: grid;
  grid-template-columns: 2fr 0.6fr 0.7fr 0.9fr 1fr 0.9fr;
  gap: 10px;
  padding: 10px 16px;
  align-items: center;
  font-size: 12px;
  border-bottom: 1px solid var(--hair);
}
.ds-comp-head {
  background: var(--bg-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.ds-comp-row:last-child { border-bottom: 0; }
.ds-comp-row:hover { background: var(--bg-soft); }
.ds-comp-kw { color: var(--ink); font-size: 13px; }

/* Share of voice rival bars */
.ds-sov-row {
  display: grid;
  grid-template-columns: 140px 1fr 100px;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  padding: 8px 0;
}
.ds-sov-name { color: var(--ink-2); font-weight: 500; }
.ds-sov-bar {
  display: flex;
  height: 8px;
  border-radius: var(--r-pill);
  overflow: hidden;
  background: var(--hair);
}
.ds-sov-you  { background: var(--violet); display: block; }
.ds-sov-them { background: #E54545; display: block; opacity: 0.6; }
.ds-sov-nums {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}
.ds-sov-nums b { color: var(--violet); }

/* Citations table */
.ds-cit-table {
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
}
.ds-cit-head, .ds-cit-row {
  display: grid;
  grid-template-columns: 60px 100px 130px 1.5fr 1.4fr 90px;
  gap: 10px;
  padding: 10px 16px;
  align-items: center;
  font-size: 12px;
  border-bottom: 1px solid var(--hair);
}
.ds-cit-head {
  background: var(--bg-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.ds-cit-row:last-child { border-bottom: 0; }
.ds-cit-row:hover { background: var(--bg-soft); }
.ds-cit-q { color: var(--ink-2); font-size: 12.5px; }
.ds-cit-url { color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Blog posts table */
.ds-blog-table {
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
}
.ds-blog-head, .ds-blog-row {
  display: grid;
  grid-template-columns: 70px 1fr 140px 130px;
  gap: 14px;
  padding: 12px 18px;
  align-items: center;
  font-size: 13px;
  border-bottom: 1px solid var(--hair);
}
.ds-blog-head {
  background: var(--bg-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.ds-blog-row:last-child { border-bottom: 0; }
.ds-blog-row:hover { background: var(--bg-soft); }
.ds-blog-title { color: var(--ink); }

/* Blog posts top filter bar */
.ds-filter-bar {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  background: var(--bg-soft);
  flex-wrap: wrap;
}
.ds-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ds-filter-label {
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.ds-filter-chips { display: flex; gap: 4px; }
.ds-chip {
  background: #fff;
  border: 1px solid var(--hair);
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font-size: 11.5px;
  color: var(--ink-2);
  cursor: pointer;
  font-weight: 500;
  font-family: inherit;
}
.ds-chip:hover { border-color: var(--violet); color: var(--violet); }
.ds-chip.active {
  background: rgba(99,91,255,0.08);
  color: var(--violet);
  border-color: var(--violet);
  font-weight: 600;
}
.ds-chip-accent {
  background: var(--violet);
  color: #fff;
  border-color: var(--violet);
}
.ds-chip-accent:hover { background: var(--violet-2); color: #fff; border-color: var(--violet-2); }

/* Page swap animation */
.showcase-main > * {
  animation: dsFadeIn 400ms cubic-bezier(.4,.0,.2,1) both;
}
@keyframes dsFadeIn {
  0%   { opacity: 0; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}


/* Add-on badge on sidebar items */
.showcase-side .side-item .side-addon {
  margin-left: auto;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: var(--r-pill);
  background: rgba(99,91,255,0.12);
  color: var(--violet);
  font-family: var(--font-mono);
}
.showcase-side .side-item.active .side-addon {
  background: rgba(99,91,255,0.18);
}

/* Blog post rows — reuse mentions-table, 4 columns */
.mt-blog .mt-row {
  grid-template-columns: 1fr 140px 90px 130px;
}
.mt-blog .mt-ico-blog {
  background: rgba(99,91,255,0.08);
  border-color: rgba(99,91,255,0.18);
}

/* Citations rows — reuse mentions-table, 4 columns */
.mt-cit .mt-row {
  grid-template-columns: 1fr 130px 80px 110px;
}
.ds-cit-plat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 500;
}

/* Publishing status — cyan tone */
.mt-pill.publishing { background: rgba(0,212,255,0.14); color: #0089A8; }


/* Extras list — secondary offerings below main pricing cards */
.extras-list-v2 {
  margin-top: 28px;
  border: 1px solid var(--hair);
  border-radius: var(--r-xl);
  background: #fff;
  overflow: hidden;
}
.extra-row-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--hair);
}
.extra-row-v2:last-child { border-bottom: 0; }
.extra-row-main { flex: 1 1 auto; min-width: 0; }
.extra-row-v2 h4 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.extra-row-v2 p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.extra-price-v2 {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--bg-soft);
  color: var(--ink-2);
  border: 1px solid var(--hair);
}
.extra-price-v2.free   { color: var(--violet); background: rgba(99,91,255,0.08); border-color: rgba(99,91,255,0.18); }
.extra-price-v2.addon  { color: #A6700A;       background: rgba(231,161,0,0.10); border-color: rgba(231,161,0,0.25); }
.extra-row-cta { flex: 0 0 auto; white-space: nowrap; }

@media (max-width: 760px) {
  .extra-row-v2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 22px;
  }
  .extra-row-cta { width: 100%; justify-content: center; }
}

/* Dashboard bar grow-in animation — triggered on page mount
   (parent remounts on nav change). Uses scaleX for an intrinsic
   animation independent of the inline target width. */
@keyframes dsBarGrow {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
.showcase-main .ds-mini-bar span,
.showcase-main .ds-score-bar span,
.showcase-main .ds-site-bar span,
.showcase-main .ds-sov-bar span,
.showcase-main .ds-bar-stack span {
  transform-origin: left center;
  animation: dsBarGrow 900ms cubic-bezier(.22,.61,.36,1) both;
}
.showcase-main .ds-site-row:nth-child(2) .ds-site-bar span { animation-delay: 60ms; }
.showcase-main .ds-site-row:nth-child(3) .ds-site-bar span { animation-delay: 120ms; }
.showcase-main .ds-site-row:nth-child(4) .ds-site-bar span { animation-delay: 180ms; }
.showcase-main .ds-site-row:nth-child(5) .ds-site-bar span { animation-delay: 240ms; }
.showcase-main .ds-site-row:nth-child(6) .ds-site-bar span { animation-delay: 300ms; }
.showcase-main .ds-scores-grid .ds-score:nth-child(2) .ds-score-bar span { animation-delay: 80ms; }
.showcase-main .ds-scores-grid .ds-score:nth-child(3) .ds-score-bar span { animation-delay: 160ms; }
.showcase-main .ds-scores-grid .ds-score:nth-child(4) .ds-score-bar span { animation-delay: 240ms; }
.showcase-main .ds-sov-row:nth-child(2) .ds-sov-bar span { animation-delay: 80ms; }
.showcase-main .ds-sov-row:nth-child(3) .ds-sov-bar span { animation-delay: 160ms; }
.showcase-main .ds-sov-row:nth-child(4) .ds-sov-bar span { animation-delay: 240ms; }
.showcase-main .ds-sov-row:nth-child(5) .ds-sov-bar span { animation-delay: 320ms; }
@media (prefers-reduced-motion: reduce) {
  .showcase-main .ds-mini-bar span,
  .showcase-main .ds-score-bar span,
  .showcase-main .ds-site-bar span,
  .showcase-main .ds-sov-bar span,
  .showcase-main .ds-bar-stack span { animation: none; }
}
