  /* The page wears the app's own look, Aurora glass: frosted surfaces over a soft
     light, calligraphy for headlines only. The tokens mirror the app's. */
  @font-face {
    font-family: "Pinyon Script";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/PinyonScript-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
  }
  @font-face {
    font-family: "Pinyon Script";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/PinyonScript-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB;
  }
  :root {
    color-scheme: light dark;
    --bg: #f6f4fa;
    --fg: #1d1d1f;
    --muted: #5d5a66;
    --faint: #77737f;
    --code: rgba(40, 20, 70, .06);
    --border: rgba(60, 40, 90, .12);
    --hairline: rgba(60, 40, 90, .08);
    --glass: rgba(255, 255, 255, .55);
    --glass-strong: rgba(255, 255, 255, .8);
    --glass-edge: rgba(255, 255, 255, .78);
    --glass-hi: rgba(255, 255, 255, .92);
    --shadow: 0 30px 70px -32px rgba(40, 20, 80, .45);
    --shadow-soft: 0 14px 34px -22px rgba(40, 20, 80, .4);
    --aura-opacity: .55;
    --accent: #6c5ce7;
    --on-ink: #fff;
    --script: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive;
  }
  /* Dark, twice: for a system that asks for it where the reader has not chosen,
     and for a reader who has. The :not() is what lets a stored "light" win over
     the system — a switch that only worked one way would not be a switch. */
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
    --bg: #121016;
    --fg: #f2f0f6;
    --muted: #b3aec0;
    --faint: #8f8a9b;
    --code: rgba(255, 255, 255, .07);
    --border: rgba(255, 255, 255, .13);
    --hairline: rgba(255, 255, 255, .08);
    --glass: rgba(30, 27, 38, .55);
    --glass-strong: rgba(36, 33, 46, .82);
    --glass-edge: rgba(255, 255, 255, .12);
    --glass-hi: rgba(255, 255, 255, .12);
    --shadow: 0 30px 70px -30px rgba(0, 0, 0, .8);
    --shadow-soft: 0 14px 34px -20px rgba(0, 0, 0, .7);
    --aura-opacity: .32;
    --accent: #a898ff;
    --on-ink: #16141b;
    }
  }
  :root[data-theme="dark"] {
    --bg: #121016;
    --fg: #f2f0f6;
    --muted: #b3aec0;
    --faint: #8f8a9b;
    --code: rgba(255, 255, 255, .07);
    --border: rgba(255, 255, 255, .13);
    --hairline: rgba(255, 255, 255, .08);
    --glass: rgba(30, 27, 38, .55);
    --glass-strong: rgba(36, 33, 46, .82);
    --glass-edge: rgba(255, 255, 255, .12);
    --glass-hi: rgba(255, 255, 255, .12);
    --shadow: 0 30px 70px -30px rgba(0, 0, 0, .8);
    --shadow-soft: 0 14px 34px -20px rgba(0, 0, 0, .7);
    --aura-opacity: .32;
    --accent: #a898ff;
    --on-ink: #16141b;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Ubuntu, Cantarell, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    position: relative;
    isolation: isolate;
  }
  /* The aura: the app's light under the glass, drifting slowly behind the page. */
  body::before {
    content: "";
    position: fixed;
    inset: -20vh -20vw;
    z-index: -1;
    pointer-events: none;
    opacity: var(--aura-opacity);
    background:
      radial-gradient(34% 38% at 20% 18%, #ff8a7a 0%, transparent 70%),
      radial-gradient(36% 40% at 78% 14%, #a98bff 0%, transparent 70%),
      radial-gradient(34% 38% at 64% 70%, #5fe3dc 0%, transparent 70%),
      radial-gradient(30% 34% at 18% 82%, #ffc56b 0%, transparent 70%);
    filter: blur(40px);
    animation: aura 26s ease-in-out infinite alternate;
  }
  @keyframes aura {
    from { transform: translate(-2vw, -1vh) rotate(-3deg); }
    to { transform: translate(2vw, 2vh) rotate(4deg) scale(1.05); }
  }
  @media (prefers-reduced-motion: reduce) {
    body::before { animation: none; }
    html { scroll-behavior: auto; }
  }
  img, video { max-width: 100%; height: auto; display: block; }
  a { color: inherit; }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
  code, kbd, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
  code { font-size: .92em; background: var(--code); border-radius: 6px; padding: .1em .35em; }
  pre {
    background: var(--code);
    border: 1px solid var(--hairline);
    border-radius: 14px;
    padding: 14px 16px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.65;
  }
  pre code { background: none; padding: 0; font-size: inherit; }
  kbd {
    font-size: .82em;
    border: 1px solid var(--border);
    border-bottom-width: 2px;
    border-radius: 7px;
    padding: .1em .4em;
    background: var(--glass-strong);
    white-space: nowrap;
  }
  .wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
  .narrow { max-width: 760px; }
  .script { font-family: var(--script); font-weight: 400; letter-spacing: 0; }

  /* A glass surface: frosted, with a lit top edge. */
  .glass, .card, .note, .download, .reel-frame, header.top {
    background: var(--glass);
    -webkit-backdrop-filter: blur(22px) saturate(1.6);
    backdrop-filter: blur(22px) saturate(1.6);
    border: 1px solid var(--glass-edge);
    box-shadow: var(--shadow-soft), inset 0 1px 0 var(--glass-hi);
  }

  /* Header */
  header.top {
    position: sticky; top: 0; z-index: 10;
    border-width: 0 0 1px;
    border-color: var(--hairline);
    box-shadow: inset 0 -1px 0 var(--hairline);
  }
  .top-inner { display: flex; align-items: center; gap: 20px; height: 56px; }
  .wordmark { text-decoration: none; display: flex; align-items: center; gap: 10px; }
  .wordmark .script { font-size: 30px; line-height: 1; padding-top: 4px; }
  .mark { width: 22px; height: 22px; border-radius: 6px; }
  .top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 14px; }
  .top nav a { color: var(--muted); text-decoration: none; }
  .top nav a:hover { color: var(--fg); }

  /* Hero */
  .hero { padding: 64px 0 8px; text-align: center; }
  .app-icon { width: 76px; height: 76px; border-radius: 18px; margin: 0 auto 6px; box-shadow: var(--shadow-soft); }
  .hero-script { font-size: clamp(56px, 9vw, 92px); line-height: 1.1; margin: 0 0 10px; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--muted);
    background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 999px;
    padding: 5px 14px; margin-bottom: 22px;
    box-shadow: inset 0 1px 0 var(--glass-hi);
  }
  h1 {
    font-size: clamp(34px, 6vw, 56px); line-height: 1.07; letter-spacing: -.03em;
    font-weight: 600; margin: 0 0 18px; text-wrap: balance;
  }
  .lede { font-size: clamp(17px, 2.3vw, 21px); color: var(--muted); margin: 0 auto; max-width: 640px; }
  .cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 30px 0 10px; }
  .button {
    display: inline-block; text-decoration: none; font-weight: 600; font-size: 15px;
    padding: 12px 22px; border-radius: 999px;
    background: var(--fg); color: var(--on-ink); border: 1px solid transparent;
    box-shadow: 0 12px 26px -14px rgba(20, 10, 40, .6);
  }
  .button.secondary {
    background: var(--glass); color: var(--fg); border-color: var(--glass-edge);
    box-shadow: inset 0 1px 0 var(--glass-hi);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  }
  .button:hover { opacity: .9; }
  .under-cta { font-size: 13px; color: var(--faint); margin: 12px 0 0; }
  .hero-shot { margin: 44px 0 0; }
  .hero-shot img {
    border-radius: 20px; border: 1px solid var(--glass-edge); box-shadow: var(--shadow);
  }

  /* Bands */
  section.band { padding: 76px 0; }
  section.band.soft {
    background: color-mix(in srgb, var(--glass) 60%, transparent);
    border-block: 1px solid var(--hairline);
  }
  h2 {
    font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; letter-spacing: -.022em;
    font-weight: 600; margin: 0 0 12px; text-wrap: balance;
  }
  .kicker { font-size: 34px; line-height: 1.1; margin: 0 0 2px; color: var(--accent); }
  .band > .wrap > p.sub { color: var(--muted); margin: 0 0 40px; max-width: 620px; font-size: 17px; }
  h3 { font-size: 21px; letter-spacing: -.014em; font-weight: 600; margin: 0 0 10px; }
  p { margin: 0 0 12px; }
  .feature-text p:not(.kicker), .card p { color: var(--muted); }

  /* Three-up */
  .trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .card { border-radius: 20px; padding: 26px; }
  .card p:last-child { margin-bottom: 0; }

  /* Clips */
  .reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .reel { margin: 0; }
  .reel-frame { border-radius: 22px; padding: 8px; }
  .reel video { width: 100%; border-radius: 16px; aspect-ratio: 540 / 760; object-fit: cover; background: var(--code); }
  .reel figcaption { margin-top: 12px; color: var(--muted); font-size: 15px; }
  .reel figcaption .script { display: block; font-size: 28px; line-height: 1.2; color: var(--fg); }

  /* Features */
  .feature {
    display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: center;
    padding: 46px 0; border-top: 1px solid var(--hairline);
  }
  .feature:first-of-type { border-top: 0; padding-top: 8px; }
  .feature.wide { grid-template-columns: 1fr 520px; }
  .feature:nth-of-type(even) .feature-text { order: 2; }
  .feature-text p:last-child { margin-bottom: 0; }
  .shot img {
    border-radius: 22px; border: 1px solid var(--glass-edge); box-shadow: var(--shadow);
    width: 100%;
  }

  /* Keys */
  .keys { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; }
  .key-row {
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
    padding: 11px 0; border-bottom: 1px solid var(--hairline);
  }
  .key-row span { color: var(--muted); font-size: 15px; }

  /* Downloads */
  .platform { padding: 34px 0; border-top: 1px solid var(--hairline); }
  .platform:first-of-type { border-top: 0; }
  .platform-head { margin-bottom: 14px; }
  .platform-head h3 { margin-bottom: 2px; }
  .meta { color: var(--faint); font-size: 14px; margin: 0; }
  .platform p { color: var(--muted); max-width: 660px; }
  .downloads { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
  .download {
    display: flex; flex-direction: column; gap: 2px;
    border-radius: 16px; padding: 12px 18px; text-decoration: none;
  }
  .download:hover { border-color: var(--faint); }
  .download-label { font-weight: 600; font-size: 15px; }
  .download-meta { font-size: 12px; color: var(--faint); }
  .note { border-radius: 16px; padding: 16px 18px; margin: 16px 0; max-width: 660px; }
  .note p:last-child { margin-bottom: 0; }
  .fine { font-size: 14px; color: var(--faint); }
  .fine code { font-size: .9em; }
  .key { margin-top: 28px; }

  /* Footer */
  footer { border-top: 1px solid var(--hairline); padding: 40px 0 56px; color: var(--faint); font-size: 14px; }
  footer a { color: var(--muted); }
  .foot-row { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: baseline; }
  .foot-row .spacer { margin-left: auto; }
  .foot-row .script { font-size: 26px; color: var(--fg); }

  @media (max-width: 900px) {
    .trio, .reels { grid-template-columns: 1fr; }
    .reel { max-width: 380px; margin: 0 auto; }
    .feature, .feature.wide { grid-template-columns: 1fr; gap: 26px; padding: 34px 0; }
    .feature:nth-of-type(even) .feature-text { order: 0; }
    .shot { max-width: 380px; }
    .feature.wide .shot { max-width: 520px; }
    .keys { grid-template-columns: 1fr; }
    .hero { padding-top: 48px; }
    section.band { padding: 56px 0; }
    .top nav a.hide-sm { display: none; }
  }

  /* The theme switch. One button with both glyphs in it, each shown by the same
     rules that pick the palette, so the icon can never disagree with the page:
     a sun to go light while it is dark, a moon to go dark while it is light. */
  .theme {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; padding: 0;
    border: 1px solid var(--glass-edge); border-radius: 999px;
    background: var(--glass); color: var(--muted); cursor: pointer;
    box-shadow: inset 0 1px 0 var(--glass-hi);
  }
  .theme:hover { color: var(--fg); }
  .theme svg { width: 15px; height: 15px; }
  .theme .sun { display: none; }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .theme .sun { display: block; }
    :root:not([data-theme="light"]) .theme .moon { display: none; }
  }
  :root[data-theme="dark"] .theme .sun { display: block; }
  :root[data-theme="dark"] .theme .moon { display: none; }
  :root[data-theme="light"] .theme .sun { display: none; }
  :root[data-theme="light"] .theme .moon { display: block; }

  /* The changelog page: one column of prose, generated from CHANGELOG.md. */
  .prose { padding: 56px 0 72px; }
  .prose h1 { font-family: var(--script); font-weight: 400; font-size: 64px; letter-spacing: 0; line-height: 1.1; }
  .prose h2 {
    margin: 48px 0 6px; padding-top: 24px; border-top: 1px solid var(--hairline);
    font-size: 24px;
  }
  .prose h2:first-of-type { margin-top: 8px; padding-top: 0; border-top: 0; }
  .prose .when { color: var(--faint); font-size: 14px; margin: 0 0 18px; }
  .prose h3 {
    margin: 26px 0 8px; font-size: 13px; font-weight: 600;
    letter-spacing: .04em; text-transform: uppercase; color: var(--faint);
  }
  .prose p, .prose li { color: var(--muted); }
  .prose ul { margin: 0 0 14px; padding-left: 20px; }
  .prose li { margin-bottom: 8px; }
  .prose li b, .prose p b { color: var(--fg); }
  .prose .lede { font-size: 17px; }
