@font-face {
  font-family: "Geist";
  src: url("fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* Same palette as the Bloxxy app: warm near-blacks, one orange accent. */
:root {
  color-scheme: dark;
  --bg: #121110;
  --bg-1: #171513;
  --bg-2: #1d1a17;
  --line: #2a2622;
  --line-2: #3a342e;
  --fg: #ede7de;
  --fg-2: #c4bbb0;
  --fg-3: #988e83;
  --fg-4: #6f665d;
  --accent: #d97757;
  --accent-2: #e88f70;
  --accent-ink: #1b0f0a;
  --accent-soft: rgb(217 119 87 / 0.09);
  --ok: #8db86f;
  --claude: #d97757;
  --codex: #cdc5ba;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html { overflow-x: clip; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: rgb(217 119 87 / 0.35); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 20; padding: 8px 12px; background: var(--fg); color: var(--bg); border-radius: 6px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 20px;
  border-radius: 7px;
  font-weight: 550; font-size: 15px;
  text-decoration: none; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { border-color: var(--line-2); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg-4); background: var(--bg-1); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 14px; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgb(18 17 16 / 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 17px; letter-spacing: -0.01em; text-decoration: none; }
.logo { display: grid; grid-template-columns: 7px 7px; gap: 2px; }
.logo i { width: 7px; height: 7px; border-radius: 1.5px; background: var(--fg); }
.logo i:nth-child(1), .logo i:nth-child(4) { background: var(--accent); }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--fg-3); text-decoration: none; font-size: 14.5px; transition: color 150ms ease; }
.nav-links a:hover { color: var(--fg); }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 32px; }
.hero-grid { display: grid; gap: 56px; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: end; }
h1 {
  grid-column: 1 / -1;
  max-width: 17ch;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  font-weight: 650;
  text-wrap: balance;
}
.lede { margin-top: 24px; max-width: 44ch; font-size: 19px; color: var(--fg-2); text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
/* The screenshot bleeds off the right edge of the page. */
.hero-shot { margin-right: calc((100vw - min(1200px, 100vw - 48px)) / -2); }
.hero-shot img {
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.6);
}
.hero-shot figcaption { margin-top: 12px; color: var(--fg-4); font-size: 13px; }

/* ---------- Statement ---------- */
.statement { padding: 96px 0 72px; }
.statement-text {
  max-width: 28ch;
  font-size: clamp(1.7rem, 3.3vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 550;
  color: var(--fg-2);
  text-wrap: balance;
}
.accent { color: var(--accent); }

/* ---------- Section basics ---------- */
section[id] { scroll-margin-top: 80px; }
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.028em;
  font-weight: 650;
  max-width: 22ch;
  text-wrap: balance;
}
.section-lede { margin-top: 16px; max-width: 58ch; color: var(--fg-2); font-size: 17px; }
.eyebrow { font-family: var(--mono); font-size: 13px; color: var(--accent); margin-bottom: 14px; }
.fine { color: var(--fg-4); font-size: 13px; line-height: 1.55; }

