@font-face{font-family:"DM Sans";font-style:normal;font-weight:100 1000;font-display:swap;src:url("assets/dm-sans-latin.woff2") format("woff2")}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:100 800;font-display:swap;src:url("assets/jetbrains-mono-latin.woff2") format("woff2")}

  :root {
    --bg: #09090b;
    --bg-elev: #0c0c0e;
    --bg-card: #111113;
    --fg: #fafafa;
    --fg-muted: #a1a1aa;
    --fg-dim: #71717a;
    --fg-faint: #52525b;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --accent-h: 250;
    --accent: oklch(0.68 0.17 var(--accent-h));
    --accent-dim: oklch(0.68 0.17 var(--accent-h) / 0.15);
    --ok: oklch(0.72 0.16 150);
    --warn: oklch(0.76 0.15 75);
    --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
  }

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    color-scheme: dark;
    scroll-behavior: smooth;
  }

  body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-sans);
    font-feature-settings: "ss01", "ss02";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
  }

  body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    z-index: 9999;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  button {
    font-family: inherit;
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit;
  }

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

  .eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fg-dim);
    font-weight: 500;
  }

  .display {
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.05;
  }

  .container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 8px;
    transition: transform 0.18s ease, background 0.18s ease,
      border-color 0.18s ease, color 0.18s ease;
    white-space: nowrap;
  }

  .btn-primary {
    background: var(--fg);
    color: #09090b;
    font-weight: 600;
  }

  .btn-primary:hover {
    transform: translateY(-1px);
    background: #fff;
  }

  .btn-primary:active {
    transform: translateY(0);
  }

  .btn-ghost {
    color: var(--fg-muted);
    border: 1px solid var(--border);
    background: transparent;
  }

  .btn-ghost:hover {
    color: var(--fg);
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.02);
  }

  .btn-lg {
    padding: 14px 22px;
    font-size: 15px;
    border-radius: 10px;
  }

  .tile {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0));
    overflow: hidden;
  }

  :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
  }

  @keyframes fade-in {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Page-load sequence: [data-rise] plays once with delay --d. */
  @keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
  }
  [data-rise] {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: var(--d, 0ms);
  }
  @media (prefers-reduced-motion: reduce) {
    [data-rise] { animation: none; }
  }


  .page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
  }

  .nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: color-mix(in srgb, var(--bg) 75%, transparent);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
  }

  .nav.is-scrolled {
    border-bottom-color: var(--border);
  }

  .nav-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .nav-brand {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    color: var(--fg);
    transition: color 0.2s ease;
  }

  .nav-brand:hover {
    color: #fff;
  }

  .nav-brand-mark {
    height: 1cap;
    width: auto;
    flex: none;
  }

  .nav-brand-name {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1;
    color: var(--fg-muted);
  }

  .nav-right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .nav-link {
    padding: 0 10px;
    color: var(--fg-muted);
    font-size: 13px;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: color 0.18s ease;
  }

  .nav-link:hover {
    color: var(--fg);
  }

  .nav-stars {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--fg-muted);
    font-size: 13px;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  }

  .nav-stars:hover {
    color: var(--fg);
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-stars strong {
    color: var(--fg);
    font-weight: 600;
  }

  .nav-stars svg {
    color: var(--warn);
    flex-shrink: 0;
  }

  .main {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding: 40px 0 32px;
  }

  .footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
  }

  .footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--fg-dim);
  }

  .footer-brand img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 20px;
  }

  .footer-links a {
    font-size: 13px;
    color: var(--fg-dim);
    transition: color 0.2s ease;
  }

  .footer-links a:hover {
    color: var(--fg);
  }

  @media (max-width: 820px) {
    .nav-inner,
    .footer-inner {
      padding-left: 20px;
      padding-right: 20px;
    }

    .legal-document-page .nav {
      display: none;
    }

    .footer {
      padding-bottom: max(32px, env(safe-area-inset-bottom));
    }

    .footer-inner {
      align-items: flex-start;
      flex-direction: column;
      gap: 28px;
    }

    .footer-links {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      width: 100%;
      gap: 14px 20px;
      justify-content: initial;
    }
  }

  @media (max-width: 420px) {
    .nav-inner {
      gap: 12px;
    }

    .nav-stars {
      height: 34px;
      gap: 6px;
      padding: 0 12px;
      font-size: 12px;
    }
  }


  /* ── Section base ─────────────────────────────────────────── */
  section {
    position: relative;
    padding: 96px 0;
    border-top: 1px solid var(--border);
  }

  .section-head {
    margin-bottom: 56px;
    max-width: 720px;
  }

  .section-head .eyebrow {
    margin-bottom: 14px;
    display: block;
  }

  .section-head h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-bottom: 18px;
  }

  .section-head p {
    color: var(--fg-muted);
    font-size: 18px;
    max-width: 620px;
    letter-spacing: -0.005em;
  }

  .checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--fg-muted);
    font-size: 15px;
  }

  .checklist li svg {
    color: var(--ok);
    flex-shrink: 0;
  }

  /* ── Hero ─────────────────────────────────────────────────── */
  .hero {
    padding: 72px 0 60px;
    position: relative;
    overflow: hidden;
    border-top: 0;
  }

  .hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
      linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
  }

  .hero-inner {
    position: relative;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(38px, 5.6vw, 76px);
    margin: 48px auto 22px;
    max-width: 20ch;
    text-wrap: balance;
  }
  /* Inline boxes ignore transforms, so each rising line needs its own block. */
  .hero-title span { display: inline-block; }

  .hero-sub {
    color: var(--fg-muted);
    font-size: clamp(16px, 1.4vw, 19px);
    max-width: 640px;
    margin: 0 auto 36px;
    letter-spacing: -0.005em;
    line-height: 1.55;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 56px;
  }

  .hero-source-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--fg-muted);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: color 0.18s ease;
  }

  .hero-source-link:hover {
    color: var(--fg);
  }

  .hero-source-mark {
    flex-shrink: 0;
  }

  .hero-source-arrow {
    flex-shrink: 0;
    opacity: 0.6;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .hero-source-link:hover .hero-source-arrow {
    transform: translate(2px, -2px);
    opacity: 1;
  }

  .hero-mobile-line {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--fg-dim);
    font-size: 13px;
    letter-spacing: -0.005em;
  }

  .hero-mobile-line a {
    color: var(--fg-muted);
    text-decoration: underline;
    text-decoration-color: rgba(161, 161, 170, 0.4);
    text-underline-offset: 3px;
    transition: color 0.18s ease, text-decoration-color 0.18s ease;
  }

  .hero-mobile-line a:hover {
    color: var(--fg);
    text-decoration-color: var(--fg);
  }

  /* Download button icons (platform-aware) */
  .dl-icon {
    display: none;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  [data-platform="mac"] .dl-icon--apple { display: block; }
  [data-platform="win"] .dl-icon--windows { display: block; }
  [data-platform="linux"] .dl-icon--linux { display: block; }
  html:not([data-platform]) .dl-icon--apple { display: block; }

  /* Marks enter once, then drift while visible and lean toward the pointer. */
  .hero-float {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    --px: 0px;
    --py: 0px;
  }

  .hero-float-mark {
    position: absolute;
    left: calc(50% + var(--x));
    top: var(--y);
    width: var(--s);
    height: var(--s);
    margin-left: calc(var(--s) / -2);
    translate: calc(var(--px) * var(--depth)) calc(var(--py) * var(--depth));
    transition: translate var(--parallax-duration, 0s) cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .hero-float-card {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 25%;
    background: radial-gradient(circle at 30% 25%, var(--tint, rgba(255, 255, 255, 0.08)), rgba(20, 20, 24, 0.92) 65%);
    border: 1px solid var(--border);
    box-shadow:
      0 20px 48px -16px rgba(0, 0, 0, 0.65),
      0 2px 0 0 rgba(255, 255, 255, 0.04) inset;
    animation:
      mark-in 1s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d) both,
      mark-drift var(--dur) ease-in-out calc(var(--d) + 1s) infinite;
    animation-play-state: running, var(--home-motion-state, paused);
  }

  .hero-float-card img {
    width: 56%;
    height: 56%;
    display: block;
    object-fit: contain;
  }

  @keyframes mark-in {
    from { opacity: 0; transform: translate(var(--fx), var(--fy)) rotate(calc(var(--rot) + 24deg)) scale(0.6); }
    to { opacity: 1; transform: translate(0, 0) rotate(var(--rot)) scale(1); }
  }
  @keyframes mark-drift {
    0%, 100% { transform: translate(0, 0) rotate(var(--rot)); }
    50% { transform: translate(var(--dx), var(--dy)) rotate(calc(var(--rot) + var(--wob))); }
  }

  .hf-opencode    { --x: max(-300px, -19vw); --y: 20px; --s: 64px; --rot: 6deg; --depth: 0.6; --d: 620ms; --dur: 8.5s; --dx: 2px; --dy: -8px; --wob: 3deg; --fx: -40px; --fy: -80px; }
  .hf-antigravity { --x: min(300px, 19vw); --y: 20px; --s: 64px; --rot: -5deg; --depth: 0.6; --d: 580ms; --dur: 9.8s; --dx: -2px; --dy: -9px; --wob: -3deg; --fx: 40px; --fy: -80px; }
  .hf-claude   { --x: max(-560px, -38vw); --y: 128px; --s: 96px; --rot: -8deg; --depth: 1.2; --d: 380ms; --dur: 10.5s; --dx: 4px; --dy: -12px; --wob: -2deg; --fx: -160px; --fy: -40px; --tint: rgba(217, 119, 87, 0.22); }
  .hf-codex    { --x: min(560px, 38vw); --y: 128px; --s: 96px; --rot: 7deg; --depth: 1.2; --d: 460ms; --dur: 9.2s; --dx: -4px; --dy: -10px; --wob: 2deg; --fx: 160px; --fy: -40px; }
  .hf-grok     { --x: max(-440px, -30vw); --y: 440px; --s: 80px; --rot: 4deg; --depth: 0.9; --d: 540ms; --dur: 11.5s; --dx: 3px; --dy: -9px; --wob: -3deg; --fx: -120px; --fy: 80px; }
  .hf-cursor   { --x: min(440px, 30vw); --y: 440px; --s: 80px; --rot: -5deg; --depth: 0.9; --d: 700ms; --dur: 7.8s; --dx: -3px; --dy: -11px; --wob: 3deg; --fx: 120px; --fy: 80px; }

  @media (prefers-reduced-motion: reduce) {
    .hero-float-card { animation: none; transform: rotate(var(--rot)); }
    .hero-float-mark { translate: none; transition: none; }
  }

  @media (max-width: 1180px) {
    .hf-claude, .hf-codex { --s: 80px; }
    .hf-grok, .hf-cursor { --s: 68px; --y: 420px; }
  }

  @media (max-width: 820px) {
    .hero {
      padding-top: 132px;
    }

    .hero-title {
      font-size: clamp(40px, 11vw, 56px);
      margin-top: 14px;
    }

    .hero-actions {
      margin-bottom: 96px;
    }

    /* Four above the headline, two beside the CTA. Keeps the copy clear. */
    .hf-claude      { --x: -37vw; --y: 44px; --s: 64px; --rot: -10deg; }
    .hf-opencode    { --x: -12vw; --y: 52px; --s: 56px; --rot: -4deg; }
    .hf-antigravity { --x: 12vw; --y: 52px; --s: 56px; --rot: 5deg; }
    .hf-codex       { --x: 37vw; --y: 44px; --s: 64px; --rot: 8deg; }
    .hf-grok     { --x: -36vw; --y: 474px; --s: 64px; --rot: -6deg; }
    .hf-cursor   { --x: 36vw; --y: 474px; --s: 64px; --rot: 7deg; }
  }

  @media (max-width: 340px) {
    .hf-opencode, .hf-antigravity, .hf-grok, .hf-cursor { --s: 48px; }
    .hf-grok, .hf-cursor { --y: 580px; }
  }

  .hero-preview {
    max-width: 1180px;
    margin: 0 auto;
    transform: perspective(2000px) rotateX(2deg);
    transition: transform 0.6s ease;
  }

  .hero-preview:hover {
    transform: perspective(2000px) rotateX(0deg);
  }

  .hero-screenshot-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2880 / 1800;
    border-radius: 14px;
    background: #0a0a0c;
    box-shadow: 0 28px 64px -28px rgba(0, 0, 0, 0.75);
  }

  .hero-screenshot-frame picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .hero-screenshot-frame img {
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    margin: -2px;
    object-fit: cover;
    object-position: center top;
  }

  /* ── Harnesses ─────────────────────────────────────────── */
  .sec-harness { background: #09090b; }

  .harness-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .harness {
    padding: 22px 20px;
    display: flex; align-items: center; gap: 14px;
    border-right: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
    transition: background 0.2s ease;
  }
  .harness:last-child { border-right: 0; }
  .harness:hover { background: rgba(255, 255, 255, 0.025); }

  .harness-mark {
    color: var(--fg); opacity: 0.95;
    flex-shrink: 0; width: 28px; height: 28px;
    display: grid; place-items: center;
  }
  .harness-mark img { width: 22px; height: 22px; object-fit: contain; }

  .harness-meta { flex: 1; min-width: 0; }
  .harness-name {
    font-size: 14px; font-weight: 500;
    letter-spacing: -0.01em; margin-bottom: 2px;
  }
  .harness-tag {
    font-family: var(--font-mono);
    font-size: 11px; color: var(--fg-dim);
  }

  .harness-footer {
    display: flex; gap: 24px; flex-wrap: wrap;
    margin-top: 28px; padding-top: 24px;
    border-top: 1px dashed var(--border);
    font-size: 13px; color: var(--fg-muted);
  }
  .harness-footer-item {
    display: inline-flex; gap: 8px; align-items: center;
    color: var(--fg-muted);
  }
  .harness-footer-item svg { color: var(--ok); }

  /* ── Endorsements ─────────────────────────────────────── */
  .sec-endorsements {
    overflow: hidden;
  }

  .endorsements-head {
    max-width: 720px;
    margin-bottom: 56px;
  }

  .endorsements-head h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-bottom: 18px;
  }

  .endorsements-count {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
  }

  .endorsements-head p {
    color: var(--fg-muted);
    font-size: 18px;
    max-width: 620px;
    letter-spacing: -0.005em;
  }

  /* Two marquee rows scrolling in opposite directions. Each track holds the
     row twice so a -50% translate loops seamlessly. The animation only runs
     while a track is on screen (see homeMotion), and pauses on hover/focus. */
  .endorsement-carousel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .endorsement-carousel--mobile {
    display: none;
  }

  .endorsement-carousel::before,
  .endorsement-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: max(48px, calc((100vw - 1240px) / 2 + 56px));
    pointer-events: none;
  }

  .endorsement-carousel::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg), transparent);
  }

  .endorsement-carousel::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg), transparent);
  }

  .endorsement-row {
    overflow: hidden;
  }

  .endorsement-track {
    width: max-content;
    display: flex;
    animation: endorsementMarquee 76s linear infinite;
    animation-play-state: var(--home-motion-state, paused);
    will-change: transform;
  }

  .endorsement-track-group {
    display: flex;
    gap: 12px;
    padding-right: 12px;
  }

  .endorsement-row.is-reverse .endorsement-track {
    animation-direction: reverse;
    animation-duration: 84s;
  }

  .endorsement-carousel:hover .endorsement-track,
  .endorsement-carousel:focus-within .endorsement-track {
    animation-play-state: paused;
  }

  @media (prefers-reduced-motion: reduce) {
    .endorsement-track { animation: none; }
  }

  @keyframes endorsementMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  .endorsement-card {
    position: relative;
    width: clamp(264px, 22vw, 308px);
    height: 132px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.012);
    transition:
      border-color 0.18s ease,
      background 0.18s ease;
  }

  .endorsement-card:hover {
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.03);
  }

  .endorsement-author {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  .endorsement-author img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }

  .endorsement-handle {
    color: var(--fg-muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.005em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .endorsement-card p {
    color: var(--fg);
    font-size: 13.5px;
    line-height: 1.4;
    letter-spacing: -0.003em;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  /* ── Git ──────────────────────────────────────────────── */
  .git-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px; align-items: center;
  }

  .git-visual {
    position: relative;
    display: flex; flex-direction: column;
    align-items: stretch; gap: 20px;
  }

  .git-visual .btn {
    line-height: normal;
    pointer-events: none;
  }

  .pr-card { padding: 20px; }
  .pr-head {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 12px;
  }
  .pr-head svg { color: var(--ok); }
  .pr-title { font-weight: 500; font-size: 15px; flex: 1; }
  .pr-status {
    font-family: var(--font-mono); font-size: 10px;
    color: var(--ok); padding: 2px 8px;
    border: 1px solid var(--ok); border-radius: 999px;
    letter-spacing: 0.08em; text-transform: uppercase;
  }
  .pr-meta {
    display: flex; gap: 14px;
    font-family: var(--font-mono); font-size: 11px;
    color: var(--fg-dim); margin-bottom: 14px; flex-wrap: wrap;
  }
  .pr-meta span { display: inline-flex; align-items: center; gap: 5px; }
  .pr-files {
    border: 1px solid var(--border); border-radius: 8px;
    overflow: hidden; margin-bottom: 16px;
  }
  .pr-files > div {
    display: flex; justify-content: space-between;
    padding: 8px 12px; font-family: var(--font-mono);
    font-size: 11px; border-top: 1px solid var(--border);
    color: var(--fg-muted);
  }
  .pr-files > div:first-child { border-top: 0; }
  .pr-files span { color: var(--fg-dim); }
  .pr-foot { display: flex; justify-content: flex-end; gap: 8px; }

  .pr-trail {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 0; margin: -4px 0;
  }
  .pr-trail-dot {
    width: 8px; height: 8px; border-radius: 999px;
    background: var(--border-strong);
  }
  .pr-trail-line {
    width: 1px; height: 28px;
    background: linear-gradient(180deg, var(--border-strong), var(--accent));
  }

  .pr-button-shell { display: flex; justify-content: center; }
  .pr-button {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 20px;
    background: var(--fg); color: #09090b;
    font-weight: 600; font-size: 13px;
    line-height: normal;
    border-radius: 10px;
    box-shadow: 0 8px 24px -8px rgba(255, 255, 255, 0.2);
  }
  .pr-button-kbd {
    font-family: var(--font-mono); font-size: 10px;
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 6px; border-radius: 4px;
  }

  /* ── Open source ──────────────────────────────────────── */
  .open-head {
    text-align: center;
    margin: 0 auto 56px;
  }

  .open-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 20px;
  }

  .open-term { padding: 0; overflow: hidden; }
  .open-term-head {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 14px; border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
  }
  .open-term-head span {
    width: 10px; height: 10px; border-radius: 999px;
    background: #2a2a30; display: block;
  }
  .open-term-title {
    margin-left: 10px;
    font-family: var(--font-mono); font-size: 11px;
    color: var(--fg-dim); flex: 1; text-align: center;
    background: transparent !important;
    width: auto !important; height: auto !important;
    border-radius: 0 !important;
  }

  .open-term-body {
    padding: 20px 22px;
    font-family: var(--font-mono); font-size: 13px;
    line-height: 1.7; color: var(--fg);
  }
  .open-term-body > div {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .open-term-body .prompt { color: var(--accent); margin-right: 8px; }
  .open-term-body .dim { color: var(--fg-dim); }
  .open-term-body .accent { color: var(--accent); }
  .open-term-body .cursor { display: flex; align-items: center; }
  .caret {
    display: inline-block;
    width: 7px; height: 14px;
    background: var(--fg);
    margin-left: 4px;
    animation: blink 1s steps(2) infinite;
    animation-play-state: var(--home-motion-state, paused);
  }

  @keyframes blink {
    50% { opacity: 0; }
  }

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

  .open-pitch {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    background:
      radial-gradient(110% 75% at 100% 0%, var(--accent-dim), transparent 60%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  }

  .open-pitch-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .open-pitch-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--fg-muted);
  }

  .open-pitch-list strong {
    color: var(--fg);
    font-weight: 600;
  }

  .open-pitch-mark {
    flex: none;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 7px;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  }

  .open-pitch-footer {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .open-pitch-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--fg-dim);
    font-family: var(--font-mono);
    font-size: 11px;
  }

  .open-pitch-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  .open-source-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--fg-muted);
    font-size: 13px;
    font-weight: 500;
    transition: color 0.18s ease;
  }

  .open-source-link:hover {
    color: var(--fg);
  }

  /* ── Final CTA ────────────────────────────────────────── */
  .sec-cta {
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
  }
  .sec-cta::before {
    content: "";
    position: absolute;
    inset: auto 0 -50% 0;
    height: 60%;
    background: radial-gradient(ellipse at center, var(--accent-dim) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0.6;
  }
  .cta-inner { position: relative; }
  .cta-title {
    font-size: clamp(40px, 6vw, 72px);
  }
  .cta-sub {
    color: var(--fg-muted);
    font-size: 18px;
    max-width: 560px;
    margin: 20px auto 36px;
    line-height: 1.55;
    letter-spacing: -0.005em;
  }
  .cta-actions {
    display: flex; gap: 10px;
    justify-content: center; flex-wrap: wrap;
    margin-bottom: 24px;
  }

  /* ── Responsive ────────────────────────────────────────── */
  @media (max-width: 960px) {
    .hero-preview {
      width: min(860px, calc(100vw - 24px));
      margin-left: 50%;
      transform: translateX(-50%) perspective(1600px) rotateX(1.5deg);
    }
    .hero-preview:hover {
      transform: translateX(-50%) perspective(1600px) rotateX(0deg);
    }
    .harness-grid { grid-template-columns: 1fr 1fr; }
    .harness { border-right: 0; border-bottom: 1px solid var(--border); }
    .harness:nth-child(odd) { border-right: 1px solid var(--border); }
    .harness:nth-child(even) { border-right: 0; }
    .git-inner { grid-template-columns: 1fr; gap: 40px; }
    .open-grid { grid-template-columns: 1fr; }
  }

  @media (max-width: 820px) {
    section { padding: 64px 0; }
    .sec-cta { padding: 96px 0; }
    .container { padding-left: 20px; padding-right: 20px; }
    .hero-preview { display: none; }
    .endorsements-head {
      margin-bottom: 40px;
    }
    .endorsement-carousel--desktop {
      display: none;
    }
    .endorsement-carousel--mobile {
      display: flex;
    }
    .endorsement-carousel::before,
    .endorsement-carousel::after {
      width: 28px;
    }
    .endorsement-track {
      animation-duration: 68s;
    }
    .endorsement-row.is-reverse .endorsement-track {
      animation-duration: 76s;
    }
    .endorsement-card {
      width: 268px;
      padding: 14px;
    }
    .endorsement-card p {
      font-size: 13px;
    }
  }

:root{--accent:#7B9AFF;--accent-dim:rgba(47,86,220,.15)}
[id]{scroll-margin-top:90px}.nav-logo{width:146px;height:auto}.nav-stars svg{color:var(--accent)}.skip-link{position:fixed;top:-80px;left:20px;z-index:10000;padding:12px;background:var(--fg);color:var(--bg)}.skip-link:focus{top:12px}
.hero-title{max-width:23ch}.hero-inner{z-index:2}.hero-title span{white-space:nowrap}.hero-float-card svg{width:52%;height:52%;stroke-width:1.5}.hero-float .hf-claude{--tint:rgba(47,86,220,.24)}.hero-float .hf-codex{--tint:rgba(123,154,255,.13)}.hero-float .hf-antigravity{--tint:rgba(47,86,220,.17)}.hero-float-card img{width:42%;height:56%}
.hero-screen-button{display:block;width:100%;text-align:initial}.hero-screenshot-frame{aspect-ratio:2880/1838}.hero-screenshot-frame img{object-fit:cover}.screen-caption{color:var(--fg-dim);font-family:var(--font-mono);font-size:10px;text-align:center;margin:15px 0 0;letter-spacing:.01em}
.endorsement-card{text-align:left;cursor:default}.endorsement-author svg{color:var(--accent);width:18px;height:18px}.endorsement-card p{font-size:16px;line-height:1.45}.endorsement-card{justify-content:center}.marquee-control{display:inline-flex;align-items:center;gap:7px;color:var(--fg-muted);font-size:12px;margin-top:18px;padding:5px 0}.marquee-control svg{width:12px;height:12px}.marquee-paused .endorsement-track{animation-play-state:paused!important}
.section-head.tight{margin-bottom:28px}.section-link{margin-top:24px;display:inline-flex;gap:8px;align-items:center;font-size:14px;color:var(--fg)}.section-link:hover{color:var(--accent)}.section-link svg{width:15px;height:15px}.pr-button-shell .pr-button{cursor:pointer}.pr-button-shell .pr-button:hover{background:#fff;transform:translateY(-1px)}.pr-card .pr-foot .btn{pointer-events:auto}.question-line{color:var(--fg);font-size:17px;line-height:1.55;margin:7px 0 18px}.answer-line{color:var(--fg-muted);font-size:14px;line-height:1.75;margin:0 0 20px}.answer-line strong{color:var(--fg)}.pr-files>div{gap:15px;font-size:11px}.pr-files>div span:last-child{color:var(--ok)}.pr-card .pr-meta{font-size:10px}.pr-card .pr-status{font-size:9px}
.open-term>button{display:block;width:100%}.product-image{width:100%;height:auto;display:block;border-radius:11px}.product-panel{padding:10px;background:rgba(255,255,255,.025)}.product-panel button{width:100%}.product-panel img{width:100%;height:auto;border-radius:6px}.open-pitch-list svg{width:13px;height:13px}.mobile-inner{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.phones{display:flex;align-items:center;justify-content:center;gap:20px;height:480px}.phone{width:200px;border:0;padding:0;background:transparent;filter:drop-shadow(0 24px 30px #0005)}.phone:nth-child(2){margin-top:55px}.phone img{display:block;width:100%;height:auto}.phone:first-child{margin-top:-35px}.mobile-copy .section-head{margin-bottom:28px}
.faq-inner{display:grid;grid-template-columns:1fr 1.25fr;gap:80px}.faq-list{border-top:1px solid var(--border)}details{border-bottom:1px solid var(--border)}summary{list-style:none;cursor:pointer;padding:23px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:17px}summary::-webkit-details-marker{display:none}summary::after{content:'+';font-weight:400;color:var(--fg-dim);font-size:23px}details[open] summary::after{content:'−'}details p{padding:0 32px 24px 0;font-size:15px;color:var(--fg-muted);line-height:1.7}details a{text-decoration:underline;text-underline-offset:3px}.footer-brand img{width:18px;height:23px;border-radius:0}.footer-links{gap:18px}.footer-source{max-width:1240px;margin:18px auto 0;padding:0 32px;color:var(--fg-faint);font-size:10px}
.demo-dialog{position:fixed;inset:0;margin:auto;width:min(1300px,calc(100vw - 40px));max-width:1300px;max-height:calc(100dvh - 40px);overflow:hidden;background:var(--bg-card);color:var(--fg);border:1px solid var(--border-strong);border-radius:16px;padding:0;box-shadow:0 40px 160px #000c}.demo-dialog[open]{display:flex;flex-direction:column}.demo-dialog::backdrop{background:#000b;backdrop-filter:blur(12px)}.demo-dialog-head{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;border-bottom:1px solid var(--border)}.demo-dialog-head h2{font-size:16px;font-weight:500}.demo-close{flex-shrink:0;display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--border);border-radius:7px;font-size:22px}.demo-tabs{flex-shrink:0;display:flex;gap:6px;padding:14px 20px;overflow:auto;align-items:center}.demo-tab{white-space:nowrap;padding:8px 13px;border-radius:7px;font-size:12px;color:var(--fg-muted);border:1px solid transparent}.demo-tab[aria-selected=true]{color:var(--fg);background:#ffffff0a;border-color:var(--border-strong)}.demo-panel{display:flex;flex-direction:column;min-height:0;padding:0 20px 16px}.demo-panel img{display:block;flex:1 1 auto;min-height:0;width:100%;height:auto;object-fit:contain;border-radius:8px}.demo-panel p{flex-shrink:0;padding-top:12px;color:var(--fg-muted);font-size:12px}.demo-panel img.is-phone{width:auto;max-width:100%;max-height:65dvh;margin:0 auto}.demo-dialog:focus{outline:none}
@media(max-width:960px){.mobile-inner{gap:35px}.faq-inner{gap:40px}.phones{gap:12px}.phone{width:170px}}
@media(max-width:820px){.hero-title{font-size:clamp(34px,8.9vw,56px);margin-top:14px;line-height:1.08}.hero-sub{max-width:540px}.hero-actions{margin-bottom:30px}.hero{padding-bottom:58px}.nav-logo{width:126px}.nav-extra{display:none}.endorsement-carousel--desktop{display:flex}.hero-preview{display:none}.hero .screen-caption{display:none}.mobile-inner,.faq-inner{grid-template-columns:1fr;gap:40px}.phones{height:420px;order:2}.phone{width:170px}.mobile-copy .section-head{max-width:600px}.faq-inner .section-head{margin-bottom:0}.footer-source{padding:0 20px}.harness{padding:20px 16px}.open-pitch{padding:25px}.demo-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.demo-dialog-head{padding:13px}.demo-tabs{padding:12px 10px;gap:2px}.demo-panel{padding:0 10px 14px}.demo-tab{padding:8px}.hero-float .hf-grok,.hero-float .hf-cursor{--y:470px;--s:54px}.hero-title span{white-space:nowrap}}
@media(max-width:420px){.hero{padding-top:136px}.hero-title{font-size:8.7vw}.hero-sub{font-size:16px}.hero-float .hf-grok,.hero-float .hf-cursor{--y:440px;--s:46px}.hero-actions>.btn{font-size:14px;padding:13px 16px}.hero-mobile-line{font-size:11px}.nav-inner{gap:6px}.nav-right{gap:0}.nav-link{font-size:12px;padding:0 8px}.nav-stars{font-size:11px;padding:0 10px}.nav-stars svg{width:11px}.nav-logo{width:112px}.pr-card{padding:16px}.pr-title{font-size:13px}.pr-meta{gap:8px}.phone{width:145px}.phones{height:350px;gap:12px}.footer-links{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-preview,.hero-float-mark,.hero-float-card,.btn,.hero-source-arrow{transition:none}.endorsement-row{overflow-x:auto}.endorsement-track-group[aria-hidden=true]{display:none}}

.hero-float .hero-float-mark.is-current{--tint:rgba(0,115,230,.24)}
.hero-float .hero-float-mark.is-planned{--tint:rgba(255,255,255,.035)}
.hero-float-card{position:relative}
.provider-mark{display:grid;place-items:center;position:relative;width:56%;height:56%;flex:none}
.provider-mark img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain}
.provider-mark--moneybird{width:61%;height:61%}
.provider-mark--eboekhouden img{border-radius:18%}
.is-planned .provider-mark{filter:grayscale(1) brightness(1.65);opacity:.72}
/* The current Twinfield media kit prescribes the Wolters Kluwer mark.
   Crop its supplied full logo in CSS; the original asset stays untouched. */
.provider-mark--twinfield{width:54%;height:54%;overflow:hidden;border-radius:50%}
.provider-mark--twinfield img{position:absolute;max-width:none;width:833.3333%;height:auto;left:-103.7879%;top:-225.7576%;object-fit:initial}
.hero-provider-status{position:absolute;top:calc(100% - 8px);left:50%;transform:translateX(-50%);padding:3px 7px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:#17171c;color:#c0c0c9;font:500 8px/1.2 var(--font-mono);letter-spacing:.015em;white-space:nowrap;box-shadow:0 3px 10px #0005}
.is-current .hero-provider-status{color:#9cc9ff;border-color:rgba(0,115,230,.3);background:#101b2c}
.harness{padding:22px 14px;gap:12px}
.harness-mark .provider-mark{width:26px;height:26px}
.harness-name{font-size:13px;line-height:1.35}
.harness-tag{margin-top:4px;color:#a1a1aa}
.harness-tag--live{color:#7b9aff}
.provider-note{font-size:10px;color:#a1a1aa;margin-top:3px;line-height:1.3}
.hero-availability{display:inline-flex;align-items:center;gap:6px}
.hero-availability::before{content:'';width:5px;height:5px;border-radius:50%;background:#3291f0;box-shadow:0 0 8px #3291f040}
@media(max-width:820px){.hero-provider-status{font-size:7px;padding:3px 6px;top:calc(100% - 5px)}.harness{padding:20px 16px}.harness-name{font-size:14px}}
@media(max-width:420px){.hero-mobile-line{font-size:10px;gap:5px}.hero-availability{gap:4px}}

/* The theme selects the palette, original SVG artwork and genuine app captures together. */
:root { --primary-hover: #fff; --grid: rgb(255 255 255 / 3.5%); }
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fafaf9; --bg-elev: #f2f3f5; --bg-card: #fff;
  --fg: #171922; --fg-muted: #535966; --fg-dim: #606775; --fg-faint: #626875;
  --border: rgb(23 25 34 / 12%); --border-strong: rgb(23 25 34 / 22%);
  --accent: #2f56dc; --accent-dim: rgb(47 86 220 / 8%); --ok: #28623e; --warn: #805600;
  --primary-hover: #303542; --grid: rgb(23 25 34 / 5%);
}
.btn-primary, .pr-button-shell .pr-button { color: var(--bg); }
.btn-primary:hover, .pr-button-shell .pr-button:hover { background: var(--primary-hover); }
.hero-grid { background-image: linear-gradient(to right, var(--grid) 1px, transparent 1px), linear-gradient(to bottom, var(--grid) 1px, transparent 1px); }
.theme-toggle { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border: 1px solid var(--border); border-radius: 50%; color: var(--fg-muted); margin-right: 8px; }
.theme-toggle:hover { color: var(--fg); background: var(--accent-dim); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-sun { display: block; }.theme-moon { display: none; }
:root[data-theme="light"] .theme-sun { display: none; }
:root[data-theme="light"] .theme-moon { display: block; }
:root[data-theme="light"] .sec-harness { background: var(--bg); }
:root[data-theme="light"] .hero-screenshot-frame { background: #ebece7; box-shadow: 0 28px 64px -28px rgb(23 25 34 / 20%); }
:root[data-theme="light"] .hero-float-card { background: radial-gradient(circle at 30% 25%, var(--tint), #fff 75%); box-shadow: 0 16px 40px -18px rgb(23 25 34 / 25%); }
:root[data-theme="light"] .hero-float .hero-float-mark.is-planned { --tint: rgb(23 25 34 / 4%); }
:root[data-theme="light"] .is-planned .provider-mark { filter: grayscale(1); opacity: .8; }
:root[data-theme="light"] .hero-provider-status { background: #fff; color: #535966; border-color: var(--border-strong); box-shadow: 0 3px 10px #0001; }
:root[data-theme="light"] .is-current .hero-provider-status { background: #edf2ff; color: #2248bd; border-color: #b8c7f3; }
:root[data-theme="light"] .harness-tag, :root[data-theme="light"] .provider-note { color: var(--fg-muted); }
:root[data-theme="light"] .harness-tag--live { color: var(--accent); }
:root[data-theme="light"] .harness:hover, :root[data-theme="light"] .demo-tab[aria-selected=true] { background: var(--accent-dim); }
:root[data-theme="light"] .phone { filter: drop-shadow(0 24px 30px #0002); }
:root[data-theme="light"] .demo-dialog { box-shadow: 0 30px 100px #0003; }
:root[data-theme="light"] .nav-brand:hover { color: var(--fg); }
@media(max-width:420px) { .theme-toggle { width: 34px; height: 34px; flex-basis: 34px; margin-right: 2px; } }

.nav-language { display:inline-flex; align-items:center; gap:6px; min-height:36px; padding:0 10px; margin-right:6px; border:1px solid var(--border-strong); border-radius:999px; color:var(--fg); font-size:12px; white-space:nowrap; }
.nav-language:hover { background:var(--accent-dim); }
.nav-language svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.5; }
.nav-language-code { display:none; }
@media(max-width:600px) {
  .nav-language { margin-right:2px; padding:0 8px; }
  .nav-language-name { display:none; }
  .nav-language-code { display:inline; }
}
@media(max-width:420px) { .nav-logo { width:100px; } }

@media(max-width:420px) { html[lang="en"] .hero-float .hf-grok, html[lang="en"] .hero-float .hf-cursor { --y:380px; } }

.nav-right { gap:10px; }
.nav-language { min-height:40px; margin-right:0; }
.theme-toggle { margin-right:0; }
.nav-login { display:inline-flex; align-items:center; justify-content:center; min-height:40px; padding:0 18px; border:1px solid #7390ff66; border-radius:10px; background:linear-gradient(135deg,#3d65ee,#2f56dc); color:#fff; font-size:14px; font-weight:600; line-height:1.2; white-space:nowrap; box-shadow:0 4px 16px -5px #2f56dc80; transition:background .16s,box-shadow .16s; }
.nav-login:hover { background:linear-gradient(135deg,#3d65ee,#355fe7); box-shadow:0 5px 20px -5px #2f56dca0; }
.nav-login:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
@media(max-width:420px) {
  .nav-right { gap:6px; }
  .nav-language { min-height:36px; margin-right:0; }
  .theme-toggle { margin-right:0; }
  .nav-login { min-height:36px; padding:0 12px; font-size:13px; border-radius:9px; }
}
