/* Parked Prompts. A parking lot at night: asphalt, painted lines, sign blue, curb amber. */
@font-face { font-family: Overpass; src: url(fonts/overpass.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Overpass Mono'; src: url(fonts/overpass-mono-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Overpass Mono'; src: url(fonts/overpass-mono-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }

:root {
  color-scheme: light dark;
  --sign: #1557d6;
  --sign-bright: #5b9bff;
  --curb: #ffb224;
  --asphalt: #121417;
  --asphalt-2: #1a1d21;
  --asphalt-3: #24282e;
  --paint: #f4f2ec;
  --paint-dim: #c2c1ba;

  --bg: #f4f2ec;
  --bg-2: #eae7de;
  --surface: #fffefb;
  --ink: #15171b;
  --muted: #4f525a;
  --line: #cfccc1;
  --link: #1149b5;
  --accent-ink: #7a4d00;
  --ok: #17693a;
  --radius: 10px;
  --wrap: 1160px;
  --sans: Overpass, -apple-system, 'Segoe UI', system-ui, sans-serif;
  --mono: 'Overpass Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121417;
    --bg-2: #1a1d21;
    --surface: #1e2126;
    --ink: #f4f2ec;
    --muted: #b1b1ab;
    --line: #363a41;
    --link: #8ab8ff;
    --accent-ink: #ffb224;
    --ok: #57d08a;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
code, pre, kbd { font-family: var(--mono); font-size: 0.88em; }
:not(pre) > code, kbd { padding: 0.08em 0.35em; border-radius: 4px; background: var(--bg-2); overflow-wrap: anywhere; }
kbd { border: 1px solid var(--line); border-bottom-width: 2px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.015em; font-weight: 800; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.2vw, 46px); }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.005em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sign-bright); outline-offset: 2px; border-radius: 3px; }
[hidden] { display: none !important; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; padding: 8px 14px; background: var(--sign); color: #fff; border-radius: 6px; }
.skip:focus { top: 10px; }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { max-width: 720px; display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 19px; }
.alt { background: var(--bg-2); }

/* The parking sign */
.sign { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 0.34em; background: var(--sign); color: #fff; font: 800 1em/1 var(--sans); box-shadow: inset 0 0 0 0.12em var(--sign), inset 0 0 0 0.19em #fff; padding-top: 0.08em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--asphalt); color: var(--paint); border-bottom: 1px solid #2c3036; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; min-height: 62px; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: inherit; text-decoration: none; font-size: 18px; letter-spacing: -0.01em; white-space: nowrap; }
.brand img { width: 30px; height: 30px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 2px 4px; margin-left: auto; align-items: center; }
.site-nav a { padding: 6px 11px; border-radius: 6px; color: var(--paint-dim); text-decoration: none; font-weight: 500; font-size: 16px; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: #fff; background: #2a2e35; }
.site-nav a.nav-install { color: #fff; background: var(--sign); font-weight: 700; margin-left: 6px; }
.site-nav a.nav-install:hover { background: #2267ea; }
@media (max-width: 620px) { .site-nav { margin-left: 0; width: 100%; } .site-nav a { padding: 4px 9px; font-size: 15px; } .site-header { position: static; } html { scroll-padding-top: 12px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 9px 20px; border-radius: 8px; border: 2px solid transparent; font: 700 17px/1 var(--sans); text-decoration: none; cursor: pointer; background: transparent; color: inherit; }
.btn.primary { background: var(--sign); color: #fff; }
.btn.primary:hover { background: #2267ea; }
.btn.line { border-color: currentColor; }
.btn.line:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.btn.insiders { background: #24bfa5; color: #06231e; }
.btn.insiders:hover { background: #3dd0b7; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions-note { margin-top: 12px; font-size: 15px; opacity: .85; }
.actions-note a { color: inherit; }

/* Hero */
.hero { position: relative; background: var(--asphalt); color: var(--paint); padding-block: clamp(36px, 5vw, 62px) 0; overflow: hidden; }
.hero-copy { position: relative; display: grid; gap: 20px; justify-items: start; max-width: 760px; margin-bottom: clamp(24px, 3vw, 36px); }
.hero .eyebrow { color: var(--paint-dim); }
.hero h1 { font-size: clamp(44px, 8vw, 88px); line-height: 0.98; letter-spacing: -0.03em; font-weight: 900; }
.hero h1 em { font-style: normal; color: var(--curb); display: block; }
.lede { font-size: clamp(19px, 2.3vw, 23px); line-height: 1.45; color: var(--paint-dim); max-width: 680px; }
.preview-tag { padding: 2px 8px 1px; border: 1px solid var(--curb); color: var(--curb); border-radius: 4px; font-size: 11px; }
/* A small painted lot, with the logo parked in it. */
.lot { position: absolute; top: 0; right: max(20px, calc((100vw - 1160px) / 2)); display: flex; height: 400px; border-top: 10px solid var(--curb); pointer-events: none; }
.lot span { display: grid; place-items: center; width: 104px; border-left: 6px solid rgb(244 242 236 / 0.8); }
.lot span:last-child { border-right: 6px solid rgb(244 242 236 / 0.8); }
.lot img { width: 76px; height: 76px; }
.lot span.ghost { font: 900 44px/1 var(--sans); color: rgb(244 242 236 / 0.1); }
@media (max-width: 1240px) { .lot { display: none; } }

/* The illustrated VS Code window. Always dark, like most of the audience's editor. */
.demo-shell { position: relative; z-index: 1; }
.win { --w-bg: #181a1f; --w-panel: #1e2127; --w-line: #2d3138; --w-text: #d6d6d0; --w-dim: #8e9096; --w-blue: #2467e6; border: 1px solid #383c44; border-bottom: 0; border-radius: 12px 12px 0 0; background: var(--w-bg); color: var(--w-text); font: 13px/1.45 var(--sans); box-shadow: 0 -2px 60px rgb(0 0 0 / 0.5); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 12px; height: 36px; padding-inline: 14px; border-bottom: 1px solid var(--w-line); background: #15171b; color: var(--w-dim); font-size: 12px; }
.win-dots { display: flex; gap: 7px; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; background: #3a3e46; }
.win-title { margin-inline: auto; padding-right: 60px; }
.win-body { position: relative; display: grid; grid-template-columns: 44px 280px minmax(0, 1fr) 320px; height: 500px; }
.win-activity { display: grid; align-content: start; gap: 16px; padding-top: 14px; justify-items: center; border-right: 1px solid var(--w-line); background: #15171b; }
.win-activity i { width: 20px; height: 20px; border-radius: 4px; border: 1.6px solid #5c5f66; }
.win-activity i.on { background: var(--sign); border-color: var(--sign); box-shadow: inset 0 0 0 3px var(--sign), inset 0 0 0 4.5px #fff; }
.win-side, .win-chat { display: flex; flex-direction: column; background: var(--w-panel); min-width: 0; }
.win-side { border-right: 1px solid var(--w-line); padding: 10px 12px; gap: 8px; }
.win-chat { border-left: 1px solid var(--w-line); padding: 10px 12px; }
.pane-title { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--w-dim); }

.m-box { border: 1px solid #3b3f47; border-radius: 6px; background: #15171b; padding: 8px; transition: border-color 0.25s; }
.m-text { min-height: 66px; white-space: pre-wrap; overflow-wrap: anywhere; }
.m-text .ph { color: #8e9096; }
.m-caret { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: text-bottom; background: var(--w-text); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.m-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.m-chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding-inline: 6px; border-radius: 4px; background: #2c3038; font-size: 11.5px; white-space: nowrap; opacity: 0; transform: translateY(3px); transition: opacity 0.25s, transform 0.25s; }
.m-chip::before { content: ''; width: 11px; height: 11px; border-radius: 2px; background: #6c7a92; }
.m-chip.img::before { background: linear-gradient(135deg, #f5f5f5 50%, #d64545 50%); }
.m-row { display: flex; align-items: center; gap: 6px; }
.m-row .sp { flex: 1; }
.m-btn { padding: 2px 11px 1px; border-radius: 4px; background: var(--w-blue); color: #fff; font-weight: 700; font-size: 12px; transition: transform 0.15s, box-shadow 0.15s, opacity 0.2s; }
.m-btn.quiet { background: none; color: #7fb0ff; padding-inline: 4px; }
.m-btn.press { transform: scale(0.94); box-shadow: 0 0 0 3px rgb(47 123 255 / 0.45); }
.m-status { font-size: 11px; color: var(--w-dim); }
.m-group { margin-top: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--w-dim); }
.m-list { display: grid; }
.m-item { display: grid; gap: 1px; padding: 7px 0; border-top: 1px solid var(--w-line); }
.m-item:first-child { border-top: 0; }
.m-item b { font-weight: 600; font-size: 13px; }
.m-item small { color: var(--w-dim); font-size: 11.5px; line-height: 1.35; }
.m-item .m-row { margin-top: 2px; }
.m-item.new { display: none; }
.m-repo { margin-left: auto; padding: 0 5px; border: 1px solid #6fa8ff; border-radius: 8px; color: #8cb9ff; font-size: 10px; line-height: 14px; }

.win-editor { padding: 12px 0; overflow: hidden; font: 12.5px/1.65 var(--mono); color: #bfc2c8; white-space: pre; background: var(--w-bg); }
.win-editor .ln { display: block; padding-left: 12px; }
.win-editor .ln::before { content: attr(data-n); display: inline-block; width: 26px; margin-right: 12px; text-align: right; color: #565a61; }
.kw { color: #c58af9; } .fn { color: #e3c678; } .st { color: #e39a72; } .ty { color: #6fd3c0; } .va { color: #8cc6ff; }

.m-thread { flex: 1; display: flex; flex-direction: column; gap: 8px; padding-block: 8px; overflow: hidden; }
.m-msg { padding: 6px 9px; border-radius: 7px; font-size: 12.5px; }
.m-msg.user { align-self: flex-end; max-width: 90%; background: #2a2e36; }
.m-msg.agent { display: flex; align-items: center; gap: 7px; color: var(--w-dim); }
.m-spin { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #41454d; border-top-color: var(--w-blue); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.m-tick { display: none; flex: none; width: 13px; height: 13px; border-radius: 50%; background: #2ea260; }
.m-input { border: 1px solid #3b3f47; border-radius: 8px; background: #15171b; padding: 8px; transition: border-color 0.25s, box-shadow 0.25s; }
.m-input .m-text { min-height: 52px; font-size: 12.5px; }
.m-input .m-chips { margin: 0 0 6px; min-height: 0; }
.m-send { width: 22px; height: 22px; border-radius: 50%; background: #2e3239; display: grid; place-items: center; color: #8e9096; font-size: 12px; font-weight: 700; }
.m-tag { font-size: 11px; color: var(--w-dim); }
.m-toast { position: absolute; right: 16px; bottom: 170px; display: flex; align-items: center; gap: 8px; max-width: 296px; padding: 9px 12px; border: 1px solid #3f434b; border-radius: 7px; background: #26292f; box-shadow: 0 4px 18px rgb(0 0 0 / 0.5); font-size: 12px; opacity: 0; transform: translateY(8px); transition: opacity 0.3s, transform 0.3s; pointer-events: none; }
.m-toast::before { content: 'i'; flex: none; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #6fa8ff; color: #6fa8ff; font-size: 10px; font-weight: 800; }

/* Each step builds on the last. .at-N is present for every step reached. */
.win .side-chips .m-chip { opacity: 0; }
.at-1 .side-chips.show .m-chip { opacity: 1; transform: none; }
.at-1:not(.at-2) .ph { display: none; }
.at-2 .m-item.new { display: grid; animation: pull-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes pull-in { from { opacity: 0; transform: translateX(-26px); background: rgb(47 123 255 / 0.25); } }
.at-3 .m-spin { display: none; }
.at-3 .m-tick { display: block; }
.m-done, .at-3 .m-busy { display: none; }
.at-3 .m-done { display: inline; color: #5fd08e; }
.at-4 .m-input { border-color: var(--w-blue); box-shadow: 0 0 0 1px var(--w-blue); }
.at-4 .chat-chips .m-chip { opacity: 1; transform: none; }
.at-4 .m-send { background: var(--w-blue); color: #fff; }
.at-4 .chat-ph { display: none; }
.at-4 .m-toast { opacity: 1; transform: none; }
.at-4 .m-item.new { background: rgb(47 123 255 / 0.09); }
.m-caret, .chat-text { display: none; }
.at-1:not(.at-2) .m-caret { display: inline-block; }
.at-4 .chat-text { display: inline; }

.demo-controls { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding-block: 14px; }
.stepper { display: flex; flex-wrap: wrap; gap: 4px; flex: 1; margin: 0; padding: 0; list-style: none; }
.stepper button { padding: 5px 12px 4px; border: 1px solid #3a3e46; border-radius: 99px; background: none; color: var(--paint-dim); font: 500 14px/1.2 var(--sans); cursor: pointer; }
.stepper button:hover { border-color: #6a6e76; color: #fff; }
.stepper button[aria-current='step'] { background: var(--paint); border-color: var(--paint); color: var(--asphalt); font-weight: 700; }
.demo-toggle { padding: 5px 12px 4px; border: 0; background: none; color: var(--paint-dim); font: 500 14px/1.2 var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.demo-note { color: #9b9b95; font-size: 13px; }

@media (max-width: 1080px) { .win-body { grid-template-columns: 44px 270px minmax(0, 1fr); } .win-editor { display: none; } }
@media (max-width: 680px) { .win-body { grid-template-columns: minmax(0, 1fr); height: auto; } .win-activity { display: none; } .win-side { border-right: 0; border-bottom: 1px solid var(--w-line); } .win-chat { border-left: 0; min-height: 430px; } .m-toast { left: 12px; right: 12px; max-width: none; } .m-item:nth-child(n+3) { display: none; } .win-title { padding-right: 0; } }

/* Parking bays: open at the top, like the real thing */
.bays { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 0; margin: 0; list-style: none; border-bottom: 4px solid var(--ink); }
.bay { display: grid; align-content: start; gap: 10px; padding: 8px 26px 34px; border-left: 4px solid var(--ink); }
.bay:last-child { border-right: 4px solid var(--ink); }
.bay-number { font: 900 clamp(60px, 8vw, 96px)/1 var(--sans); letter-spacing: -0.04em; color: var(--curb); -webkit-text-stroke: 1.5px var(--ink); }
@media (prefers-color-scheme: light) { .bay-number { color: var(--sign); -webkit-text-stroke: 0; } }
.bay p { color: var(--muted); }
@media (max-width: 760px) {
  .bays { grid-template-columns: 1fr; border-bottom: 0; }
  .bay { border-right: 4px solid var(--ink); border-bottom: 4px solid var(--ink); border-left: 4px solid var(--ink); padding: 14px 20px 22px; }
}

/* Integration tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.tabs button { padding: 9px 16px 8px; border: 2px solid var(--line); border-radius: 8px; background: none; color: var(--ink); font: 700 16px/1.15 var(--sans); cursor: pointer; }
.tabs button:hover { border-color: var(--ink); }
.tabs button[aria-selected='true'] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.split { display: grid; gap: 26px; }
.split > div:first-child { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 8px clamp(24px, 5vw, 64px); }
.split > div:first-child > h3 { grid-column: 1; }
.split > div:first-child > p { grid-column: 1; color: var(--muted); }
.split > div:first-child > .ticks { grid-column: 2; grid-row: 1 / span 2; }
.split > .shot { max-width: 1040px; }
.ticks { display: grid; gap: 9px; margin: 2px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 0.46em; width: 13px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
@media (max-width: 880px) { .split > div:first-child { grid-template-columns: 1fr; } .split > div:first-child > .ticks { grid-column: 1; grid-row: auto; } }

.shot { margin: 0; display: grid; gap: 8px; min-width: 0; }
.shot img { width: 100%; border-radius: 9px; border: 1px solid #383c44; box-shadow: 0 8px 30px rgb(0 0 0 / 0.22); background: #181a1f; }
.shot figcaption { font-size: 14px; color: var(--muted); }
.real::before { content: 'Real screenshot'; display: inline-block; margin-right: 8px; padding: 0 6px; border-radius: 3px; background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); font: 600 11px/1.7 var(--mono); }
.mock::before { content: 'Illustration'; display: inline-block; margin-right: 8px; padding: 0 6px; border-radius: 3px; background: color-mix(in srgb, var(--curb) 20%, transparent); color: var(--accent-ink); font: 600 11px/1.7 var(--mono); }
.shot-narrow { max-width: 380px; }
.only-dark { display: none; }
@media (prefers-color-scheme: dark) { .only-dark { display: block; } .only-light { display: none; } }

/* Send when idle, to try */
.idle { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: 1px solid #383c44; border-radius: 12px; overflow: hidden; background: #181a1f; color: #e6e6e0; }
.idle-main { padding: 16px; display: grid; align-content: start; gap: 10px; min-width: 0; }
.idle-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.idle-pill { padding: 3px 10px 2px; border-radius: 99px; font-size: 13px; font-weight: 700; background: rgb(47 123 255 / 0.2); color: #8cb9ff; }
.idle-pill.idle-now { background: rgb(46 162 96 / 0.22); color: #6fdb9c; }
.idle-top [data-finish] { margin-left: auto; }
.idle-row { display: grid; gap: 4px; padding-block: 10px; border-top: 1px solid #2d3138; }
.idle-row b { font-weight: 700; }
.idle-row small { color: #a2a39e; font-size: 14px; }
.idle-row .row-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.idle button { padding: 5px 11px 4px; border: 1px solid #4b4f57; border-radius: 6px; background: none; color: inherit; font: 600 14px/1.2 var(--sans); cursor: pointer; }
.idle button:hover:not(:disabled) { border-color: #9a9ca2; }
.idle button:disabled { opacity: 0.45; cursor: default; }
.idle button.go { background: #2467e6; border-color: #2467e6; color: #fff; }
.idle-badge { padding: 1px 8px 0; border-radius: 4px; background: rgb(255 178 36 / 0.2); color: var(--curb); font-size: 13px; font-weight: 600; }
.idle-row.sent b { color: #92938e; text-decoration: line-through; }
.idle-chat { padding: 16px; display: flex; flex-direction: column; gap: 8px; background: #1e2127; border-left: 1px solid #2d3138; min-height: 260px; }
.idle-chat h3 { font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; color: #a2a39e; }
.idle-log { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.idle-log li { padding: 6px 10px; border-radius: 7px; background: #2a2e36; animation: pull-in 0.4s ease-out; }
.idle-log li.sys { background: none; padding-inline: 0; color: #a2a39e; }
@media (max-width: 760px) { .idle { grid-template-columns: 1fr; } .idle-chat { border-left: 0; border-top: 1px solid #2d3138; min-height: 170px; } }

/* Rules, on the sign color */
.rules { background: var(--sign); color: #fff; }
.rules .eyebrow { color: #d7e4ff; }
.rules h2 { max-width: 760px; }
.rule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px clamp(24px, 4vw, 56px); margin-top: 36px; padding: 0; list-style: none; }
.rule-grid li { display: grid; gap: 6px; padding-top: 14px; border-top: 3px solid rgb(255 255 255 / 0.85); }
.rule-grid p { color: #e4ecff; }
.rules a { color: #fff; }
@media (max-width: 720px) { .rule-grid { grid-template-columns: 1fr; } }

/* Code, store, install */
.code { position: relative; margin: 0; padding: 16px 18px; border-radius: 9px; background: var(--asphalt-2); color: #e6e6e0; font: 14px/1.6 var(--mono); overflow-x: auto; white-space: pre; tab-size: 2; }
.code .c { color: #a2a39e; }
.code .k { color: #8cc6ff; }
.copy { display: flex; align-items: stretch; border-radius: 8px; overflow: hidden; background: var(--asphalt-2); color: #e6e6e0; }
.copy code { flex: 1; min-width: 0; padding: 10px 12px; background: none; font-size: 13.5px; white-space: pre-wrap; overflow-wrap: anywhere; border-radius: 0; }
.copy button { flex: none; padding-inline: 12px; border: 0; border-left: 1px solid #383c44; background: none; color: #c2c1ba; font: 600 13px/1 var(--sans); cursor: pointer; }
.copy button:hover { color: #fff; background: #2a2e35; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.card p { color: var(--muted); }
.card .btn, .card .copy { margin-top: auto; }
.card .actions { margin-top: auto; }
.card .actions .btn { flex: 1 1 100%; margin-top: 0; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
tr:last-child > * { border-bottom: 0; }
thead th { font-size: 14px; background: var(--bg-2); }
tbody th { font-weight: 600; }
.yes { color: var(--ok); font-weight: 700; }
.part { color: var(--accent-ink); font-weight: 600; }
.no { color: var(--muted); }

/* Reading pages */
.page-head { background: var(--asphalt); color: var(--paint); padding-block: clamp(40px, 6vw, 72px); }
.page-head h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 900; letter-spacing: -0.025em; }
.page-head .lede { margin-top: 16px; }
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding-block: 48px 90px; align-items: start; }
.toc { position: sticky; top: 84px; display: grid; gap: 2px; font-size: 15px; }
.toc a { padding: 4px 10px; border-left: 3px solid var(--line); color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); border-left-color: var(--sign); }
.prose { display: grid; gap: 18px; max-width: 800px; min-width: 0; }
.prose h2 { font-size: 32px; margin-top: 30px; padding-top: 22px; border-top: 3px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin-top: 12px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 7px; }
.callout { padding: 12px 16px; border-left: 4px solid var(--curb); border-radius: 0 6px 6px 0; background: color-mix(in srgb, var(--curb) 12%, transparent); }
@media (max-width: 860px) { .doc { grid-template-columns: 1fr; } .toc { position: static; } }

/* Footer */
.site-footer { background: var(--asphalt); color: var(--paint-dim); padding-block: 44px; font-size: 15px; border-top: 8px dashed var(--curb); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 44px; justify-content: space-between; align-items: start; }
.site-footer a { color: var(--paint); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.lost { min-height: 62vh; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 60px 20px; }
.lost .sign { font-size: 72px; }

.section .wrap > p.muted, .section .wrap > .callout, .rules .wrap > p { margin-top: 22px; }

/* Long-form sections use the same split, with a larger heading and the code last. */
.split > div:first-child > h2 { grid-column: 1; }
.split > .code { max-width: 1040px; }
.split ol.ticks { counter-reset: step; }
.split ol.ticks li { counter-increment: step; padding-left: 30px; }
.split ol.ticks li::before { content: counter(step); left: 0; top: 0.1em; width: 21px; height: 21px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--sign); color: #fff; font: 700 12px/1 var(--sans); transform: none; padding-top: 1px; }
