/* ═══════════════════════════════════════════════════════════
   DOCILIS — Redesign 2026
   Dark-first, editorial, premium
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ── TOKENS ───────────────────────────────────────────────── */

:root {
  /* Palette */
  --void:          #060a12;
  --deep:          #0a0f1e;
  --navy:          #0d1529;
  --navy-mid:      #131f38;
  --navy-surface:  #1a2847;
  --navy-border:   #1e2f52;
  --navy-muted:    #2a3f66;

  --gold:          #c9a86c;
  --gold-bright:   #dfc080;
  --gold-dim:      #a8894f;
  --gold-pale:     rgba(201,168,108,0.08);
  --gold-glow:     rgba(201,168,108,0.18);

  --white:         #ffffff;
  --off-white:     #f0ece4;
  --text:          rgba(240,236,228,0.92);
  --text-mid:      rgba(240,236,228,0.6);
  --text-muted:    rgba(240,236,228,0.35);

  --surface:       rgba(255,255,255,0.03);
  --surface-hover: rgba(255,255,255,0.055);
  --border:        rgba(255,255,255,0.07);
  --border-gold:   rgba(201,168,108,0.25);

  /* Type */
  --font-serif:    'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Space */
  --radius:        6px;
  --radius-lg:     12px;
  --radius-xl:     20px;

  /* Easing */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── RESET ────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.section-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.section-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 3.5rem;
}

/* ── LAYOUT ───────────────────────────────────────────────── */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 7rem 0;
}

/* ── FADE-IN ANIMATION ────────────────────────────────────── */

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── PERSONA ANIMATION ────────────────────────────────────── */

@keyframes personaFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.persona-fade-in {
  animation: personaFade 0.35s var(--ease-out) both;
}

/* ── BUTTONS ──────────────────────────────────────────────── */

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--gold);
  color: var(--void);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-gold:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,108,0.3);
}

.btn-gold.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: transparent;
  color: rgba(240,236,228,0.65);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
  text-decoration: none;
}

.btn-ghost-light:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
}

.btn-ghost-light.btn-lg {
  padding: 16px 28px;
  font-size: 1rem;
}

/* ── NAV ──────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.nav-scrolled {
  background: rgba(10,15,30,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-mark {
  width: 32px;
  height: 32px;
  background: var(--gold);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--void);
  line-height: 1;
  flex-shrink: 0;
}

.nav-wordmark {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 7px 14px;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: var(--white);
  background: var(--surface-hover);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-signin {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 7px 14px;
  border-radius: var(--radius);
  transition: color 0.15s;
}

.nav-signin:hover { color: var(--white); }

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--gold);
  color: var(--void);
  font-size: 0.83rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.15s, transform 0.15s;
  text-decoration: none;
}

.btn-nav-cta:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ─────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--void);
  padding: 9rem 0 5rem;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,108,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,108,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black, transparent);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 30%, rgba(201,168,108,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 15% 70%, rgba(13,21,41,0.8) 0%, transparent 65%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-inner {
  max-width: 780px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(201,168,108,0.1);
  border: 1px solid rgba(201,168,108,0.22);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 2.5rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  animation: fadeDown 0.8s var(--ease-out) 0.1s both;
}

.hero-eyebrow em {
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 0.9rem;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.75rem;
  animation: fadeUp 0.9s var(--ease-out) 0.2s both;
}

.headline-accent {
  color: var(--gold);
  font-style: italic;
}

.headline-light {
  color: rgba(240,236,228,0.45);
  font-weight: 400;
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.9s var(--ease-out) 0.35s both;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  animation: fadeUp 0.9s var(--ease-out) 0.45s both;
}

.hero-footnote {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4rem;
  animation: fadeUp 0.9s var(--ease-out) 0.5s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  animation: fadeUp 0.9s var(--ease-out) 0.6s both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(201,168,108,0.5), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 0.8; transform: scaleY(1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── TRUST STRIP ──────────────────────────────────────────── */

.trust-strip {
  background: var(--navy);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.trust-sources {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.source-badge {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
  white-space: nowrap;
}

/* ── PROBLEM SECTION ──────────────────────────────────────── */

.problem-section {
  background: var(--deep);
  border-bottom: 1px solid var(--border);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0;
}

.problem-card {
  position: relative;
  padding: 2.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s, background 0.25s;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.problem-card:hover {
  border-color: var(--border-gold);
  background: var(--surface-hover);
}

.problem-card:hover::before {
  opacity: 1;
}

.problem-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201,168,108,0.12);
  line-height: 1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.04em;
}

.problem-card h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.65rem;
}

.problem-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── PERSONA SELECTOR ─────────────────────────────────────── */

