  :root {
    --deep: #07111C;
    --bg-1: #0B1827;
    --bg-2: #122336;
    --line: #1C3146;
    --line-soft: #14253A;
    --ink: #EEF3F9;
    --ink-2: #C8D3E0;
    --mute: #6B7D92;
    --signal: #5DE5EC;
    --heat: #FF2E7E;
    --font-display: "Archivo", system-ui, sans-serif;
    --font-body: "Merriweather", Georgia, serif;
    --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --wrap: 1120px;
  }
  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    background: var(--deep);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  a { color: var(--signal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
  a:hover { color: var(--heat); }
  a:focus-visible, .btn:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
  .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
  .eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mute);
    font-weight: 500;
  }
  .p { color: var(--heat); }
  .eyebrow .sep { color: var(--heat); }
  .dot { display: inline-block; width: .32em; height: .32em; border-radius: 50%; background: var(--heat); margin-left: .06em; vertical-align: baseline; }

  /* Top bar */
  header.top { border-bottom: 1px solid var(--line-soft); }
  header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
  .brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
  .brand img { width: 28px; height: 28px; border-radius: 7px; }
  nav.links { display: flex; gap: 24px; font-family: var(--font-display); font-size: 15px; }
  nav.links a { color: var(--ink-2); text-decoration: none; }
  nav.links a:hover { color: var(--heat); }

  /* Hero */
  .hero { padding: 96px 0 64px; position: relative; }
  .hero::before {
    content: ""; position: absolute; inset: -120px 0 auto 0; height: 520px; z-index: -1;
    background: radial-gradient(600px 300px at 18% 30%, rgba(93,229,236,.13), transparent 70%),
                radial-gradient(420px 240px at 80% 10%, rgba(255,46,126,.08), transparent 70%);
  }
  .hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
  .hero h1 {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(48px, 7vw, 96px); line-height: .95; letter-spacing: -0.03em;
    margin: 16px 0 24px;
  }
  .hero h1 em { font-style: italic; font-weight: 600; color: var(--signal); }
  .lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 34em; margin: 0 0 32px; }
  .cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-display); font-weight: 600; font-size: 16px;
    padding: 13px 22px; border-radius: 9999px; text-decoration: none;
    transition: transform .15s ease, background .15s ease, color .15s ease;
  }
  .btn-primary { background: var(--signal); color: var(--deep); }
  .btn-primary:hover { background: var(--ink); color: var(--deep); transform: translateY(-1px); }
  .btn-ghost { border: 1px solid var(--line); color: var(--ink); }
  .btn-ghost:hover { border-color: var(--signal); color: var(--signal); }
  .btn svg { width: 18px; height: 18px; }
  .meta { margin-top: 16px; font-size: 14px; color: var(--mute); font-family: var(--font-display); }
  .hero-icon { justify-self: center; position: relative; isolation: isolate; }
  /* A Signal glow behind the icon, as on the disk image. */
  .hero-icon::before {
    content: ""; position: absolute; left: 50%; top: 50%; z-index: -1;
    width: 190%; aspect-ratio: 1; transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(93,229,236,.55), rgba(93,229,236,.20) 45%, rgba(93,229,236,0));
    pointer-events: none;
  }
  .hero-icon img { display: block; width: min(300px, 70vw); height: auto; }

  /* Screenshot */
  .shot { padding: 24px 0 96px; }
  .shot figure { margin: 0; }
  .shot img {
    display: block; width: 100%; height: auto; border-radius: 12px;
    border: 1px solid var(--line);
    box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(93,229,236,.05);
  }
  .shot figcaption { margin-top: 14px; font-size: 14px; color: var(--mute); text-align: center; }

  /* Sections */
  section.block { padding: 96px 0; border-top: 1px solid var(--line-soft); }
  .block h2 {
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(32px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -0.02em;
    margin: 12px 0 16px; max-width: 18em;
  }
  .block h2 em { font-style: italic; color: var(--signal); }
  .block .intro { color: var(--ink-2); max-width: 40em; margin: 0 0 48px; }

  /* Modes */
  .modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .mode { background: var(--bg-1); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
  .mode .key { font-family: var(--font-mono); font-size: 12px; color: var(--heat); float: right; border: 1px solid var(--line); border-radius: 4px; padding: 1px 7px; }
  .mode h3, .card h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; margin: 0 0 8px; }
  .mode p, .card p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
  .switch { display: inline-flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 9999px; padding: 3px; margin-bottom: 40px; position: relative; }
  .switch span { font-family: var(--font-display); font-size: 13px; font-weight: 600; width: 88px; text-align: center; padding: 6px 0; border-radius: 9999px; color: var(--ink); position: relative; z-index: 1; }
  .switch .pill { position: absolute; top: 3px; left: 3px; width: 88px; height: calc(100% - 6px); background: rgba(93,229,236,.16); box-shadow: inset 0 0 0 1px var(--signal); border-radius: 9999px; z-index: 0; animation: slide 6s ease-in-out infinite; }
  @keyframes slide { 0%, 25% { transform: translateX(0); } 33%, 58% { transform: translateX(88px); } 66%, 92% { transform: translateX(176px); } 100% { transform: translateX(0); } }
  @media (prefers-reduced-motion: reduce) { .switch .pill { animation: none; } }

  /* Features */
  .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .card { background: var(--bg-1); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
  .card .ic { display: inline-flex; width: 36px; height: 36px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); align-items: center; justify-content: center; margin-bottom: 16px; color: var(--signal); }
  .card .ic svg { width: 18px; height: 18px; }
  code, .mono { font-family: var(--font-mono); font-size: .88em; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 4px; padding: 0 5px; }

  /* Numbers */
  .numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .num { border-left: 2px solid var(--signal); padding: 4px 0 4px 18px; }
  .num strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 36px; letter-spacing: -0.02em; line-height: 1.1; }
  .num span { font-size: 14px; color: var(--mute); line-height: 1.5; display: block; margin-top: 4px; }

  /* Install */
  .install { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
  .steps li { counter-increment: s; position: relative; padding: 0 0 20px 44px; color: var(--ink-2); }
  .steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,46,126,.45); font-family: var(--font-display); font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; color: var(--heat); }
  pre.term { margin: 0; background: var(--bg-1); border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; overflow-x: auto; font-family: var(--font-mono); font-size: 14px; line-height: 1.7; color: var(--ink-2); }
  pre.term .c { color: var(--mute); }
  pre.term .p { color: var(--heat); }

  /* Footer */
  footer { border-top: 1px solid var(--line-soft); padding: 48px 0 64px; color: var(--mute); font-size: 14px; }
  footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
  footer a { color: var(--ink-2); }

  @media (max-width: 900px) {
    .hero { padding: 64px 0 40px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-icon { order: -1; justify-self: start; }
    .hero-icon img { width: 140px; }
    .modes, .grid { grid-template-columns: 1fr; }
    .numbers { grid-template-columns: 1fr 1fr; }
    .install { grid-template-columns: 1fr; }
    nav.links a.hide-sm { display: none; }
    section.block { padding: 72px 0; }
  }
  @media (max-width: 420px) {
    .switch span, .switch .pill { width: 76px; }
    @keyframes slide { 0%, 25% { transform: translateX(0); } 33%, 58% { transform: translateX(76px); } 66%, 92% { transform: translateX(152px); } 100% { transform: translateX(0); } }
  }

  /* Changelog */
  .changelog { padding: 80px 0 64px; }
  .cl-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: -0.03em; margin: 12px 0 16px; }
  .changelog .intro { color: var(--ink-2); margin: 0 0 48px; }
  .cl-version { border-top: 1px solid var(--line-soft); padding: 40px 0 16px; display: grid; grid-template-columns: 200px 1fr; gap: 32px; }
  .cl-meta h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 32px; letter-spacing: -0.02em; line-height: 1.1; }
  .cl-meta h2 a { color: var(--ink); text-decoration: none; }
  .cl-meta h2 a:hover { color: var(--signal); }
  .cl-meta time { display: block; font-family: var(--font-mono); font-size: 13px; color: var(--mute); margin-top: 8px; }
  .cl-latest { display: inline-block; margin-top: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--deep); background: var(--signal); border-radius: 9999px; padding: 2px 9px; }
  .cl-body h3 { margin: 0 0 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--heat); }
  .cl-body > ul { margin: 0 0 28px; padding-left: 20px; }
  .cl-body ul ul { padding-left: 20px; margin: 4px 0; }
  .cl-body li { color: var(--ink-2); font-size: 16px; line-height: 1.7; margin: 4px 0; }
  .cl-body li::marker { color: var(--mute); }
  .cl-body strong { color: var(--ink); font-weight: 700; }
  @media (max-width: 900px) { .cl-version { grid-template-columns: 1fr; gap: 12px; } }

  /* Support */
  .support-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
  .support .intro { margin-bottom: 0; }
  .btn-coffee { background: var(--heat); color: var(--deep); }
  .btn-coffee:hover { background: #ff5b99; color: var(--deep); transform: translateY(-1px); }
  @media (max-width: 900px) { .support-grid { grid-template-columns: 1fr; gap: 24px; } }
