/* ============================================================
   GOOGLE FONTS — temporary (self-hosted version in /fonts/)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@600;700;800&display=swap');

/* ============================================================
   SECURE STATE — STYLESHEET
   Brand: Purple background, Inology green (#8DC63F) accent
   Dark-first design
   ============================================================ */

:root {
  /* Type Scale */
  --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.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Brand Colours */
  --green: #8DC63F;
  --green-dark: #6fa832;
  --green-glow: rgba(141, 198, 63, 0.15);

  /* Dark theme (default) */
  --color-bg: #1a0e2e;
  --color-surface: #221540;
  --color-surface-2: #2a1a4e;
  --color-surface-offset: #180c2a;
  --color-border: rgba(141, 198, 63, 0.15);
  --color-divider: rgba(255,255,255,0.08);
  --color-text: #f0edf8;
  --color-text-muted: #a89ec4;
  --color-text-faint: #6b5f8a;
  --color-primary: var(--green);
  --color-primary-hover: var(--green-dark);

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

  /* Transitions */
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
  --shadow-green: 0 0 32px rgba(141, 198, 63, 0.15);

  /* Fonts */
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Sora', system-ui, sans-serif;

  /* Layout */
  --content-default: 1100px;
  --content-narrow: 720px;
}

/* Light mode override */
[data-theme="light"] {
  --color-bg: #f7f5fb;
  --color-surface: #ffffff;
  --color-surface-2: #ede9f8;
  --color-surface-offset: #e4dff5;
  --color-border: rgba(26, 14, 46, 0.15);
  --color-divider: rgba(26, 14, 46, 0.1);
  /* WCAG AA: text on light bg — min 4.5:1 ratio */
  --color-text: #0f0820;          /* ~18:1 on white */
  --color-text-muted: #3a2a5c;    /* ~8.5:1 on white */
  --color-text-faint: #5c4d80;    /* ~5.2:1 on white */
  --shadow-sm: 0 1px 3px rgba(26,14,46,0.1);
  --shadow-md: 0 4px 16px rgba(26,14,46,0.12);
  --shadow-lg: 0 12px 40px rgba(26,14,46,0.14);
  --shadow-green: 0 0 32px rgba(141, 198, 63, 0.2);
}

