/* layman. Ink on paper: grayscale only. Woodblock waves and a moon, printed as 1-bit dithering,
   in the spirit of the first Macintosh. Grain on every surface, heaviest at the top. */

:root,
.stage[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f2ee;
  --bg-2: #e9e8e3;
  --surface: #fbfbf9;
  --ink: #0d0d0d;
  --ink-2: #393937;
  --muted: #74736d;
  --line: rgba(13, 13, 13, 0.1);
  --line-2: rgba(13, 13, 13, 0.06);
  --on-ink: #f3f2ee;
  --glass: rgba(250, 250, 248, 0.74);
  --glass-rim: rgba(255, 255, 255, 0.95);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 8px 24px -12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, 0.35), 0 0 0 0.5px rgba(0, 0, 0, 0.14);
  --dith-lo: #85847e;
  --dith-hi: #ecebe6;
  --grain-blend: multiply;
  --grain-alpha: 0.07;
}

:root[data-theme="dark"],
.stage[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c0c0c;
  --bg-2: #161616;
  --surface: #131313;
  --ink: #ecebe7;
  --ink-2: #c4c3be;
  --muted: #8a8984;
  --line: rgba(255, 255, 255, 0.11);
  --line-2: rgba(255, 255, 255, 0.06);
  --on-ink: #0c0c0c;
  --glass: rgba(24, 24, 24, 0.7);
  --glass-rim: rgba(255, 255, 255, 0.14);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, 0.8), 0 0 0 0.5px rgba(255, 255, 255, 0.12);
  --dith-lo: #121212;
  --dith-hi: #3a3a38;
  --grain-blend: screen;
  --grain-alpha: 0.05;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0c0c0c;
    --bg-2: #161616;
    --surface: #131313;
    --ink: #ecebe7;
    --ink-2: #c4c3be;
    --muted: #8a8984;
    --line: rgba(255, 255, 255, 0.11);
    --line-2: rgba(255, 255, 255, 0.06);
    --on-ink: #0c0c0c;
    --glass: rgba(24, 24, 24, 0.7);
    --glass-rim: rgba(255, 255, 255, 0.14);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, 0.8), 0 0 0 0.5px rgba(255, 255, 255, 0.12);
    --dith-lo: #121212;
    --dith-hi: #3a3a38;
    --grain-blend: screen;
    --grain-alpha: 0.05;
  }
}

