/* VegasSTR - warm dark-first design system */
:root {
  --bg: #0f0d0a;
  --bg-deep: #0a0908;
  --surface: #1a1612;
  --surface-2: #221c16;
  --text: #ece7dd;
  --muted: #968d80;
  --border: #2c2620;
  --accent: #22d3a7;
  --accent-dim: #14a07c;
  --amber: #f4a261;
  --gold: #d4a574;
  --max: 1200px;
  --radius: 10px;
  --radius-sm: 6px;
  --font-sans: "Inter", "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --shadow-1: 0 1px 0 rgba(255,255,255,0.02) inset, 0 0 0 1px var(--border);
  --shadow-2: 0 20px 40px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
  --warm-rule: linear-gradient(90deg, transparent, rgba(212,165,116,0.22) 20%, rgba(212,165,116,0.22) 80%, transparent);
}

:root[data-theme="light"] {
  --bg: #faf8f3;
  --bg-deep: #f5f1e8;
  --surface: #ffffff;
  --surface-2: #f5f1e8;
  --text: #1a1612;
  --muted: #6b6258;
  --border: #e6dfd3;
  --accent: #0fa37f;
  --accent-dim: #0d8d6e;
  --amber: #d18b3f;
  --gold: #b8884d;
  --shadow-1: 0 0 0 1px var(--border);
  --shadow-2: 0 12px 30px rgba(80,60,30,0.08), 0 0 0 1px var(--border);
  --warm-rule: linear-gradient(90deg, transparent, rgba(184,136,77,0.25) 20%, rgba(184,136,77,0.25) 80%, transparent);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(circle at 18% 8%, rgba(244,162,97,0.05), transparent 45%),
    radial-gradient(circle at 82% 88%, rgba(34,211,167,0.035), transparent 55%);
  background-attachment: fixed;
  min-height: 100vh;
}
:root[data-theme="light"] body {
  background-image:
    radial-gradient(circle at 18% 8%, rgba(209,139,63,0.06), transparent 45%),
    radial-gradient(circle at 82% 88%, rgba(15,163,127,0.05), transparent 55%);
}

a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #0a0908; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---- header ---- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.logo-link { display: inline-flex; align-items: center; }
.logo-svg { height: 22px; width: auto; color: var(--text); }
.logo-svg .accent { fill: var(--accent); }

/* signal-bars settle-in animation */
.logo-svg .signal-bars .bar {
  transform-origin: center bottom;
  transform-box: fill-box;
  animation: bar-rise 360ms cubic-bezier(.2,.7,.2,1) both;
}
.logo-svg .signal-bars .bar-1 { animation-delay: 0ms; }
.logo-svg .signal-bars .bar-2 { animation-delay: 140ms; }
.logo-svg .signal-bars .bar-3 { animation-delay: 280ms; }
@keyframes bar-rise {
  from { transform: scaleY(0); opacity: 0; }
  to   { transform: scaleY(1); }
}

.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a { color: var(--muted); transition: color .15s ease; }
.nav-links a:hover { color: var(--text); }

.nav-links a.cta-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent);
  color: #0a0908;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform .15s ease, background .15s ease;
}
.nav-links a.cta-pill:hover { background: #2ce4b7; color: #0a0908; }

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  width: 36px; height: 36px;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .15s, border-color .15s;
}
.theme-toggle:hover { color: var(--text); border-color: var(--text); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* ---- hero ---- */
.hero {
  position: relative;
  padding: 120px 0 96px;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("https://images.unsplash.com/photo-1718227756483-c11c3d4eee42?w=2400&q=80&auto=format&fit=crop");
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  z-index: -2;
  filter: saturate(1.05);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(15,13,10,0.55) 0%,
    rgba(15,13,10,0.72) 45%,
    rgba(15,13,10,0.92) 100%);
  z-index: -1;
}
:root[data-theme="light"] .hero::after {
  background: linear-gradient(180deg,
    rgba(20,15,10,0.42) 0%,
    rgba(30,22,16,0.56) 45%,
    rgba(250,248,243,0.94) 100%);
}

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