/* Light mode — specific overrides for hardcoded dark values */
[data-theme="light"] .announcement-bar {
  background: var(--green);
  color: #1a0e2e;
}
[data-theme="light"] .nav {
  background: rgba(245,243,255,0.92);
  border-bottom-color: rgba(26,14,46,0.1);
}
[data-theme="light"] .hero {
  background: var(--color-bg);
}
[data-theme="light"] .hero__orb--1 {
  background: radial-gradient(circle, rgba(141,198,63,0.18) 0%, transparent 70%);
}
[data-theme="light"] .hero__orb--2 {
  background: radial-gradient(circle, rgba(120,60,200,0.1) 0%, transparent 70%);
}
[data-theme="light"] .hero__grid {
  background-image:
    linear-gradient(var(--color-divider) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-divider) 1px, transparent 1px);
}
[data-theme="light"] .stats-bar {
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
[data-theme="light"] .trust-bar {
  background: var(--color-bg);
}
[data-theme="light"] .trust-bar__card {
  box-shadow: 0 4px 24px rgba(26,14,46,0.1);
}
[data-theme="light"] .problem-section {
  background: var(--color-bg);
}
[data-theme="light"] .problem-card {
  background: var(--color-surface);
  border-color: var(--color-border);
  box-shadow: 0 4px 16px rgba(26,14,46,0.08);
}
[data-theme="light"] .problem-card--bad {
  background: #fff5f5;
  border-color: rgba(220,80,80,0.2);
}
[data-theme="light"] .problem-card--good {
  background: #f5fff0;
  border-color: rgba(141,198,63,0.3);
}
[data-theme="light"] .framework {
  background: var(--color-surface-2);
}
[data-theme="light"] .framework-card {
  background: var(--color-surface);
  box-shadow: 0 4px 16px rgba(26,14,46,0.08);
}
[data-theme="light"] .outcome-section {
  background: var(--color-bg);
}
[data-theme="light"] .outcome-card {
  box-shadow: 0 4px 16px rgba(26,14,46,0.08);
}
[data-theme="light"] .outcome-card--compliant {
  background: #f5fff0;
  border-color: rgba(141,198,63,0.4);
}
[data-theme="light"] .outcome-card--not {
  background: #fdf5f5;
}
[data-theme="light"] .provenance-section {
  background: var(--color-surface-2);
}
[data-theme="light"] .provenance-card {
  background: var(--color-surface);
  box-shadow: 0 4px 16px rgba(26,14,46,0.08);
}
[data-theme="light"] .founder-section {
  background: var(--color-bg);
}
[data-theme="light"] .founder__photo-wrap::after {
  background: radial-gradient(ellipse, rgba(141,198,63,0.15) 0%, transparent 70%);
}
[data-theme="light"] .badge-section {
  background: var(--color-surface-2);
}
[data-theme="light"] .how-section {
  background: var(--color-bg);
}
[data-theme="light"] .how-step {
  background: transparent;
}
[data-theme="light"] .faq-section {
  background: var(--color-surface-2);
}
[data-theme="light"] .faq-item {
  background: var(--color-surface);
  border-color: var(--color-divider);
  box-shadow: 0 2px 8px rgba(26,14,46,0.06);
}
[data-theme="light"] .contact-section {
  background: var(--color-bg);
}
[data-theme="light"] .contact-form {
  background: var(--color-surface);
  box-shadow: 0 8px 40px rgba(26,14,46,0.1);
}
[data-theme="light"] .form-input,
[data-theme="light"] .form-select {
  background: var(--color-surface-2);
  border-color: rgba(26,14,46,0.15);
  color: var(--color-text);
}
[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-select:focus {
  border-color: var(--green);
  background: #fff;
}
[data-theme="light"] .footer {
  background: var(--color-surface-2);
  border-top-color: var(--color-divider);
}
[data-theme="light"] .chart-block {
  box-shadow: 0 8px 48px rgba(26,14,46,0.1);
}
[data-theme="light"] .inline-cta {
  background: var(--color-surface-offset);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}


/* ── LIGHT MODE CONTRAST FIXES (WCAG AA) ── */
[data-theme="light"] .hero__heading { color: #0f0820; }
[data-theme="light"] .hero__sub { color: #3a2a5c; }
[data-theme="light"] .hero__sub--secondary { color: #3a2a5c; }
[data-theme="light"] .section__heading { color: #0f0820; }
[data-theme="light"] .section__label { color: #4d8a1e; }
[data-theme="light"] .section__sub { color: #3a2a5c; }

/* Story section */
[data-theme="light"] .story__content p { color: #3a2a5c; }
[data-theme="light"] .story__quote { color: #0f0820; border-left-color: #8DC63F; }
[data-theme="light"] .story__card { background: #ffffff; border-color: rgba(26,14,46,0.12); }
[data-theme="light"] .story__card h3 { color: #0f0820; }
[data-theme="light"] .story__list li { color: #3a2a5c; }

/* Framework */
[data-theme="light"] .framework__card { background: #ffffff; border-color: rgba(26,14,46,0.12); }
[data-theme="light"] .framework__num { color: #4d8a1e; }
[data-theme="light"] .framework__name { color: #0f0820; }
[data-theme="light"] .framework__desc { color: #3a2a5c; }

/* Outcome */
[data-theme="light"] .outcome__label { color: #0f0820; }
[data-theme="light"] .outcome__desc { color: #3a2a5c; }
[data-theme="light"] .outcome__card--no .outcome__score { color: #8a7aae; }
[data-theme="light"] .outcome__note { color: #3a2a5c; }
[data-theme="light"] .outcome__note strong { color: #0f0820; }

/* Stats bar */
[data-theme="light"] .stat-item__num { color: #0f0820; }
[data-theme="light"] .stat-item__label { color: #3a2a5c; }

/* Trust bar */
[data-theme="light"] .trust-badge { color: #3a2a5c; border-color: rgba(26,14,46,0.15); background: #ffffff; }

/* Provenance */
[data-theme="light"] .provenance__content p { color: #3a2a5c; }
[data-theme="light"] .provenance__card-name { color: #0f0820; }
[data-theme="light"] .provenance__card-desc { color: #3a2a5c; }
[data-theme="light"] .provenance__note { color: #5c4d80; }
[data-theme="light"] .provenance__standards-label { color: #4d8a1e; }

/* Badge section */
[data-theme="light"] .badge-section__content h2 { color: #0f0820; }
[data-theme="light"] .badge-section__content p { color: #3a2a5c; }
[data-theme="light"] .badge-caption { color: #5c4d80; }

/* How it works */
[data-theme="light"] .step__content h3 { color: #0f0820; }
[data-theme="light"] .step__content p { color: #3a2a5c; }
[data-theme="light"] .step__num { color: #8DC63F; }

/* Founder */
[data-theme="light"] .founder__name { color: #0f0820; }
[data-theme="light"] .founder__title { color: #3a2a5c; }
[data-theme="light"] .founder__lead { color: #3a2a5c; }
[data-theme="light"] .founder__body { color: #3a2a5c; }
[data-theme="light"] .founder__quote { color: #0f0820; border-left-color: #8DC63F; }

/* FAQ */
[data-theme="light"] .faq__question { color: #0f0820; }
[data-theme="light"] .faq__answer p { color: #3a2a5c; }

/* Contact/form */
[data-theme="light"] .lead-content h2 { color: #0f0820; }
[data-theme="light"] .lead-content p { color: #3a2a5c; }
[data-theme="light"] .lead-checklist li { color: #3a2a5c; }
[data-theme="light"] .form__group label { color: #0f0820; }
[data-theme="light"] .form__group input,
[data-theme="light"] .form__group select,
[data-theme="light"] .form__group textarea { color: #0f0820; background: #ffffff; border-color: rgba(26,14,46,0.2); }
[data-theme="light"] .form__note { color: #5c4d80; }
[data-theme="light"] .form__consent { color: #5c4d80; }
[data-theme="light"] .form__consent a { color: #3a7a10; }

/* Footer */
[data-theme="light"] .footer__brand-name { color: #0f0820; }
[data-theme="light"] .footer__brand-by { color: #3a2a5c; }
[data-theme="light"] .footer__legal { color: #5c4d80; }
[data-theme="light"] .footer__links a { color: #3a2a5c; }

/* Chart */
[data-theme="light"] .chart-fact-tag { color: #0f0820; background: rgba(141,198,63,0.15); }
[data-theme="light"] .chart-block__headline { color: #0f0820; }
[data-theme="light"] .chart-block__sub { color: #3a2a5c; }
[data-theme="light"] .chart-source a { color: #3a7a10; }
[data-theme="light"] .chart-block__label { color: #5c4d80; }

/* Announce bar link */
[data-theme="light"] .announce-bar a { color: #0f0820; }

/* Inline CTA dark mode overrides for light */
[data-theme="light"] .inline-cta--green p { color: #0f0820; }

/* Privacy page */
[data-theme="light"] .privacy-page h1,
[data-theme="light"] .privacy-page h2,
[data-theme="light"] .privacy-page h3 { color: #0f0820; }
[data-theme="light"] .privacy-page p,
[data-theme="light"] .privacy-page li { color: #3a2a5c; }
[data-theme="light"] .privacy-meta { color: #5c4d80; }

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  min-height: 100dvh;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; text-wrap: balance; }
p, li { text-wrap: pretty; }
button { cursor: pointer; background: none; border: none; }

a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--green-dark); }

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

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-12));
}

.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}

.section__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: var(--space-4);
}

.section__heading {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-5);
  line-height: 1.1;
}

.section__sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 65ch;
  margin-bottom: var(--space-12);
  line-height: 1.6;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--green);
  color: #1a0e2e;
  box-shadow: 0 4px 20px rgba(141, 198, 63, 0.3);
}
.btn--primary:hover {
  background: var(--green-dark);
  color: #1a0e2e;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(141, 198, 63, 0.4);
}

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

.btn--full { width: 100%; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow var(--transition);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: 68px;
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-12));
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}

.nav__logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav__logo-main { font-family: var(--font-display); font-weight: 700; font-size: var(--text-base); }
.nav__logo-sub { font-size: var(--text-xs); color: var(--green); }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--color-text); }

.nav__cta {
  background: var(--green) !important;
  color: #1a0e2e !important;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav__cta:hover {
  background: var(--green-dark) !important;
  color: #1a0e2e !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero__orb--1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(141, 198, 63, 0.12) 0%, transparent 70%);
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(120, 60, 200, 0.2) 0%, transparent 70%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--color-divider) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-divider) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: var(--space-24);
  max-width: 800px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--green-glow);
  border: 1px solid var(--color-border);
  color: var(--green);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero__heading {
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.hero__heading em {
  font-style: normal;
  color: var(--green);
}

.hero__sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 60ch;
  line-height: 1.65;
  margin-bottom: var(--space-8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.hero__stat-row {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.hero__stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-divider);
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem { background: var(--color-surface); }

.problem__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.problem__card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition);
}

.problem__card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-green);
}

.problem__icon {
  width: 52px;
  height: 52px;
  background: var(--green-glow);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: var(--space-5);
}

.problem__card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.problem__card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   WHAT SECTION
   ============================================================ */
.what__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: start;
}

.what__content p {
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

.what__pillars {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.pillar {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  transition: background var(--transition);
  border: 1px solid transparent;
}

.pillar:hover {
  background: var(--color-surface);
  border-color: var(--color-border);
}

.pillar__num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--green);
  min-width: 28px;
  padding-top: 3px;
}

.pillar__content h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.pillar__content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   LEVELS SECTION
   ============================================================ */
.levels { background: var(--color-surface); }

.levels__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.level {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.level--featured {
  background: var(--color-surface-2);
  border-color: var(--green);
  box-shadow: var(--shadow-green);
  transform: translateY(-8px);
}

.level__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}

.level__bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 24px;
}

.bar {
  display: block;
  width: 8px;
  background: var(--color-divider);
  border-radius: 2px;
}
.bar:nth-child(1) { height: 33%; }
.bar:nth-child(2) { height: 66%; }
.bar:nth-child(3) { height: 100%; }
.bar--active { background: var(--green); }

.level__num {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.level__name {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.level__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-6);
}

.level__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  flex: 1;
}

.level__list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-6);
  position: relative;
  line-height: 1.5;
}

.level__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 7l3 3 6-6' stroke='%238DC63F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}

.level__tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  background: var(--color-surface);
  color: var(--color-text-muted);
  border: 1px solid var(--color-divider);
  align-self: flex-start;
}

.level__tag--featured {
  background: var(--green-glow);
  color: var(--green);
  border-color: var(--color-border);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin-top: var(--space-10);
}

.step {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
}

.step__num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--green);
  background: var(--green-glow);
  border: 1px solid var(--color-border);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step__content {
  padding: 0 0 var(--space-8) 0;
}

.step__content h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.step__content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 52ch;
  line-height: 1.65;
}

.step__connector {
  width: 1px;
  height: var(--space-8);
  background: var(--color-border);
  margin-left: 22px;
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial {
  background: var(--color-surface);
}

.testimonial__inner {
  max-width: 760px;
  margin-inline: auto;
}

.testimonial__quote {
  text-align: center;
}

.testimonial__quote svg {
  margin-inline: auto;
  margin-bottom: var(--space-6);
  color: var(--green);
}

.testimonial__quote p {
  font-size: var(--text-lg);
  color: var(--color-text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-8);
  max-width: none;
}

.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #1a0e2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
}

.testimonial__author strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  text-align: left;
}

.testimonial__author span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: block;
}

/* ============================================================
   ASSESSMENT / CTA
   ============================================================ */
.assessment__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: start;
}

.assessment__content p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  max-width: 52ch;
}

.assessment__checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.assessment__checklist li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.assessment__form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form__group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.form__group input,
.form__group select {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: border-color var(--transition);
}

.form__group input::placeholder {
  color: var(--color-text-faint);
}

.form__group input:focus,
.form__group select:focus {
  border-color: var(--green);
  outline: none;
}

.form__group select option {
  background: var(--color-surface);
}

.form__note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
}

.form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  padding: var(--space-8) 0;
}

.form__success[hidden] {
  display: none;
}

.form__success h3 {
  font-size: var(--text-xl);
  font-weight: 700;
}

.form__success p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 36ch;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-surface-offset, #180c2a);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-6);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.footer__brand-by {
  font-weight: 400;
  color: var(--color-text-muted);
}

.footer__brand-by a {
  color: var(--green);
  text-decoration: none;
}

.footer__brand-by a:hover {
  color: var(--green-dark);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  align-items: center;
}

.footer__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--green);
}

.footer__cta-link {
  color: var(--green) !important;
  font-weight: 600;
}

/* Assessment trust badge */
.assessment__trust {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-5);
}



.assessment__trust span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .what__inner { grid-template-columns: 1fr; }
  .levels__grid { grid-template-columns: 1fr; }
  .level--featured { transform: none; }
  .assessment__inner { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
}

@media (max-width: 900px) {
  .nav__links.nav__links--open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-divider);
    padding: var(--space-6);
    gap: var(--space-4);
    z-index: 99;
  }
}

@media (max-width: 600px) {
  .hero__stat-row { gap: var(--space-6); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .steps { gap: 0; }
  .problem__grid { grid-template-columns: 1fr; }
  .levels__grid { grid-template-columns: 1fr; }
  .level--featured { transform: none; }
  .what__inner { grid-template-columns: 1fr; }
  .assessment__inner { grid-template-columns: 1fr; }
  .hero__stat-divider { display: none; }
}

/* ============================================================
   LIGHT MODE OVERRIDES
   ============================================================ */
[data-theme="light"] .hero__grid {
  opacity: 0.4;
}

[data-theme="light"] .level {
  background: #ffffff;
}

[data-theme="light"] .level--featured {
  background: #f8f5ff;
}

[data-theme="light"] .assessment__form {
  background: #ffffff;
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announce-bar {
  background: var(--green);
  color: #1a0e2e;
  text-align: center;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.announce-bar a {
  color: #1a0e2e;
  text-decoration: underline;
  font-weight: 700;
}

.announce-bar a:hover {
  color: #2a1a4e;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-8);
}

.stats-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-1);
}

.stat-item__num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.stat-item__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  max-width: 16ch;
  text-align: center;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--color-divider);
  flex-shrink: 0;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: transparent;
  padding-block: var(--space-6);
  position: relative;
  z-index: 10;
}

.trust-bar__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-6);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
  display: flex;
  justify-content: center;
  width: 100%;
}

.trust-bar__items {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
}

.trust-divider {
  width: 1px;
  height: 28px;
  background: var(--color-divider);
  flex-shrink: 0;
}

/* All trust bar items — unified pill style */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  line-height: 1;
}

.trust-badge--review {
  gap: 7px;
}

.trust-badge__stars {
  font-size: 10px;
  letter-spacing: 1.5px;
  line-height: 1;
}

.trust-badge__score {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-muted);
}

.trust-badge__name {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-faint);
  border-left: 1px solid var(--color-border);
  padding-left: 7px;
  margin-left: 1px;
}

/* ============================================================
   STORY SECTION
   ============================================================ */
.story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: start;
}

.story__content p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-5);
  max-width: 56ch;
}

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

.story__quote {
  border-left: 3px solid var(--green);
  padding-left: var(--space-5);
  margin-block: var(--space-6);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 600;
}

.story__visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: sticky;
  top: 100px;
}

.story__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.story__card--good {
  border-color: var(--green);
  background: rgba(141, 198, 63, 0.05);
}

.story__card-icon {
  margin-bottom: var(--space-4);
}

.story__card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.story__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.story__list li {
  font-size: var(--text-sm);
  padding-left: var(--space-6);
  position: relative;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.story__list--bad li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #e05c5c;
  font-weight: 700;
}

.story__list--good li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ============================================================
   WHICH STATE ARE YOU
   ============================================================ */
.which__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-10);
}

.which__card {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-decoration: none;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: all var(--transition);
  position: relative;
}

.which__card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-green);
  color: var(--color-text);
}

.which__card--featured {
  border-color: var(--green);
  background: rgba(141, 198, 63, 0.05);
}

.which__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #1a0e2e;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.which__icon {
  font-size: 2rem;
  line-height: 1;
}

.which__card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
  font-family: var(--font-display);
}

.which__card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}

.which__cta {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--green);
  margin-top: auto;
}

/* ============================================================
   CRA URGENCY BANNER
   ============================================================ */
.cra-banner {
  background: linear-gradient(135deg, #2a1a4e 0%, #1a0e2e 50%, #0d1a0e 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}

.cra-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: center;
}

.cra-banner__label {
  display: inline-flex;
  align-items: center;
  background: rgba(141, 198, 63, 0.15);
  border: 1px solid var(--color-border);
  color: var(--green);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.cra-banner__content h2 {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  max-width: 52ch;
}

.cra-banner__content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 56ch;
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.cra-countdown {
  background: rgba(141, 198, 63, 0.08);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-10);
  text-align: center;
  min-width: 200px;
}

.cra-countdown__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.cra-countdown__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.cra-countdown__sub {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ============================================================
   RESPONSIVE — NEW SECTIONS
   ============================================================ */
@media (max-width: 900px) {
  .story__inner { grid-template-columns: 1fr; }
  .story__visual { position: static; }
  .which__grid { grid-template-columns: 1fr; }
  .cra-banner__inner { grid-template-columns: 1fr; }
  .stats-bar__inner { gap: var(--space-6); }
  .stat-divider { display: none; }
}

@media (max-width: 600px) {
  .announce-bar { flex-direction: column; gap: var(--space-1); text-align: center; }
  .trust-bar__card { padding: var(--space-4) var(--space-5); }
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); display: grid; gap: var(--space-6); }
  .stat-divider { display: none; }
  .cra-countdown { min-width: unset; width: 100%; }
}

/* ============================================================
   FAQ SECTION — ACCORDION
   ============================================================ */
.faq { background: var(--color-surface); }

.faq__list {
  margin-top: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq__item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq__item:hover {
  border-color: rgba(141, 198, 63, 0.4);
}

.faq__item[open] {
  border-color: var(--green);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-7);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__chevron {
  flex-shrink: 0;
  color: var(--green);
  transition: transform 0.25s ease;
  display: flex;
  align-items: center;
}

.faq__item[open] .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  padding: var(--space-5) var(--space-7) var(--space-6);
  border-top: 1px solid var(--color-border);
  animation: faqOpen 0.2s ease;
}

.faq__answer p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
}

/* Inline authority links (outbound references) */
.level__desc a,
.cra-banner__inner p a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(141, 198, 63, 0.5);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--transition);
}
.level__desc a:hover,
.cra-banner__inner p a:hover {
  text-decoration-color: var(--green);
}

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   CHECKLIST LEAD MAGNET
   ============================================================ */
.checklist-cta {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.checklist-cta__inner {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  position: relative;
  overflow: hidden;
}

.checklist-cta__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 50%, rgba(141, 198, 63, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.checklist-cta__icon {
  align-self: flex-start;
  padding-top: var(--space-2);
  opacity: 0.9;
}

.checklist-cta__heading {
  font-family: 'Sora', sans-serif;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.25;
  margin-bottom: var(--space-3);
}

.checklist-cta__sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.checklist-cta__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.checklist-cta__bullets li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.checklist-cta__form-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.checklist-cta__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.checklist-cta__form input {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-family: 'Inter', sans-serif;
  transition: border-color var(--transition);
  outline: none;
}

.checklist-cta__form input:focus {
  border-color: var(--green);
}

.checklist-cta__form input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.checklist-cta__note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  opacity: 0.6;
  text-align: center;
  margin: var(--space-1) 0 0;
}

.checklist-cta__success {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-6);
  background: rgba(141, 198, 63, 0.08);
  border: 1px solid rgba(141, 198, 63, 0.3);
  border-radius: var(--radius-xl);
}

.checklist-cta__success p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .checklist-cta__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .checklist-cta__icon { display: none; }
}

@media (max-width: 600px) {
  .checklist-cta__inner { padding: var(--space-8) var(--space-6); }
}

/* ─── FOUNDER AUTHORITY BLOCK ──────────────────────────────────────────── */
.founder {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* Content left, photo right — EC style */
.founder__inner {
  display: grid;
  /* Column wide enough for 480px photo + centring */
  grid-template-columns: 1fr 320px;
  gap: var(--space-16);
  /* align bottom so circle sits level with content baseline */
  align-items: end;
}

/* Content column */
.founder__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.founder__name {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.1;
  margin: var(--space-2) 0 var(--space-3);
  letter-spacing: -0.02em;
}

.founder__title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--green);
  line-height: 1.5;
  margin: 0 0 var(--space-6);
}

.founder__lead {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-4);
}

.founder__body {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--color-text-muted);
  opacity: 0.85;
  margin: 0 0 var(--space-6);
}

