    /* ------------------------------------------------------------------
       OA-Phosphor-1 — single page scaffold
       Phosphor green on black, monospace. Terminal / synth aesthetic.
       Accent #03FF67 is pulled straight from the logo.
       Palette lives in :root so it is one swap to reskin.
    ------------------------------------------------------------------ */

    /* Self-hosted Space Mono. Drop the files into site/_fonts/ with these
       exact names. woff2 preferred; .ttf kept as a fallback so either works. */
    @font-face {
      font-family: "Space Mono";
      font-style: normal;
      font-weight: 400;
      font-display: swap;
      src: url("_fonts/SpaceMono-Regular.woff2") format("woff2"),
           url("_fonts/SpaceMono-Regular.ttf") format("truetype");
    }
    @font-face {
      font-family: "Space Mono";
      font-style: normal;
      font-weight: 700;
      font-display: swap;
      src: url("_fonts/SpaceMono-Bold.woff2") format("woff2"),
           url("_fonts/SpaceMono-Bold.ttf") format("truetype");
    }

    :root {
      --ink:        #ededed;   /* light type */
      --ink-soft:   #8a8a8a;
      --ink-faint:  #5a5a5a;
      --ground:     #000000;   /* page */
      --line:       #1b1b1b;
      --line-strong:#03ff67;   /* strong borders / fields now read green */
      --panel:      #0a0a0a;

      --phos:       #03ff67;   /* accent */
      --phos-dim:   #2f9f5f;   /* muted accent for labels */

      --space:      clamp(1rem, 2vw, 1.5rem);
      --gutter:     clamp(1.25rem, 5vw, 4rem);
      --maxw:       1260px;

      --font-mono:  "Space Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
      --font-sans:  var(--font-mono);   /* everything is mono now */
    }

    *, *::before, *::after { box-sizing: border-box; }

    html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

    body {
      margin: 0;
      background: var(--ground);
      color: var(--ink);
      font-family: var(--font-mono);
      font-size: 14px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    img, video { max-width: 100%; display: block; }

    a { color: inherit; }

    .wrap {
      /* --maxw is the CONTENT width; gutters are added on top so the
         inner content (image, grids) actually reaches --maxw. */
      max-width: calc(var(--maxw) + 2 * var(--gutter));
      margin-inline: auto;
      padding-inline: var(--gutter);
    }

    /* ---- typographic scale ---- */
    .eyebrow {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--phos-dim);
      margin: 0 0 1rem;
    }

    h1, h2, h3 { font-family: var(--font-mono); font-weight: 700; letter-spacing: 0; margin: 0; }
    h1 { font-size: clamp(2.6rem, 8vw, 5.5rem); line-height: 1.0; }
    h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.1; text-transform: uppercase; }
    h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.04em; }

    section { padding-block: clamp(3.5rem, 9vw, 7rem); }
    section + section { border-top: 1px solid var(--line); }

    /* ------------------------------------------------------------------
       1. HERO
    ------------------------------------------------------------------ */
    .hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }

    /* brand lockup: mark + wordmark, left-aligned */
    .brandmark {
      display: inline-flex;
      align-items: center;
      gap: 0.65rem;
      text-decoration: none;
    }
    .brandmark img {
      width: 36px;
      height: 36px;
      display: block;
      filter: brightness(0) invert(1);   /* recolour the green mark to white */
    }
    .brandmark__word {
      font-size: 14px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--ink);
    }
    /* divider — same colour as the synth image border */
    .rule {
      border: 0;
      border-top: 1px solid #202020;
      margin: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(2.5rem, 6vw, 4.5rem);
    }

    .hero__title { margin: 0; }
    .hero__name, .hero__idea {
      display: block;
      text-transform: uppercase;
      font-size: clamp(1.5rem, 5vw, 2rem);   /* 32px on desktop, scales down on mobile */
      font-weight: 400;                       /* regular headline; weight reserved for the CTA */
      line-height: 1.15;
      letter-spacing: 0.01em;
    }
    .hero__name { color: var(--phos); margin-bottom: 0.1em; }
    .hero__idea { color: var(--ink); }

    .hero__band {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 2rem clamp(2rem, 6vw, 5rem);
      flex-wrap: wrap;
      margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
    }
    .hero__sub {
      color: var(--ink-soft);
      font-size: 14px;
      line-height: 1.65;
      max-width: 48ch;
      margin: 0;
    }
    .hero__band .btn { flex: none; width: 170px; height: 54px; padding: 0; }

    .hero__specs { margin: clamp(2.5rem, 5vw, 4rem) 0 0.85rem; }
    .hero__specs .cs { color: var(--ink-faint); text-transform: none; }

    .hero__visual {
      margin-top: 0;
      border: 1px solid #202020;
      border-radius: 9px;
      overflow: hidden;
      box-shadow: 0 0 90px rgba(3,255,103,0.06);
      background: var(--panel);
    }
    .hero__visual img { width: 100%; height: auto; display: block; }

    /* ---- buttons: phosphor pill ---- */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5em;
      font-family: var(--font-mono);
      font-size: 14px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      line-height: 1;
      padding: 1.1em 2em;
      border: 1.5px solid var(--phos);
      border-radius: 0;
      background: var(--phos);
      color: #000;
      cursor: pointer;
      text-decoration: none;
      transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease;
    }
    .btn:hover { background: transparent; color: var(--phos); box-shadow: 0 0 26px rgba(3,255,103,0.28); }
    .btn--ghost { background: transparent; color: var(--phos); }
    .btn--ghost:hover { background: var(--phos); color: #000; box-shadow: none; }
    .btn--block { width: 100%; }

    /* ------------------------------------------------------------------
       5. FEATURE CALLOUTS — alternating text / module image
    ------------------------------------------------------------------ */
    /* shared white section headline — regular weight, matches the hero line */
    .section-head {
      font-size: clamp(1.5rem, 4vw, 2rem);
      font-weight: 400;
      text-transform: uppercase;
      letter-spacing: 0.01em;
      line-height: 1.3;
      color: var(--ink);
      margin: 0;
    }
    .callouts__lead { margin-bottom: clamp(3rem, 7vw, 5.5rem); }
    .callout { display: flex; align-items: center; gap: clamp(2rem, 6vw, 5rem); }
    .callout + .callout { margin-top: clamp(3.5rem, 8vw, 6rem); }
    .callout--flip { flex-direction: row-reverse; }
    .callout__text  { flex: 1 1 34%; }
    .callout__media { flex: 1 1 56%; min-width: 0; }
    .callout__media img { width: 100%; height: auto; display: block; }

    /* generative arp: Groove popover floating over the arp composite */
    .callout__media--stack { position: relative; }
    .callout__media--stack .stack-pop {
      position: absolute;
      top: 13%;
      right: -8%;
      width: 63%;
      height: auto;
      box-shadow: 0 22px 55px rgba(0,0,0,0.65);
    }

    .feat + .feat { margin-top: 2.25rem; }
    .feat__title {
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--phos);
      margin: 0 0 0.75rem;
    }
    .feat p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; max-width: 42ch; }

    @media (max-width: 720px) {
      .callout, .callout--flip { flex-direction: column; align-items: stretch; }
      .callout__text, .callout__media { flex-basis: auto; }
    }

    /* ---- feature index: categorised overview beyond the callouts ---- */
    .fcats {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: clamp(1.75rem, 4vw, 2.75rem) clamp(2rem, 4vw, 3.5rem);
      margin-top: 2.25rem;
    }
    .fcat__title {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--phos);
      margin: 0 0 0.9rem;
      padding-bottom: 0.6rem;
      border-bottom: 1px solid #202020;
    }
    .fcat ul { list-style: none; margin: 0; padding: 0; }
    .fcat li {
      display: flex;
      gap: 0.6rem;
      align-items: baseline;
      font-size: 14px;
      line-height: 1.4;
      color: var(--ink);
      margin-bottom: 0.55rem;
    }
    .fcat li:last-child { margin-bottom: 0; }
    .fcat li::before { content: "+"; color: var(--phos-dim); flex: none; }

    /* what's next — simple forward-looking list under the feature index */
    .whatsnext { margin-top: clamp(2.75rem, 7vw, 4.5rem); }
    .whatsnext .fcat__title { color: #ffbf21; }   /* plugin orange — this heading only */
    .whatsnext ul { list-style: none; margin: 0; padding: 0; max-width: 48ch; }
    .whatsnext li {
      display: flex; gap: 0.6rem; align-items: baseline;
      font-size: 14px; line-height: 1.5; color: var(--ink); margin-bottom: 0.55rem;
    }
    .whatsnext li:last-child { margin-bottom: 0; }
    .whatsnext li::before { content: "\203A"; color: var(--phos-dim); flex: none; }
    .whatsnext__note { font-size: 0.8rem; color: var(--ink-faint); margin: 1rem 0 0; }

    /* ------------------------------------------------------------------
       LISTEN — custom audio player, self-hosted from _audio/
    ------------------------------------------------------------------ */
    .listen { padding-top: clamp(1.25rem, 3vw, 2.25rem); }
    .listen__cols {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(1.75rem, 4vw, 3rem);
      align-items: start;
      margin-top: 0;
    }
    @media (max-width: 720px) { .listen__cols { grid-template-columns: 1fr; } }
    .listen__group .player { margin-top: 1.25rem; }
    .player { list-style: none; margin: 2.25rem 0 0; padding: 0; max-width: 720px; display: grid; gap: 0.75rem; }
    .track {
      position: relative;
      display: flex;
      align-items: center;
      gap: 1.25rem;
      background: #181818;
      padding: 1.15rem 1.5rem;
      border-radius: 6px;
      overflow: hidden;
    }
    /* simplified play control: bare triangle, no border box */
    .track__toggle {
      flex: none;
      width: 26px; height: 26px;
      border: 0;
      background: transparent;
      color: var(--phos);
      cursor: pointer;
      display: grid;
      place-items: center;
      padding: 0;
    }
    .track__toggle:hover { color: #fff; }
    .track__toggle svg { width: 16px; height: 18px; fill: currentColor; }
    .track__toggle .icon-play  { display: block; }
    .track__toggle .icon-pause { display: none; }
    .track.is-playing .track__toggle .icon-play  { display: none; }
    .track.is-playing .track__toggle .icon-pause { display: block; }
    .track.is-error { opacity: 0.45; }
    .track.is-error .track__toggle { pointer-events: none; }

    .track__name {
      flex: 1; min-width: 0;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--ink);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    /* two-line variant: name + secondary description (feature showcases) */
    .track__meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.2rem; }
    .track__meta .track__name { flex: none; }
    .track__desc { font-size: 12px; line-height: 1.35; color: var(--ink-faint); }
    .track__time { flex: none; font-size: 14px; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
    .track__time .cur { color: var(--ink-faint); }
    .track__time .sep { color: var(--phos); margin: 0 0.25em; }
    .track__time .dur { color: var(--ink); }

    /* progress line pinned to the bottom edge of the box */
    .track__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,0.07); cursor: pointer; }
    .track__fill { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--phos); }

    /* ------------------------------------------------------------------
       DOWNLOAD SPECS — locked up with the form
    ------------------------------------------------------------------ */
    .dl-specs {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: clamp(1.25rem, 6vw, 3rem);
      margin: 1.5rem 0 0;
      padding-top: 1.4rem;
      border-top: 1px solid var(--line);
    }
    .dl-specs div { text-align: center; }
    .dl-specs dt {
      font-family: var(--font-mono);
      font-size: 0.65rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--phos-dim);
      margin-bottom: 0.4rem;
    }
    .dl-specs dd { margin: 0; font-size: 14px; color: var(--ink); }

    /* ------------------------------------------------------------------
       7. DOWNLOAD
    ------------------------------------------------------------------ */
    .download { text-align: center; }
    .download__inner { max-width: 480px; margin-inline: auto; }
    .download__form { margin-top: 2rem; text-align: left; }
    .field {
      width: 100%;
      font-family: var(--font-sans);
      font-size: 1.05rem;
      padding: 1.05em 1.1em;
      border: 1.5px solid var(--line-strong);
      background: var(--ground);
      color: var(--ink);
      margin-bottom: 1rem;
    }
    .field::placeholder { color: var(--ink-faint); }
    .field:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
    .field--error { border-color: #b00020; }
    .consent {
      font-size: 0.85rem;
      color: var(--ink-soft);
      line-height: 1.45;
      margin: 0 0 1.25rem;
    }
    .consent a { text-decoration: underline; }
    .platform-buttons { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
    .hint { font-size: 0.8rem; color: var(--ink-faint); margin: 0.75rem 0 0; text-align: center; }
    /* honeypot — visually and semantically hidden from humans */
    .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

    /* ------------------------------------------------------------------
       ABOUT OA LABS  (quiet, below the download — plan §12)
    ------------------------------------------------------------------ */
    .about__inner { max-width: 56ch; }
    .about__inner p { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--ink-soft); line-height: 1.55; margin: 0 0 1rem; }
    .about__inner p:last-child { margin-bottom: 0; }
    .about__inner strong { color: var(--ink); font-weight: 600; }
    .about__inner a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
    .about__inner a:hover { border-color: var(--ink); }

    /* ------------------------------------------------------------------
       8. FOOTER
    ------------------------------------------------------------------ */
    footer {
      border-top: 1px solid var(--line);
      padding-block: clamp(2.5rem, 6vw, 3.5rem);
      font-size: 0.85rem;
      color: var(--ink-faint);
    }
    .footer__inner {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem clamp(2rem, 8vw, 5rem);
      justify-content: space-between;
      align-items: flex-start;
    }
    .footer__about { max-width: 54ch; }
    .footer__about p { margin: 0 0 0.85rem; color: var(--ink-soft); line-height: 1.6; }
    .footer__about p:last-child { margin-bottom: 0; }
    .footer__about a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
    .footer__about a:hover { color: var(--phos); border-color: var(--phos); }
    footer nav { display: flex; flex-direction: column; gap: 0.6rem; flex: none; }
    footer nav a { text-decoration: none; }
    footer nav a:hover { color: var(--phos); }

    /* ------------------------------------------------------------------
       CHANGELOG + ROADMAP  (built-in-the-open mechanic, plan §8 §13)
       On-page teaser only; full history lives at /phosphor-1/changelog.
    ------------------------------------------------------------------ */
    .log__cols {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(2rem, 6vw, 4.5rem);
      margin-top: 2.5rem;
    }
    @media (max-width: 680px) { .log__cols { grid-template-columns: 1fr; gap: 3rem; } }
    .log__cols h3 { margin-bottom: 1.5rem; }

    .release { border-top: 1px solid var(--line); padding-top: 1.25rem; margin-top: 1.25rem; }
    .release:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
    .release__head { display: flex; align-items: baseline; gap: 0.85rem; margin-bottom: 0.5rem; }
    .release__v { font-family: var(--font-mono); font-weight: 700; font-size: 0.95rem; }
    .release__date {
      font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em;
      color: var(--ink-faint);
    }
    .log ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); }
    .log li { margin: 0.35rem 0; }
    .log__more {
      font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em;
      color: var(--ink-faint); text-decoration: none; margin-top: 1.5rem; display: inline-block;
    }
    .log__more:hover { color: var(--ink); }

    .roadmap__note { font-size: 0.85rem; color: var(--ink-faint); margin: 0 0 1.25rem; max-width: 42ch; }
    .roadmap li { display: flex; align-items: baseline; gap: 0.6rem; justify-content: space-between; }
    .tag {
      flex: none;
      font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
      border: 1px solid var(--line); color: var(--ink-faint);
      padding: 0.2em 0.5em; align-self: center;
    }

    /* ------------------------------------------------------------------
       FLOATING CTA  (recommended: modal)
    ------------------------------------------------------------------ */
    .float-cta {
      position: fixed;
      left: 0; right: 0;
      top: clamp(1rem, 3vw, 2rem);
      z-index: 40;
      opacity: 0;
      transform: translateY(-12px);
      pointer-events: none;   /* strip never blocks; only the button is clickable */
      transition: opacity 200ms ease, transform 200ms ease;
    }
    /* aligns the detached button to the same right edge as the hero CTA */
    .float-cta__inner { display: flex; justify-content: flex-end; }
    .float-cta.is-visible { opacity: 1; transform: none; }
    .float-cta.is-visible .btn { pointer-events: auto; }
    .float-cta .btn { box-shadow: 0 6px 28px rgba(0,0,0,0.6); }

    /* modal */
    .modal {
      position: fixed;
      inset: 0;
      z-index: 50;
      display: none;
      place-items: center;
      padding: 1.25rem;
      background: rgba(10,10,10,0.55);
    }
    .modal.is-open { display: grid; }
    .modal__panel {
      background: var(--ground);
      border: 1.5px solid var(--line-strong);
      width: 100%;
      max-width: 440px;
      padding: clamp(1.5rem, 5vw, 2.5rem);
      position: relative;
    }
    .modal__close {
      position: absolute;
      top: 0.75rem;
      right: 0.75rem;
      background: none;
      border: none;
      font-size: 1.5rem;
      line-height: 1;
      cursor: pointer;
      color: var(--ink-faint);
      padding: 0.25rem 0.5rem;
    }
    .modal__close:hover { color: var(--ink); }
    .modal h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
    .modal p.lead { margin: 0 0 1.5rem; color: var(--ink-soft); font-size: 0.95rem; }

    /* GSAP intro: start hidden only when JS is present and motion is allowed */
    @media (prefers-reduced-motion: no-preference) {
      .has-js [data-anim] { opacity: 0; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .float-cta { transition: none; }
    }

/* ------------------------------------------------------------------
   SUBPAGES (legal, changelog, support, about) — share the base above
------------------------------------------------------------------ */
.subpage__head { padding-top: clamp(1.75rem, 4vw, 3rem); }
.subpage__head .rule { margin-top: clamp(1.5rem, 3.5vw, 2.5rem); margin-bottom: 0; }
.subpage {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(4rem, 10vw, 7rem);
}
.doc { max-width: 70ch; }
.doc h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}
.doc__meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--phos-dim);
  margin: 0 0 2.5rem;
}
.doc h2 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--phos);
  margin: 2.75rem 0 0.85rem;
}
.doc p, .doc li { color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.doc p { margin: 0 0 1rem; }
.doc ul { margin: 0 0 1rem; padding-left: 1.2em; }
.doc li { margin: 0.35rem 0; }
.doc a { color: var(--ink); text-decoration: underline; }
.doc a:hover { color: var(--phos); }
.doc strong { color: var(--ink); font-weight: 700; }
.doc__back {
  display: inline-block;
  margin-top: 3rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  text-decoration: none;
}
.doc__back:hover { color: var(--phos); }

/* wider doc + two columns (support page) */
.doc--wide { max-width: 940px; }
.doc--wide > p { max-width: 62ch; }
.doc__cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
  margin-top: 1.5rem;
}
.doc__cols h2:first-child { margin-top: 0; }
@media (max-width: 680px) { .doc__cols { grid-template-columns: 1fr; } }

/* changelog specifics */
.release-entry { border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 1.75rem; }
.release-entry:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.release-entry__head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 0.75rem; }
.release-entry__v { font-family: var(--font-mono); font-weight: 700; font-size: 1rem; color: var(--ink); }
.release-entry__date { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--ink-faint); }
