/* Flight Data Recorder's website. One stylesheet, no scripts, system fonts, nothing from another origin.

   Three type voices carry meaning: the system sans is us explaining, the serif is a person's own words, and the
   monospaced face is the record (builds, sizes, labels). Orange means sealed: it is used for what is encrypted on the
   way, for the mark, and nowhere else at any size that matters.

   Appearance follows the system. data-theme="light" or "dark" on <html> overrides it (used for captures). */

:root {
  color-scheme: light;
  --paper: #faf8f5; --surface: #fff; --sunk: #f3f0eb; --ink: #1b1c1f; --ink2: #55585f; --ink3: #64676e;
  --line: #e6e2db; --line2: #d3cec5;
  --orange: #e8561b; --orange-ink: #b23c0b; --seal-a: #ff9148; --seal-b: #f0682a; --on-seal: #221005;
  --plum-a: #8a4d73; --plum-b: #3b1a3d;
  --code-bg: #1d1e22; --code-ink: #ebe9e4; --code-dim: #9a9ca3; --code-key: #ff9d66; --code-str: #c3d696;
  --page: #fff; --page-edge: #cfcac1; --desk: #e9e5de; --seg-on: #fff;
  --shadow: 0 1px 2px #1b1c1f0a, 0 14px 34px -14px #1b1c1f24;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --serif: "Iowan Old Style", Charter, "Palatino Linotype", Palatino, Georgia, serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #111214; --surface: #1a1b1f; --sunk: #15161a; --ink: #f1efeb; --ink2: #abadb3; --ink3: #8d9097;
    --line: #2a2c31; --line2: #3b3d44;
    --orange: #ff7a3d; --orange-ink: #ff905c;
    --code-bg: #0b0c0e; --code-ink: #e6e4df; --code-dim: #8b8d95;
    --page: #ebe8e1; --page-edge: #55575e; --desk: #24262b; --seg-on: #2e3036;
    --shadow: 0 1px 2px #0007, 0 18px 40px -16px #000b;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111214; --surface: #1a1b1f; --sunk: #15161a; --ink: #f1efeb; --ink2: #abadb3; --ink3: #8d9097;
  --line: #2a2c31; --line2: #3b3d44;
  --orange: #ff7a3d; --orange-ink: #ff905c;
  --code-bg: #0b0c0e; --code-ink: #e6e4df; --code-dim: #8b8d95;
  --page: #ebe8e1; --page-edge: #55575e; --desk: #24262b; --seg-on: #2e3036;
  --shadow: 0 1px 2px #0007, 0 18px 40px -16px #000b;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, ol, dl, dd, figure, pre { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 48px); }
.sprite { position: absolute; }
.icon { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 30; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* Preview builds */
.review-notice { margin: 0; padding: 9px 16px; text-align: center; font-size: 13px; color: var(--ink2); background: var(--sunk); border-bottom: 1px solid var(--line); }
.review-notice strong { color: var(--ink); }
.preview [data-pending]:where(p, span, li, dd, a, b) { text-decoration: underline dotted var(--orange); text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
.preview tr[data-pending] :where(th, td) { text-decoration: underline dotted var(--orange); text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
.preview [data-pending]:where(div, ul, table, section, pre) { outline: 1.5px dotted var(--orange); outline-offset: 10px; border-radius: 12px; }
.preview :where(ul.files, pre)[data-pending] { outline-offset: 4px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 16px; letter-spacing: -.02em; white-space: nowrap; }
.brand img { border-radius: 7px; }
.site-header nav { display: flex; gap: 26px; font-size: 14.5px; color: var(--ink2); }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--ink); }
.site-header nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.button, .more, .guides a, .site-header nav a, a.availability { transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s; }
.availability { display: inline-flex; align-items: center; gap: 7px; font: 500 12px/1 var(--mono); letter-spacing: .02em; color: var(--ink2); border: 1px solid var(--line2); border-radius: 999px; padding: 7px 12px; white-space: nowrap; }
.availability i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
a.availability:hover { color: var(--ink); border-color: var(--ink3); }

/* Shared pieces */
.eyebrow, .section-label, .cap, .kicker { font: 600 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow, .kicker { color: var(--orange-ink); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 15.5px; font-weight: 600; padding: 13px 20px; border-radius: 10px; border: 1px solid transparent; }
.button.primary { background: var(--ink); color: var(--paper); }
.button.primary:hover { background: color-mix(in srgb, var(--ink) 86%, var(--paper)); }
.button.quiet { border-color: var(--line2); background: var(--surface); }
.button.quiet:hover { border-color: var(--ink3); }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.more { font-weight: 600; border-bottom: 1px solid var(--ink3); padding-bottom: 1px; }
.more::after { content: "\00a0→"; color: var(--orange-ink); }
.more:hover { border-color: var(--ink); }
.readable { display: flex; align-items: flex-start; gap: 8px; font: 500 12px/1.45 var(--mono); color: var(--ink2); }
.readable .icon { margin-top: 1px; color: var(--ink3); }
.readable b { color: var(--ink); font-weight: 600; }
.app-icon { display: inline-block; width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(160deg, var(--plum-a), var(--plum-b)); flex: none; }
.app-icon.large { width: 40px; height: 40px; border-radius: 10px; }
.pin { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 700 10.5px/1 var(--mono); flex: none; vertical-align: 1px; }

/* Hero */
.hero { position: relative; isolation: isolate; padding: 68px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(2.35rem, 5.05vw, 4.4rem); line-height: 1.03; letter-spacing: -.036em; font-weight: 680; margin-top: 22px; text-wrap: balance; }
.hero h1 span { display: block; }
.sealed-line { color: var(--orange); }
.lede { font-size: clamp(1.06rem, 1.45vw, 1.22rem); line-height: 1.55; color: var(--ink2); max-width: 690px; margin: 26px auto 0; text-wrap: pretty; }
.hero .actions { margin-top: 30px; }
.requirements { margin: 18px auto 0; font-size: 13.5px; color: var(--ink3); max-width: 620px; text-wrap: balance; }

/* One report in three places */
.journey { position: relative; margin-top: 60px; text-align: left; }
.journey::before { content: ""; position: absolute; z-index: -1; inset: -34px -40px 30px; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; background-position: center top; -webkit-mask-image: radial-gradient(ellipse 62% 70% at 50% 42%, #000 30%, transparent 78%); mask-image: radial-gradient(ellipse 62% 70% at 50% 42%, #000 30%, transparent 78%); }
.trace { width: 100%; height: auto; overflow: visible; }
.trace .rail, .timeline .rail { fill: none; stroke: var(--line2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trace .pulse, .timeline .pulse { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.trace .pulse { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; animation: seal 1.1s .35s cubic-bezier(.3, .7, .2, 1) forwards; }
@keyframes seal { to { stroke-dashoffset: 0; opacity: 1; } }
.timeline .pulse { stroke: var(--ink); }
.trace .dot { fill: var(--ink); }
.trace text { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; fill: var(--ink3); }
.trace text.on { fill: var(--orange-ink); }
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 14px; }
.place { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.place > header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 18px 0; }
.place h3 { font-size: 16.5px; line-height: 1.3; letter-spacing: -.02em; font-weight: 650; }
.where { display: none; font: 500 11px/1.3 var(--mono); letter-spacing: .03em; color: var(--ink3); white-space: nowrap; }
.place-step { display: none; }
.place-body { flex: 1; display: flex; flex-direction: column; padding: 14px 18px 18px; }
.place > footer { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding: 11px 18px; font: 500 11.5px/1.35 var(--mono); color: var(--ink2); }
.place > footer b { color: var(--ink); font-weight: 600; }
.place > footer .icon { color: var(--ink3); }
.is-sealed .icon, .ledger-sealed .icon { color: inherit; }
.place > footer.is-sealed .icon { color: var(--orange-ink); }
.cap { color: var(--ink3); font-size: 10.5px; }

.mini-form, .opened { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.mini-form { border: 1px solid var(--line); border-radius: 10px; background: var(--sunk); padding: 12px; }
.mini-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; letter-spacing: -.01em; }
.mini-field { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; font-size: 13.5px; line-height: 1.4; }
.files { list-style: none; display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.files li { display: flex; align-items: center; gap: 10px; background: var(--surface); padding: 7px 10px; font-size: 13px; min-width: 0; }
.file-name { flex: 1; min-width: 0; font-weight: 550; line-height: 1.3; overflow-wrap: anywhere; }
.file-name small { display: block; font-size: 11.5px; font-weight: 400; color: var(--ink3); }
.file-tools { display: inline-flex; align-items: center; gap: 9px; color: var(--ink3); }
.file-size { font: 500 11px/1 var(--mono); color: var(--ink3); white-space: nowrap; }
.save { font-size: 11.5px; font-weight: 550; border: 1px solid var(--line2); border-radius: 6px; padding: 3px 8px; color: var(--ink2); white-space: nowrap; }
.mini-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; font-size: 11.5px; line-height: 1.35; color: var(--ink3); }
.mini-foot b, .sheet-buttons b { background: var(--ink); color: var(--paper); font-size: 12.5px; font-weight: 600; border-radius: 7px; padding: 7px 11px; white-space: nowrap; }

.sealed-box { flex: 1; display: flex; flex-direction: column; gap: 12px; border-radius: 10px; padding: 14px; color: var(--on-seal);
  background:
    repeating-linear-gradient(0deg, #ffffff30 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, #ffffff30 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, #ffffff16 0 1px, transparent 1px 12px),
    repeating-linear-gradient(90deg, #ffffff16 0 1px, transparent 1px 12px),
    linear-gradient(180deg, var(--seal-a), var(--seal-b)); }
.tag { display: flex; justify-content: space-between; font: 700 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.label-tag { display: flex; flex-direction: column; gap: 8px; background: var(--surface); color: var(--ink); border-radius: 8px; padding: 11px 12px 12px; box-shadow: 0 1px 0 #22100526; }
.label-cap { font: 700 9.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font: 500 12px/1.35 var(--mono); }
.kv dt { color: var(--ink3); }
.kv dd { font-weight: 600; min-width: 0; }
.also { font: 500 11px/1.45 var(--mono); color: var(--ink3); }
.cipher { list-style: none; margin-top: auto; display: flex; flex-direction: column; gap: 9px; padding-top: 4px; }
.cipher li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; font: 500 11.5px/1 var(--mono); }
.cipher i { height: 16px; border-radius: 2px; background: repeating-linear-gradient(90deg, #221005c4 0 5px, transparent 5px 7px, #221005c4 7px 9px, transparent 9px 12px, #221005c4 12px 19px, transparent 19px 21px, #221005c4 21px 24px, transparent 24px 27px); }
.cipher b { font-weight: 700; }

.quote, .detail-quote, .msg-said, .quote-inline { font-family: var(--serif); font-style: italic; letter-spacing: -.01em; }
.quote-inline { color: var(--ink); font-size: 1.07em; }
.quote { font-size: 22px; line-height: 1.22; font-weight: 500; text-wrap: balance; }
.said { font-size: 13.5px; line-height: 1.45; color: var(--ink2); }
.facts { margin-top: auto; font: 500 11px/1.5 var(--mono); color: var(--ink3); overflow-wrap: anywhere; }
.facts b { color: var(--ink2); font-weight: 600; }
.answers-mini { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 12.5px; line-height: 1.35; }
.answers-mini dt { color: var(--ink3); }
.answers-mini dd { font-weight: 550; overflow-wrap: anywhere; }
.journey-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin: 16px 2px 0; font-size: 13.5px; color: var(--ink3); }

/* Numbered sections: a margin column for the label and side notes, a main column for the rest */
.section { display: grid; grid-template-columns: 236px minmax(0, 1fr); column-gap: 56px; padding: 92px 0 8px; margin-top: 84px; border-top: 1px solid var(--line); }
.hero + .section { margin-top: 56px; }
.margin { grid-column: 1; display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.main { grid-column: 2; min-width: 0; }
.section-no { font: 600 13px/1 var(--mono); color: var(--orange-ink); letter-spacing: .06em; }
.section-label { color: var(--ink2); text-wrap: balance; }
.margin-note { font-size: 13.5px; line-height: 1.5; color: var(--ink3); max-width: 230px; text-wrap: pretty; }
.main h2 { font-size: clamp(1.9rem, 3.4vw, 2.95rem); line-height: 1.07; letter-spacing: -.031em; word-spacing: .04em; font-weight: 670; text-wrap: balance; }
.section-lede { font-size: 1.12rem; line-height: 1.58; color: var(--ink2); max-width: 720px; margin-top: 20px; text-wrap: pretty; }
.main h3 { font-size: 1.06rem; line-height: 1.3; letter-spacing: -.015em; font-weight: 650; }
.section-foot { margin-top: 30px; font-size: 15.5px; }
.facts-row { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px 32px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: var(--ink2); }
.facts-row strong { display: block; color: var(--ink); font-weight: 650; letter-spacing: -.01em; margin-bottom: 3px; }
/* Four facts sit two by two, so none is left alone on a second row. */
.facts-row:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 48px; }

/* 01: email against the form */
.versus { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr); grid-template-areas: "thread form" "pins form"; grid-template-rows: auto 1fr; gap: 0 28px; margin-top: 40px; align-items: start; }
.thread { grid-area: thread; }
.form-figure { grid-area: form; }
.pins { grid-area: pins; }
.versus figcaption { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); margin-bottom: 12px; }
.thread figcaption { margin-bottom: 2px; }
.thread { display: flex; flex-direction: column; gap: 10px; }
.msg { border: 1px solid var(--line); background: var(--surface); border-radius: 14px 14px 14px 4px; padding: 13px 15px; max-width: 92%; }
.msg.mine { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--sunk); }
.msg.none { border-style: dashed; background: none; color: var(--ink3); }
.msg-who { font: 500 11px/1 var(--mono); color: var(--ink3); letter-spacing: .02em; margin-bottom: 7px; }
.msg-said { font-size: 25px; line-height: 1.2; }
.thread .msg:first-of-type { max-width: 100%; padding: 16px 18px 18px; }
.msg-body { font-size: 15px; line-height: 1.45; }
.sheet { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 20px 20px 16px; display: flex; flex-direction: column; gap: 9px; }
.sheet-head { display: flex; gap: 14px; align-items: center; margin-bottom: 4px; }
.sheet-title { font-size: 16px; font-weight: 650; letter-spacing: -.015em; }
.sheet-sub { font-size: 12.5px; line-height: 1.45; color: var(--ink2); margin-top: 2px; }
.sheet-section { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 650; color: var(--ink2); margin-top: 6px; }
.sheet-add { font-size: 12px; font-weight: 550; color: var(--ink); border: 1px solid var(--line2); border-radius: 6px; padding: 3px 9px; }
.sheet-rows { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.sheet-rows p { display: flex; justify-content: space-between; gap: 16px; padding: 7px 11px; font-size: 13px; background: var(--surface); }
.sheet-rows p + p { border-top: 1px solid var(--line); }
.sheet-rows span { color: var(--ink2); white-space: nowrap; }
.sheet-rows b { font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.sheet-rows.quiet b { color: var(--ink2); font-family: var(--mono); font-size: 12px; }
.sheet-text { border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; font-size: 13px; line-height: 1.45; }
.files.roomy li { padding: 9px 11px; }
.file-icon { color: var(--ink3); width: 17px; height: 17px; }
.sheet-buttons { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 8px; font-size: 12.5px; }
.sheet-buttons span { border: 1px solid var(--line2); border-radius: 7px; padding: 6px 11px; font-weight: 550; }
.pins { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; color: var(--ink2); }
.pins li { display: flex; gap: 10px; }
.pins .pin { margin-top: 2px; }
.pins strong { color: var(--ink); font-weight: 650; }

/* 02: the ledger */
.ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 38px; }
.ledger > div { border-radius: 16px; padding: 24px 26px 26px; }
.ledger h3 { display: flex; align-items: center; gap: 8px; font: 700 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.ledger ul { list-style: none; display: flex; flex-direction: column; font-size: 15.5px; line-height: 1.45; }
.ledger li { padding: 9px 0; }
.ledger li + li { border-top: 1px solid; }
.ledger-sealed { color: var(--on-seal);
  background:
    repeating-linear-gradient(0deg, #ffffff2b 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, #ffffff2b 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, #ffffff14 0 1px, transparent 1px 12px),
    repeating-linear-gradient(90deg, #ffffff14 0 1px, transparent 1px 12px),
    linear-gradient(180deg, var(--seal-a), var(--seal-b)); }
.ledger-sealed li { font-weight: 550; }
.ledger-sealed li + li { border-color: #22100540; }
.ledger-sealed { display: flex; flex-direction: column; }
.ledger-cipher { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.ledger-cipher i { height: 11px; border-radius: 2px; background: repeating-linear-gradient(90deg, #221005c4 0 5px, transparent 5px 7px, #221005c4 7px 9px, transparent 9px 12px, #221005c4 12px 19px, transparent 19px 21px, #221005c4 21px 24px, transparent 24px 27px); }
.ledger-cipher i:nth-child(2) { width: 82%; }
.ledger-cipher i:nth-child(3) { width: 64%; }
.ledger-readable { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ledger-readable h3 { color: var(--ink2); }
.ledger-readable li { color: var(--ink2); }
.ledger-readable li + li { border-color: var(--line); }
/* The whole list, on its own page. The sealed list is short and the readable one is long, so they stack, and the
   readable one is set in groups a reader can scan. */
.ledger.whole { grid-template-columns: minmax(0, 1fr); }
.ledger.whole .ledger-sealed ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; }
.ledger.whole .ledger-sealed li, .ledger.whole .ledger-sealed li + li { border-top: 1px solid #22100540; }
.ledger.whole .ledger-sealed li:nth-child(-n+2) { border-top: 0; }
.groups > div { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 6px 28px; padding: 20px 0; border-top: 1px solid var(--line); }
.groups > div:first-child { border-top: 0; padding-top: 2px; }
.groups > div:last-child { padding-bottom: 0; }
.groups dt { font: 600 11.5px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); padding-top: 4px; }
.ledger .groups ul { display: block; columns: 2; column-gap: 40px; font-size: 14.5px; line-height: 1.5; }
.ledger .groups li, .ledger .groups li + li { position: relative; break-inside: avoid; padding: 3px 0 3px 15px; border: 0; }
.groups li::before { content: ""; position: absolute; left: 0; top: .84em; width: 6px; height: 1px; background: var(--ink3); }
.groups dd > p { margin-top: 10px; max-width: 620px; font-size: 14px; line-height: 1.55; color: var(--ink3); }
@media (min-width: 1001px) {
  #sealed .ledger { margin-left: -292px; gap: 24px; }
  #sealed .ledger > div { padding: 30px 32px 32px; }
  #sealed .ledger ul { font-size: 17px; }
}
.costs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; margin-top: 36px; }
.costs ul, .ticks { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--ink2); }
.costs li, .ticks li { position: relative; padding-left: 18px; }
.ticks code, .facts-row code, .nots code, .faq code { font: .9em var(--mono); color: var(--ink); }
.costs li::before, .ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 1.5px; background: var(--ink3); }
.check { margin-top: 34px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--sunk); font-size: 15px; line-height: 1.6; color: var(--ink2); }
.check strong { color: var(--ink); }

/* 03: code */
.code-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 32px; margin-top: 38px; align-items: start; }
.code { background: var(--code-bg); color: var(--code-ink); border: 1px solid color-mix(in srgb, var(--code-ink) 10%, transparent); border-radius: 14px; padding: 20px 22px; font: 13.5px/1.62 var(--mono); overflow-x: auto; tab-size: 4; box-shadow: var(--shadow); }
.code code { font: inherit; }
.code.small { font-size: 12.5px; padding: 16px 18px; }
.code .k { color: var(--code-key); }
.code .s { color: var(--code-str); }
.code .c { color: var(--code-dim); }
.code .p, .code .t { color: var(--code-key); }
.code-side { display: flex; flex-direction: column; gap: 12px; }
.code-side h3 + .code { margin-bottom: 14px; }

/* 04: the walkthrough */
.step-margin { padding-top: 76px; }
.main.step { padding-top: 68px; }
.step-no { font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.main.step h3 { font-size: clamp(1.35rem, 2.1vw, 1.7rem); line-height: 1.15; letter-spacing: -.028em; text-wrap: balance; }
.main.step > p { font-size: 1.04rem; line-height: 1.6; color: var(--ink2); max-width: 700px; margin-top: 12px; }
.main.step i, .nots i { font-style: normal; font-weight: 600; color: var(--ink); }
.exhibit { margin-top: 26px; }
.exhibit figcaption { margin-top: 12px; font-size: 13.5px; line-height: 1.5; color: var(--ink3); }
.exhibit figcaption b { font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); margin-right: 8px; }
.window { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.window-bar b { font-weight: 650; }
.window-bar > span:last-child { margin-left: auto; font: 500 11px/1 var(--mono); color: var(--ink3); }
.lights { display: inline-flex; gap: 6px; margin-left: 0; }
.lights i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--line2); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 7px; padding: 2px; background: var(--sunk); }
.seg i { font: normal 550 11.5px/1 var(--sans); padding: 4px 10px; border-radius: 5px; color: var(--ink3); }
.seg i.on { background: var(--seg-on); color: var(--ink); box-shadow: 0 1px 2px #0002; }
.panes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pane { position: relative; display: flex; flex-direction: column; min-width: 0; }
.pane + .pane { border-left: 1px solid var(--line); }
.pane-label { align-self: flex-start; padding: 12px 10px 5px 16px; font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.pane.canvas .pane-label { background: var(--surface); border-radius: 0 0 6px 0; }
.pane .scheme { margin-top: 8px; }
.pane.canvas { background-image: radial-gradient(circle, var(--line2) 1px, transparent 1.2px); background-size: 16px 16px; background-position: 8px 8px; }
.pane.pdf { background: var(--desk); }
.scheme { width: 100%; height: auto; padding: 0 8px; color: var(--ink); }
.scheme .ink { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scheme .ink-fill { fill: currentColor; }
.scheme-text { font: 500 12px/1 var(--sans); fill: currentColor; }
.scheme.on-paper { color: #1b1c1f; }
.scheme .paper { fill: var(--page); stroke: var(--page-edge); stroke-width: 1; }
.scheme .missing { fill: none; stroke: var(--ink3); stroke-width: 1.6; stroke-dasharray: 4 4; stroke-linecap: round; }
/* A leader line and its label sit on the desk around the page, so they take the theme's ink, not the page's. */
.leader { fill: none; stroke: var(--ink3); stroke-width: 1; }
.leader-text { font: 500 10.5px/1 var(--mono); fill: var(--ink3); }
.leader.hot { stroke: var(--ink); }
.leader-text.hot { fill: var(--ink); font-weight: 700; }
.status-bar { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding: 7px 14px; border-top: 1px solid var(--line); background: var(--surface); font: 500 11px/1.2 var(--mono); color: var(--ink3); }
.status-bar b { color: var(--ink); font-weight: 600; }

.issues { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.issue-list { border-right: 1px solid var(--line); padding: 6px 0 10px; }
.list-head { display: flex; justify-content: space-between; padding: 12px 16px 6px; font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.row { padding: 10px 16px; }
.row.selected { background: color-mix(in srgb, var(--ink) 7%, var(--surface)); box-shadow: inset 3px 0 0 var(--ink); }
.row-title { font: italic 500 16px/1.3 var(--serif); }
.row-title.plain { display: flex; align-items: center; gap: 8px; font: 600 14px/1.35 var(--sans); letter-spacing: -.01em; }
.row-meta, .detail-meta { font: 500 11px/1.4 var(--mono); color: var(--ink3); margin-top: 4px; }
.kind { width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg); flex: none; }
.kind.bug { background: var(--ink); }
.issue-detail { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.detail-kicker { font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.detail-quote { font-size: 21px; line-height: 1.22; font-weight: 500; }
.answers { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; font-size: 12px; font-weight: 550; }
.answers span, .answers b { border: 1px solid var(--line2); border-radius: 7px; padding: 5px 9px; white-space: nowrap; }
.answers b { background: var(--ink); color: var(--paper); border-color: var(--ink); font-weight: 600; }
.same-as { margin-top: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--sunk); padding: 12px 14px; }
.same-as .detail-kicker { margin-bottom: 8px; }

.timeline { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); padding: 16px 22px 14px; }
.timeline svg { width: 100%; height: auto; overflow: visible; }
.timeline-list { display: none; }
.timeline .tick circle { fill: var(--surface); stroke: var(--ink); stroke-width: 2; }
.timeline .tick .hot { stroke: var(--ink); fill: var(--ink); }
.timeline .tick .old { stroke: var(--ink3); }
.timeline .drop { fill: none; stroke: var(--ink3); stroke-width: 1; stroke-dasharray: 3 3; }
.timeline .mark { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.t-label { font: 600 13px/1 var(--mono); fill: var(--ink2); }
.t-label.on { fill: var(--ink); }
.t-note { font: 500 12.5px/1 var(--mono); fill: var(--ink3); }
.t-note.hot { fill: var(--ink); font-weight: 700; }

/* 05: agents */
.agent-grid { display: grid; grid-template-columns: 262px minmax(0, 1fr); gap: 28px; margin-top: 38px; align-items: stretch; }
#agents .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 48px; }
.dialog { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 22px 18px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.dialog-note { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 11.5px; line-height: 1.45; color: var(--ink3); }
.dialog img { border-radius: 11px; margin-bottom: 4px; }
.dialog-title { font-size: 14px; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }
.dialog-body { font-size: 12.5px; color: var(--ink2); }
.dialog-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: 10px; font-size: 13px; font-weight: 550; }
.dialog-buttons span, .dialog-buttons b { border-radius: 8px; padding: 7px 8px; background: var(--sunk); border: 1px solid var(--line); }
.dialog-buttons b { background: var(--ink); color: var(--paper); border-color: var(--ink); font-weight: 600; }
.code.terminal { font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }

/* 06: what it doesn't do */
.nots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin-top: 30px; }
.nots > div { padding: 22px 0; border-top: 1px solid var(--line); }
.nots dt { font-size: 1.12rem; font-weight: 650; letter-spacing: -.02em; }
.nots dd { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--ink2); }
.beside { margin-top: 26px; padding: 24px 26px; border-radius: 16px; background: var(--sunk); border: 1px solid var(--line); }
.beside ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px 32px; margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--ink2); }
.beside b { color: var(--ink); font-weight: 650; }

/* 07: plans */
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px 24px 22px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--ink); box-shadow: var(--shadow); }
.plan h3 { font: 700 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); }
.plan.featured h3 { color: var(--ink); }
.plan-for { font-size: 14.5px; color: var(--ink2); margin-top: 10px; }
.plan-price { margin-top: 18px; font-size: 15px; color: var(--ink2); }
.plan-price strong { font-size: 2.5rem; line-height: 1; font-weight: 680; letter-spacing: -.045em; color: var(--ink); }
.plan-yearly { font-size: 13.5px; color: var(--ink3); margin-top: 4px; }
.plan ul { list-style: none; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: var(--ink2); }
.plan li b { color: var(--ink); font-weight: 650; }
.table-scroll { overflow-x: auto; margin-top: 28px; }
.limits { width: 100%; min-width: 560px; border-collapse: collapse; table-layout: fixed; font-size: 15.5px; }
.limits th:first-child { width: 31%; padding-left: 0; }
.limits thead th:nth-child(3), .limits td:nth-child(3) { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.limits th, .limits td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.limits thead th { font: 700 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); border-bottom-color: var(--ink); }
.limits tbody th { font-weight: 500; color: var(--ink2); }
.limits td { font-weight: 600; font-variant-numeric: tabular-nums; }

/* 08, 09, closing */
.maker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; margin-top: 24px; font-size: 1.04rem; line-height: 1.62; color: var(--ink2); }
.maker h3 { color: var(--ink); margin-bottom: 8px; }
.faq { margin-top: 26px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-size: 1.08rem; font-weight: 620; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 9px; height: 9px; flex: none; border-right: 1.8px solid var(--ink3); border-bottom: 1.8px solid var(--ink3); transform: rotate(45deg) translate(-2px, -2px); transition: transform .18s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details p { padding: 0 0 20px; max-width: 720px; color: var(--ink2); font-size: 1rem; }
.faq details a, .prose a, .check a:not(.more), .maker a, .section-foot a:not(.more), .facts-row a, .nots a { text-decoration: underline; text-decoration-color: var(--ink3); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.faq details a:hover, .prose a:hover { text-decoration-color: var(--ink); }
.closing { margin-top: 110px; padding: 84px 24px 96px; border-top: 1px solid var(--line); text-align: center; display: flex; flex-direction: column; align-items: center; }
.closing img { border-radius: 13px; }
.closing h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.05; letter-spacing: -.036em; font-weight: 680; margin-top: 24px; }
.closing p { font-size: 1.12rem; color: var(--ink2); max-width: 560px; margin-top: 16px; text-wrap: pretty; }
.closing .actions { margin-top: 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--sunk); padding: 56px 0 36px; font-size: 14.5px; color: var(--ink2); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px 64px; }
.footer-brand p { margin-top: 12px; max-width: 280px; }
.no-scripts { font-size: 13px; color: var(--ink3); }
.footer-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 28px 24px; }
.footer-links h2 { font: 600 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); margin-bottom: 14px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a:hover, .legal a:hover { color: var(--ink); }
.legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; font-size: 13px; color: var(--ink3); }
.legal a { text-decoration: underline; text-decoration-color: var(--ink3); text-decoration-thickness: 1px; text-underline-offset: .2em; }

/* Inner pages */
.page-hero { padding: 76px 0 12px; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.04; letter-spacing: -.036em; font-weight: 680; margin-top: 20px; max-width: 860px; text-wrap: balance; }
.page-hero .lede { margin-left: 0; max-width: 720px; }
.page-hero + .section { margin-top: 64px; }
.layout-wide, .layout-hub { padding-bottom: 96px; }
.prose { font-size: 17px; line-height: 1.66; }
.prose h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); line-height: 1.06; letter-spacing: -.04em; font-weight: 680; text-wrap: balance; }
.prose h2 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -.028em; font-weight: 660; margin-top: 2.5em; scroll-margin-top: 92px; }
.prose h3 { font-size: 1.1rem; font-weight: 650; letter-spacing: -.015em; margin-top: 1.9em; }
.prose p, .prose ul, .prose ol, .prose pre, .prose table, .prose .callout, .prose .table-scroll { margin-top: 1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose strong { font-weight: 650; }
.prose code { font: .88em var(--mono); background: var(--sunk); border: 1px solid var(--line); border-radius: 5px; padding: .08em .35em; overflow-wrap: anywhere; }
.prose pre.code { white-space: pre-wrap; overflow-wrap: anywhere; }
.prose pre.code code { background: none; border: 0; padding: 0; font-size: inherit; }
.prose .menu { font-weight: 620; white-space: nowrap; }
.prose .updated { font-size: 14px; color: var(--ink3); }
.prose .summary { border: 1px solid var(--line); border-radius: 14px; background: var(--sunk); padding: 18px 22px; }
.prose .summary > :first-child { margin-top: 0; }
.layout-page { padding: 72px 0 96px; }
.prose .kicker { margin-bottom: 12px; }
.abstract { font-size: 1.22rem; line-height: 1.5; color: var(--ink2); margin-top: .7em; text-wrap: pretty; }
.callout { border: 1px solid var(--line); background: var(--sunk); border-radius: 14px; padding: 16px 20px; font-size: 15.5px; line-height: 1.58; color: var(--ink2); }
.callout strong { color: var(--ink); }
.callout p:first-child { margin-top: 0; }
.prose ol.steps { list-style: none; padding-left: 0; counter-reset: step; }
.prose ol.steps > li { counter-increment: step; position: relative; padding-left: 46px; }
.prose ol.steps > li + li { margin-top: 1.5em; }
.prose ol.steps > li::before { content: counter(step); position: absolute; left: 0; top: .1em; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 700 12.5px/1 var(--mono); }
.prose table:not(.limits) { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose table:not(.limits) th, .prose table:not(.limits) td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); }
.prose table:not(.limits) thead th { font: 600 11.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); border-bottom-color: var(--line2); }
.prose table:not(.limits) tbody th { font-weight: 600; color: var(--ink); }
.layout-doc { padding: 56px 0 96px; }
.doc-grid { display: grid; grid-template-columns: 236px minmax(0, 720px); gap: 56px; }
.doc-rail { position: sticky; top: 92px; align-self: start; font-size: 14px; color: var(--ink2); }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.back-link::before { content: "←"; color: var(--orange-ink); }
.toc { margin-top: 26px; }
.toc p { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); margin-bottom: 12px; }
.toc ul { list-style: none; display: flex; flex-direction: column; gap: 9px; border-left: 1px solid var(--line); padding-left: 14px; }
.toc a:hover { color: var(--ink); }
.doc-foot { margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink2); }
.guide-group { margin-top: 44px; }
.guide-group h3 { font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); margin-bottom: 14px; }
.guides { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; }
.guides a { display: block; height: 100%; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 18px 20px 20px; }
.guides a:hover { border-color: var(--ink3); box-shadow: var(--shadow); }
.guides strong { display: block; font-size: 1.05rem; font-weight: 650; letter-spacing: -.015em; }
.guides strong::after { content: " →"; color: var(--orange-ink); }
.guides span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--ink2); }
.planned { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 10px 32px; margin-top: 14px; font-size: 15px; color: var(--ink2); }
.planned li { border-top: 1px solid var(--line); padding-top: 10px; }
.planned b { display: block; color: var(--ink); font-weight: 620; }
.contact-box { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px 40px; border: 1px solid var(--line); border-radius: 16px; background: var(--sunk); padding: 24px 26px; font-size: 15.5px; color: var(--ink2); }
.contact-box h2 { font-size: 1.06rem; font-weight: 650; letter-spacing: -.015em; color: var(--ink); margin-bottom: 6px; }

