  /* ============================================================
     DESIGN TOKENS  (matches SkillParkho design system)
     ============================================================ */
  :root {
    --navy:      #0B1026;   /* page background */
    --navy-soft: #121838;   /* raised panels / cards */
    --line:      #232A4F;   /* hairline borders */
    --white:     #FFFFFF;
    --text:      #C7CBDA;   /* body text (soft white) */
    --muted:     #8A90A6;   /* captions, meta */
    --red:       #EF4444;   /* sole accent */
    --red-soft:  rgba(239, 68, 68, 0.12);
    --radius:    14px;
    --maxw:      1080px;
    --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  }

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

  html { scroll-behavior: smooth; }

  body {
    background: var(--navy);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
  }

  a { color: var(--red); text-decoration: none; }
  a:hover { text-decoration: underline; }

  /* ============================================================
     HERO / TITLE BLOCK
     ============================================================ */
  .hero {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 64px 24px 40px;
  }
  .eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    background: var(--red-soft);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
    color: var(--white);
    letter-spacing: -0.03em;
  }
  .hero .updated {
    margin-top: 16px;
    color: var(--muted);
    font-size: 14px;
  }

  /* ============================================================
     LAYOUT: contents (sidebar) + content
     ============================================================ */
  .layout {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px 96px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 56px;
    align-items: start;
  }

  /* --- Table of contents --- */
  .toc {
    position: sticky;
    top: 96px;
    border-left: 2px solid var(--line);
    padding-left: 20px;
  }
  .toc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
  }
  .toc-title {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .toc-close {
    display: none;   /* only shown inside the mobile panel */
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 4px;
    line-height: 0;
  }
  .toc-close:hover { color: var(--white); }

  .toc-list { list-style: none; counter-reset: toc; }
  .toc li { counter-increment: toc; margin-bottom: 8px; }
  .toc a {
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
    display: block;
    border-radius: 6px;
    transition: color 0.15s ease;
  }
  .toc a::before {
    content: counter(toc, decimal-leading-zero) "  ";
    color: var(--muted);
    font-variant-numeric: tabular-nums;
  }
  .toc a:hover { color: var(--white); text-decoration: none; }
  /* Highlight the section you're currently reading */
  .toc a.active { color: var(--white); font-weight: 600; }
  .toc a.active::before { color: var(--red); }

  /* --- Left-edge tab + backdrop (hidden on desktop, shown on mobile) --- */
  .toc-tab, .toc-backdrop, .toc-caret { display: none; }

  /* --- Desktop: keep contents tucked away until hovered (pointer devices) --- */
  @media (hover: hover) and (min-width: 861px) {
    .toc-head { cursor: pointer; }
    .toc-head:hover .toc-title { color: var(--white); }
    .toc-caret {
      display: block;
      color: var(--muted);
      transition: transform 0.25s ease;
      margin-left: auto;   /* push caret to the right of the title */
    }
    .toc-list {
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      pointer-events: none;
      transition: max-height 0.3s ease, opacity 0.2s ease;
    }
    .toc:hover .toc-list,
    .toc:focus-within .toc-list {
      max-height: 640px;
      opacity: 1;
      pointer-events: auto;
    }
    .toc:hover .toc-caret,
    .toc:focus-within .toc-caret { transform: rotate(180deg); }
  }

  /* --- Content --- */
  .content section {
    padding-top: 40px;
    scroll-margin-top: 96px;
  }
  .content section:first-child { padding-top: 8px; }

  .content h2 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
  }
  .content h3 {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--white);
    margin: 24px 0 10px;
  }
  .content p { margin-bottom: 16px; }
  .content ul { margin: 0 0 16px 0; padding-left: 22px; }
  .content li { margin-bottom: 8px; }
  .content li::marker { color: var(--red); }

  .content strong { color: var(--white); font-weight: 600; }

  /* Key points shown as a single row of cards */
  .collect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: 14px;
    margin: 4px 0 24px;
  }
  .collect-card {
    background: var(--navy-soft);
    border: 1px solid var(--line);
    border-top: 2px solid var(--red);
    border-radius: var(--radius);
    padding: 16px 16px 18px;
  }
  .collect-term {
    display: block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
    margin-bottom: 8px;
  }
  .collect-card p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text);
  }

  /* Callout box for important notes */
  .note {
    background: var(--navy-soft);
    border: 1px solid var(--line);
    border-left: 3px solid var(--red);
    border-radius: var(--radius);
    padding: 20px 22px;
    margin: 24px 0;
    font-size: 15px;
  }
  .note strong { color: var(--white); }

  /* Placeholder highlight — swap these out with your real details */
  .fill {
    color: var(--red);
    background: var(--red-soft);
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95em;
  }

  /* Contact card */
  .contact-card {
    background: var(--navy-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 8px;
  }
  .contact-card p { margin-bottom: 6px; }
  .contact-card .role {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
  }
  /* Keep each contact line on a single row, shrinking to fit */
  .contact-item {
    white-space: nowrap;
    font-size: clamp(11px, 4vw, 15px);
  }

  /* ============================================================
     RESPONSIVE
     ============================================================ */
  @media (max-width: 860px) {
    .layout {
      grid-template-columns: minmax(0, 1fr);
      gap: 0;
      padding: 0 20px 96px 48px;   /* extra left gutter clears the tab */
    }
    .content { min-width: 0; }
    .hero { padding: 40px 20px 24px 48px; }

    /* Keep numbered section titles on a single line, shrinking to fit */
    .content h2 {
      white-space: nowrap;
      font-size: clamp(12px, 4.4vw, 1.5rem);
    }
    .content h3 {
      font-size: clamp(11px, 4vw, 1.05rem);
    }

    /* Left-edge tab that opens the panel */
    .toc-tab {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      position: fixed;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      z-index: 60;
      background: var(--navy-soft);
      color: var(--white);
      border: 1px solid var(--line);
      border-left: 3px solid var(--red);
      border-radius: 0 12px 12px 0;
      padding: 14px 7px;
      cursor: pointer;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    }
    .toc-tab-label {
      font-family: var(--font-head);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      writing-mode: vertical-rl;
      color: var(--muted);
    }
    .toc-tab svg { color: var(--red); }

    /* Backdrop */
    .toc-backdrop {
      display: block;
      position: fixed;
      inset: 0;
      background: rgba(4, 7, 20, 0.6);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
      z-index: 70;
    }
    body.toc-open .toc-backdrop { opacity: 1; pointer-events: auto; }

    /* The panel itself slides in from the left */
    .toc {
      position: fixed;
      top: 0;
      left: 0;
      height: 100%;
      width: min(84%, 320px);
      z-index: 80;
      background: var(--navy-soft);
      border: none;
      border-right: 1px solid var(--line);
      padding: 24px 22px;
      overflow-y: auto;
      transform: translateX(-100%);
      transition: transform 0.3s ease;
      box-shadow: 8px 0 30px rgba(0, 0, 0, 0.4);
    }
    body.toc-open .toc { transform: translateX(0); }

    .toc-head {
      margin-bottom: 18px;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--line);
    }
    .toc-close { display: block; }

    .toc li { margin-bottom: 2px; }
    .toc a { padding: 11px 10px; }
    .toc a:hover, .toc a.active { background: rgba(255, 255, 255, 0.04); }
  }

  @media (max-width: 480px) {
    .hero { padding-bottom: 24px; }
  }

  /* Accessibility: respect reduced motion */
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
  }


/* === Site typography: small labels use JetBrains Mono; headings and body use Plus Jakarta Sans === */
.eyebrow,.toc-title,.role{font-family:'JetBrains Mono',ui-monospace,monospace !important}
