/* Vesper Relay public pages. "Lime Day" (2026-10-18): Outfit, near-black ink, the logo's lime as daylight,
   square corners everywhere (only the logo keeps its round), light default, dark via toggle or system.
   Baseline --line = 24px. Type: 14/24 small + labels, 16/24 body, 20/32 lead, 40/48 h2 (56/64 desktop), display h1.
   Style guide: 01-docs/STYLEGUIDE.md. */
@font-face { font-family: Outfit; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/static/fonts/outfit-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Outfit; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/static/fonts/outfit-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root { --line: 1.5rem; --pad-x: 1rem; --measure: 40rem; --wide: 72rem;
  --bg: #ffffff; --paper: #f5f3ee; --surface: #ffffff; --ink: #0a0a0b; --muted: #55555b; --dim: #55555b; --rule: #dedbd3; --rule-strong: #0a0a0b;
  --lime: #e8ff47; --accent: #4d5c00; --solid: #0a0a0b; --btn-bg: #0a0a0b; --btn-fg: #e8ff47; --btn-hover: #26262b; --wash: rgba(10,10,11,0.08); --mark: #e8ff47; --on-ink: #f2f2f2; --tile-muted: #a9a9ae; --code-bg: #0a0a0b; --code-ink: #f2f2f2; --warn: #b4410f; --bad: #c0262d;
  --sans: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace; color-scheme: light; }
* { box-sizing: border-box; }
html { font: 400 16px/1.5 var(--sans); background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-variant-numeric: tabular-nums; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, p, ul, ol, dl { margin: 0; }
p { max-width: 60ch; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--pad-x); }
.idx { font-size: 0.875rem; line-height: var(--line); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin-bottom: var(--line); }
.idx::before { content: ""; display: inline-block; width: 1rem; height: 0.5rem; background: var(--lime); outline: 2px solid var(--ink); outline-offset: -2px; margin-right: 0.625rem; vertical-align: 0.0625rem; }

/* dark theme: explicit choice (theme.js sets data-theme) or system preference when none */
:root[data-theme="dark"] {
  --bg: #0a0a0b; --paper: #141416; --surface: #131315; --ink: #f2f2f2; --muted: #a0a0a6; --dim: #a0a0a6; --rule: #2a2a2e; --rule-strong: #f2f2f2;
  --accent: #e8ff47; --solid: #1a1a1e; --btn-bg: #e8ff47; --btn-fg: #0a0a0b; --btn-hover: #f2ff8f; --wash: rgba(242,242,242,0.08);
  --code-bg: #000; --warn: #f08a5d; --bad: #ff6b72; color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --bg: #0a0a0b; --paper: #141416; --surface: #131315; --ink: #f2f2f2; --muted: #a0a0a6; --dim: #a0a0a6; --rule: #2a2a2e; --rule-strong: #f2f2f2;
  --accent: #e8ff47; --solid: #1a1a1e; --btn-bg: #e8ff47; --btn-fg: #0a0a0b; --btn-hover: #f2ff8f; --wash: rgba(242,242,242,0.08);
  --code-bg: #000; --warn: #f08a5d; --bad: #ff6b72; color-scheme: dark;
  }
}

/* ---------- header ---------- */
.top { max-width: var(--wide); margin: 0 auto; padding: 0 var(--pad-x); display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.625rem; font-weight: 800; font-size: 1.125rem; white-space: nowrap; }
.brand span { font-weight: 800; }
.brand .mark { width: 2rem; height: 2rem; }
.nav { display: flex; align-items: center; gap: 1.5rem; font-size: 0.9375rem; line-height: var(--line); font-weight: 600; }
.nav a { white-space: nowrap; }
.nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav [aria-current] { text-decoration: underline; text-decoration-color: var(--ink); text-decoration-thickness: 4px; text-underline-offset: 8px; }
.nav .opt { display: none; }
@media (max-width: 26rem) { .nav { gap: 1rem; } .nav .opt-s { display: none; } }
.nav .cta { display: inline-flex; align-items: center; height: 2.5rem; padding: 0 1rem; background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; }
.nav .cta:hover { text-decoration: none; background: var(--btn-hover); }
@media (min-width: 56rem) { .nav .opt { display: inline; } }

