/* Instrument Sans and Geist Mono (SIL OFL 1.1, fonts/OFL.txt), served from this site: no font CDN */
@font-face { font-family: "Instrument Sans"; font-weight: 400 600; font-display: swap; src: url(/fonts/instrument-sans-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: "Instrument Sans"; font-weight: 400 600; font-display: swap; src: url(/fonts/instrument-sans-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; }
@font-face { font-family: "Geist Mono"; font-weight: 400 500; font-display: swap; src: url(/fonts/geist-mono-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: "Geist Mono"; font-weight: 400 500; font-display: swap; src: url(/fonts/geist-mono-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 {
  --paper: #f6f5f1; --card: #fcfbf8; --ink: #171513; --body: #57534c; --faint: #8b867c;
  --rule: #dfdcd2; --rail: #dfdcd2; --tick: #b9b5a8;
  --orange: #ff5a1f; --orange-text: #d2410e; --orange-deep: #b8370b; --plum: #4b1748;
  --night: #131110; --night-rule: #2e2a26;
  --gutter: 36px; --pad: clamp(20px, 5.4vw, 80px);
  --soft: cubic-bezier(.16, 1, .3, 1);
  --sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange-text); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 99; }
.skip:focus { top: 12px; }

/* The ledger: rails down the page, a rule across every section, a small cross where they meet. */
.sec { position: relative; --draw: 1; }
.sec::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--rule); transform: scaleX(var(--draw)); transform-origin: left; z-index: 1; }
.wrap { position: relative; width: calc(100% - 2 * var(--gutter)); max-width: 1400px; margin-inline: auto; border-inline: 1px solid var(--rail); }
.sec > .wrap::before, .sec > .wrap::after {
  content: ""; position: absolute; top: -5px; width: 11px; height: 11px; z-index: 2;
  background: linear-gradient(var(--tick), var(--tick)) center / 1px 100% no-repeat, linear-gradient(var(--tick), var(--tick)) center / 100% 1px no-repeat;
}
.sec > .wrap::before { left: -6px; } .sec > .wrap::after { right: -6px; }
.in { padding-inline: var(--pad); }
.label { font: 500 12px/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }
h2 { font-weight: 500; font-size: clamp(34px, 4.3vw, 60px); line-height: 1.04; letter-spacing: -.034em; text-wrap: balance; }
h3 { font-weight: 500; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.14; letter-spacing: -.024em; text-wrap: balance; }
.lede { color: var(--body); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; text-wrap: pretty; }
.mono { font-family: var(--mono); }

/* Site buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 0 24px; border-radius: 7px; font-weight: 500; font-size: 16px; letter-spacing: -.005em; text-decoration: none; white-space: nowrap; transition: background .4s var(--soft), border-color .4s var(--soft), color .4s var(--soft); }
.btn.sm { height: 38px; padding: 0 14px; font-size: 14.5px; border-radius: 6px; gap: 7px; }
.btn.solid { background: var(--orange-text); color: #fff; }
.btn.solid:hover { background: var(--orange-deep); }
.btn.line { border: 1px solid #cbc7bb; color: var(--ink); background: transparent; }
.btn.line:hover { border-color: var(--ink); }
.btn .ar { display: inline-block; transition: transform .6s var(--soft); }
.btn:hover .ar { transform: translateX(5px); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(246, 245, 241, .9); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--rule); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; padding-inline: clamp(16px, 2.2vw, 32px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -.025em; text-decoration: none; }
.brand img { width: 26px; height: 26px; border-radius: 7px; display: block; }
.nav nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.nav nav a:not(.btn) { font-size: 15px; font-weight: 500; text-decoration: none; color: #3b3833; transition: color .3s; }
.nav nav a:not(.btn):hover { color: var(--orange-text); }

/* Hero */
.hero .wrap { text-align: center; padding-block: clamp(64px, 8.4vw, 118px) clamp(52px, 6vw, 84px); }
.hero .sec-in { padding-inline: var(--pad); }
h1 { font-weight: 500; font-size: clamp(46px, 6.5vw, 94px); line-height: 1.02; letter-spacing: -.036em; max-width: 13.5em; margin-inline: auto; text-wrap: balance; }
.grad { background: linear-gradient(96deg, #ff5a1f 2%, #e8413f 38%, #a82465 72%, #4b1748 104%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .1em; }
.w { display: inline-block; }
.hero .lede { max-width: 38em; margin: clamp(22px, 2.2vw, 30px) auto 0; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(26px, 2.6vw, 36px); }
.habit { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; margin-top: 26px; font-size: 14.5px; color: var(--body); }
.habit code { font: 500 13px var(--mono); color: var(--ink); background: #ebe8df; padding: 3px 7px; border-radius: 4px; }

/* The sunrise band */
.band::before { content: ""; position: absolute; inset: 0 0 auto; height: 150px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, var(--paper), rgba(246, 245, 241, 0)); }
.band { position: relative; overflow: hidden; --rail: rgba(255, 255, 255, .24); --tick: rgba(90, 40, 30, .35); }
.sky { position: absolute; inset: -14% 0; will-change: transform;
  background: linear-gradient(180deg, #f6f5f1 0%, #fae7d0 13%, #fbc98e 28%, #f89a58 44%, #f0693f 58%, #cf4257 72%, #8d2a63 86%, #4b1748 100%);
  animation: skyshift 20s ease-in-out infinite alternate; }
@keyframes skyshift { from { transform: translateY(-6%) scaleY(1.02); } to { transform: translateY(6%) scaleY(1.1); } }
.sun { position: absolute; left: 50%; top: 42%; width: min(1500px, 170vw); aspect-ratio: 1; margin-left: calc(min(1500px, 170vw) / -2); border-radius: 50%; will-change: transform;
  mix-blend-mode: soft-light; background: radial-gradient(closest-side, rgba(255, 236, 200, .95), rgba(255, 190, 120, .5) 40%, rgba(255, 150, 90, 0) 72%); }
.band .wrap { z-index: 2; padding-block: clamp(30px, 4.6vw, 64px) clamp(44px, 6.4vw, 92px); padding-inline: clamp(10px, 4.6vw, 72px); }

/* ============ The portal, as it is: its own tokens (portal/src/styles/tokens.css), light and dark ============ */
.app {
  --pfont: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --pmono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --bg-page: #f3f4f6; --bg-panel: #ffffff; --bg-nav: #23272e; --bg-nav-hover: #2e333b; --bg-nav-active: #383e47;
  --bg-row-hover: #f7f8fa; --bg-row-selected: #eaf1fb; --bg-thead: #f7f8fa; --bg-muted: #f0f1f3; --bg-input: #ffffff;
  --border: #d9dce1; --border-strong: #8c939d; --border-nav: #383e47;
  --text: #1f2328; --text-muted: #636c76; --text-faint: #6a737d; --text-nav: #c9cdd3; --text-nav-faint: #8b949e; --text-inverse: #fff;
  --brand: #ff5a1f; --accent: #1f5fa8; --accent-hover: #184c87; --accent-soft: #e6eef8;
  --ok: #17702f; --ok-soft: #dcf2e3; --warn: #8a5c00; --warn-soft: #fbf0d1; --bad: #b42318; --bad-soft: #fde7e5;
  --info: #1f5fa8; --info-soft: #e6eef8; --neutral: #57606a; --neutral-soft: #eceef1;
  --in: #6e40c9; --in-soft: #f0e9fb; --out: #1f5fa8; --out-soft: #e6eef8;
  --mark-bg: rgba(255, 196, 0, .45);
  font: 400 13.5px/1.42 var(--pfont); color: var(--text); text-align: left; letter-spacing: 0;
}
.app.dk {
  --bg-page: #1a1d21; --bg-panel: #22262b; --bg-nav: #15171b; --bg-nav-hover: #22262b; --bg-nav-active: #2c3138;
  --bg-row-hover: #2a2e34; --bg-row-selected: #1f3049; --bg-thead: #272b31; --bg-muted: #2a2e34; --bg-input: #1d2024;
  --border: #363b42; --border-strong: #6e7681; --border-nav: #2c3138;
  --text: #e2e5e9; --text-muted: #a3abb5; --text-faint: #959ea8; --text-inverse: #14171a;
  --accent: #6ba6f2; --accent-hover: #8fbcf6; --accent-soft: #1d3352;
  --ok: #6bcf86; --ok-soft: #1c3a26; --warn: #e3b45a; --warn-soft: #3b3019; --bad: #ff8f86; --bad-soft: #47231f;
  --info: #6ba6f2; --info-soft: #1d3352; --neutral: #adb5bf; --neutral-soft: #30353c;
  --mark-bg: rgba(255, 196, 0, .3);
}
.app .ref { font: 12.5px var(--pmono); }
.app .muted { color: var(--text-muted); } .app .faint { color: var(--text-faint); } .app .small { font-size: 12px; }
.app .spacer { flex: 1; }
.p-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 28px; padding: 0 12px; border: 1px solid var(--border-strong); background: var(--bg-panel); border-radius: 4px; font: 12.5px var(--pfont); color: var(--text); white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.p-btn:hover { background: var(--bg-muted); }
.p-btn.pri { background: var(--accent); border-color: var(--accent); color: var(--text-inverse); }
.p-btn.pri:hover { background: var(--accent-hover); }
.p-btn.sm { height: 24px; padding: 0 8px; font-size: 11.5px; }
.p-btn.lg { height: 32px; font-size: 13px; }
.p-btn.danger { color: var(--bad); }
.p-btn.block { width: 100%; }
.p-btn.press { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent); }
.p-link { color: var(--accent); font-size: 12.5px; }
.p-chip { display: inline-block; padding: 0 6px; height: 18px; line-height: 18px; border-radius: 3px; font-size: 11px; font-weight: 500; white-space: nowrap; vertical-align: 1px; }
.p-chip.ok { background: var(--ok-soft); color: var(--ok); } .p-chip.warn { background: var(--warn-soft); color: var(--warn); }
.p-chip.bad { background: var(--bad-soft); color: var(--bad); } .p-chip.info { background: var(--info-soft); color: var(--info); }
.p-chip.neutral { background: var(--neutral-soft); color: var(--neutral); }
.p-chip.in { background: var(--in-soft); color: var(--in); } .p-chip.out { background: var(--out-soft); color: var(--out); }
.p-dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; vertical-align: middle; }
.p-dot.warn { background: var(--warn); } .p-dot.ok { background: var(--ok); } .p-dot.bad { background: var(--bad); }
.p-panel { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 4px; min-width: 0; }
.p-panel-head { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--border); font-weight: 600; font-size: 12.5px; }
.p-panel-body { padding: 12px; }
.p-label-row { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px; }
.p-suggest { border: 1px solid var(--accent); background: var(--accent-soft); border-radius: 6px; padding: 12px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.p-suggest .split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.p-suggest .why { display: flex; flex-direction: column; gap: 1px; color: var(--ok); font-size: 12px; margin-top: 2px; }
.p-big-ref { font: 600 18px var(--pmono); letter-spacing: -.01em; }
.p-notice { padding: 8px 12px; border-radius: 4px; background: var(--bg-muted); font-size: 12.5px; }
.p-notice.ok { background: var(--ok-soft); color: var(--ok); }
.p-head { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; background: var(--bg-panel); border-bottom: 1px solid var(--border); flex: none; min-width: 0; }
.p-head h4 { font-size: 15px; font-weight: 600; white-space: nowrap; }
.p-head .crumb { color: var(--text-muted); white-space: nowrap; }
.p-head .claimno { margin-left: 2px; }
.p-tabs { display: flex; background: var(--bg-panel); box-shadow: inset 0 -1px 0 var(--border); padding: 0 16px; overflow: hidden; flex: none; }
.p-tabs span { flex: none; height: 34px; line-height: 34px; padding: 0 11px; font-size: 12.5px; color: var(--text-muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.p-tabs span.on { color: var(--text); border-bottom-color: var(--accent); font-weight: 500; }
.p-tabs i { font-style: normal; margin-left: 5px; color: var(--text-faint); }
.p-body { background: var(--bg-page); padding: 14px 16px; min-width: 0; }
table.p-grid { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.p-grid td { padding: 6px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; line-height: 1.35; }
table.p-grid tr:last-child td { border-bottom: 0; }
table.p-grid td.r { text-align: right; white-space: nowrap; }
table.p-grid tr.off td { color: var(--text-faint); }
table.p-grid input { accent-color: var(--accent); margin: 0; }
.p-banner { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 7px 12px; background: var(--info-soft); border-radius: 4px; font-size: 12.5px; margin-bottom: 10px; }
.p-banner .p-btn { margin-left: auto; }
/* To check */
.p-checks li { border-top: 1px solid var(--border); padding: 6px 12px 7px; transition: background .3s; cursor: pointer; }
.p-checks li:first-child { border-top: 0; }
.p-checks li:hover { background: var(--bg-row-hover); }
.p-checks li.sel { background: var(--bg-row-selected); box-shadow: inset 2px 0 0 var(--accent); }
.p-checks .lab { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 12.5px; }
.p-checks .row2 { display: flex; align-items: center; gap: 8px; padding-left: 16px; margin-top: 2px; }
.p-checks .val { flex: 1; min-width: 0; }
.p-checks .val b { display: block; font-weight: 500; }
.p-checks .val small { display: block; font-size: 11.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-checks li.done .p-dot { background: var(--ok); }
.p-checks li.done .acts { display: none; }
.p-checks li .okc { display: none; }
.p-checks li.done .okc { display: inline-block; }
/* A claim form page, typeset: crisp at any size */
.p-page { background: #fff; color: #222; border: 1px solid #d5d8dd; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); padding: 18px 20px 20px; font: 12px/1.5 Georgia, "Times New Roman", serif; }
.p-page h5 { margin: 0 0 10px; font: 700 11px/1.2 var(--pfont); letter-spacing: .08em; text-transform: uppercase; color: #333; border-bottom: 2px solid #333; padding-bottom: 6px; }
.p-page .fld { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 2px 8px; padding: 5px 0; border-bottom: 1px dotted #c8c8c8; }
.p-page .fld span:first-child { font: 600 10.5px/1.6 var(--pfont); color: #555; text-transform: uppercase; letter-spacing: .03em; }
.p-page .hand { font-family: "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive; font-size: 13.5px; color: #1d3a8a; }
.p-page mark { background: transparent; color: inherit; border-radius: 2px; transition: background .35s, box-shadow .35s; }
.p-page mark.on { background: var(--mark-bg); box-shadow: 0 0 0 2px rgba(255, 196, 0, .9); }
.p-src { background: var(--bg-muted); padding: 12px; }
.p-srcfield { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; padding: 8px 12px; border-bottom: 1px solid var(--border); font-size: 12.5px; }
.p-split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 12px; align-items: start; }
/* Drafts */
.p-draft { background: var(--bg-panel); border: 1px solid var(--border); border-left: 3px solid var(--brand); border-radius: 4px; min-width: 0; overflow: hidden; }
.p-draft-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.p-draft-head .client { font-weight: 600; }
.p-draft-head .when { margin-left: auto; color: var(--text-muted); font-size: 12px; }
.p-draft-meta { margin: 0; padding: 9px 14px; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 3px 14px; font-size: 12px; border-bottom: 1px solid var(--border); background: var(--bg-thead); }
.p-draft-meta dt { color: var(--text-faint); } .p-draft-meta dd { margin: 0; overflow-wrap: anywhere; }
.p-draft-body { position: relative; padding: 14px 16px; font-size: 13px; white-space: pre-line; line-height: 1.55; overflow-wrap: anywhere; }
.p-draft-body .ghost { visibility: hidden; }
.p-draft-body[contenteditable="true"] { outline: 0; background: var(--bg-row-hover); }
.p-draft-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--border); background: var(--bg-thead); }
.p-draft-foot .note { color: var(--text-muted); font-size: 11.5px; margin-left: auto; }
.p-draft.sent .p-draft-foot .p-btn { display: none; }
.p-draft.sent .p-draft-foot .note { margin-left: 0; color: var(--ok); font-size: 12px; }
.p-seg { display: inline-flex; border: 1px solid var(--border-strong); border-radius: 4px; overflow: hidden; }
.p-seg button { height: 26px; padding: 0 11px; font: 12px var(--pfont); color: var(--text); background: var(--bg-panel); white-space: nowrap; }
.p-seg button + button { border-left: 1px solid var(--border-strong); }
.p-seg button[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); }
/* Mail, as Needs filing shows it */
.p-mail { padding: 12px 14px; }
.p-mail-subject { font-size: 15px; font-weight: 600; line-height: 1.3; }
.p-mail-who { margin: 6px 0 8px; font-size: 12px; color: var(--text-muted); }
.p-mail-who b { color: var(--text); font-weight: 500; }
.p-mail-body { padding-top: 8px; border-top: 1px solid var(--border); white-space: pre-line; font-size: 12.5px; line-height: 1.55; }
.p-mail-quoted { margin-top: 8px; padding-left: 10px; border-left: 3px solid var(--border-strong); color: var(--text-muted); }
.p-att { display: inline-flex; align-items: center; gap: 6px; margin: 8px 6px 0 0; padding: 3px 8px; border: 1px solid var(--border); border-radius: 4px; font-size: 11.5px; background: var(--bg-panel); }
.p-att::before { content: ""; width: 14px; height: 11px; border-radius: 2px; background: linear-gradient(135deg, #7aa7d9, #3f6fa8); }
/* Timeline */
.p-tl li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; padding: 9px 12px; border-top: 1px solid var(--border); font-size: 12.5px; }
.p-tl li:first-child { border-top: 0; }
.p-tl time { color: var(--text-muted); font-size: 11.5px; padding-top: 1px; }
.p-tl b { font-weight: 500; }

/* The browser window around the portal */
.win { position: relative; max-width: 1180px; margin-inline: auto; border-radius: 12px; overflow: hidden; background: var(--bg-panel);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .55), 0 40px 90px -24px rgba(60, 14, 36, .65), 0 12px 30px -10px rgba(60, 14, 36, .4); will-change: transform; transform-origin: 50% 0; }
.win-bar { display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px; background: var(--bg-nav); border-bottom: 1px solid var(--border-nav); }
.lights { display: flex; gap: 7px; } .lights i { width: 10px; height: 10px; border-radius: 50%; background: #3a3f46; }
.win-bar .url { flex: 1; display: flex; justify-content: center; padding-right: 44px; min-width: 0; }
.win-bar .url span { max-width: 340px; width: 100%; height: 22px; line-height: 22px; border-radius: 5px; background: rgba(255, 255, 255, .06); color: #9aa3ad; font: 11.5px var(--pmono); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 10px; }
.shell { display: grid; grid-template-columns: 196px minmax(0, 1fr); min-width: 0; }
.p-nav { background: var(--bg-nav); color: var(--text-nav); font-size: 12.5px; display: flex; flex-direction: column; min-width: 0; }
.p-nav .nb { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-bottom: 1px solid var(--border-nav); color: #fff; font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.p-nav .nb img { width: 20px; height: 20px; border-radius: 5px; }
.p-nav .ns { padding: 12px 14px 4px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-nav-faint); }
.p-nav a { display: flex; justify-content: space-between; align-items: center; height: 29px; padding: 0 14px; text-decoration: none; white-space: nowrap; }
.p-nav a.on { background: var(--bg-nav-active); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.p-nav a i { font-style: normal; font-size: 10.5px; background: var(--bg-nav-active); padding: 0 6px; border-radius: 8px; min-width: 18px; text-align: center; }
.p-nav .addr { margin: auto 10px 10px; padding: 8px 10px; border: 1px solid var(--border-nav); border-radius: 4px; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.p-nav .addr b { display: block; color: #fff; font-weight: 500; }
.p-nav .me { padding: 10px 14px; border-top: 1px solid var(--border-nav); font-size: 11px; }
.p-nav .me b { display: block; color: #fff; font-weight: 500; font-size: 12px; }
.p-main { display: flex; flex-direction: column; min-width: 0; background: var(--bg-panel); }

/* ---- The hero: Chat ---- */
.chat-log { position: relative; overflow: hidden; padding: 0 22px; }
.js:not(.calm) .chat-log { height: 520px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 26px, #000 calc(100% - 20px), transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 26px, #000 calc(100% - 20px), transparent 100%); }
.chat-in { max-width: 720px; margin: 0 auto; padding-block: 26px 26px; will-change: transform; }
.c-turn { display: flex; flex-direction: column; gap: 12px; }
.c-turn + .c-turn { margin-top: 30px; }
.c-q { align-self: flex-end; max-width: 85%; padding: 8px 12px; border-radius: 12px 12px 3px 12px; background: var(--accent-soft); font-size: 13.5px; line-height: 1.5; }
.c-a { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.c-by { display: flex; align-items: center; gap: 6px; margin-bottom: -4px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }
.c-by::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.c-steps { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--text-muted); }
.c-steps li { display: flex; align-items: center; gap: 8px; }
.c-steps li::before { content: "✓"; flex: none; width: 12px; text-align: center; color: var(--ok); }
.c-steps li.now { color: var(--text); }
.c-steps li.now::before { content: ""; width: 9px; height: 9px; margin: 0 1.5px; border: 2px solid var(--accent); border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.c-done { font-size: 12.5px; color: var(--text-muted); }
.c-done::before { content: "▸ "; font-size: 10px; }
.c-answer { font-size: 13.5px; line-height: 1.6; }
.c-answer > * + * { margin-top: 8px; }
.c-answer h4 { font-size: 13.5px; font-weight: 600; margin-top: 12px; }
.c-cite { display: inline-block; margin: 0 1px; padding: 0 4px; height: 16px; line-height: 16px; border-radius: 3px; background: var(--accent-soft); color: var(--accent); font: 500 11px var(--pmono); vertical-align: 1px; }
.c-table { border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.c-table table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.c-table th, .c-table td { padding: 6px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.c-table th { background: var(--bg-muted); font-weight: 600; }
.c-table tr:last-child td { border-bottom: 0; }
.c-foot { font-size: 12px; color: var(--accent); margin-top: -4px; }
.c-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.c-chips span { padding: 3px 12px; border: 1px solid var(--border); border-radius: 14px; font-size: 12px; line-height: 1.4; }
.c-proposal { max-width: 540px; }
.c-proposal .fields { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.c-proposal .inp { height: 26px; line-height: 24px; padding: 0 8px; border: 1px solid var(--border-strong); border-radius: 4px; background: var(--bg-input); font-size: 12px; }
.c-proposal .ta { margin-top: 6px; padding: 6px 8px; border: 1px solid var(--border-strong); border-radius: 4px; background: var(--bg-input); font-size: 12.5px; line-height: 1.45; }
.c-decided { display: none; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--text-muted); }
.c-proposal.applied .p-suggest { display: none; }
.c-proposal.applied .c-decided { display: flex; }
.c-composer { flex: none; padding: 10px 22px 12px; border-top: 1px solid var(--border); background: var(--bg-panel); }
.c-composer > div { max-width: 720px; margin: 0 auto; }
.c-box { display: flex; align-items: flex-end; gap: 8px; padding: 6px 6px 6px 12px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--bg-input); }
.c-box.typing { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.c-box .t { flex: 1; min-height: 20px; padding: 3px 0; font-size: 13.5px; line-height: 1.45; min-width: 0; }
.c-box .t:empty::before { content: attr(data-ph); color: var(--text-faint); }
.c-box .t.caret::after { content: ""; display: inline-block; width: 1px; height: 1.05em; margin-left: 1px; background: var(--text); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.c-hint { margin-top: 5px; font-size: 11px; color: var(--text-faint); }

/* Number cells */
.cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cell { padding: clamp(30px, 3.4vw, 50px) clamp(18px, 2.4vw, 34px) clamp(26px, 3vw, 42px); border-left: 1px solid var(--rule); }
.cell:first-child { border-left: 0; }
.num { display: block; font-weight: 500; font-size: clamp(58px, 7.6vw, 116px); line-height: .95; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.cell .label { display: block; margin-top: 14px; max-width: 20ch; line-height: 1.45; }

/* Section heads */
.head { padding-block: clamp(70px, 8vw, 124px) clamp(40px, 4.8vw, 72px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px 24px; }
.head .label { grid-column: 1 / -1; }
.head h2 { grid-column: 1 / 9; }
.head .lede { grid-column: 1 / 8; }

/* How it starts */
.flow { position: relative; height: 1px; background: var(--rule); }
.flow i { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.flow i::before { content: ""; position: absolute; left: -4px; top: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st { padding: clamp(24px, 2.8vw, 38px) clamp(18px, 2.4vw, 34px) clamp(36px, 4vw, 60px); border-left: 1px solid var(--rule); }
.st:first-child { border-left: 0; }
.st .label { color: var(--orange-text); }
.st h3 { margin-top: 12px; font-size: clamp(21px, 1.8vw, 25px); }
.st p { margin-top: 10px; color: var(--body); font-size: 16px; line-height: 1.5; text-wrap: pretty; }
.st code { font: 500 13.5px var(--mono); color: var(--ink); }

/* Feature rows */
.row { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); --draw: 1; }
.row::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--rule); transform: scaleX(var(--draw)); transform-origin: left; }
.row-t { position: sticky; top: 68px; align-self: start; padding: clamp(26px, 3vw, 44px) clamp(20px, 3vw, 48px) clamp(26px, 3vw, 44px) var(--pad); }
.row-t .label { color: var(--orange-text); font-size: 13px; }
.row-t h3 { margin-top: 18px; }
.row-t p { margin-top: 14px; color: var(--body); text-wrap: pretty; }
.row-t .also { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--rule); font-size: 15px; line-height: 1.5; }
.row-v { padding: clamp(20px, 2.4vw, 36px) clamp(20px, 3vw, 44px); justify-content: center; border-left: 1px solid var(--rule); background: rgba(255, 255, 255, .34); min-width: 0; display: flex; align-items: center; }
/* A vignette: one screen of the portal, in a thin frame */
/* Laid out at a real portal width, then zoomed down: a crisp thumbnail, short because nothing wraps */
.vig { width: 700px; flex: none; zoom: .726; margin-inline: auto; border: 1px solid #d3d0c6; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 26px 50px -34px rgba(70, 50, 20, .45); background: var(--bg-page); }

/* Cover slots */
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.slot { padding: clamp(24px, 2.6vw, 36px) clamp(18px, 2.2vw, 30px) clamp(26px, 2.8vw, 40px); border-left: 1px solid var(--rule); display: flex; flex-direction: column; }
.slot:first-child { border-left: 0; }
.slot .doc { position: relative; width: 44px; height: 56px; border-radius: 4px; background: var(--card); border: 1px solid #cfcbbf; box-shadow: 3px 3px 0 #e9e6dc, 6px 6px 0 #dfdcd2; margin-bottom: 26px; overflow: hidden; }
.slot .doc::before { content: ""; position: absolute; inset: 11px 8px auto; height: 22px; background: repeating-linear-gradient(#cdc9bd 0 1px, transparent 1px 6px); }
.slot.one .doc { box-shadow: none; }
.slot.two .doc { box-shadow: 3px 3px 0 #e9e6dc; }
.slot.grid .doc::before { inset: 10px 7px auto; height: 28px; background: repeating-linear-gradient(#cdc9bd 0 1px, transparent 1px 6px), repeating-linear-gradient(90deg, #cdc9bd 0 1px, transparent 1px 9px); }
.slot h3 { font-size: 23px; }
.slot p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--body); text-wrap: pretty; }
.slot .label { margin-top: auto; padding-top: 22px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.clock { padding: clamp(30px, 3.4vw, 46px) var(--pad) clamp(60px, 6.4vw, 96px); }
.clock-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-bottom: 40px; }
.clock-top p { font-size: 15.5px; color: var(--body); }
.track { position: relative; height: 1px; background: #cbc7bb; margin-bottom: 18px; }
.track .fill { position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.track .now { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.track .now::before { content: ""; position: absolute; left: -5px; top: -5px; width: 11px; height: 11px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255, 90, 31, .16); }
.flag { position: absolute; right: 8.2%; top: -9px; height: 19px; width: 1px; background: var(--ink); }
.flag span { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 4px 8px; border-radius: 4px; background: var(--ink); color: #fff; font: 500 11.5px var(--mono); white-space: nowrap; }
.ends { display: flex; justify-content: space-between; font: 400 12px var(--mono); color: var(--faint); }
.clock-foot { margin-top: 26px; max-width: 46em; font-size: 15.5px; color: var(--body); }

/* ---- One claim, start to finish ---- */
.demo { padding: 0 var(--pad) clamp(60px, 6.4vw, 100px); }
.beats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 18px; margin-bottom: 22px; }
.beat { position: relative; padding-top: 14px; text-align: left; color: var(--faint); transition: color .4s; min-width: 0; }
.beat::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--rule); }
.beat i { position: absolute; inset: 0 0 auto; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.beat .label { display: block; color: inherit; }
.beat b { display: block; margin-top: 6px; font-weight: 500; font-size: 15.5px; line-height: 1.3; letter-spacing: -.01em; }
.beat.on, .beat:hover { color: var(--ink); }
.beat.on .label { color: var(--orange-text); }
.dw { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, .14), 0 40px 80px -40px rgba(60, 40, 20, .45); }
.dw .stage { position: relative; height: 470px; background: var(--bg-page); overflow: hidden; }
.scene { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .5s var(--soft), visibility 0s .5s; }
.scene.on { opacity: 1; visibility: visible; transition: opacity .5s var(--soft); }
.scene .p-body { flex: 1; overflow: hidden; }
.cursor { position: absolute; left: 0; top: 0; width: 20px; height: 20px; z-index: 5; pointer-events: none; opacity: 0; will-change: transform; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); }
.cursor::after { content: ""; position: absolute; left: -9px; top: -9px; width: 20px; height: 20px; border-radius: 50%; background: rgba(31, 95, 168, .35); transform: scale(0); opacity: 0; }
.cursor.click::after { animation: tap .5s ease-out; }
@keyframes tap { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.demo-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin-top: 20px; }
.demo-cap p { flex: 1; min-width: 260px; color: var(--body); font-size: 16.5px; line-height: 1.5; }
.demo-cap p b { color: var(--ink); font-weight: 500; }
.pp { font: 500 12px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--faint); text-decoration: underline; text-underline-offset: 3px; }
.pp:hover { color: var(--ink); }
.nf { display: grid; grid-template-columns: 250px minmax(0, 1fr) 280px; gap: 0; height: 100%; }
.nf-list { background: var(--bg-panel); border-right: 1px solid var(--border); font-size: 12.5px; }
.nf-list li { padding: 9px 12px; border-bottom: 1px solid var(--border); }
.nf-list li.sel { background: var(--bg-row-selected); box-shadow: inset 2px 0 0 var(--accent); }
.nf-list b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nf-list small { color: var(--text-muted); font-size: 11.5px; }
.nf-mail { background: var(--bg-panel); border-right: 1px solid var(--border); min-width: 0; }
.nf-side { padding: 12px; min-width: 0; }

/* Control: the page goes dark */
.dark { background: var(--night); color: #efece6; --rule: var(--night-rule); --rail: var(--night-rule); --tick: #57524a; --faint: #8f897e; --body: #aaa497; }
.ctl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--night-rule); }
.ctl > div { padding: clamp(24px, 3vw, 44px) var(--pad); min-width: 0; }
.ctl > div + div { border-left: 1px solid var(--night-rule); }
.ctl h3 { font-size: clamp(21px, 1.9vw, 26px); }
.ctl > div > p { margin-top: 10px; color: var(--body); font-size: 16px; line-height: 1.5; max-width: 34em; text-wrap: pretty; }
.boxes { margin-top: 26px; border: 1px solid var(--night-rule); border-radius: 9px; overflow: hidden; font: 400 13px var(--mono); }
.boxes li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--night-rule); color: #6f6a60; }
.boxes li:last-child { border-bottom: 0; }
.boxes li > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.boxes li > span:last-child { flex: none; font-size: 11.5px; }
.boxes li.yes { background: linear-gradient(90deg, rgba(255, 90, 31, .17), rgba(255, 90, 31, .04)); color: #fff; }
.boxes li.yes > span:last-child { color: #ff9a75; }
.log { margin-top: 26px; font-size: 14px; }
.log li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-top: 1px solid var(--night-rule); color: #c9c3b6; line-height: 1.45; }
.log li:last-child { border-bottom: 1px solid var(--night-rule); }
.log time { font: 400 12px/1.7 var(--mono); color: #8f897e; }
.log b { font-weight: 500; color: #fff; }
.facts4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--night-rule); }
.facts4 div { padding: clamp(24px, 2.6vw, 36px) clamp(18px, 2.2vw, 30px) clamp(40px, 4.6vw, 72px); border-left: 1px solid var(--night-rule); }
.facts4 div:first-child { border-left: 0; }
.facts4 h3 { font-size: 19px; letter-spacing: -.016em; }
.facts4 p { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--body); text-wrap: pretty; }

/* Closing: dawn out of the dark */
.dawn { position: relative; overflow: hidden; background: var(--night); color: #fff; --rail: rgba(255, 255, 255, .13); --rule: var(--night-rule); --tick: rgba(255, 255, 255, .35); }
.dawn .sky2 { position: absolute; inset: 0 0 -18%; will-change: transform;
  background: linear-gradient(180deg, #131110 0%, #2c1230 18%, #4b1748 34%, #8d2a63 50%, #cf4257 64%, #f0693f 76%, #f89a58 83%, #fbc98e 89%, #f6f5f1 95%); }
.dawn .wrap { text-align: center; padding-block: clamp(100px, 13vw, 200px) clamp(190px, 25vw, 380px); }
.dawn h2 { font-size: clamp(42px, 6.2vw, 90px); letter-spacing: -.04em; line-height: 1; }
.dawn .lede { color: rgba(255, 255, 255, .78); max-width: 34em; margin: 22px auto 0; }
.btn.white { background: #fff; color: var(--ink); } .btn.white:hover { background: #f4e7da; }
.btn.clear { border: 1px solid rgba(255, 255, 255, .42); color: #fff; } .btn.clear:hover { border-color: #fff; }

/* Footer */
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding: 28px clamp(16px, 2.2vw, 32px) 34px; font-size: 14px; color: var(--body); }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--orange-text); }
.foot small { flex-basis: 100%; font-size: 12.5px; color: var(--faint); }

@media (max-width: 1200px) { .vig { zoom: .638; } }
@media (max-width: 1100px) {
  .nf { grid-template-columns: minmax(0, 1fr) 270px; }
  .nf-list { display: none; }
}
@media (max-width: 1000px) {
  .vig { zoom: .79; }
  .shell { grid-template-columns: minmax(0, 1fr); }
  .p-nav { display: none; }
  .row { grid-template-columns: minmax(0, 1fr); }
  .row-t { position: static; padding-inline: var(--pad); padding-bottom: 8px; }
  .row-v { border-left: 0; padding: 24px var(--pad) 40px; background: none; }
  .head h2, .head .lede { grid-column: 1 / -1; }
  .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slot:nth-child(odd) { border-left: 0; }
  .slot:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .facts4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts4 div:nth-child(odd) { border-left: 0; }
  .facts4 div:nth-child(n + 3) { border-top: 1px solid var(--night-rule); }
  .beats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 8px; }
  .beat b { font-size: 13px; }
}
@media (max-width: 720px) {
  .vig { width: 100%; zoom: 1; font-size: 12.5px; }
  :root { --gutter: 12px; }
  body { font-size: 16px; }
  .nav nav a:not(.btn), .nav nav .btn.line { display: none; }
  .nav .wrap { height: 60px; }
  .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell:nth-child(odd) { border-left: 0; }
  .cell:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .steps3 { grid-template-columns: minmax(0, 1fr); }
  .st { border-left: 0; border-top: 1px solid var(--rule); }
  .st:first-child { border-top: 0; }
  .ctl { grid-template-columns: minmax(0, 1fr); }
  .ctl > div + div { border-left: 0; border-top: 1px solid var(--night-rule); }
  .cta .btn { flex: 1 1 100%; justify-content: center; }
  .js:not(.calm) .chat-log { height: 480px; }
  .chat-log, .c-composer { padding-inline: 12px; }
  .c-hint { display: none; }
  .win-bar .url { padding-right: 0; }
  .flag span { left: auto; right: -30px; transform: none; }
  .p-split2 { grid-template-columns: minmax(0, 1fr); }
  .p-src { display: none; }
  .nf { grid-template-columns: minmax(0, 1fr); }
  .nf-mail { display: none; }
  .beat b { display: none; }
  .dw .stage { height: 440px; }
  .p-draft-foot .note { display: none; }
}
@media (max-width: 420px) {
  .slots, .facts4 { grid-template-columns: minmax(0, 1fr); }
  .slot { border-left: 0; } .slot:nth-child(n + 2) { border-top: 1px solid var(--rule); }
  .facts4 div { border-left: 0; } .facts4 div:nth-child(n + 2) { border-top: 1px solid var(--night-rule); }
}
.calm *, .calm *::before, .calm *::after { animation: none !important; transition: none !important; }

/* What were style attributes in the mock: the CSP allows no inline style */
.norule { --rule: transparent; }
.ruled { border-top: 1px solid var(--rule); }
.u-ok { color: var(--ok); }
.u-hrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.u-stack { display: flex; flex-direction: column; gap: 10px; }
.u-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 9px 12px; }
.u-fill { flex: 1; min-height: 0; }
.u-em { font-size: .9em; }
.u-why { font-size: 12.5px; margin-bottom: 12px; }
.u-ref { font-size: 14px; }
.u-w4 { font-weight: 400; } .u-w5 { font-weight: 500; }
.u-lead { font-weight: 500; color: var(--ink); }
.u-push { margin-left: auto; }
.u-tick { width: 26px; }

/* ============ The other pages: Contact, Thanks, Privacy, Terms, 404, 500 ============ */
.page { padding: clamp(56px, 7vw, 104px) var(--pad) clamp(70px, 8vw, 120px); }
.page-in { max-width: 46rem; }
.page h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1.02; letter-spacing: -.036em; max-width: none; margin: 0; text-wrap: balance; }
.page .lede { margin-top: 18px; max-width: 34em; }
.page .label { display: block; margin-bottom: 18px; color: var(--orange-text); }
/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 80px); margin-top: clamp(32px, 4vw, 52px); }
.lead-form { display: grid; gap: 18px; }
.lead-form label { display: grid; gap: 7px; font-size: 14.5px; font-weight: 500; }
.lead-form label small { font-weight: 400; color: var(--faint); }
.lead-form input, .lead-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #cbc7bb; border-radius: 7px; background: var(--card); font: 400 16px/1.45 var(--sans); color: var(--ink); transition: border-color .3s, box-shadow .3s; }
.lead-form input:focus, .lead-form textarea:focus { outline: 0; border-color: var(--orange-text); box-shadow: 0 0 0 3px rgba(210, 65, 14, .14); }
.lead-form textarea { resize: vertical; min-height: 140px; }
.lead-form .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* a field people never see and bots fill */
.lead-form .btn { justify-self: start; }
.lead-form .btn[disabled] { opacity: .45; cursor: not-allowed; }
.form-note { font-size: 14px; color: var(--body); line-height: 1.5; }
.form-note a, .aside a, .prose a, .err .lede a { color: var(--orange-text); text-decoration: underline; text-underline-offset: 3px; }
.aside { border-top: 1px solid var(--rule); padding-top: 22px; display: grid; gap: 22px; align-content: start; }
.aside h2 { font-size: 21px; letter-spacing: -.016em; }
.aside p { margin-top: 6px; color: var(--body); font-size: 15.5px; line-height: 1.5; }
.aside ol { display: grid; gap: 10px; margin-top: 10px; counter-reset: s; }
.aside ol li { display: grid; grid-template-columns: 26px minmax(0, 1fr); color: var(--body); font-size: 15.5px; line-height: 1.5; counter-increment: s; }
.aside ol li::before { content: "0" counter(s); font: 500 12px/1.9 var(--mono); color: var(--orange-text); }
/* Privacy and Terms: the text as it was, in the site's type */
.updated { margin-top: 14px; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.prose { margin-top: clamp(30px, 4vw, 48px); max-width: 44rem; color: var(--body); font-size: 16.5px; line-height: 1.65; }
.prose > * + * { margin-top: 14px; }
.prose h2 { margin-top: 40px; color: var(--ink); font-size: 23px; line-height: 1.25; letter-spacing: -.018em; }
.prose ul { padding-left: 1.4rem; list-style: disc; }
.prose ol { padding-left: 1.4rem; list-style: decimal; }
.prose li + li { margin-top: 8px; }
.prose li > ul { margin-top: 8px; }
.prose strong { color: var(--ink); font-weight: 500; }
/* 404 and 500 */
.err { min-height: 62vh; display: grid; align-content: center; }
.err .num404 { font-weight: 500; font-size: clamp(90px, 14vw, 180px); line-height: .9; letter-spacing: -.06em; }
.err .cta { justify-content: flex-start; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .lead-form .two { grid-template-columns: minmax(0, 1fr); }
}