.proof-chip {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px;
  color: rgba(236,231,221,0.92);
  background: rgba(20,16,12,0.55);
  border: 1px solid rgba(244,162,97,0.30);
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  letter-spacing: 0.005em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.proof-chip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  animation: pulse 2.4s ease-in-out infinite;
}
.proof-chip strong { color: var(--text); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 6px 12px;
  border-radius: 999px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

h1.hero-title {
  font-size: clamp(40px, 6.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-top: 24px;
  max-width: 18ch;
  color: #ffffff;
  text-shadow:
    0 1px 0 rgba(0,0,0,0.25),
    0 6px 32px rgba(244,162,97,0.20),
    0 0 1px rgba(255,255,255,0.05);
}
h1.hero-title .accent-word {
  color: var(--accent);
  text-shadow:
    0 1px 0 rgba(0,0,0,0.25),
    0 0 24px rgba(34,211,167,0.35);
}
:root[data-theme="light"] h1.hero-title { color: #ffffff; }

.hero-sub {
  margin-top: 22px;
  max-width: 60ch;
  color: rgba(236,231,221,0.92);
  font-size: 18px;
  line-height: 1.55;
}
:root[data-theme="light"] .hero-sub { color: rgba(245,242,236,0.96); }

.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.btn-primary {
  background: var(--accent);
  color: #0a0908;
  box-shadow: 0 8px 24px rgba(34,211,167,0.25);
}
.btn-primary:hover { background: #2ce4b7; color: #0a0908; }
.btn-ghost {
  background: rgba(20,16,12,0.55);
  color: #ffffff;
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.45); background: rgba(20,16,12,0.75); }

/* section-internal ghost button reverts to neutral */
section:not(.hero) .btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  backdrop-filter: none;
}
section:not(.hero) .btn-ghost:hover { border-color: var(--text); }

/* ---- ticker ---- */
.ticker {
  margin-top: 48px;
  background: rgba(20,16,12,0.78);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
  font-family: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 14px;
  color: var(--text);
  max-width: 760px;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  position: relative;
}
.ticker .live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 14px var(--amber);
  flex: 0 0 auto;
  animation: pulse 1.6s ease-in-out infinite;
}
.ticker-label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  flex: 0 0 auto;
}
.ticker-window {
  position: relative;
  flex: 1;
  height: 1.4em;
  overflow: hidden;
}
.ticker-line {
  position: absolute; inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(236,231,221,0.94);
}
.ticker-line.is-active { opacity: 1; transform: translateY(0); }
.ticker-line .ts { color: var(--muted); margin-right: 8px; }
.ticker-line .hl { color: var(--accent); }

/* ---- OTA logo strip ---- */
.ota-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 36px 0 40px;
  position: relative;
}
.ota-strip::before, .ota-strip::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: var(--warm-rule);
}
.ota-strip::before { top: -1px; }
.ota-strip::after { bottom: -1px; }
.ota-label {
  text-align: center;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.ota-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 32px 48px;
  max-width: 1000px;
  margin: 0 auto;
}
.ota-logo {
  height: 28px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  opacity: 0.62;
  transition: opacity .2s ease, color .2s ease, transform .2s ease;
}
.ota-logo:hover { opacity: 1; color: var(--text); transform: translateY(-1px); }
.ota-logo svg { height: 100%; width: auto; fill: currentColor; }
.ota-logo .wordmark {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1;
  font-family: var(--font-sans);
}
.ota-logo .wordmark sub {
  font-size: 11px;
  vertical-align: baseline;
  font-weight: 500;
  color: inherit;
  letter-spacing: 0;
}

/* ---- sections ---- */
section { padding: 96px 0; position: relative; }
section + section { border-top: 1px solid var(--border); }
section + section::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: var(--warm-rule);
}

.section-head { margin-bottom: 56px; max-width: 60ch; }
.section-kicker {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 600;
  position: relative;
  display: inline-block;
}
.section-kicker::after {
  content: "";
  display: block;
  width: 28px; height: 2px;
  background: var(--amber);
  margin-top: 6px;
  border-radius: 2px;
}
h2.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--text);
}
.section-sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  max-width: 60ch;
}

