/* Grasm - site styles.
 *
 * Paper, not a terminal. A reference is a thing you read for an hour, and an
 * hour of glowing text on black is not the same as an hour of ink on paper.
 *
 * So: a cool blue-white ground, electric blue (#1A4DFF) carrying every link
 * and accent, deep indigo ink (#0A1033) carrying headings -- and code in dark
 * indigo panels. That contrast is the whole look: prose is a document, code is
 * a machine, and you can tell them apart from across the room.
 *
 * No external request: fonts are served from vendor/fonts, no CDN, no
 * analytics. Sora sets the display line, Figtree the prose, JetBrains Mono
 * every character the compiler would read. */

@font-face {
  font-family: "Sora";
  src: url("vendor/fonts/sora.woff2") format("woff2-variations"),
       url("vendor/fonts/sora.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("vendor/fonts/figtree.woff2") format("woff2-variations"),
       url("vendor/fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("vendor/fonts/jetbrains-mono.woff2") format("woff2-variations"),
       url("vendor/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f5f7fc;
  --paper-2: #eef1f8;
  --paper-3: #e6eaf7;
  --rule: #e1e6f2;
  --rule-2: #d3deff;
  --card: #ffffff;

  /* The accent. Named for the role it plays, not the hue it happens to be. */
  --accent: #1a4dff;
  --accent-2: #1735c9;
  --accent-3: #eaf0ff;
  --accent-deep: #0f35e8;
  --accent-night: #081a80;
  --accent-sky: #5fb0ff;

  --forest: var(--accent);
  --forest-2: var(--accent-2);
  --forest-3: var(--accent-3);

  --ink: #0a1033;
  --ink-2: #2b3360;
  --ink-3: #5a6390;
  --ink-4: #8c95bf;

  --amber: #9a6b12;
  --red: #c0392b;

  /* Code sits on a dark indigo panel, so these are tuned for that ground. */
  --code-bg: #0a1033;
  --code-bg-2: #141b47;
  --code-fg: #e6eaf7;
  --t-kw: #7fb2ff;
  --t-ty: #6ee7d8;
  --t-fn: #c7a6ff;
  --t-st: #ffb86b;
  --t-nu: #ffb86b;
  --t-cm: #6a74a3;
  --t-op: #8c95bf;

  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter,
    Roboto, "Helvetica Neue", sans-serif;
  --display: "Sora", "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo,
    Consolas, monospace;

  --bar: 64px;
  --rail: 232px;
  --measure: 68ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------------ chrome */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--bar);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 28px;
  border-bottom: 1px solid var(--rule);
  background: rgba(245, 247, 252, .82);
  backdrop-filter: saturate(180%) blur(14px);
}
.topbar .brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.03em;
  font-size: 17px;
}
.topbar .brand svg {
  width: 32px;
  height: 32px;
  padding: 6px;
  border-radius: 10px;
  background: linear-gradient(160deg, #3d6bff, var(--accent-deep));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 4px 14px -4px rgba(15, 53, 232, .6);
}
.topbar .ver {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 2px 9px;
}
/* The nav rides in a pill of its own so the bar reads as one object rather
   than as links scattered along an edge. */
.topbar nav {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--rule);
}
.topbar nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14.2px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
}
.topbar nav a:hover { color: var(--accent); background: var(--accent-3); text-decoration: none; }
.topbar .cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(26, 77, 255, .3);
}
.topbar .cta:hover { background: var(--accent-2); text-decoration: none; }

.frame { display: flex; align-items: flex-start; }

.rail {
  width: var(--rail);
  flex: 0 0 var(--rail);
  padding: 28px 12px 70px 24px;
  position: sticky;
  top: var(--bar);
  height: calc(100vh - var(--bar));
  overflow-y: auto;
  border-right: 1px solid var(--rule);
}
.rail .mark { display: none; }
.rail h2 {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 660;
  margin: 22px 0 6px 10px;
  border: 0;
  padding: 0;
}
.rail h2:first-of-type { margin-top: 0; }
.rail a:not(.mark) {
  display: block;
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14.2px;
  line-height: 1.5;
}
.rail a:not(.mark):hover { color: var(--forest); background: var(--paper-2); text-decoration: none; }
.rail a[aria-current="page"] {
  color: var(--forest);
  background: var(--forest-3);
  font-weight: 620;
  box-shadow: inset 2px 0 0 var(--forest);
}

