/* Townlight Studio v3 "Set by hand". Tokens defined once (DESIGN-BRIEF.md). */
:root {
  --bg: #F5F3EE; --bg-2: #EAE6DB; --paper: #FFFFFF; --line: #D8D3C5; --line-2: #BDB7A6;
  --ink: #15130F; --muted: #57544B; --faint: #6F6B60;
  --accent: #C2410C; --accent-hover: #9F3408; --accent-soft: rgb(194 65 12 / .12);
  --f-display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Hanken Grotesk", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-data: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
  --gutter: clamp(20px, 5vw, 72px); --max: 1240px;
  --shadow-frame: 0 1px 1px rgb(21 19 15 / .06), 0 28px 50px -24px rgb(21 19 15 / .38), 0 70px 90px -60px rgb(21 19 15 / .4);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.65 var(--f-text); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 200; background: var(--bg); padding: 8px 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.3vw, 60px); }
h2 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.02em; line-height: 1.2; }
h3 { font-size: 20px; letter-spacing: -.012em; line-height: 1.25; }
p { margin: 0 0 1.1em; max-width: 62ch; text-wrap: pretty; }
.faint { color: var(--faint); }
.data, .price-data { font-family: var(--f-data); font-variant-numeric: tabular-nums; }
.statement { font-size: clamp(22px, 2.2vw, 31px); line-height: 1.38; letter-spacing: -.012em; max-width: 34em; }
.ink-link { color: var(--accent); font-weight: 600; text-decoration-thickness: 2px; }
.ink-link:hover { color: var(--accent-hover); }
.vspace { padding-block: clamp(56px, 7vw, 104px); }
.vspace-s { padding-block: clamp(32px, 4vw, 56px); }

/* ---------- Nav ---------- */
.site-nav { position: relative; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 19px/1 var(--f-display); letter-spacing: -.02em; }
.wordmark:hover { color: var(--ink); }
.wordmark .mark { width: 20px; height: 20px; border-radius: 5px; background: var(--ink); position: relative; }
.wordmark .mark::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgb(194 65 12 / .28); }
.site-nav ul { list-style: none; display: flex; gap: 6px; margin: 0 0 0 auto; padding: 0; align-items: center; }
.site-nav ul a { display: block; text-decoration: none; font-size: 15.5px; color: var(--muted); padding: 8px 10px; transition: color .2s; }
.site-nav ul a:hover { color: var(--ink); }
.site-nav ul a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.site-nav .nav-ask a { color: var(--accent); font-weight: 600; margin-left: 10px; }
.site-nav .nav-ask a:hover { color: var(--accent-hover); }
.menu-toggle { display: none; }

/* ---------- Buttons: one per screen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 0; border-radius: 6px; cursor: pointer;
  font: 600 16.5px/1 var(--f-text); text-decoration: none; background: var(--accent); color: #fff; transition: background .2s, transform .2s var(--ease); }
.btn:hover { background: var(--accent-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn .arrow { transition: transform .2s var(--ease); } .btn:hover .arrow { transform: translateX(3px); }

/* ---------- Home hero ---------- */
.hero { padding: clamp(32px, 4.5vw, 64px) 0 clamp(40px, 5vw, 72px); }
.hero h1 { max-width: 17em; font-size: clamp(34px, 4vw, 54px); }
.hero-row { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin: 18px 0 clamp(24px, 3vw, 36px); }
.hero-row p { margin: 0; font-size: clamp(18px, 1.4vw, 20px); max-width: 66ch; }