/* ---------- How it works (bento) ---------- */
.how { padding: 48px 0 112px; }
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}
.tile {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.tile-text { padding: 26px 28px 22px; }
.tile h3 { font-size: 19px; letter-spacing: -0.015em; font-weight: 620; }
.tile p { margin-top: 8px; color: var(--fg-3); font-size: 15px; max-width: 46ch; }
.tile img { border-top: 1px solid var(--line); }
.tile-agents { grid-column: span 8; }
/* Live mini version of the app's agent list (the real UI's design, animated by site.js). */
.live { margin-top: auto; border-top: 1px solid var(--line); background: var(--bg); font-family: var(--mono); font-size: 13px; }
.live-head { display: flex; gap: 12px; align-items: center; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--fg-2); white-space: nowrap; overflow: hidden; }
.lh-working { color: var(--accent); }
.lh-waiting { color: #d9a74a; }
.lh-error { color: #d46a5c; }
.lh-new { margin-left: auto; color: var(--fg-2); }
.live-list { padding: 6px 0 8px; }
.live-list li { display: grid; grid-template-columns: 22px 120px 104px minmax(0, 1fr) 62px; align-items: center; height: 31px; padding: 0 16px 0 10px; color: var(--fg-3); }
.live-list li:nth-child(2) { background: #23201d; }
.live-list .h, .live-list .t, .live-list .l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-list .t { color: var(--fg-3); padding-left: 4px; }
.live-list .l { color: var(--fg-2); padding: 0 12px 0 4px; transition: opacity 180ms ease; }
.live-list .l.is-swap { opacity: 0; }
.live-list .k { text-align: right; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.l-warn { color: #d9a74a !important; }
.l-err { color: #d46a5c !important; }
.l-dim { color: var(--fg-4) !important; }
.c-claude { color: var(--claude); }
.c-codex { color: var(--codex); }
.c-gemini { color: #a3a7c4; }
.g { text-align: center; }
.g::before { content: "\25CB"; color: var(--fg-4); }
.s-working .g::before { content: "\273B"; color: var(--accent); animation: spin-glyph 1.1s linear infinite; }
.s-waiting .g::before { content: "\25CC"; color: #d9a74a; }
.s-completed .g::before { content: "\2713"; color: var(--ok); }
.s-error .g::before { content: "\2717"; color: #d46a5c; }
@keyframes spin-glyph {
  0% { content: "\00B7"; } 17% { content: "\2722"; } 33% { content: "\2733"; }
  50% { content: "\2736"; } 67% { content: "\273B"; } 83% { content: "\273D"; }
}
.tile-explorer { grid-column: span 4; grid-row: span 2; }
/* Whole image, never cropped: natural width, right under the text. */
.tile-explorer img { width: min(271px, calc(100% - 56px)); height: auto; margin: 2px 0 28px 28px; border: 1px solid var(--line); border-radius: 8px; }
.tile-terminal { grid-column: span 8; }
.tile-terminal img { margin-top: auto; }
.tile-branches { grid-column: span 5; }
.tile-next { grid-column: span 7; flex-direction: row; }
.tile-next img { width: 48%; object-fit: cover; border-top: 0; border-right: 1px solid var(--line); }
.tile-next .tile-text { align-self: center; }

.branches { margin: auto 28px 28px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); font-family: var(--mono); font-size: 13.5px; display: grid; gap: 9px; }
.branches li { display: flex; align-items: center; gap: 10px; color: var(--fg-2); white-space: nowrap; overflow: hidden; }
.branches em { margin-left: auto; font-style: normal; color: var(--fg-4); font-size: 12.5px; }
.b-dot { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.b-claude { background: var(--claude); }
.b-codex { background: var(--codex); }
.b-main { background: var(--ok); }

/* ---------- Compare ---------- */
.compare { padding: 112px 0; border-top: 1px solid var(--line); }
.table-wrap { margin-top: 44px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.cmp { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font-weight: 600; font-size: 15px; color: var(--fg); background: var(--bg-1); }
.cmp tbody th { width: 23%; font-weight: 500; color: var(--fg-2); position: sticky; left: 0; background: var(--bg); }
.cmp td { color: var(--fg-3); }
.cmp .us { background: var(--accent-soft); color: var(--fg); box-shadow: inset 1px 0 0 rgb(217 119 87 / 0.35); }
.cmp thead .us { color: var(--accent); background: rgb(217 119 87 / 0.12); }
.yes { color: var(--ok); font-weight: 600; }
.no { color: var(--fg-4); }
.compare .fine { margin-top: 16px; max-width: 80ch; }

/* ---------- Your accounts ---------- */
.byo { padding: 112px 0; border-top: 1px solid var(--line); }
.byo-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.fact { border-top: 1px solid var(--line-2); padding-top: 18px; }
.fact dt { font-weight: 600; font-size: 17px; }
.fact dd { margin-top: 8px; color: var(--fg-3); font-size: 15px; }

/* ---------- Download ---------- */
.download { padding: 112px 0; background: var(--bg-1); border-block: 1px solid var(--line); }
.download-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.download .btn-lg { margin-top: 32px; }
.version { margin-top: 12px; font-family: var(--mono); font-size: 13px; color: var(--fg-4); }
.needs { padding: 28px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg); }
.needs h3 { font-size: 16px; font-weight: 600; }
.needs ul { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; color: var(--fg-2); font-size: 15px; }
.needs li { padding-left: 16px; position: relative; }
.needs li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 1px; background: var(--fg-4); }
.needs code { display: block; margin-top: 6px; padding: 7px 10px; border-radius: 6px; background: var(--bg-2); font-family: var(--mono); font-size: 12.5px; color: var(--fg-2); overflow-x: auto; white-space: nowrap; }
.needs .fine { margin-top: 18px; }
.needs strong { color: var(--fg-2); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { padding: 112px 0 96px; }
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin-top: 40px; }
.qa > div { padding: 24px 0; border-top: 1px solid var(--line); }
.qa dt { font-weight: 600; font-size: 17px; }
.qa dd { margin-top: 8px; color: var(--fg-3); font-size: 15px; max-width: 52ch; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.footer-links a { color: var(--fg-3); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--fg); }
.footer .fine { flex-basis: 100%; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero-copy > *, .js .hero-shot { opacity: 0; transform: translateY(10px); animation: rise 700ms var(--ease) forwards; }
.js .hero-copy > :nth-child(2) { animation-delay: 70ms; }
.js .hero-copy > :nth-child(3) { animation-delay: 140ms; }
.js .hero-shot { animation-delay: 200ms; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero-copy > *, .js .hero-shot { opacity: 1; transform: none; transition: none; animation: none; }
  .btn:active { transform: none; }
  .s-working .g::before { animation: none; }
}

/* ---------- Smaller screens ---------- */
@media (max-width: 1080px) {
  .hero-copy { grid-template-columns: 1fr; }
  .hero-shot { margin-right: -24px; }
  .tile-agents, .tile-terminal { grid-column: span 12; }
  .tile-explorer { grid-column: span 5; grid-row: span 1; }
  .tile-branches { grid-column: span 7; }
  .tile-next { grid-column: span 12; }
  /* minmax(0, ...) stops long install commands from widening the column past the screen. */
  .byo-grid, .download-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .nav-links { display: none; }
  .nav-inner .btn { margin-left: auto; }
  .hero { padding-top: 44px; }
  .hero-shot { margin-right: -16px; }
  .hero-shot img { border-radius: 8px 0 0 8px; border-right: 0; }
  .statement { padding: 72px 0 56px; }
  .how, .compare, .byo, .download, .faq { padding-block: 80px; }
  .bento { gap: 12px; }
  .tile-explorer, .tile-branches { grid-column: span 12; }
  .tile-explorer img { margin-left: 20px; width: min(271px, calc(100% - 40px)); }
  .tile-next { flex-direction: column; }
  .tile-next img { width: 100%; border-right: 0; border-bottom: 1px solid var(--line); }
  .tile-text { padding: 22px 20px 18px; }
  .branches { margin: auto 20px 20px; font-size: 12.5px; }
  .live { font-size: 12px; }
  .live-list li { grid-template-columns: 20px 108px minmax(0, 1fr); padding-right: 12px; }
  .live-list .t, .live-list .k, .lh-waiting, .lh-error { display: none; }
  .facts, .qa { grid-template-columns: minmax(0, 1fr); }
  .cmp tbody th { width: 34%; }
  .footer-links { margin-left: 0; }
}
