@font-face { font-family: "Mona Sans"; font-style: normal; font-display: swap; font-weight: 200 800; font-stretch: 75% 125%; src: url(/fonts/mona-sans.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/geist-mono.woff2) format("woff2"); }

/* Black and white. One light source: the field of points behind everything. Glass carries the content. */
:root {
  color-scheme: dark;
  --bg: #000;
  --ink: #f5f5f7;
  --ink-2: rgb(245 245 247 / .72);
  --ink-3: rgb(245 245 247 / .5);
  --line: rgb(255 255 255 / .1);
  --line-2: rgb(255 255 255 / .18);
  --sunk: rgb(255 255 255 / .06);
  --accent: #f5f5f7;
  --accent-hover: #fff;
  --accent-soft: rgb(255 255 255 / .1);
  --accent-text: #fff;
  --add: #fff;
  --add-bg: rgb(255 255 255 / .09);
  --del: rgb(245 245 247 / .42);
  --del-bg: transparent;
  --ground: rgb(255 255 255 / .025);
  --r-1: 8px;
  --r-2: 14px;
  --r-3: 26px;
  /* liquid glass */
  --glass-fill: linear-gradient(180deg, rgb(255 255 255 / .11), rgb(255 255 255 / .035));
  --glass-blur: blur(22px) saturate(170%);
  --glass-edge: inset 0 1px 0 rgb(255 255 255 / .24), inset 0 -1px 0 rgb(255 255 255 / .05), inset 0 0 0 1px rgb(255 255 255 / .09);
  --glass-drop: 0 24px 60px -24px rgb(0 0 0 / .8);
  --t-display: clamp(48px, 7.6vw, 104px);
  --t-h2: clamp(34px, 4.6vw, 60px);
  --sans: "Mona Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --section: clamp(104px, 14vw, 176px);
  --gutter: clamp(16px, 3vw, 32px);
  --shade: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: transparent; color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; letter-spacing: -.005em; }
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; }
code, kbd, pre { font-family: var(--mono); }
p code, li code, td code { font-size: .88em; background: var(--sunk); padding: 1px 6px; border-radius: 5px; color: var(--ink); }
::selection { background: #fff; color: #000; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -48px; background: #fff; color: #000; padding: 8px 12px; border-radius: var(--r-1); z-index: 60; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- the field: the reference video, fixed behind the page, calmer as you scroll */
.field { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: #000; }
.field img, .field canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.field img { opacity: .5; }
.field canvas { opacity: 0; transition: opacity 1.4s ease; }
.field canvas.on { opacity: .9; }
.field canvas.on ~ img, .field:has(canvas.on) img { opacity: 0; }
.field::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 44% at 50% 50%, rgb(0 0 0 / .93), rgb(0 0 0 / .72) 45%, rgb(0 0 0 / .12) 82%, transparent),
    linear-gradient(180deg, rgb(0 0 0 / .35), rgb(0 0 0 / 0) 30%, rgb(0 0 0 / .55));
}
.shade { position: fixed; inset: 0; z-index: -1; background: #000; opacity: calc(.15 + var(--shade) * .7); pointer-events: none; }

/* ---------- glass */
.glass { position: relative; background: var(--glass-fill); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-edge), var(--glass-drop); border-radius: var(--r-3); }
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 60% at 18% -10%, rgb(255 255 255 / .16), transparent 55%), radial-gradient(80% 50% at 110% 120%, rgb(255 255 255 / .06), transparent 60%); }
.glass > * { position: relative; }

/* ---------- nav: a floating glass pill */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 30; pointer-events: none; }
.nav .wrap { pointer-events: auto; display: flex; align-items: center; gap: 24px; height: 56px; padding: 0 8px 0 18px; border-radius: 999px;
  width: min(1040px, 100% - 2 * var(--gutter));
  background: linear-gradient(180deg, rgb(255 255 255 / .12), rgb(255 255 255 / .05)); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .25), inset 0 0 0 1px rgb(255 255 255 / .1), 0 12px 40px -16px rgb(0 0 0 / .7); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; font-size: 17px; }
