/* ---------- Base ---------- */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --surface: #ffffff;
  --border: #e3e9f1;
  --text: #1f2a3a;
  --text-muted: #5b6b80;
  --accent: #0e8a63;
  --accent-soft: rgba(14, 138, 99, 0.09);
  --accent-2: #2b6cb0;
  --max-w: 1080px;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: 0.2px;
}

.brand:hover {
  text-decoration: none;
}

.brand-subtitle {
  color: var(--text-muted);
  font-weight: 400;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  text-decoration: none;
}

.nav-links a.nav-cta {
  color: #ffffff;
  background: var(--accent);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-links a.nav-cta:hover {
  filter: brightness(1.08);
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(ellipse 60% 50% at 70% 0%, rgba(43, 108, 176, 0.08), transparent),
    radial-gradient(ellipse 50% 40% at 20% 10%, rgba(14, 138, 99, 0.08), transparent),
    linear-gradient(180deg, #f7fafd 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(14, 138, 99, 0.25);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  font-weight: 800;
  max-width: 820px;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero .lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 740px;
  margin-bottom: 34px;
}

.hero-note {
  max-width: 720px;
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  filter: brightness(1.08);
  text-decoration: none;
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  border-color: var(--accent-2);
  text-decoration: none;
}

/* ---------- Sections ---------- */
section {
  padding: 72px 0;
}

section.alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 750;
  margin-bottom: 14px;
  line-height: 1.25;
}

.section-intro {
  color: var(--text-muted);
  max-width: 760px;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 20px;
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.08rem;
  font-weight: 650;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem !important;
}

.price {
  color: var(--text) !important;
  font-size: 1.35rem !important;
  font-weight: 750;
  line-height: 1.25;
  margin: 4px 0 14px;
}

.price small {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.tag-now {
  color: #0b6e4f;
  background: var(--accent-soft);
  border: 1px solid rgba(14, 138, 99, 0.3);
}

.tag-next {
  color: #24598f;
  background: rgba(43, 108, 176, 0.09);
  border: 1px solid rgba(43, 108, 176, 0.3);
}

.tag-later {
  color: #8a6520;
  background: rgba(176, 134, 43, 0.10);
  border: 1px solid rgba(176, 134, 43, 0.3);
}

/* ---------- Numbered / icon list ---------- */
.num-list {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 18px;
}

.num-list li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px 22px 72px;
  position: relative;
  box-shadow: var(--shadow);
}

.num-list li::before {
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(14, 138, 99, 0.35);
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.num-list h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.num-list p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Timeline (roadmap) ---------- */
.timeline {
  list-style: none;
  position: relative;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border);
}

.timeline li {
  position: relative;
  padding-bottom: 30px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.timeline h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.timeline .stage-meta {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 4px;
}

.timeline p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 680px;
}

/* ---------- Quote / callout ---------- */
.callout {
  border-left: 4px solid var(--accent);
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin: 32px 0;
}

section.alt .callout {
  background: var(--surface);
  box-shadow: var(--shadow);
}

.callout p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
}

.callout .attribution {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--text-muted);
}

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  min-width: 560px;
}

th, td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  background: var(--bg-alt);
  font-weight: 650;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

tr:last-child td {
  border-bottom: none;
}

td {
  color: var(--text-muted);
}

td strong {
  color: var(--text);
}

/* ---------- Market evidence ---------- */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.metric {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.metric strong {
  display: block;
  color: var(--accent);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.05;
  margin-bottom: 14px;
}

.metric span {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.45;
}

.metric a {
  margin-top: auto;
  padding-top: 18px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 600;
}

.fine-print {
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 0.82rem;
  max-width: 880px;
}

/* ---------- Decision gates ---------- */
.gate {
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.gate h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.gate .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.gate-green .dot { background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15); }
.gate-yellow .dot { background: #d99a06; box-shadow: 0 0 0 4px rgba(217, 154, 6, 0.15); }
.gate-red .dot { background: #dc2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15); }

.gate p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding: 80px 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(14, 138, 99, 0.08), transparent),
    linear-gradient(180deg, #ffffff 0%, #f5faf8 100%);
  border-top: 1px solid var(--border);
}

.cta-band h2 {
  margin-bottom: 12px;
}

.cta-band p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 30px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-inner a {
  color: var(--text-muted);
}

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

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 60% at 80% 0%, rgba(43, 108, 176, 0.08), transparent),
    linear-gradient(180deg, #f7fafd 0%, #ffffff 100%);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  max-width: 780px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.page-hero .lede {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 720px;
}

.hero-stat-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-stat-row span {
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.88rem;
  box-shadow: var(--shadow);
}

.hero-stat-row strong {
  color: var(--accent);
  margin-right: 4px;
}

/* ---------- Misc ---------- */
.checklist {
  list-style: none;
  display: grid;
  gap: 12px;
}

.checklist li {
  padding-left: 30px;
  position: relative;
  color: var(--text-muted);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.checklist li strong {
  color: var(--text);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  box-shadow: var(--shadow);
}

.subsection-title {
  margin-top: 64px;
}

.fit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 44px;
  align-items: start;
}

.fit-callout {
  margin: 0;
}

.plain-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.plain-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.exclusion-card {
  border-color: #eadfcb;
}

.exclusion-card .plain-list li::before {
  background: #b7791f;
}

.time {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 400;
}

.full-card {
  grid-column: 1 / -1;
}

.compact-cards .card {
  padding: 22px;
}

.weighted-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-left: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.weighted-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.weighted-list li::before {
  display: none;
}

.weighted-list strong {
  color: var(--accent);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .fit-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 64px 0 56px;
  }

  section {
    padding: 56px 0;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a:not(.nav-cta):not(.active) {
    display: none;
  }

  .brand-subtitle {
    display: none;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 0;
  }

  .full-card {
    grid-column: auto;
  }
}