:root {
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Paper grain over everything. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background-image: var(--noise);
  mix-blend-mode: var(--grain-blend);
  opacity: var(--grain-alpha);
}
a {
  color: inherit;
}
code {
  font: 0.86em var(--mono);
  padding: 0.05em 0.35em;
  border-radius: 5px;
  background: var(--line-2);
}
::selection {
  background: var(--ink);
  color: var(--bg);
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ───────── Seal (the logo, used like a hanko) ───────── */
.seal {
  width: 26px;
  height: 26px;
  flex: none;
}
.seal rect {
  fill: var(--ink);
}
.seal path {
  fill: none;
  stroke: var(--bg);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.seal circle {
  fill: var(--bg);
}

/* ───────── Top bar ───────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 56px;
  padding: 0 max(20px, calc((100vw - 1080px) / 2));
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.8) blur(20px);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.topbar.scrolled {
  border-bottom-color: var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font: 600 18px var(--sans);
  letter-spacing: -0.03em;
}
.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 13px;
}
.nav a {
  text-decoration: none;
  color: var(--ink-2);
  opacity: 0.8;
  transition: opacity 0.2s;
}
.nav a:hover {
  opacity: 1;
}

/* ───────── Buttons & links ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font: 500 15px var(--sans);
  letter-spacing: -0.01em;
  border-radius: 999px;
  padding: 11px 20px;
  transition: transform 0.25s var(--spring), opacity 0.2s;
  white-space: nowrap;
}
.btn:hover {
  transform: scale(1.03);
}
.btn:active {
  transform: scale(0.98);
}
.btn-small {
  font-size: 13px;
  padding: 6px 14px;
}
.btn-big {
  font-size: 17px;
  padding: 14px 26px;
}
.link {
  font-size: 17px;
  text-decoration: none;
  color: var(--ink);
  opacity: 0.75;
}
.link:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
}
.cta-left {
  justify-content: flex-start;
}
.reqs {
  font: 400 12px var(--mono);
  color: var(--muted);
  margin: 20px 0 0;
}

/* ───────── Type ───────── */
.label {
  font: 500 11.5px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 20px;
}
h2 {
  font: 600 clamp(34px, 5vw, 60px) / 1.04 var(--sans);
  letter-spacing: -0.04em;
  margin: 0;
  text-wrap: balance;
}
h2 em {
  font-size: 1.1em;
  line-height: 0.9;
}
.lede {
  font-size: 19px;
  color: var(--muted);
  margin: 20px auto 0;
  max-width: 560px;
  text-wrap: balance;
}
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 150px 20px 0;
}
.shead {
  text-align: center;
  margin-bottom: 64px;
}

/* ───────── Hero ───────── */
.hero {
  text-align: center;
  padding: 96px 20px 0;
  max-width: 1180px;
  margin: 0 auto;
}
.hero h1 {
  font: 600 clamp(44px, 7.6vw, 96px) / 1.02 var(--sans);
  letter-spacing: -0.05em;
  margin: 0 0 26px;
  text-wrap: balance;
}
.hero h1 em {
  font-size: 1.1em;
}
.hero .sub {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
  text-wrap: balance;
  letter-spacing: -0.015em;
}

/* Keycaps, Apple keyboard style */
.keys {
  display: inline-flex;
  gap: 0.12em;
  vertical-align: 0.08em;
}
.key {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  justify-content: flex-start;
  font: 500 0.3em/1 var(--sans);
  letter-spacing: 0;
  color: var(--ink-2);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: inset 0 0 0 1px var(--line), 0 0.06em 0 var(--line), 0 0.1em 0.18em -0.04em rgba(0, 0, 0, 0.18);
  cursor: pointer;
  user-select: none;
  transition: transform 0.12s, box-shadow 0.12s;
  min-width: 3.3em;
  height: 2.8em;
  padding: 0 0.55em 0.45em;
  border-radius: 0.5em;
}
.key-wide {
  min-width: 7.4em;
}
.key.down,
.key:active {
  transform: translateY(0.12em);
  box-shadow: inset 0 0 0 1px var(--line), 0 0 0 var(--line), 0 0.04em 0.1em rgba(0, 0, 0, 0.15);
}
.kc {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  border-radius: 7px;
  font: 500 12px var(--sans);
  color: var(--ink-2);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 0 var(--line);
}

/* ───────── Stage (live demo) ───────── */
.stage {
  position: relative;
  margin: 64px auto 0;
  height: 660px;
  border-radius: 28px;
  overflow: hidden;
  text-align: left;
  color: var(--ink);
  background: var(--dith-hi);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
  isolation: isolate;
}
.wallpaper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  z-index: -1;
}
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--noise);
  mix-blend-mode: overlay;
  opacity: 0.35;
}
.desk {
  position: absolute;
  inset: 0;
}
.win {
  position: absolute;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border-radius: 12px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.35), 0 0 0 0.5px var(--line);
  overflow: hidden;
}
.win-a {
  left: 6%;
  top: 3%;
  width: 50%;
  height: 70%;
}
.win-b {
  right: 6%;
  top: 37%;
  width: 32%;
  height: 40%;
}
.win-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line-2);
  font: 500 11px var(--sans);
  color: var(--muted);
}
.win-top i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.win-top span {
  margin: 0 auto;
  padding-right: 40px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.win-body {
  padding: 22px 24px;
}
.ln {
  height: 9px;
  border-radius: 5px;
  background: var(--line);
  margin: 0 0 14px;
}
.ln.sel {
  height: auto;
  background: none;
  font: 400 15px/1.55 var(--serif);
  font-size: 19px;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.ln.sel span {
  border-radius: 3px;
  transition: background 0.3s, color 0.3s;
}
.ln.sel.on span {
  background: var(--ink);
  color: var(--bg);
}
.w95 { width: 95%; }
.w85 { width: 85%; }
.w80 { width: 80%; }
.w70 { width: 70%; }
.w50 { width: 50%; }

/* Feature-tile minis */
.acard {
  display: flex;
  align-items: center;
  gap: 12px;
  background: color-mix(in srgb, var(--surface) 65%, transparent);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 11px 14px;
  margin: 2px 0 14px;
}
.acard > div:not(.meter) {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}
.acard b {
  font-size: 14px;
  font-weight: 600;
}
.acard span:not(.aicon) {
  font-size: 13px;
  color: var(--muted);
}
.aicon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--bg);
  font-size: 15px;
  flex: none;
}
.meter {
  margin-left: auto;
  width: 32%;
  height: 5px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
  flex: none;
}
.meter i {
  display: block;
  height: 100%;
  background: currentColor;
  border-radius: 3px;
  transition: width 0.7s var(--ease);
}
.results-list {
  margin: 0 -8px 10px;
}
.res {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 14px;
}
.res.on {
  background: var(--line-2);
}
.res em {
  margin-left: auto;
  font: 400 10.5px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-style: normal;
}
.res .ri {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--line-2);
  font-size: 13px;
  flex: none;
}
.res.on .ri {
  background: var(--ink);
  color: var(--bg);
}
.cchip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 500 12px var(--sans);
  padding: 5px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border: 1px solid var(--line);
  color: var(--ink-2);
  white-space: nowrap;
}
.cchip b {
  font-weight: 700;
}
.stage-status {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 28px);
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
  font: 400 12px var(--mono);
  color: var(--ink-2);
  white-space: nowrap;
  z-index: 3;
}
.dotlive {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  animation: pulse 1.6s ease-in-out infinite;
}
.stage-status.user .dotlive {
  animation: none;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.tick {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.sep {
  width: 1px;
  height: 12px;
  background: var(--line);
}
.stage-cap {
  margin: 22px 0 0;
  font: 400 italic 21px var(--serif);
  color: var(--muted);
}

/* ───────── Grain tiles ───────── */
.grain {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--noise);
  background-size: 180px;
  mix-blend-mode: overlay;
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.12) 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.12) 100%);
}
.t-ink {
  --fg: #f0efeb;
  --fg-2: rgba(240, 239, 235, 0.62);
  background: radial-gradient(130% 100% at 15% 0%, #5c5c59 0%, #242423 36%, #0a0a0a 78%);
}
.t-graphite {
  --fg: #f0efeb;
  --fg-2: rgba(240, 239, 235, 0.62);
  background: radial-gradient(120% 130% at 100% 0%, #9a9a95 0%, #444442 34%, #141414 80%);
}
.t-silver {
  --fg: #0d0d0d;
  --fg-2: rgba(13, 13, 13, 0.6);
  background: radial-gradient(120% 110% at 85% 0%, #ffffff 0%, #ecebe7 38%, #c9c8c2 100%);
}
.t-stone {
  --fg: #0d0d0d;
  --fg-2: rgba(13, 13, 13, 0.6);
  background: linear-gradient(172deg, #b9b8b2 0%, #dddcd7 42%, #f4f3ef 100%);
}
:root[data-theme="dark"] .t-silver {
  --fg: #f0efeb;
  --fg-2: rgba(240, 239, 235, 0.6);
  background: radial-gradient(120% 110% at 85% 0%, #6a6a66 0%, #2c2c2b 40%, #161616 100%);
}
:root[data-theme="dark"] .t-stone {
  --fg: #f0efeb;
  --fg-2: rgba(240, 239, 235, 0.6);
  background: linear-gradient(172deg, #4a4a47 0%, #232322 45%, #121212 100%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .t-silver {
    --fg: #f0efeb;
    --fg-2: rgba(240, 239, 235, 0.6);
    background: radial-gradient(120% 110% at 85% 0%, #6a6a66 0%, #2c2c2b 40%, #161616 100%);
  }
  :root:not([data-theme="light"]) .t-stone {
    --fg: #f0efeb;
    --fg-2: rgba(240, 239, 235, 0.6);
    background: linear-gradient(172deg, #4a4a47 0%, #232322 45%, #121212 100%);
  }
}

/* ───────── Bento ───────── */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.span-4 {
  grid-column: span 4;
}
.span-2 {
  grid-column: span 2;
}
.tile {
  color: var(--fg);
  border-radius: 28px;
  padding: 38px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), var(--shadow);
}
.tlabel {
  font: 500 11.5px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-2);
  margin: 0 0 14px;
}
.tile h3 {
  font: 600 clamp(24px, 2.6vw, 32px) / 1.12 var(--sans);
  letter-spacing: -0.035em;
  margin: 0 0 14px;
  max-width: 460px;
  text-wrap: balance;
}
.tile > p:not(.tlabel) {
  margin: 0 0 24px;
  color: var(--fg-2);
  font-size: 16px;
  max-width: 520px;
}
.mini {
  margin-top: auto;
}
.tile .cchip {
  background: color-mix(in srgb, var(--fg) 8%, transparent);
  border-color: color-mix(in srgb, var(--fg) 16%, transparent);
  color: var(--fg);
  backdrop-filter: blur(6px);
}
.mini-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tile .acard {
  margin: 0;
  background: color-mix(in srgb, #fff 55%, transparent);
  border-color: rgba(0, 0, 0, 0.06);
  color: var(--fg);
}
.tile .acard span:not(.aicon) {
  color: var(--fg-2);
}
.tile .aicon {
  background: var(--fg);
  color: #f3f2ee;
}
.tile .meter {
  background: color-mix(in srgb, var(--fg) 14%, transparent);
}
.mini-results {
  border-radius: 16px;
  padding: 6px;
  background: color-mix(in srgb, #fff 50%, transparent);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.mini-results .res em {
  color: var(--fg-2);
}
.mini-results .res.on {
  background: color-mix(in srgb, var(--fg) 8%, transparent);
}
.mini-results .res.on .ri {
  background: var(--fg);
  color: #f3f2ee;
}
.mini-results .res .ri {
  background: color-mix(in srgb, var(--fg) 8%, transparent);
}
/* Light tiles flipped dark: lighten the inner surfaces */
:root[data-theme="dark"] .t-silver .acard,
:root[data-theme="dark"] .t-stone .mini-results {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}
:root[data-theme="dark"] .t-silver .aicon,
:root[data-theme="dark"] .t-stone .res.on .ri {
  color: #0d0d0d;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .t-silver .acard,
  :root:not([data-theme="light"]) .t-stone .mini-results {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
  }
  :root:not([data-theme="light"]) .t-silver .aicon,
  :root:not([data-theme="light"]) .t-stone .res.on .ri {
    color: #0d0d0d;
  }
}
.mini-models {
  display: grid;
  gap: 8px;
  max-width: 520px;
}
.mini-models > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14.5px;
}
.mini-models b {
  font-weight: 500;
}

/* Badges: fill, line, dash. No colour, only weight. */
.badge {
  font: 500 10.5px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.b-fill {
  background: var(--ink);
  color: var(--bg);
}
.tile .b-fill {
  background: #f0efeb;
  color: #0d0d0d;
}
.b-line {
  box-shadow: inset 0 0 0 1px currentColor;
}
.b-dash {
  border: 1px dashed currentColor;
  opacity: 0.6;
}

/* ───────── Privacy band ───────── */
.band {
  position: relative;
  margin-top: 150px;
  background: #0a0a0a;
  color: #efeeea;
  padding: 150px 20px 120px;
  overflow: hidden;
  isolation: isolate;
}
.band-art {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  z-index: -1;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 30%, transparent 70%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 30%, transparent 70%);
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--noise);
  mix-blend-mode: screen;
  opacity: 0.06;
  pointer-events: none;
}
.band-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.band .label {
  color: rgba(239, 238, 234, 0.5);
}
.band-lede {
  font-size: 20px;
  max-width: 600px;
  margin: 24px auto 80px;
  color: rgba(239, 238, 234, 0.62);
  text-wrap: balance;
}
.facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: left;
}
.facts li {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 18px;
}
.facts b {
  display: block;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.facts span {
  font-size: 15px;
  color: rgba(239, 238, 234, 0.58);
}
.band-note {
  margin: 64px auto 0;
  font: 400 12px/1.7 var(--mono);
  color: rgba(239, 238, 234, 0.42);
  max-width: 560px;
}

/* ───────── Panels / dial ───────── */
.panel {
  background: var(--surface);
  border-radius: 28px;
  padding: 34px;
  box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow);
}
.dial {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 18px;
  align-items: start;
}
.ctl + .ctl {
  margin-top: 34px;
}
.ctl-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 14px;
}
.ctl-top b {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.ctl-ends {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font: 400 italic 15px var(--serif);
  color: var(--muted);
  margin-top: 10px;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ink) var(--fill, 30%), var(--line) var(--fill, 30%));
  cursor: pointer;
  margin: 10px 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2), 0 3px 8px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s var(--spring);
}
input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.12);
}
input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2), 0 3px 8px rgba(0, 0, 0, 0.18);
}
.ctl-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  font-weight: 500;
}
.ctl-toggle small {
  display: block;
  font: 400 italic 15px var(--serif);
  color: var(--muted);
}
.switch {
  width: 51px;
  height: 31px;
  border-radius: 999px;
  border: 0;
  background: var(--line);
  position: relative;
  cursor: pointer;
  flex: none;
  transition: background 0.25s;
}
.switch i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), 0 0 0 0.5px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s var(--spring);
}
.switch[aria-checked="true"] {
  background: var(--ink);
}
.switch[aria-checked="true"] i {
  transform: translateX(20px);
  background: var(--bg);
}
.dial-note {
  margin: 34px 0 0;
  font: 400 11.5px var(--mono);
  color: var(--muted);
}
.mhead,
#model-list li {
  display: grid;
  grid-template-columns: 1fr 74px 110px;
  gap: 10px;
  align-items: center;
}
.mhead {
  font: 500 10.5px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 0 4px 12px;
  border-bottom: 1px solid var(--line);
}
#model-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
#model-list li {
  padding: 11px 4px;
  border-bottom: 1px solid var(--line-2);
  font-size: 15px;
  transition: opacity 0.3s;
}
#model-list li:last-child {
  border-bottom: 0;
}
#model-list li.off {
  opacity: 0.35;
}
#model-list b {
  font-weight: 500;
}
#model-list small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
#model-list .sz {
  font: 400 12.5px var(--mono);
  color: var(--muted);
}
#model-list .b-fill {
  background: var(--ink);
  color: var(--bg);
}

