@font-face {
        font-family: "Anton";
        src: url("Anton-Regular.ttf") format("truetype");
        font-display: swap;
      }

      :root {
        --bg: #0f0f11;
        --surface: #17171a;
        --raised: #1f1f24;
        --edge: #2a2a31;
        --brand: #c98a3e;
        --brand-hi: #e0a45c;
        --ink: #f5f3f0;
        --ink-dim: #a3a0a0;
        --maxw: 1220px;
        --r: 14px;
      }

      * {
        box-sizing: border-box;
      }
      html {
        scroll-behavior: smooth;
      }
      body {
        margin: 0;
        background: var(--bg);
        color: var(--ink);
        font:
          16px/1.6 -apple-system,
          BlinkMacSystemFont,
          "Segoe UI",
          Inter,
          Roboto,
          Helvetica,
          Arial,
          sans-serif;
        -webkit-font-smoothing: antialiased;
      }
      a {
        color: inherit;
      }
      /* A link inside a sentence, where the surrounding text is already dimmed. */
      .inline {
        color: var(--brand-hi);
        text-decoration: underline;
        text-underline-offset: 3px;
        text-decoration-thickness: 1px;
        text-decoration-color: rgba(224, 164, 92, 0.45);
      }
      .inline:hover {
        text-decoration-color: var(--brand-hi);
      }
      /* A link, not a nav word: the mark is what people scan the bar for. Stays visible on
         mobile, where the rest of the nav collapses to the download button. */
      .discord {
        display: inline-flex;
        align-items: center;
        gap: 6px;
      }
      .discord svg {
        width: 15px;
        height: 15px;
        fill: currentColor;
      }
      .discord:hover {
        color: #5865f2;
      }
      .wrap {
        width: 100%;
        max-width: var(--maxw);
        margin: 0 auto;
        padding: 0 24px;
      }

      /* ── header ───────────────────────────────────────────── */
      header {
        position: sticky;
        top: 0;
        z-index: 50;
        background: rgba(15, 15, 17, 0.82);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--edge);
      }
      .bar {
        display: flex;
        align-items: center;
        gap: 14px;
        height: 62px;
      }
      .bar img {
        width: 26px;
        height: 26px;
        border-radius: 6px;
      }
      .wordmark {
        font-family: Anton, Impact, sans-serif;
        letter-spacing: 0.06em;
        font-size: 19px;
      }
      .bar nav {
        margin-left: auto;
        display: flex;
        gap: 26px;
        align-items: center;
      }
      .bar nav a {
        color: var(--ink-dim);
        text-decoration: none;
        font-size: 14px;
      }
      .bar nav a:hover {
        color: var(--ink);
      }
      .navcta {
        background: var(--brand);
        color: #1a1206 !important;
        padding: 8px 16px;
        border-radius: 9px;
        font-weight: 650;
      }
      /* Below about 800px the bar has no room for another link; the hero and footer still carry About. */
      @media (max-width: 800px) {
        .navabout {
          display: none;
        }
      }
      @media (max-width: 720px) {
        .bar nav a:not(.navcta):not(.discord) {
          display: none;
        }
        /* The mark alone: the bar has room for a glyph, not a word, next to Download. */
        .discord span {
          display: none;
        }
      }

      /* ── hero ─────────────────────────────────────────────── */
      .hero {
        padding: 72px 24px 34px;
        text-align: center;
      }
      .eyebrow {
        display: inline-flex;
        gap: 10px;
        align-items: center;
        font-size: 13px;
        color: var(--ink-dim);
        border: 1px solid var(--edge);
        background: var(--surface);
        padding: 7px 15px;
        border-radius: 999px;
      }
      .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--brand);
        flex: none;
        /* Pin to the first line: centring it floats the dot into the gap when the pill wraps. */
        align-self: flex-start;
        margin-top: 8px;
      }
      h1 {
        font-size: clamp(32px, 5.4vw, 56px);
        line-height: 1.08;
        letter-spacing: -0.025em;
        margin: 22px auto 0;
        /* px, not ch: the line break is explicit, so this only needs to be wide enough that
           the first line does not wrap on its own. */
        max-width: 920px;
        font-weight: 700;
      }
      h1 em {
        font-style: normal;
        color: var(--brand-hi);
      }
      .lede {
        color: var(--ink-dim);
        font-size: clamp(16px, 2vw, 19px);
        max-width: 62ch;
        margin: 20px auto 0;
      }

      .dl {
        display: flex;
        gap: 12px;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 30px;
      }
      .btn {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
        background: var(--raised);
        border: 1px solid var(--edge);
        padding: 12px 20px;
        border-radius: 12px;
        transition:
          transform 0.14s,
          border-color 0.14s;
      }
      .btn:hover {
        transform: translateY(-2px);
        border-color: #3a3a44;
      }
      .btn.primary {
        background: var(--brand);
        border-color: var(--brand);
        color: #1a1206;
      }
      .btn.primary .sub {
        color: #5b4213;
      }
      .btn .os {
        width: 19px;
        height: 19px;
        fill: currentColor;
        flex: none;
      }
      .btn .lbl {
        display: flex;
        flex-direction: column;
        text-align: left;
        line-height: 1.25;
      }
      .btn strong {
        font-size: 15px;
        font-weight: 650;
      }
      .btn .sub {
        font-size: 12px;
        color: var(--ink-dim);
      }
      .verline {
        margin-top: 14px;
        font-size: 13px;
        color: var(--ink-dim);
      }

      /* ── hero player ──────────────────────────────────────── */
      .stage {
        margin: 40px auto 0;
      }
      .caption {
        text-align: center;
        color: var(--ink-dim);
        font-size: 13px;
        margin-top: 18px;
      }
      .cycle {
        color: var(--brand-hi);
        /* Hold a width so the rest of the headline does not jump while the name types. */
        display: inline-block;
        min-width: 4.4ch;
      }
      .cycle::after {
        content: "";
        display: inline-block;
        width: 2px;
        height: 0.9em;
        background: var(--brand);
        margin-left: 4px;
        vertical-align: -0.1em;
        animation: blink 1s steps(1) infinite;
      }
      @keyframes blink {
        50% {
          opacity: 0;
        }
      }
      .logos {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
        margin-top: 26px;
      }
      .logo {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        border: 1px solid var(--edge);
        background: var(--surface);
        border-radius: 12px;
        padding: 11px 17px;
        font-size: 14.5px;
        font-weight: 550;
      }
      .logo img {
        width: 19px;
        height: 19px;
        flex: none;
        /* Simple Icons ship solid black; invert to sit on the dark surface. */
        filter: invert(1) opacity(0.86);
      }
      /* The hero carousel is the same component as the showreel, just bigger. */
      #heroCarousel .slide {
        height: 430px;
      }
      @media (max-width: 900px) {
        #heroCarousel .slide {
          height: 300px;
        }
      }
      @media (max-width: 640px) {
        #heroCarousel .slide {
          height: 210px;
        }
      }

      /* ── sections ─────────────────────────────────────────── */
      section {
        padding: 84px 0;
        border-top: 1px solid var(--edge);
      }
      section:first-of-type {
        border-top: 0;
      }
      .kicker {
        color: var(--brand);
        font-size: 12px;
        letter-spacing: 0.13em;
        text-transform: uppercase;
        font-weight: 650;
      }
      h2 {
        font-size: clamp(26px, 3.6vw, 40px);
        letter-spacing: -0.02em;
        line-height: 1.14;
        margin: 12px 0 0;
        font-weight: 700;
      }
      .sub {
        color: var(--ink-dim);
        margin-top: 14px;
      }

      .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
        gap: 16px;
        margin-top: 38px;
      }
      .card {
        background: var(--surface);
        border: 1px solid var(--edge);
        border-radius: var(--r);
        padding: 24px;
      }
      .card h3 {
        margin: 12px 0 8px;
        font-size: 18px;
      }
      .card p {
        margin: 0;
        color: var(--ink-dim);
        font-size: 15px;
      }
      .k {
        font-size: 11px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--brand);
        font-weight: 650;
      }

      /* ── the agent note ───────────────────────────────────── */
      .note-wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
        margin-top: 38px;
      }
      @media (max-width: 860px) {
        .note-wrap {
          grid-template-columns: 1fr;
        }
      }
      .chat {
        background: var(--surface);
        border: 1px solid var(--edge);
        border-radius: var(--r);
        padding: 22px;
      }
      .take {
        margin: 34px 0 0;
      }
      .take video {
        width: 100%;
        display: block;
        border: 1px solid var(--edge);
        border-radius: var(--r);
        background: #000;
        box-shadow: 0 22px 58px rgba(0, 0, 0, 0.55);
      }
      .take figcaption {
        color: var(--ink-dim);
        font-size: 12.5px;
        margin-top: 12px;
        text-align: center;
      }
      .msg {
        border-radius: 12px;
        padding: 13px 16px;
        font-size: 15px;
        line-height: 1.5;
      }
      .msg.you {
        background: var(--raised);
        border: 1px solid var(--edge);
      }
      .msg.bot {
        margin-top: 14px;
        border-left: 2px solid var(--brand);
        padding-left: 16px;
        color: var(--ink-dim);
      }
      .msg.bot strong {
        color: var(--ink);
        font-weight: 600;
      }
      .who {
        font-size: 11px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--ink-dim);
        margin-bottom: 7px;
      }

      /* ── agents / models ──────────────────────────────────── */
      .pills {
        display: flex;
        flex-wrap: wrap;
        gap: 9px;
        margin-top: 26px;
      }
      .pill {
        border: 1px solid var(--edge);
        background: var(--surface);
        color: var(--ink-dim);
        border-radius: 999px;
        padding: 8px 15px;
        font-size: 13.5px;
      }
      .pill b {
        color: var(--ink);
        font-weight: 600;
      }

      /* ── showreel ─────────────────────────────────────────── */
      .carousel {
        position: relative;
        margin-top: 38px;
        overflow: hidden;
        padding: 30px 0 10px; /* room for the active slide to scale up without clipping */
        -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
        mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
      }
      .track {
        display: flex;
        align-items: center;
        gap: 20px;
        will-change: transform;
        transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
      }
      /* Fixed HEIGHT with width from each film's own ratio, so the 9:16 short sits in the row
         instead of doubling its height the way it did in the grid. */
      .slide {
        position: relative;
        flex: none;
        height: 330px;
        border: 1px solid var(--edge);
        border-radius: var(--r);
        overflow: hidden;
        background: #000;
        cursor: pointer;
        padding: 0;
        margin: 0;
        opacity: 0.4;
        transform: scale(0.9);
        transition:
          transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
          opacity 0.4s,
          border-color 0.3s;
      }
      .slide.wide {
        aspect-ratio: 16 / 9;
      }
      .slide.tall {
        aspect-ratio: 9 / 16;
      }
      /* The session captures are the shape of the app's working area, not 16:9. */
      .slide.app {
        aspect-ratio: 1280 / 896;
      }
      #promptCarousel .slide {
        height: 470px;
      }
      @media (max-width: 900px) {
        #promptCarousel .slide {
          height: 320px;
        }
      }
      @media (max-width: 640px) {
        #promptCarousel .slide {
          height: 230px;
        }
      }
      .slide.on {
        opacity: 1;
        transform: scale(1.06);
        border-color: var(--brand);
        box-shadow: 0 22px 58px rgba(0, 0, 0, 0.62);
      }
      .slide img,
      .slide video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }
      .slide video {
        opacity: 0;
        transition: opacity 0.35s;
      }
      .slide.playing video {
        opacity: 1;
      }
      .slide figcaption {
        position: absolute;
        left: 12px;
        bottom: 11px;
        z-index: 2;
        background: rgba(15, 15, 17, 0.82);
        border: 1px solid var(--edge);
        border-radius: 8px;
        padding: 5px 11px;
        font-size: 12.5px;
        backdrop-filter: blur(6px);
      }
      .soundbtn {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 3;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        display: none;
        place-items: center;
        background: rgba(15, 15, 17, 0.74);
        border: 1px solid var(--edge);
        color: var(--ink);
        cursor: pointer;
        backdrop-filter: blur(6px);
        padding: 0;
      }
      .slide.on .soundbtn {
        display: grid;
      }
      .soundbtn:hover {
        border-color: var(--brand);
      }
      .soundbtn svg {
        width: 15px;
        height: 15px;
        fill: currentColor;
      }
      .soundbtn .on {
        display: none;
      }
      .slide.loud .soundbtn .on {
        display: block;
      }
      .slide.loud .soundbtn .off {
        display: none;
      }
      .arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 4;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: rgba(15, 15, 17, 0.8);
        border: 1px solid var(--edge);
        color: var(--ink);
        cursor: pointer;
        backdrop-filter: blur(8px);
      }
      .arrow:hover {
        border-color: var(--brand);
      }
      .arrow.prev {
        left: 12px;
      }
      .arrow.next {
        right: 12px;
      }
      .arrow svg {
        width: 15px;
        height: 15px;
        fill: currentColor;
      }
      @media (max-width: 640px) {
        .slide {
          height: 232px;
        }
      }

      /* ── faq ──────────────────────────────────────────────── */
      .faq {
        margin-top: 34px;
        border-top: 1px solid var(--edge);
      }
      details {
        border-bottom: 1px solid var(--edge);
      }
      summary {
        cursor: pointer;
        padding: 19px 0;
        font-weight: 600;
        font-size: 16.5px;
        list-style: none;
        display: flex;
        gap: 16px;
        align-items: baseline;
      }
      summary::-webkit-details-marker {
        display: none;
      }
      summary::after {
        content: "";
        margin-left: auto;
        width: 9px;
        height: 9px;
        border-right: 2px solid var(--brand);
        border-bottom: 2px solid var(--brand);
        transform: rotate(45deg);
        transform-origin: center;
        transition: transform 0.22s;
        flex: none;
        align-self: center;
      }
      details[open] summary::after {
        transform: rotate(-135deg);
      }
      details p {
        margin: 0 0 20px;
        color: var(--ink-dim);
      }
      details code {
        background: var(--raised);
        border: 1px solid var(--edge);
        border-radius: 5px;
        padding: 1px 6px;
        font-size: 13px;
      }

      /* ── closing + footer ─────────────────────────────────── */
      .close {
        text-align: center;
      }
      .close h2 {
        margin-inline: auto;
      }
      .close .dl {
        margin-top: 28px;
      }
      footer {
        border-top: 1px solid var(--edge);
        padding: 34px 0;
        color: var(--ink-dim);
        font-size: 14px;
      }
      .frow {
        display: flex;
        gap: 18px;
        flex-wrap: wrap;
        align-items: center;
      }
      .frow a {
        color: var(--ink-dim);
      }
      .frow .right {
        margin-left: auto;
      }

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

