:root {
  --slate: #0F172A;
  --slate-2: #101a2e;
  --slate-3: #1a2540;
  --orange: #F97316;
  --orange-soft: #fb923c;
  --border: #334155;
  --off-white: #F1F5F9;
  --muted: #94A3B8;
  --ink-font: 'Inter', system-ui, sans-serif;
  --display-font: 'Space Grotesk', var(--ink-font);
  --mono-font: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ink-font);
  color: var(--off-white);
  background: var(--slate);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display-font);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.015em;
  color: #fff;
}

h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1rem; }
a { color: var(--orange-soft); text-decoration: none; }
a:hover { color: var(--orange); }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.container-narrow { max-width: 820px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-family: var(--display-font);
  font-weight: 600;
}
.brand-name { font-size: 1.15rem; }
.brand-sub { color: var(--muted); font-weight: 500; font-size: 0.9rem; }
.brand-mark {
  position: relative;
  width: 26px;
  height: 26px;
  background: var(--slate-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: inline-block;
}
.brand-mark .tick {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg) translate(1px, -1px);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  font-size: 0.95rem;
}
.site-nav a { color: var(--off-white); }
.site-nav a:hover { color: var(--orange-soft); }
.nav-cta {
  border: 1px solid var(--border);
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  color: var(--orange-soft) !important;
}
.nav-cta:hover { border-color: var(--orange); color: var(--orange) !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 10vw, 7rem) 0 clamp(3.5rem, 7vw, 5rem);
  background:
    radial-gradient(1000px 600px at 78% -10%, rgba(249, 115, 22, 0.09), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(51, 65, 85, 0.35), transparent 55%),
    var(--slate);
}
.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-scene canvas { position: absolute; top: 0; right: 0; width: 100%; height: 100%; }
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.eyebrow {
  font-family: var(--mono-font);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--orange-soft);
  margin-bottom: 1rem;
}
.hero .eyebrow, .section .eyebrow { display: flex; align-items: center; gap: 0.5rem; }
.hero .eyebrow::before, .section .eyebrow::before {
  content: '';
  width: 18px; height: 1px; background: var(--orange);
  display: inline-block;
}
.accent { color: var(--orange); }
.lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: #cbd5e1;
  max-width: 60ch;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.hero-note { color: var(--muted); font-size: 0.9rem; max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  transition: transform 0.12s ease, background 0.12s ease, border 0.12s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--orange);
  color: var(--slate) !important;
}
.btn-primary:hover { background: var(--orange-soft); transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--off-white) !important;
}
.btn-ghost:hover { border-color: var(--orange-soft); color: var(--orange-soft) !important; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--slate-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-lede { color: var(--muted); font-size: 1.1rem; max-width: 60ch; margin-bottom: 2.5rem; }
h2 + .section-lede { margin-top: 0; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.stat-card {
  background: var(--slate-3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
}
.stat-num { font-family: var(--display-font); font-size: 2rem; font-weight: 700; color: #fff; margin-bottom: 0.6rem; display: block; }
.stat-num-accent { color: var(--orange); }
.stat-label { margin-bottom: 0.75rem; font-size: 1rem; }
.stat-src { color: var(--muted); font-size: 0.82rem; border-top: 1px dashed var(--border); padding-top: 0.6rem; }
.stat-foot { color: var(--muted); font-size: 0.95rem; margin-top: 2rem; max-width: 72ch; }

/* ---------- Receipts ---------- */
.receipts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.receipt {
  background: var(--slate);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem;
  position: relative;
}
.receipt h3 { margin: 0.8rem 0 0.5rem; }
.receipt p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.receipt-num {
  font-family: var(--mono-font);
  color: var(--orange);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.receipt-closing {
  color: var(--off-white);
  margin-top: 2rem;
  max-width: 72ch;
  border-left: 3px solid var(--orange);
  padding-left: 1rem;
  font-size: 1.02rem;
}

/* ---------- Offers ---------- */
.offers-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}
.offer {
  background: var(--slate-3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.offer-featured {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px rgba(249,115,22,0.25), 0 12px 40px -18px rgba(249,115,22,0.4);
}
.offer-desc { color: var(--muted); font-size: 0.95rem; flex: 1; }
.offer-price { font-family: var(--display-font); font-size: 1.5rem; color: #fff; margin: 0.8rem 0 0.2rem; }
.offer-meta { color: var(--muted); font-size: 0.88rem; }
.offer-terms {
  margin-top: 2rem;
  background: rgba(249,115,22,0.06);
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
}
.offer-terms p { margin: 0; }
.offer-terms-sub { color: var(--muted); font-size: 0.92rem; margin-top: 0.5rem !important; }

/* ---------- Research ---------- */
.research-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}
.research-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; max-width: 62ch; }
.research-copy .btn { margin-top: 0.5rem; }
.research-note {
  color: var(--muted);
  font-size: 0.82rem;
  max-width: 72ch;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 1.5rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 0.8rem;
  background: var(--slate-3);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 1.05rem 1.2rem;
  font-weight: 600;
  font-family: var(--display-font);
  font-size: 1.03rem;
  list-style: none;
  position: relative;
  color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.2rem;
  color: var(--orange);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-item p {
  padding: 0 1.2rem 1.1rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- CTA ---------- */
.cta-section { }
.cta-box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: radial-gradient(600px 300px at 50% 10%, rgba(249,115,22,0.10), transparent 70%), var(--slate-3);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(2.5rem, 6vw, 4rem);
}
.cta-box p { color: var(--muted); font-size: 1.05rem; max-width: 54ch; margin: 0 auto 1.6rem; }
.cta-sub { font-size: 0.9rem !important; margin-top: 1.2rem !important; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-inner p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .site-nav { gap: 0.9rem; font-size: 0.9rem; }
  .site-nav a:not(.nav-cta) { display: none; }
  .brand-sub { display: none; }
  .hero-scene { opacity: 0.5; }
  .stats { grid-template-columns: 1fr; }
  .receipts-grid { grid-template-columns: 1fr; }
  .offers-row { grid-template-columns: 1fr; }
}

/* Reduced motion: kill the canvas and animations entirely */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-scene { display: none; }
  * { animation: none !important; transition: none !important; }
  .accent { color: var(--orange); }
}