.founder__quote {
  border-left: 3px solid var(--green);
  padding: var(--space-4) var(--space-6);
  margin: 0 0 var(--space-7);
  background: rgba(141, 198, 63, 0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: var(--text-base);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.65;
}

.founder__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--green);
  color: #0e0820;
  font-family: 'Sora', sans-serif;
  font-size: var(--text-sm);
  font-weight: 700;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: opacity var(--transition);
  width: fit-content;
}

.founder__cta:hover {
  opacity: 0.88;
}

/* Image column */
.founder__image-wrap {
  display: flex;
  justify-content: center;
  /* Space for head breaking above circle */
  padding-top: 140px;
  align-items: flex-end;
}

/* The frame is the positioning context — sized to the circle */
.founder__frame {
  position: relative;
  width: 300px;
  height: 300px;
  flex-shrink: 0;
}

/* The gradient circle — fills the frame exactly */
.founder__circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(160deg, #371969 0%, #140a37 100%);
  /* Subtle green glow top-right */
  box-shadow:
    60px -40px 80px rgba(141, 198, 63, 0.18),
    0 20px 60px rgba(0,0,0,0.5);
  z-index: 1;
}

/* Brett's cutout — full body transparent PNG
   Width 480px: at this scale chest lands at circle top,
   head breaks 126px above, feet sit at circle bottom.
   bottom:0 anchors feet to frame base. */