/* the home page's lime band: header and hero sit on it */
.sun, .end { --ink: #0a0a0b; --muted: #3a3a3e; --btn-bg: #0a0a0b; --btn-fg: #e8ff47; --btn-hover: #26262b; --wash: rgba(10,10,11,0.08); color: #0a0a0b; }
.sun { background: var(--lime); }
.sun .btn.ghost { border-color: var(--ink); }

main { padding: 0 var(--pad-x); max-width: var(--wide); margin: 0 auto; }

/* ---------- type ---------- */
h1 { font-size: 3rem; line-height: 3.5rem; font-weight: 800; letter-spacing: -0.035em; max-width: 16ch; text-wrap: balance; margin-bottom: var(--line); }
h2 { font-size: 2.5rem; line-height: 3rem; font-weight: 800; letter-spacing: -0.025em; margin-bottom: calc(var(--line) * 2); max-width: 22ch; text-wrap: balance; }
h3 { font-size: 1.25rem; line-height: 2rem; font-weight: 700; margin-bottom: 0.25rem; }
.lead { font-size: 1.25rem; line-height: 2rem; color: var(--ink); max-width: 36rem; margin-bottom: calc(var(--line) * 1.5); }
/* heading underline = the logo's offset third bar */
.under { position: relative; display: inline-block; padding-bottom: 0.75rem; }
.under::after { content: ""; position: absolute; right: 0; bottom: 0; width: 56%; height: 0.75rem; background: var(--lime); }
.sun .under::after, .end .under::after { background: var(--ink); }

/* ---------- buttons, links ---------- */
.actions, .cta-row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.actions { margin-bottom: calc(var(--line) * 1.5); }
.cta-row { margin-top: calc(var(--line) * 2); gap: var(--line) 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 3rem; padding: 0 1.5rem; border: 2px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-fg); font-size: 1rem; font-weight: 700; white-space: nowrap; transition: background 150ms; }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--wash); border-color: var(--ink); }
.btn.white { background: #fff; color: #0a0a0b; border-color: #fff; }
.link { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--lime); text-underline-offset: 4px; }
.link:hover { text-decoration-color: var(--ink); }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { background: var(--wash); padding: 0 0.875rem; line-height: 2rem; font-size: 0.875rem; font-weight: 600; }

/* ---------- hero ---------- */
.hero { padding: calc(var(--line) * 2) 0 calc(var(--line) * 3); }
.hero-grid { display: grid; gap: calc(var(--line) * 2); align-items: center; }
.hero.compact { padding: calc(var(--line) * 3) 0 calc(var(--line) * 2); border-bottom: 2px solid var(--ink); margin-bottom: calc(var(--line) * 2); }
.hero.compact h1 { font-size: 3rem; line-height: 3.5rem; max-width: 18ch; }
.hero.compact .lead { margin-bottom: var(--line); color: var(--muted); }

/* sample chat: a black logo tile */
.chat { margin: 0; justify-self: center; width: 100%; max-width: 22rem; background: var(--solid); color: var(--on-ink); padding: 1.25rem 1rem 1.5rem; box-shadow: 0 2.5rem 5rem -2.5rem rgba(10,10,11,0.6); }
.chat-head { display: flex; align-items: center; gap: 0.75rem; padding: 0 0.25rem 1rem; margin-bottom: 1rem; border-bottom: 1px solid #26262b; }
.chat-head .avatar { width: 2.25rem; height: 2.25rem; flex: none; }
.chat-head b { display: block; line-height: 1.25rem; }
.chat-head small { display: block; font-size: 0.75rem; line-height: 1rem; color: var(--tile-muted); }
.chat ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.msg { max-width: 86%; padding: 0.625rem 0.875rem; font-size: 0.875rem; line-height: 1.25rem; }
.msg.in { justify-self: end; background: var(--lime); color: #0a0a0b; font-weight: 600; }
.msg.out { justify-self: start; background: #2a2a30; }
.msg .meta { display: block; font-size: 0.6875rem; line-height: 1rem; margin-top: 0.25rem; opacity: 0.65; font-weight: 400; }
.msg .meta .badge { color: inherit; background: none; border: 1px solid currentColor; margin-left: 0.25rem; }
.chat figcaption { font-size: 0.75rem; line-height: 1rem; color: var(--tile-muted); margin-top: 1rem; }

/* ---------- sections ---------- */
.block { padding: calc(var(--line) * 4) 0 0; }
.block:last-child { padding-bottom: calc(var(--line) * 4); }
.tiles { list-style: none; padding: 0; display: grid; gap: 1rem; }
.tiles li { background: var(--solid); color: var(--on-ink); padding: 2rem 1.5rem; }
.tiles li::before { content: ""; display: block; width: 3rem; height: 0.875rem; background: var(--lime); margin-bottom: var(--line); }
.tiles li:nth-child(2)::before { width: 2.25rem; }
.tiles li:nth-child(3)::before { margin-left: 1.5rem; }
.tiles p { color: var(--tile-muted); }
.grid { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
.grid li { padding: 1.5rem; background: var(--paper); }
.grid p { color: var(--muted); }
.photos { display: grid; gap: 1rem; }
.photos figure { position: relative; margin: 0; }
.photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--rule); }
.photos figcaption { position: absolute; left: 1rem; bottom: 1rem; background: var(--lime); padding: 0.25rem 0.875rem; font-weight: 700; }
.split { display: grid; gap: calc(var(--line) * 2); align-items: center; }
.split img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.split .copy p { color: var(--muted); margin-bottom: var(--line); }
.ticks { list-style: none; padding: 0; margin: 0 0 var(--line); max-width: var(--measure); display: grid; gap: 1rem; }
.ticks li { padding-left: 2rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5rem; width: 1rem; height: 0.5rem; background: var(--lime); outline: 2px solid var(--ink); outline-offset: -2px; }
.ticks li b { display: block; }
.ticks li span { color: var(--muted); }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; outline: 2px solid var(--ink); outline-offset: -2px; }
.shot figcaption { margin-top: var(--line); }

/* steps (pricing and other pages) */
.steps { list-style: none; padding: 0; display: grid; gap: 1rem; margin-bottom: calc(var(--line) * 2); }
.steps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0 1rem; padding: 1.5rem; background: var(--paper); }
.steps .n { font-size: 1.25rem; line-height: 2rem; font-weight: 800; grid-row: 1 / span 2; }
.steps p { color: var(--muted); }

