/* ==========================================================================
   GavelSight — style.css
   Dark, premium legal SaaS — mobile-first, fully responsive
   Brand tokens: #0D1117 bg | #B8860B gold | #161B22 surface | #F0F6FC text
   Fonts: Fraunces (display) + Inter (body)
   ========================================================================== */

/* ─── SELF-HOSTED FONT ───────────────────────────────────────────────────── */
@font-face { font-family: 'Plus Jakarta Sans'; src: url('../fonts/PlusJakartaSans-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('../fonts/PlusJakartaSans-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('../fonts/PlusJakartaSans-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('../fonts/PlusJakartaSans-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('../fonts/PlusJakartaSans-ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }

/* ─── DESIGN TOKENS ──────────────────────────────────────────────────────── */
:root {
  --gold:           #B8860B;
  --gold-light:     #D4A017;
  --gold-bright:    #E8B420;
  --gold-dim:       rgba(184,134,11,0.12);
  --gold-border:    rgba(184,134,11,0.35);
  --bg:             #0D1117;
  --surface:        #161B22;
  --surface-2:      #1C2128;
  --surface-3:      #21262D;
  --border:         #30363D;
  --border-subtle:  #21262D;
  --text:           #F0F6FC;
  --text-secondary: #CDD9E5;
  --muted:          #8B949E;
  --muted-dim:      #6E7681;
  --radius-xs:      4px;
  --radius-sm:      6px;
  --radius-md:      8px;
  --radius-lg:      12px;
  --radius-xl:      16px;
  --radius-pill:    100px;
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.3);
  --shadow-md:      0 4px 12px rgba(0,0,0,0.35);
  --shadow-lg:      0 8px 32px rgba(0,0,0,0.45);
  --shadow-gold:    0 0 0 1px var(--gold), 0 8px 32px rgba(184,134,11,0.15);
  --font-display:   'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body:      'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --nav-h:          64px;
  --section-pad:    96px;
  --section-pad-sm: 64px;
  --max-w:          1280px;
  --content-w:      720px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

/* ─── LAYOUT HELPERS ─────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: var(--section-pad) 0;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-heading em {
  font-style: italic;
  color: var(--gold-light);
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.75;
}

.section-header {
  margin-bottom: 56px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-label {
  justify-content: center;
}

.section-header.centered .section-label::before {
  display: none;
}

.section-header.centered .section-sub {
  margin: 0 auto;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: #0A0C0F;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(184,134,11,0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--text-secondary);
  color: var(--text);
  background: rgba(255,255,255,0.03);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
}

.btn-outline-gold:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold-bright);
}

.btn-sm {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

/* ─── NAV ────────────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13,17,23,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 24px;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
  flex-shrink: 0;
}

.wordmark .gold {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 140ms ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
}

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

.nav-login {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 140ms ease;
}

.nav-login:hover {
  color: var(--text);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.hamburger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 250ms ease, opacity 250ms ease;
}

.hamburger[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(13,17,23,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 999;
  padding: 32px;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: block;
  transition: color 140ms ease;
}

.mobile-menu a:hover {
  color: var(--text);
}

.mobile-menu .btn {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
}

/* ─── FADE-IN ANIMATION (JS adds .visible) ───────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  padding: 128px 0 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(184,134,11,0.09) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(184,134,11,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 860px;
  margin: 0 auto 28px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 19px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted-dim);
}

.hero-trust-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 64px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.stat-item {
  flex: 1;
  min-width: 160px;
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── PROBLEM BAND ───────────────────────────────────────────────────────── */
.problem-band {
  padding: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-band-inner {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.problem-band-inner::-webkit-scrollbar {
  display: none;
}

.problem-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
}

.problem-item:last-child {
  border-right: none;
}

.problem-icon {
  font-size: 18px;
  opacity: 0.6;
}

.problem-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

.problem-text strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* ─── FEATURES ───────────────────────────────────────────────────────────── */
.features {
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feat-card {
  background: var(--surface);
  padding: 36px 32px;
  transition: background 140ms ease;
  position: relative;
}

.feat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184,134,11,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.feat-card:hover {
  background: var(--surface-2);
}

.feat-card:hover::after {
  opacity: 1;
}

.feat-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
}

.feat-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feat-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── HOW IT WORKS ───────────────────────────────────────────────────────── */
.how {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 20px;
  left: calc(33.33% - 0px);
  right: calc(33.33% - 0px);
  height: 1px;
  background: linear-gradient(to right, var(--gold-border), var(--border), var(--gold-border));
  pointer-events: none;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-light);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── DATA SOURCES ───────────────────────────────────────────────────────── */
.data-sources {
  background: var(--bg);
}

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

.source-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.source-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.source-card-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.source-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.source-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.source-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  width: fit-content;
}

/* ─── TESTIMONIALS ───────────────────────────────────────────────────────── */
.testimonials {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.testimonial-card:hover {
  border-color: var(--gold-border);
  box-shadow: 0 0 0 1px var(--gold-border);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
}

.star {
  color: var(--gold);
  font-size: 14px;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 16px;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-light);
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 3px;
}

.author-title {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* ─── PRICING ────────────────────────────────────────────────────────────── */
.pricing {
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.price-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.price-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  background: var(--surface-2);
  position: relative;
}

.featured-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #0A0C0F;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.price-tier {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.price-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.price-dollar {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-dollar.muted {
  font-size: 40px;
  color: var(--muted);
}

.price-period {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 4px;
}

.price-note {
  font-size: 13px;
  color: var(--muted-dim);
  margin-bottom: 28px;
}

.price-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.price-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.price-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.price-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(184,134,11,0.15);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 10px;
  color: var(--gold-light);
}

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: color 140ms ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--gold-light);
}

.faq-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  color: var(--muted);
  transition: transform 250ms ease, background 140ms ease;
}

details[open] .faq-arrow {
  transform: rotate(180deg);
  background: var(--gold-dim);
  border-color: var(--gold-border);
  color: var(--gold-light);
}

.faq-answer {
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 640px;
}

/* ─── FINAL CTA ──────────────────────────────────────────────────────────── */
.final-cta {
  padding: 112px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(184,134,11,0.07) 0%, transparent 70%);
  border-top: 1px solid var(--border);
  pointer-events: none;
}

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.15;
}

.final-cta-sub {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cta-fine {
  font-size: 13px;
  color: var(--muted-dim);
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-main {
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.footer-wordmark .gold {
  color: var(--gold);
}

.footer-tagline {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

.footer-col-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 140ms ease;
}

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

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted-dim);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  font-size: 13px;
  color: var(--muted-dim);
  transition: color 140ms ease;
}

.footer-legal-links a:hover {
  color: var(--muted);
}

/* ─── RESPONSIVE — TABLET ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }

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

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

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

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

  .footer-brand {
    grid-column: span 2;
  }
}

/* ─── RESPONSIVE — MOBILE ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --section-pad: var(--section-pad-sm);
  }

  .container {
    padding: 0 20px;
  }

  /* Nav */
  .nav-links,
  .nav-login {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

  /* Hero */
  .hero {
    padding: 80px 0 64px;
  }

  .hero-stats {
    flex-direction: column;
    border-radius: var(--radius-md);
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px;
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  /* Problem band */
  .problem-band-inner {
    gap: 0;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    border-radius: var(--radius-md);
  }

  /* How it works */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .steps-grid::before {
    display: none;
  }

  /* Data sources */
  .source-cards {
    grid-template-columns: 1fr;
  }

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

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

  .price-card {
    padding: 32px 24px;
  }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: auto;
  }

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

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    justify-content: center;
  }
}
