@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/InterVariable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-017F, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0300-0301, U+2000-206F, U+20AC, U+2122, U+2190-21FF, U+2212, U+2215, U+2713, U+2715;
}

/* ─────────────────────────────────────────────────────────
         Tokens
         ───────────────────────────────────────────────────────── */
      :root {
        color-scheme: dark;
        --bg: #0b0910;
        --line: rgb(240 238 245 / 10%);
        --line-strong: rgb(183 157 232 / 24%);
        --text: #f0eef5;
        --muted: #aba6b5;
        --quiet: #77717f;
        --accent: #9c79db;
        --accent-bright: #bea6ea;
        --accent-deep: #7150b8;
        --glass: linear-gradient(
          180deg,
          rgb(255 255 255 / 5.5%),
          rgb(255 255 255 / 1.6%)
        );
        --glass-line: rgb(255 255 255 / 7%);
        --glass-line-lit: rgb(206 186 248 / 26%);
        --glass-line-hover: rgb(206 186 248 / 13%);
        --rim: inset 0 1px 0 rgb(255 255 255 / 9%);
        --r-lg: 0.675rem;
        --ease: cubic-bezier(0.16, 1, 0.3, 1);
        --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
        --section-gap: clamp(5.5rem, 11vw, 10rem);
        /* Latin fonts first: CJK fonts draw ’ and “ ” full-width. */
        font-family:
          Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont,
          "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial,
          "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
        background: var(--bg);
        color: var(--text);
        font-synthesis: none;
      }
      :root:lang(zh) {
        font-family:
          Inter, "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei",
          ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
          sans-serif;
      }
      @property --scrollbar-thumb {
        syntax: "<color>";
        inherits: true;
        initial-value: transparent;
      }

      @property --shot-ry {
        syntax: "<angle>";
        inherits: false;
        initial-value: 0deg;
      }

      * {
        box-sizing: border-box;
      }

      html {
        --scrollbar-thumb: transparent;
        scroll-behavior: smooth;
        scrollbar-color: var(--scrollbar-thumb) transparent;
        scrollbar-width: thin;
        transition: --scrollbar-thumb 360ms ease;
      }

      html.is-scrolling {
        --scrollbar-thumb: #59466f;
      }

      ::-webkit-scrollbar {
        width: 0.8rem;
        height: 0.8rem;
      }

      ::-webkit-scrollbar-track,
      ::-webkit-scrollbar-corner {
        background: transparent;
      }

      ::-webkit-scrollbar-thumb {
        min-height: 3rem;
        border: 0.2rem solid transparent;
        border-radius: 999px;
        background: var(--scrollbar-thumb);
        background-clip: padding-box;
      }

      ::-webkit-scrollbar-thumb:hover {
        background: #765d94;
      }

      ::-webkit-scrollbar-thumb:active {
        background: var(--accent);
      }

      ::-webkit-scrollbar-button {
        display: none;
        width: 0;
        height: 0;
      }

      body {
        min-width: 20rem;
        margin: 0;
        overflow-x: hidden;
      }

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

      a {
        color: inherit;
      }

      a:focus-visible,
      button:focus-visible {
        outline: 2px solid var(--accent-bright);
        outline-offset: 4px;
      }

      .container {
        width: min(72rem, calc(100% - 3rem));
        margin-inline: auto;
      }

      /* ─────────────────────────────────────────────────────────
         Atmosphere
         ───────────────────────────────────────────────────────── */
      .atmosphere {
        position: fixed;
        inset: 0;
        z-index: -2;
        overflow: hidden;
        background: var(--bg);
        pointer-events: none;
      }

      .atmosphere::before,
      .atmosphere::after {
        position: absolute;
        content: "";
      }

      /* Static stars for when the night sky script doesn't run. */
      .atmosphere:not(.has-sky) {
        background-image:
          radial-gradient(1.5px 1.5px at 8% 22%, rgb(240 238 245 / 90%), transparent 62%),
          radial-gradient(1.2px 1.2px at 23% 61%, rgb(190 166 234 / 85%), transparent 62%),
          radial-gradient(1.6px 1.6px at 41% 14%, rgb(240 238 245 / 75%), transparent 62%),
          radial-gradient(1.1px 1.1px at 57% 46%, rgb(190 166 234 / 70%), transparent 62%),
          radial-gradient(1.4px 1.4px at 69% 78%, rgb(240 238 245 / 80%), transparent 62%),
          radial-gradient(1.2px 1.2px at 84% 31%, rgb(158 190 234 / 78%), transparent 62%),
          radial-gradient(1.7px 1.7px at 93% 67%, rgb(240 238 245 / 70%), transparent 62%),
          radial-gradient(1.1px 1.1px at 15% 88%, rgb(190 166 234 / 62%), transparent 62%);
        background-size: 34rem 29rem;
      }

      /* Nebula: a purple glow top left, a cooler one top right, and a
         faint band across the upper sky. */
      .atmosphere::before {
        inset: 0;
        background:
          radial-gradient(62% 48% at 8% -6%, rgb(113 80 184 / 24%), transparent 72%),
          radial-gradient(48% 40% at 96% 4%, rgb(74 112 200 / 13%), transparent 74%),
          radial-gradient(34% 15% at 70% 30%, rgb(156 121 219 / 7%), transparent 78%),
          radial-gradient(30% 13% at 46% 20%, rgb(190 166 234 / 6.5%), transparent 78%),
          radial-gradient(26% 11% at 24% 11%, rgb(156 121 219 / 6%), transparent 78%),
          linear-gradient(
            165deg,
            transparent 8%,
            rgb(156 121 219 / 3.5%) 22%,
            rgb(190 166 234 / 5%) 28%,
            rgb(156 121 219 / 3.5%) 34%,
            transparent 48%
          );
        mask-image: linear-gradient(to bottom, black 20%, transparent 92%);
      }

      .sky {
        position: absolute;
        inset: 0;
        mask-image: linear-gradient(to bottom, black 35%, rgb(0 0 0 / 40%) 100%);
      }

      .sky canvas {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
      }

      .atmosphere::after {
        inset: 0;
        background-image:
          linear-gradient(rgb(203 190 236 / 4%) 1px, transparent 1px),
          linear-gradient(90deg, rgb(203 190 236 / 4%) 1px, transparent 1px);
        background-size: 4.5rem 4.5rem;
        mask-image: radial-gradient(130% 82% at 50% 0%, black, transparent 72%);
      }

      /* ─────────────────────────────────────────────────────────
         Wordmark
         ───────────────────────────────────────────────────────── */
      .wordmark {
        display: block;
        width: 100%;
        height: auto;
        overflow: visible;
      }

      .mark-word {
        fill: var(--text);
      }

      .mark-caret {
        fill: url(#denial-caret-gradient);
      }

      /* ─────────────────────────────────────────────────────────
         Stage
         ───────────────────────────────────────────────────────── */
      .stage {
        position: relative;
        overflow: hidden;
        padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem);
      }

      .stage-inner {
        display: grid;
        align-items: center;
        gap: clamp(3rem, 6vw, 4.5rem);
      }

      @media (min-width: 88rem) {
        .stage-inner {
          width: min(85rem, calc(100% - 3rem));
          grid-template-columns: 27rem 56rem;
          gap: 2rem;
        }
      }

      .stage-copy {
        display: grid;
        width: min(34rem, 100%);
        margin-inline: auto;
        justify-items: start;
        text-align: left;
      }

      @media (min-width: 88rem) {
        .stage-copy {
          width: auto;
          margin-inline: 0;
        }
      }

      .hero-mark {
        width: min(24rem, 78vw);
        margin: 0;
        filter: drop-shadow(0 1.4rem 3.5rem rgb(113 80 184 / 30%));
      }

      .hero-mark-art {
        display: block;
        animation: mark-in 1.1s var(--ease) 120ms both;
      }

      .hero-mark .mark-caret {
        transform: scaleY(0);
        transform-box: fill-box;
        transform-origin: 50% 0;
        filter: drop-shadow(0 0 0.7rem rgb(156 121 219 / 55%));
        animation: caret-drop 640ms var(--ease) 880ms forwards;
      }

      .mark-shine {
        transform: translateX(-260px);
        animation: mark-shine 9s ease-in-out 1.1s 3;
      }

      .hero-kicker {
        margin: 1.15rem 0 0;
        color: var(--muted);
        font-size: clamp(0.92rem, 1.5vw, 1.02rem);
        font-weight: 350;
        letter-spacing: 0.01em;
        animation: fade-rise 800ms var(--ease) 950ms both;
      }

      .hero-copy {
        max-width: 34rem;
        margin: 1.35rem 0 0;
        color: var(--quiet);
        font-size: clamp(0.92rem, 1.5vw, 1rem);
        font-weight: 400;
        line-height: 1.75;
        text-wrap: pretty;
        animation: fade-rise 800ms var(--ease) 1.35s both;
      }

      .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.7rem;
        margin-top: clamp(1.7rem, 3vw, 2.2rem);
        animation: fade-rise 800ms var(--ease) 1.5s both;
      }

      .button {
        position: relative;
        display: inline-flex;
        min-height: 3.05rem;
        align-items: center;
        justify-content: center;
        gap: 0.55rem;
        overflow: hidden;
        padding: 0.85rem 1.55rem;
        border: 1px solid var(--glass-line);
        border-radius: 0.76rem;
        background: var(--glass);
        box-shadow: var(--rim);
        color: var(--text);
        font-size: 0.9rem;
        font-weight: 500;
        letter-spacing: 0.005em;
        text-decoration: none;
        transition:
          border-color 260ms var(--ease-soft),
          background 260ms var(--ease-soft),
          box-shadow 320ms var(--ease-soft),
          transform 320ms var(--ease);
      }

      .button:hover {
        border-color: var(--glass-line-lit);
        background: linear-gradient(
          180deg,
          rgb(255 255 255 / 9%),
          rgb(255 255 255 / 3%)
        );
        transform: translateY(-2px);
      }

      .button svg {
        width: 1rem;
        height: 1rem;
        flex: 0 0 auto;
      }

      .button-arrow {
        transition: transform 280ms var(--ease);
      }

      .button:hover .button-arrow {
        transform: translateX(0.22rem);
      }

      .button-primary {
        border-color: rgb(190 166 234 / 30%);
        background: var(--accent-deep);
        box-shadow:
          0 0.8rem 2.2rem rgb(113 80 184 / 38%),
          inset 0 1px 0 rgb(255 255 255 / 22%);
      }

      .button-primary:hover {
        border-color: rgb(214 196 250 / 45%);
        background: var(--accent);
        box-shadow:
          0 1.1rem 3rem rgb(113 80 184 / 55%),
          inset 0 1px 0 rgb(255 255 255 / 28%);
      }

      /* ─────────────────────────────────────────────────────────
         Desktop preview
         ───────────────────────────────────────────────────────── */
      .stage-shot {
        position: relative;
        width: min(64rem, 100%);
        min-width: 0;
        margin: 0;
        justify-self: center;
        animation: shot-in 1.3s var(--ease) 380ms both;
      }

      @media (min-width: 88rem) {
        .stage-shot {
          width: 56rem;
        }
      }

      .shot-frame {
        position: relative;
        border-radius: clamp(0.45rem, 0.9vw, 0.675rem);
        box-shadow: 0 3rem 8rem rgb(0 0 0 / 58%);
        transform: perspective(2400px)
          rotateY(calc(-9deg + var(--shot-ry, 0deg)))
          rotateX(calc(2deg + var(--shot-rx, 0deg)));
        transform-style: preserve-3d;
        transition: transform 600ms var(--ease-soft);
      }

      .shot-frame video {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        border-radius: clamp(0.3rem, 0.7vw, 0.5rem);
        background: #0d0b14;
        object-fit: cover;
      }

      /* Nothing off-screen or hidden should keep the compositor awake. */
      .is-idle,
      .is-idle * {
        animation-play-state: paused;
      }

      /* ─────────────────────────────────────────────────────────
         Keyframes
         ───────────────────────────────────────────────────────── */
      @keyframes fade-rise {
        from {
          opacity: 0;
          transform: translateY(1rem);
        }

        to {
          opacity: 1;
          transform: none;
        }
      }

      @keyframes word-rise {
        from {
          opacity: 0;
          filter: blur(0.5rem);
          transform: translateY(0.55em) rotate(1.2deg);
        }

        to {
          opacity: 1;
          filter: blur(0);
          transform: none;
        }
      }

      @keyframes mark-in {
        from {
          opacity: 0;
          filter: blur(0.7rem);
          transform: translateY(1.4rem) scale(0.965);
        }

        to {
          opacity: 1;
          filter: blur(0);
          transform: none;
        }
      }

      @keyframes caret-drop {
        to {
          transform: scaleY(1);
        }
      }

      @keyframes mark-shine {
        0% {
          transform: translateX(-260px);
        }

        14%,
        100% {
          transform: translateX(560px);
        }
      }

      @keyframes shot-in {
        from {
          opacity: 0;
          transform: translateX(3.5rem) scale(0.96);
        }

        to {
          opacity: 1;
          transform: none;
        }
      }

      /* ─────────────────────────────────────────────────────────
         Section furniture
         ───────────────────────────────────────────────────────── */
      h2 {
        margin: 0;
        color: var(--text);
        font-size: clamp(2rem, 4.4vw, 3.25rem);
        font-weight: 400;
        letter-spacing: -0.034em;
        line-height: 1.08;
        text-shadow: 0 0 4rem rgb(156 121 219 / 28%);
        text-wrap: balance;
      }

      .has-js [data-reveal] {
        opacity: 0;
        transform: translateY(1.6rem);
        transition:
          opacity 750ms var(--ease),
          transform 750ms var(--ease);
      }

      .has-js [data-reveal].is-revealed {
        opacity: 1;
        transform: none;
      }

      /* ─────────────────────────────────────────────────────────
         Stack, devices, sponsor
         ───────────────────────────────────────────────────────── */
      .hero-headline {
        max-width: 11em;
        margin: clamp(1.5rem, 3vw, 2.1rem) 0 0;
        font-size: clamp(1.85rem, 3.6vw, 2.65rem);
        font-weight: 380;
        letter-spacing: -0.032em;
        line-height: 1.12;
        text-wrap: balance;
        animation: fade-rise 800ms var(--ease) 1.05s both;
      }

      .devices,