.founder__photo {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: auto;
  z-index: 2;
  display: block;
  max-width: none;
}

/* Responsive */
@media (max-width: 900px) {
  .founder__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  /* Photo moves above content on mobile */
  .founder__image-wrap {
    order: -1;
    padding-top: 110px;
  }
  .founder__frame {
    width: 240px;
    height: 240px;
  }
  .founder__photo {
    width: 384px; /* 480 * 240/300 */
  }
  .founder__name { font-size: var(--text-2xl); }
}

@media (max-width: 600px) {
  .founder__image-wrap { padding-top: 90px; }
  .founder__frame { width: 200px; height: 200px; }
  .founder__photo { width: 320px; /* 480 * 200/300 */ }
}

/* TM superscript */
sup.tm {
  font-size: 0.45em;
  font-weight: 600;
  vertical-align: super;
  letter-spacing: 0;
  opacity: 0.7;
}

/* ============================================================
   STATS CHART SECTION
   ============================================================ */

.stats-chart {
  padding-block: var(--space-20) var(--space-16);
}

.chart-block {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-16);
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-12);
  box-shadow: 0 8px 48px rgba(0,0,0,0.35);
}

.chart-fact-tag {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
  line-height: 1;
}

.chart-block__headline {
  font-family: 'Sora', sans-serif;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.chart-block__sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 38ch;
  margin-bottom: var(--space-6);
}

