:root {
    /* Pulled directly from constants/theme.ts — dark variant */
    --bg: #1a1b26;        /* midnight — cool-lifted from Neutrals[12] */
    --surface: #22242f;   /* card elevation */
    --surface-muted: #2a2d3a; /* muted surface */
    --border: #2a2d3a;    /* subtle cool border */
    --text: #f5f5f5;      /* Neutrals[3] */
    --text-muted: #bfbfbf;/* Neutrals[6] */
    --text-faint: #8c8c8c;/* Neutrals[7] */

    /* Brand: NeonGreen, dark-variant calibration */
    --tint: #37ff14;        /* NeonGreen[500] — used for accents */
    --tint-soft: #176b08;   /* NeonGreen[900] — for soft fills */
    --tint-muted: #1e8c0b;  /* NeonGreen[800] */
    --tint-celebrate: #5fff43; /* NeonGreen[400] — reserved */

    --serif: 'Fraunces', 'ui-serif', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  }

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

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }

  /* Subtle radial accent in the corner */
  body::before {
    content: '';
    position: fixed;
    top: -300px;
    right: -300px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(55, 255, 20, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
  }

  .container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
  }

  /* ── HEADER ── */
  header {
    padding: 40px 0 0;
  }

  .wordmark-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .wordmark {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.04em;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .wordmark .dot {
    width: 7px;
    height: 7px;
    background: var(--tint);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(55, 255, 20, 0.55);
    animation: pulse 3.6s ease-in-out infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.9); }
  }

  .nav-meta {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-faint);
  }

  /* ── HERO ── */
  .hero {
    padding: 120px 0 100px;
  }

  .eyebrow {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--tint);
    margin-bottom: 40px;
  }

  .eyebrow .sep {
    color: var(--text-faint);
    margin: 0 10px;
    font-weight: 300;
  }

  h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(44px, 7.5vw, 80px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 36px;
    font-variation-settings: "opsz" 144, "SOFT" 30;
  }

  h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--tint);
    font-variation-settings: "opsz" 144, "SOFT" 60;
  }

  .lede {
    font-family: var(--serif);
    font-weight: 300;
    font-style: italic;
    font-size: 22px;
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 540px;
    font-variation-settings: "opsz" 36, "SOFT" 80;
  }

  /* ── DIVIDER ── */
  .rule {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 80px auto;
    gap: 14px;
  }

  .rule-line {
    width: 60px;
    height: 1px;
    background: var(--border);
  }

  .rule-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--tint);
    opacity: 0.7;
  }

  /* ── SECTION ── */
  section { padding: 0 0 16px; }

  .section-label {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--tint);
    margin-bottom: 22px;
  }

  h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--text);
    margin-bottom: 36px;
    font-variation-settings: "opsz" 72, "SOFT" 40;
  }

  .prose {
    font-size: 17px;
    line-height: 1.78;
    color: var(--text);
    font-weight: 300;
  }

  .prose p + p { margin-top: 22px; }

  .prose strong {
    color: var(--text);
    font-weight: 500;
  }

  .prose em {
    color: var(--tint);
    font-style: italic;
    font-family: var(--serif);
    font-size: 1.08em;
    font-weight: 400;
    font-variation-settings: "opsz" 36;
  }

  /* ── CORE LOOP ── */
  .loop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 8px;
  }

  .loop-step {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 22px;
    background: var(--surface);
    position: relative;
    transition: border-color 0.3s ease, transform 0.3s ease;
  }

  .loop-step:hover {
    border-color: var(--tint-muted);
    transform: translateY(-2px);
  }

  .loop-num {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.24em;
    color: var(--tint);
    margin-bottom: 14px;
    text-transform: uppercase;
  }

  .loop-word {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 26px;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    font-variation-settings: "opsz" 72, "SOFT" 40;
  }

  .loop-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 300;
  }

  /* ── PULL QUOTE ── */
  .pull {
    padding: 0 8px;
    text-align: center;
  }

  .pull q {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(22px, 3.2vw, 30px);
    line-height: 1.38;
    color: var(--text);
    quotes: '“' '”';
    font-variation-settings: "opsz" 72, "SOFT" 60;
  }

  .pull q::before { content: open-quote; color: var(--tint); margin-right: 2px; }
  .pull q::after { content: close-quote; color: var(--tint); margin-left: 2px; }

  /* ── DOMAINS ── */
  .domains {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 8px;
    border-top: 1px solid var(--border);
  }

  .domain {
    border-bottom: 1px solid var(--border);
    padding: 22px 0;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
  }

  .domain-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    color: var(--tint);
  }

  .domain-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .domain-body {
    flex: 1;
    min-width: 0;
  }

  .domain:nth-child(odd) {
    padding-right: 24px;
    border-right: 1px solid var(--border);
  }

  .domain:nth-child(even) {
    padding-left: 24px;
  }

  .domain-name {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.25;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: -0.005em;
    font-variation-settings: "opsz" 36;
  }

  .domain-desc {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-muted);
    font-weight: 300;
  }

  /* ── STAGES ── */
  .stages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 8px;
  }

  .stage {
    text-align: center;
    padding: 24px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
  }

  .stage-num {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--tint);
    text-transform: uppercase;
    margin-bottom: 10px;
  }

  .stage-name {
    font-family: var(--serif);
    font-weight: 400;
    font-style: italic;
    font-size: 22px;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 10px;
    font-variation-settings: "opsz" 36, "SOFT" 60;
  }

  .stage-desc {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-muted);
    font-weight: 300;
  }

  /* ── FOOTER ── */
  footer {
    margin-top: 100px;
    padding: 56px 0 56px;
    border-top: 1px solid var(--border);
  }

  .footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    flex-wrap: wrap;
  }

  .footer-block .label {
    font-family: var(--sans);
    font-size: 10px;
    letter-spacing: 0.24em;
    color: var(--text-faint);
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 600;
  }

  .footer-block a {
    color: var(--text);
    text-decoration: none;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 18px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
    font-variation-settings: "opsz" 36";
  }

  .footer-block a:hover {
    color: var(--tint);
    border-color: var(--tint);
  }

  .footer-block .static {
    font-family: var(--sans);
    color: var(--text);
    font-size: 14px;
  }

  .colophon {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-faint);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .colophon .sig {
    color: var(--text-muted);
  }

  @media (max-width: 600px) {
    .hero { padding: 80px 0 60px; }
    .rule { margin: 60px auto; }
    .loop { grid-template-columns: 1fr; gap: 14px; }
    .domains { grid-template-columns: 1fr; border-top: none; }
    .domain:nth-child(odd), .domain:nth-child(even) {
      padding-left: 0; padding-right: 0; border-right: none;
    }
    .stages { grid-template-columns: 1fr; }
    .colophon { flex-direction: column; align-items: flex-start; }
    .eyebrow { font-size: 10px; letter-spacing: 0.24em; }
  }