/* ---------- pricing ---------- */
.paper { background: var(--paper); margin: calc(var(--line) * 4) calc(var(--pad-x) * -1) 0; padding: calc(var(--line) * 3) var(--pad-x); }
.paper.block { padding-top: calc(var(--line) * 3); }
.price { max-width: var(--measure); }
.plans { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: var(--line); }
.plan { background: var(--surface); padding: 2rem 1.5rem; display: flex; flex-direction: column; gap: var(--line); }
.plan.dark { background: var(--solid); color: var(--on-ink); }
.plan .idx { margin-bottom: 0; }
.plan.dark .idx { color: var(--on-ink); }
.plan.dark .idx::before { outline-color: var(--lime); }
.plan.dark, .plan.dark .idx { --ink: #f2f2f2; }
.plan .incl { margin-bottom: 0; }
.amount { font-size: 4.5rem; line-height: 4.5rem; font-weight: 800; letter-spacing: -0.04em; margin: 0; display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.plan.dark .amount { color: var(--lime); }
.amount .cur { font-size: 1.25rem; line-height: var(--line); font-weight: 600; color: var(--muted); letter-spacing: 0; }
.amount .per { flex-basis: 100%; font-size: 1rem; line-height: var(--line); font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan.dark .amount .cur, .plan.dark .amount .per { color: var(--tile-muted); }
.incl { list-style: none; padding: 0; margin-bottom: var(--line); display: grid; gap: 0.5rem; }
.incl li { padding-left: 1.75rem; position: relative; }
.incl li::before { content: ""; position: absolute; left: 0; top: 0.5625rem; width: 0.875rem; height: 0.375rem; background: var(--ink); }
.plan.dark .incl li::before { background: var(--lime); }
.plan .btn { align-self: flex-start; margin-top: auto; }
.plan.dark .btn { background: var(--lime); color: #0a0a0b; border-color: var(--lime); }
.note { color: var(--muted); margin-bottom: var(--line); }

/* ---------- final call ---------- */
.end { background: var(--lime); margin-top: calc(var(--line) * 4); }
.end .wrap { padding-top: calc(var(--line) * 3); padding-bottom: calc(var(--line) * 3); }
.end h2 { margin-bottom: var(--line); }

/* ---------- code, faq, footer ---------- */
pre { margin: 0 0 var(--line); padding: var(--line) 1rem; background: var(--code-bg); color: var(--code-ink); font-family: var(--mono); font-size: 0.75rem; line-height: var(--line); overflow-x: auto; max-width: 44rem; }
.faq { display: grid; gap: 0; max-width: 44rem; border-top: 2px solid var(--ink); }
.faq dt { font-weight: 700; font-size: 1.125rem; padding-top: var(--line); }
.faq dd { margin: 0.5rem 0 0; color: var(--muted); padding-bottom: var(--line); border-bottom: 1px solid var(--rule); }
.faq a, .legal a:not(.btn), .doc a, .note a:not(.btn) { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--lime); text-underline-offset: 3px; color: var(--ink); font-weight: 600; }
.foot { background: var(--solid); color: var(--tile-muted); font-size: 0.875rem; line-height: var(--line); }
.foot .wrap { padding-top: calc(var(--line) * 2); padding-bottom: calc(var(--line) * 3); display: grid; gap: 1rem; }
.foot .brand { color: var(--on-ink); }
.foot p { max-width: none; }
.foot a { color: var(--on-ink); }
.foot a:hover { color: var(--lime); }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.badge { display: inline-block; font-size: 0.75rem; line-height: 1.25rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0 0.5rem; background: var(--lime); color: #0a0a0b; vertical-align: 0.0625rem; }
.badge.warn { background: var(--warn); color: #fff; }
:root[data-theme="dark"] .badge.warn { color: #0a0a0b; }
.flash-line { padding: var(--line) 0 0; color: var(--muted); }

/* ---------- facts, legal, status ---------- */
.facts { list-style: none; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); max-width: var(--measure); margin-bottom: var(--line); }
.facts li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); line-height: var(--line); }
.facts .k { font-size: 0.875rem; line-height: var(--line); font-weight: 700; color: var(--ink); }
.facts .v { color: var(--muted); }
.facts.wide { max-width: var(--measure); }
.facts.wide li { grid-template-columns: 6rem 1fr; }
.facts + p, .facts + .note { margin-top: var(--line); }
.legal { max-width: var(--measure); padding-bottom: calc(var(--line) * 4); }
.legal h2 { font-size: 1.25rem; line-height: 2rem; margin: calc(var(--line) * 2) 0 var(--line); max-width: none; padding-top: var(--line); border-top: 2px solid var(--ink); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal ol { color: var(--muted); margin-bottom: var(--line); }
.legal ol { padding-left: 1.5rem; }
.legal ol li { margin-bottom: 0.5rem; }
.legal ul { padding-left: 1.25rem; margin: 0.5rem 0; }
.legal strong { color: var(--ink); font-weight: 700; }
.component { padding-top: var(--line); border-top: 2px solid var(--ink); margin-bottom: calc(var(--line) * 2); max-width: 48rem; }
.component-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.muted-line { color: var(--muted); margin-bottom: var(--line); }
.bars { display: block; width: 100%; height: calc(var(--line) * 1.5); }
.bars rect.up { fill: var(--ink); }
.bars rect.part { fill: var(--warn); }
.bars rect.down { fill: var(--bad); }
.bars rect.nd { fill: var(--rule); }
.bars-axis { display: flex; justify-content: space-between; max-width: none; font-family: var(--mono); font-size: 0.75rem; line-height: var(--line); color: var(--dim); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; max-width: none; font-size: 0.875rem; line-height: var(--line); color: var(--muted); }
.key { display: inline-block; width: 0.5rem; height: 1rem; margin-right: -0.5rem; vertical-align: -0.125rem; }
.key.up { background: var(--ink); } .key.part { background: var(--warn); } .key.down { background: var(--bad); } .key.nd { background: var(--rule); }

/* ---------- fee calculator ---------- */
#calculator { margin-top: calc(var(--line) * 3); }
.calc { display: grid; gap: var(--line) 1rem; grid-template-columns: 1fr; max-width: var(--measure); margin-bottom: var(--line); }
.calc label { display: grid; gap: 0.25rem; }
.calc label span { font-size: 0.875rem; line-height: var(--line); font-weight: 600; color: var(--ink); }
.calc input, .calc select { font: inherit; font-variant-numeric: tabular-nums; color: var(--ink); background: var(--surface); border: 2px solid var(--ink); border-radius: 0; padding: 0 0.75rem; height: 3rem; width: 100%; }
.calc label:first-child { grid-column: 1 / -1; }
.calc input:focus, .calc select:focus { outline: 3px solid var(--lime); outline-offset: 0; }
.calc-out { list-style: none; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); max-width: var(--measure); margin-bottom: var(--line); }
.calc-out li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); }
.calc-out .total { font-weight: 700; }

/* ---------- docs ---------- */
.docs { display: grid; gap: calc(var(--line) * 2); padding: calc(var(--line) * 2) 0 calc(var(--line) * 4); }
.docs-nav { font-size: 0.875rem; line-height: var(--line); }
.docs-nav ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.docs-nav a { color: var(--muted); font-weight: 600; }
.docs-nav a[aria-current="page"], .docs-nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 4px; text-underline-offset: 6px; }
.doc { min-width: 0; max-width: var(--measure); }
.doc h1 { font-size: 3rem; line-height: 3.5rem; max-width: none; margin-bottom: calc(var(--line) * 2); }
.doc h2 { font-size: 1.5rem; line-height: 2rem; margin: calc(var(--line) * 2) 0 var(--line); max-width: none; }
.doc h3 { margin: var(--line) 0 0; }
.doc p, .doc ul, .doc ol { color: var(--muted); margin-bottom: var(--line); line-height: var(--line); }
.doc ul, .doc ol { padding-left: 1.25rem; }
.doc strong { color: var(--ink); }
.doc code { font-family: var(--mono); font-size: 0.875em; color: var(--ink); background: var(--paper); padding: 0 0.25rem; overflow-wrap: anywhere; }
.doc pre code { color: var(--code-ink); background: none; padding: 0; font-size: 0.75rem; overflow-wrap: normal; }
.doc pre { overflow-x: auto; white-space: pre; }
.doc table { width: 100%; border-collapse: collapse; margin-bottom: var(--line); display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 0.75rem 1rem 0.75rem 0; border-bottom: 1px solid var(--rule); line-height: var(--line); color: var(--muted); }
.doc th { font-size: 0.875rem; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--ink); }
.doc td:first-child { color: var(--ink); white-space: nowrap; }
.doc-pager { display: flex; justify-content: space-between; gap: 1rem; padding-top: var(--line); border-top: 2px solid var(--ink); margin-top: calc(var(--line) * 2); }
.doc-index { list-style: none; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); max-width: var(--measure); }
.doc-index li { display: grid; grid-template-columns: 12rem 1fr; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); }
.doc-index p { color: var(--muted); }
@media (max-width: 40rem) { .doc-index li { grid-template-columns: 1fr; gap: 0; } .doc h1 { font-size: 2.5rem; line-height: 3rem; } }