/* ---------- Live site viewer ---------- */
.viewer { --frame-h: clamp(460px, 74vh, 740px); }
.viewer-tabs { display: flex; gap: clamp(18px, 2.4vw, 36px); margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.viewer-tabs::-webkit-scrollbar { display: none; }
.vt { display: flex; flex-direction: column; gap: 1px; text-decoration: none; padding: 8px 0 10px; box-shadow: inset 0 -2px 0 transparent; color: var(--muted); white-space: nowrap; transition: color .2s, box-shadow .25s; }
.vt b { font: 600 17px/1.25 var(--f-display); letter-spacing: -.01em; color: inherit; }
.vt span { font-size: 14px; color: var(--faint); }
.vt:hover { color: var(--ink); }
.vt[aria-current="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.viewer-frame { background: var(--paper); border-radius: 10px; box-shadow: var(--shadow-frame); overflow: hidden; border: 1px solid var(--line); }
.viewer-bar { display: flex; align-items: center; gap: 18px; padding: 8px 16px; min-height: 46px; border-bottom: 1px solid var(--line); background: #FBFAF7; font-size: 14.5px; }
.viewer-title { font-weight: 600; margin-right: auto; line-height: 1.2; }
.viewer-mode { display: inline-flex; background: var(--bg-2); border-radius: 6px; padding: 3px; }
.viewer-mode button { border: 0; background: none; font: 500 13.5px/1 var(--f-text); color: var(--muted); padding: 7px 12px; border-radius: 4px; cursor: pointer; }
.viewer-mode button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgb(21 19 15 / .14); }
.viewer-open { color: var(--muted); text-decoration: none; white-space: nowrap; }
.viewer-open::after { content: " \2197"; }
.viewer-open:hover { color: var(--accent); }
.viewer-screen { position: relative; height: var(--frame-h); background: var(--bg-2); display: flex; justify-content: center; transition: background .3s; }
.viewer-screen iframe { border: 0; width: 100%; height: 100%; background: #fff; transition: width .5s var(--ease), border-radius .3s; }
.viewer[data-mode="phone"] .viewer-screen { padding: 22px 0; }
.viewer[data-mode="phone"] .viewer-screen iframe { width: 390px; max-width: 100%; border-radius: 26px; box-shadow: 0 0 0 7px var(--ink), 0 20px 40px -14px rgb(21 19 15 / .5); }
.veil { display: none; }
.viewer-note { margin: 14px 0 0; font-size: 16px; color: var(--muted); max-width: none; }
.viewer-note b { color: var(--ink); font-weight: 600; }
.viewer[data-layout="list"] { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(24px, 3.5vw, 56px); align-items: start; }
.viewer-list { position: sticky; top: 24px; display: flex; flex-direction: column; }
.viewer-list .vt { padding: 11px 0 11px 16px; border-bottom: 1px solid var(--line); box-shadow: inset 2px 0 0 transparent; white-space: normal; }
.viewer-list .vt[aria-current="true"] { box-shadow: inset 2px 0 0 var(--accent); }
.list-note { font-size: 15px; color: var(--faint); margin: 22px 0 0 16px; }
.viewer[data-layout="list"] .viewer-note { min-height: 3.4em; }

/* ---------- Letter ---------- */
.letter { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 32px); }
.letter .statement { grid-column: 1 / span 9; margin-bottom: 1.1em; }
.letter .after { grid-column: 1 / span 5; }
.letter .after.w6 { grid-column: 1 / span 6; }
.letter .aside { grid-column: 9 / span 4; align-self: start; border-top: 1px solid var(--ink); padding-top: 12px; font-size: 15.5px; color: var(--muted); margin-top: 8px; }
.letter .aside p { margin: 0; }

/* ---------- Strip of phone screens ---------- */
.ruled { border-top: 1px solid var(--line); }
.band { background: var(--bg-2); --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.strip-intro { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 36px; }
.strip-intro p { margin: 0; font-size: clamp(19px, 1.6vw, 23px); font-family: var(--f-display); font-weight: 600; letter-spacing: -.015em; }
.strip { display: flex; align-items: flex-start; gap: clamp(20px, 2.4vw, 36px); overflow-x: auto; padding: 4px var(--edge) 40px; scroll-snap-type: x proximity; scroll-padding-inline: var(--edge); scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.strip-item { flex: none; width: clamp(190px, 17vw, 236px); text-decoration: none; scroll-snap-align: start; display: block; }
.strip-item:nth-child(even) { margin-top: 44px; }
.strip-item img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 0 0 5px var(--ink), 0 22px 36px -18px rgb(21 19 15 / .5); margin-bottom: 20px; }
.strip-name { display: block; font: 600 17px/1.25 var(--f-display); letter-spacing: -.01em; }
.strip-idea { display: block; font-size: 14.5px; line-height: 1.45; color: var(--muted); margin-top: 4px; }
.strip-item:hover .strip-name { color: var(--accent); }

/* ---------- Run-in paragraph (process in time) ---------- */
.runin-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 32px); }
.runin-wrap > div { grid-column: 4 / span 8; }
.runin { display: inline; font: 600 clamp(26px, 2.6vw, 38px)/1.2 var(--f-display); letter-spacing: -.02em; margin-right: .35em; text-wrap: pretty; }
.runin-p { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.6; max-width: 40em; }
.runin-p b { font-weight: 600; }

/* ---------- Sample email ---------- */
.mail-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 32px); align-items: start; }
.mail { grid-column: 1 / span 7; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 24px 40px -30px rgb(21 19 15 / .4); font-size: 16px; line-height: 1.6; }
.mail-head { padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.mail-head div { display: flex; gap: 14px; } .mail-head dt { min-width: 3.4em; color: var(--faint); }
.mail-head dl { margin: 0; } .mail-head dd { margin: 0; color: var(--ink); }
.mail-head .subj dd { font-weight: 600; }
.mail-body { padding: 20px 22px 8px; } .mail-body p { max-width: 54ch; }
.mail-body .linkish { color: #1a56c4; text-decoration: underline; font-size: 15px; word-break: break-all; }
.mail-foot { padding: 12px 22px 18px; font-size: 13.5px; color: var(--faint); border-top: 1px dashed var(--line); margin: 6px 22px 0; padding-inline: 0; }
.mail-side { grid-column: 9 / span 4; padding-top: 6px; }
.mail-side p { font-size: 18px; }

/* ---------- Price sentence + receipt ---------- */
.price-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 32px); align-items: start; }
.price-wrap .statement { grid-column: 1 / span 6; }
.price-wrap .price-after { grid-column: 1 / span 5; }
.receipt { grid-column: 8 / span 5; grid-row: 1 / span 3; background: var(--paper); padding: 26px 28px 22px; font-family: var(--f-data); font-size: 14px; line-height: 1.5; box-shadow: 0 24px 40px -30px rgb(21 19 15 / .4); border-top: 3px solid var(--ink); }
.receipt .r { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; }
.receipt .r span:first-child { flex: 0 1 auto; max-width: 70%; }
.receipt .r i { flex: 1; border-bottom: 1px dotted var(--line-2); transform: translateY(-3px); min-width: 16px; }
.receipt .r.total { border-top: 1px dashed var(--ink); margin-top: 10px; padding-top: 14px; font-size: 15.5px; font-weight: 500; }
.receipt .r.total span:last-child { font-size: 22px; }
.receipt .rnote { margin: 12px 0 0; font-size: 12.5px; color: var(--faint); max-width: none; line-height: 1.5; }