main { flex: 1; min-width: 0; padding: 52px 56px 110px; max-width: 1060px; }

/* -------------------------------------------------------------------- type */

h1 {
  font-family: var(--display);
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--ink);
  text-wrap: balance;
}
h2 {
  font-family: var(--display);
  font-size: 27px;
  letter-spacing: -.032em;
  font-weight: 600;
  margin: 56px 0 14px;
  color: var(--ink);
  text-wrap: balance;
}
h3 {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.012em;
  color: var(--ink);
  margin: 30px 0 8px;
}
h4 { font-size: 15px; font-weight: 660; color: var(--ink); margin: 0 0 6px; }

p, li { max-width: var(--measure); }
p { margin: 0 0 15px; }
li { margin-bottom: 6px; }
strong { color: var(--ink); font-weight: 640; }
em { font-style: italic; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 500;
}
.lede { font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 60ch; letter-spacing: -.012em; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2.5px; text-decoration-thickness: 1px; }

code {
  font-family: var(--mono);
  font-size: 13.2px;
  background: var(--accent-3);
  border: 1px solid #dde6ff;
  padding: 1px 6px;
  border-radius: 5px;
  color: var(--accent-2);
}

pre {
  background: var(--code-bg);
  border-radius: 14px;
  padding: 18px 20px;
  overflow-x: auto;
  font-size: 13.2px;
  line-height: 1.65;
  margin: 18px 0;
  tab-size: 4;
  color: var(--code-fg);
}
pre code { background: none; border: 0; padding: 0; color: var(--code-fg); font-size: inherit; }

.kw { color: var(--t-kw); }
.ty { color: var(--t-ty); }
.fn { color: var(--t-fn); }
.st { color: var(--t-st); }
.nu { color: var(--t-nu); }
.cm { color: var(--t-cm); font-style: italic; }
.op { color: var(--t-op); }

figure.code { margin: 18px 0; }
figure.code pre { margin: 0; border-radius: 14px 14px 0 0; }
figure.code figcaption {
  font-size: 12.6px;
  color: var(--ink-3);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  padding: 9px 14px;
  line-height: 1.5;
}

/* -------------------------------------------------------------------- bits */

.actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 6px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  border: 1px solid var(--accent);
  box-shadow: 0 2px 14px rgba(26, 77, 255, .28);
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); text-decoration: none; transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--rule-2); box-shadow: none; }
.btn.ghost:hover { background: var(--accent-3); border-color: var(--accent); color: var(--accent-2); }
.btn svg { width: 16px; height: 16px; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }

.grid { display: grid; gap: 18px; margin: 24px 0; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }

.card, .cell {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(10, 16, 51, .04), 0 8px 24px rgba(10, 16, 51, .04);
}
.card h3, .cell h4 { margin: 0 0 8px; font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.card p, .cell p { margin: 0; font-size: 14.6px; color: var(--ink-2); max-width: none; }
.card .ico {
  color: #fff;
  margin-bottom: 14px;
  display: inline-flex;
  padding: 10px;
  background: var(--accent);
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(26, 77, 255, .3);
}
.card .ico svg { width: 20px; height: 20px; display: block; }

.stat { font-family: var(--display); font-size: 36px; color: var(--ink); line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.stat small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 10px; letter-spacing: 0; line-height: 1.45; font-weight: 400; }

.figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(152px, 1fr));
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  margin: 24px 0;
  background: var(--card);
}
.fig { padding: 20px 22px; border-right: 1px solid var(--rule); }
.fig:last-child { border-right: 0; }
.fig b { display: block; font-family: var(--display); font-size: 32px; font-weight: 700; letter-spacing: -.04em; color: var(--ink); }
.fig span { display: block; margin-top: 8px; font-size: 12.6px; color: var(--ink-3); line-height: 1.45; }