/* Long-form subpages (/windows, /linux, /mcp, /alternatives/*). Scoped to .doc: the home
   page styles everything by class, so element rules here cannot reach it. */
.doc { padding: 40px 0 80px; }
.doc section { margin: 0 0 56px; }
.doc h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.06; margin: 0 0 16px; }
.doc h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 16px; }
.doc h3 { font-size: 16px; margin: 0 0 8px; color: var(--ink); }
.doc p { color: var(--ink-dim); line-height: 1.65; margin: 0 0 14px; max-width: 68ch; }
.doc .lede { font-size: 18px; color: var(--ink); }
.doc .eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }
.doc ul { margin: 0 0 14px; padding-left: 20px; max-width: 68ch; }
.doc li { color: var(--ink-dim); line-height: 1.65; margin: 0 0 8px; }
.doc a { color: var(--brand); }
.doc code { background: var(--raised); border: 1px solid var(--edge); border-radius: 4px; padding: 1px 5px; font-size: 0.9em; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 14px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--edge); vertical-align: top; }
.doc th { color: var(--ink); font-weight: 600; }
.doc td { color: var(--ink-dim); }
.doc tbody td:first-child { color: var(--ink); }
.doc .grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.doc .card { background: var(--surface); border: 1px solid var(--edge); border-radius: var(--r); padding: 18px; }
.doc .card p { margin: 0; font-size: 14px; }
.doc .btn + .btn { margin-left: 8px; }