.brand { font-weight: 600; font-stretch: 112%; font-size: 18px; letter-spacing: -.02em; }
.brand svg, .brand .mark { width: 34px; height: auto; display: block; }
.nav-links { display: flex; gap: 22px; margin-right: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 14px; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-x { color: var(--ink-2); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; }
.nav-x:hover { color: #fff; background: var(--sunk); }
.nav-x svg { width: 15px; height: 15px; }
@media (max-width: 860px) { .nav-links { display: none; } .nav .brand { margin-right: auto; } }
.page-top { padding-top: 104px; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font: 500 15px/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: background .25s, box-shadow .25s, transform .3s var(--ease), color .25s; white-space: nowrap; letter-spacing: -.01em; }
.btn:active { transform: scale(.97); }
.btn-primary { background: #f5f5f7; color: #000; box-shadow: inset 0 -1px 0 rgb(0 0 0 / .08), 0 8px 24px -10px rgb(255 255 255 / .35); }
.btn-primary:hover { background: #fff; }
.btn-secondary { color: var(--ink); background: linear-gradient(180deg, rgb(255 255 255 / .12), rgb(255 255 255 / .04)); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), inset 0 0 0 1px rgb(255 255 255 / .12); }
.btn-secondary:hover { background: linear-gradient(180deg, rgb(255 255 255 / .18), rgb(255 255 255 / .07)); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

/* ---------- hero */
.hero { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; text-align: center; padding: 120px 0 72px; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero h1 { font: 300 var(--t-display)/.98 var(--sans); font-stretch: 112%; letter-spacing: -.045em; margin: 0 0 28px; text-wrap: balance; max-width: 11ch; }
.hero h1 em { font-style: normal; color: var(--ink-3); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 34em; margin: 0 auto 36px; text-wrap: pretty; line-height: 1.55; }
.cmd { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 20px; border-radius: 999px; width: min(560px, 100%); text-align: left; }
.cmd code { flex: 1; min-width: 0; font-size: 13.5px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; color: var(--ink); }
.cmd code::-webkit-scrollbar { display: none; }
.cmd code .p { color: var(--ink-3); user-select: none; }
.copy { flex: none; height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: rgb(255 255 255 / .1); color: var(--ink); font: 500 13px var(--sans); cursor: pointer; transition: background .2s, color .2s; min-width: 70px; }
.copy:hover { background: rgb(255 255 255 / .18); }
.copy.done { background: #f5f5f7; color: #000; }
.ca { display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin: 18px 0 0; font: 12.5px var(--mono); color: var(--ink-3); flex-wrap: wrap; padding: 7px 16px; border-radius: 999px; background: rgb(0 0 0 / .55); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); max-width: 100%; }
.ca b { font-weight: 500; color: var(--ink); font-family: var(--sans); font-size: 13.5px; }
.ca button { all: unset; cursor: pointer; color: var(--ink-2); border-bottom: 1px dashed var(--line-2); word-break: break-all; }
.ca button:hover { color: #fff; border-color: currentColor; }
.ca button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ca a { color: var(--ink-2); }
.ctas { display: flex; gap: 12px; margin: 30px 0 16px; flex-wrap: wrap; justify-content: center; }
.trust { font-size: 14px; color: var(--ink-3); margin: 0; }

/* ---------- terminal */
.term { color: #e8e8ea; border-radius: var(--r-3); overflow: hidden; font: 13.5px/1.7 var(--mono); }
.term-bar { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--ink-3); font-size: 12.5px; }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / .16); display: inline-block; margin-right: -6px; }
.term-bar span { margin-left: 10px; }
.term pre { margin: 0; padding: 18px 22px 24px; overflow-x: auto; }
.term .c { color: var(--ink-3); }
.term .k { color: var(--ink-2); }
.term .s { color: #fff; }
.term .w { color: #fff; font-weight: 500; }

/* ---------- sections */
section { padding: var(--section) 0 0; }
.eyebrow { font: 500 12.5px var(--mono); color: var(--ink-3); margin: 0 0 16px; letter-spacing: .02em; }
h2 { font: 300 var(--t-h2)/1.04 var(--sans); font-stretch: 112%; letter-spacing: -.04em; margin: 0 0 20px; text-wrap: balance; max-width: 15em; }
h2 em { font-style: normal; color: var(--ink-3); }
h3 { font-stretch: 104%; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.02em; font-weight: 600; margin: 0 0 8px; }
.sub { font-size: 18px; color: var(--ink-2); max-width: 36em; margin: 0; text-wrap: pretty; }
p { text-wrap: pretty; }
.center { text-align: center; }
.center h2, .center .sub { margin-inline: auto; }

.example-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.example-grid p { color: var(--ink-2); margin: 0 0 12px; }
@media (max-width: 900px) { .example-grid { grid-template-columns: 1fr; } }

.steps { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 14px; display: flex; flex-direction: column; }
.step-body { padding: 18px 12px 12px; }
.step-num { font: 500 12.5px var(--mono); color: var(--ink-3); display: block; margin-bottom: 10px; }
.step p { color: var(--ink-2); margin: 0 0 14px; font-size: 15.5px; }
.step-art { position: relative; aspect-ratio: 16 / 9; border-radius: calc(var(--r-3) - 10px); background: rgb(0 0 0 / .35); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.step-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.step-art .label { position: absolute; right: 12px; bottom: 12px; font: 11.5px var(--mono); color: var(--ink-2); background: rgb(255 255 255 / .08); padding: 4px 9px; border-radius: 999px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.snip { font: 12.5px/1.65 var(--mono); background: rgb(0 0 0 / .3); box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r-2); padding: 12px 14px; margin: 0; overflow-x: auto; color: var(--ink-2); }
.snip .a { color: #fff; background: var(--add-bg); display: block; margin: 0 -14px; padding: 0 14px; }
.snip .d { color: var(--del); display: block; margin: 0 -14px; padding: 0 14px; text-decoration: line-through; text-decoration-color: rgb(255 255 255 / .25); }
.snip .h { color: #fff; font-weight: 500; }

/* install */
.install-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); margin-top: 48px; align-items: start; }
@media (max-width: 900px) { .install-grid { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; color: var(--ink-2); }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 11px; height: 6px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg); }
.tabs { overflow: hidden; }
.tablist { display: flex; gap: 2px; padding: 8px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tablist button { flex: none; border: 0; background: none; font: 500 14px var(--sans); color: var(--ink-3); padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: color .2s, background .2s; }
.tablist button:hover { color: var(--ink); }
.tablist button[aria-selected="true"] { color: #000; background: #f5f5f7; }
.panel { padding: 20px; display: grid; gap: 16px; }
.panel > * { min-width: 0; }
.panel p { margin: 0; color: var(--ink-2); font-size: 15px; }
.code { position: relative; background: rgb(0 0 0 / .45); box-shadow: inset 0 0 0 1px var(--line); color: #e8e8ea; border-radius: var(--r-2); }
.code pre { margin: 0; padding: 14px 90px 14px 16px; font: 13px/1.65 var(--mono); overflow-x: auto; }
.code .copy { position: absolute; right: 8px; top: 8px; height: 30px; }
.code .c { color: var(--ink-3); }

/* features */
.features { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px; }
.feat { padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.feat p { margin: 0; color: var(--ink-2); font-size: 15px; }
.feat.wide { grid-column: span 3; }
.feat.third { grid-column: span 2; }
.feat .art { position: relative; border-radius: var(--r-2); background: rgb(0 0 0 / .35); box-shadow: inset 0 0 0 1px var(--line); aspect-ratio: 16 / 7; overflow: hidden; margin-top: auto; }
.feat .art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 960px) { .feat.wide, .feat.third { grid-column: span 6; } }
.wiki-tree { font: 13px/1.8 var(--mono); color: var(--ink-2); margin: 0; background: rgb(0 0 0 / .3); box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r-2); padding: 14px 16px; overflow-x: auto; }
.wiki-tree b { color: #fff; font-weight: 500; }
.wiki-tree .l { color: var(--ink-3); }
.versions { list-style: none; margin: 0; padding: 0; font: 13px/1.5 var(--mono); display: grid; }
.versions li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.versions li:first-child { border-top: 0; }
.versions .v { color: #fff; }
.versions .t { color: var(--ink-3); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px; padding: 8px 0; }
.stat { padding: 26px 28px; }
.stat + .stat { box-shadow: inset 1px 0 0 var(--line); }
.stat b { display: block; font: 300 clamp(44px, 5vw, 66px) var(--sans); font-stretch: 112%; letter-spacing: -.045em; line-height: 1; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { box-shadow: inset 0 1px 0 var(--line); } .stat:nth-child(4) { box-shadow: inset 1px 0 0 var(--line), inset 0 1px 0 var(--line); } }

/* free */
.free-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); margin-top: 48px; align-items: start; }
@media (max-width: 860px) { .free-grid { grid-template-columns: 1fr; } }
.costs-box { overflow: hidden; }
.costs { width: 100%; border-collapse: collapse; font-size: 15px; }
.costs th, .costs td { text-align: left; padding: 16px 22px; border-top: 1px solid var(--line); vertical-align: top; }
.costs tr:first-child th, .costs tr:first-child td { border-top: 0; }
.costs th { font-weight: 500; width: 44%; }
.costs td { color: var(--ink-2); }
.costs .zero { font: 500 14px var(--mono); color: #fff; }
.free-grid p { color: var(--ink-2); margin: 0 0 14px; }

/* faq */
.faq { margin: 48px auto 0; max-width: 820px; padding: 6px 28px; text-align: left; }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 17.5px; font-weight: 500; position: relative; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .a { padding: 0 0 22px; color: var(--ink-2); max-width: 44em; }
.faq .a p { margin: 0 0 10px; }

.closing { text-align: center; padding-bottom: var(--section); }
.closing h2 { margin-inline: auto; }
.closing .sub { margin: 0 auto; }

footer { box-shadow: inset 0 1px 0 var(--line); padding: 36px 0 44px; color: var(--ink-3); font-size: 14px; background: rgb(0 0 0 / .5); }
footer .wrap { display: flex; gap: 32px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { text-decoration: none; color: var(--ink-2); }
footer a:hover { color: #fff; }

/* reveal: content stays visible without script */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: #f5f5f7; color: #000; padding: 10px 18px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease); z-index: 60; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* grid children may shrink below their content; long code scrolls inside its own box */
.example-grid > *, .install-grid > *, .free-grid > *, .steps > *, .features > *, .sim > * { min-width: 0; }

/* browsers without backdrop-filter get a solid, readable panel */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .nav .wrap, .btn-secondary { background: rgb(22 22 24 / .94); }
}

/* small screens: the text block covers more of the field, so the calm zone grows with it */
@media (max-width: 700px) {
  .field canvas.on { opacity: .75; }
  .field::after { background:
    radial-gradient(95% 42% at 50% 46%, rgb(0 0 0 / .94), rgb(0 0 0 / .7) 55%, rgb(0 0 0 / .15) 90%, transparent),
    linear-gradient(180deg, rgb(0 0 0 / .4), rgb(0 0 0 / 0) 30%, rgb(0 0 0 / .6)); }
}

/* checks: one inspector, a list of checks on the left and the live one on the right */
.inspector { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); margin-top: 44px; border-radius: var(--r-3); overflow: hidden; }
.insp-list { display: flex; flex-direction: column; padding: 10px; gap: 4px; border-right: 1px solid var(--line); }
.insp-list button { all: unset; cursor: pointer; display: grid; gap: 3px; padding: 14px 16px; border-radius: 14px; transition: background .2s ease; }
.insp-list button b { font-weight: 600; font-size: 15px; color: var(--ink-2); }
.insp-list button span { font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.insp-list button:hover { background: rgb(255 255 255 / .05); }
.insp-list button[aria-selected="true"] { background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.insp-list button[aria-selected="true"] b { color: var(--ink); }
.insp-list button:focus-visible { outline: 1.5px solid #fff; outline-offset: -2px; }
.insp-body { padding: 30px 32px 32px; min-height: 420px; }
.insp-panel { display: flex; flex-direction: column; gap: 18px; animation: insp-in .35s ease; }
@keyframes insp-in { from { opacity: 0; transform: translateY(4px); } }
.insp-lead { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 60ch; }
.fact { display: grid; gap: 7px; }
.fact span, .range span { font: 500 12px var(--mono); color: var(--ink-3); display: flex; justify-content: space-between; }
.fact input { font: 14px/1.4 var(--mono); color: var(--ink); background: rgb(0 0 0 / .4); border: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; box-sizing: border-box; }
.fact input:focus-visible { outline: 1.5px solid #fff; outline-offset: 0; }
.verdict { border-radius: 14px; padding: 14px 16px; font-size: 14.5px; line-height: 1.5; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); min-height: 48px; }
.verdict b { color: var(--ink); font-weight: 600; }
.verdict.hit { background: #f5f5f7; color: #000; box-shadow: none; }
.verdict.hit b { color: #000; }
.verdict code { font-size: 12.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { all: unset; cursor: pointer; font-size: 13px; color: var(--ink-2); padding: 7px 13px; border-radius: 999px; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px var(--line); }
.chips button:hover { color: var(--ink); background: rgb(255 255 255 / .1); }
.chips button:focus-visible { outline: 1.5px solid #fff; }
.range { display: grid; gap: 10px; }
.range output { color: var(--ink); }
.range input { appearance: none; -webkit-appearance: none; width: 100%; height: 4px; border-radius: 4px; background: rgb(255 255 255 / .14); outline: none; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #f5f5f7; box-shadow: 0 2px 8px rgb(0 0 0 / .5); cursor: pointer; }
.range input::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #f5f5f7; cursor: pointer; }
.range input:focus-visible::-webkit-slider-thumb { outline: 2px solid #fff; outline-offset: 3px; }
.meter { display: grid; grid-template-columns: repeat(24, 1fr); gap: 6px; padding: 6px 0 0; }
.meter i { aspect-ratio: 1; border-radius: 50%; background: #f5f5f7; opacity: .12; transform: scale(.45); transition: opacity .25s ease, transform .25s ease; }
.meter i.on { opacity: 1; transform: scale(1); }
.meter i.dim { opacity: .45; transform: scale(.75); }
.strength { display: flex; align-items: baseline; gap: 14px; margin: 0; }
.strength b { font: 300 50px var(--sans); font-stretch: 112%; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.strength span { color: var(--ink-2); font-size: 15px; }
pre.out { margin: 0; font: 13px/1.75 var(--mono); color: var(--ink-2); background: rgb(0 0 0 / .45); box-shadow: inset 0 0 0 1px var(--line); border-radius: 14px; padding: 18px 20px; overflow-x: auto; white-space: pre; }
pre.out b { color: var(--ink); font-weight: 500; }
pre.out .pr, pre.out .dim { color: var(--ink-3); }
@media (max-width: 860px) {
  .inspector { grid-template-columns: minmax(0, 1fr); }
  .insp-list { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .insp-list button { flex: none; padding: 10px 14px; }
  .insp-list button span { display: none; }
  .insp-body { padding: 22px 18px 24px; min-height: 0; }
  .meter { gap: 3px; }
  .strength b { font-size: 36px; }
  .fact input { font-size: 16px; }
}

/* map: the sample memory drawn by the engine's own view */
.mapbox { position: relative; margin-top: 44px; height: 600px; border-radius: var(--r-3); overflow: hidden; }
.mapbox canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.map-top { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; }
.map-q { width: min(100%, 360px); font: 15px var(--sans, inherit); color: var(--ink); border: 0; border-radius: 999px; padding: 10px 18px; background: rgb(0 0 0 / .45); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.map-q::placeholder { color: var(--ink-3); }
.map-q:focus-visible { outline: 1.5px solid #fff; outline-offset: 0; }
.map-legend { position: absolute; left: 20px; bottom: 16px; display: flex; gap: 18px; flex-wrap: wrap; font: 500 12px var(--mono); color: var(--ink-3); pointer-events: none; }
.map-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-right: 7px; vertical-align: 1px; }
.map-legend i.p { width: 11px; height: 11px; vertical-align: -1px; }
.map-legend i.f { opacity: .3; }
.map-legend i.c { width: 16px; height: 0; border-radius: 0; background: none; border-top: 1.5px dashed var(--ink); vertical-align: 3px; }
.map-card { position: fixed; z-index: 50; max-width: 320px; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); background: rgb(22 22 24 / .86); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14), 0 12px 32px rgb(0 0 0 / .55); pointer-events: none; }
.map-card b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.map-card small { display: block; margin-top: 7px; font: 12px var(--mono); color: var(--ink-3); }
@media (max-width: 700px) { .mapbox { height: 470px; } .map-q { font-size: 16px; } }

/* story: three beats, read like a short essay */
.story-inner { max-width: 860px; }
.story h2 { font-size: clamp(36px, 5vw, 66px); max-width: 14em; }
.beats { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; }
.beats li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; padding: 26px 0; border-top: 1px solid var(--line); }
.beats li:last-child { border-bottom: 1px solid var(--line); }
.beats span { font: 500 13px var(--mono); color: var(--ink-3); padding-top: 6px; }
.beats p { margin: 0; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.5; letter-spacing: -.012em; color: var(--ink-3); text-wrap: pretty; }
.beats b { color: var(--ink); font-weight: 600; }
.beats li:last-child p { color: var(--ink-2); }
.story-note { margin: 28px 0 0 72px; font-size: 15.5px; line-height: 1.6; color: var(--ink-3); max-width: 36em; }
@media (max-width: 640px) { .beats li { grid-template-columns: 1fr; gap: 6px; } .story-note { margin-left: 0; } }

/* verify: proofs a visitor can run themselves */
.proofs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.proof { padding: 28px; display: flex; flex-direction: column; gap: 14px; border-radius: var(--r-3); }
.proof h3 { margin: 0; font-size: 19px; letter-spacing: -.015em; font-weight: 600; }
.proof p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.files { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 2px; }
.files li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.files a { font: 500 13.5px var(--mono); color: var(--ink); text-decoration: underline; text-decoration-color: rgb(255 255 255 / .25); text-underline-offset: 4px; }
.files a:hover { text-decoration-color: #fff; }
.files span { color: var(--ink-3); text-align: right; }
.sum { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; margin: 2px 0; font: 12.5px var(--mono); }
.sum dt { color: var(--ink-3); }
.sum dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.proof .code pre { font-size: 12.5px; }
@media (max-width: 860px) { .proofs { grid-template-columns: minmax(0, 1fr); } .files span { display: none; } }

/* opening: two eyes open in the dark, the name appears, then the page */
.intro { position: fixed; inset: 0; z-index: 200; background: #000; display: grid; place-items: center; animation: intro-out .8s cubic-bezier(.65, 0, .35, 1) 3.35s forwards; }
.intro-in { display: flex; flex-direction: column; align-items: center; animation: intro-recede .7s cubic-bezier(.65, 0, .35, 1) 2.95s forwards; }
.intro-eyes { display: flex; align-items: center; gap: 0; width: min(200px, 46vw); filter: drop-shadow(0 0 0 rgb(255 255 255 / 0)); animation: intro-glint 1.5s ease-in-out 1.2s both; }
.iw { width: 50%; height: auto; display: block; fill: #f5f5f7; overflow: visible; clip-path: inset(49.5% 0 49.5% 0); opacity: 0; }
.iw-l { animation: intro-open-l 1.5s cubic-bezier(.22, 1, .36, 1) .4s forwards; }
.iw-r { animation: intro-open-r 1.5s cubic-bezier(.22, 1, .36, 1) .4s forwards; }
.intro-word { display: flex; gap: .7em; margin-top: 42px; padding-left: .7em; font-weight: 400; font-stretch: 125%; font-size: 19px; letter-spacing: 0; color: var(--ink); }
.intro-word span { opacity: 0; transform: translateY(6px); filter: blur(6px); animation: intro-letter .9s cubic-bezier(.2, .7, .2, 1) forwards; }
.intro-word span:nth-child(1) { animation-delay: 1.45s; }
.intro-word span:nth-child(2) { animation-delay: 1.55s; }
.intro-word span:nth-child(3) { animation-delay: 1.65s; }
.intro-word span:nth-child(4) { animation-delay: 1.75s; }
.intro-line { margin: 16px 0 0; font: 400 12.5px var(--mono); letter-spacing: .06em; color: var(--ink-3); opacity: 0; animation: intro-fade .9s ease 2s forwards; }
@keyframes intro-open-l { 0% { opacity: 0; clip-path: inset(49.5% 0 49.5% 0); transform: translateX(-16px); } 18% { opacity: 1; } 100% { opacity: 1; clip-path: inset(0 0 0 0); transform: none; } }
@keyframes intro-open-r { 0% { opacity: 0; clip-path: inset(49.5% 0 49.5% 0); transform: translateX(16px); } 18% { opacity: 1; } 100% { opacity: 1; clip-path: inset(0 0 0 0); transform: none; } }
@keyframes intro-glint { 0%, 100% { filter: drop-shadow(0 0 0 rgb(255 255 255 / 0)); } 45% { filter: drop-shadow(0 0 22px rgb(255 255 255 / .35)); } }
@keyframes intro-letter { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes intro-fade { to { opacity: 1; } }
@keyframes intro-recede { to { opacity: 0; transform: scale(.96); filter: blur(4px); } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
/* the page arrives as the opening leaves */
.intro ~ header .nav { animation: page-in 1s cubic-bezier(.2, .7, .2, 1) 3.6s both; }
.intro ~ main .hero-inner { animation: page-in 1.2s cubic-bezier(.2, .7, .2, 1) 3.45s both; }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } }
/* skipped by a click, a key or a scroll: leave quickly */
.intro.out { animation: intro-out .5s ease forwards; }
.intro.out .intro-in { animation: intro-recede .5s ease forwards; }
.intro.out ~ header .nav, .intro.out ~ main .hero-inner { animation: page-in-now .8s cubic-bezier(.2, .7, .2, 1) .15s both; }
@keyframes page-in-now { from { opacity: 0; transform: translateY(10px); } }
/* already seen this visit, or motion turned off: no opening */
.intro.skip, .intro.done { display: none; }
.intro.skip ~ header .nav, .intro.skip ~ main .hero-inner { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .intro ~ header .nav, .intro ~ main .hero-inner { animation: none; }
}
