/* ==========================================================================
   RealBuyerGrowth UK — Design System
   Brand Book v2.0 + RBG UK Appendix A
   Warmth: 3/5 | Precision: 4/5 | Mode: light-first
   ========================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Outfit:wght@300;400;500;600&display=swap');

/* --- RBG UK Colour Tokens (Brand Book v2.0 — violet-led, consistent with Keigen portfolio) --- */
:root {
  /* Typography */
  --font-display: 'Fraunces', serif;
  --font-ui: 'Outfit', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;

  /* Ink */
  --rbg-ink-strong: #0F172A;
  --rbg-ink: #1E293B;
  --rbg-ink-soft: #475569;
  --rbg-muted: #64748B;

  /* Surfaces */
  --rbg-surface: #FFFFFF;
  --rbg-surface-soft: #F8FAFC;
  --rbg-surface-tint: #F1F5F9;
  --rbg-border: #E2E8F0;

  /* Action accent — violet, consistent with Keigen/BuyerRecon/TTP */
  --rbg-accent: #7C3AED;
  --rbg-accent-hover: #6D28D9;
  --rbg-accent-soft: #F5F3FF;
  --rbg-accent-line: #DDD6FE;

  /* Warm accent — Crail (for highlights and evidence lines) */
  --rbg-warm: #B5533E;
  --rbg-warm-soft: #FDF2EF;

  /* Semantic states */
  --rbg-reported: #98A2B3;
  --rbg-verified: #7C3AED;
  --rbg-caution: #B45309;
  --rbg-caution-soft: #FEF3C7;
  --rbg-risk: #B42318;
  --rbg-risk-soft: #FDECEC;
  --rbg-cluster: #D97706;
  --rbg-cluster-soft: #FEF3C7;

  /* Shape — brand book §5 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadow — brand book §5.2 (ambient only, never harsh) */
  --shadow-soft-1: 0 8px 24px rgba(15,23,42,0.06);
  --shadow-soft-2: 0 16px 48px rgba(15,23,42,0.10);
  --shadow-soft-3: 0 24px 64px rgba(15,23,42,0.14);

  /* Motion — brand book §7 */
  --ease-breathe: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-lift: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ui);
  font-weight: 400;
  color: var(--rbg-ink);
  background: var(--rbg-surface);
  line-height: 1.6;
}

/* --- Typography Scale (Appendix A2) --- */
h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;       /* 48px */
  line-height: 1.17;     /* 56px */
  color: var(--rbg-ink-strong);
  letter-spacing: -0.02em;
}

h2 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.875rem;   /* 30px */
  line-height: 1.2;      /* 36px */
  color: var(--rbg-ink-strong);
}

h3 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.375rem;   /* 22px */
  line-height: 1.27;     /* 28px */
  color: var(--rbg-ink-strong);
}

.body-large {
  font-size: 1.25rem;    /* 20px */
  line-height: 1.5;      /* 30px */
}

.small {
  font-size: 0.875rem;   /* 14px */
  line-height: 1.57;     /* 22px */
  color: var(--rbg-muted);
}

.fine-print {
  font-size: 0.75rem;    /* 12px */
  line-height: 1.5;      /* 18px */
  color: var(--rbg-muted);
}

p { max-width: 65ch; }

a {
  color: var(--rbg-accent);
  text-decoration: none;
  transition: color 200ms var(--ease-breathe);
}
a:hover { color: var(--rbg-accent-hover); text-decoration: underline; }

