/* QuorX site. Plain CSS, self-hosted fonts, dark only. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #070908;
  --panel: #0d1210;
  --panel-2: #111815;
  --line: #273932;
  --text: #e7edea;
  --bright: #fff;
  --muted: #83948c;
  --dim: #506159;
  --green: #2fb36f;
  --green-hover: color-mix(in oklch, var(--green), white 14%);
  --ink: #04140b;
  --cyan: #29b6e0;
  --amber: #f0b429;
  --red: #e5534b;
  --dot: #17221d;

  --font-display: "Inter", ui-sans-serif, "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 24px 64px rgba(0, 0, 0, .6);
  --gutter: 16px;
  --max: 1200px;
  --nav-h: 64px;
  --ease: cubic-bezier(.2, 0, 0, 1);
}
@media (min-width: 640px) { :root { --gutter: 28px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); color-scheme: dark; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at center, var(--dot) 1.2px, transparent 1.8px) 0 0 / 48px 48px,
    var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 120% 90% at 50% 20%, transparent 45%, rgba(4, 6, 5, .85) 100%);
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
code, kbd, pre { font-family: var(--font-mono); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--green); color: var(--ink);
  font-weight: 700; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.kicker {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
}
.h1, .h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--bright);
  text-wrap: balance;
}
.h1 { font-size: clamp(38px, 6.2vw, 76px); line-height: 1.02; }
.h2 { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.06; }
.h1 em, .h2 em { font-style: normal; color: var(--green); }
.h3 { font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -.012em; color: var(--bright); }
.lede { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--text); max-width: 60ch; text-wrap: pretty; }
.body { color: var(--muted); max-width: 62ch; text-wrap: pretty; }
.body strong, .lede strong { color: var(--text); font-weight: 600; }
.money { font-family: var(--font-mono); font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); }
.inline-link { color: var(--text); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.inline-link:hover { text-decoration-color: var(--green); }

.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .h2 { max-width: 20ch; }

section { position: relative; }
.section { padding-block: clamp(72px, 10vw, 128px); }

/* ---------- Buttons, chips, pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border-radius: 999px;
  font-family: var(--font-body); font-weight: 650; font-size: 15px; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .08s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: var(--ink); }
.btn-primary:hover { background: var(--green-hover); color: var(--ink); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line); }
.btn-secondary:hover { background: var(--panel-2); border-color: color-mix(in oklch, var(--line), var(--green) 45%); color: var(--bright); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn .arrow { font-family: var(--font-mono); font-weight: 500; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px;
  border: 1px solid var(--line); border-radius: 6px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; line-height: 1.4;
  color: var(--text); background: rgba(13, 18, 16, .7);
}
.chip .n { color: var(--green); font-weight: 600; }
.chip.is-amber { color: var(--amber); border-color: color-mix(in oklch, var(--amber), var(--bg) 60%); }
.chip.is-red { color: var(--red); border-color: color-mix(in oklch, var(--red), var(--bg) 55%); }

.pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 8px; border-radius: 4px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; line-height: 1.6;
  white-space: nowrap;
}
.pill-green { background: var(--green); color: var(--ink); }
.pill-amber { background: var(--amber); color: #1d1503; }
.pill-red { background: var(--red); color: #1c0605; }
.pill-neutral { background: #1f2b26; color: var(--bright); }
.pill-cyan { background: color-mix(in oklch, var(--cyan), var(--bg) 78%); color: #bfeefd; }

/* ---------- Shot cards ---------- */
.shot {
  position: relative;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.shot img, .shot video { width: 100%; height: auto; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(7, 9, 8, .78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(39, 57, 50, .6);
}
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 32px; height: 32px; }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -.03em; color: var(--bright); }
.wordmark span { color: var(--green); }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a {
  padding: 8px 12px; border-radius: 8px;
  font-size: 14.5px; font-weight: 550; color: var(--text); text-decoration: none;
  transition: background-color .15s var(--ease);
}
.nav-links a:hover { background: var(--panel-2); color: var(--bright); }
.nav-actions { margin-left: auto; display: flex; gap: 8px; }
.menu-btn {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 10px;
  border: 1.5px solid var(--line); background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 1.5px; background: var(--text); border-radius: 2px; position: relative;
  transition: transform .2s var(--ease), background-color .2s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.nav.is-open .menu-btn span { background: transparent; }
.nav.is-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav-panel {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    display: none; flex-direction: column; gap: 16px;
    padding: 16px var(--gutter) 24px;
    height: calc(100dvh - var(--nav-h)); overflow-y: auto;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav-panel { display: flex; }
  .nav-links { flex-direction: column; margin: 0; gap: 0; }
  .nav-links a { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid rgba(39, 57, 50, .5); border-radius: 0; }
  .nav-links a:hover { background: transparent; color: var(--green); }
  .nav-actions { margin: 4px 0 0; }
  .nav-actions .btn { flex: 1; }
}
@media (min-width: 961px) { .nav-panel { display: flex; align-items: center; flex: 1; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero-copy { display: grid; gap: 22px; max-width: 980px; }
.hero .h1 { max-width: 17ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); letter-spacing: .01em; }

.hero-visual { position: relative; margin-top: clamp(40px, 6vw, 72px); padding-bottom: 12%; }
.hero-visual::before {
  content: ""; position: absolute; z-index: -1;
  inset: 8% 10% 20%;
  background: radial-gradient(closest-side, rgba(47, 179, 111, .26), rgba(41, 182, 224, .06) 60%, transparent);
  filter: blur(40px);
}
.hero-window { aspect-ratio: 1600 / 1000; }
.loop-card {
  position: absolute; right: -1%; bottom: 0; width: 40%;
  aspect-ratio: 16 / 9;
}
.loop-card video { height: 100%; object-fit: cover; }
.loop-toggle {
  position: absolute; right: 10px; bottom: 10px;
  min-width: 44px; min-height: 32px; padding: 0 12px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(7, 9, 8, .72); backdrop-filter: blur(8px);
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--bright); cursor: pointer;
}
.loop-toggle:hover { background: rgba(17, 24, 21, .92); }
@media (max-width: 700px) {
  .hero-visual { padding-bottom: 20%; }
  .loop-card { width: 58%; right: 0; }
}

.pillars { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(32px, 4vw, 48px); }
.pillars a { text-decoration: none; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.pillars a:hover { border-color: var(--green); background: var(--panel-2); color: var(--bright); }

/* ---------- Watch ---------- */
.watch-grid { display: grid; gap: 28px; }
@media (min-width: 1000px) { .watch-grid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: start; gap: 40px; } }
.yt { aspect-ratio: 16 / 9; }
.yt-facade {
  position: absolute; inset: 0; width: 100%; height: 100%;
  padding: 0; border: 0; background: var(--panel); cursor: pointer;
}
.yt-facade img { width: 100%; height: 100%; object-fit: cover; }
.yt-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .55);
  transition: scale .15s var(--ease), background-color .15s var(--ease);
}
.yt-play::after {
  content: ""; position: absolute; left: 34px; top: 27px;
  border-left: 22px solid var(--ink); border-top: 15px solid transparent; border-bottom: 15px solid transparent;
}
.yt-facade:hover .yt-play { scale: 1.06; background: var(--green-hover); }
.yt-facade:focus-visible { outline-offset: -4px; border-radius: var(--radius); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-note { margin-top: 12px; font-size: 13px; color: var(--muted); }

.chapters { display: grid; }
.chapters h3 { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.chapter {
  display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: baseline;
  width: 100%; padding: 14px 12px; text-align: left;
  background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0;
  cursor: pointer; font-size: 15.5px; line-height: 1.45; color: var(--text);
  transition: background-color .15s var(--ease);
}
.chapter:last-of-type { border-bottom: 1px solid var(--line); }
.chapter:hover { background: var(--panel-2); color: var(--bright); }
.chapter .t { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; }
.chapter[aria-current="true"] { background: var(--panel-2); color: var(--bright); }
.yt-out { margin-top: 18px; font-size: 14.5px; }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 28px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 32px; } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding-top: 18px; border-top: 1.5px solid var(--line); display: grid; gap: 10px; align-content: start; }
.step-n { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--green); }
.step p { color: var(--muted); font-size: 15.5px; }