/* ---------- wider screens ---------- */
@media (min-width: 48rem) {
  :root { --pad-x: 2rem; }
  .calc { grid-template-columns: repeat(2, 1fr); }
  .tiles, .photos, .grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { grid-template-columns: 1fr; }
  .steps .n { grid-row: auto; }
  .plans { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 5fr 7fr; gap: 3rem; }
  .split.flip { grid-template-columns: 7fr 5fr; }
  .split.flip > figure, .split.flip > img { order: 2; }
  h2 { font-size: 3.5rem; line-height: 4rem; }
  .paper { margin-left: 0; margin-right: 0; padding-left: 3rem; padding-right: 3rem; }
}
@media (min-width: 56rem) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
  h1 { font-size: 4.5rem; line-height: 5rem; }
  .hero.compact h1 { font-size: 4rem; line-height: 4.5rem; }
}
@media (min-width: 72rem) { .hero-grid h1 { font-size: 5.5rem; line-height: 6rem; } }
.after-photos { margin-top: 1rem; }

:root[data-theme="dark"] .photos img, :root[data-theme="dark"] .split img, :root[data-theme="dark"] .shot img { filter: brightness(0.88); }
:root[data-theme="dark"] .plan { outline: 1px solid var(--rule); }
:root[data-theme="dark"] .foot { border-top: 1px solid var(--rule); }

/* theme toggle: a text button, label shows the theme you switch to */
.theme-toggle { font: inherit; font-size: 0.75rem; line-height: 1.5rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: inherit; background: transparent; border: 2px solid currentColor; border-radius: 0; height: 2rem; padding: 0 0.625rem; cursor: pointer; white-space: nowrap; }
.theme-toggle:hover { background: var(--wash); }
.theme-toggle:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
:root:not([data-theme]) .theme-toggle { display: none; }
.theme-toggle .t-light { display: none; }
:root[data-theme="dark"] .theme-toggle .t-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .t-light { display: inline; }
:root[data-theme="dark"] .chat, :root[data-theme="dark"] .tiles li { outline: 1px solid var(--rule); }
.foot .theme-toggle { color: var(--on-ink); justify-self: start; }
.nav .theme-toggle { height: 2rem; }
@media (max-width: 26rem) { .nav .theme-toggle { padding: 0 0.5rem; } }
@media (max-width: 26rem) { .top { flex-wrap: wrap; padding-top: 0.75rem; padding-bottom: 0.75rem; } .nav { flex-wrap: wrap; gap: 0.5rem 1rem; } }
