@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: swap;
}

:root {
  --paper: #fcfbfe;
  --paper-2: #f4f1f9;
  --ink: #16121d;
  --ink-2: #574f66;
  --rule: #e6e1ee;
  --rule-2: #cfc7dc;
  --spot: #7339e0;
  --spot-ink: #6328d0;
  --key-face: #ffffff;
  --key-edge: #cbc3d8;
  --key-shadow: rgb(40 20 80 / 0.10);
  --btn: #16121d;
  --btn-ink: #ffffff;
  --sel: rgb(115 57 224 / 0.18);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem; --s10: 8rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #110d17;
    --paper-2: #18131f;
    --ink: #efebf5;
    --ink-2: #aaa2b9;
    --rule: #2a2433;
    --rule-2: #3d3549;
    --spot: #b591ff;
    --spot-ink: #c4a6ff;
    --key-face: #1f1928;
    --key-edge: #463e53;
    --key-shadow: rgb(0 0 0 / 0.5);
    --btn: #efebf5;
    --btn-ink: #110d17;
    --sel: rgb(181 145 255 / 0.28);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--sel); color: inherit; }
img, svg { display: block; }
a { color: inherit; text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: var(--rule-2); transition: text-decoration-color 150ms ease; }
@media (hover: hover) { a:hover { text-decoration-color: currentColor; } }
:focus-visible { outline: 2px solid var(--spot); outline-offset: 3px; border-radius: 4px; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.88em; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 4px; padding: 0.05em 0.3em; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--s4); top: -3rem; z-index: 10; background: var(--btn); color: var(--btn-ink); padding: var(--s2) var(--s4); border-radius: 8px; text-decoration: none; }
.skip:focus { top: var(--s3); }

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

