/* ============================================================
   MyVetRights Web Sprint — Landing Page
   Veteran-owned · Navy + Gold identity
   ============================================================ */

:root,
[data-theme='light'] {
  /* Surfaces */
  --color-bg: #f6f5f1;
  --color-surface: #ffffff;
  --color-surface-2: #fbfaf7;
  --color-surface-offset: #efece5;
  --color-divider: #e2ded5;
  --color-border: #d8d3c7;

  /* Text */
  --color-text: #14202e;
  --color-text-muted: #5a6573;
  --color-text-faint: #9aa2ad;
  --color-text-inverse: #f7f6f1;

  /* Brand — Navy */
  --color-navy: #0b1b2b;
  --color-navy-2: #122840;
  --color-navy-3: #1b3a59;

  /* Accent — Gold */
  --color-gold: #c8a24b;
  --color-gold-hover: #b08c34;
  --color-gold-active: #957622;
  --color-gold-soft: #f0e6cc;

  /* States */
  --color-success: #2f7d46;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 2px rgba(11, 27, 43, 0.06);
  --shadow-md: 0 6px 20px rgba(11, 27, 43, 0.08);
  --shadow-lg: 0 18px 48px rgba(11, 27, 43, 0.14);

  --content-narrow: 720px;
  --content-default: 1080px;
  --content-wide: 1200px;

  --font-display: 'Clash Display', 'General Sans', system-ui, sans-serif;
  --font-body: 'General Sans', system-ui, -apple-system, sans-serif;
}

[data-theme='dark'] {
  --color-bg: #0b1622;
  --color-surface: #111f30;
  --color-surface-2: #142538;
  --color-surface-offset: #0e1b2a;
  --color-divider: #1d3047;
  --color-border: #294059;

  --color-text: #e7ecf2;
  --color-text-muted: #9aa9bb;
  --color-text-faint: #5e6f82;
  --color-text-inverse: #0b1b2b;

  --color-navy: #0a1622;
  --color-navy-2: #122840;
  --color-navy-3: #1b3a59;

  --color-gold: #d8b562;
  --color-gold-hover: #e2c47e;
  --color-gold-active: #f0d59a;
  --color-gold-soft: #2a2410;

  --color-success: #5cb574;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.5);
}

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

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base, 1.0625rem);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  line-height: 1.12;
  font-family: var(--font-display);
  font-weight: 600;
}
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }

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

::selection { background: var(--color-gold); color: var(--color-navy); }

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

button { cursor: pointer; background: none; border: none; }

/* ---------- Type scale ---------- */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.2rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  --text-2xl: clamp(2.2rem, 1.4rem + 3.4vw, 4rem);
  --text-3xl: clamp(2.8rem, 1.2rem + 5.5vw, 5rem);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container--narrow { max-width: var(--content-narrow); }

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--accent { background: var(--color-navy); color: var(--color-text-inverse); }
.section--final { background: var(--color-navy-2); color: var(--color-text-inverse); text-align: center; }

.eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-active);
  margin-bottom: var(--space-3, 0.75rem);
}
.eyebrow--light { color: var(--color-gold); }
[data-theme='dark'] .eyebrow { color: var(--color-gold); }

.section__head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__title { font-size: var(--text-xl); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-full);
  transition: transform var(--transition-interactive), background var(--transition-interactive), color var(--transition-interactive), box-shadow var(--transition-interactive);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 0.6rem 1rem; }
.btn--lg { padding: 1.05rem 1.8rem; font-size: var(--text-base); }
.btn--block { display: flex; width: 100%; }

.btn--primary { background: var(--color-navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--color-navy-3); box-shadow: var(--shadow-md); }

.btn--gold { background: var(--color-gold); color: var(--color-navy); box-shadow: var(--shadow-md); }
.btn--gold:hover { background: var(--color-gold-hover); }

.btn--ghost { background: transparent; color: var(--color-text); border: 1.5px solid var(--color-border); }
.btn--ghost:hover { border-color: var(--color-navy); }

.btn--ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn--ghost-light:hover { border-color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.header--scrolled { border-color: var(--color-border); box-shadow: var(--shadow-sm); }
.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 4.5rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-family: var(--font-display); }
.brand__mark { color: var(--color-gold); }
.brand__text { font-size: 1.05rem; letter-spacing: -0.01em; }
.brand__text--muted { color: var(--color-text-muted); font-weight: 500; }

.nav { display: flex; gap: 1.75rem; margin-inline: auto; }
.nav a { font-size: var(--text-sm); color: var(--color-text-muted); font-weight: 500; }
.nav a:hover { color: var(--color-text); }

.header__actions { display: flex; align-items: center; gap: 0.75rem; }

.theme-toggle {
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1.5px solid var(--color-border);
  transition: color var(--transition-interactive), border-color var(--transition-interactive);
}
.theme-toggle:hover { color: var(--color-text); border-color: var(--color-text-faint); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 6vw, 5.5rem); position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 80% 0%, color-mix(in oklab, var(--color-gold) 18%, transparent), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  position: relative;
}
.hero__title { font-size: var(--text-3xl); letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.hero__title .accent { color: var(--color-gold-active); }
[data-theme='dark'] .hero__title .accent { color: var(--color-gold); }
.hero__lede { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 54ch; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.75rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.hero__proof li { display: flex; align-items: center; gap: 0.5rem; font-size: var(--text-sm); color: var(--color-text-muted); }
.hero__proof span { color: var(--color-success); font-weight: 700; }

.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  margin-bottom: 1.5rem;
}
.badge__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--color-gold); }

