/* Kirat audience pages (/for/*). Nav, footer and tokens match assets/site.css. */
  :root {
    --ground:#F4EFE6; --surface:#FDFBF6; --ink:#1B1B18; --ink-soft:#4E4B43; --muted:#6B6756;
    --petrol:#0E4A5B; --petrol-ink:#0E4A5B; --petrol-wash:#E2EAE8; --red:#B2302A;
    --cta:#B2302A; --on-cta:#FDFBF6;
    --line:#DCD6C7; --hairline:#C9C2B0;
    --deep:#0E2A33; --deep-ink:#E6EDEA; --deep-muted:#8FA6AD; --deep-line:#245160; --deep-body:#B7C7CC;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --ground:#101B20; --surface:#17252B; --ink:#EDE8DB; --ink-soft:#C4BFB1; --muted:#8B958F;
      --petrol:#8CC2D1; --petrol-ink:#A8D3DF; --petrol-wash:#1B333C; --red:#EF6A55;
      --cta:#EF6A55; --on-cta:#101B20;
      --line:#273C44; --hairline:#334A53;
      --deep:#0A1519; --deep-ink:#E6EDEA; --deep-muted:#8FA6AD; --deep-line:#23434E; --deep-body:#B7C7CC;
    }
    /* Dark panels sit close to the dark ground; give them a visible edge. */
    :root:not([data-theme="light"]) .artifact { border: 1px solid var(--deep-line); }
  }
  :root[data-theme="dark"] {
    --ground:#101B20; --surface:#17252B; --ink:#EDE8DB; --ink-soft:#C4BFB1; --muted:#8B958F;
    --petrol:#8CC2D1; --petrol-ink:#A8D3DF; --petrol-wash:#1B333C; --red:#EF6A55;
    --cta:#EF6A55; --on-cta:#101B20;
    --line:#273C44; --hairline:#334A53;
    --deep:#0A1519; --deep-ink:#E6EDEA; --deep-muted:#8FA6AD; --deep-line:#23434E; --deep-body:#B7C7CC;
  }
  :root[data-theme="dark"] .artifact { border: 1px solid var(--deep-line); }
  :root { color-scheme: light dark; }
  :root[data-theme="light"] { color-scheme: light; }
  :root[data-theme="dark"] { color-scheme: dark; }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
  }
  body {
    margin: 0; background: var(--ground); color: var(--ink);
    font-family: 'Inter', system-ui, sans-serif; font-size: 16.5px; line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3 { font-family: 'Archivo', sans-serif; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
  p { margin: 0; max-width: 68ch; }
  a { color: inherit; }
  :focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
  [id] { scroll-margin-top: 72px; }
  .band { padding-inline: 24px; }
  .mono { font-family: 'IBM Plex Mono', monospace; font-size: 0.92em; color: var(--petrol-ink); }
  .inner { max-width: 1120px; margin: 0 auto; }

  .skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); color: var(--ink); border: 1px solid var(--line); padding: 8px 12px; font-size: 14px; }
  .skip:focus { left: 16px; }

  code { font-family: 'IBM Plex Mono', monospace; font-size: 0.88em; color: var(--petrol-ink); overflow-wrap: anywhere; }

  /* ---------- Nav (same as assets/site.css) ---------- */
  .nav {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--ground) 92%, transparent);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }
  .nav-in {
    max-width: 1168px; margin: 0 auto;
    display: flex; align-items: center; gap: 20px;
    height: 60px; padding: 0 24px;
  }
  .brand { display: flex; align-items: baseline; gap: 9px; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 19px; letter-spacing: 0.02em; text-decoration: none; }
  .brand .glyph { font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 0.18em; color: var(--petrol-ink); }
  .nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
  .nav-links a { text-decoration: none; color: var(--ink-soft); }
  .nav-links a:hover { color: var(--petrol-ink); }
  .nav-cta { font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 13.5px; background: var(--cta); color: var(--on-cta); text-decoration: none; padding: 9px 15px; white-space: nowrap; }
  @media (max-width: 780px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }

  /* ---------- Hero ---------- */
  .hero { padding-block: 56px 44px; }
  .eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--petrol-ink); background: var(--petrol-wash); padding: 6px 11px; display: inline-block; margin-bottom: 20px; }
  .eyebrow::before { content: "// "; opacity: 0.55; }
  h1 { font-size: clamp(34px, 5.4vw, 52px); font-weight: 800; line-height: 1.05; max-width: 17ch; }
  .lede { font-size: 18px; color: var(--ink-soft); margin-top: 20px; max-width: 60ch; }
  .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
  .btn { font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 15px; padding: 13px 22px; text-decoration: none; display: inline-block; border: 1.5px solid transparent; }
  .btn-primary { background: var(--cta); color: var(--on-cta); }
  .btn-ghost { border-color: var(--hairline); color: var(--ink); }
  .btn, .nav-cta { transition: transform 0.15s ease, filter 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
  .btn:hover { transform: translateY(-1px); }
  .btn-primary:hover, .nav-cta:hover { filter: brightness(1.07); }
  .btn-ghost:hover { border-color: var(--petrol-ink); color: var(--petrol-ink); }
  .strip { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 26px; font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: var(--ink-soft); }
  .strip span::before { content: "· "; color: var(--muted); }
  .strip span:first-child::before { content: ""; }

  /* ---------- Sections ---------- */
  section.blk { padding-block: 46px; border-top: 1px solid var(--line); }
  .fig { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--petrol-ink); display: block; margin-bottom: 10px; }
  h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 700; line-height: 1.15; }
  .after-h2 { margin-top: 16px; color: var(--ink-soft); }
  .sub-h { margin-top: 36px; font-size: 19px; }

  .pains { display: grid; gap: 1px; margin-top: 26px; background: var(--line); border: 1px solid var(--line); }
  .pain { background: var(--surface); padding: 18px 22px; display: grid; grid-template-columns: 32px 1fr; gap: 14px; }
  .pain .n { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted); padding-top: 3px; }
  .pain p { font-size: 15.5px; }

  /* Dark transcript / code panel. Fits its content on wide screens, full width on phones. */
  .artifact {
    margin-top: 24px; background: var(--deep); color: var(--deep-ink);
    font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; line-height: 1.8;
    padding: 20px 22px; overflow-x: auto; white-space: pre;
    width: fit-content; min-width: min(100%, 560px); max-width: 100%;
  }
  .artifact .c { color: var(--deep-muted); }
  .artifact .s { color: #E8B98A; }
  .artifact .h { color: #F0846A; font-weight: 600; }
  .artifact .k { color: #7FC5D8; }
  .artifact code { color: inherit; font-size: inherit; }
  .cap { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--muted); margin-top: 9px; }

  /* Tinted call-out block */
  .callout { background: var(--petrol-wash); padding: 26px 24px; }
  .callout h2 { font-size: 22px; }

  /* Dated note next to an older record */
  .addendum { margin-top: 26px; border: 1px solid var(--hairline); border-left: 3px solid var(--petrol); background: var(--surface); padding: 20px 22px; display: grid; gap: 10px; }
  .addendum .tag { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--petrol-ink); }
  .addendum p { font-size: 15.5px; color: var(--ink-soft); }
  .addendum b { color: var(--ink); font-weight: 600; }

  /* ---------- Limits ---------- */
  .limits { background: var(--surface); border: 1px solid var(--hairline); border-left: 3px solid var(--petrol); padding: 26px 24px; margin-top: 8px; }
  .limits h2 { font-size: 22px; }
  .limits ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 15px; }
  .limits li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 15.5px; color: var(--ink-soft); }
  .limits .m { font-family: 'IBM Plex Mono', monospace; color: var(--muted); }
  .limits b { color: var(--ink); font-weight: 600; }

  /* ---------- FAQ ---------- */
  details { border-bottom: 1px solid var(--line); }
  details:first-of-type { border-top: 1px solid var(--line); }
  h2 + details { margin-top: 24px; }
  summary { cursor: pointer; list-style: none; padding: 17px 34px 17px 0; position: relative; font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 16px; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-family: 'IBM Plex Mono', monospace; font-size: 19px; color: var(--petrol-ink); font-weight: 400; }
  details[open] summary::after { content: "–"; }
  .answer { padding: 0 0 19px; font-size: 15px; color: var(--ink-soft); display: grid; gap: 10px; }

  /* ---------- Closing box ---------- */
  .closing { padding-block: 44px 56px; border-top: 1px solid var(--line); }
  .closing-box { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; background: var(--petrol-wash); padding: 24px; }
  .closing-box p { font-size: 15.5px; }
  .closing-box .cta-row { margin: 0 0 0 auto; }

  /* ---------- Footer (same as assets/site.css) ---------- */
  .footer { border-top: 1px solid var(--line); padding-block: 40px 56px; }
  .foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
  .footer .foot-brand .brand { display: inline-flex; }
  .legend { margin-top: 20px; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--muted); }
  .foot-brand .legend { margin-top: 14px; }
  .foot-h {
    font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px;
  }
  .foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
  .foot-list a { display: inline-block; padding: 2px 0; color: var(--ink-soft); text-decoration: none; }
  .foot-list a:hover { color: var(--petrol-ink); text-decoration: underline; }
  .foot-list a[aria-current="page"] { color: var(--ink); font-weight: 600; }
  .foot-copy { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); max-width: none; }
  @media (max-width: 760px) {
    .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .foot-brand { grid-column: 1 / -1; }
  }

  /* ---------- Phone width ---------- */
  @media (max-width: 480px) {
    .band { padding-inline: 16px; }
    .nav-in { padding: 0 16px; gap: 12px; }
    .hero { padding-block: 40px 34px; }
    .lede { font-size: 17px; }
    .strip { display: grid; gap: 2px 0; }
    .strip span::before { content: none; }
    section.blk { padding-block: 38px; }
    .limits, .callout { padding: 22px 18px; }
    .addendum { padding: 18px 16px; }
    .pain { padding: 16px; gap: 10px; grid-template-columns: 26px 1fr; }
    .artifact { font-size: 12px; padding: 16px; }
    .closing-box { padding: 20px 18px; }
    .closing-box .cta-row { margin-left: 0; }
  }