/* ---------- Quorum ---------- */
.quorum {
  background:
    radial-gradient(ellipse 70% 60% at 85% 30%, rgba(47, 179, 111, .07), transparent 70%),
    linear-gradient(180deg, transparent, rgba(13, 18, 16, .55) 18%, rgba(13, 18, 16, .55) 82%, transparent);
}
.quorum-top { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1040px) { .quorum-top { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; } }
.quorum-top .h2 { font-size: clamp(34px, 5vw, 64px); max-width: 13ch; }
.quorum-copy { display: grid; gap: 20px; }

.decider {
  position: relative;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow), 0 0 0 1px rgba(47, 179, 111, .05) inset;
  padding: clamp(18px, 2.6vw, 28px);
  display: grid; gap: 18px;
}
.decider-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.decider-label { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.decider-q { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.4; font-weight: 650; color: var(--bright); letter-spacing: -.01em; text-wrap: pretty; }
.d-rows { display: grid; }
.d-row {
  display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 14px; align-items: baseline;
  padding: 14px 0; border-top: 1px solid var(--line);
}
.d-key { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.d-val { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.d-ans { font-weight: 700; font-size: 16.5px; color: var(--bright); }
.d-ans.is-old { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--dim); text-decoration-thickness: 1.5px; }
.d-meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.d-meta b { color: var(--text); font-weight: 600; }
.d-spread { display: grid; gap: 8px; width: 100%; }
.bar { display: grid; grid-template-columns: minmax(118px, 150px) minmax(0, 1fr) 40px; gap: 12px; align-items: center; font-size: 14px; }
.bar-name { color: var(--text); }
.bar-fill { height: 8px; width: calc(var(--v) * 100%); min-width: 4px; border-radius: 2px; background: var(--dim); transform-origin: left center; }
.bar.is-top .bar-fill { background: var(--green); }
.bar-v { font-family: var(--font-mono); font-size: 12.5px; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar.is-top .bar-v { color: var(--bright); }
.stamp {
  font-family: var(--font-mono); font-weight: 800; font-size: 12px; letter-spacing: .12em;
  padding: 6px 10px; border-radius: 6px;
  color: var(--ink); background: var(--green);
  rotate: -3deg;
  /* It sits at the card's right edge: grow from there, so the pop-in never pushes past the screen on phones */
  transform-origin: right center;
}
@media (max-width: 560px) {
  .d-row { grid-template-columns: 1fr; gap: 6px; }
  .bar { grid-template-columns: 112px minmax(0, 1fr) 36px; gap: 8px; font-size: 13.5px; }
}

/* decider choreography (only when JS + motion allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .decider .d-row { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
  .js .decider .bar-fill { transform: scaleX(0); transition: transform .6s var(--ease); }
  .js .decider .stamp { opacity: 0; scale: 1.6; transition: opacity .2s ease-out, scale .28s cubic-bezier(.3, 1.6, .5, 1); }
  .js .decider .d-ans.is-old { text-decoration-color: transparent; transition: text-decoration-color .3s ease, color .3s ease; color: var(--bright); }
  .js .decider.is-live .d-row { opacity: 1; transform: none; }
  .js .decider.is-live .d-row:nth-child(1) { transition-delay: .15s; }
  .js .decider.is-live .d-row:nth-child(2) { transition-delay: .9s; }
  .js .decider.is-live .d-row:nth-child(3) { transition-delay: 1.5s; }
  .js .decider.is-live .bar-fill { transform: none; transition-delay: 1.75s; }
  .js .decider.is-live .bar:nth-child(2) .bar-fill { transition-delay: 1.85s; }
  .js .decider.is-live .bar:nth-child(3) .bar-fill { transition-delay: 1.95s; }
  .js .decider.is-live .d-ans.is-old { text-decoration-color: var(--dim); color: var(--muted); transition-delay: 1.2s; }
  .js .decider.is-live .stamp { opacity: 1; scale: 1; transition-delay: 2.5s; }
}

.trace-wrap { margin-top: clamp(48px, 7vw, 88px); }
.trace-shot { max-width: 1000px; margin-inline: auto; }
.trace-cap { max-width: 1000px; margin: 14px auto 0; font-size: 14px; color: var(--muted); }
.trace-cap .pill { margin-inline: 2px; vertical-align: 1px; }

.q-points { display: grid; gap: 28px; margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 900px) { .q-points { grid-template-columns: 1fr 1.9fr 1fr; gap: 36px; } }
.q-point { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 1.5px solid var(--line); }
.q-point p { color: var(--muted); font-size: 15.5px; }
.q-point .shot { margin-top: 8px; border-radius: 12px; }

/* ---------- Safety ---------- */
.safety-grid { display: grid; gap: 16px; }
.card {
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: var(--panel);
  padding: clamp(20px, 2.4vw, 28px);
  display: grid; gap: 12px; align-content: start;
}
.card p { color: var(--muted); font-size: 15.5px; }
.card .card-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.card .shot { margin-top: 8px; border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.card .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.card-tint { background: linear-gradient(160deg, var(--panel-2), var(--panel) 70%); }
.card-deny { border-color: color-mix(in oklch, var(--red), var(--line) 70%); }
.caps { display: grid; margin: 4px 0 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.caps div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; background: #0a0f0d; font-family: var(--font-mono); font-size: 13px; }
.caps div + div { border-top: 1px solid var(--line); }
.caps dt { color: var(--muted); }
.caps dd { color: var(--text); }
.caps .money { color: var(--green); font-weight: 600; }
.card .caps-note { font-size: 13px; color: var(--dim); }
.refused { display: grid; gap: 8px; margin-top: 4px; }
.refused li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: #0a0f0d; }
.refused code { font-family: var(--font-mono); font-size: 13.5px; color: var(--text); }
.refused code::before { content: "✕ "; color: var(--red); }
@media (min-width: 760px) {
  .safety-grid { grid-template-columns: repeat(2, 1fr); }
  .s-guard { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .safety-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
      "guard guard mode"
      "undo  trip  stop"
      "deny  deny  stop";
  }
  .s-guard { grid-area: guard; }
  .s-mode { grid-area: mode; }
  .s-undo { grid-area: undo; }
  .s-trip { grid-area: trip; }
  .s-stop { grid-area: stop; }
  .s-deny { grid-area: deny; }
  .s-guard { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 28px; align-items: center; }
  .s-guard .shot { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
}

/* ---------- Checks / Models splits ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) {
  .split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; }
  .split.is-flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .split.is-flip .split-media { order: -1; }
}
.split-copy { display: grid; gap: 20px; }
.split-copy .h2 { max-width: 14ch; }
.ticks { display: grid; gap: 12px; margin-top: 4px; }
.ticks li { position: relative; padding-left: 26px; color: var(--muted); font-size: 15.5px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .55em;
  width: 10px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green);
  rotate: -45deg;
}
.ticks li strong { color: var(--text); font-weight: 600; }
.stack { position: relative; padding-bottom: 6%; }
.stack .s-back { width: 90%; }
.stack .s-front { position: absolute; right: 0; bottom: 0; width: 82%; }
@media (max-width: 640px) {
  .stack { padding-bottom: 0; display: grid; gap: 14px; }
  .stack .s-back, .stack .s-front { position: static; width: 100%; }
}
.models-media { display: grid; gap: 16px; }
.cost-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-size: 14.5px; color: var(--muted); }
.cost-note .money { font-size: 22px; }

/* ---------- More in the box (bento) ---------- */
.bento { display: grid; gap: 16px; }
.tile {
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: var(--panel);
  padding: 22px;
  display: grid; gap: 10px; align-content: start;
  overflow: hidden;
}
.tile p { color: var(--muted); font-size: 15px; }
.tile .shot { margin-top: 8px; border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.t-packs {
  background:
    radial-gradient(circle at center, #1a2a22 1px, transparent 1.6px) 0 0 / 18px 18px,
    linear-gradient(160deg, #0f1a15, var(--panel) 75%);
}
.t-packs .chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 6px 0 4px; }
.t-packs .chip.is-more { color: var(--green); border-style: dashed; }
.t-packs .h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.025em; }
.t-mcp { background: linear-gradient(160deg, color-mix(in oklch, var(--cyan), var(--panel) 90%), var(--panel) 70%); }
@media (min-width: 700px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "packs packs" "run run" "news news" "point drive" "mcp chats";
  }
}
@media (min-width: 1100px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
      "packs packs packs packs"
      "run   run   news  news"
      "point drive mcp   chats";
  }
  .t-packs { grid-template-columns: minmax(0, .75fr) minmax(0, 1.6fr); column-gap: 40px; align-items: center; }
  .t-packs .chips { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}
@media (min-width: 700px) {
  .t-packs { grid-area: packs; } .t-run { grid-area: run; }
  .t-chats { grid-area: chats; } .t-point { grid-area: point; } .t-drive { grid-area: drive; }
  .t-news { grid-area: news; } .t-mcp { grid-area: mcp; }
}

/* ---------- Limits ---------- */
.limits {
  display: grid; gap: 32px;
  border-radius: var(--radius); border: 1.5px solid var(--line);
  background: rgba(13, 18, 16, .75);
  padding: clamp(24px, 4vw, 48px);
}
@media (min-width: 960px) { .limits { grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 56px; } }
.limits-head { display: grid; gap: 14px; align-content: start; }
.limits-head .h2 { font-size: clamp(28px, 3.4vw, 40px); }
.limit-list { display: grid; gap: 28px 40px; }
@media (min-width: 640px) { .limit-list { grid-template-columns: repeat(2, 1fr); } }
.limit-list li { display: grid; gap: 6px; }
.limit-list strong { color: var(--bright); font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.limit-list span { color: var(--muted); font-size: 15px; }

/* ---------- Get it ---------- */
.get-grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .get-grid { grid-template-columns: 1fr 1fr; } }
.get-card { border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--panel); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; align-content: start; }
.get-card.is-main { background: linear-gradient(165deg, #0f1c16, var(--panel) 65%); border-color: color-mix(in oklch, var(--green), var(--line) 70%); }
.get-card .h3 { font-size: 24px; letter-spacing: -.025em; }
.get-card p { color: var(--muted); }
.get-card p code, .get-card li code { font-size: .9em; color: var(--text); }
.note { font-size: 14px; color: var(--muted); }
.note b { color: var(--amber); font-weight: 600; }
.code {
  position: relative;
  border-radius: 10px; border: 1px solid var(--line);
  background: #050706;
  padding: 14px 76px 14px 16px;
  font-family: var(--font-mono); font-size: 13.5px; line-height: 1.75; color: var(--text);
  overflow-x: auto; white-space: pre-wrap;
}
.code .p { color: var(--dim); user-select: none; }
.copy-btn {
  position: absolute; top: 8px; right: 8px;
  min-height: 32px; padding: 0 12px;
  border-radius: 6px; border: 1px solid var(--line); background: var(--panel-2);
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--text); cursor: pointer;
}
.copy-btn:hover { background: #1a2420; color: var(--bright); }
.copy-btn.is-done { color: var(--green); border-color: color-mix(in oklch, var(--green), var(--line) 50%); }
.doc-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 48px 40px; margin-top: clamp(40px, 8vw, 96px); background: rgba(7, 9, 8, .85); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.footer p { color: var(--muted); font-size: 14px; max-width: 56ch; }
.footer .brand { margin-bottom: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 4px; }
@media (min-width: 900px) { .footer-links { justify-content: flex-end; } }
.footer-links a { padding: 8px 10px; border-radius: 6px; font-size: 14.5px; color: var(--text); text-decoration: none; }
.footer-links a:hover { background: var(--panel-2); color: var(--bright); }
.risk { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(39, 57, 50, .6); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.risk b { color: var(--amber); font-weight: 600; }

/* ---------- Press page ---------- */
.press-hero { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 4vw, 48px); display: grid; gap: 18px; }
.press-block { padding-block: clamp(36px, 5vw, 56px); border-top: 1px solid rgba(39, 57, 50, .6); }
.press-block .h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 20px; }
.logo-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.logo-cell { border: 1.5px solid var(--line); border-radius: 12px; background: var(--panel); padding: 20px; display: grid; gap: 12px; justify-items: center; text-align: center; font-size: 13px; color: var(--muted); }
.logo-cell img { width: 96px; height: 96px; image-rendering: auto; }
.logo-cell.is-big { grid-column: span 2; }
.logo-cell.is-big img { width: 160px; height: 160px; }
.logo-cell a { color: var(--text); }
.desc { display: grid; gap: 16px; max-width: 72ch; }
.desc blockquote { margin: 0; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); }
.desc .label { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.swatches { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.swatch { border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); }
.swatch i { display: block; height: 72px; border-bottom: 1px solid var(--line); }
.swatch div { padding: 10px 12px; display: grid; font-size: 13.5px; }
.swatch b { color: var(--bright); font-weight: 600; }
.swatch code { color: var(--muted); font-size: 12.5px; }
.shots-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); align-items: start; }
.shots-grid a { display: grid; gap: 8px; text-decoration: none; color: var(--muted); font-size: 13.5px; }
.shots-grid a .shot { box-shadow: 0 12px 32px rgba(0, 0, 0, .5); transition: border-color .15s var(--ease); }
.shots-grid a:hover .shot { border-color: var(--green); }
.shots-grid a:hover span { color: var(--text); }
@media (max-width: 420px) { .logo-cell.is-big { grid-column: auto; } }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.shots-grid .shot { display: block; }

/* ---------- 404 ---------- */
.notfound { min-height: 100dvh; display: grid; align-content: center; justify-items: start; gap: 22px; padding-block: 64px; }
.notfound .h1 { max-width: 14ch; }

/* ---------- Research card ---------- */
.section-tight { padding-block: clamp(24px, 4vw, 40px); }
.research-card {
  display: grid; gap: 22px; align-items: center;
  border-radius: var(--radius); border: 1.5px solid var(--line);
  background: linear-gradient(160deg, color-mix(in oklch, var(--cyan), var(--panel) 92%), var(--panel) 65%);
  padding: clamp(22px, 3.4vw, 36px);
}
.research-copy { display: grid; gap: 10px; max-width: 62ch; }
.research-copy .h3 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.025em; }
.research-copy p { color: var(--muted); }
.research-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 14px; }
.research-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 960px) {
  .research-card { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; }
  .research-actions { flex-direction: column; align-items: stretch; }
}

/* ---------- Footer newsletter ---------- */
.footer-join { margin-top: 24px; display: grid; gap: 8px; max-width: 460px; }
.footer-join-title { font-size: 16px; font-weight: 700; color: var(--bright); letter-spacing: -.01em; }
.footer .footer-join p.join-msg, .footer .footer-join p.join-fine { font-size: 13px; }

/* ---------- Privacy and thanks pages ---------- */
.legal-block { display: grid; gap: 14px; max-width: 72ch; padding-block: 28px; border-top: 1px solid var(--line); }
.legal-block p { color: var(--muted); }
.legal-list { display: grid; gap: 10px; }
.legal-list li { position: relative; padding-left: 20px; color: var(--muted); }
.legal-list li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 2px; background: var(--green); }
.legal-list b { color: var(--text); font-weight: 600; }
.legal .press-hero { padding-bottom: 28px; }