.sponsor,
.commercial {
        padding-bottom: var(--section-gap);
      }

      .section-intro {
        max-width: 40rem;
        margin: 1rem 0 0;
        color: var(--muted);
        font-size: 0.98rem;
        line-height: 1.7;
      }

      [hidden] {
        display: none !important;
      }

      .stack-card {
        display: grid;
        align-content: start;
        gap: 0.7rem;
        padding: 1.25rem;
        border: 1px solid var(--glass-line);
        border-radius: var(--r-lg);
        background: var(--glass);
        box-shadow: var(--rim);
      }

      .stack-index {
        margin: 0;
        color: var(--accent-bright);
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-size: 0.68rem;
        letter-spacing: 0.14em;
      }

      .stack-card h3 {
        margin: 0;
        font-size: 1.25rem;
        font-weight: 450;
        letter-spacing: -0.02em;
      }

      .stack-card p {
        margin: 0;
        color: var(--muted);
        font-size: 0.9rem;
        line-height: 1.65;
      }

      .text-link {
        color: var(--accent-bright);
        font-size: 0.86rem;
        text-underline-offset: 0.22em;
      }

      .stack-note {
        margin: 1.25rem 0 0;
        color: var(--quiet);
        font-size: 0.84rem;
        line-height: 1.6;
      }

      .sponsor-platforms {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.85rem 1rem;
        margin-top: 1.4rem;
      }

      .sponsor-platforms > span {
        color: var(--quiet);
        font-size: 0.8rem;
      }

      html[lang="zh-CN"] .hero-headline {
        max-width: 12em;
        letter-spacing: 0.015em;
      }

      /* ─────────────────────────────────────────────────────────
         Gallery
         ───────────────────────────────────────────────────────── */
      .gallery {
        padding-block: clamp(3.5rem, 7vw, 6rem);
      }

      .gallery-heading {
        margin-bottom: clamp(1.75rem, 4vw, 3rem);
      }

      .gallery-heading h2 {
        font-size: clamp(2rem, 4vw, 3.1rem);
        text-shadow: none;
      }

      .gallery-grid {
        display: grid;
        gap: clamp(2rem, 4vw, 3rem) clamp(1rem, 2.5vw, 2rem);
      }

      @media (min-width: 46rem) {
        .gallery-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        /* An odd last card sits centred under the pair above it. */
        .gallery-card:last-child:nth-child(odd) {
          grid-column: 1 / -1;
          justify-self: center;
          width: calc((100% - clamp(1rem, 2.5vw, 2rem)) / 2);
        }
      }

      @media (min-width: 64rem) {
        /* Three across, wider than the page column and centred on it. */
        .gallery-grid--wide {
          --wide: min(calc(100vw - 3rem), 100rem);
          grid-template-columns: repeat(3, minmax(0, 1fr));
          width: var(--wide);
          margin-inline: calc((100% - var(--wide)) / 2);
        }
      }

      .gallery-card {
        min-width: 0;
        margin: 0;
        cursor: pointer;
      }

      .gallery-card:focus-visible {
        outline: 2px solid var(--accent-bright);
        outline-offset: 4px;
      }

      .gallery-media-frame {
        overflow: hidden;
        border-radius: clamp(0.45rem, 0.9vw, 0.675rem);
      }

      .gallery-media {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        background: #050409;
        object-fit: cover;
      }

      .gallery-video {
        pointer-events: none;
      }

      .gallery-card .gallery-media-frame {
        box-shadow: 0 0 0 1px var(--glass-line);
        transition: box-shadow 300ms var(--ease-soft);
      }

      .gallery-card .gallery-media {
        transition: transform 700ms var(--ease);
      }

      .gallery-card:hover .gallery-media-frame {
        box-shadow: 0 0 0 1px var(--glass-line-hover), 0 1.5rem 4rem rgb(0 0 0 / 35%);
      }

      .gallery-card:hover .gallery-media {
        transform: scale(1.025);
      }

      .gallery-card figcaption {
        display: grid;
        gap: 0.45rem;
        padding-top: 1.1rem;
      }

      .gallery-item-title {
        margin: 0;
        color: var(--text);
        font-size: clamp(1.05rem, 2vw, 1.3rem);
        font-weight: 450;
        letter-spacing: -0.015em;
      }

      .gallery-item-kind {
        margin: 0;
        color: var(--quiet);
        font-size: 0.82rem;
        line-height: 1.55;
      }

      .gallery-dialog {
        width: min(90rem, calc(100vw - 2rem));
        max-width: none;
        max-height: calc(100dvh - 2rem);
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--text);
      }

      .gallery-dialog::backdrop {
        background: rgb(5 4 8 / 88%);
        backdrop-filter: blur(0.45rem);
      }

      .gallery-dialog-shell {
        display: grid;
        max-height: calc(100dvh - 2rem);
        gap: 1rem;
      }

      .gallery-dialog-header,
      .gallery-dialog-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
      }

      .gallery-dialog-kind {
        max-width: 52rem;
        margin: 0.4rem 0 0;
        color: var(--quiet);
        font-size: 0.82rem;
        line-height: 1.55;
      }

      .gallery-dialog h2 {
        font-size: clamp(1.25rem, 3vw, 1.8rem);
        font-weight: 450;
        text-shadow: none;
      }

      .gallery-dialog-stage {
        position: relative;
        width: 100%;
        max-height: calc(100dvh - 11rem);
        overflow: hidden;
        aspect-ratio: 16 / 9;
        border-radius: clamp(0.375rem, 0.75vw, 0.575rem);
        background: #050409;
      }

      .gallery-dialog-slide {
        position: absolute;
        inset: 0;
        transform: translateX(0);
        transition: transform 480ms var(--ease);
      }

      .gallery-dialog-slide.is-entering-next {
        transform: translateX(100%);
      }

      .gallery-dialog-slide.is-entering-previous {
        transform: translateX(-100%);
      }

      .gallery-dialog-slide.is-leaving-next {
        transform: translateX(-100%);
      }

      .gallery-dialog-slide.is-leaving-previous {
        transform: translateX(100%);
      }

      .gallery-dialog-media {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
      }

      .gallery-dialog-video {
        cursor: pointer;
      }

      .gallery-dialog-counter {
        min-width: 4.5rem;
        margin: 0;
        color: var(--quiet);
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-size: 0.68rem;
        font-variant-numeric: tabular-nums;
        letter-spacing: 0.08em;
      }

      .gallery-dialog-navigation {
        display: flex;
        gap: 0.55rem;
      }

      .gallery-control,
      .gallery-dialog-close {
        display: grid;
        width: 2.5rem;
        height: 2.5rem;
        padding: 0;
        place-items: center;
        border: 1px solid var(--line);
        border-radius: 50%;
        background: transparent;
        color: var(--text);
        cursor: pointer;
        transition:
          border-color 220ms var(--ease-soft),
          background 220ms var(--ease-soft),
          color 220ms var(--ease-soft);
      }

      .gallery-control:hover:not(:disabled),
      .gallery-dialog-close:hover {
        border-color: var(--line-strong);
        background: rgb(255 255 255 / 4%);
      }

      .gallery-control:disabled {
        cursor: default;
        opacity: 0.35;
      }

      .gallery-control svg,
      .gallery-dialog-close svg {
        width: 1rem;
        height: 1rem;
      }

      /* ─────────────────────────────────────────────────────────
         Community
         ───────────────────────────────────────────────────────── */
      .community {
        display: grid;
        align-items: center;
        gap: clamp(2.5rem, 6vw, 5rem);
        padding-block: clamp(3.5rem, 7vw, 5.5rem);
      }

      /* The install section already ends with a full section gap. */
      .install + .community {
        padding-top: 0;
      }

      .community h2 {
        font-size: clamp(2rem, 4vw, 3.1rem);
        text-shadow: none;
      }

      .community-text {
        max-width: 38rem;
        margin: 1.25rem 0 0;
        color: var(--quiet);
        font-size: 0.95rem;
        line-height: 1.7;
        text-wrap: pretty;
      }

      .support-button {
        display: inline-flex;
        width: 114px;
        height: 32px;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        border: 1px solid #3d444d;
        border-radius: 3px;
        background: #212830;
        color: #f0f6fc;
        box-shadow: none;
        font-size: 14px;
        font-weight: 500;
        line-height: 1;
        text-decoration: none;
        transition:
          background 80ms cubic-bezier(0.33, 1, 0.68, 1),
          border-color 80ms cubic-bezier(0.33, 1, 0.68, 1);
      }

      .support-button:hover {
        border-color: #3d444d;
        background: #262c36;
      }

      .support-button:active {
        border-color: #3d444d;
        background: #2a313c;
      }

      .support-button img {
        width: 20px;
        height: 14px;
        object-fit: contain;
      }

      @keyframes support-orbit {
        from {
          transform: rotate(18deg);
        }
        to {
          transform: rotate(378deg);
        }
      }

      @keyframes support-sparkle {
        0%, 100% {
          transform: rotate(-8deg);
        }
        50% {
          transform: rotate(8deg);
        }
      }

      .community-links {
        border-top: 1px solid var(--line);
      }

      .community-link {
        display: grid;
        grid-template-columns: minmax(8rem, 0.45fr) minmax(0, 1fr) auto;
        align-items: center;
        gap: 1rem;
        padding-block: 1.25rem;
        border-bottom: 1px solid var(--line);
        color: inherit;
        text-decoration: none;
        transition: color 220ms var(--ease-soft);
      }

      .community-link strong {
        font-size: 0.95rem;
        font-weight: 550;
      }

      .community-name {
        display: flex;
        align-items: center;
        gap: 0.7rem;
      }

      .community-icon {
        width: 1.35rem;
        height: 1.35rem;
        flex: 0 0 auto;
      }

      .community-description {
        color: var(--quiet);
        font-size: 0.8rem;
        line-height: 1.5;
        transition: color 220ms var(--ease-soft);
      }

      .community-arrow {
        color: var(--accent-bright);
        font-size: 1rem;
        transition: transform 220ms var(--ease);
      }

      .community-link:hover,
      .community-link:hover .community-description {
        color: var(--text);
      }

      .community-link:hover .community-arrow {
        transform: translate(0.2rem, -0.2rem);
      }

      @media (min-width: 48rem) {
        .community {
          grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.8fr);
        }
      }

      /* ─────────────────────────────────────────────────────────
         Install
         ───────────────────────────────────────────────────────── */
      .install {
        position: relative;
        padding-bottom: var(--section-gap);
      }

      .install-heading {
        margin-bottom: clamp(2.75rem, 5.5vw, 4.25rem);
        padding-top: clamp(2.5rem, 5vw, 4rem);
        border-top: 1px solid rgb(255 255 255 / 5%);
      }

      .install-heading h2 {
        font-size: clamp(2rem, 4.4vw, 3.3rem);
      }

      .install-steps {
        display: grid;
        max-width: 72rem;
        counter-reset: install-step;
        gap: 0;
        margin: 0;
        padding: 0;
        list-style: none;
      }

      .install-step {
        position: relative;
        display: grid;
        counter-increment: install-step;
        grid-template-columns: 2.1rem minmax(0, 1fr);
        column-gap: clamp(1.1rem, 2.6vw, 1.9rem);
        row-gap: 0.95rem;
        align-items: start;
        padding: 0 0 clamp(2.5rem, 5vw, 3.5rem);
      }

      .install-step:last-child {
        padding-bottom: 0;
      }

      .install-step::before,
      .install-step::after {
        position: absolute;
        top: 2.45rem;
        bottom: -0.35rem;
        left: 1.02rem;
        width: 2px;
        border-radius: 999px;
        content: "";
      }

      .install-step::before {
        background: rgb(156 121 219 / 14%);
      }

      .install-step::after {
        background: linear-gradient(
          180deg,
          var(--accent),
          rgb(156 121 219 / 22%)
        );
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 900ms var(--ease);
      }

      .install-step.is-active::after {
        transform: scaleY(1);
      }

      .install-step:last-child::before,
      .install-step:last-child::after {
        display: none;
      }

      .install-step-number {
        position: relative;
        z-index: 1;
        display: grid;
        width: 2.1rem;
        height: 2.1rem;
        place-items: center;
        border: 1px solid var(--line-strong);
        border-radius: 50%;
        background: rgb(13 11 19 / 94%);
        color: var(--quiet);
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-size: 0.78rem;
        font-weight: 700;
        transition:
          border-color 420ms ease,
          color 420ms ease,
          box-shadow 420ms ease,
          transform 320ms var(--ease);
      }

      .install-step-number::before {
        content: counter(install-step);
      }

      .install-step.is-active .install-step-number {
        border-color: var(--accent);
        color: var(--accent-bright);
        box-shadow:
          0 0 0 0.3rem rgb(156 121 219 / 8%),
          0 0 1.6rem rgb(156 121 219 / 32%);
      }

      .install-step:hover .install-step-number {
        transform: scale(1.07);
      }

      .install-step-copy {
        grid-column: 2;
        padding-top: 0.25rem;
      }

      .install-step > .code-panel,
      .install-step > .install-package-options,
      .install-step > .install-session {
        grid-column: 2;
      }

      /* Panels size to their command and share the leftover space, so the
         long apt line gets a wider column instead of a scrollbar. */
      .install-package-options {
        display: flex;
        flex-wrap: wrap;
        gap: 0.8rem;
      }

      .install-package-options > .code-panel {
        flex: 1 1 auto;
        min-width: min(100%, 15rem);
      }

      .install-step h3 {
        margin: 0;
        font-size: clamp(1.2rem, 2vw, 1.45rem);
        font-weight: 380;
        letter-spacing: -0.02em;
      }

      .install-step-copy p {
        margin: 0.5rem 0 0;
        color: var(--muted);
        font-size: 0.88rem;
        line-height: 1.65;
      }

      .install-step-copy strong {
        color: var(--text);
      }

      .install-step-hint {
        display: block;
        margin-top: 0.6rem;
        color: var(--quiet);
        font-size: 0.75rem;
        line-height: 1.55;
      }

      .install-source-button {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0;
        border: 0;
        background: none;
        color: var(--accent-bright);
        font: inherit;
        cursor: pointer;
        transition: color 220ms ease;
      }

      .install-source-button::after {
        width: 0.85rem;
        height: 1px;
        background: currentColor;
        content: "";
        opacity: 0.45;
        transition:
          width 260ms var(--ease),
          opacity 260ms ease;
      }

      .install-source-button:hover::after {
        width: 1.5rem;
        opacity: 1;
      }

      .install-source-button:focus-visible {
        border-radius: 0.075rem;
        outline: 2px solid var(--accent-bright);
        outline-offset: 3px;
      }

      .install-session {
        display: grid;
        max-width: 21rem;
        gap: 0.3rem;
        padding: 0.6rem;
        border: 1px solid var(--glass-line);
        border-radius: var(--r-lg);
        background: var(--glass);
        box-shadow:
          0 1rem 2.5rem rgb(0 0 0 / 24%),
          var(--rim);
      }

      .install-session p {
        margin: 0;
        padding: 0.25rem 0.55rem 0.5rem;
        color: var(--quiet);
        font-size: 0.6rem;
        font-weight: 700;
        letter-spacing: 0.16em;
        text-transform: uppercase;
      }

      .install-session ul {
        display: grid;
        gap: 0.25rem;
        margin: 0;
        padding: 0;
        list-style: none;
      }

      .install-session li {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0.52rem 0.6rem;
        border: 1px solid transparent;
        border-radius: 0.275rem;
        color: var(--quiet);
        font-size: 0.82rem;
      }

      .install-session li::before {
        width: 0.4rem;
        height: 0.4rem;
        border: 1px solid currentColor;
        border-radius: 50%;
        content: "";
        opacity: 0.5;
      }

      .install-session li.is-chosen {
        border-color: rgb(156 121 219 / 34%);
        background: rgb(156 121 219 / 12%);
        color: var(--text);
        font-weight: 650;
      }

      .install-session li.is-chosen::before {
        border-color: var(--accent-bright);
        background: var(--accent-bright);
        box-shadow: 0 0 0.6rem var(--accent);
        opacity: 1;
      }

      .install-session li.is-chosen::after {
        margin-left: auto;
        color: var(--accent-bright);
        content: "↵";
        font-size: 0.85rem;
      }

      .code-panel {
        min-width: 0;
        overflow: hidden;
        border: 1px solid var(--glass-line);
        border-radius: var(--r-lg);
        background:
          linear-gradient(165deg, rgb(255 255 255 / 4%), transparent 46%),
          rgb(10 9 14 / 92%);
        box-shadow:
          0 1.1rem 2.5rem rgb(0 0 0 / 26%),
          var(--rim);
      }

      .install-step .code-panel {
        transition:
          border-color 300ms ease,
          box-shadow 400ms ease,
          transform 400ms var(--ease);
      }

      .install-step:hover .code-panel {
        border-color: rgb(183 157 232 / 26%);
        box-shadow:
          0 1.4rem 3rem rgb(0 0 0 / 32%),
          0 0 2.5rem rgb(113 80 184 / 12%);
        transform: translateY(-2px);
      }

      .code-panel-header {
        display: flex;
        min-height: 3rem;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.55rem 0.6rem 0.55rem 0.9rem;
        border-bottom: 1px solid rgb(255 255 255 / 7%);
        background: rgb(255 255 255 / 2.5%);
      }

      .code-panel-identity {
        display: flex;
        min-width: 0;
        align-items: center;
        gap: 0.65rem;
      }

      .code-panel-icon {
        display: grid;
        width: 1.65rem;
        height: 1.65rem;
        flex: 0 0 auto;
        place-items: center;
        border: 1px solid rgb(156 121 219 / 24%);
        border-radius: 0.25rem;
        background: rgb(156 121 219 / 10%);
        box-shadow: inset 0 0 0.8rem rgb(156 121 219 / 14%);
        color: var(--accent-bright);
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-size: 0.68rem;
      }

      .code-panel-title {
        overflow: hidden;
        color: var(--quiet);
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-size: 0.69rem;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .copy-button {
        display: inline-flex;
        min-height: 2rem;
        flex: 0 0 auto;
        align-items: center;
        gap: 0.42rem;
        padding: 0.4rem 0.62rem;
        border: 1px solid rgb(255 255 255 / 10%);
        border-radius: 0.25rem;
        background: rgb(255 255 255 / 4%);
        color: var(--muted);
        font: inherit;
        font-size: 0.7rem;
        font-weight: 700;
        cursor: pointer;
        transition:
          border-color 160ms ease,
          background 160ms ease,
          color 160ms ease;
      }

      .copy-button:hover {
        border-color: var(--line-strong);
        background: rgb(156 121 219 / 10%);
        color: var(--text);
      }

      .copy-button:focus-visible {
        outline: 2px solid var(--accent-bright);
        outline-offset: 2px;
      }

      .copy-button svg {
        width: 0.82rem;
        height: 0.82rem;
      }

      .copy-button .check-icon {
        display: none;
      }

      .copy-button.is-copied {
        border-color: rgb(116 190 146 / 28%);
        color: #91d5ac;
      }

      .copy-button.is-copied .copy-icon {
        display: none;
      }

      .copy-button.is-copied .check-icon {
        display: block;
      }

      .code-panel pre {
        max-width: 100%;
        margin: 0;
        overflow: auto;
        padding: 1.15rem 1.25rem;
        scrollbar-color: var(--scrollbar-thumb) transparent;
        scrollbar-width: thin;
      }

      .code-panel code {
        display: block;
        min-width: max-content;
        color: var(--text);
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-size: 0.76rem;
        line-height: 1.7;
        white-space: pre;
      }

      .code-panel--compact pre {
        padding-block: 0.9rem;
      }

      .code-panel--compact code {
        font-size: 0.82rem;
      }

      .code-line {
        display: block;
        min-height: 1.7em;
      }

      .syntax-variable {
        color: #d6a8e8;
      }

      .syntax-operator {
        color: #b8a9c9;
      }

      .syntax-command {
        color: #8cc9e8;
      }

      .syntax-option {
        color: #e9c87c;
      }

      .syntax-package {
        color: #91d5ac;
      }

      .syntax-string {
        color: #91d5ac;
      }

      .syntax-url {
        color: #c3ace8;
        text-decoration: underline;
        text-decoration-color: rgb(195 172 232 / 28%);
        text-underline-offset: 0.2em;
      }

      .syntax-comment {
        color: #777080;
      }

      .syntax-keyword {
        color: #d6a8e8;
      }

      body.is-dialog-open {
        overflow: hidden;
      }

      .installer-dialog {
        width: min(68rem, calc(100vw - 2rem));
        max-width: none;
        max-height: calc(100dvh - 2rem);
        margin: auto;
        overflow: hidden;
        padding: 0;
        border: 1px solid var(--line-strong);
        border-radius: 0.6rem;
        background:
          linear-gradient(135deg, rgb(113 80 184 / 12%), transparent 32%),
          #100e16;
        color: var(--text);
        box-shadow: 0 2rem 7rem rgb(0 0 0 / 55%);
      }

      .installer-dialog::backdrop {
        background: rgb(5 4 8 / 78%);
        backdrop-filter: blur(0.45rem);
      }

      .installer-dialog-frame {
        display: flex;
        max-height: calc(100dvh - 2rem);
        flex-direction: column;
        gap: 1.2rem;
        padding: clamp(1rem, 3vw, 1.6rem);
      }

      .installer-dialog-header {
        display: flex;
        align-items: start;
        justify-content: space-between;
        gap: 2rem;
      }

      .installer-dialog-label {
        margin: 0 0 0.35rem;
        color: var(--accent-bright);
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
      }

      .installer-dialog h2 {
        margin: 0;
        font-size: clamp(1.25rem, 3vw, 1.75rem);
        letter-spacing: -0.03em;
      }

      .installer-dialog-close {
        display: grid;
        width: 2.35rem;
        height: 2.35rem;
        flex: 0 0 auto;
        place-items: center;
        border: 1px solid rgb(255 255 255 / 10%);
        border-radius: 0.31rem;
        background: rgb(255 255 255 / 4%);
        color: var(--muted);
        cursor: pointer;
      }

      .installer-dialog-close:hover {
        border-color: var(--line-strong);
        background: rgb(156 121 219 / 10%);
        color: var(--text);
      }

      .installer-dialog-close:focus-visible {
        outline: 2px solid var(--accent-bright);
        outline-offset: 2px;
      }

      .installer-dialog-close svg {
        width: 1rem;
        height: 1rem;
      }

      .installer-dialog .installer-code-panel {
        display: flex;
        min-height: 0;
        flex: 1;
        flex-direction: column;
        margin-top: 0;
      }

      .installer-code-panel pre {
        max-height: calc(100dvh - 12rem);
      }

      .installer-code-panel code {
        font-size: 0.74rem;
      }

      .installer-source-error {
        color: #e6a0a0;
      }

      .copy-button:disabled {
        cursor: wait;
        opacity: 0.5;
      }

      footer {
        position: relative;
        border-top: 1px solid rgb(255 255 255 / 5%);
        color: var(--quiet);
      }

      .footer-inner {
        display: grid;
        gap: 2.75rem 3rem;
        padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
      }

      @media (min-width: 52rem) {
        .footer-inner {
          grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        }
      }

      .footer-brand .wordmark {
        width: 7rem;
      }

      .footer-brand p {
        max-width: 28ch;
        margin: 1.15rem 0 0;
        color: var(--quiet);
        font-size: 0.9rem;
        font-weight: 350;
        line-height: 1.65;
      }

      .footer-groups {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
      }

      .footer-community {
        grid-column: 2;
      }

      .footer-group-title {
        margin: 0 0 1rem;
        color: var(--quiet);
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-size: 0.62rem;
        font-weight: 500;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        opacity: 0.65;
      }

      .footer-group ul {
        display: grid;
        gap: 0.6rem;
        margin: 0;
        padding: 0;
        list-style: none;
      }

      .footer-group a {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--muted);
        font-size: 0.85rem;
        font-weight: 400;
        text-decoration: none;
        transition: color 240ms var(--ease-soft);
      }

      .footer-group a:hover {
        color: var(--text);
      }

      .footer-group svg {
        width: 0.92rem;
        height: 0.92rem;
        flex: 0 0 auto;
        opacity: 0.6;
        transition: opacity 240ms var(--ease-soft);
      }

      .footer-group a:hover svg {
        opacity: 1;
      }

      .footer-bottom {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.7rem 1.5rem;
        padding: 1.5rem 0 2.4rem;
        border-top: 1px solid rgb(255 255 255 / 4%);
        font-size: 0.76rem;
      }

      .footer-bottom a {
        color: var(--muted);
        text-underline-offset: 0.25em;
      }

      .language-picker {
        position: static;
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        flex: 0 0 auto;
        margin-left: 0.35rem;
        padding: 0.42rem 0.65rem;
        border: 1px solid var(--glass-line);
        border-radius: 0.46rem;
        background: rgb(11 9 16 / 76%);
        box-shadow: var(--rim);
        color: var(--muted);
        backdrop-filter: blur(1rem);
      }

      .language-picker svg {
        width: 0.9rem;
        height: 0.9rem;
        flex: 0 0 auto;
      }

      .language-picker:focus-within {
        outline: 2px solid var(--accent-bright);
        outline-offset: 4px;
      }

      .language-picker select {
        border: 0;
        outline: 0;
        background: transparent;
        color: inherit;
        cursor: pointer;
        font: inherit;
        font-size: 0.76rem;
      }

      .language-picker option {
        background: var(--bg);
        color: var(--text);
      }

      html[lang="zh-CN"] h2 {
        letter-spacing: 0;
      }

      .visually-hidden {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
      }

      @media (max-width: 48rem) {
        .container {
          width: min(100% - 2rem, 72rem);
        }

        .stage-shot {
          width: 100%;
        }

        .install-step {
          column-gap: 1rem;
          row-gap: 0.85rem;
        }

        .install-step-copy,
        .install-step > .code-panel {
          grid-column: 2;
        }

        .install-step > .code-panel {
          margin-top: 0;
        }

      }

      @media (max-width: 30rem) {
        .hero-actions .button {
          width: 100%;
        }

        .install-step {
          column-gap: 0.85rem;
          padding-bottom: 2.5rem;
        }

        .install-step-copy,
        .install-step > .code-panel {
          grid-column: 2;
          margin-top: 0;
        }

        .code-panel pre {
          padding-inline: 0.75rem;
        }

        .code-panel--compact code {
          font-size: 0.72rem;
        }

        .code-panel-title {
          max-width: 9rem;
        }

        .footer-bottom {
          align-items: flex-start;
          flex-direction: column;
        }
      }

      @media (prefers-reduced-motion: reduce) {
        html {
          scroll-behavior: auto;
          transition: none;
        }

        .button,
.button-arrow,
.community-link,
.community-link > span,
.footer-group a,
.footer-group svg,
.gallery-control,
.gallery-dialog-close,
.gallery-dialog-slide,
.copy-button,
.install-step-number,
.install-step::after,
.install-source-button::after,
.install-step .code-panel,
.shot-frame,
.gallery-card .gallery-media,
:root .dl-shot-frame,
:root .sp-project {
          transition: none;
        }

        .gallery-card:hover .gallery-media,
:root .dl-shot-frame:hover,
:root .sp-project:hover {
          transform: none;
        }

        .has-js [data-reveal] {
          transition: none;
        }

        .hero-headline,
.hero-mark-art,
.stage-shot,
.hero-mark .mark-caret,
.mark-shine,
.hero-kicker,
.hero-copy,
.hero-actions {
          animation: none;
        }

        .hero-mark .mark-caret {
          transform: none;
        }

        .mark-shine {
          display: none;
        }

        .shot-frame {
          transform: none;
        }

        .stage-shot {
          opacity: 1;
        }

        .has-js [data-reveal] {
          opacity: 1;
          transform: none;
        }
      }