/* ───────── Also / keys ───────── */
.grid12 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
}
.grid12 > div {
  background: var(--surface);
  padding: 28px 26px;
}
.grid12 b {
  display: block;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.grid12 span {
  font-size: 14.5px;
  color: var(--muted);
}
.keytable {
  display: grid;
  grid-template-columns: repeat(6, auto);
  justify-content: center;
  gap: 14px 34px;
  margin-top: 44px;
  font-size: 14px;
  color: var(--muted);
}
.keytable > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.kk {
  display: flex;
  gap: 4px;
}

/* ───────── Roadmap ───────── */
.road {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.road li {
  border-radius: 24px;
  padding: 28px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.road li:not(.done) {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  border: 1px dashed var(--line);
}
.rstate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 10.5px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px var(--ink);
}
.road .done .rstate {
  background: var(--ink);
  color: var(--bg);
}
.road .done .rstate::before {
  content: "✓";
}
.road b {
  display: block;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.road p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}
.past {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  font-size: 15px;
  color: var(--muted);
}
.past li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.past b {
  font: 500 12px var(--mono);
  color: var(--ink);
  margin-right: 14px;
}

/* ───────── Under the hood ───────── */
.nerd {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: start;
}
.ndl {
  margin: 0;
}
.ndl > div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.ndl > div:first-child {
  border-top: 0;
  padding-top: 0;
}
.ndl dt {
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.ndl dd {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}
.flow {
  margin: 0;
  padding: 34px 32px 30px;
  border-radius: 28px;
  color: #f0efeb;
  position: sticky;
  top: 90px;
}
.flow-cap {
  font: 500 11.5px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(240, 239, 235, 0.5);
  margin-bottom: 26px;
}
.flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.flow-steps li {
  position: relative;
  display: flex;
  gap: 18px;
  padding-bottom: 26px;
}
.flow-steps li:last-child {
  padding-bottom: 0;
}
/* The thread between the steps. */
.flow-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: 4px;
  width: 1px;
  background: repeating-linear-gradient(rgba(240, 239, 235, 0.35) 0 3px, transparent 3px 7px);
}
.fs-dot {
  flex: none;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  border: 1px solid rgba(240, 239, 235, 0.35);
  font: 500 12px var(--mono);
  color: rgba(240, 239, 235, 0.8);
  background: #0d0d0d;
}
.flow-steps li:first-child .fs-dot {
  background: #f0efeb;
  color: #0d0d0d;
  border-color: #f0efeb;
}
.flow-steps b {
  display: block;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 31px;
}
.flow-steps div > span {
  display: block;
  font-size: 14.5px;
  color: rgba(240, 239, 235, 0.6);
}
.fs-chain {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.fs-chain i {
  font-style: normal;
  font-size: 13px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(240, 239, 235, 0.22);
  color: rgba(240, 239, 235, 0.85);
}
.fs-chain em {
  font-family: var(--sans);
  font-style: normal;
  color: rgba(240, 239, 235, 0.4);
}
.fs-branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.fs-branch {
  display: flex !important;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(240, 239, 235, 0.28);
  font-size: 14px !important;
  font-weight: 500;
  color: #f0efeb !important;
}
.fs-branch.on {
  border: 1px solid rgba(240, 239, 235, 0.55);
  background: rgba(240, 239, 235, 0.07);
}
.fs-branch small {
  font: 500 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(240, 239, 235, 0.5);
}
.fs-branch em {
  font-family: var(--sans);
  font-style: normal;
  letter-spacing: -0.005em;
  font-weight: 400;
  font-size: 12.5px;
  color: rgba(240, 239, 235, 0.55);
}

/* ───────── Pricing ───────── */
.price-card {
  color: var(--fg);
  border-radius: 36px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  box-shadow: var(--shadow);
}
.price-card .label {
  color: var(--fg-2);
}
.price {
  font: 600 clamp(52px, 6.6vw, 92px) / 0.95 var(--sans);
  letter-spacing: -0.055em;
  margin: 0 0 18px;
}
.price em {
  font-size: 0.9em;
  letter-spacing: -0.02em;
}
.price-sub {
  font-size: 18px;
  color: var(--fg-2);
  margin: 0 0 30px;
  max-width: 420px;
}
.price-list {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 16px;
}
.price-list li {
  display: flex;
  gap: 12px;
}
.price-list li::before {
  content: "—";
  color: var(--fg-2);
}
.price-card .btn {
  background: var(--fg);
  color: #f3f2ee;
}
.price-card .link {
  color: var(--fg);
}
.price-card .reqs {
  color: var(--fg-2);
}
:root[data-theme="dark"] .price-card .btn {
  color: #0d0d0d;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .price-card .btn {
    color: #0d0d0d;
  }
}
.moon-wrap {
  position: relative;
  width: 100%;
  max-width: 400px;
  justify-self: center;
}
.moon {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  image-rendering: pixelated;
  border-radius: 50%;
}
.stamp {
  position: absolute;
  right: -2%;
  bottom: 2%;
  width: 22%;
  height: auto;
  transform: rotate(-8deg);
  opacity: 0.92;
  fill: var(--fg);
  pointer-events: none;
}
.stamp .cut {
  fill: none;
  stroke: #e9e8e3;
  stroke-width: 9;
  stroke-linecap: round;
}
.stamp .cutf {
  fill: #e9e8e3;
}
:root[data-theme="dark"] .stamp .cut {
  stroke: #1c1c1c;
}
:root[data-theme="dark"] .stamp .cutf {
  fill: #1c1c1c;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .stamp .cut {
    stroke: #1c1c1c;
  }
  :root:not([data-theme="light"]) .stamp .cutf {
    fill: #1c1c1c;
  }
}

/* ───────── FAQ ───────── */
.faq {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 44px 24px 0;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform 0.35s var(--spring);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 660px;
  animation: rise 0.3s var(--ease);
}

/* ───────── Footer ───────── */
.footer {
  max-width: 1080px;
  margin: 150px auto 0;
  padding: 28px 20px 44px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  font-size: 13px;
  color: var(--muted);
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 400 italic 17px var(--serif);
  color: var(--ink);
}
.foot-brand .seal {
  width: 22px;
  height: 22px;
}
.foot-links {
  display: flex;
  gap: 22px;
}
.foot-links a {
  text-decoration: none;
}
.foot-links a:hover {
  color: var(--ink);
}
.copy {
  margin: 0 0 0 auto;
}

/* ───────── Reveal ───────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@keyframes pop {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: none; }
}
@keyframes blink {
  to { visibility: hidden; }
}
@keyframes pulse {
  50% { opacity: 0.25; }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ───────── Narrow ───────── */
@media (max-width: 980px) {
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .span-4 {
    grid-column: span 2;
  }
  .span-2 {
    grid-column: span 1;
  }
  .facts,
  .grid12 {
    grid-template-columns: repeat(2, 1fr);
  }
  .dial,
  .nerd {
    grid-template-columns: 1fr;
  }
  .flow {
    position: static;
  }
  .keytable {
    grid-template-columns: repeat(3, auto);
  }
  .price-card {
    grid-template-columns: 1fr;
    padding: 48px 36px;
  }
  .moon-wrap {
    max-width: 300px;
  }
}
@media (max-width: 720px) {
  body {
    font-size: 16px;
  }
  .nav {
    display: none;
  }
  .topbar .btn-small {
    margin-left: auto;
  }
  .section {
    padding-top: 110px;
  }
  .shead {
    margin-bottom: 44px;
  }
  .bento,
  .road {
    grid-template-columns: 1fr;
  }
  .span-4,
  .span-2 {
    grid-column: auto;
  }
  .tile {
    min-height: 0;
    padding: 30px 26px;
    border-radius: 24px;
  }
  .tile .mini {
    margin-top: 24px;
  }
  .stage {
    height: 680px;
    border-radius: 22px;
    margin-left: -8px;
    margin-right: -8px;
  }
  .win-a {
    width: 88%;
  }
  .win-b {
    display: none;
  }
  .stage-status .sep,
  #status-hint {
    display: none;
  }
  .panel {
    padding: 24px;
  }
  .mhead,
  #model-list li {
    grid-template-columns: 1fr 60px 98px;
  }
  .keytable {
    grid-template-columns: repeat(2, auto);
    justify-content: start;
  }
  .band {
    padding: 110px 20px 90px;
  }
  .price-card {
    padding: 40px 26px;
    border-radius: 28px;
  }
  .copy {
    margin-left: 0;
    width: 100%;
  }
}
@media (max-width: 480px) {
  .facts,
  .grid12 {
    grid-template-columns: 1fr;
  }
  .grid12 > div {
    padding: 22px;
  }
}
@media (max-width: 480px) {
  .fs-branches {
    grid-template-columns: 1fr;
  }
  .flow {
    padding: 28px 22px 26px;
  }
}