/* Sprint card */
.hero__card { position: relative; }
.sprint-card {
  background: var(--color-navy);
  color: var(--color-text-inverse);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-navy-3);
}
.sprint-card__label { font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-gold); font-weight: 600; }
.sprint-card__title { font-size: var(--text-xl); margin: 0.35rem 0 1rem; color: #fff; }
.sprint-card__meter { height: 0.5rem; border-radius: var(--radius-full); background: rgba(255,255,255,0.14); overflow: hidden; }
.sprint-card__meter span { display: block; height: 100%; background: var(--color-gold); border-radius: inherit; }
.sprint-card__status { font-size: var(--text-sm); color: rgba(255,255,255,0.7); margin-top: 0.6rem; }
.sprint-card__divider { border: none; border-top: 1px solid rgba(255,255,255,0.14); margin-block: 1.5rem; }
.sprint-card__list { display: grid; gap: 0.85rem; margin-bottom: 1.5rem; }
.sprint-card__list div { display: flex; justify-content: space-between; font-size: var(--text-sm); }
.sprint-card__list dt { color: rgba(255,255,255,0.65); }
.sprint-card__list dd { font-weight: 600; color: #fff; }
.sprint-card .btn--gold { width: 100%; }

/* ---------- Band (problem / who-for / audit) ---------- */
.band { padding-block: clamp(3rem, 6vw, 5rem); background: var(--color-surface-offset); border-block: 1px solid var(--color-divider); }
.band--alt { background: var(--color-surface-2); }
.band__inner { max-width: 980px; }
.band__inner--center { text-align: center; margin-inline: auto; }
.band__eyebrow { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-gold-active); margin-bottom: 0.6rem; }
[data-theme='dark'] .band__eyebrow { color: var(--color-gold); }
.band__title { font-size: var(--text-xl); max-width: 20ch; margin-bottom: 0.75rem; }
.band__inner--center .band__title { margin-inline: auto; }
.band__lede { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 60ch; margin-bottom: 2rem; }
.band__inner--center .band__lede { margin-inline: auto; }

.band__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; list-style: none; }
.band__item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.25rem 1.4rem; font-size: var(--text-base); color: var(--color-text-muted); }
.band__item strong { display: block; color: var(--color-text); margin-bottom: 0.2rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chips span {
  font-size: var(--text-sm); font-weight: 500;
  padding: 0.5rem 1rem; border-radius: var(--radius-full);
  background: var(--color-surface); border: 1px solid var(--color-border);
}

/* ---------- Cards (offer) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card__num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--color-gold); margin-bottom: 0.75rem; }
.card__title { font-size: var(--text-lg); margin-bottom: 0.5rem; }
.card__text { color: var(--color-text-muted); font-size: var(--text-base); }
.card--bonus { background: var(--color-navy); border-color: var(--color-navy-3); }
.card--bonus .card__title { color: #fff; }
.card--bonus .card__text { color: rgba(255,255,255,0.78); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding-top: 1rem; }
.step__num {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius-full);
  background: var(--color-gold-soft); color: var(--color-gold-active);
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  margin-bottom: 1rem;
}
[data-theme='dark'] .step__num { background: var(--color-gold-soft); color: var(--color-gold); }
.step__title { font-size: var(--text-lg); margin-bottom: 0.4rem; }
.step__text { color: var(--color-text-muted); }

/* ---------- Price ---------- */
.price { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.price__title { font-size: var(--text-xl); color: #fff; margin-bottom: 1rem; }
.price__text { color: rgba(255,255,255,0.82); margin-bottom: 1rem; }
.price__note { color: var(--color-gold); font-weight: 600; font-size: var(--text-sm); }
.price__actions { display: grid; gap: 0.75rem; }
.price__micro { color: rgba(255,255,255,0.7); font-size: var(--text-sm); margin-top: 0.5rem; }
.price__micro a { color: var(--color-gold); text-decoration: underline; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__title { font-size: var(--text-xl); margin-bottom: 1rem; }
.about__text { color: var(--color-text-muted); margin-bottom: 1rem; }
.about__stats { display: grid; grid-template-columns: 1fr; gap: 1.5rem; list-style: none; }
.about__stat-num { display: block; font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; color: var(--color-gold-active); line-height: 1; }
[data-theme='dark'] .about__stat-num { color: var(--color-gold); }
.about__stat-label { display: block; font-size: var(--text-sm); color: var(--color-text-muted); margin-top: 0.35rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.35rem;
}
.faq__item summary { font-weight: 600; font-size: var(--text-base); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.4rem; color: var(--color-gold-active); font-weight: 400; line-height: 1; }
[data-theme='dark'] .faq__item summary::after { color: var(--color-gold); }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { margin-top: 0.75rem; color: var(--color-text-muted); }

/* ---------- Final ---------- */
.final { display: grid; gap: 1rem; justify-items: center; }
.final__title { font-size: var(--text-2xl); color: #fff; }
.final__text { color: rgba(255,255,255,0.8); max-width: 48ch; }

/* ---------- Footer ---------- */
.footer { background: var(--color-navy); color: rgba(255,255,255,0.7); padding-block: 3rem; }
.footer__inner { display: grid; gap: 1.25rem; }
.footer__brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; color: #fff; font-family: var(--font-display); }
.footer__brand .brand__mark { color: var(--color-gold); }
.footer__note { font-size: var(--text-xs); color: rgba(255,255,255,0.5); max-width: 70ch; }
.footer__copy { font-size: var(--text-xs); color: rgba(255,255,255,0.4); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { order: -1; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .price { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .band__grid { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .header__inner { gap: 0.75rem; }
  .btn--sm { display: none; }
}