.selector-section {
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
}

.selector-headline {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
}

.selector-sub {
  margin-bottom: 2.5rem;
}

.persona-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.persona-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  text-align: left;
  outline: none;
}

.persona-btn:hover {
  border-color: var(--border-gold);
  background: var(--gold-pale);
  transform: translateY(-2px);
}

.persona-btn-active {
  border-color: var(--gold) !important;
  background: rgba(201,168,108,0.1) !important;
  box-shadow: 0 0 0 1px var(--gold), 0 8px 32px rgba(201,168,108,0.15);
}

.persona-btn-active::after {
  content: '✓';
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 22px;
  height: 22px;
  background: var(--gold);
  color: var(--void);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 22px;
  text-align: center;
}

.persona-btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold-pale);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.persona-btn-icon svg {
  width: 20px;
  height: 20px;
}

.persona-btn-title {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.persona-btn-sub {
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ── HOW IT WORKS ─────────────────────────────────────────── */

.how-section {
  background: var(--void);
  border-bottom: 1px solid var(--border);
}

.how-headline {
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1rem;
}

.how-step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.how-step:last-of-type {
  border-bottom: none;
}

.how-step-number {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(201,168,108,0.15);
  letter-spacing: -0.04em;
  padding-top: 0.25rem;
}

.how-step-body h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.65rem;
}

.how-step-body p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 600px;
}

.how-connector {
  display: none; /* simplified to border approach */
}

/* ── PIPELINE ─────────────────────────────────────────────── */

.pipeline-section {
  background: var(--navy);
  position: relative;
}

.pipeline-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(201,168,108,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.pipeline-flow {
  display: flex;
  align-items: stretch;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  padding: 1rem 0 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  position: relative;
  z-index: 1;
}

/* Spacers grow equally on both sides to centre the cards.
   When cards overflow they shrink to min 2rem, becoming padding. */
.pipeline-flow::before,
.pipeline-flow::after {
  content: '';
  flex: 1 0 2rem;
}

.pipeline-flow::-webkit-scrollbar { height: 4px; }
.pipeline-flow::-webkit-scrollbar-track { background: transparent; }
.pipeline-flow::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.pipeline-carousel {
  position: relative;
  display: flex;
  align-items: center;
}

.pipeline-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, opacity 0.2s;
  flex-shrink: 0;
}

.pipeline-nav:hover {
  border-color: var(--border-gold);
  color: var(--gold);
}

.pipeline-nav svg {
  width: 18px;
  height: 18px;
}

.pipeline-nav-prev { left: 0.75rem; }
.pipeline-nav-next { right: 0.75rem; }

.pipeline-stage {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.pipeline-stage:hover {
  border-color: var(--border-gold);
  background: var(--surface-hover);
}

.pipeline-stage-final {
  border-color: var(--border-gold);
  background: rgba(201,168,108,0.06);
}

.pipeline-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gold-pale);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dim);
  flex-shrink: 0;
  margin-bottom: 0.25rem;
}

.pipeline-icon svg {
  width: 18px;
  height: 18px;
}

.pipeline-icon-gold {
  background: rgba(201,168,108,0.18);
  color: var(--gold);
  border-color: rgba(201,168,108,0.4);
}

.pipeline-stage-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pipeline-stage h4 {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.pipeline-stage p {
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.6;
  flex: 1;
}

.pipeline-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
  width: fit-content;
  margin-top: auto;
}

.pipeline-tag.gold {
  background: rgba(201,168,108,0.1);
  border-color: rgba(201,168,108,0.3);
  color: var(--gold);
}