/* ---------- Plain questions ---------- */
.plain { grid-column: 3 / span 8; }
.plain p { font-size: 19px; margin-bottom: 1.3em; max-width: 44em; }
.plain b { font-weight: 600; }
.plain-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 32px); }

/* ---------- Rows (FAQ) ---------- */
.rows { border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 4vw, 64px); padding: 22px 0 6px; border-bottom: 1px solid var(--line); }
.row h3.q { font-size: clamp(19px, 1.55vw, 22px); line-height: 1.3; }
.row p { margin: 0 0 1em; }

/* ---------- Closing: a typographic link, not a band ---------- */
.close { border-top: 1px solid var(--line); }
.close p.say { font-size: clamp(19px, 1.6vw, 22px); max-width: 38em; margin-bottom: 18px; }
.bigcta { display: inline-block; font: 600 clamp(38px, 7.2vw, 104px)/1 var(--f-display); letter-spacing: -.035em; text-decoration: none; color: var(--ink); box-shadow: inset 0 -.09em 0 var(--accent); padding-bottom: .06em; transition: color .2s, box-shadow .3s var(--ease); }
.bigcta:hover { color: var(--accent); box-shadow: inset 0 -.5em 0 var(--accent-soft); }
.bigcta.sm { font-size: clamp(30px, 4vw, 52px); }
.close .or { margin: 20px 0 0; color: var(--muted); font-size: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); padding: 56px 0 30px; border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 3fr); gap: 40px; }
.foot-id p { margin: 16px 0 0; color: var(--muted); max-width: 40ch; font-size: 16px; }
.foot-links b { display: block; font: 600 15px/1 var(--f-display); margin-bottom: 14px; }
.foot-links ul { list-style: none; margin: 0; padding: 0; font-size: 15.5px; line-height: 2; }
.foot-links a, .footer-legal a { text-decoration: none; color: var(--ink); } .foot-links a:hover, .footer-legal a:hover { color: var(--accent); text-decoration: underline; }
.footer-legal { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer .wordmark .mark { background: var(--ink); }

/* ---------- Subpage layouts ---------- */
.page-top { padding: clamp(40px, 5vw, 72px) 0 clamp(28px, 3.5vw, 48px); }
.page-top h1 { font-size: clamp(34px, 4vw, 54px); max-width: 16em; }
.margin-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 6vw, 96px); padding-block: clamp(40px, 5vw, 72px) clamp(64px, 8vw, 112px); align-items: start; }
.margin-layout > .side { position: sticky; top: 32px; }
.margin-layout h1 { font-size: clamp(32px, 3.3vw, 46px); }
.margin-layout .side p { margin-top: 20px; color: var(--muted); font-size: 16.5px; }
.prose { max-width: 40em; }
.prose h2 { margin: 2em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; } .prose li { margin-bottom: .5em; }
.prose .statement { margin-bottom: .9em; }
.simple-page { padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 8vw, 120px); }
.simple-page h1 { font-size: clamp(32px, 3.6vw, 48px); margin-bottom: .6em; }
.simple-page .prose p, .simple-page .prose li { font-size: 17px; }