/* --- Layout --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 64px;
}

.section {
  padding: 96px 0;
}

.section--tint {
  background: var(--rbg-surface-soft);
}

.section--accent-soft {
  background: var(--rbg-accent-soft);
}

/* --- Nav --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rbg-border);
}

.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--rbg-ink-strong);
  text-decoration: none;
}
.nav__logo span { color: var(--rbg-accent); }

.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--rbg-ink-soft);
  text-decoration: none;
  transition: color 200ms;
}
.nav__links a:hover { color: var(--rbg-accent); text-decoration: none; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--rbg-accent);
  color: var(--rbg-accent);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 200ms var(--ease-breathe);
}
.nav__cta:hover {
  background: var(--rbg-accent-soft);
  text-decoration: none;
}

/* --- Buttons / CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 200ms var(--ease-breathe);
}

.btn--primary {
  background: var(--rbg-accent);
  color: #FFFFFF;
}
.btn--primary:hover {
  background: var(--rbg-accent-hover);
  color: #FFFFFF;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft-2);
}

.btn--secondary {
  background: transparent;
  color: var(--rbg-accent);
  border: 1px solid var(--rbg-accent);
}
.btn--secondary:hover {
  background: var(--rbg-accent-soft);
  text-decoration: none;
}

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.cta-stack--bare {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  vertical-align: top;
}

.reassurance {
  font-size: 0.8125rem;
  color: var(--rbg-muted);
  margin-top: 16px;
  text-align: center;
}

/* --- CTA stack + assurance (global pattern) --- */
:root {
  --cta-assurance-gap: 8px;
  --cta-assurance-max-width: 34ch;
}

.cta-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--cta-assurance-gap);
  vertical-align: top;
}

.cta-stack > a,
.cta-stack > button,
.cta-stack > .btn,
.cta-stack > [class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-assurance {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--rbg-muted);
  max-width: var(--cta-assurance-max-width);
  text-align: left;
}

.cta-stack.centered {
  align-items: center;
}

.cta-stack.centered .cta-assurance {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .cta-stack,
  .cta-stack--bare {
    width: 100%;
    align-items: stretch;
  }
  .cta-stack > a,
  .cta-stack > button,
  .cta-stack > .btn,
  .cta-stack > [class*="btn"],
  .cta-stack--bare > a,
  .cta-stack--bare > .btn {
    width: 100%;
  }
  .cta-assurance {
    max-width: none;
  }
  .cta-stack.centered .cta-assurance {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
}

/* --- Hero gradient ball (top-left, decorative) --- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 96px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.10) 0%, rgba(124,58,237,0.03) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

/* --- Form fields --- */
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rbg-ink);
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--font-ui);
  font-size: 1rem;
  padding: 12px 16px;
  border: 1px solid var(--rbg-border);
  border-radius: var(--radius-sm);
  background: var(--rbg-surface);
  color: var(--rbg-ink);
  min-height: 48px;
  transition: border-color 200ms;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--rbg-accent);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
.field textarea { min-height: 100px; resize: vertical; }

/* --- Legal page headings (smaller, closer to body) --- */
.legal-body h2 {
  font-size: 1.25rem;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--rbg-ink-strong);
}
.legal-body p {
  margin-bottom: 12px;
  color: var(--rbg-ink-soft);
  line-height: 1.7;
}

/* --- Evidence line (italic small text under pain cards) --- */
.evidence-line {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--rbg-warm);
  margin-top: 12px;
  line-height: 1.5;
}

/* --- Cards --- */
.card {
  background: var(--rbg-surface);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-soft-1);
  transition: transform 200ms var(--ease-lift), box-shadow 200ms var(--ease-lift);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft-2);
}

.card--flat {
  box-shadow: none;
  background: var(--rbg-surface-soft);
}

/* --- Hero (padding defined above with gradient ball) --- */

/* Hero with image — split layout */
.hero--split .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft-2);
}

/* Hero with background image */
.hero--bg {
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero--bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.92) 55%, rgba(255,255,255,0.70) 100%);
  z-index: 0;
}
.hero--bg > * { position: relative; z-index: 1; }

@media (max-width: 1024px) {
  .hero--split .container { grid-template-columns: 1fr; gap: 32px; }
  .hero__image { height: 280px; }
}
@media (max-width: 768px) {
  .hero__image { height: 200px; }
}

.hero__eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rbg-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero__body {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--rbg-ink-soft);
  max-width: 60ch;
  margin-bottom: 40px;
}

/* --- Grid helpers --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --- Ladder / Steps --- */
.ladder {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ladder__step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 32px 0;
  position: relative;
}

.ladder__step + .ladder__step {
  border-top: 1px solid var(--rbg-border);
}

.ladder__number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--rbg-accent-soft);
  color: var(--rbg-accent);
  font-weight: 600;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.ladder__content h3 {
  margin-bottom: 8px;
}

.ladder__content p {
  color: var(--rbg-ink-soft);
}

.ladder__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  margin-top: 8px;
}

.ladder__tag--free {
  background: var(--rbg-accent-soft);
  color: var(--rbg-accent);
}