/* ---- comparison ---- */
.compare {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.compare-head, .compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.compare-head > div {
  padding: 18px 22px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.compare-head > div + div {
  border-left: 1px solid var(--border);
  color: var(--accent);
  font-weight: 600;
}
.compare-head .brand-vegas {
  color: var(--text);
  font-weight: 500;
}
.compare-head .brand-str {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.compare-row > div {
  padding: 18px 22px;
  font-size: 15.5px;
  line-height: 1.5;
  border-bottom: 1px solid var(--border);
}
.compare-row > div + div {
  border-left: 1px solid var(--border);
  background: color-mix(in srgb, var(--accent) 5%, var(--surface));
}
.compare-row:last-child > div { border-bottom: none; }
.compare-row .old { color: var(--muted); }
.compare-row .new { color: var(--text); }

/* ---- capability cards ---- */
.cards-5 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 16px; right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.45;
}
.card:nth-child(even)::before {
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: 0.40;
}
.card:hover {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
:root[data-theme="light"] .card:hover { box-shadow: 0 12px 30px rgba(80,60,30,0.10); }
.card .icon {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  border-radius: 8px;
  margin-bottom: 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
}
.card:nth-child(even) .icon {
  background: color-mix(in srgb, var(--amber) 14%, transparent);
  color: var(--amber);
  border-color: color-mix(in srgb, var(--amber) 32%, transparent);
}
.card .icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.card h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---- stats ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.stat::before {
  content: "";
  position: absolute; top: 0; left: 16px; right: 16px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: 0.55;
}
.stat .num {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 0 32px rgba(244,162,97,0.18);
}
.stat .num small {
  font-size: .55em; color: var(--muted); font-weight: 500; letter-spacing: -0.01em;
  text-shadow: none;
}
.stat .label {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

/* ---- trust ---- */
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.trust {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
}
.trust h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.trust p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ---- articles grid ---- */
.articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.articles .article-card.featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: stretch;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}
.article-card .badge {
  display: inline-flex; align-items: center;
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber);
  background: color-mix(in srgb, var(--amber) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--amber) 30%, transparent);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  align-self: flex-start;
}
.article-card:hover {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
  box-shadow: 0 10px 24px rgba(0,0,0,0.30);
}
.article-card .meta {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.article-card h3 {
  font-size: 19px;
  margin-top: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text);
}
.article-card.featured h3 { font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; }
.article-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.article-card .read-more {
  margin-top: auto;
  padding-top: 22px;
  font-size: 14px;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500;
}
.article-card .read-more::after { content: "->"; transition: transform .15s; }
.article-card:hover .read-more::after { transform: translateX(3px); }

.featured-side {
  padding-left: 28px;
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: center;
}
.featured-side .meta { color: var(--accent); }

/* ---- audit form ---- */
.audit-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.audit-copy h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.025em; line-height: 1.1; font-weight: 600; }
.audit-copy p { color: var(--muted); margin-top: 16px; font-size: 16.5px; max-width: 44ch; }
.audit-bullets { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.audit-bullets li {
  list-style: none;
  color: var(--muted);
  font-size: 14.5px;
  padding-left: 22px;
  position: relative;
}
.audit-bullets li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 10px; height: 2px; background: var(--accent);
}

form.audit {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.20);
}
:root[data-theme="light"] form.audit { box-shadow: 0 8px 30px rgba(80,60,30,0.08); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.field input, .field select, .field textarea {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  font: inherit;
  font-size: 14.5px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}
.field textarea { min-height: 92px; resize: vertical; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
}
.radio-row input { appearance: none; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--border); margin: 0; }
.radio-row input:checked { background: var(--accent); border-color: var(--accent); }
.radio-row label:has(input:checked) { border-color: var(--accent); color: var(--accent); }

.form-msg {
  display: none;
  padding: 18px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  font-size: 14.5px;
}
.form-msg.show { display: block; }
form.audit.is-sent .form-fields { display: none; }