/* timeline told in time */
.timeline { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line-2); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 clamp(32px, 4vw, 52px) clamp(24px, 3vw, 44px); display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 8px clamp(16px, 3vw, 40px); }
.timeline li::before { content: ""; position: absolute; left: -6px; top: .55em; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink); }
.timeline li:last-child::before { background: var(--accent); box-shadow: none; }
.timeline li:last-child { padding-bottom: 0; }
.timeline h2 { font-size: clamp(21px, 1.8vw, 26px); margin: 0; }
.timeline li:nth-child(3) h2 { font-size: clamp(28px, 2.4vw, 34px); }
.timeline p { margin: 0 0 .9em; font-size: 18px; }
.never { margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--ink); max-width: 40em; }

/* pricing page */
.price-line { font: 600 clamp(38px, 6.4vw, 92px)/1 var(--f-display); letter-spacing: -.035em; max-width: 12em; margin: 0; }
.price-line .data { font-weight: 500; letter-spacing: -.04em; }
.two-up { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 400; vertical-align: top; }
.compare thead th { font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--ink); }
.compare td, .compare thead th:not(:first-child) { text-align: right; padding-left: 14px; }
.compare td { font-family: var(--f-data); font-size: 14px; white-space: nowrap; }
.compare thead th:not(:first-child) { font-family: var(--f-text); }
.compare caption { text-align: left; font: 600 20px/1.2 var(--f-display); letter-spacing: -.01em; padding-bottom: 14px; caption-side: top; }
.plainlist { margin: 0; padding: 0; list-style: none; }
.plainlist li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.plainlist li:first-child { border-top: 1px solid var(--ink); }

/* industry pages */
.breadcrumb { font-size: 14.5px; color: var(--muted); margin: 0 0 22px; max-width: none; } .breadcrumb a { color: var(--muted); }
.ind-open h1 { font-size: clamp(34px, 4.1vw, 56px); max-width: 15em; margin-bottom: 26px; }
.ind-text { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 32px); }
.ind-text > * { grid-column: 1 / span 8; }
.ind-text .lead-p { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.45; max-width: 36em; }
.ind-text p { max-width: 38em; } .ind-text p b { font-weight: 600; }
.also { font-size: 16.5px; color: var(--muted); max-width: 44em; }
.also a { color: var(--ink); }