/* ---------- Newsletter card (home) ---------- */
.news-card {
  display: grid; gap: 24px;
  border-radius: var(--radius); border: 1.5px solid color-mix(in oklch, var(--green), var(--line) 70%);
  background: linear-gradient(165deg, #0f1c16, var(--panel) 65%);
  padding: clamp(22px, 3.4vw, 36px);
}
.news-copy { display: grid; gap: 10px; max-width: 60ch; }
.news-copy .h3 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.025em; }
.news-copy p { color: var(--muted); }

/* ---------- Privacy page ---------- */
.privacy-hero { display: grid; gap: 16px; padding-block: clamp(48px, 7vw, 88px) 28px; max-width: 760px; }
.privacy-hero .h1 { font-size: clamp(38px, 5.4vw, 64px); }
.privacy-glance { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 56px); }
@media (min-width: 800px) { .privacy-glance { grid-template-columns: repeat(3, 1fr); } }
.privacy-glance li {
  display: grid; gap: 6px; align-content: start;
  padding: 20px 22px; border-radius: var(--radius); border: 1.5px solid var(--line);
  background: linear-gradient(160deg, var(--panel-2), var(--panel) 70%);
}
.privacy-glance .glance-icon { color: var(--green); margin-bottom: 6px; }
.privacy-glance b { color: var(--bright); font-size: 17px; letter-spacing: -.01em; }
.privacy-glance span { color: var(--muted); font-size: 14.5px; }
.privacy-layout { display: grid; gap: 28px; padding-bottom: 24px; }
@media (min-width: 960px) { .privacy-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 56px; align-items: start; } }
.privacy-toc { display: none; }
@media (min-width: 960px) {
  .privacy-toc { display: grid; gap: 2px; position: sticky; top: calc(var(--nav-h) + 28px); }
  .privacy-toc p { font: 600 11.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
  .privacy-toc a { padding: 7px 12px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; font-size: 14.5px; }
  .privacy-toc a:hover { color: var(--bright); border-left-color: var(--green); }
}
.privacy-body { display: grid; gap: 18px; max-width: 760px; }
.privacy-section {
  display: grid; gap: 14px; padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--panel);
  scroll-margin-top: calc(var(--nav-h) + 20px);
}
.privacy-section > p { color: var(--muted); }
.privacy-facts { display: grid; }
.privacy-facts div { display: grid; gap: 4px 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.privacy-facts div:first-child { border-top: 0; padding-top: 4px; }
@media (min-width: 640px) { .privacy-facts div { grid-template-columns: 180px minmax(0, 1fr); } }
.privacy-facts dt { font: 600 12.5px/1.5 var(--font-mono); letter-spacing: .04em; color: var(--text); }
.privacy-facts dd { color: var(--muted); font-size: 15px; }
.privacy-leave {
  border-color: color-mix(in oklch, var(--amber), var(--line) 72%);
  background: linear-gradient(160deg, color-mix(in oklch, var(--amber), var(--panel) 94%), var(--panel) 70%);
}

/* ---------- Agentic integrity ---------- */
.integrity-grid { display: grid; gap: 14px; margin-top: clamp(28px, 4vw, 40px); }
@media (min-width: 720px) { .integrity-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .integrity-grid { grid-template-columns: repeat(4, 1fr); } }
.integrity-card {
  display: grid; gap: 10px; align-content: start;
  padding: 22px; border-radius: var(--radius); border: 1.5px solid var(--line);
  background: linear-gradient(160deg, var(--panel-2), var(--panel) 70%);
}
.integrity-card p { color: var(--muted); font-size: 15px; }
.integrity-card .inline-link { font-size: 14px; justify-self: start; }
.integrity-models {
  margin-top: 18px; padding: 16px 20px; border-radius: 12px;
  border: 1.5px dashed var(--line); color: var(--muted); font-size: 15px;
}
.integrity-models b { color: var(--text); }

/* ---------- Coming in 0.2.7 ---------- */
.next-grid { display: grid; gap: 14px; margin-top: clamp(28px, 4vw, 40px); }
@media (min-width: 720px) { .next-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .next-grid { grid-template-columns: repeat(3, 1fr); } .next-card.is-lead { grid-column: span 2; grid-row: span 2; } }
.next-card {
  display: grid; gap: 10px; align-content: start;
  padding: 22px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--panel);
}
.next-card p { color: var(--muted); font-size: 15px; }
.next-card p b { color: var(--text); }
.next-card code { font-size: .9em; color: var(--text); }
.next-card.is-lead {
  border-color: color-mix(in oklch, var(--green), var(--line) 70%);
  background: linear-gradient(165deg, #0f1c16, var(--panel) 65%);
  align-content: center;
}
.next-card.is-lead .h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.025em; }
.next-cost { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 6px; }
.next-cost .money { font-family: var(--font-mono); font-weight: 700; font-size: clamp(26px, 3vw, 36px); color: var(--green); }
.next-cost .money.is-old { font-size: clamp(18px, 2vw, 22px); color: var(--dim); text-decoration: line-through; }
.next-cost .pill { align-self: center; }
.t-chats { background: linear-gradient(160deg, color-mix(in oklch, var(--green), var(--panel) 92%), var(--panel) 70%); }