.ladder__tag--paid {
  background: var(--rbg-caution-soft);
  color: var(--rbg-caution);
}

/* --- Feature blocks --- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-block--reverse {
  direction: rtl;
}
.feature-block--reverse > * {
  direction: ltr;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--rbg-accent-soft);
  color: var(--rbg-accent);
  margin-bottom: 16px;
}

/* --- "Not" list (what the product is not) --- */
.not-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.not-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--rbg-ink-soft);
}

.not-list .icon-x {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--rbg-reported);
  margin-top: 2px;
}

/* --- Pricing table --- */
.pricing-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  background: var(--rbg-surface);
  box-shadow: var(--shadow-soft-1);
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  border: 2px solid var(--rbg-accent);
  box-shadow: var(--shadow-soft-2);
}

.pricing-card__tag {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rbg-accent);
  margin-bottom: 12px;
}

.pricing-card__price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--rbg-ink-strong);
  margin-bottom: 8px;
}

.pricing-card__desc {
  color: var(--rbg-ink-soft);
  margin-bottom: 24px;
  flex-grow: 1;
}

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--rbg-ink-soft);
}

.pricing-card__features .check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--rbg-accent);
  margin-top: 2px;
}

/* --- Accordion --- */
.accordion { display: flex; flex-direction: column; }

.accordion__item {
  border-bottom: 1px solid var(--rbg-border);
}

.accordion__trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--rbg-ink-strong);
  text-align: left;
}

.accordion__trigger .chevron {
  width: 20px;
  height: 20px;
  color: var(--rbg-muted);
  transition: transform 350ms var(--ease-breathe);
}

.accordion__item.open .accordion__trigger .chevron {
  transform: rotate(180deg);
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms var(--ease-breathe), opacity 350ms var(--ease-breathe);
  opacity: 0;
}

.accordion__item.open .accordion__content {
  max-height: 500px;
  opacity: 1;
}

.accordion__content p {
  padding-bottom: 20px;
  color: var(--rbg-ink-soft);
}

/* --- Footer --- */
.footer {
  background: var(--rbg-ink-strong);
  color: #94A3B8;
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.125rem;
  color: #E2E8F0;
  margin-bottom: 12px;
}

.footer__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94A3B8;
  max-width: 32ch;
}

.footer h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #E2E8F0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.875rem;
  color: #94A3B8;
  text-decoration: none;
  transition: color 200ms;
}
.footer__links a:hover { color: #E2E8F0; }

.footer__bottom {
  border-top: 1px solid #334155;
  padding-top: 24px;
  font-size: 0.75rem;
  color: #64748B;
  display: flex;
  justify-content: space-between;
}

/* --- Scroll fade-in (decorative, respects reduced motion) --- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms var(--ease-breathe), transform 500ms var(--ease-breathe);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* --- Responsive (Appendix A5 — desktop-first, mobile-supported) --- */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .nav__inner { padding: 0 32px; }
  h1 { font-size: 2.5rem; line-height: 1.2; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .feature-block { grid-template-columns: 1fr; gap: 40px; }
  .feature-block--reverse { direction: ltr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav__inner { padding: 0 20px; }
  .nav__links { display: none; }
  h1 { font-size: 2rem; line-height: 1.19; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 80px 0 64px; }
  .section { padding: 64px 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .pricing-card { padding: 28px; }
}

@media (max-width: 390px) {
  h1 { font-size: 1.75rem; }
  .container { padding: 0 16px; }
}

/* --- Evidence card (homepage specimen teaser) --- */
.evidence-card {
  background: var(--rbg-surface);
  border: 1px solid var(--rbg-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft-1);
  max-width: 720px;
  overflow: hidden;
}
.evidence-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid var(--rbg-border);
  background: var(--rbg-surface-soft);
  gap: 12px;
  flex-wrap: wrap;
}
.evidence-card__badge {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--rbg-caution-soft);
  color: var(--rbg-caution);
  white-space: nowrap;
}
.evidence-card__body {
  padding: 24px 28px 28px;
}
.evidence-card__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 20px 32px;
}
.evidence-card__metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.evidence-card__metric-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--rbg-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.evidence-card__metric-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rbg-ink-strong);
  line-height: 1.2;
}
.evidence-card__metric-value--accent { color: var(--rbg-accent); }
.evidence-card__metric-value--caution { color: var(--rbg-caution); }
.evidence-card__bar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--rbg-border);
}
.evidence-card__bar {
  flex: 1;
  height: 8px;
  background: var(--rbg-surface-tint);
  border-radius: 4px;
  overflow: hidden;
  max-width: 280px;
}
.evidence-card__bar-fill {
  height: 100%;
  background: var(--rbg-accent);
  border-radius: 4px;
}
.evidence-card__bar-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--rbg-muted);
  white-space: nowrap;
}
@media (max-width: 768px) {
  .evidence-card__body { padding: 20px; }
  .evidence-card__header { padding: 16px 20px; }
  .evidence-card__metrics { grid-template-columns: 1fr 1fr; gap: 16px; }
  .evidence-card__bar-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .evidence-card__bar { max-width: 100%; width: 100%; }
}