/* ---- footer ---- */
footer.site {
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
  background: var(--surface);
  position: relative;
}
footer.site::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: var(--warm-rule);
}
.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.foot .col h4 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 600;
}
.foot .col a { color: var(--muted); font-size: 14px; display: block; margin-bottom: 8px; }
.foot .col a:hover { color: var(--text); }
.foot-tag { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 36ch; }
.foot-copy { color: var(--muted); font-size: 12px; margin-top: 24px; }

/* ---- article page ---- */
body.article-body { background: var(--bg); }
.article-page {
  padding: 80px 0 64px;
}
.article-page .container { max-width: 760px; }
.article-page .breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.article-page .breadcrumb a { color: var(--muted); }
.article-page .breadcrumb a:hover { color: var(--text); }
.article-page h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--text);
}
.article-page .lede {
  margin-top: 22px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
}
.article-page .article-meta {
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  display: flex; gap: 18px;
  flex-wrap: wrap;
}

.prose { max-width: 65ch; margin-top: 40px; }
.prose p, .prose ul, .prose ol { font-size: 17px; line-height: 1.75; color: var(--text); margin-top: 1.1em; }
.prose h2 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 600;
  margin-top: 2.2em;
  margin-bottom: 0.4em;
}
.prose h3 {
  font-size: 19px;
  font-weight: 600;
  margin-top: 1.8em;
  margin-bottom: 0.4em;
}
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-top: 8px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose em { font-style: normal; color: var(--accent); }
.prose a { color: var(--accent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.prose a:hover { border-bottom-color: var(--accent); }
.prose blockquote {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 20px;
  margin: 1.8em 0;
  color: var(--muted);
  font-size: 17px;
}
.prose .pull-num {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
}
.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3em 0;
}

.related {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.related h4 {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px; font-weight: 600;
}
.related .links { display: flex; flex-direction: column; gap: 10px; }
.related .links a {
  color: var(--text);
  font-size: 16px;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.related .links a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.article-cta {
  margin-top: 64px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.article-cta::before {
  content: "";
  position: absolute; top: 0; left: 24px; right: 24px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: 0.55;
}
.article-cta h3 {
  font-size: 24px; font-weight: 600; letter-spacing: -0.02em;
}
.article-cta p { color: var(--muted); margin-top: 10px; max-width: 50ch; font-size: 15.5px; }
.article-cta .btn { margin-top: 22px; }

/* ---- responsive ---- */
@media (max-width: 960px) {
  .cards-5 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .trust-row { grid-template-columns: 1fr; }
  .articles { grid-template-columns: repeat(2, 1fr); }
  .articles .article-card.featured { grid-column: span 2; grid-template-columns: 1fr; }
  .featured-side { padding-left: 0; padding-top: 22px; border-left: none; border-top: 1px solid var(--border); }
  .audit-wrap { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .ota-grid { gap: 24px 36px; }
}

@media (max-width: 680px) {
  section { padding: 72px 0; }
  .hero { padding: 80px 0 64px; }
  .nav-links a:not(.cta-pill) { display: none; }
  .cards-5 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .articles { grid-template-columns: 1fr; }
  .articles .article-card.featured { grid-column: span 1; }
  .compare-head > div, .compare-row > div { padding: 14px 16px; font-size: 14px; }
  .foot { grid-template-columns: 1fr; }
  .ticker { font-size: 12px; padding: 12px 14px; }
  .ticker-label { display: none; }
  h1.hero-title { font-size: clamp(34px, 9vw, 48px); }
  .audit-copy p, .hero-sub { font-size: 16px; }
  .ota-strip { padding: 28px 0 32px; }
  .ota-grid { gap: 20px 28px; }
  .ota-logo { height: 24px; }
  .ota-logo .wordmark { font-size: 16px; }
  .proof-chip {
    display: block;
    font-size: 12px;
    padding: 10px 14px;
    line-height: 1.45;
    text-align: left;
    position: relative;
    padding-left: 28px;
    max-width: 100%;
  }
  .proof-chip .dot {
    position: absolute;
    left: 14px;
    top: 15px;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .ticker-line.is-active { opacity: 1; transform: none; }
}