.next-research { margin-top: 18px; color: var(--muted); font-size: 15px; }
.next-card .inline-link { font-size: 14px; justify-self: start; }

/* ---------- Microsoft Store badge ---------- */
.store-badge { display: inline-flex; border-radius: 8px; line-height: 0; transition: transform .15s var(--ease), filter .15s var(--ease); }
.store-badge img { height: 52px; width: auto; }
.store-badge:hover { transform: translateY(-1px); filter: brightness(1.15); }
.store-badge:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.hero-ctas { align-items: center; }
.get-or { display: flex; align-items: center; gap: 12px; color: var(--dim); font: 600 12px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.get-or::before, .get-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Build it yourself: same weight as the Store badge ---------- */
.source-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 18px; border-radius: 8px;
  border: 1.5px solid color-mix(in oklch, var(--green), var(--line) 40%);
  background: var(--panel-2); color: var(--bright); text-decoration: none;
  font-weight: 700; font-size: 15.5px; letter-spacing: -.01em;
  transition: transform .15s var(--ease), border-color .15s var(--ease);
}
.source-btn svg { color: var(--green); flex: none; }
.source-btn i { font: 600 11px/1 var(--font-mono); font-style: normal; letter-spacing: .06em; color: var(--green); border: 1px solid color-mix(in oklch, var(--green), var(--line) 50%); border-radius: 5px; padding: 4px 6px; }
.source-btn:hover { transform: translateY(-1px); border-color: var(--green); }
.source-btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
@media (max-width: 420px) { .source-btn { height: auto; min-height: 52px; padding: 10px 14px; flex-wrap: wrap; row-gap: 6px; } }
.get-card .kicker { font-size: 12px; }
.get-card.is-source { border-color: color-mix(in oklch, var(--green), var(--line) 70%); }
.btn-source { border-color: color-mix(in oklch, var(--green), var(--line) 40%); }
.get-direct { display: grid; gap: 10px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.get-direct p { font-size: 14px; color: var(--muted); }
.get-direct .inline-link { font-weight: 600; color: var(--text); }

.earlier { display: grid; gap: 8px; margin-top: 18px; padding: 16px 20px; border-radius: 12px; border: 1.5px dashed var(--line); }
.earlier li { color: var(--muted); font-size: 14.5px; }
.earlier b { font-family: var(--font-mono); font-size: 13px; color: var(--green); margin-right: 8px; }

.get-card .get-steps-label { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- Get QuorX: which way updates first ---------- */
.update-order { display: grid; gap: 10px; margin: 4px 0 18px; }
.update-order-q { margin: 0; font: 600 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.update-order ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .update-order ol { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.update-order li {
  position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 2px; align-items: center;
  padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel);
}
.update-order li b { color: var(--bright); font-size: 14.5px; }
.update-order li span:last-child { grid-column: 2; color: var(--muted); font-size: 13px; line-height: 1.4; }
.update-order .uo-n { grid-row: span 2; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; font: 700 12px/1 var(--font-mono); color: var(--ink); background: var(--green); }
.update-order li:nth-child(2) .uo-n { background: color-mix(in oklch, var(--green), var(--panel) 35%); }
.update-order li:nth-child(3) .uo-n { background: color-mix(in oklch, var(--green), var(--panel) 65%); color: var(--text); }
/* An arrow between the steps on wide screens */
@media (min-width: 760px) {
  .update-order li:not(:last-child)::after { content: "→"; position: absolute; right: -21px; top: 50%; transform: translateY(-50%); color: var(--dim); font-size: 15px; }
}
