  /* Self-hosted fonts */
  @font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('/fonts/dm-sans-latin-wght-normal.woff2') format('woff2');
  }
  @font-face {
    font-family: 'DM Sans';
    font-style: italic;
    font-weight: 300 700;
    font-display: swap;
    src: url('/fonts/dm-sans-latin-wght-italic.woff2') format('woff2');
  }
  @font-face {
    font-family: 'Instrument Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/instrument-serif-latin-400-normal.woff2') format('woff2');
  }
  @font-face {
    font-family: 'Instrument Serif';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/instrument-serif-latin-400-italic.woff2') format('woff2');
  }

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

  :root {
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --warm-bg: #faf8f5;
    --card-bg: #ffffff;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', system-ui, sans-serif;
    color: var(--stone-800);
    background: var(--warm-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 40;
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: box-shadow 0.3s;
  }
  nav.scrolled { box-shadow: 0 1px 8px rgba(0,0,0,0.06); }
  .nav-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 24px;
  }
  .nav-brand {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.35rem; color: var(--stone-800);
    text-decoration: none; display: flex; align-items: center; gap: 8px;
  }
  .nav-brand span { font-size: 1.1rem; }
  .nav-links {
    display: flex; align-items: center; gap: 22px;
    margin-left: auto; margin-right: 20px;
  }
  .nav-link {
    font-size: 0.88rem; font-weight: 500;
    color: var(--stone-600); text-decoration: none;
    transition: color 0.2s;
    padding: 6px 2px;
    position: relative;
  }
  .nav-link:hover { color: var(--stone-900); }
  .nav-link.active { color: var(--amber-700); }
  .nav-link.active::after {
    content: ''; position: absolute; left: 2px; right: 2px; bottom: 0;
    height: 2px; background: var(--amber-700); border-radius: 1px;
  }
  .nav-cta {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 20px; border-radius: 10px;
    background: var(--amber-700); color: #fffbeb;
    font-size: 0.85rem; font-weight: 600;
    text-decoration: none; transition: background 0.2s, transform 0.15s;
  }
  .nav-cta:hover { background: var(--amber-600); transform: translateY(-1px); }
  @media (max-width: 540px) {
    .nav-links { gap: 14px; margin-right: 12px; }
    .nav-link { font-size: 0.82rem; }
    .nav-cta { padding: 8px 14px; font-size: 0.8rem; }
    .nav-brand { font-size: 1.15rem; }
    .nav-inner { padding: 12px 16px; }
  }

  /* ── HERO ── */
  .hero {
    max-width: 1100px; margin: 0 auto;
    padding: 140px 24px 80px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-text { max-width: 720px; }
  .hero h1 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(2.4rem, 5.5vw, 3.6rem);
    line-height: 1.15;
    color: var(--stone-900);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
  }
  .hero h1 em {
    font-style: italic; color: var(--amber-700);
  }
  .hero-sub {
    font-size: 1.05rem; line-height: 1.75;
    color: var(--stone-600); max-width: 600px;
    margin-bottom: 36px;
  }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
  .btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 12px;
    background: var(--amber-700); color: #fffbeb;
    font-size: 0.95rem; font-weight: 600;
    text-decoration: none; transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(180, 83, 9, 0.2);
  }
  .btn-primary:hover { background: var(--amber-600); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(180, 83, 9, 0.25); }
  .btn-secondary {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 14px 24px; border-radius: 12px;
    background: transparent; color: var(--stone-600);
    font-size: 0.9rem; font-weight: 500;
    text-decoration: none; transition: all 0.2s;
    border: 1.5px solid var(--stone-200);
  }
  .btn-secondary:hover { border-color: var(--stone-400); color: var(--stone-800); }

  /* ── STATS ROW ── */
  .stats-row {
    max-width: 1100px; margin: 0 auto;
    padding: 0 24px 64px;
    display: flex; flex-wrap: wrap; gap: 32px;
  }
  .stat {
    display: flex; align-items: baseline; gap: 8px;
  }
  .stat-num {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.6rem; color: var(--stone-800);
  }
  .stat-label {
    font-size: 0.82rem; color: var(--stone-400);
  }
  .stat-dot {
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--stone-300); align-self: center;
  }

  /* ── SECTIONS ── */
  section {
    max-width: 1100px; margin: 0 auto;
    padding: 64px 24px;
  }
  .section-label {
    font-size: 0.72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--amber-700); margin-bottom: 12px;
  }
  section h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    line-height: 1.2;
    color: var(--stone-900);
    margin-bottom: 20px;
    max-width: 600px;
  }
  section .section-body {
    font-size: 0.95rem; line-height: 1.8;
    color: var(--stone-600); max-width: 640px;
  }
  section .section-body p + p { margin-top: 16px; }

  /* Divider between sections */
  .section-divider {
    max-width: 1100px; margin: 0 auto; padding: 0 24px;
  }
  .section-divider hr {
    border: none; height: 1px;
    background: linear-gradient(to right, transparent, var(--stone-200), transparent);
  }

  /* ── FEATURE CARDS (guidance section) ── */
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px; margin-top: 32px;
  }
  .feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 14px;
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .feature-card:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
  .feature-card .fc-icon {
    font-size: 1.4rem; margin-bottom: 12px;
  }
  .feature-card h3 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.05rem; color: var(--stone-800);
    margin-bottom: 8px;
  }
  .feature-card p {
    font-size: 0.82rem; line-height: 1.65;
    color: var(--stone-500);
  }

  /* ── BRANDS STRIP ── */
  .brands-strip {
    margin-top: 28px; padding: 20px 0;
    display: flex; flex-wrap: wrap; gap: 6px;
  }
  .brand-tag {
    font-size: 0.72rem; font-weight: 500;
    padding: 5px 12px; border-radius: 20px;
    background: var(--stone-100); color: var(--stone-500);
    border: 1px solid var(--stone-200);
    white-space: nowrap;
  }

  /* ── ACCURACY CALLOUT ── */
  .accuracy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px; margin-top: 28px;
  }
  .accuracy-card {
    background: var(--card-bg);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 14px; padding: 24px;
    text-align: center;
  }
  .accuracy-card .ac-num {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 2.4rem; color: var(--amber-700);
    line-height: 1.1;
  }
  .accuracy-card .ac-pct { font-size: 1.4rem; }
  .accuracy-card .ac-label {
    font-size: 0.78rem; color: var(--stone-500);
    margin-top: 6px; line-height: 1.5;
  }

  /* ── FINAL CTA ── */
  .final-cta {
    max-width: 1100px; margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
  }
  .final-cta h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--stone-900); margin: 0 auto 12px;
    max-width: 500px;
  }
  .final-cta p {
    font-size: 0.95rem; color: var(--stone-500);
    margin-bottom: 28px;
  }

  /* ── FOOTER ── */
  footer {
    max-width: 1100px; margin: 0 auto;
    padding: 32px 24px 48px;
    border-top: 1px solid var(--stone-200);
    display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: 16px;
  }
  .footer-left {
    font-size: 0.78rem; color: var(--stone-400);
  }
  .footer-links {
    display: flex; gap: 20px;
  }
  .footer-links a {
    font-size: 0.78rem; color: var(--stone-400);
    text-decoration: none; transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--stone-600); }

  /* ── ANIMATIONS ── */
  .fade-up {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .fade-up.visible { opacity: 1; transform: translateY(0); }

  /* ── RESPONSIVE ── */
  @media (max-width: 640px) {
    .hero { padding: 120px 20px 56px; }
    section { padding: 48px 20px; }
    .stats-row { padding: 0 20px 48px; gap: 20px; }
    .stat-dot { display: none; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn-primary, .btn-secondary { justify-content: center; }
    .feature-grid { grid-template-columns: 1fr; }
    .accuracy-grid { grid-template-columns: 1fr 1fr; }
    footer { flex-direction: column; text-align: center; }
  }

  /* ── LEGAL MODALS ── */
  .legal-backdrop {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(0,0,0,0.55); backdrop-filter: blur(4px);
    display: none; align-items: flex-start; justify-content: center;
    padding: 48px 16px; overflow-y: auto;
  }
  .legal-backdrop.open { display: flex; }
  .legal-modal {
    width: 100%; max-width: 520px;
    background: #fff; border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: legalFadeIn 0.25s ease;
  }
  @keyframes legalFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .legal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; border-bottom: 1px solid var(--stone-100);
    position: sticky; top: 0; background: #fff; border-radius: 16px 16px 0 0;
  }
  .legal-header h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.15rem; color: var(--stone-800); margin: 0;
  }
  .legal-close {
    width: 32px; height: 32px; border-radius: 50%; border: none;
    background: transparent; font-size: 1.2rem; color: var(--stone-400);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
  }
  .legal-close:hover { background: var(--stone-100); }
  .legal-body {
    padding: 24px; font-size: 0.82rem; line-height: 1.75;
    color: var(--stone-500);
  }
  .legal-body h3 {
    font-size: 0.82rem; font-weight: 600; color: var(--stone-700);
    margin: 20px 0 6px; font-family: 'DM Sans', system-ui, sans-serif;
  }
  .legal-body h3:first-child { margin-top: 0; }
  .legal-body p { margin: 0 0 10px; }
  .legal-body .legal-date { color: var(--stone-400); margin-bottom: 16px; }
  .legal-body .legal-summary {
    background: var(--stone-50); border-radius: 10px;
    padding: 14px 16px; margin-bottom: 20px; color: var(--stone-600);
  }
  @media (max-width: 640px) {
    .legal-backdrop { padding: 24px 12px; }
  }

/* Extracted from inline styles (F-005 remediation) */
.ac-sublabel { font-size: 0.68rem; color: var(--stone-400); }
.body-link { color: var(--stone-800); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--stone-300); transition: text-decoration-color 0.2s; }
.footer-link { color: var(--stone-500); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--stone-300); }