/* Keycaps: the legend of the whole page */
.key {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.75em; height: 1.6em; padding: 0 0.4em;
  font: 500 0.8em/1 "Archivo", system-ui, sans-serif; font-stretch: 100%;
  color: var(--ink);
  background: var(--key-face);
  border: 1px solid var(--key-edge);
  border-bottom-width: 2px;
  border-radius: 0.32em;
  box-shadow: 0 1px 2px var(--key-shadow);
  vertical-align: 0.1em;
  transition: transform 90ms var(--ease-out), border-bottom-width 90ms var(--ease-out), background-color 120ms ease, border-color 120ms ease;
}
.key svg { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.key.is-down { transform: translateY(1px); border-bottom-width: 1px; background: var(--paper-2); border-color: var(--spot); color: var(--spot-ink); }
.key-s { font-size: 0.78em; height: 1.55em; min-width: 0; }
.key-l { font-size: 0.72em; vertical-align: 0.12em; }
.key-xl { font-size: 0.74em; min-width: 1.5em; height: 1.32em; border-radius: 0.2em; border-bottom-width: 0.06em; vertical-align: 0.06em; box-shadow: 0 0.04em 0.08em var(--key-shadow); }
.key-xl svg { stroke-width: 2.2; width: 0.9em; height: 0.9em; }
.key-xl.is-down { transform: translateY(0.04em); border-bottom-width: 1px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.top.is-stuck { border-bottom-color: var(--rule); }
.top-row { display: flex; align-items: center; gap: var(--s5); height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 700; font-stretch: 112%; font-size: 1.125rem; letter-spacing: -0.01em; }
.brand img { width: 1.75rem; height: 1.75rem; }
.top-nav { display: flex; gap: var(--s5); margin-left: auto; font-size: 0.9375rem; }
.top-nav a { text-decoration: none; color: var(--ink-2); padding-block: var(--s2); }
@media (hover: hover) { .top-nav a:hover { color: var(--ink); } }
@media (max-width: 760px) { .top-nav { display: none; } .top-row .btn-small { margin-left: auto; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  height: 2.875rem; padding: 0 1.25rem;
  background: var(--btn); color: var(--btn-ink);
  border: 1px solid var(--btn); border-radius: 0.6rem;
  font: 600 1rem/1 "Archivo", system-ui, sans-serif; font-stretch: 104%;
  text-decoration: none; white-space: nowrap;
  transition: transform 140ms var(--ease-out), background-color 150ms ease, border-color 150ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--rule-2); }
@media (hover: hover) { .btn-quiet:hover { border-color: var(--ink-2); } .btn:not(.btn-quiet):hover { background: color-mix(in srgb, var(--btn) 86%, var(--spot)); } }
.btn-small { height: 2.25rem; padding: 0 0.95rem; font-size: 0.9375rem; border-radius: 0.5rem; }
.btn-icon { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn-icon-end { width: 0.95rem; height: 0.95rem; color: var(--ink-2); }

/* Hero */
.hero { padding-top: clamp(var(--s7), 6vw, 5.5rem); }
.hero-title {
  font-size: clamp(2.5rem, 1.3rem + 4.6vw, 4.625rem);
  line-height: 1.04; font-weight: 720; font-stretch: 114%;
  letter-spacing: -0.032em; max-width: 21ch;
}
.hero-lead { margin-top: var(--s5); max-width: 37rem; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.5; color: var(--ink-2); }
.hero-lead .key { font-size: 0.72em; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.meta { margin-top: var(--s4); font-size: 0.875rem; color: var(--ink-2); max-width: 40rem; }
@media (min-width: 1040px) {
  .hero-sub { display: grid; grid-template-columns: minmax(0, 37rem) minmax(0, 28rem); justify-content: space-between; align-items: end; gap: var(--s7); margin-top: var(--s6); }
  .hero-sub .hero-lead { margin-top: 0; }
  .hero-sub .actions { margin-top: 0; flex-wrap: nowrap; }
}

/* The plate: the app's violet dusk, the one place colour fills a region */
.plate-figure { margin: clamp(2.5rem, 5vw, 4rem) 0 0; }
.plate {
  position: relative; container-type: inline-size;
  display: grid; place-items: center;
  min-height: clamp(18rem, 46vw, 36rem);
  padding: clamp(1.25rem, 5%, 4rem) clamp(0.75rem, 3%, 3rem);
  border-radius: 16px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 55% at 62% 30%, rgb(184 146 242 / 0.42), transparent 70%),
    linear-gradient(180deg, #21114a 0%, #40287f 55%, #6c4dac 100%);
}
.plate::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 48%; z-index: -1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 400 1640 540' preserveAspectRatio='none'%3E%3Cpath fill='%233e2a77' opacity='.85' d='M0 610c180-90 300-50 430-110s270-80 430-30 290 90 440 30 240-60 340-30v470H0Z'/%3E%3Cpath fill='%23301f64' d='M0 690c200-70 380-30 560-80s340-50 520 10 340 80 560 20v300H0Z'/%3E%3Cpath fill='%2324164f' d='M0 780c260-60 520-10 760-50s440-30 640 20 180 20 240 10v180H0Z'/%3E%3Cpath fill='%231a1039' d='M0 860c300-30 640 10 900-10s500-30 740 0v90H0Z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}
.plate > img.capture { width: 100%; height: auto; border-radius: 10px; }

.caption { margin-top: var(--s3); font-size: 0.875rem; color: var(--ink-2); max-width: 46rem; }
.caption .key { font-size: 0.75em; }

/* Demo controls */
.demo-controls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); margin-bottom: var(--s3); }
.demo-controls[hidden] { display: none; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--rule); border-radius: 0.6rem; background: var(--paper-2); }
.seg button { font: 500 0.875rem/1 "Archivo", system-ui, sans-serif; color: var(--ink-2); background: transparent; border: 0; border-radius: 0.45rem; padding: 0.5rem 0.75rem; cursor: pointer; transition: background-color 150ms ease, color 150ms ease; }
.seg button[aria-checked="true"] { background: var(--key-face); color: var(--ink); box-shadow: 0 1px 2px var(--key-shadow), 0 0 0 1px var(--rule); }
.swatches { display: inline-flex; gap: 0.6rem; align-items: center; }
.swatches button { width: 1.375rem; height: 1.375rem; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.15); }
.swatches button[aria-checked="true"] { outline: 2px solid var(--c); outline-offset: 2px; }
.swatches button:focus-visible { outline: 2px solid var(--spot); outline-offset: 3px; }
[data-accent="blue"] { --c: #0a7aff; }
[data-accent="purple"] { --c: #a550a7; }
[data-accent="orange"] { --c: #f7821b; }
[data-accent="graphite"] { --c: #8c8c8c; }

/* ===== The switcher, matched to the app (docs/design-direction.md) ===== */
.switcher {
  --panel: rgb(30 30 32 / 0.88);
  --panel-edge: rgb(255 255 255 / 0.10);
  --label: #f2f2f2;
  --accent: #0a84ff;
  font-size: min(1.6cqi, 17px);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Archivo", sans-serif;
  color: var(--label);
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: 1.55em;
  padding: 1.25em 1.25em;
  box-shadow: 0 1.5em 4em rgb(10 4 30 / 0.45), 0 0.2em 0.6em rgb(10 4 30 / 0.3);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  max-width: 100%;
  outline: none;
}
.switcher[data-theme="light"] { --panel: rgb(236 236 238 / 0.86); --panel-edge: rgb(255 255 255 / 0.5); --label: #1d1d1f; --accent: #007aff; }
@media (prefers-color-scheme: light) { .switcher:not([data-theme]) { --panel: rgb(236 236 238 / 0.86); --panel-edge: rgb(255 255 255 / 0.5); --label: #1d1d1f; --accent: #007aff; } }
.switcher[data-accent="purple"] { --accent: #a550a7; }
.switcher[data-accent="orange"] { --accent: #f7821b; }
/* Graphite has no hue; the app draws the ring in the label colour at 60% instead. */
.switcher[data-accent="graphite"] { --accent: color-mix(in srgb, var(--label) 60%, transparent); }
.switcher:has(.tiles:focus-visible) { box-shadow: 0 1.5em 4em rgb(10 4 30 / 0.45), 0 0 0 3px #fff, 0 0 0 5px #7339e0; }

.tiles { list-style: none; margin: 0; padding: 0; outline: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0; max-width: 56em; }
.tile { position: relative; border-radius: 0.75em; cursor: default; user-select: none; -webkit-user-select: none; }
.tile-head { display: flex; align-items: center; gap: 0.4em; min-width: 0; }
.app-icon { width: 1.4em; height: 1.4em; flex: none; }
.tile-title { font-size: 0.875em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; letter-spacing: -0.003em; }

/* Selection: a ring at the tile's edge, the tile's own padding is the gap. No fill, no animation. */
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 var(--ring, 0) var(--ring-c, transparent); }
.tile.is-selected { --ring: 0.1875em; --ring-c: var(--accent); }
@media (hover: hover) and (pointer: fine) { .js .switcher .tile:not(.is-selected):hover { --ring: 0.094em; --ring-c: color-mix(in srgb, var(--accent) 70%, transparent); } }
@media (prefers-contrast: more) { .tile.is-selected { --ring: 0.25em; } }

/* Thumbnails */
[data-style="thumbnails"] .tile { padding: 0.75em; width: calc(var(--w, 9em) + 1.5em); }
[data-style="thumbnails"] .tile-head { margin-bottom: 0.45em; }

[data-style="thumbnails"] .tile { --w: calc(7.25em * var(--ar, 1.4)); }
.thumb { height: 7.25em; width: 100%; }
.tile[data-ar=".95"] { --ar: 0.95; }
.tile[data-ar="1.25"] { --ar: 1.25; }
.tile[data-ar="1.3"] { --ar: 1.3; }
.tile[data-ar="1.5"] { --ar: 1.5; }
.tile[data-ar="1.55"] { --ar: 1.55; }
.tile[data-ar="1.6"] { --ar: 1.6; }
.plate [data-style="thumbnails"] .tiles { max-width: 45.5em; }

/* App Icons */
[data-style="app-icons"] .tiles { flex-wrap: nowrap; padding-bottom: 1.6em; }
[data-style="app-icons"] .tile { padding: 0.35em; }
[data-style="app-icons"] .thumb { display: none; }
[data-style="app-icons"] .app-icon { width: 5.25em; height: 5.25em; }
[data-style="app-icons"] .tile-title { position: absolute; left: 50%; top: calc(100% + 0.25em); transform: translateX(-50%); font-weight: 600; font-size: 0.95em; display: none; text-shadow: 0 0 0.25em var(--panel); }
[data-style="app-icons"] .tile.is-selected .tile-title { display: block; }

/* Titles */
[data-style="titles"] .tiles { flex-direction: column; flex-wrap: nowrap; align-items: stretch; min-width: min(28em, 100%); }
[data-style="titles"] .tile { padding: 0.45em 0.6em; border-radius: 0.6em; }
[data-style="titles"] .thumb { display: none; }
[data-style="titles"] .app-icon { width: 1.75em; height: 1.75em; }
[data-style="titles"] .tile-title { font-size: 1.05em; }
[data-style="titles"] .tile.is-selected { --ring: 0.125em; background: color-mix(in srgb, var(--accent) 8%, transparent); }

/* Phone widths: fewer, larger windows */
@container (max-width: 560px) {
  .plate .switcher { font-size: 3.15cqi; }
  .plate [data-style="thumbnails"] .tile:nth-child(n+5) { display: none; }
  .plate [data-style="app-icons"] .tile:nth-child(n+6) { display: none; }
  .plate [data-style="app-icons"] .app-icon { width: 3.6em; height: 3.6em; }
  .plate [data-style="titles"] .tile:nth-child(n+7) { display: none; }
}

/* Window contents: plain geometry, made up */
.win { display: flex; flex-direction: column; border-radius: 0.35em; overflow: hidden; background: #fff; color: #1b1b1f; box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.25), 0 0.15em 0.4em rgb(0 0 0 / 0.25); font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; }
.win-dark { background: #1c1d22; color: #e8e8ea; }
.win-bar { display: flex; align-items: center; gap: 0.22em; height: 1.05em; padding: 0 0.42em; background: #f1f1f3; border-bottom: 0.5px solid rgb(0 0 0 / 0.08); flex: none; }
.win-dark .win-bar { background: #2a2b31; border-bottom-color: rgb(255 255 255 / 0.06); }
.win-bar i { width: 0.36em; height: 0.36em; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3) { background: #28c840; }
.win-bar b { flex: 1; height: 0.42em; margin: 0 18% 0 12%; border-radius: 1em; background: rgb(0 0 0 / 0.07); }
.win-body { flex: 1; min-height: 0; padding: 0.5em 0.65em; display: flex; flex-direction: column; gap: 0.26em; overflow: hidden; }
.bar { display: block; height: 0.28em; border-radius: 1em; background: rgb(0 0 0 / 0.14); flex: none; }
.w100 { width: 100%; } .w95 { width: 95%; } .w90 { width: 90%; } .w85 { width: 85%; } .w80 { width: 80%; } .w75 { width: 75%; } .w70 { width: 70%; } .w60 { width: 60%; }
.gap { height: 0.25em; flex: none; }
.page-h { font-weight: 700; font-size: 0.78em; letter-spacing: -0.01em; }
.page-s { font-size: 0.5em; color: #66666d; }
.page img { width: 100%; height: 2.85em; object-fit: cover; border-radius: 0.1em; }
.page-split { flex-direction: row; gap: 0.5em; background: #faf6ee; align-items: center; }
.page-split > div { display: flex; flex-direction: column; gap: 0.32em; flex: 1; }
.page-split img { width: 3.9em; height: 3.9em; object-fit: cover; border-radius: 0.15em; }
.page-s2 { font-weight: 600; font-size: 0.5em; margin-bottom: 0.25em; }
.pill { display: block; width: 3em; height: 0.6em; border-radius: 1em; background: #2f4a3c; margin-top: 0.15em; }
.list-h, .doc-h { font-weight: 700; font-size: 0.72em; margin-bottom: 0.1em; }
.list .row { display: flex; align-items: center; gap: 0.35em; font-size: 0.48em; line-height: 1.15; color: #2a2a30; }
.list .row::before { content: ""; width: 0.95em; height: 0.95em; border-radius: 50%; border: 0.12em solid #ff7759; flex: none; }
.list .row.done { color: #6b6b73; text-decoration: line-through; text-decoration-color: rgb(0 0 0 / 0.3); }
.list .row.done::before { background: #ff7759 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.5 5.2 4.2 7 7.6 3.2' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.term { font-family: ui-monospace, "SF Mono", Menlo, monospace; gap: 0.18em; }
.t-line { font-size: 0.48em; line-height: 1.3; white-space: nowrap; }
.t-line em { font-style: normal; color: #7ee08a; }
.t-dim { color: #8b8d96; }
.t-ok { color: #7ee08a; }
.t-line u { display: inline-block; width: 0.55em; height: 1em; vertical-align: -0.15em; background: #e8e8ea; text-decoration: none; }
.photo { padding: 0; background: #0f0f12; justify-content: center; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }

/* Sections */
.section { padding-block: clamp(var(--s8), 8vw, 7rem); }
.section + .section { border-top: 1px solid var(--rule); }
.hero + .section { margin-top: clamp(var(--s8), 8vw, var(--s9)); border-top: 1px solid var(--rule); }
.h2 { font-size: clamp(1.75rem, 1.15rem + 2.3vw, 2.75rem); line-height: 1.1; font-weight: 680; font-stretch: 110%; letter-spacing: -0.026em; max-width: 22ch; }
.h2 .key { font-size: 0.66em; }
.h3 { font-size: 1.125rem; font-weight: 650; font-stretch: 106%; letter-spacing: -0.01em; }
.lead { margin-top: var(--s4); max-width: 40rem; font-size: 1.125rem; color: var(--ink-2); }
.section p:not(.lead):not(.meta):not(.aside):not(.bench-figure):not(.bench-what) + p { margin-top: var(--s4); }
.two > div > p:not(.lead) { margin-top: var(--s4); max-width: 40rem; }
.aside { margin-top: var(--s5); max-width: 44rem; font-size: 0.9375rem; color: var(--ink-2); }

/* The shortcut card */
.card { margin-top: var(--s7); display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule-2); border-radius: 14px; background: var(--paper); overflow: hidden; }
.keys-col { margin: 0; }
.keys-col + .keys-col { border-left: 1px solid var(--rule); }
.krow { display: grid; grid-template-columns: 9.5rem 1fr; align-items: center; gap: var(--s4); padding: 0.95rem var(--s5); border-top: 1px solid var(--rule); transition: background-color 200ms ease; }
.krow:first-child { border-top: 0; }
.krow dt { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; font-size: 1.25rem; }
.krow dd { margin: 0; }
.krow.is-lit { background: var(--sel); transition-duration: 0ms; }
.krow.is-lit .key { border-color: var(--spot); color: var(--spot-ink); }
.release { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.8125rem; color: var(--ink-2); }
.release .key { font-size: 1rem; }
.or { font-size: 0.8125rem; color: var(--ink-2); margin-inline: 0.15rem; }
@media (max-width: 820px) {
  .card { grid-template-columns: 1fr; }
  .keys-col + .keys-col { border-left: 0; border-top: 1px solid var(--rule); }
}
@media (max-width: 480px) { .krow { grid-template-columns: 5.5rem 1fr; gap: var(--s3); padding: 0.85rem var(--s4); } .krow dd { font-size: 0.9375rem; } .release { flex-wrap: wrap; } }

/* Styles */
.styles { margin-top: var(--s7); display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s6) var(--s5); }
.style-wide { grid-column: 1 / -1; }
.style-fig { margin: 0; }
.shot {
  container-type: inline-size; aspect-ratio: 16 / 11; border-radius: 12px; overflow: hidden;
  display: grid; place-items: center; padding: 5%;
  background: radial-gradient(70% 60% at 60% 25%, rgb(184 146 242 / 0.38), transparent 70%), linear-gradient(180deg, #2a175a, #4a3190 70%, #644aa3);
}
.shot { position: relative; }
.shot img.capture { position: absolute; inset: 7% 6%; width: 88%; height: 86%; object-fit: contain; }
.shot-wide img.capture { inset: 5% 5%; width: 90%; height: 90%; }
.shot picture { display: contents; }
.shot-wide { aspect-ratio: 16 / 9; padding: 4% 6%; }
.shot-search { aspect-ratio: auto; padding: 4% 4%; }
.shot-search img.capture { position: static; width: 100%; height: auto; }
.search-fig { margin: var(--s7) 0 0; }
.search-fig figcaption { margin-top: var(--s3); font-size: 0.9375rem; color: var(--ink-2); max-width: 46rem; }
.style-fig figcaption { margin-top: var(--s4); font-size: 0.9375rem; color: var(--ink-2); max-width: 30rem; }
.style-fig figcaption strong { color: var(--ink); font-weight: 650; }
@media (max-width: 720px) { .styles { grid-template-columns: 1fr; } }

/* Filters */
.spec { margin-top: var(--s7); width: 100%; border-collapse: collapse; font-size: 1rem; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 1rem 0; border-top: 1px solid var(--rule); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--rule); }
.spec th { width: 34%; padding-right: var(--s6); font-weight: 600; }
.spec td { color: var(--ink-2); }
@media (max-width: 640px) { .spec th, .spec td { display: block; width: auto; } .spec td { border-top: 0; padding-top: 0; } }

/* Speed */
.bench { margin-top: var(--s7); display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.bench-row { padding: var(--s5) var(--s6) var(--s5) 0; }
.bench-row + .bench-row { border-left: 1px solid var(--rule); padding-left: var(--s6); }
.bench-figure { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); font-weight: 650; font-stretch: 112%; letter-spacing: -0.025em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.bench-figure .num { font-weight: 760; }
.bench-what { margin-top: var(--s2); color: var(--ink-2); max-width: 26rem; }
@media (max-width: 720px) { .bench { grid-template-columns: 1fr; } .bench-row + .bench-row { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; } }

/* Two-column sections */
.two { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--s7) clamp(var(--s7), 6vw, var(--s9)); align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } }
.note { border: 1px solid var(--rule-2); border-radius: 14px; padding: var(--s5) var(--s5) var(--s5); background: var(--paper-2); }
.note p { margin-top: var(--s3); color: var(--ink-2); font-size: 0.9375rem; }
.ticks { list-style: none; margin: var(--s5) 0 var(--s5); padding: 0; display: grid; gap: 0; max-width: 32rem; }
.ticks li { display: flex; gap: var(--s3); align-items: baseline; padding: 0.6rem 0; border-top: 1px solid var(--rule); font-weight: 500; }
.ticks li:last-child { border-bottom: 1px solid var(--rule); }
.ticks li::before { content: ""; width: 0.85rem; height: 0.55rem; flex: none; border-left: 2px solid var(--spot); border-bottom: 2px solid var(--spot); transform: translateY(-0.2rem) rotate(-45deg); }
.req { border: 1px solid var(--rule-2); border-radius: 14px; overflow: hidden; background: var(--paper); }
.req .h3 { padding: var(--s4) var(--s5); border-bottom: 1px solid var(--rule); font-size: 1rem; }
.req-url { display: flex; gap: var(--s3); align-items: baseline; padding: var(--s4) var(--s5); background: var(--paper-2); border-bottom: 1px solid var(--rule); font-size: 0.875rem; }
.req-url code { background: none; border: 0; padding: 0; overflow-wrap: anywhere; color: var(--ink); }
.req-verb { font-weight: 700; font-stretch: 112%; font-size: 0.75rem; color: var(--spot-ink); border: 1px solid currentColor; border-radius: 4px; padding: 0.1em 0.4em; flex: none; }
.req-list { margin: 0; }
.req-list > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--s4); padding: 0.8rem var(--s5); border-top: 1px solid var(--rule); font-size: 0.9375rem; }
.req-list > div:first-child { border-top: 0; }
.req-list dt { font-weight: 600; }
.req-list dd { margin: 0; color: var(--ink-2); }
.perms-title { margin-top: var(--s8); }
.spec-tight { margin-top: var(--s4); }
.perms { margin: var(--s3) 0 0; }
.perms dt { font-weight: 600; margin-top: var(--s4); font-size: 0.9375rem; }
.perms dd { margin: var(--s1) 0 0; color: var(--ink-2); font-size: 0.9375rem; }

/* Install */
.steps { list-style: none; margin: var(--s7) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); counter-reset: none; }
.steps li { border-top: 1px solid var(--ink); padding-top: var(--s4); }
.step-n { display: block; font-weight: 700; font-stretch: 112%; font-size: 0.875rem; color: var(--spot-ink); margin-bottom: var(--s2); font-variant-numeric: tabular-nums; }
.steps p { max-width: 18rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.install .actions { margin-top: var(--s7); }

/* Footer */
.foot { border-top: 1px solid var(--rule); padding-block: var(--s7) var(--s8); font-size: 0.875rem; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: var(--s5) var(--s7); }
.foot-id { display: flex; flex-direction: column; gap: var(--s3); }
.foot-id .brand { color: var(--ink); font-size: 1rem; }
.foot-id .brand img { width: 1.5rem; height: 1.5rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); align-content: start; }
.foot-links a { text-decoration: none; color: var(--ink); }
@media (hover: hover) { .foot-links a:hover { text-decoration: underline; } }
.foot-notice { grid-column: 1 / -1; max-width: 46rem; padding-top: var(--s5); border-top: 1px solid var(--rule); }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
}
@media print {
  .top, .demo-controls, .plate-figure { display: none; }
}
