    :root {
      --ink: #10201c;
      --ink-soft: #2a3f38;
      --mist: #dfece6;
      --paper: #f3f7f4;
      --teal: #0b6e64;
      --teal-bright: #129487;
      --line: rgba(16, 32, 28, 0.12);
      --glow-safe: rgba(11, 110, 100, 0.18);
      --danger: #9b3b2e;
      --warn: #a56a12;
      --ok: #1f6b45;
      --display: "Bricolage Grotesque", Georgia, serif;
      --mono: "IBM Plex Mono", ui-monospace, monospace;
      --radius: 2px;
      --max: 1120px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: var(--paper);
      font-family: var(--mono);
      font-size: 15px;
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
    }
    a { color: var(--teal); text-underline-offset: 3px; }
    a:hover { color: var(--teal-bright); }
    button, input { font: inherit; }

    .skip-link {
      position: absolute;
      left: 0.75rem;
      top: -3rem;
      z-index: 100;
      padding: 0.55rem 0.85rem;
      background: var(--teal);
      color: #fff;
      text-decoration: none;
      border-radius: var(--radius);
      font-weight: 600;
    }
    .skip-link:focus {
      top: 0.75rem;
    }

    /* —— Hero —— */
    .hero {
      position: relative;
      min-height: 100svh;
      display: grid;
      align-items: end;
      overflow: hidden;
      isolation: isolate;
      color: var(--paper);
      background:
        radial-gradient(1200px 600px at 80% -10%, rgba(18, 148, 135, 0.35), transparent 55%),
        radial-gradient(900px 500px at 10% 110%, rgba(16, 32, 28, 0.9), transparent 50%),
        linear-gradient(160deg, #0a1613 0%, #143029 48%, #0d1f1a 100%);
    }
    .hero-code {
      position: absolute;
      inset: 0;
      z-index: -1;
      padding: 8vh 6vw;
      font-size: clamp(12px, 1.5vw, 15px);
      line-height: 1.7;
      color: rgba(223, 236, 230, 0.22);
      white-space: pre;
      overflow: hidden;
      user-select: none;
      pointer-events: none;
      animation: drift 48s linear infinite;
    }
    @keyframes drift {
      from { transform: translateY(0); }
      to { transform: translateY(-18%); }
    }
    .hero-inner {
      width: min(var(--max), calc(100% - 2.5rem));
      margin: 0 auto;
      padding: 0 0 clamp(3rem, 8vh, 5.5rem);
    }
    .brand {
      font-family: var(--display);
      font-weight: 800;
      font-size: clamp(3.2rem, 12vw, 7.5rem);
      letter-spacing: -0.04em;
      line-height: 0.9;
      margin: 0 0 1.25rem;
      opacity: 0;
      animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s forwards;
    }
    .hero h1 {
      font-family: var(--display);
      font-weight: 700;
      font-size: clamp(1.35rem, 3.2vw, 2rem);
      letter-spacing: -0.02em;
      line-height: 1.2;
      max-width: 18ch;
      margin: 0 0 0.85rem;
      opacity: 0;
      animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s forwards;
    }
    .hero-lead {
      max-width: 36ch;
      margin: 0 0 1.75rem;
      color: rgba(243, 247, 244, 0.78);
      opacity: 0;
      animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards;
    }
    .cta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem 1rem;
      opacity: 0;
      animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.55s forwards;
    }
    @keyframes rise {
      from { opacity: 0; transform: translateY(18px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      min-height: 2.75rem;
      padding: 0.65rem 1.15rem;
      border: 1px solid transparent;
      border-radius: var(--radius);
      text-decoration: none;
      cursor: pointer;
      transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
    }
    .btn:active { transform: translateY(1px); }
    .btn-primary {
      background: var(--paper);
      color: var(--ink);
      font-weight: 600;
    }
    .btn-primary:hover { background: #fff; color: var(--ink); }
    .btn-ghost {
      background: transparent;
      color: var(--paper);
      border-color: rgba(243, 247, 244, 0.35);
    }
    .btn-ghost:hover {
      border-color: rgba(243, 247, 244, 0.7);
      color: #fff;
    }
    .btn-teal {
      background: var(--teal);
      color: #fff;
      font-weight: 600;
      border-color: var(--teal);
    }
    .btn-teal:hover { background: var(--teal-bright); }

    /* —— Sections —— */
    .wrap {
      width: min(var(--max), calc(100% - 2.5rem));
      margin: 0 auto;
    }
    section {
      padding: clamp(3.5rem, 9vw, 6rem) 0;
    }
    .section-kicker {
      font-size: 0.75rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--teal);
      margin: 0 0 0.75rem;
    }
    .section-title {
      font-family: var(--display);
      font-weight: 700;
      font-size: clamp(1.75rem, 4vw, 2.6rem);
      letter-spacing: -0.03em;
      line-height: 1.15;
      margin: 0 0 0.75rem;
      max-width: 16ch;
    }
    .section-copy {
      margin: 0 0 2rem;
      max-width: 42ch;
      color: var(--ink-soft);
    }

    /* —— Playground —— */
    .playground {
      background:
        linear-gradient(180deg, rgba(11, 110, 100, 0.06), transparent 28%),
        var(--mist);
      border-block: 1px solid var(--line);
    }
    .play-grid {
      display: grid;
      gap: 1.25rem;
    }
    @media (min-width: 900px) {
      .play-grid {
        grid-template-columns: 1.35fr 1fr;
        align-items: stretch;
        gap: 1.5rem;
      }
    }
    .panel {
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      min-height: 420px;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }
    .panel-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 0.85rem 1rem;
      border-bottom: 1px solid var(--line);
      background: rgba(16, 32, 28, 0.03);
    }
    .panel-head h3 {
      margin: 0;
      font-family: var(--display);
      font-size: 1.05rem;
      font-weight: 700;
    }
    .dots {
      display: flex;
      gap: 0.35rem;
    }
    .dots span {
      width: 0.55rem;
      height: 0.55rem;
      border-radius: 50%;
      background: rgba(16, 32, 28, 0.2);
    }
    .dots span:nth-child(1) { background: #c45c4a; }
    .dots span:nth-child(2) { background: #c9a227; }
    .dots span:nth-child(3) { background: #3d8f5f; }

    .term-body {
      flex: 1;
      padding: 1rem;
      overflow: auto;
      background: #0f1c19;
      color: #d7e6df;
      font-size: 0.86rem;
      line-height: 1.55;
    }
    .term-line { margin: 0 0 0.35rem; white-space: pre-wrap; word-break: break-word; }
    .term-line .prompt { color: var(--teal-bright); font-weight: 600; }
    .term-line .cmd { color: #f3f7f4; }
    .term-line .out { color: rgba(215, 230, 223, 0.78); }
    .term-line .ok { color: #7dcea0; }
    .term-line .err { color: #e8a090; }
    .term-line .muted { color: rgba(215, 230, 223, 0.45); }

    .term-input-row {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.75rem 1rem;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      background: #0c1714;
    }
    .term-input-row .prompt { color: var(--teal-bright); font-weight: 600; flex-shrink: 0; }
    #cmdInput {
      flex: 1;
      min-width: 0;
      border: 0;
      outline: 0;
      background: transparent;
      color: #f3f7f4;
      caret-color: var(--teal-bright);
    }
    .chips {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      padding: 0.75rem 1rem 1rem;
      background: #0c1714;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
    .chip {
      border: 1px solid rgba(243, 247, 244, 0.2);
      background: transparent;
      color: rgba(243, 247, 244, 0.85);
      padding: 0.35rem 0.6rem;
      border-radius: var(--radius);
      cursor: pointer;
      font-size: 0.75rem;
      transition: border-color 0.15s, background 0.15s;
    }
    .chip:hover {
      border-color: var(--teal-bright);
      background: rgba(18, 148, 135, 0.15);
    }

    .queue-body {
      flex: 1;
      padding: 0.5rem 0;
      overflow: auto;
    }
    .queue-empty {
      padding: 2rem 1.25rem;
      color: var(--ink-soft);
      font-size: 0.9rem;
    }
    .task {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 0.35rem 0.85rem;
      padding: 0.85rem 1.1rem;
      border-bottom: 1px solid var(--line);
      animation: taskIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    }
    @keyframes taskIn {
      from { opacity: 0; transform: translateX(8px); }
      to { opacity: 1; transform: translateX(0); }
    }
    .task-num {
      font-weight: 600;
      color: var(--teal);
    }
    .task-meta {
      grid-column: 2;
      display: flex;
      flex-wrap: wrap;
      gap: 0.35rem;
      font-size: 0.72rem;
      color: var(--ink-soft);
    }
    .badge {
      border: 1px solid var(--line);
      padding: 0.1rem 0.4rem;
      border-radius: var(--radius);
    }
    .badge-high { border-color: rgba(155, 59, 46, 0.35); color: var(--danger); }
    .badge-code { border-color: rgba(11, 110, 100, 0.35); color: var(--teal); }
    .task-title { grid-column: 2; font-weight: 500; }
    .prompt-box {
      margin: 0.75rem 1rem 1rem;
      padding: 0.85rem;
      border: 1px dashed var(--line);
      background: rgba(11, 110, 100, 0.05);
      font-size: 0.78rem;
      max-height: 180px;
      overflow: auto;
      white-space: pre-wrap;
      display: none;
    }
    .prompt-box.visible { display: block; animation: taskIn 0.3s ease; }
    .queue-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      padding: 0.85rem 1rem;
      border-top: 1px solid var(--line);
    }
    .queue-actions .btn {
      background: transparent;
      color: var(--ink);
      border-color: var(--line);
    }
    .queue-actions .btn:hover {
      border-color: var(--teal);
      color: var(--teal);
    }
    .queue-actions .btn-teal {
      background: var(--teal);
      color: #fff;
      border-color: var(--teal);
    }
    .queue-actions .btn-teal:hover {
      background: var(--teal-bright);
      color: #fff;
    }

    /* —— Feature bands —— */
    .band {
      display: grid;
      gap: 1.5rem;
    }
    @media (min-width: 800px) {
      .band {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
      }
      .band-reverse .band-visual { order: -1; }
    }
    .code-sample {
      font-size: 0.85rem;
      line-height: 1.65;
      padding: 1.25rem 1.35rem;
      background: #10201c;
      color: #d7e6df;
      border-radius: var(--radius);
      overflow-x: auto;
    }
    .code-sample .c-todo { color: #e8c27a; }
    .code-sample .c-fix { color: #e8a090; }
    .code-sample .c-dim { color: rgba(215, 230, 223, 0.45); }
    .handoff-preview {
      padding: 1.25rem 1.35rem;
      border-left: 3px solid var(--teal);
      background: linear-gradient(90deg, rgba(11, 110, 100, 0.08), transparent 70%);
      font-size: 0.88rem;
    }
    .handoff-preview strong {
      font-family: var(--display);
      font-size: 1.1rem;
      display: block;
      margin-bottom: 0.5rem;
    }

    /* —— Install —— */
    .install {
      background: var(--ink);
      color: var(--paper);
    }
    .install .section-kicker { color: var(--teal-bright); }
    .install .section-copy { color: rgba(243, 247, 244, 0.7); }
    .install-cmd {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.75rem;
      margin: 1.5rem 0 1rem;
      padding: 1rem 1.15rem;
      background: rgba(243, 247, 244, 0.06);
      border: 1px solid rgba(243, 247, 244, 0.12);
      font-size: 0.95rem;
    }
    .install-cmd code { flex: 1; min-width: 12rem; }
    .trust {
      margin-top: 1.5rem;
      font-size: 0.85rem;
      color: rgba(243, 247, 244, 0.55);
      max-width: 48ch;
    }

    footer {
      padding: 2rem 0 3rem;
      border-top: 1px solid var(--line);
      font-size: 0.82rem;
      color: var(--ink-soft);
    }
    footer .wrap {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: space-between;
    }
    footer nav { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation: none !important;
        transition: none !important;
      }
      .hero-code { transform: none; }
      .brand, .hero h1, .hero-lead, .cta-row { opacity: 1; }
    }

    /* —— Site nav —— */
    .site-nav {
      position: sticky;
      top: 0;
      z-index: 20;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 0.75rem 0;
      background: rgba(243, 247, 244, 0.92);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--line);
    }
    .site-nav .wrap {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      width: min(var(--max), calc(100% - 2.5rem));
      margin: 0 auto;
    }
    .site-nav .logo {
      font-family: var(--display);
      font-weight: 800;
      font-size: 1.15rem;
      letter-spacing: -0.03em;
      color: var(--ink);
      text-decoration: none;
    }
    .site-nav .logo:hover { color: var(--teal); }
    .site-nav-links {
      display: flex;
      flex-wrap: wrap;
      gap: 0.85rem 1.15rem;
      align-items: center;
      font-size: 0.85rem;
    }
    .site-nav-links a {
      color: var(--ink-soft);
      text-decoration: none;
    }
    .site-nav-links a:hover,
    .site-nav-links a[aria-current="page"] {
      color: var(--teal);
    }
    .site-nav-links .nav-cta {
      padding: 0.4rem 0.75rem;
      border: 1px solid var(--teal);
      color: var(--teal);
      border-radius: var(--radius);
      font-weight: 600;
    }
    .site-nav-links .nav-cta:hover {
      background: var(--teal);
      color: #fff;
    }
    .hero-with-nav { min-height: calc(100svh - 3.25rem); }

    /* Playground page */
    .play-page {
      padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 8vw, 5rem);
      background:
        linear-gradient(180deg, rgba(11, 110, 100, 0.07), transparent 22%),
        var(--mist);
      min-height: calc(100svh - 3.25rem);
    }
    .play-page .section-title { max-width: 20ch; }
    .play-guide {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin: 0 0 1.5rem;
    }
    .play-guide button {
      border: 1px solid var(--line);
      background: var(--paper);
      color: var(--ink-soft);
      padding: 0.45rem 0.75rem;
      border-radius: var(--radius);
      cursor: pointer;
      font-size: 0.78rem;
    }
    .play-guide button:hover,
    .play-guide button.active {
      border-color: var(--teal);
      color: var(--teal);
    }
    .play-page .panel { min-height: min(520px, 70vh); }