table { border-collapse: collapse; width: 100%; margin: 18px 0; font-size: 14.6px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { color: var(--ink-3); font-weight: 660; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
td strong { color: var(--ink); }
.wrap, .scroll { overflow-x: auto; margin: 18px 0; }
.scroll table, .wrap table { margin: 0; }

.note {
  border-left: 3px solid var(--accent);
  background: var(--accent-3);
  padding: 15px 20px;
  margin: 22px 0;
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  color: var(--ink-2);
  max-width: var(--measure);
}
.note p { margin: 0; }
.note strong { color: var(--accent-2); }

/* The footer sits outside the frame now, so it is its own band rather than
   a rule drawn under the last paragraph of whatever page you landed on. */
.sitefoot { background: #fff; border-top: 1px solid var(--rule); }
.sitefoot .inner { max-width: 1240px; margin: 0 auto; padding: 64px 24px 40px; }
.sitefoot .cols { display: flex; flex-wrap: wrap; gap: 40px 48px; }
.sitefoot .brandcol { flex: 0 0 240px; display: flex; flex-direction: column; gap: 14px; }
.sitefoot .brandcol .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.04em;
  text-decoration: none;
}
.sitefoot .brandcol .brand svg {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 10px;
  background: linear-gradient(160deg, #3d6bff, var(--accent-deep));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}
.sitefoot .brandcol > span { font-size: 14px; color: var(--ink-3); }
.sitefoot .links {
  flex: 1 1 520px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 32px 24px;
}
.sitefoot .links div { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.sitefoot .links span { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.sitefoot .links a { color: var(--ink-3); }
.sitefoot .links a:hover { color: var(--accent); text-decoration: none; }
.sitefoot p {
  margin: 56px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--ink-3);
  max-width: 760px;
}

/* -------------------------------------------------------------------- hero */

.hero { padding: 14px 0 8px; }
.split { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; }
/* A grid item's minimum is its content's, so one long code line widened the
   column past the screen; the code panel scrolls inside itself instead. */
.split > * { min-width: 0; }
@media (min-width: 1080px) { .split { grid-template-columns: 1fr 1fr; gap: 40px; } }

/* The terminal keeps the dark ground code has, so it reads as the machine
   speaking rather than as another panel of prose. */
.term {
  background: var(--code-bg);
  border-radius: 10px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.72;
  box-shadow: 0 10px 40px rgba(10, 16, 51, .18);
}
.term .chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-bottom: 1px solid #1d2555;
  color: var(--ink-4);
  font-size: 11.5px;
}
.term .dot { width: 9px; height: 9px; border-radius: 50%; background: #2a3570; }
.term .body { padding: 15px 17px; min-height: 200px; white-space: pre-wrap; color: var(--code-fg); }
.term .body .err { color: #ff9b7d; }
.term .body .ok { color: #6ee7d8; }
.term .body .dim { color: var(--t-cm); }
.term .body .cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: #6ee7d8;
  vertical-align: text-bottom;
  animation: blink 1.05s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }

/* ------------------------------------------------------------ verdict table */

.verdicts { border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; margin: 22px 0; background: var(--paper); }
.verdict-row {
  display: grid;
  grid-template-columns: 130px 150px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
  font-size: 14.4px;
  transition: background .3s;
}
.verdict-row:last-child { border-bottom: 0; }
.verdict-row .lang { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 620; }
.verdict-row .lang svg { width: 16px; height: 16px; color: var(--ink-3); flex: none; }
.verdict-row .out { font-family: var(--mono); font-size: 12.8px; color: var(--ink-3); }
.verdict-row .why { color: var(--ink-2); font-size: 13.6px; }
.verdict-row[data-state="clean"] .out { color: var(--red); }
.verdict-row[data-state="clean"] .lang svg { color: var(--red); }
.verdict-row[data-state="refused"] { background: var(--forest-3); }
.verdict-row[data-state="refused"] .out { color: var(--forest); font-weight: 600; }
.verdict-row[data-state="refused"] .lang svg { color: var(--forest); }

/* --------------------------------------------------------------- lottie/viz */

.lottie { width: 100%; height: 150px; margin-top: 6px; }
.viz { border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); margin: 22px 0; overflow: hidden; }
.viz canvas { display: block; width: 100%; height: 220px; }
.viz .cap { font-size: 12.6px; color: var(--ink-3); padding: 11px 16px; border-top: 1px solid var(--rule); background: var(--paper-2); }

/* ------------------------------------------------------------ measured bars */

.bars { margin: 22px 0; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; background: var(--paper); }
.bar-row {
  display: grid;
  grid-template-columns: minmax(170px, 230px) 1fr auto;
  gap: 18px;
  align-items: center;
  font-size: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--rule);
}
.bar-row:last-child { border-bottom: 0; }
.bar-row .what { color: var(--ink-2); }
/* Both are spans, and an inline box ignores `height`. */
.bar-track { display: block; height: 6px; border-radius: 3px; background: var(--paper-3); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 3px; width: 0; transition: width 1s cubic-bezier(.2, .8, .25, 1); }
.bar-fill.hit { background: var(--forest); }
.bar-fill.miss { background: #ffb86b; }
.bar-row .num { font-family: var(--mono); font-size: 12.4px; color: var(--ink-3); white-space: nowrap; }
/* The scorecard's second line: which goal this is, and what it asks for. */
.bar-row .goal {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 11.4px;
  color: var(--ink-3);
  letter-spacing: 0;
}
.bar-row .num.miss { color: var(--amber); }

/* --------------------------------------------------------------- syntax page */

.syn { border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; margin: 22px 0; }
.syn-row { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--rule); }
@media (min-width: 940px) { .syn-row { grid-template-columns: 216px 1fr; } }
.syn-row:last-child { border-bottom: 0; }
.syn-row .k {
  padding: 18px;
  font-size: 14.4px;
  color: var(--ink);
  font-weight: 640;
  background: var(--paper-2);
}
@media (min-width: 940px) { .syn-row .k { border-right: 1px solid var(--rule); } }
.syn-row .k span { display: block; color: var(--ink-3); font-weight: 400; font-size: 12.8px; margin-top: 4px; line-height: 1.5; }
.syn-row .v { padding: 12px; min-width: 0; background: var(--paper); }
.syn-row .v pre { margin: 0; }

/* ------------------------------------------------------------------- motion */

.reveal { opacity: 0; transform: translateY(10px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .25, 1); }

@media (max-width: 940px) {
  /* Stretched, not sized to content: as a column with `flex-start`, `main`
     took the width of its widest code line and the page scrolled sideways
     on a phone. */
  .frame { flex-direction: column; align-items: stretch; }
  .rail { width: auto; flex: none; height: auto; position: static; border-right: 0; border-bottom: 1px solid var(--rule); padding: 16px 22px; }
  main { padding: 30px 22px 70px; }
  .topbar nav { display: none; }
  .topbar { padding: 0 20px; }
  .verdict-row { grid-template-columns: 1fr; gap: 5px; }
  .fig { border-right: 0; border-bottom: 1px solid var(--rule); }
}

/* -------------------------------------------------------------- playground */

/* One dark instrument: the editor and its output are the same panel, split by
   a rule, because they are one program's before and after. */
.pg {
  margin: 26px 0 30px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--code-bg);
  border: 1px solid #1d2555;
}
.pg-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 12px 10px 16px;
  background: #141b47;
  border-bottom: 1px solid #1d2555;
}
.pg-pick {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--t-cm);
}
.pg-pick select {
  font: 14px var(--sans);
  letter-spacing: 0;
  text-transform: none;
  color: var(--code-fg);
  background: var(--code-bg);
  border: 1px solid #2a3570;
  border-radius: 6px;
  padding: 5px 8px;
}
.pg-engine {
  flex: 1;
  font: 12px var(--mono);
  color: var(--t-cm);
  font-variant-numeric: tabular-nums;
}
.pg .btn { padding: 7px 18px; }
.pg-src {
  display: block;
  width: 100%;
  min-height: 300px;
  resize: vertical;
  margin: 0;
  padding: 16px 20px;
  border: 0;
  background: var(--code-bg);
  color: var(--code-fg);
  font: 13.2px/1.65 var(--mono);
  tab-size: 4;
  white-space: pre;
  overflow: auto;
}
.pg-src:focus-visible, .pg-pick select:focus-visible {
  outline: 2px solid var(--t-kw);
  outline-offset: -2px;
}
.pg-out-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 20px;
  border-top: 1px solid #1d2555;
  background: #141b47;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--t-cm);
}
.pg-status { font: 12px var(--mono); letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.pg-status.ok { color: var(--t-kw); }
.pg-status.bad { color: #ff9b7d; }
.pg-status.busy { color: var(--t-fn); }
.pg-out {
  margin: 0;
  border-radius: 0;
  min-height: 90px;
  max-height: 360px;
  overflow: auto;
  white-space: pre-wrap;
}
@media (max-width: 640px) {
  .pg-bar { padding: 10px 12px; }
  .pg-src, .pg-out { padding-left: 14px; padding-right: 14px; }
}

/* ------------------------------------------------------------ landing page
 *
 * The index is the one page with no rail: it is read in one scroll rather
 * than navigated, so it runs full width and the sections carry their own
 * grounds. Everything here is scoped to that page so no inner page inherits
 * a band of colour it did not ask for. */

body[data-page="index"] .rail { display: none; }
body[data-page="index"] main { max-width: none; padding: 0; }
body[data-page="index"] footer { margin: 0; padding: 40px 24px 60px; border-top: 0; }
body[data-page="index"] main > footer { max-width: 1240px; margin: 0 auto; }

.lp-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.lp-sec { padding: 84px 0; }
.lp-sec.tight { padding: 10px 0 104px; }
.lp-sec h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.06; margin: 0 0 16px; }
.lp-sec p.sub { font-size: 18px; color: var(--ink-3); max-width: 58ch; margin: 0 0 36px; }
.lp-center { text-align: center; }
.lp-center p.sub { margin-left: auto; margin-right: auto; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-3);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 22px;
}
.pill b {
  font-family: var(--mono);
  font-size: 11.5px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 2px 9px;
}