/* Sealed reports: the five stops */
.stops { list-style: none; margin-top: 34px; display: grid; gap: 0; }
.stops li { position: relative; padding: 0 0 34px 30px; border-left: 2px solid var(--line2); }
.stops li:nth-child(2), .stops li:nth-child(3) { border-left-color: var(--orange); }
.stops li:last-child { padding-bottom: 0; border-left-color: transparent; }
.stops li::before { content: ""; position: absolute; left: -9px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.stops li:nth-child(2)::before, .stops li:nth-child(3)::before { background: var(--orange); border-color: var(--orange); }
.stops h3 { margin-top: 8px; font-size: 1.2rem; }
.stops li > p:last-child { margin-top: 6px; color: var(--ink2); max-width: 680px; }

/* Smaller screens */
@media (max-width: 1000px) {
  .section { grid-template-columns: minmax(0, 1fr); padding-top: 64px; margin-top: 64px; }
  .margin, .main { grid-column: 1; }
  .margin { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 0 0 18px; }
  .margin .margin-note, .margin .readable { flex-basis: 100%; max-width: none; }
  .margin .margin-note { border-left: 2px solid var(--line2); padding-left: 10px; margin-top: 2px; }
  .step-margin { padding-top: 56px; }
  .main.step { padding-top: 0; }
  .doc-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .doc-rail { position: static; }
  .toc { display: none; }
}
@media (max-width: 960px) {
  html { scroll-padding-top: 60px; }
  .site-header { top: calc(env(safe-area-inset-top, 0px) - 52px); }
  .site-header .wrap { flex-wrap: wrap; height: auto; gap: 0 16px; }
  .brand { min-height: 52px; }
  .site-header nav { order: 3; flex: 0 0 100%; justify-content: space-between; gap: 0 6px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); font-size: 14px; white-space: nowrap; }
  .site-header nav::-webkit-scrollbar { display: none; }
  .site-header nav a { flex: none; line-height: 44px; }
  .site-header nav a[aria-current] { text-decoration: none; box-shadow: inset 0 -2px 0 var(--ink); }
  .journey::before { display: none; }
  .places { grid-template-columns: minmax(0, 1fr); gap: 14px; max-width: 540px; margin-inline: auto; }
  .trace { display: none; }
  .where { display: inline; }
  .place-step { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; margin-right: 4px; background: var(--ink); color: var(--paper); font: 700 11px/1 var(--mono); vertical-align: 2px; }
  .journey { margin-top: 44px; }
  .journey-note { justify-content: center; text-align: center; }
  .code-grid, .agent-grid { grid-template-columns: minmax(0, 1fr); }
  .dialog { max-width: 300px; margin-inline: auto; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .versus, .ledger, .costs, .nots, .plan-grid, .maker, .issues, .site-footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .versus { grid-template-areas: "thread" "form" "pins"; grid-template-rows: auto; row-gap: 24px; }
  .pins { margin-top: 0; }
  .issue-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .timeline svg { display: none; }
  .timeline-list { display: grid; gap: 10px; list-style: none; padding-left: 16px; border-left: 2px solid var(--line2); font: 500 12.5px/1.45 var(--mono); color: var(--ink2); }
  .timeline-list b { color: var(--ink); }
  #agents .facts-row, .facts-row:has(> li:nth-child(4):last-child) { grid-template-columns: minmax(0, 1fr); }
  .msg { max-width: 100%; }
  .hero { padding-top: 44px; }
  .footer-links ul { gap: 0; }
  .footer-links a { display: block; padding: 9px 0; }
  .footer-links h2 { margin-bottom: 6px; }
  .section-foot .more, .check .more, .back-link { display: inline-block; padding-block: 10px 9px; }
  .closing { margin-top: 72px; padding-block: 64px 72px; }
}
@media (max-width: 620px) {
  /* The plan table fits a phone, so all three plans are in view without scrolling sideways. */
  .limits { min-width: 0; font-size: 13.5px; }
  .limits th, .limits td { padding: 11px 8px; }
  .limits th:first-child { width: 33%; }
  .limits thead th { font-size: 11px; letter-spacing: .08em; }
  .wrap, .narrow { width: calc(100% - 36px); }
  .panes { grid-template-columns: minmax(0, 1fr); }
  .pane + .pane { border-left: 0; border-top: 1px solid var(--line); }
  .availability { display: none; }
  .actions .button { width: 100%; }
  .ledger > div { padding: 20px; }
  .ledger.whole .ledger-sealed ul { grid-template-columns: minmax(0, 1fr); }
  .ledger.whole .ledger-sealed li:nth-child(2) { border-top: 1px solid #22100540; }
  .groups > div { grid-template-columns: minmax(0, 1fr); }
  .ledger .groups ul { columns: 1; }
  .sheet { padding: 16px 14px 14px; }
  .code { font-size: 12px; padding: 16px; }
  .code.small { font-size: 11.5px; }
  .code.terminal .c { white-space: nowrap; }
  .prose .menu { white-space: normal; }
  .prose ol.steps > li > pre { margin-left: -46px; }
  .section { padding-top: 44px; margin-top: 48px; }
  .hero + .section, .page-hero + .section { margin-top: 40px; }
  .cap, .tag, .pane-label, .list-head, .detail-kicker { font-size: 11px; letter-spacing: .1em; }
  .place h3 { display: flex; align-items: flex-start; gap: 8px; }
  .place-step { margin: 1px 0 0; flex: none; }
  .plan-grid { gap: 12px; }
  .plan { padding: 18px 18px 16px; }
  .plan-price { margin-top: 12px; }
  .plan-price strong { font-size: 2.1rem; }
  .plan ul { margin-top: 12px; padding-top: 12px; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq summary::after { transition: none; }
  .trace .pulse { animation: none; stroke-dashoffset: 0; opacity: 1; }
  .button, .more, .guides a, .site-header nav a, a.availability { transition: none; }
}

.wordmark { font-size: 22px; font-weight: 600; letter-spacing: -.035em; line-height: 1; gap: 0; }
.wordmark .i { position: relative; }
.wordmark .i::before { content: ""; position: absolute; left: 50%; top: .09em; width: .17em; height: .17em; border-radius: 50%; background: var(--orange); box-shadow: 0 0 .14em var(--orange); transform: translateX(-50%); }
.wordmark .data { color: var(--ink3); }
.service-footer { border-top: 1px solid var(--line); margin-top: 72px; padding: 18px 0 28px; font-size: 13px; color: var(--ink3); }
.service-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.service-footer .owner { display: flex; align-items: baseline; gap: 12px; }
.service-footer nav { display: flex; align-items: baseline; gap: 6px 10px; flex-wrap: wrap; }
.service-footer nav .sep { opacity: .5; }
.service-footer nav a { color: var(--ink3); }
.service-footer nav a:hover, .service-footer nav a:focus-visible, .service-footer nav a[aria-current] { color: var(--ink); }
.diradical { font-size: 18px; font-weight: 600; letter-spacing: -.035em; line-height: 1; color: var(--ink); }
.diradical .dot { position: relative; }
.diradical .dot::before { content: ""; position: absolute; left: 50%; top: .09em; width: .17em; height: .17em; border-radius: 50%; background: #6aa3ff; transform: translateX(-50%); }
@media (max-width: 560px) { .service-footer .wrap { flex-direction: column; align-items: center; text-align: center; } .service-footer nav { justify-content: center; } }