.pipeline-arrow {
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.pipeline-arrow svg {
  width: 40px;
  height: 24px;
}

/* ── DIFFERENTIATOR ───────────────────────────────────────── */

.diff-section {
  background: var(--deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.diff-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.diff-left .section-label { margin-bottom: 1.5rem; }

.diff-quote {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
  margin-bottom: 1.75rem;
}

.diff-body {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.diff-etymology {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  background: var(--gold-pale);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  font-size: 0.83rem;
  color: rgba(201,168,108,0.8);
  line-height: 1.7;
}

.diff-etymology em {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
}

.diff-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.diff-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.diff-list li:first-child {
  border-top: 1px solid var(--border);
}

.diff-list li strong {
  color: var(--white);
  font-weight: 600;
}

.diff-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(201,168,108,0.12);
  border: 1px solid rgba(201,168,108,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--gold);
}

.diff-check svg {
  width: 12px;
  height: 12px;
}

/* ── FEATURES ─────────────────────────────────────────────── */

.features-section {
  background: var(--void);
}

.features-section .section-headline {
  max-width: 640px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 0;
}

.feature-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.22s, background 0.22s, transform 0.22s;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.22s;
}

.feature-card:hover {
  border-color: var(--border-gold);
  background: var(--surface-hover);
  transform: translateY(-3px);
}

.feature-card:hover::after { opacity: 0.6; }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-pale);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.quality-icon {
  background: rgba(201,168,108,0.14);
  border-color: rgba(201,168,108,0.4);
}

.feature-card h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.845rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.feature-card p em {
  font-style: italic;
  color: var(--text);
}

/* ── TESTIMONIALS ─────────────────────────────────────────── */

.testimonials-section {
  background: var(--navy);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  padding: 2.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color 0.2s;
}

.testimonial-card:hover {
  border-color: var(--border-gold);
}

.quote-mark {
  width: 28px;
  height: auto;
  color: var(--gold);
  opacity: 0.35;
  flex-shrink: 0;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.author-avatar svg {
  width: 40px;
  height: 40px;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-info strong {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--white);
}

.author-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.author-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

.researcher-tag { background: rgba(99,179,237,0.1); color: rgba(99,179,237,0.8); border: 1px solid rgba(99,179,237,0.2); }
.executive-tag  { background: rgba(201,168,108,0.1); color: var(--gold-dim); border: 1px solid var(--border-gold); }
.comms-tag      { background: rgba(154,117,200,0.1); color: rgba(154,117,200,0.8); border: 1px solid rgba(154,117,200,0.2); }

/* ── COMPARISON ───────────────────────────────────────────── */

.compare-section {
  background: var(--deep);
}

.compare-wrap {
  overflow-x: auto;
  margin-top: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 640px;
}

.compare-table thead tr {
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--text-mid);
  font-size: 0.82rem;
  text-align: center;
  white-space: nowrap;
}

.compare-table th.col-feature {
  text-align: left;
  width: 38%;
}

.compare-table th.col-us {
  background: rgba(201,168,108,0.06);
}

.compare-us-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gold);
}

.compare-d-mark {
  width: 24px;
  height: 24px;
  background: var(--gold);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--void);
  line-height: 1;
}

.compare-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.compare-table tbody tr:last-child { border-bottom: none; }

.compare-table tbody tr:hover {
  background: var(--surface);
}

.compare-table td {
  padding: 1rem 1.5rem;
  text-align: center;
  color: var(--text-mid);
}

.feat-label {
  text-align: left !important;
  color: var(--text);
  font-size: 0.855rem;
}

.col-us {
  background: rgba(201,168,108,0.04);
}

.tick { color: var(--gold); font-size: 1rem; font-weight: 700; }
.cross { color: var(--text-muted); font-size: 0.9rem; }
.partial {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 3px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  display: inline-block;
}

.price-row td { padding: 1.25rem 1.5rem; }

.price-us {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold);
}

.price-us span, .price-other span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 2px;
}

.price-other {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-muted);
}

.compare-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
}

/* ── PRICING ──────────────────────────────────────────────── */

.pricing-section {
  background: var(--void);
}

.pricing-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.billing-toggle {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3px;
  gap: 2px;
}

.billing-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: transparent;
  border: none;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.billing-btn.active {
  background: var(--navy-mid);
  color: var(--white);
}

.save-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  background: rgba(201,168,108,0.15);
  color: var(--gold);
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.currency-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.83rem;
}

.currency-wrap svg { flex-shrink: 0; }

#currency-select {
  background: transparent;
  border: none;
  color: var(--text-mid);
  font-family: var(--font-sans);
  font-size: 0.83rem;
  cursor: pointer;
  outline: none;
}

#currency-select option { background: var(--navy); }

.billing-saving-note {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.5rem;
  height: 1.2rem;
}

.pricing-group-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  margin-top: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.pricing-group-label-team {
  margin-top: 3.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.pricing-grid-teams {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
}

.price-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.price-card:hover {
  border-color: var(--border-gold);
}

.price-card-featured {
  border-color: var(--border-gold);
  background: rgba(201,168,108,0.05);
  box-shadow: 0 0 0 1px rgba(201,168,108,0.15), 0 20px 60px rgba(0,0,0,0.4);
}

.price-card-team { border-left: 2px solid var(--gold-dim); }
.price-card-agency { border-left: 2px solid var(--gold); }

.plan-persona-highlight {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 2px rgba(201,168,108,0.25), 0 20px 60px rgba(0,0,0,0.4) !important;
}

.plan-highlighted {
  box-shadow: 0 0 0 1px var(--gold), 0 20px 60px rgba(201,168,108,0.12) !important;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--gold);
  color: var(--void);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 1.25rem;
}