/* forms: set on the paper, no card */
.form-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-block: clamp(40px, 5vw, 72px) clamp(64px, 8vw, 112px); }
.form-grid .side p { margin-top: 18px; max-width: 34em; }
.form-grid h1 { font-size: clamp(32px, 3.6vw, 50px); }
.form { background: var(--paper); border-top: 3px solid var(--ink); padding: clamp(24px, 3vw, 38px); box-shadow: 0 24px 40px -32px rgb(21 19 15 / .4); }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; font: 400 17px/1.4 var(--f-text); color: var(--ink); padding: 10px 0; background: none; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder, .field textarea::placeholder { color: #8A8678; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 2px 0 var(--accent); }
.field textarea { resize: vertical; }
.field.invalid input, .field.invalid textarea { border-color: var(--accent); }
.field .err { display: block; color: var(--accent); font-size: 14px; margin-top: 6px; }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 1.2em; }
.hint { font-size: 14px; color: var(--muted); margin: 12px 0 0; max-width: none; }
.mailbig { display: inline-block; font: 600 clamp(19px, 2.1vw, 30px)/1.2 var(--f-display); letter-spacing: -.02em; color: var(--ink); text-decoration-thickness: 2px; text-decoration-color: var(--accent); overflow-wrap: anywhere; }
.choices { border-top: 1px solid var(--ink); margin-top: 28px; }
.choice { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.choice h2 { font-size: 24px; margin-bottom: 6px; }
.choice p { margin: 0; color: var(--muted); font-size: 16.5px; }
.choice .go { font-weight: 600; color: var(--accent); text-decoration-thickness: 2px; white-space: nowrap; }
.fine { color: var(--muted); max-width: 46em; font-size: 16px; }

[data-placeholder] { display: none; }

/* ---------- Phones ---------- */
@media (max-width: 960px) {
  .hero-row, .strip-intro { flex-direction: column; align-items: flex-start; gap: 18px; }
  .letter .statement, .letter .after, .letter .aside { grid-column: 1 / -1; }
  .letter .aside { margin-top: 24px; }
  .runin-wrap > div, .plain, .ind-text > * { grid-column: 1 / -1; }
  .mail, .mail-side { grid-column: 1 / -1; } .mail-side { padding-top: 28px; }
  .price-wrap .statement, .price-wrap .price-after, .receipt { grid-column: 1 / -1; grid-row: auto; } .receipt { margin: 8px 0 28px; order: 3; }
  .margin-layout, .form-grid, .two-up { grid-template-columns: 1fr; }
  .margin-layout > .side { position: static; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .foot-top { grid-template-columns: 1fr 1fr; } .foot-id { grid-column: 1 / -1; }
  .viewer[data-layout="list"] { grid-template-columns: 1fr; }
  .viewer-list { position: static; flex-direction: row; overflow-x: auto; gap: 22px; scrollbar-width: none; }
  .viewer-list .vt { border-bottom: 0; padding: 8px 0 10px; box-shadow: inset 0 -2px 0 transparent; white-space: nowrap; }
  .viewer-list .vt[aria-current="true"] { box-shadow: inset 0 -2px 0 var(--accent); }
  .list-note { display: none; }
  .timeline li { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 17.5px; }
  .site-nav ul { display: none; }
  .site-nav.open ul { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 6px var(--gutter) 14px; }
  .site-nav.open ul a { padding: 14px 2px; font-size: 18px; border-bottom: 1px solid var(--line); box-shadow: none !important; }
  .site-nav.open .nav-ask a { margin: 0; border: 0; }
  .menu-toggle { display: inline-flex; margin-left: auto; background: none; border: 0; box-shadow: inset 0 0 0 1px var(--line-2); border-radius: 6px; padding: 9px 14px; font: 600 14px/1 var(--f-text); color: var(--ink); }
  .viewer { --frame-h: min(72vh, 560px); }
  .viewer-mode { display: none; }
  .viewer-bar { min-height: 42px; }
  .runin { display: block; margin: 0 0 .5em; }
  .viewer-screen.locked iframe { pointer-events: none; }
  .veil { display: block; position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; border: 0; border-radius: 6px; background: var(--ink); color: #fff; font: 600 15px/1 var(--f-text); padding: 15px; }
  .viewer-screen:not(.locked) .veil { display: none; }
  .strip-item:nth-child(even) { margin-top: 28px; }
  .btn { width: 100%; }
  .choice { grid-template-columns: 1fr; }
  .receipt { padding: 22px 18px 18px; font-size: 13px; }
  .foot-top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
li, dd, figcaption, .viewer-note, .strip-idea { text-wrap: pretty; }

.prose .plainlist { padding-left: 0; }
