  :root {
    --forest: #102D25;
    --lime: #D7F36A;
    --ivory: #F5F3EC;
    --sage: #A8BBA9;
    --charcoal: #202722;
    --line: rgba(32, 39, 34, 0.14);
    --line-on-dark: rgba(215, 243, 106, 0.18);
  }

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

  html { scroll-behavior: smooth; }

  body {
    background: var(--ivory);
    color: var(--charcoal);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    overflow-x: hidden;
  }

  h1, h2, h3, .serif { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; }

  /* === TOP NAV === */
  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 20px 10vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(16, 45, 37, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-on-dark);
  }

  .site-nav .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
  .site-nav .brand img { width: 30px; height: 30px; object-fit: contain; }
  .site-nav .brand-name {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lime);
  }

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

  .site-nav-links a.nav-link {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245, 243, 236, 0.6);
    text-decoration: none;
    transition: color 0.2s;
  }
  .site-nav-links a.nav-link:hover { color: var(--lime); }

  .site-nav-login {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--lime);
    border-bottom: 1px solid var(--lime);
    padding-bottom: 2px;
    transition: opacity 0.2s;
  }
  .site-nav-login:hover { opacity: 0.7; }

  /* === HERO — asymmetric editorial composition === */
  .hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 72vh;
    padding: 128px 10vw 56px;
    background: var(--forest);
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 50% at 85% 15%, rgba(215,243,106,0.08) 0%, transparent 65%),
      linear-gradient(170deg, #0C241D 0%, #102D25 55%, #0E2821 100%);
  }
  .hero-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(215,243,106,0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(215,243,106,0.035) 1px, transparent 1px);
    background-size: 64px 64px;
  }

  .hero-content { position: relative; z-index: 2; max-width: 900px; }

  .eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 28px;
  }

  .hero h1 {
    font-size: clamp(48px, 7vw, 96px);
    line-height: 0.98;
    color: var(--ivory);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
  }
  .hero h1 em { font-style: italic; color: var(--lime); }

  .hero-sub {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: rgba(245,243,236,0.62);
    margin-top: 0;
    max-width: 480px;
    line-height: 1.65;
  }

  .hero-actions { margin-top: 40px; display: flex; gap: 32px; flex-wrap: wrap; }

  .link-arrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: var(--lime);
    border-bottom: 1px solid rgba(215,243,106,0.3);
    padding-bottom: 4px;
    transition: border-color 0.2s, opacity 0.2s;
  }
  .link-arrow:hover { border-color: var(--lime); }
  .link-arrow.on-ivory { color: var(--forest); border-bottom-color: rgba(16,45,37,0.25); }
  .link-arrow.on-ivory:hover { border-bottom-color: var(--forest); }

  /* === SECTIONS === */
  section { padding: 76px 10vw; background: var(--ivory); }
  section.on-dark { background: var(--forest); }
  section.tight { padding-top: 72px; padding-bottom: 72px; }

  .section-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--forest);
    opacity: 0.55;
    margin-bottom: 20px;
  }
  section.on-dark .section-label { color: var(--lime); opacity: 0.85; }

  h2 {
    font-size: clamp(36px, 4.4vw, 64px);
    line-height: 1.04;
    color: var(--forest);
    margin-bottom: 36px;
    letter-spacing: -0.01em;
  }
  h2 em { font-style: italic; color: var(--forest); }
  section.on-dark h2 { color: var(--ivory); }
  section.on-dark h2 em { color: var(--lime); }

  p {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: var(--charcoal);
    max-width: 680px;
    margin-bottom: 20px;
  }
  section.on-dark p { color: rgba(245,243,236,0.7); }

  .statement {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.15;
    color: var(--forest);
    max-width: 820px;
    margin-bottom: 48px;
  }
  section.on-dark .statement { color: var(--ivory); }

  /* === STAT ROW — bordered grid, no shadows/rounding === */
  .stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    margin: 48px 0;
  }
  .stat-cell { padding: 32px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .stat-number { font-family: 'Instrument Serif', serif; font-size: 44px; color: var(--forest); line-height: 1; margin-bottom: 10px; }
  .stat-number span { color: var(--forest); }
  .stat-desc { font-family: 'IBM Plex Mono', monospace; font-size: 11px; line-height: 1.5; color: var(--charcoal); opacity: 0.6; letter-spacing: 0.01em; }

  /* === EDITORIAL NUMBERED LIST — replaces every card-grid pattern
     (pillars, trust cards, roadmap, narrative steps) === */
  .editorial-list { margin-top: 36px; }
  .editorial-item {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 28px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    align-items: start;
  }
  .editorial-item:last-child { border-bottom: 1px solid var(--line); }
  section.on-dark .editorial-item { border-color: var(--line-on-dark); }

  .editorial-num {
    font-family: 'Instrument Serif', serif;
    font-size: 36px;
    color: var(--sage);
    line-height: 1;
  }
  section.on-dark .editorial-num { color: var(--line-on-dark); -webkit-text-stroke: 1px var(--sage); color: transparent; }

  .editorial-item h3, .editorial-item h4 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 10px;
  }
  section.on-dark .editorial-item h3, section.on-dark .editorial-item h4 { color: var(--ivory); }

  .editorial-item p { font-size: 16px; color: var(--charcoal); max-width: 560px; margin: 0; }
  section.on-dark .editorial-item p { color: rgba(245,243,236,0.65); }

  /* Research list — slightly different label treatment (RESEARCH / 001) */
  .research-item .editorial-num { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.1em; -webkit-text-stroke: 0; color: var(--sage); }
  .research-item h3 { font-family: 'Instrument Serif', serif; font-size: 26px; font-weight: 400; text-transform: none; letter-spacing: 0; margin-bottom: 12px; }

  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; margin-top: 48px; align-items: start; }

  /* === TAGS — bracket mono, not pills === */
  .standards { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
  .standard-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--forest);
    opacity: 0.75;
  }
  .standard-tag::before { content: '['; opacity: 0.5; }
  .standard-tag::after { content: ']'; opacity: 0.5; }

  /* === DARK SECTION (intelligence layer / closing) === */
  /* .cta-section always has a dark background — text colors are set
     directly here, not left to depend on a separately-applied .on-dark
     class also being present (that's what caused near-invisible dark
     text on a dark background: the background rule fired, the text
     color rule didn't, because .on-dark was missing from the markup). */
  .cta-section {
    background: var(--forest) !important;
  }
  .cta-section h2 { color: var(--ivory); }
  .cta-section h2 em { color: var(--lime); }
  .cta-section p { color: rgba(245,243,236,0.7); }
  .cta-section .statement { color: var(--ivory); }
  .cta-section .statement em { color: var(--lime); }
  .cta-section .section-label { color: var(--lime); opacity: 0.85; }
  .cta-inner { max-width: 720px; }

  .cta-contacts { margin-top: 28px; display: flex; gap: 32px; flex-wrap: wrap; }

  /* === FOOTER === */
  footer {
    background: var(--forest);
    padding: 44px 10vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px solid var(--line-on-dark);
  }
  .footer-brand {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(245,243,236,0.5);
  }
  .footer-date { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: rgba(245,243,236,0.3); letter-spacing: 0.08em; }

  /* === QUOTE BLOCK === */
  blockquote {
    border-left: 2px solid var(--forest);
    padding: 4px 0 4px 28px;
    margin: 40px 0;
  }
  blockquote p { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 24px; color: var(--forest); margin: 0; line-height: 1.4; }
  section.on-dark blockquote p { color: var(--ivory); }
  blockquote cite {
    display: block;
    margin-top: 14px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--charcoal);
    opacity: 0.55;
    font-style: normal;
  }
  section.on-dark blockquote cite { color: var(--sage); opacity: 1; }

  /* Closing statement section */
  .closing-statement {
    min-height: 44vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .closing-statement h2 { font-size: clamp(40px, 6vw, 76px); margin-bottom: 0; }

  /* ═══════════════ RESPONSIVE ═══════════════ */
  @media (max-width: 860px) {
    .hero { min-height: auto; padding: 128px 6vw 56px; }
    .two-col { grid-template-columns: 1fr; gap: 32px; }
  }

  @media (max-width: 760px) {
    .site-nav-links a.nav-link { display: none; }
    .site-nav { padding: 14px 6vw; }
    .site-nav .brand-name { font-size: 11px; letter-spacing: 0.1em; }
    .site-nav .brand img { width: 26px; height: 26px; }

    section { padding: 72px 6vw; }
    footer { padding: 28px 6vw; flex-direction: column; align-items: flex-start; }

    .hero-actions { gap: 16px; margin-top: 32px; flex-direction: column; }

    .stat-cell { padding: 26px 20px; }
    .stat-number { font-size: 34px; }

    .editorial-item { grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; }
    .editorial-num { font-size: 26px; }

    .cta-contacts { flex-direction: column; gap: 16px; }

    blockquote { padding-left: 20px; margin: 28px 0; }
    blockquote p { font-size: 20px; }
  }

  @media (max-width: 480px) {
    section { padding: 56px 5vw; }
    .hero { padding: 108px 5vw 40px; }
    h2 { font-size: 30px; }
    .stat-number { font-size: 30px; }
    .hero-grid { background-size: 40px 40px; opacity: 0.6; }
    footer { padding: 24px 5vw; gap: 10px; }
    .footer-date { font-size: 10px; }
  }

  /* ═══════════════════════════════════════════════════════════════
     TEMPORARY COMPATIBILITY — research/index.html still uses these
     classes pending its own content/outline rewrite (held separately,
     per explicit instruction). Minimal styling, new tokens, old
     layout — not the final research-page design.
     ═══════════════════════════════════════════════════════════════ */
  .pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 48px; }
  .pillar { border: 1px solid var(--line); padding: 32px 28px; }
  .pillar-num { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--sage); margin-bottom: 14px; }
  .pillar h3 { font-family: 'IBM Plex Mono', monospace; font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--forest); margin-bottom: 12px; }
  .pillar p { font-size: 15px; color: var(--charcoal); opacity: 0.75; max-width: none; margin: 0; }

  .steps { margin-top: 48px; display: flex; flex-direction: column; }
  .step { display: grid; grid-template-columns: 70px 1fr; gap: 28px; padding: 26px 0; border-top: 1px solid var(--line); }
  .step-num { font-family: 'Instrument Serif', serif; font-size: 28px; color: var(--sage); }
  .step-content h4 { font-family: 'IBM Plex Mono', monospace; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--forest); margin-bottom: 8px; }
  .step-content p { font-size: 15px; color: var(--charcoal); opacity: 0.75; margin: 0; }

  .trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 40px; }
  .trust-card { border: 1px solid var(--line); padding: 26px 24px; }
  .trust-source { font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--forest); margin-bottom: 10px; }
  .trust-body { font-size: 15px; color: var(--charcoal); opacity: 0.75; line-height: 1.6; }

  .roadmap { margin-top: 48px; }
  .roadmap-item { display: grid; grid-template-columns: 110px 1fr; gap: 32px; margin-bottom: 32px; }
  .roadmap-phase { font-family: 'IBM Plex Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sage); text-align: right; }
  .roadmap-body { padding-left: 20px; border-left: 2px solid var(--line); }
  .roadmap-item.active .roadmap-body { border-left-color: var(--forest); }
  .roadmap-body h4 { font-family: 'IBM Plex Mono', monospace; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--forest); margin-bottom: 8px; }
  .roadmap-body p { font-size: 14px; color: var(--charcoal); opacity: 0.75; margin: 0; }

  @media (max-width: 760px) {
    .step { grid-template-columns: 44px 1fr; gap: 16px; }
    .roadmap-item { grid-template-columns: 1fr; gap: 10px; }
    .roadmap-phase { text-align: left; }
  }