/* ─────────────────────────────────────────────────────────
   Site navigation
   ───────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  min-height: 3.75rem;
  padding-block: 0.65rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo .wordmark {
  width: 6.5rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem 0.35rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.62rem;
  border-radius: 0.45rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: color 180ms var(--ease-soft), background 180ms var(--ease-soft);
}

@media (min-width: 52.01rem) and (max-width: 84rem) {
  .site-nav a {
    padding: 0.4rem 0.5rem;
    font-size: 0.86rem;
  }

  .site-header-inner .language-picker {
    margin-left: 0.15rem;
    padding: 0.36rem 0.55rem;
  }

  .language-picker select {
    font-size: 0.72rem;
  }
}

.site-nav a:hover {
  color: var(--text);
  background: rgb(255 255 255 / 4%);
}

.site-nav a.is-active {
  color: var(--text);
  background: rgb(156 121 219 / 14%);
  box-shadow: inset 0 0 0 1px rgb(190 166 234 / 22%);
}

@media (max-width: 52rem) {
  .site-header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding-block: 0.85rem;
  }

  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    margin-inline: -0.25rem;
    padding-inline: 0.25rem;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    white-space: nowrap;
    font-size: 0.86rem;
    padding: 0.4rem 0.62rem;
  }
}

/* ─────────────────────────────────────────────────────────
   Page shells
   ───────────────────────────────────────────────────────── */