/* --- Dark Mode --- */
[data-theme="dark"] {
  --rbg-ink-strong: #F1F5F9;
  --rbg-ink: #E2E8F0;
  --rbg-ink-soft: #94A3B8;
  --rbg-muted: #64748B;

  --rbg-surface: #0B0D11;
  --rbg-surface-soft: #12151B;
  --rbg-surface-tint: #12151B;
  --rbg-border: rgba(255,255,255,0.08);

  --rbg-accent: #A78BFA;
  --rbg-accent-hover: #C4B5FD;
  --rbg-accent-soft: rgba(167,139,250,0.08);
  --rbg-accent-line: rgba(167,139,250,0.15);

  --rbg-warm: #F0A090;
  --rbg-warm-soft: rgba(240,160,144,0.08);

  --rbg-verified: #A78BFA;
  --rbg-caution: #FBBF24;
  --rbg-caution-soft: rgba(251,191,36,0.10);
  --rbg-risk: #FB7185;
  --rbg-risk-soft: rgba(251,113,133,0.10);

  --shadow-soft-1: none;
  --shadow-soft-2: none;
  --shadow-soft-3: 0 8px 32px rgba(0,0,0,0.4);
}

[data-theme="dark"] .nav {
  background: rgba(11,13,17,0.92);
  border-bottom-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .footer {
  background: #08090C;
}

[data-theme="dark"] .footer__bottom {
  border-top-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .btn--primary {
  background: #A78BFA;
  color: #0F172A;
}
[data-theme="dark"] .btn--primary:hover {
  background: #C4B5FD;
  color: #0F172A;
}

[data-theme="dark"] .btn--secondary {
  color: #A78BFA;
  border-color: #A78BFA;
}
[data-theme="dark"] .btn--secondary:hover {
  background: rgba(167,139,250,0.08);
}

[data-theme="dark"] .nav__cta {
  border-color: #A78BFA;
  color: #A78BFA;
}
[data-theme="dark"] .nav__cta:hover {
  background: rgba(167,139,250,0.08);
}

[data-theme="dark"] .nav__logo span {
  color: #A78BFA;
}

[data-theme="dark"] .hero::before {
  background: radial-gradient(circle, rgba(167,139,250,0.12) 0%, rgba(167,139,250,0.04) 50%, transparent 70%);
}

[data-theme="dark"] .card {
  background: #161922;
}

[data-theme="dark"] .card--flat {
  background: #12151B;
}

[data-theme="dark"] .pricing-card {
  background: #161922;
}

[data-theme="dark"] .pricing-card--featured {
  border-color: #A78BFA;
}

[data-theme="dark"] .rbg-cookie-bar {
  background: #08090C;
}

/* Theme toggle button */
.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rbg-border);
  border-radius: 50%;
  background: transparent;
  color: var(--rbg-muted);
  font-size: 1rem;
  cursor: pointer;
  transition: all 200ms;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--rbg-accent);
  color: var(--rbg-accent);
}

/* --- Mobile nav CTA — smaller on mobile --- */
@media (max-width: 768px) {
  .nav__cta {
    font-size: 0.75rem;
    padding: 6px 12px;
    white-space: nowrap;
  }
  .theme-toggle {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
  }
  .nav__inner {
    gap: 8px;
  }
  .nav__logo {
    font-size: 1rem;
  }
}