.plan-badge-team {
  background: rgba(201,168,108,0.15);
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

.plan-badge-agency {
  background: var(--gold);
  color: var(--void);
}

.plan-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 0.25rem;
}

.plan-amount {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.02em;
}

.plan-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.plan-billing-note {
  font-size: 0.75rem;
  color: var(--gold-dim);
  height: 1.2rem;
  margin-bottom: 0.75rem;
}

.plan-desc {
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.plan-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 1.5rem;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.4;
}

.feat-check {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  width: 16px;
}

.feat-x {
  color: var(--text-muted);
  font-size: 0.8rem;
  flex-shrink: 0;
  width: 16px;
}

.feat-muted { opacity: 0.45; }

.plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s;
  text-align: center;
}

.plan-cta:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.2);
}

.plan-cta-featured {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--void);
}

.plan-cta-featured:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.plan-cta-team {
  background: var(--gold-pale);
  border-color: var(--border-gold);
  color: var(--gold);
}

.plan-cta-team:hover {
  background: rgba(201,168,108,0.14);
}

.pricing-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 2rem;
}

/* ── CTA ──────────────────────────────────────────────────── */

.cta-section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
  background: var(--navy);
  border-top: 1px solid var(--border);
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(201,168,108,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 80% 40% at 20% 20%, rgba(201,168,108,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,108,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,108,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, black, transparent);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.cta-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.cta-headline span {
  color: var(--gold);
  font-style: italic;
}

.cta-sub {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.cta-btn {
  margin: 0 auto;
}

.cta-legal {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cta-legal a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: rgba(201,168,108,0.3);
}

.cta-legal a:hover { color: var(--gold); }

/* ── FOOTER ───────────────────────────────────────────────── */

.footer {
  background: var(--void);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-parent {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-parent a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.15);
}

.footer-parent a:hover { color: var(--text-mid); }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.83rem;
  color: var(--text-mid);
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-bottom a {
  color: var(--text-muted);
  transition: color 0.15s;
}

.footer-bottom a:hover { color: var(--text-mid); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .diff-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .pipeline-flow {
    padding-bottom: 1rem;
  }
}

@media (max-width: 860px) {
  section { padding: 5rem 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(10,15,30,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    gap: 0.25rem;
    z-index: 199;
  }

  .nav-links.nav-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    border-radius: 0;
  }

  .nav-hamburger { display: flex; }

  .nav-actions .nav-signin { display: none; }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .persona-selector {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-step {
    grid-template-columns: 60px 1fr;
    gap: 1.25rem;
  }

  .how-step-number {
    font-size: 3rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid-teams {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .diff-inner {
    gap: 2.5rem;
  }

  .pipeline-stage {
    min-width: 160px;
  }
}

@media (max-width: 640px) {
  :root { font-size: 15px; }

  .container { padding: 0 1.25rem; }

  .hero {
    min-height: auto;
    padding: 8rem 0 5rem;
  }

  .hero-headline {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-ctas .btn-gold,
  .hero-ctas .btn-ghost-light {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 1.25rem;
    flex-wrap: wrap;
  }

  .stat-divider { display: none; }

  .persona-selector {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-headline {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .cta-headline {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .compare-table th, .compare-table td {
    padding: 0.85rem 1rem;
  }
}

/* ── SCROLL BEHAVIOUR ─────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .hero-headline,
  .hero-sub,
  .hero-ctas,
  .hero-eyebrow,
  .hero-footnote,
  .hero-stats {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .scroll-line { animation: none; }
  .eyebrow-dot { animation: none; }
}

/* ═══════════════════════════════════════════════════════════
   LEGAL PAGES COMPAT (privacy.html, terms.html)
   These files cannot be modified; this section keeps them
   functional with the new design system.
═══════════════════════════════════════════════════════════ */

/* Nav logo compat */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--gold);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-mark span {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--void);
  line-height: 1;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Button compat */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all 0.18s;
  text-decoration: none;
  color: var(--text-mid);
  background: var(--surface);
}

.btn:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
  background: var(--surface-hover);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.78rem;
}

/* Legal content */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}

.legal-page h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.legal-page h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin: 2.5rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.legal-page h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.75rem 0 0.5rem;
}

.legal-page p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-page ul, .legal-page ol {
  margin: 0.75rem 0 1rem 1.5rem;
}

.legal-page li {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

.legal-page a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(201,168,108,0.35);
}

.legal-page a:hover {
  color: var(--gold-bright);
}

.legal-page strong {
  color: var(--text);
  font-weight: 600;
}

.legal-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 2rem !important;
}

.legal-highlight {
  background: rgba(201,168,108,0.07);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.7;
}