.page-section {
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

/* ─────────────────────────────────────────────────────────
   Device cards
   ───────────────────────────────────────────────────────── */

.device-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.device-chip {
  display: inline-flex;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text);
  background: rgb(255 255 255 / 4.5%);
  border: 1px solid rgb(255 255 255 / 7%);
}

.device-chip--accent {
  color: var(--accent-bright);
  border-color: rgb(190 166 234 / 28%);
  background: rgb(156 121 219 / 12%);
}

/* ─────────────────────────────────────────────────────────
   Support panels
   ───────────────────────────────────────────────────────── */
.tier-grid-support {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.5rem;
}

@media (max-width: 52rem) {
  .tier-grid-support {
    grid-template-columns: 1fr;
  }
}

.support-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.35rem 1.4rem;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--rim);
}

.support-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.support-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.support-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.footer-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
}

.site-header + main .stage {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

/* Language picker lives in the sticky header row (no absolute overlap). */
.site-header-inner .language-picker {
  z-index: 1;
}

.site-header-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}

.site-header-inner .site-nav {
  flex: 0 1 auto;
  justify-content: flex-end;
}

@media (max-width: 52rem) {
  .site-header-inner .language-picker {
    margin-left: 0;
    align-self: flex-end;
  }
}

/* ─────────────────────────────────────────────────────────
   Droidloom page
   ───────────────────────────────────────────────────────── */

