/* Claimbright visual system: dark, vibrant hero bands; bright, clean content sections. */
:root {
  --violet: #7c5cff;
  --cyan: #22d3ee;
  --lime: #a3e635;
  --pink: #f472b6;
  --amber: #fbbf24;
  --grad: linear-gradient(110deg, var(--violet) 0%, var(--cyan) 55%, var(--lime) 100%);
  --grad-soft: linear-gradient(135deg, rgba(124,92,255,.14), rgba(34,211,238,.12) 60%, rgba(163,230,53,.12));

  --night: #070b1f;
  --night-2: #0d1330;
  --night-line: rgba(255,255,255,.10);

  --ink: #0b1026;
  --muted: #5b6386;
  --bg: #f7f8fc;
  --surface: #ffffff;
  --tint: #eef0fb;
  --line: #e1e4f2;
  --brand: #5b3df5;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11,16,38,.05), 0 12px 32px -12px rgba(11,16,38,.14);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eef0ff; --muted: #9aa3c7; --bg: #080c20; --surface: #10173a; --tint: #0d1330;
    --line: #1f2852; --brand: #a594ff; color-scheme: dark;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.mono { font-family: var(--mono); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font: 600 .76rem/1 var(--mono);
  text-transform: uppercase; letter-spacing: .12em; color: var(--brand); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin: .35em 0; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 20; }
.lead-lg { font-size: 1.15rem; }
.align-start { align-items: start; }
.mt-sm { margin-top: 12px; }
.mt-lg { margin-top: 26px; }
.mb-0 { margin-bottom: 0; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 650;
  padding: .85em 1.4em; border-radius: 12px; border: 0; cursor: pointer; font: 650 1rem/1.2 "Inter", sans-serif;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-glow { background: var(--grad); color: var(--night); box-shadow: 0 8px 28px -8px rgba(124,92,255,.7); }
.btn-glow:hover { box-shadow: 0 10px 36px -6px rgba(34,211,238,.8); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--brand); }
.btn-sm { padding: .55em 1em; font-size: .92rem; border-radius: 10px; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(7,11,31,.94); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--night-line); color: #fff;
}
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 1.2rem/1 var(--display); letter-spacing: -.02em; color: inherit; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: rgba(255,255,255,.78); text-decoration: none; font-weight: 550; font-size: .94rem; }
.nav a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--night-line); color: #fff; border-radius: 10px; padding: 6px 12px; font: inherit; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--night); border-bottom: 1px solid var(--night-line); padding: 8px 16px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; }
  .nav .btn { justify-content: center; margin-top: 8px; }
}

/* ---------- sections ---------- */
section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section-tint { background: var(--tint); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p { font-size: 1.08rem; }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* Dark, vibrant band used by every hero and selected sections */
.hero, .dark {
  background: var(--night); color: #e9ecff; overflow: hidden; isolation: isolate;
  --ink: #f3f5ff; --muted: #a3abd6; --line: rgba(255,255,255,.12); --surface: rgba(255,255,255,.04); --brand: #b8a8ff;
}
.hero::before, .dark::before {
  /* grid lines */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero::after, .dark::after {
  /* color glow */
  content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -260px; top: -420px;
  background: radial-gradient(circle at 30% 40%, rgba(124,92,255,.55), transparent 55%), radial-gradient(circle at 70% 60%, rgba(34,211,238,.38), transparent 55%), radial-gradient(circle at 50% 85%, rgba(163,230,53,.22), transparent 55%);
  filter: blur(40px); animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-120px, 80px) rotate(20deg); } }
.hero { padding-top: clamp(56px, 8vw, 104px); }
.hero .lead { font-size: 1.22rem; color: var(--muted); max-width: 44ch; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.hero .btn-ghost { color: #fff; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--night-line); font-size: .86rem; color: #dfe3ff; margin-bottom: 22px; text-decoration: none;
}
.pill b { background: var(--grad); color: var(--night); border-radius: 999px; padding: 3px 10px; font-size: .74rem; letter-spacing: .04em; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: .1em; width: 20px; height: 20px; border-radius: 6px;
  background: var(--grad); color: var(--night); font: 800 .72rem/20px var(--mono); text-align: center;
}
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .9rem; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }

/* ---------- product mock (hero) ---------- */
.mock {
  position: relative; border-radius: 22px; padding: 1px; background: linear-gradient(140deg, rgba(124,92,255,.8), rgba(34,211,238,.4) 40%, rgba(255,255,255,.08) 70%);
  box-shadow: 0 40px 120px -30px rgba(124,92,255,.55);
}
.mock-inner { border-radius: 21px; background: rgba(10,15,40,.92); backdrop-filter: blur(10px); padding: 20px; }
.mock-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a335f; }
.dots i:nth-child(1) { background: #ff6b8b; } .dots i:nth-child(2) { background: var(--amber); } .dots i:nth-child(3) { background: var(--lime); }
.tag { font: 600 .7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #8d96c7; border: 1px solid var(--night-line); padding: 5px 8px; border-radius: 6px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: rgba(255,255,255,.04); border: 1px solid var(--night-line); border-radius: 12px; padding: 12px; }
.kpi .k { font: 500 .7rem/1.2 var(--mono); color: #8d96c7; text-transform: uppercase; letter-spacing: .06em; }
.kpi .v { font: 700 1.35rem/1.3 var(--display); color: #fff; margin-top: 4px; }
.kpi .d { font: 600 .72rem/1 var(--mono); color: var(--lime); }
.chart { height: 120px; display: flex; align-items: flex-end; gap: 7px; padding: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--night-line); border-radius: 12px; margin-bottom: 14px; }
.chart i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(to top, rgba(124,92,255,.5), var(--cyan)); transform-origin: bottom; animation: grow 1.1s cubic-bezier(.2,.8,.2,1) both; }
.chart i:nth-child(1) { height: 34%; } .chart i:nth-child(2) { height: 42%; } .chart i:nth-child(3) { height: 38%; animation-delay: .05s; }
.chart i:nth-child(4) { height: 51%; animation-delay: .1s; } .chart i:nth-child(5) { height: 47%; animation-delay: .15s; } .chart i:nth-child(6) { height: 58%; animation-delay: .2s; }
.chart i:nth-child(7) { height: 63%; animation-delay: .25s; } .chart i:nth-child(8) { height: 60%; animation-delay: .3s; } .chart i:nth-child(9) { height: 72%; animation-delay: .35s; }
.chart i:nth-child(10) { height: 78%; animation-delay: .4s; } .chart i:nth-child(11) { height: 86%; animation-delay: .45s; } .chart i:nth-child(12) { height: 94%; animation-delay: .5s; }
.chart i:nth-child(odd) { background: linear-gradient(to top, rgba(124,92,255,.35), var(--violet)); }
@keyframes grow { from { transform: scaleY(.05); } }
.feed { display: grid; gap: 8px; }
.feed-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: .84rem; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--night-line); animation: slidein .5s ease both; }
.feed-row .id { font-family: var(--mono); color: #8d96c7; font-size: .76rem; }
.status { font: 600 .7rem/1 var(--mono); padding: 4px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .05em; }
.s-paid { background: rgba(163,230,53,.15); color: var(--lime); }
.s-fixed { background: rgba(34,211,238,.15); color: var(--cyan); }
.s-sent { background: rgba(124,92,255,.2); color: #c3b6ff; }
.s-call { background: rgba(244,114,182,.15); color: var(--pink); }
@keyframes slidein { from { opacity: 0; transform: translateY(6px); } }
.mock-note { font: 500 .7rem/1.4 var(--mono); color: #6f78a8; margin: 12px 2px 0; }
.float-chip {
  position: absolute; left: -26px; bottom: 54px; display: flex; gap: 10px; align-items: center;
  background: #fff; color: var(--night); border-radius: 14px; padding: 10px 14px; font-size: .84rem; font-weight: 600;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.5); animation: bob 5s ease-in-out infinite;
}
.float-chip .ico { width: 30px; height: 30px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 560px) { .float-chip { left: 10px; bottom: -18px; } .kpi .v { font-size: 1.05rem; } }

/* ---------- cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); position: relative;
}
.dark .card, .hero .card { box-shadow: none; backdrop-filter: blur(8px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: inherit; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
a.card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 0 0 1.5px var(--violet), 0 24px 48px -20px rgba(124,92,255,.5); }
.card .more { color: var(--brand); font-weight: 650; display: inline-block; margin-top: 8px; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--grad-soft); border: 1px solid var(--line); color: var(--brand);
}
.icon svg { width: 22px; height: 22px; }

/* bento platform grid */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento .card { grid-column: span 2; }
.bento .wide { grid-column: span 3; }
.bento .feature { grid-column: span 4; grid-row: span 2; background: var(--night); color: #e9ecff; border: 0; overflow: hidden; --muted: #a3abd6; }
.bento .feature::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 520px; height: 520px; background: radial-gradient(circle, rgba(124,92,255,.5), transparent 60%); pointer-events: none; }
.bento .feature h3 { font-size: 1.7rem; color: #fff; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .bento .card, .bento .wide, .bento .feature { grid-column: span 2; grid-row: auto; } }
@media (min-width: 641px) and (max-width: 960px) { .bento .card:not(.feature):not(.wide) { grid-column: span 1; } }

/* pipeline */
.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 28px; position: relative; z-index: 1; }
.pipeline div { background: rgba(255,255,255,.05); border: 1px solid var(--night-line); border-radius: 12px; padding: 12px; font-size: .84rem; }
.pipeline b { display: block; font: 600 .68rem/1 var(--mono); color: var(--cyan); letter-spacing: .08em; margin-bottom: 6px; }
@media (max-width: 640px) { .pipeline { grid-template-columns: 1fr 1fr; } }

/* stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); border-radius: var(--radius); overflow: hidden; }
.stats > div { background: var(--night-2); padding: 26px 22px; }
.stats .n { font: 700 clamp(1.8rem, 4vw, 2.6rem)/1 var(--display); }
.stats .l { color: var(--muted); font-size: .9rem; margin-top: 8px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* steps */
.steps { counter-reset: step; }
.steps .card { padding-top: 64px; }
.steps .card::before {
  counter-increment: step; content: "0" counter(step); position: absolute; top: 22px; left: 26px;
  font: 700 .85rem/1 var(--mono); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: .08em;
}

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .82rem; color: var(--muted); }
input, select, textarea {
  font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: .7em .85em; width: 100%; transition: border-color .15s ease, box-shadow .15s ease;
}
.hero input, .hero select, .hero textarea, .dark input { background: rgba(255,255,255,.05); }
.hero select option { color: #0b1026; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124,92,255,.22); }
input[type=range] { padding: 0; accent-color: var(--violet); background: none; border: 0; box-shadow: none; }
.range-row { display: flex; align-items: center; gap: 12px; }
.range-row output { min-width: 4.2em; text-align: right; font: 700 1rem var(--mono); color: var(--brand); }
.result {
  border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; justify-content: center;
  background: var(--night); color: #fff; position: relative; overflow: hidden; isolation: isolate;
}
.result::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 100% 0%, rgba(124,92,255,.6), transparent 55%), radial-gradient(circle at 0% 100%, rgba(34,211,238,.35), transparent 50%); }
.result .big { font: 700 clamp(2.6rem, 7vw, 4.2rem)/1.05 var(--display); letter-spacing: -.03em; margin: 6px 0 10px; }
.result .row { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 12px; margin-top: 12px; font-size: .94rem; }
.result .row strong { font-family: var(--mono); }
.result .btn { margin-top: 24px; align-self: flex-start; }
.result .small { color: #b9c0e8; }

/* ---------- AI front desk ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.convo { display: grid; gap: 10px; }
.bubble { padding: 12px 16px; border-radius: 16px; max-width: 86%; font-size: .95rem; animation: slidein .5s ease both; }
.bubble:nth-child(2) { animation-delay: .25s; } .bubble:nth-child(3) { animation-delay: .5s; } .bubble:nth-child(4) { animation-delay: .75s; }
.bubble.ai { background: rgba(255,255,255,.06); border: 1px solid var(--night-line); border-bottom-left-radius: 4px; }
.bubble.caller { background: var(--grad); color: var(--night); justify-self: end; border-bottom-right-radius: 4px; font-weight: 500; }
.bubble .who { display: block; font: 600 .66rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; opacity: .7; margin-bottom: 5px; }
.wave { display: flex; gap: 3px; align-items: center; height: 26px; margin-bottom: 16px; }
.wave i { width: 3px; border-radius: 3px; background: var(--grad); animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.6s; } .wave i:nth-child(4n) { animation-delay: -.9s; }
@keyframes wave { 0%,100% { height: 6px; } 50% { height: 24px; } }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: .95rem; min-width: 560px; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font: 600 .74rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--tint); }
td.us { background: var(--grad-soft); font-weight: 600; }

/* ---------- FAQ ---------- */
details { border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 18px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 700 1.2rem/1 var(--mono); color: var(--brand); }
details[open] summary::after { content: "−"; }
details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 26px; padding: clamp(36px, 6vw, 64px);
  background: var(--night); color: #fff; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 90% 10%, rgba(124,92,255,.7), transparent 45%), radial-gradient(circle at 10% 100%, rgba(34,211,238,.45), transparent 45%), radial-gradient(circle at 60% 120%, rgba(163,230,53,.35), transparent 40%); }
.cta-band h2 { margin: 0; color: #fff; }
.cta-band p { margin: 8px 0 0; color: #c6cbef; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
.notice { background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.35); padding: 12px 16px; border-radius: 12px; font-size: .9rem; }
.form-status { margin-top: 12px; font-weight: 600; }
.form-status.ok { color: var(--lime); }
.form-status.err { color: #ff6b8b; }
form.card .btn { width: 100%; justify-content: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: #c6cbef; padding: 56px 0 28px; --muted: #8d96c7; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-h { font: 600 .74rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid var(--night-line); margin-top: 36px; padding-top: 18px; }
.site-footer a { color: #e9ecff; text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.site-footer .logo { color: #fff; margin-bottom: 12px; }

/* ---------- inner pages ---------- */
.page-hero { padding-bottom: clamp(56px, 7vw, 88px); }
.breadcrumb { font: 500 .8rem/1 var(--mono); color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }

/* reveal on scroll (app.js adds .in) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Insights articles */
.article-meta { font: 500 .82rem/1.4 var(--mono); color: var(--muted); margin: 0; }
.takeaways { margin-bottom: 40px; }
.prose { font-size: 1.05rem; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose table { min-width: 0; margin: 0; }
.prose th, .prose td { padding: 12px 14px; }

.prose .table-wrap { margin: 0 0 1.4em; }
.article-cta { display: flex; gap: 24px; align-items: center; justify-content: space-between; margin-top: 40px; }
.article-cta h3 { margin-bottom: .3em; }
.article-cta p { margin: 0; }
@media (max-width: 720px) { .article-cta { flex-direction: column; align-items: flex-start; } }
.h3 { font-size: 1.2rem; letter-spacing: -.01em; }
.sources { padding-left: 1.2em; }
.sources li { margin-bottom: .35em; overflow-wrap: anywhere; }
.related-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.version-stamp { font: 500 .72rem/1.4 var(--mono); opacity: .55; }