/* ---- hero ---- */

.lp-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--accent-deep);
  background-image:
    radial-gradient(60% 70% at 82% 18%, var(--accent-sky) 0%, rgba(95, 176, 255, 0) 60%),
    radial-gradient(50% 60% at 8% 100%, var(--accent-night) 0%, rgba(8, 26, 128, 0) 70%),
    radial-gradient(40% 50% at 55% 70%, #3d6bff 0%, rgba(61, 107, 255, 0) 70%);
}
/* A faint survey grid, faded out at the edges so it reads as depth rather
   than as graph paper. */
.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 40%, #000 0%, transparent 75%);
}
.lp-hero > * { position: relative; z-index: 2; }
.lp-hero .pill { color: #fff; background: rgba(255, 255, 255, .14); }
.lp-hero .pill b { background: #fff; color: var(--accent-deep); }
.lp-hero h1 {
  color: #fff;
  font-size: clamp(42px, 6.4vw, 86px);
  line-height: .98;
  letter-spacing: -.045em;
  margin: 0 0 22px;
  max-width: 11ch;
}
.lp-hero .lede { color: rgba(255, 255, 255, .84); font-size: 19px; max-width: 46ch; }
.lp-hero .btn { background: #fff; color: var(--accent-deep); border-color: #fff; box-shadow: 0 4px 20px rgba(0, 0, 0, .18); }
.lp-hero .btn:hover { background: #eaf0ff; border-color: #eaf0ff; color: var(--accent-deep); }
.lp-hero .btn.ghost { background: rgba(255, 255, 255, .13); color: #fff; border-color: rgba(255, 255, 255, .3); }
.lp-hero .btn.ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 0;
}
@media (min-width: 1000px) { .lp-hero-grid { grid-template-columns: 1.05fr .95fr; } }

/* The hero's one piece of art: the manifest, and the thing it refuses. */
.lp-art {
  position: relative;
  border-radius: 20px;
  background: rgba(10, 16, 51, .55);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 30px 80px rgba(4, 10, 40, .45);
  backdrop-filter: blur(6px);
  padding: 20px 22px 22px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.85;
}
.lp-art .head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 14px;
}
.lp-art .head i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .25); font-style: normal; }
.lp-art .k { color: #b9c9ff; }
.lp-art .v { color: var(--t-st); }
.lp-art .deny {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 13px 16px;
  border-radius: 13px;
  background: rgba(255, 155, 125, .12);
  border: 1px solid rgba(255, 155, 125, .32);
  color: #ffc9b8;
  font-size: 12.5px;
  line-height: 1.5;
}
.lp-art .deny b { color: #fff; display: block; font-size: 13px; }

.lp-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  margin: 70px 0 0;
  background: rgba(255, 255, 255, .16);
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}
.lp-stats div { background: rgba(10, 16, 51, .32); padding: 22px 24px; }
.lp-stats b {
  display: block;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.04em;
  color: #fff;
  line-height: 1;
}
.lp-stats span { display: block; margin-top: 9px; font-size: 12.5px; color: rgba(255, 255, 255, .6); line-height: 1.45; }

/* ---- the dark band ---- */

.lp-dark {
  padding: 116px 0;
  position: relative;
  overflow: hidden;
  background: #060b2a;
  background-image:
    radial-gradient(50% 60% at 50% 0%, rgba(26, 77, 255, .45) 0%, rgba(26, 77, 255, 0) 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(95, 176, 255, .25) 0%, rgba(95, 176, 255, 0) 70%);
  color: #fff;
}
.lp-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent 80%);
  mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent 80%);
}
.lp-dark > * { position: relative; z-index: 2; }
.lp-dark h2 { color: #fff; }
.lp-dark p.sub { color: rgba(255, 255, 255, .62); }
.lp-engines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 0 0 34px;
}
.lp-engines div {
  border-radius: 16px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .11);
}
.lp-engines b { display: block; font-family: var(--display); font-size: 16px; font-weight: 600; color: #fff; }
.lp-engines span { display: block; margin-top: 6px; font-size: 12.8px; color: rgba(255, 255, 255, .55); line-height: 1.5; }
.lp-verdict {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 26px 12px 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 10px 40px rgba(26, 77, 255, .5);
}
.lp-verdict i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  font-style: normal;
}
.lp-verdict b { display: block; font-size: 16px; font-weight: 600; color: #fff; }
.lp-verdict span { display: block; font-family: var(--mono); font-size: 11.5px; color: rgba(255, 255, 255, .72); }

/* ---- closing call ---- */

.lp-cta {
  border-radius: 26px;
  padding: 58px;
  color: #fff;
  background: var(--accent-deep);
  background-image: radial-gradient(70% 90% at 88% 10%, var(--accent-sky) 0%, rgba(95, 176, 255, 0) 62%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}
@media (min-width: 900px) { .lp-cta { grid-template-columns: 1fr 1fr; } }
.lp-cta h2 { color: #fff; margin-top: 0; }
.lp-cta p { color: rgba(255, 255, 255, .82); }
.lp-cta .btn { background: #fff; color: var(--accent-deep); border-color: #fff; }
.lp-cta .btn.ghost { background: rgba(255, 255, 255, .16); color: #fff; border-color: transparent; }
.lp-cta .term { box-shadow: 0 20px 60px rgba(4, 10, 40, .4); }

@media (max-width: 760px) {
  .lp-sec { padding: 64px 0; }
  .lp-cta { padding: 34px; border-radius: 20px; }
  .lp-hero-grid { padding-top: 44px; }
}
.lp-art .toml { white-space: pre; display: block; overflow-x: auto; }
.lp-art .cm { color: var(--t-cm); }

/* The engine diagram sits on the dark band, so its panel is a shade of that
   band rather than a sheet of paper laid on top of it. */
.lp-dark .viz { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .11); }
.lp-dark .viz .cap { color: rgba(255, 255, 255, .55); border-top-color: rgba(255, 255, 255, .11); }
.lp-dark .viz .cap { background: rgba(255, 255, 255, .03); }
.viz { border-radius: 18px; }


/* ------------------------------------------------ the band where they agree
 *
 * One program on the left, the four engines that run it in the middle, the
 * one answer they all print on the right. The layout is the claim. */

.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #bfd0ff;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.lp-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
}
.lp-dark h2 .sheen {
  background: linear-gradient(90deg, #8fb4ff, #ffffff 50%, #8fb4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-three {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
  margin-top: 64px;
}
@media (min-width: 1000px) { .lp-three { grid-template-columns: 1fr 1fr 1fr; } }

.lp-prog {
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.lp-prog .head, .lp-prog .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: #9aa8e0;
}
.lp-prog .head { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.lp-prog .head b { font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #9aa8e0; }
.lp-prog .foot { border-top: 1px solid rgba(255, 255, 255, .08); }
.lp-prog pre { margin: 0; padding: 22px 20px; background: none; border-radius: 0; flex: 1; font-size: 14px; line-height: 1.9; }

.lp-rows { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.lp-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  overflow: hidden;
}
/* A light passes along each row in turn: the same program, moving through
   one engine after another. */
.lp-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(90deg, rgba(95, 176, 255, 0), rgba(95, 176, 255, .16), rgba(95, 176, 255, 0));
  animation: gsweep 3.2s ease-in-out infinite;
}
.lp-row:nth-child(2)::before { animation-delay: .35s; }
.lp-row:nth-child(3)::before { animation-delay: .7s; }
.lp-row:nth-child(4)::before { animation-delay: 1.05s; }
@keyframes gsweep {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(260%); }
}
.lp-row > * { position: relative; }
.lp-row .ic {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(26, 77, 255, .55);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
}
.lp-row .ic svg { width: 20px; height: 20px; }
.lp-row .who { min-width: 0; flex: 1; }
.lp-row .who b { display: block; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -.02em; color: #fff; }
.lp-row .who span { display: block; font-family: var(--mono); font-size: 12px; color: #9aa8e0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-row .tag {
  flex: none;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .12);
  color: #bfd0ff;
}
.lp-row.ref .ic { background: rgba(255, 255, 255, .18); }
.lp-row.ref .tag { background: rgba(74, 222, 128, .18); color: #9df3bd; }

.lp-answer {
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: linear-gradient(160deg, #3d6bff 0%, var(--accent) 45%, #0f2fc8 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 30px 80px -20px rgba(26, 77, 255, .7);
}
.lp-answer > b {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #dce6ff;
}
.lp-answer .out {
  border-radius: 14px;
  background: rgba(4, 10, 50, .45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.8;
}
.lp-answer .out .dim { color: #9fb6ff; display: block; }
.lp-answer .big {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: auto;
  font-family: var(--display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -.05em;
}
.lp-answer .big span { font-family: var(--sans); font-size: 14px; font-weight: 500; line-height: 1.35; letter-spacing: 0; color: #dce6ff; padding-bottom: 4px; }
.lp-answer .gates { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 12px; }
.lp-answer .gates span { padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .16); }

.lp-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.lp-tiles div {
  border-radius: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.lp-tiles b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 3.6vw, 48px);
  line-height: 1;
  letter-spacing: -.05em;
  color: #fff;
}
.lp-tiles span { display: block; margin-top: 10px; color: #c3ccf0; font-size: 14.5px; line-height: 1.45; }


/* ------------------------------------------- the index's own chrome and art
 *
 * On the landing page the header belongs to the hero: it sits over the blue
 * rather than above it in a bar of its own, which is what put a white band
 * across the top of the page it was supposed to introduce. */

body[data-page="index"] .topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: auto;
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 24px;
  gap: 24px;
  background: none;
  backdrop-filter: none;
  border-bottom: 0;
}
body[data-page="index"] .topbar .ver { display: none; }
body[data-page="index"] .topbar .brand { color: #fff; font-size: 21px; }
body[data-page="index"] .topbar .brand svg {
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
body[data-page="index"] .topbar nav {
  padding: 5px;
  background: rgba(255, 255, 255, .12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  border: 0;
  backdrop-filter: blur(10px);
}
body[data-page="index"] .topbar nav a { color: #fff; padding: 7px 16px; }
body[data-page="index"] .topbar nav a:hover { background: rgba(255, 255, 255, .18); color: #fff; }
body[data-page="index"] .topbar .cta {
  background: #fff;
  color: var(--accent-deep);
  box-shadow: 0 6px 20px -6px rgba(5, 15, 80, .5);
}
body[data-page="index"] .topbar .cta:hover { background: #eaf1ff; color: var(--ink); }

.lp-hero-grid { padding-top: 112px; }
.lp-hero h1 {
  font-size: clamp(50px, 6.6vw, 98px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.055em;
  max-width: none;
  margin: 28px 0 0;
  text-wrap: balance;
}
.lp-hero .lede { margin-top: 26px; }
.lp-hero .actions { margin-top: 34px; }
.lp-hero .btn { padding: 15px 26px; font-size: 16px; box-shadow: 0 10px 30px -10px rgba(5, 15, 80, .6); }
.btn .gl { width: 16px; height: 16px; flex: none; }

/* ---- the demo: one card, an editor on the left and the build on the right */

.demo {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 24px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(10, 16, 51, .05), 0 24px 60px -24px rgba(10, 16, 51, .25);
  margin: 48px 0 92px;
}
@media (min-width: 900px) { .demo { grid-template-columns: 1fr 1fr; } }
.demo .ed { background: var(--code-bg); display: flex; flex-direction: column; min-width: 0; }
.demo .bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid #1d2555;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-4);
}
.demo .bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3570; }
.demo .bar i:nth-child(1) { background: #ff6058; }
.demo .bar i:nth-child(2) { background: #ffbd2e; }
.demo .bar i:nth-child(3) { background: #28ca42; }
.demo .bar b { font-weight: 500; margin-left: 8px; color: var(--ink-4); }
.demo .file {
  padding: 16px 20px 6px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-4);
}
.demo pre {
  margin: 0;
  padding: 4px 20px 20px;
  background: none;
  border-radius: 0;
  font-size: 13.5px;
  line-height: 1.85;
}
.demo .rule { height: 1px; background: #1d2555; margin: 6px 20px; }
.demo .run { padding: 26px 28px; display: flex; flex-direction: column; min-width: 0; }
.demo .run h4 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 18px;
}
.demo .run .term { flex: 1; border-radius: 14px; box-shadow: none; }
.demo .run .term .body { min-height: 190px; }
.demo .run .more { margin: 18px 0 0; font-weight: 600; font-size: 14.5px; }

/* ---- the three cards, each with the idea drawn across its top ---- */

.ideas { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 44px 0 0; }
@media (min-width: 860px) { .ideas { grid-template-columns: repeat(3, 1fr); } }
.idea {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(10, 16, 51, .04), 0 14px 40px -18px rgba(10, 16, 51, .22);
  display: flex;
  flex-direction: column;
}
/* cover, not contain: the art is a band across the top, and fitting
   the whole viewBox inside it letterboxed white over the card. */
.idea .art { display: block; width: 100%; height: 200px; object-fit: cover; }
.idea .say { padding: 26px 28px 30px; }
.idea h3 { margin: 0 0 10px; font-size: 21px; letter-spacing: -.03em; }
.idea p { margin: 0; font-size: 15px; color: var(--ink-2); max-width: none; }

/* ---- effects: the two things a signature can say ---- */

.saycards { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.saycard {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--card);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--rule);
  font-size: 15px;
  color: var(--ink-2);
}
.saycard code { flex: none; }
.saycard code.warn { background: #fff1e4; border-color: #ffd9b5; color: #9a5a12; }

/* The code panel gets a slab of colour behind it, offset -- the same trick
   the hero uses, so the two blue moments on the page rhyme. */
.slab { position: relative; }
.slab::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 62%;
  height: 72%;
  border-radius: 22px;
  background: linear-gradient(160deg, #3d6bff, var(--accent-deep));
  z-index: 0;
}
.slab > * { position: relative; z-index: 1; }
@media (max-width: 900px) { .slab::after { display: none; } }

/* -------------------------------------------------------------- narrow
 *
 * A grid track's minimum is its content's, so one <pre> that will not wrap
 * made the hero wider than the phone holding it and the section clipped the
 * prose beside it. Every grid child here gets min-width: 0 and scrolls inside
 * itself instead. */

.lp-hero-grid > *,
.lp-three > *,
.demo > *,
.ideas > *,
.lp-cta > *,
.split > * { min-width: 0; }

.lp-stats { grid-template-columns: repeat(auto-fit, minmax(clamp(140px, 45%, 240px), 1fr)); }
.lp-stats div { min-width: 0; }
.lp-stats b { word-break: normal; overflow-wrap: anywhere; }

@media (max-width: 760px) {
  body[data-page="index"] .topbar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 16px;
  }
  /* The nav is the only way to the rest of the site on a phone, so it wraps
     onto its own line rather than being dropped. */
  body[data-page="index"] .topbar nav {
    /* The narrow rule above hides the top nav because inner pages fall back
       to the rail. The index has no rail, so on a phone this was the only
       way to the rest of the site, and it was display:none. */
    display: flex;
    order: 3;
    width: 100%;
    margin: 0;
    justify-content: center;
    flex-wrap: wrap;
  }
  body[data-page="index"] .topbar .brand { margin-right: auto; }
  body[data-page="index"] .topbar nav a { padding: 6px 12px; font-size: 13.5px; }

  .lp-hero-grid { padding-top: 136px; gap: 34px; }
  .lp-hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .lp-hero .lede { font-size: 17px; }
  .lp-hero .actions { gap: 10px; }
  .lp-hero .btn { padding: 13px 20px; font-size: 15px; }
  .lp-art { padding: 16px; font-size: 12px; }
  .lp-art .deny { flex-direction: column; align-items: flex-start; gap: 6px; }
  .lp-stats { margin-top: 48px; }

  .demo { margin: 32px 0 64px; }
  .demo .run { padding: 20px; }
  .lp-sec h2 { font-size: clamp(27px, 8vw, 36px); }
  .lp-answer .big { font-size: 36px; }
  .lp-answer .big span { font-size: 13px; }
  .sitefoot .inner { padding: 44px 20px 32px; }
  .sitefoot .cols { gap: 28px; }
  .sitefoot .brandcol { flex: 1 1 100%; }
}

@media (max-width: 460px) {
  .lp-stats { grid-template-columns: 1fr 1fr; }
  .lp-tiles { grid-template-columns: 1fr 1fr; }
  .lp-tiles div { padding: 18px; }
}