.dl-page code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86em;
  color: var(--accent-bright);
}

.dl-page .install-steps code,
.dl-page .code-panel code {
  color: inherit;
  font-size: inherit;
}

.dl-hero {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

@media (min-width: 60rem) {
  .dl-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

.dl-hero h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(2.4rem, 5.6vw, 4.1rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.dl-hero h1 .accent {
  color: var(--accent-bright);
}

.dl-hero .page-lede {
  max-width: 36rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.dl-hero .hero-actions {
  margin-top: 1.75rem;
}

.button-icon {
  width: 1rem;
  height: 1rem;
}

.dl-shot {
  margin: 0;
  min-width: 0;
}

.dl-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: clamp(1.75rem, 4vw, 2.6rem);
}

@media (min-width: 46rem) {
  .dl-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dl-feature-layout,
.dl-denial-layout {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  margin-top: clamp(1.75rem, 4vw, 2.6rem);
  align-items: start;
}

@media (min-width: 60rem) {
  .dl-feature-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .dl-denial-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }
}

.dl-features {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dl-features li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.dl-features li:first-child {
  padding-top: 0;
  border-top: 0;
}

.dl-features h3,
.dl-protocol h3,
.dl-platform h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.dl-features p,
.dl-protocol p,
.dl-platform p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Waydroid comparison: two short lists, then Droidloom's list in two columns. */
.dl-compare-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.dl-compare-list li::marker {
  color: var(--accent-bright);
}

.dl-compare-heading {
  margin: clamp(2.25rem, 5vw, 3.25rem) 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 450;
  letter-spacing: -0.02em;
}

@media (min-width: 46rem) {
  .dl-features--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 4vw, 3rem);
  }

  .dl-features--2 li:nth-child(2) {
    padding-top: 0;
    border-top: 0;
  }
}

.dl-shot-stack {
  display: grid;
  gap: 0.9rem;
}

.dl-protocols {
  display: grid;
  gap: 0.9rem;
}

.dl-protocol {
  padding: 1.25rem;
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  background: var(--glass);
  box-shadow: var(--rim);
}

.dl-protocol .dl-protocol-name {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.22rem 0.55rem;
  border: 1px solid rgb(190 166 234 / 28%);
  border-radius: 999px;
  background: rgb(156 121 219 / 12%);
  font-size: 0.74rem;
}

.dl-platforms {
  display: grid;
  gap: 0.9rem;
  margin-top: clamp(1.75rem, 4vw, 2.6rem);
}

.dl-platform {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  background: var(--glass);
  box-shadow: var(--rim);
}

@media (min-width: 52rem) {
  .dl-platform {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .dl-platform:nth-child(even) .dl-platform-copy {
    order: 2;
  }
}

.dl-platform h3 {
  margin-top: 0.6rem;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -0.03em;
}

.dl-platform .device-chips {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

/* NVIDIA forwarding: stats, the frame's path beside its numbered steps, then
   the server's additions, overhead and setup. Violet = Android, blue = host. */
.dl-fwd {
  --dl-host: #6d9ede;
  --dl-host-bright: #9cbfec;
}

.dl-fwd-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(9.5rem, 100%), 1fr));
  margin-top: clamp(1.75rem, 4vw, 2.6rem);
  overflow: hidden;
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  background: var(--glass);
  box-shadow: var(--rim);
}

.dl-fwd-stat {
  display: grid;
  gap: 0.25rem;
  margin: 0 -1px -1px 0;
  padding: 1.1rem 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dl-fwd-stat b {
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.5rem;
  font-weight: 450;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.dl-fwd-stat b small {
  margin-left: 0.15em;
  color: var(--muted);
  font-size: 0.6em;
}

.dl-fwd-stat span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.dl-fwd-journey {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  margin-top: 0.9rem;
  align-items: start;
}

@media (min-width: 60rem) {
  .dl-fwd-journey {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  }
}

.dl-fwd-diagram {
  margin: 0;
  min-width: 0;
}

.dl-fwd-diagram svg {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  background: #0d0b14;
}

.dl-fwd-diagram figcaption {
  margin-top: 0.8rem;
  color: var(--quiet);
  font-size: 0.84rem;
  line-height: 1.6;
}

.dl-fwd-zone {
  fill: rgb(156 121 219 / 7%);
  stroke: rgb(190 166 234 / 22%);
}

.dl-fwd-zone--host {
  fill: rgb(109 158 222 / 6%);
  stroke: rgb(109 158 222 / 26%);
}

.dl-fwd-zone-label,
.dl-fwd-band,
.dl-fwd-sub,
.dl-fwd-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.dl-fwd-zone-label {
  fill: var(--accent-bright);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.dl-fwd-zone-label--host {
  fill: var(--dl-host-bright);
}

.dl-fwd-band {
  fill: var(--muted);
  font-size: 11.5px;
}

.dl-fwd-slot {
  fill: rgb(255 255 255 / 4%);
  stroke: rgb(190 166 234 / 22%);
}

.dl-fwd-slot.is-full {
  fill: var(--accent);
  stroke: none;
}

.dl-fwd-wire {
  fill: none;
  stroke: rgb(190 166 234 / 26%);
  stroke-width: 2;
}

.dl-fwd-wire--side {
  stroke-dasharray: 4 5;
}

.dl-fwd-node rect {
  fill: #17131f;
  stroke: rgb(190 166 234 / 24%);
  stroke-width: 1.2;
}

.dl-fwd-node--host rect {
  stroke: rgb(109 158 222 / 30%);
}

.dl-fwd-name {
  fill: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.dl-fwd-sub {
  fill: var(--muted);
  font-size: 11px;
}

.dl-fwd-num {
  fill: var(--quiet);
  font-size: 11px;
  text-anchor: end;
}

.dl-fwd-packet {
  fill: var(--accent-bright);
}

.dl-fwd-packet--frame {
  fill: var(--dl-host);
}

.dl-fwd-steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: dl-fwd-step;
}

.dl-fwd-steps li {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  column-gap: 0.6rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  counter-increment: dl-fwd-step;
}

.dl-fwd-steps li:first-child {
  padding-top: 0;
  border-top: 0;
}

.dl-fwd-steps li::before {
  content: counter(dl-fwd-step);
  grid-row: span 2;
  color: var(--accent-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.6;
}

.dl-fwd-steps li:nth-child(n + 4)::before {
  color: var(--dl-host-bright);
}

.dl-fwd-steps h3 {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.dl-fwd-steps p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.dl-fwd-bottom {
  margin-top: 0.9rem;
}

.dl-fwd-meter {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.4rem;
}

.dl-fwd-meter .dl-fwd-meter-label {
  color: var(--text);
  font-size: 0.86rem;
}

.dl-fwd-bar {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) 4.6rem;
  gap: 0.75rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.82rem;
}

.dl-fwd-val {
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.dl-fwd-track {
  height: 0.55rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(255 255 255 / 5%);
}

.dl-fwd-fill {
  height: 100%;
  border-radius: 999px;
  background: rgb(240 238 245 / 22%);
}

.dl-fwd-fill--fwd {
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-bright));
}

.dl-fwd .code-panel {
  margin-top: 0.3rem;
}

.dl-fwd .code-panel code {
  min-width: 0;
  font-size: 0.72rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
  .dl-fwd-packet {
    display: none;
  }
}

.dl-try-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  margin-top: 1.75rem;
}

.dl-shot-frame {
  display: block;
  overflow: hidden;
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  background: #0d0b14;
  box-shadow: 0 2rem 5rem rgb(0 0 0 / 35%);
  transition: border-color 300ms var(--ease-soft), transform 600ms var(--ease);
}

.dl-shot-frame:hover {
  border-color: var(--glass-line-hover);
  transform: translateY(-2px);
}

.dl-shot-frame img,
.dl-shot-frame video {
  display: block;
  width: 100%;
  height: auto;
}

.dl-shot--hero .dl-shot-frame {
  box-shadow: 0 3rem 8rem rgb(0 0 0 / 58%);
}

.dl-shot figcaption {
  margin-top: 0.7rem;
  color: var(--quiet);
  font-size: 0.8rem;
  line-height: 1.55;
}

.dl-shot--phone {
  justify-self: center;
  width: 100%;
  max-width: 16.5rem;
}

.dl-shot--phone .dl-shot-frame {
  border-radius: 0.8rem;
}

.dl-shot--phone figcaption {
  text-align: center;
}

/* ─────────────────────────────────────────────────────────
   Mobile page
   ───────────────────────────────────────────────────────── */

.mb-page code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86em;
  color: var(--accent-bright);
}

.mb-hero {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  align-items: center;
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

@media (min-width: 60rem) {
  .mb-hero {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}

.mb-hero h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(2.4rem, 5.6vw, 4.1rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.mb-hero h1 .accent {
  color: var(--accent-bright);
}

.mb-hero .page-lede {
  max-width: 34rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.mb-hero .hero-actions {
  margin-top: 1.75rem;
}

.mb-hero-devices {
  position: relative;
  padding-right: clamp(3rem, 12%, 6rem);
  padding-bottom: clamp(2rem, 8%, 4rem);
}

.mb-hero-tablet {
  box-shadow: 0 3rem 8rem rgb(0 0 0 / 58%);
}

.mb-hero-tablet video {
  aspect-ratio: 1018 / 720;
  object-fit: cover;
}

.mb-hero-phone video {
  aspect-ratio: 360 / 800;
  object-fit: cover;
}

/* A hand-drawn aside under the tablet, pointing up at the devices. */
.mb-hero-note {
  position: absolute;
  bottom: -2.4rem;
  left: 0.25rem;
  display: flex;
  gap: 0.35rem;
  align-items: flex-end;
  max-width: calc(100% - 9rem);
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  transform: rotate(-1.5deg);
  transform-origin: left bottom;
  animation: mb-note-in 700ms var(--ease) 900ms both;
}

.mb-hero-note strong {
  display: block;
  color: var(--accent-bright);
  font-size: 0.98rem;
  font-weight: 500;
}

.mb-hero-note-arrow {
  width: 4.6rem;
  height: auto;
  flex: none;
  margin-bottom: 0.9rem;
  overflow: visible;
}

.mb-hero-note-arrow path {
  fill: none;
  stroke: var(--accent-bright);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: mb-note-draw 800ms var(--ease) 1.3s forwards;
}

.mb-hero-note-arrow path + path {
  animation-delay: 1.9s;
  animation-duration: 300ms;
}

/* Single column: hang the note below the devices so it never covers them. */
@media (max-width: 59.99rem) {
  .mb-hero {
    padding-bottom: clamp(7rem, 22vw, 8rem);
  }

  .mb-hero-note {
    top: 100%;
    bottom: auto;
    max-width: calc(100% - 3rem);
    margin-top: 0.4rem;
  }

  .mb-hero-note-arrow {
    width: 3.6rem;
  }
}

@keyframes mb-note-in {
  from { opacity: 0; transform: translateY(0.5rem) rotate(-1.5deg); }
}

@keyframes mb-note-draw {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .mb-hero-note {
    animation: none;
  }

  .mb-hero-note-arrow path {
    stroke-dashoffset: 0;
    animation: none;
  }
}

.mb-hero-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26%;
  border-radius: 0.7rem;
  border-color: rgb(255 255 255 / 14%);
  box-shadow: 0 2rem 4rem rgb(0 0 0 / 70%);
}

.mb-screens {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(11rem, 1fr);
  gap: 0.9rem;
  margin: clamp(1.75rem, 4vw, 2.6rem) 0 0;
  padding: 0 0 0.75rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.mb-screen {
  scroll-snap-align: start;
}

.mb-screen-slot {
  aspect-ratio: 600 / 1334;
}

.mb-screen h3 {
  margin: 0.85rem 0 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
}

.mb-screen p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

@media (min-width: 52rem) {
  .mb-hardware {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 46rem) and (max-width: 51.99rem) {
  .mb-hardware {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mb-split,
.mb-apps {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.mb-apps {
  margin-top: clamp(1.75rem, 4vw, 2.6rem);
}

@media (min-width: 60rem) {
  .mb-split {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .mb-apps {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }
}

.mb-apps-copy .button {
  margin-top: 1.25rem;
}

.mb-table-wrap {
  margin-top: clamp(1.75rem, 4vw, 2.6rem);
  overflow-x: auto;
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  background: var(--glass);
  box-shadow: var(--rim);
}

.mb-table {
  width: 100%;
  min-width: 52rem;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.mb-table th,
.mb-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.mb-table tbody tr:last-child > * {
  border-bottom: 0;
}

.mb-table thead th {
  color: var(--quiet);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mb-table tbody th {
  color: var(--text);
  font-weight: 500;
}

.mb-table tbody th span {
  display: block;
  margin-top: 0.15rem;
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 400;
}

.mb-table tbody th .mb-install-link {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.mb-table td.yes {
  color: var(--accent-bright);
}

.mb-table td.yes::before {
  content: "✓ ";
}

.mb-table td.no {
  color: var(--quiet);
}

.mb-get-card {
  align-content: space-between;
}

.mb-get-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.mb-table td.na {
  color: var(--quiet);
  opacity: 0.6;
}

.mb-table td.early {
  color: var(--text);
}

.mb-table td.early::before {
  content: "◐ ";
  color: var(--accent-bright);
}

.mb-page .stack-note strong {
  color: var(--muted);
  font-weight: 500;
}

.mb-status {
  align-self: flex-start;
  margin: 0;
  padding: 0.22rem 0.6rem;
  border: 1px solid rgb(190 166 234 / 28%);
  border-radius: 999px;
  background: rgb(156 121 219 / 12%);
  color: var(--accent-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mb-get-card {
  display: flex;
  flex-direction: column;
}

.mb-get-actions {
  margin-top: auto;
  padding-top: 0.6rem;
}

.mb-get-note {
  margin: auto 0 0;
  padding-top: 0.6rem;
  color: var(--quiet);
  font-size: 0.8rem;
}

.mb-get-actions + .mb-get-note {
  margin-top: 0;
  padding-top: 1rem;
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────
   Support page
   ───────────────────────────────────────────────────────── */

.sp-hero {
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 5rem);
}

.sp-hero h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(2.4rem, 5.6vw, 4.1rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.sp-hero h1 .accent {
  color: var(--accent-bright);
}

.sp-hero .sp-wall {
  margin-top: clamp(1.5rem, 3.5vw, 2.1rem);
}

.sp-wall-note {
  margin: 0.85rem 0 0;
  color: var(--quiet);
  font-size: 0.84rem;
  line-height: 1.6;
}

.sp-hero .page-lede {
  max-width: 38rem;
  margin: clamp(2rem, 4.5vw, 2.75rem) 0 0;
  padding-top: clamp(1.5rem, 3.5vw, 2rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.sp-hero .hero-actions {
  margin-top: 1.75rem;
}

.sp-projects {
  display: grid;
  gap: 0.9rem;
  margin-top: clamp(1.75rem, 4vw, 2.6rem);
}

@media (min-width: 52rem) {
  .sp-projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sp-project {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  background: var(--glass);
  box-shadow: var(--rim);
  color: inherit;
  text-decoration: none;
  transition: border-color 300ms var(--ease-soft), transform 600ms var(--ease);
}

.sp-project:hover {
  border-color: var(--glass-line-hover);
  transform: translateY(-2px);
}

.sp-project img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sp-project img.sp-project-img--top {
  object-position: top;
}

.sp-project-copy {
  display: grid;
  gap: 0.6rem;
  padding: 1.25rem 1.35rem 1.4rem;
}

.sp-project h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.sp-project p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.sp-goal {
  display: grid;
  gap: 1.75rem;
  align-items: end;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  box-shadow: var(--rim);
}

@media (min-width: 52rem) {
  .sp-goal {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }
}

.sp-goal h2 {
  margin: 0.5rem 0 0;
}

.sp-goal-copy p {
  max-width: 34rem;
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.sp-goal-numbers {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  color: var(--muted);
  font-size: 0.9rem;
}

.sp-goal-numbers strong {
  color: var(--text);
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.sp-goal-bar {
  height: 0.6rem;
  margin-top: 0.75rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(255 255 255 / 6%);
}

.sp-goal-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-bright));
  transition: width 1.2s var(--ease);
}

@media (min-width: 52rem) {
  .sp-where {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.sp-free {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
}

.sp-free h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
}

.sp-free ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.sp-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: clamp(1.5rem, 4vw, 2.25rem) 0 0;
  padding: 0;
  list-style: none;
}

.sp-wall a {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  padding: 0.45rem 1rem 0.45rem 0.45rem;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--text);
  font-size: 0.9rem;
  text-decoration: none;
  transition: border-color 300ms var(--ease-soft);
}

.sp-wall a:hover {
  border-color: var(--glass-line-lit);
}

.sp-wall img,
.sp-wall-plus {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
}

.sp-wall-plus {
  display: grid;
  place-items: center;
  border: 1px dashed var(--glass-line-lit);
  color: var(--accent-bright);
  font-size: 1.1rem;
}

.sp-wall-you a {
  border-style: dashed;
  color: var(--muted);
}

/* Small "help fund this" line placed where people are impressed. */
.support-nudge {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(1.5rem, 4vw, 2.25rem);
  padding: 1rem 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: rgb(156 121 219 / 7%);
}

.support-nudge p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.support-nudge strong {
  color: var(--text);
  font-weight: 500;
}

.home-sponsors {
  grid-column: 1 / -1;
  padding-top: clamp(1.5rem, 4vw, 2.25rem);
  border-top: 1px solid var(--line);
}

.home-sponsors .sp-wall {
  margin-top: 0.25rem;
}

/* ─────────────────────────────────────────────────────────
   Frosted cards: the sky moves behind them, so the glass sits on a
   dark, blurred base to keep text readable.
   ───────────────────────────────────────────────────────── */

:root {
  --frost: rgb(15 12 22 / 62%);
  --frost-blur: blur(14px) saturate(140%);
}

.stack-card,
.install-session,
.support-card,
.dl-protocol,
.dl-platform,
.mb-table-wrap,
.sp-project,
.sp-wall a {
  background: var(--glass), var(--frost);
  -webkit-backdrop-filter: var(--frost-blur);
  backdrop-filter: var(--frost-blur);
}

.support-nudge,
.sp-goal,
.sp-free {
  border-color: var(--glass-line);
  -webkit-backdrop-filter: var(--frost-blur);
  backdrop-filter: var(--frost-blur);
}

/* Secondary buttons: clear frosted glass with a hairline, no fill or lift. */
.button:not(.button-primary) {
  border-color: rgb(255 255 255 / 12%);
  background: transparent;
  box-shadow: none;
  color: rgb(240 238 245 / 86%);
  -webkit-backdrop-filter: var(--frost-blur);
  backdrop-filter: var(--frost-blur);
}

.button:not(.button-primary):hover {
  border-color: var(--glass-line-hover);
  background: rgb(255 255 255 / 2.5%);
  color: var(--text);
  transform: none;
}

/* ─────────────────────────────────────────────────────────
   Header polish
   ───────────────────────────────────────────────────────── */

/* Support is always one tap away, with a quiet accent. */
.site-nav a.nav-support {
  gap: 0.4rem;
  color: var(--accent-bright);
}

.site-nav a.nav-support::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0.6rem rgb(190 166 234 / 80%);
}

.site-nav a.nav-support:hover {
  color: var(--text);
  background: rgb(156 121 219 / 12%);
}

/* Phones: logo and language on one row, the nav spread underneath. */
@media (max-width: 52rem) {
  .site-header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo language"
      "nav nav";
    align-items: center;
    gap: 0.5rem 0.75rem;
    padding-block: 0.6rem 0.5rem;
  }

  .site-header-tools {
    display: contents;
  }

  .site-logo {
    grid-area: logo;
  }

  .site-header-inner .language-picker {
    grid-area: language;
    align-self: center;
  }

  .site-header-inner .site-nav {
    grid-area: nav;
    justify-content: space-between;
    margin-inline: -0.62rem;
  }
}

/* ─────────────────────────────────────────────────────────
   Polish layer
   ───────────────────────────────────────────────────────── */

/* Headings get a soft white-to-lavender ink. The glow moves to a
   drop-shadow because text-shadow would paint over clipped text. */
h2 {
  background: linear-gradient(180deg, #fbfaff 20%, #cdbcf2 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 2.2rem rgb(156 121 219 / 22%));
}

/* Cards: clear glass. No fill, only the backdrop blur and the border. */
:is(.stack-card, .support-card, .install-session, .dl-protocol, .dl-platform,
    .sp-project, .support-nudge, .sp-goal, .sp-free, .mb-table-wrap) {
  background: transparent;
  transition:
    border-color 300ms var(--ease-soft),
    box-shadow 300ms var(--ease-soft),
    transform 600ms var(--ease);
}

:is(.stack-card, .support-card, .install-session, .dl-protocol, .dl-platform,
    .sp-project, .support-nudge, .sp-goal, .sp-free, .mb-table-wrap):hover {
  border-color: var(--glass-line-hover);
}

/* Media sits on a faint purple halo instead of floating flat. */
.dl-shot-frame {
  box-shadow:
    0 0 0 1px var(--glass-line),
    0 2.5rem 6rem -2rem rgb(124 86 214 / 42%),
    0 1rem 3rem rgb(0 0 0 / 35%);
}

.gallery-card .gallery-media-frame {
  box-shadow:
    0 0 0 1px var(--glass-line),
    0 1.6rem 4rem -2rem rgb(124 86 214 / 32%);
}

.gallery-card:hover .gallery-media-frame {
  box-shadow:
    0 0 0 1px var(--glass-line-hover),
    0 2rem 5rem -1.5rem rgb(124 86 214 / 50%);
}

.gallery-card:hover .gallery-item-title {
  color: var(--accent-bright);
}

.gallery-item-title {
  transition: color 240ms var(--ease-soft);
}

/* Primary buttons: a richer fill and a sheen that sweeps on hover. */
.button-primary {
  background: linear-gradient(135deg, #9874de 0%, #7150b8 55%, #5c3ea4 100%);
}

.button-primary:hover {
  background: linear-gradient(135deg, #a988ea 0%, #7e5dc8 55%, #6848b2 100%);
}

.button-primary::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgb(255 255 255 / 26%) 50%,
    transparent 65%
  );
  content: "";
  pointer-events: none;
  transform: translateX(-120%);
  transition: transform 800ms var(--ease);
}

.button-primary:hover::after {
  transform: translateX(120%);
}

@media (prefers-reduced-motion: reduce) {
  .button-primary::after {
    display: none;
  }
}

/* Card numbers: accent ink and a hairline that fades out to the right. */
.stack-card .stack-index {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent-bright);
}

.stack-card .stack-index::after {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgb(190 166 234 / 30%), transparent 70%);
  content: "";
}

/* Sponsor tiers: companies get a larger row above the individuals. */
.sp-tier {
  margin-top: clamp(1.5rem, 3.5vw, 2.1rem);
}

.sp-tier + .sp-tier {
  margin-top: 1.4rem;
}

.sp-tier-label {
  margin: 0 0 0.7rem;
  color: var(--quiet);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sp-tier .sp-wall {
  margin: 0;
}

.sp-company-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-sponsors .sp-company-wall {
  margin: 0.25rem 0 0.9rem;
}

.sp-company {
  position: relative;
  display: flex;
  gap: 0.95rem;
  align-items: center;
  min-height: 4.6rem;
  padding: 0.7rem 1.5rem 0.7rem 0.7rem;
  overflow: hidden;
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  -webkit-backdrop-filter: var(--frost-blur);
  backdrop-filter: var(--frost-blur);
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 300ms var(--ease-soft), transform 600ms var(--ease);
}

.sp-company:hover {
  border-color: var(--glass-line-hover);
  transform: translateY(-2px);
}

.sp-company img {
  width: 3.2rem;
  height: 3.2rem;
  flex: none;
  border-radius: 0.55rem;
}

@media (prefers-reduced-motion: reduce) {
  :root .sp-company:hover {
    transform: none;
  }
}

/* Footer: a lit horizon instead of a flat rule. */
footer {
  border-top-color: transparent;
  -webkit-backdrop-filter: var(--frost-blur);
  backdrop-filter: var(--frost-blur);
}

footer::before {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgb(190 166 234 / 35%) 50%,
    transparent
  );
  content: "";
}

/* Mobile screen slots look like the phone they will show. The bezel and
   punch-hole stay when the screenshots go in. */
.mb-screen-slot {
  position: relative;
  display: block;
  overflow: hidden;
  border: 0.32rem solid #17141f;
  border-radius: 1.5rem;
  background:
    radial-gradient(120% 60% at 50% 0%, rgb(156 121 219 / 16%), transparent 70%),
    linear-gradient(180deg, #14111c, #0b0a10);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 9%),
    0 1.5rem 3.5rem -1rem rgb(124 86 214 / 30%),
    0 1rem 2.5rem rgb(0 0 0 / 40%);
  transition: transform 600ms var(--ease), box-shadow 300ms var(--ease-soft);
}

.mb-screen-slot::before {
  position: absolute;
  top: 0.7rem;
  left: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #050407;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 6%);
  content: "";
  transform: translateX(-50%);
}

.mb-screen-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mb-screen:hover .mb-screen-slot {
  box-shadow:
    0 0 0 1px rgb(206 186 248 / 22%),
    0 2rem 4.5rem -1rem rgb(124 86 214 / 45%),
    0 1rem 2.5rem rgb(0 0 0 / 40%);
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  .mb-screen:hover .mb-screen-slot {
    transform: none;
  }
}

/* Device table as a status matrix: wrapped headers, centred status,
   a sticky device column when it has to scroll on phones. */
.mb-table {
  min-width: 56rem;
  font-size: 0.82rem;
}

.mb-table th,
.mb-table td {
  padding: 0.85rem 0.55rem;
}

.mb-table thead th {
  padding-block: 1rem 0.9rem;
  font-size: 0.64rem;
  line-height: 1.35;
  text-align: center;
  vertical-align: bottom;
  white-space: normal;
}

.mb-table td {
  text-align: center;
}

.mb-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  padding-left: 1.1rem;
  background: linear-gradient(90deg, #15121d 85%, transparent);
  text-align: left;
}

.mb-table tbody tr {
  transition: background 200ms var(--ease-soft);
}

.mb-table tbody tr:hover {
  background: rgb(156 121 219 / 6%);
}

.mb-table td.yes,
.mb-table td.early {
  font-weight: 500;
}

.mb-table td.yes::before {
  display: inline-grid;
  width: 1.05rem;
  height: 1.05rem;
  margin-right: 0.3rem;
  place-items: center;
  border-radius: 50%;
  background: rgb(156 121 219 / 20%);
  box-shadow: 0 0 0.6rem rgb(156 121 219 / 25%);
  content: "✓";
  font-size: 0.62rem;
  vertical-align: 0.05em;
}

.mb-table td.no {
  color: rgb(171 166 181 / 55%);
  font-size: 0.76rem;
}

.mb-table td.early {
  color: #e8c98a;
}

.mb-table td.early::before {
  color: #e8c98a;
}

.hero-headline {
  max-width: 13em;
}

.hero-headline .accent {
  color: var(--accent-bright);
}

/* Teto banner heads the x86 panel, across both columns. The image is
   cut out, so it sits straight on the panel with no frame. */
.dl-teto-banner {
  display: block;
  grid-column: 1 / -1;
  border-radius: var(--r-lg);
}

.dl-teto-banner img {
  display: block;
  width: 100%;
  height: auto;
  /* The artwork crops Teto at the waist; fade the cut into the panel. */
  -webkit-mask-image: linear-gradient(to bottom, black 78%, transparent);
  mask-image: linear-gradient(to bottom, black 78%, transparent);
  transition: transform 700ms var(--ease);
}

.dl-teto-banner:hover img {
  transform: scale(1.012);
}

.dl-teto-banner:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .dl-teto-banner:hover img {
    transform: none;
  }
}

/* Convergence video: portrait phone footage, kept to a sensible height. */
.mb-split {
  align-items: center;
}

@media (min-width: 52rem) {
  .mb-split:has(.mb-converge) {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

.mb-converge {
  justify-self: center;
  width: min(100%, 22rem);
}

.mb-converge-frame {
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow:
    0 0 0 1px var(--glass-line),
    0 2.5rem 6rem -2rem rgb(124 86 214 / 42%),
    0 1rem 3rem rgb(0 0 0 / 35%);
}

.mb-converge-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  background: #050409;
  object-fit: cover;
}
