    :root {
      --space-2: 8px;
      --space-3: 12px;
      --space-4: 16px;
      --space-6: 24px;
      --space-8: 32px;
      --space-12: 48px;
      --space-16: 64px;
      --section-space: var(--space-16);
      --teal: #45B8AC;
      --teal-dark: #1c766d;
      --teal-darker: #134f48;
      --cream: #FDF8F2;
      --text: #1a1a1a;
      --muted: #6b7280;
      --card-bg: #ffffff;
      --border: #e5e7eb;
      /* Added for the ported nav: these pages had no soft-teal or shadow token. */
      --teal-soft: #e8f8f6;
      --shadow: 0 18px 50px rgba(21, 32, 31, 0.12);
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
    a:focus-visible, .button:focus-visible, summary:focus-visible { outline: 2px solid var(--teal-dark); outline-offset: 3px; border-radius: 6px; }
    body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--cream); color: var(--text); }

    /* Site nav — matches index.html so every page shares one layout and one breakpoint. The nav
       this replaced was a teal bar with a hard-coded height: 56px flex row and no media query
       anywhere in the file, so on a phone the nav links wrapped inside that fixed height and
       collided. Below 640px .nav-inner stacks into a column, as the landing page does. Colours use
       this page's own variable names (--text/--border), not index.html's (--ink/--line); the two
       pages define different sets. */
    .wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
    .nav { position: sticky; top: 0; z-index: 50; background: rgba(253, 248, 242, 0.88); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(231, 236, 235, 0.8); }
    .nav-inner { min-height: 68px; padding-block: 10px; gap: var(--space-6); display: flex; align-items: center; justify-content: space-between; }
    .brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
    .brand-mark { width: 38px; height: 38px; border-radius: 11px; object-fit: cover; box-shadow: 0 8px 20px rgba(69, 184, 172, 0.3); }
    .nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 650; color: var(--muted); }
    /* Explicit colour + no-underline: these pages set a global `a { color: var(--teal-dark) }` and
       `a:hover { text-decoration: underline }`, which index.html does not. */
    .nav-links a { color: var(--muted); }
    .nav-links a:hover { color: var(--teal-dark); text-decoration: none; }


    .page-header { background: linear-gradient(135deg, var(--teal-dark), var(--teal-darker)); color: #fff; padding: 48px 24px 40px; text-align: center; }
    .page-header h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
    .page-header p { font-size: 16px; opacity: 0.88; }

    .content { overflow-wrap: anywhere; max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }

    .tl-dr { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 20px 24px; margin-bottom: 40px; }
    .tl-dr h2 { font-size: 16px; font-weight: 700; color: #15803d; margin-bottom: 10px; }
    .tl-dr ul { padding-inline-start: 20px; }
    .tl-dr li { font-size: 15px; color: #166534; line-height: 1.7; }

    h2 { font-size: 20px; font-weight: 700; margin: 36px 0 12px; color: var(--text); }
    h2:first-of-type { margin-top: 0; }
    p { font-size: 15px; color: #374151; line-height: 1.7; margin-bottom: 12px; }
    ul { padding-inline-start: 22px; margin-bottom: 12px; }
    li { font-size: 15px; color: #374151; line-height: 1.7; }
    a { color: var(--teal-dark); text-decoration: none; }
    a:hover { text-decoration: underline; }
    .updated { font-size: 13px; color: var(--muted); margin-bottom: 32px; }

    footer { background: #1a1a1a; color: rgba(255,255,255,0.6); text-align: center; padding: 32px 24px; font-size: 14px; }
    footer a { color: rgba(255,255,255,0.75); text-decoration: none; margin: 0 12px; }
    footer a:hover { color: var(--teal); }
    footer .copyright { margin-top: 12px; font-size: 13px; }

    /* The sub-pages previously had no @media rules at all — this breakpoint is what stops the nav
       collapsing in on itself on a phone. */
    @media (max-width: 900px) {
      .nav-links { flex-wrap: wrap; gap: var(--space-3) var(--space-4); }
    }

    @media (max-width: 640px) {
      .wrap { width: min(100% - 28px, 1120px); }
      .content { padding: var(--space-8) var(--space-4) var(--space-12); }
      .page-header { padding: var(--space-8) var(--space-4); }
      .nav-inner { position: relative; height: auto; padding: 14px 0; align-items: flex-start; gap: 14px; flex-direction: column; }
      .nav-links { gap: 16px; flex-wrap: wrap; }
    }