/* An installer that isn't up yet. */
.btn.soon,
.link.soon {
  opacity: 0.45;
  pointer-events: none;
}

/* Launch sale */
.sale {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: -14px 0 26px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  color: var(--ink-2);
}
.sale[hidden] {
  display: none;
}
.sale > span:first-child {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font: 500 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.sale-left {
  margin: 0 0 18px;
  color: var(--fg-2);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg) 18%, transparent);
}
.sale-left > span:first-child {
  background: var(--fg);
  color: var(--bg);
}
.sale-top {
  margin: 0 0 22px;
}
.price .was {
  margin-right: 0.22em;
  font-weight: 400;
  font-size: 0.5em;
  color: var(--fg-2);
  text-decoration-thickness: 2px;
  vertical-align: 0.5em;
}

/* ───────── Guides, changelog ───────── */
.post {
  max-width: 740px;
  margin: 0 auto;
  padding: 56px 20px 0;
}
.post-index {
  max-width: 900px;
}
.crumbs {
  display: flex;
  gap: 8px;
  font: 400 12px var(--mono);
  color: var(--muted);
  margin-bottom: 40px;
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--ink);
}
.post-head h1 {
  font: 600 clamp(34px, 5.4vw, 54px) / 1.06 var(--sans);
  letter-spacing: -0.045em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.post-head h1 em {
  font-size: 1.08em;
}
.post-dek {
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 18px;
  text-wrap: pretty;
}
.post-meta {
  font: 400 12.5px var(--mono);
  color: var(--muted);
  margin: 0 0 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.post-body {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.post-body h2 {
  font: 600 26px/1.2 var(--sans);
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 48px 0 12px;
}
.post-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 6px;
}
.post-body p {
  margin: 0 0 18px;
}
.post-body ul,
.post-body ol {
  margin: 0 0 20px;
  padding-left: 22px;
}
.post-body li {
  margin: 6px 0;
}
.post-body strong,
.post-body b {
  color: var(--ink);
  font-weight: 600;
}
.post-body a {
  color: var(--ink);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 26px;
  font-size: 15px;
}
.post-body th,
.post-body td {
  text-align: left;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.post-body th {
  font: 500 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.post-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  margin: 56px 0 0;
  padding: 28px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow);
}
.post-cta b {
  display: block;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.post-cta span {
  color: var(--muted);
  font-size: 15px;
}
.post-cta .cta span {
  color: inherit;
}
.post-cta > div:first-child {
  max-width: 380px;
}
.post-more {
  margin-top: 64px;
}
.guide-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.guide-list li {
  border-top: 1px solid var(--line);
}
.guide-list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 0;
  text-decoration: none;
}
.guide-list b {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.guide-list a:hover b {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.guide-list span {
  color: var(--muted);
  font-size: 15px;
}
.guide-list small {
  font: 500 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.guide-list-big {
  margin-top: 8px;
}
.guide-list-big b {
  font-size: 22px;
}
.guide-list-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.guide-list-home li {
  border: 0;
}
.guide-list-home a {
  height: 100%;
  padding: 26px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow);
  gap: 8px;
}
.guides-more {
  text-align: center;
  margin: 28px 0 0;
}
.changelog .release {
  margin-bottom: 44px;
}
.changelog h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 0;
}
.changelog h2 span {
  font: 400 13px var(--mono);
  color: var(--muted);
  letter-spacing: 0;
}
@media (max-width: 860px) {
  .guide-list-home {
    grid-template-columns: 1fr;
  }
}