.chart-source {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.chart-source a {
  color: var(--color-text-faint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.chart-source a:hover {
  color: var(--green);
}

.chart-block__right {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.chart-block__label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.chart-wrap {
  position: relative;
  width: 100%;
}

.chart-bars-legend {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.chart-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

.chart-legend-dot--green {
  background: var(--green);
}

@media (max-width: 860px) {
  .chart-block {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding: var(--space-8);
  }

  .chart-block__sub {
    max-width: 100%;
  }
}

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
  flex-shrink: 0;
}

.theme-toggle:hover {
  color: var(--green);
  border-color: var(--green);
}

/* Show moon icon in dark mode, sun icon in light mode */
.theme-toggle__icon--light { display: none; }
.theme-toggle__icon--dark  { display: flex; }

[data-theme="light"] .theme-toggle__icon--light { display: flex; }
[data-theme="light"] .theme-toggle__icon--dark  { display: none; }

/* Smooth theme transition */
body, .nav, .announcement-bar, .hero, .trust-bar__card,
.framework-card, .outcome-card, .faq-item, .contact-form,
.form-input, .form-select, .chart-block, .problem-card,
.provenance-card, .footer {
  transition: background-color 250ms ease, border-color 250ms ease, color 250ms ease, box-shadow 250ms ease;
}

/* ============================================================
   FOOTER LEGAL INFO
   ============================================================ */
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  padding-top: var(--space-4);
  margin-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer__legal a {
  color: var(--color-text-faint);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__legal a:hover { color: var(--green); }

/* ============================================================
   FORM CONSENT TEXT
   ============================================================ */
.form__consent {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.6;
  margin-top: var(--space-2);
}
.form__consent a {
  color: var(--color-text-faint);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form__consent a:hover { color: var(--green); }

/* ============================================================
   PRIVACY POLICY PAGE
   ============================================================ */
.privacy-page {
  padding-block: var(--space-20) var(--space-24);
  min-height: 80vh;
}

.privacy-container {
  max-width: 800px;
}

.privacy-header {
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-divider);
}

.privacy-header h1 {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--space-3);
}

.privacy-meta {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}

.privacy-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.privacy-section h2 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.privacy-section p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.privacy-section p:last-child { margin-bottom: 0; }

.privacy-section ul {
  list-style: disc;
  padding-left: var(--space-6);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.privacy-section a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  margin-block: var(--space-4);
}

.privacy-table th,
.privacy-table td {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-divider);
  color: var(--color-text-muted);
}

.privacy-table th {
  background: var(--color-surface);
  color: var(--color-text);
  font-weight: 600;
}

.privacy-table code {
  font-family: monospace;
  background: var(--color-surface-2);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
}
