/* Hallmark · v2.0.0 · system: DESIGN.md (locked, calm instrument) · genre editorial · round 2 floor pass 2026-11-04 */
/* Hallmark · pre-emit critique: one amber signal, paper surfaces, tokens only, no eyebrows or tracked caps, labels sentence case */
/* RoofClarity "calm instrument" design system.
   Radius rule: interactive controls are full pills, cards and images are 22px, inputs inside cards 14px.
   One accent (RMS amber) for the range, the primary button and measurement marks. Nothing else. */

@font-face { font-family: "Cabinet"; src: url(../fonts/cabinet-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Cabinet"; src: url(../fonts/cabinet-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Switzer"; src: url(../fonts/switzer.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
	--bg: #f3f2ee;
	--bg-2: #e9e7e1;
	--surface: #fbfaf8;
	--ink: #131a21;
	--ink-2: #2f3a45;
	--muted: #56616c;
	--line: rgba(19, 26, 33, .11);
	--line-2: rgba(19, 26, 33, .2);
	--accent: #e8892a;
	--accent-ink: #1a1006;
	--accent-soft: rgba(232, 137, 42, .14);
	--accent-text: #a65a14; /* amber for text on paper, 4.6:1 */
	--ok: #2b7a4b;
	--err: #b3261e;
	--shadow: 0 1px 2px rgba(19, 26, 33, .05), 0 12px 40px -12px rgba(19, 26, 33, .16);
	--shadow-lg: 0 2px 6px rgba(19, 26, 33, .06), 0 40px 90px -30px rgba(19, 26, 33, .32);
	--on-dark: #f6f4ef;
	--on-dark-2: rgba(246, 244, 239, .72);
	--glass-dark: rgba(12, 17, 22, .68);
	--glass-line: rgba(246, 244, 239, .14);
	--scrim: rgba(9, 13, 17, .58);
	--shade-1: rgba(5, 8, 11, .55);
	--shade-2: rgba(8, 11, 14, .8);
	--shade-3: rgba(10, 14, 18, .9);
	--stage-bg: #0b1015;
	--accent-glow: rgba(232, 137, 42, .6);
	--accent-glow-2: rgba(232, 137, 42, .75);
	--accent-line: rgba(232, 137, 42, .38);
	--accent-ink-soft: rgba(26, 16, 6, .12);
	--highlight: rgba(255, 255, 255, .35);
	--ring-shadow: rgba(10, 14, 18, .22);
	--bar-shadow: rgba(19, 26, 33, .3);
	--shade-0: rgba(5, 8, 11, .1);
	--shade-cta: rgba(10, 14, 18, .5);
	--on-dark-3: rgba(246, 244, 239, .82);
	--paper: #fbfaf8;
	--paper-ink: #131a21;
	--paper-muted: #56616c;
	--disabled-bg: var(--bg-2);
	--disabled-ink: var(--muted);
	--r-card: 22px;
	--r-in: 14px;
	--ease: cubic-bezier(.16, 1, .3, 1);
	--ease-io: cubic-bezier(.65, 0, .35, 1);
	--font-display: "Cabinet", "Switzer", system-ui, sans-serif;
	--f-display: var(--font-display);
	--f-num: "Switzer", system-ui, sans-serif;
	--f-body: "Switzer", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1240px;
	--gut: clamp(16px, 4vw, 40px);
	color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0e1419;
		--bg-2: #141c23;
		--surface: #18212a;
		--ink: #eceae5;
		--ink-2: #c9ccce;
		--muted: #9aa4ad;
		--line: rgba(236, 234, 229, .1);
		--line-2: rgba(236, 234, 229, .2);
		--accent-text: var(--accent);
		--accent-soft: rgba(232, 137, 42, .16);
		--ok: #59b97f;
		--err: #f2827b;
		--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 40px -12px rgba(0, 0, 0, .55);
		--shadow-lg: 0 2px 6px rgba(0, 0, 0, .35), 0 40px 90px -30px rgba(0, 0, 0, .7);
	}
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	overflow-x: clip; margin: 0; background: var(--bg); color: var(--ink);
	font: 400 17px/1.6 var(--f-body); letter-spacing: -.005em;
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
	font-feature-settings: "ss01" 0;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.num { font-family: var(--f-num); font-variant-numeric: tabular-nums; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(56px, 7vw, 104px); }
.section--tight { padding-block: clamp(44px, 5.5vw, 80px); }

h1, h2, h3, .display { font-family: var(--f-display); font-weight: 800; letter-spacing: -.025em; line-height: 1.02; margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(40px, 5.6vw, 76px); }
h2 { font-size: clamp(32px, 4vw, 54px); }
h3 { font-size: clamp(21px, 2vw, 26px); font-weight: 700; letter-spacing: -.015em; line-height: 1.15; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.muted { color: var(--muted); }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); margin: 1.6em 0 .5em; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--ink); text-decoration-color: var(--accent); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--muted); font-size: 13px; }
.prose tbody tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow); padding: 4px 6px; margin: 1.2em 0 1.6em; }
.table-scroll table { margin: 0; min-width: 520px; }

/* ---------- Buttons ---------- */
.btn {
	--h: 56px;
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: var(--h); padding: 0 8px 0 26px; border-radius: 999px; border: 0; cursor: pointer;
	font-weight: 600; font-size: 16.5px; letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
	transition: transform .5s var(--ease), background-color .3s var(--ease), box-shadow .5s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn__icon { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; transition: transform .6s var(--ease); }
.btn__icon svg { width: 18px; height: 18px; }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px var(--accent-glow), inset 0 1px 0 var(--highlight); }
.btn--primary .btn__icon { background: var(--accent-ink-soft); }
.btn--primary:hover { box-shadow: 0 16px 36px -12px var(--accent-glow-2), inset 0 1px 0 var(--highlight); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); padding: 0 24px; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--plain { padding: 0 22px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.btn--sm { --h: 44px; font-size: 15px; padding: 0 18px; }
.btn[disabled] { background: var(--disabled-bg); color: var(--disabled-ink); box-shadow: none; cursor: not-allowed; }
.btn[aria-busy="true"] { cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; padding-top: 12px; }
.site-head__bar {
	display: flex; align-items: center; gap: 20px; height: 64px; padding: 0 10px 0 18px;
	border-radius: 999px; background: color-mix(in srgb, var(--surface) 82%, transparent);
	backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
	box-shadow: 0 0 0 1px var(--line), 0 10px 30px -18px var(--bar-shadow);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand__mark { width: 30px; height: 30px; color: var(--accent); }
.brand__word { font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; line-height: 1; }
.brand__by { display: inline-flex; align-items: center; gap: 7px; padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--line-2); font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.brand__by img { height: 24px; width: auto; }
.logo-dark-only { display: none; }
@media (prefers-color-scheme: dark) { .logo-light-only { display: none; } .logo-dark-only { display: block; } }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background-color .3s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg-2); color: var(--ink); }
.head-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; padding: 0 6px; white-space: nowrap; }
.head-phone svg { width: 18px; height: 18px; color: var(--accent); }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 999px; border: 0; background: var(--bg-2); cursor: pointer; position: relative; margin-left: auto; }
.menu-btn span { position: absolute; left: 15px; width: 18px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .5s var(--ease); top: 23px; }
.menu-btn span:nth-child(1) { transform: translateY(-4px); } .menu-btn span:nth-child(2) { transform: translateY(4px); }
.menu-open .menu-btn span:nth-child(1) { transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 39; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); padding: 108px var(--gut) 40px; display: flex; flex-direction: column; gap: 6px; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.menu-open .mnav { opacity: 1; pointer-events: auto; }
.mnav a { font-family: var(--f-display); font-weight: 700; font-size: 32px; letter-spacing: -.02em; text-decoration: none; padding: 8px 0; transition: transform .7s var(--ease), opacity .7s var(--ease); }
.js .mnav a { transform: translateY(18px); opacity: 0; }
.menu-open .mnav a { transform: none; opacity: 1; }
.menu-open .mnav a:nth-child(2) { transition-delay: .04s; } .menu-open .mnav a:nth-child(3) { transition-delay: .08s; }
.menu-open .mnav a:nth-child(4) { transition-delay: .12s; } .menu-open .mnav a:nth-child(5) { transition-delay: .16s; } .menu-open .mnav a:nth-child(6) { transition-delay: .2s; }
.mnav .btn { margin-top: 18px; align-self: flex-start; }
.mnav__phone { margin-top: auto; color: var(--muted); font-size: 16px; }
@media (max-width: 1080px) { .nav, .head-phone span { display: none; } .menu-btn { display: block; } .head-phone { margin-left: auto; } .menu-btn { margin-left: 0; } }
@media (max-width: 560px) { .brand__by span { display: none; } .brand__by img { height: 20px; } .head-phone { display: none; } .menu-btn { margin-left: auto; } .site-head__bar { height: 58px; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 12em; font-size: clamp(40px, 5vw, 68px); }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.hero .lede { margin: 22px 0 30px; max-width: 30em; }
.hero__media { position: relative; }
.frame { padding: 7px; border-radius: calc(var(--r-card) + 7px); background: color-mix(in srgb, var(--surface) 60%, transparent); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); }
.frame > * { border-radius: var(--r-card); overflow: hidden; }
.hero__img { aspect-ratio: 5 / 6; position: relative; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
@keyframes scan { 0% { background-position: 0 -100%; } 70%, 100% { background-position: 0 120%; } }
.hero__note { position: absolute; left: -22px; bottom: 34px; max-width: 290px; padding: 16px 18px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-lg); font-size: 14.5px; line-height: 1.45; }
.hero__note strong { display: block; font-family: var(--f-display); font-size: 17px; letter-spacing: -.01em; margin-bottom: 2px; }
@media (max-width: 900px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__img { aspect-ratio: 4 / 3; }
	.hero__note { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* Address field (used in hero, CTA band, audience pages) */
.addr { position: relative; max-width: 560px; }
.addr__shell { display: flex; align-items: center; gap: 8px; padding: 7px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2), var(--shadow); transition: box-shadow .4s var(--ease); }
.addr__shell:focus-within { box-shadow: 0 0 0 2px var(--accent), var(--shadow-lg); }
.addr__pin { width: 22px; height: 22px; margin-left: 14px; flex-shrink: 0; color: var(--muted); }
.addr input { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; font-size: 17px; outline: none; padding: 0 4px; }
.addr input::placeholder { color: var(--muted); opacity: 1; }
.addr .btn { --h: 52px; }
.addr__hint { margin: 12px 4px 0; font-size: 14.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.addr__hint svg { width: 17px; height: 17px; color: var(--ok); flex-shrink: 0; }
.addr__list { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; list-style: none; margin: 0; padding: 6px; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); display: none; }
.addr__list.is-open { display: block; }
.addr__list li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; cursor: pointer; }
.addr__list li[aria-selected="true"], .addr__list li:hover { background: var(--bg-2); }
.addr__list svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.addr__list b { font-weight: 600; }
.addr__list small { color: var(--muted); font-size: 14px; margin-left: 4px; }
.addr__list .addr__google { justify-content: flex-end; padding: 6px 12px 4px; cursor: default; font-size: 11.5px; color: var(--muted); }
.addr__list .addr__google:hover { background: none; }
.addr__err { margin: 10px 6px 0; color: var(--err); font-size: 14.5px; font-weight: 500; }
@media (max-width: 560px) {
	.addr__shell { flex-wrap: wrap; border-radius: 26px; padding: 8px; }
	.addr__pin { display: none; }
	.addr input { height: 50px; padding: 0 12px; width: 100%; flex-basis: 100%; }
	.addr .btn { width: 100%; justify-content: space-between; }
}

/* ---------- Facts strip ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-block: 1px solid var(--line); }
.fact { padding: 26px 22px 26px 0; display: flex; gap: 14px; align-items: flex-start; }
.fact + .fact { padding-left: 22px; border-left: 1px solid var(--line); }
.fact svg { width: 26px; height: 26px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.fact b { display: block; font-weight: 600; font-size: 16px; line-height: 1.3; }
.fact span { font-size: 14.5px; color: var(--muted); line-height: 1.4; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } .fact:nth-child(3) { padding-left: 0; border-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .fact, .fact + .fact { padding: 18px 0; border-left: 0; } .fact + .fact { border-top: 1px solid var(--line); } }

/* ---------- Problem (editorial) ---------- */
.problem { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.problem > :first-child { position: sticky; top: 112px; }
.problem__big { font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -.028em; text-wrap: balance; margin: 0; }
.problem__big span { color: var(--muted); }
.problem__list { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.problem__list li { position: relative; padding: 18px 0 18px 46px; border-top: 1px solid var(--line); font-size: 17.5px; color: var(--ink-2); }
.problem__list li:last-child { border-bottom: 1px solid var(--line); }
.problem__list li::before { counter-increment: p; content: counter(p); position: absolute; left: 0; top: 18px; width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; font-size: 13px; font-weight: 600; background: var(--bg-2); color: var(--muted); }
.problem__turn { margin-top: 28px; font-size: 19px; font-weight: 500; color: var(--ink); }
@media (max-width: 900px) { .problem { grid-template-columns: 1fr; } .problem > :first-child { position: static; } }

/* ---------- How it works (sticky media + steps) ---------- */
.how { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); }
.how__media { position: sticky; top: 104px; align-self: start; }
.how__media .frame > div { aspect-ratio: 4 / 5; position: relative; }
.how__media img { width: 100%; height: 100%; object-fit: cover; }
.how__ring { position: absolute; left: 50%; top: 47%; width: 34%; aspect-ratio: 1; translate: -50% -50%; border-radius: 999px; box-shadow: 0 0 0 2px var(--accent), 0 0 0 9999px var(--ring-shadow); }
.how__ring::after { content: ""; position: absolute; inset: -14px; border-radius: inherit; border: 1.5px solid var(--accent-glow); animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { from { transform: scale(.86); opacity: 1; } to { transform: scale(1.28); opacity: 0; } }
.how__tag { position: absolute; left: 50%; top: calc(47% + 19%); translate: -50% 0; padding: 7px 14px; border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow); white-space: nowrap; }
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 24px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.step__n { width: 54px; height: 54px; border-radius: 999px; display: grid; place-items: center; background: var(--bg-2); }
.step__n svg { width: 24px; height: 24px; color: var(--ink); }
.step h3 { margin: 4px 0 6px; }
.step p { margin: 0; color: var(--ink-2); font-size: 16.5px; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr; } .how__media { position: relative; top: 0; } .how__media .frame > div { aspect-ratio: 4 / 3; } }

/* ---------- Materials rail ---------- */
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.rail-head .lede { margin: 14px 0 0; }
.rail-ctrl { display: flex; gap: 8px; }
.rail-ctrl button { width: 48px; height: 48px; border-radius: 999px; border: 0; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; display: grid; place-items: center; transition: box-shadow .3s var(--ease); }
.rail-ctrl button:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.rail-ctrl svg { width: 20px; height: 20px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut) 18px; margin: 0 calc(-1 * var(--gut)); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.mat { scroll-snap-align: start; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow: hidden; display: flex; flex-direction: column; }
.mat img { aspect-ratio: 1 / .8; object-fit: cover; width: 100%; }
.mat__body { padding: 18px 20px 22px; }
.mat__price { font-family: var(--f-display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.mat__price small { font-family: var(--f-body); font-weight: 500; font-size: 13.5px; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.mat h3 { font-size: 18px; margin: 2px 0 6px; }
.mat p { font-size: 15px; color: var(--muted); margin: 0; }
.rail-note { margin-top: 10px; font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .rail-ctrl { display: none; } .rail { grid-auto-columns: 78%; } }

/* ---------- Factors (what moves the price) ---------- */
.factors { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(0, auto); gap: 16px; margin-top: 40px; }
.factor { grid-column: span 3; padding: 26px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.factor--wide { grid-column: span 6; grid-row: span 2; padding: 0; overflow: hidden; }
.factor--wide img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.factor--wide > div { padding: 24px 26px 26px; }
.factor b { display: block; font-family: var(--f-display); font-size: 21px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 8px; }
.factor p { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.factor .k { align-self: flex-start; margin-top: auto; padding: 5px 11px; border-radius: 999px; background: var(--accent-soft); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.factor p + .k { margin-top: 14px; }
@media (max-width: 1000px) { .factor { grid-column: span 6; } .factor--wide { grid-column: span 12; grid-row: auto; display: grid; grid-template-columns: 1fr 1fr; } .factor--wide img { height: 100%; aspect-ratio: auto; } }
@media (max-width: 640px) { .factor, .factor--wide { grid-column: span 12; } .factor--wide { grid-template-columns: 1fr; } .factor--wide img { aspect-ratio: 3 / 2; } }

/* ---------- Regions bento ---------- */
.regions { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; margin-top: 40px; }
.region { position: relative; border-radius: var(--r-card); overflow: hidden; min-height: 300px; color: var(--on-dark); isolation: isolate; }
.region img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.region::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 11, 14, 0) 35%, var(--shade-2) 100%); /* gate:overlay */ }
.region:hover img { transform: scale(1.04); }
.region__body { position: absolute; left: 22px; right: 22px; bottom: 20px; }
.region__name { font-size: 14.5px; font-weight: 500; opacity: .9; }
.region__range { font-family: var(--f-display); font-weight: 800; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.02em; line-height: 1.1; }
.region__f { font-size: 13.5px; opacity: .85; }
.region--lead { grid-row: span 2; min-height: 620px; }
.regions__text { padding: 28px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.regions__text p { margin: 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 1000px) { .regions { grid-template-columns: 1fr 1fr; } .region--lead { grid-row: auto; grid-column: span 2; min-height: 380px; } }
@media (max-width: 600px) { .regions { grid-template-columns: 1fr; } .region--lead { grid-column: auto; min-height: 340px; } .region { min-height: 280px; } }

/* ---------- Trust ---------- */
.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 2px; }
.checks li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16.5px; }
.checks svg { width: 24px; height: 24px; color: var(--ok); margin-top: 1px; }
.checks b { font-weight: 600; }
.rms-card { padding: 7px; border-radius: calc(var(--r-card) + 7px); background: var(--bg-2); box-shadow: 0 0 0 1px var(--line); }
.rms-card__in { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 1px 0 var(--highlight); }
.rms-card__logo { height: 66px; width: auto; margin-bottom: 22px; }
.rms-card__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.rms-card__stats div { padding: 18px; border-radius: 16px; background: var(--bg); }
.rms-card__stats b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 34px; letter-spacing: -.03em; line-height: 1; }
.rms-card__stats span { font-size: 14px; color: var(--muted); }
.privacy-line { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--accent-soft); font-weight: 500; }
.privacy-line svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); margin-top: 1px; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr; } }

/* ---------- Compare ---------- */
.compare { margin-top: 40px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 13px; color: var(--muted); font-weight: 600; background: var(--bg-2); }
.compare thead th.us { color: var(--ink); background: var(--accent-soft); }
.compare td.us { background: color-mix(in srgb, var(--accent-soft) 55%, transparent); font-weight: 600; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare tbody th { font-weight: 500; color: var(--ink-2); width: 34%; }
.compare .yes, .compare .no { display: inline-flex; gap: 8px; align-items: center; }
.compare .yes svg { color: var(--ok); width: 20px; height: 20px; } .compare .no svg { color: var(--muted); width: 20px; height: 20px; }
@media (max-width: 760px) {
	.compare thead { display: none; }
	.compare tr { display: grid; grid-template-columns: 1fr 1fr 1fr; border-bottom: 1px solid var(--line); }
	.compare tbody th { grid-column: 1 / -1; width: auto; border: 0; padding: 18px 18px 6px; font-weight: 600; color: var(--ink); }
	.compare td { border: 0; padding: 4px 18px 18px; font-size: 14.5px; }
	.compare td::before { content: attr(data-l); display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
	.compare td.us { background: none; }
}

/* ---------- Storm band ---------- */
.storm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: calc(var(--r-card) + 6px); overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.storm img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.storm__body { padding: clamp(28px, 4vw, 56px); align-self: center; }
.storm__body p { color: var(--ink-2); }
@media (max-width: 860px) { .storm { grid-template-columns: 1fr; } .storm img { min-height: 0; aspect-ratio: 3 / 2; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 600; font-size: 18px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 999px; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M128 72v112M72 128h112' stroke='%2356616c' stroke-width='18' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 40px 24px 0; color: var(--ink-2); font-size: 16.5px; }
.faq__a p:last-child { margin: 0; }
.faq__aside { position: sticky; top: 112px; align-self: start; }
.faq__talk { margin-top: 28px; padding: 22px 24px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow); max-width: 380px; }
.faq__talk b { display: block; font-family: var(--f-display); font-size: 20px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 4px; }
.faq__talk p { margin: 0 0 16px; color: var(--ink-2); font-size: 15.5px; }
.faq__talk .btn svg { width: 18px; height: 18px; color: var(--accent); }
.faq__talk .link-arrow { margin-top: 16px; font-size: 15px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq__aside { position: static; } .faq__talk { display: none; } }

/* ---------- CTA band ---------- */
.cta { position: relative; border-radius: calc(var(--r-card) + 10px); overflow: hidden; isolation: isolate; padding: clamp(40px, 7vw, 96px) clamp(22px, 6vw, 80px); color: var(--on-dark); }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--shade-3) 0%, var(--shade-2) 48%, var(--shade-cta) 100%); /* gate:overlay */ }
.cta h2 { color: var(--on-dark); max-width: 12em; }
.cta p { color: var(--on-dark-3); max-width: 32em; margin: 16px 0 28px; font-size: 18px; }
.cta .addr__hint { color: var(--on-dark-2); }
.cta .addr__shell { background: var(--paper); color: var(--paper-ink); }
.cta .addr input::placeholder { color: var(--paper-muted); }

/* ---------- Footer ---------- */
.site-foot { margin-top: clamp(40px, 5vw, 64px); padding: clamp(48px, 6vw, 80px) 0 32px; background: var(--bg-2); border-top: 1px solid var(--line); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid .foot-h { margin: 0 0 14px; font-size: 13px; color: var(--muted); font-weight: 600; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid a { text-decoration: none; color: var(--ink-2); }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-brand p { color: var(--muted); max-width: 30em; margin: 14px 0; }
.foot-rms { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.foot-rms img { height: 44px; width: auto; }
.foot-rms span { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.foot-legal p { margin: 0; max-width: 70em; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Page hero (inner pages) ---------- */
.phero { padding: clamp(32px, 5vw, 72px) 0 clamp(40px, 5vw, 64px); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.phero h1 { font-size: clamp(38px, 5vw, 66px); max-width: 12em; }
.phero .lede { margin: 20px 0 28px; }
.phero__img { aspect-ratio: 4 / 3.2; }
.phero__img img { width: 100%; height: 100%; object-fit: cover; }
.phero--text .phero__grid { grid-template-columns: 1fr; }
@media (max-width: 900px) { .phero__grid { grid-template-columns: 1fr; } }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.answer { padding: 22px 24px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 18px; line-height: 1.55; max-width: 60ch; }
.answer b { font-weight: 650; }
.answer__k { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.card { padding: 26px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; }
.card svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 16px; }
@media (max-width: 760px) { .split-2 { grid-template-columns: 1fr; } }
.legal { padding: clamp(32px, 5vw, 64px) 0; }
.legal .prose { font-size: 16.5px; }
.legal h1 { font-size: clamp(36px, 4.4vw, 54px); margin-bottom: 10px; }

/* ---------- Thank-you ---------- */
.ty { padding: clamp(40px, 6vw, 96px) 0; }
.ty__card { max-width: 760px; }
.ty__range { margin: 26px 0; padding: 24px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.ty__range b { display: block; font-family: var(--f-display); font-size: clamp(34px, 5vw, 52px); letter-spacing: -.03em; line-height: 1.05; }
.timeline { list-style: none; margin: 30px 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding-bottom: 22px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 1.5px; background: var(--line-2); }
.timeline li:last-child::before { display: none; }
.timeline i { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: var(--bg-2); font-style: normal; font-weight: 700; font-size: 15px; }
.timeline li.done i { background: var(--ok); color: var(--on-dark); }
.timeline b { display: block; font-size: 17.5px; margin-top: 7px; }
.timeline span { color: var(--muted); font-size: 15.5px; }

/* ---------- Reveal on scroll (content visible by default, motion only when JS runs) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
	.js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
.link-arrow svg { width: 18px; height: 18px; }
a[href^="tel:"] { white-space: nowrap; }
.foot-policy { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }
.foot-policy a { color: var(--ink-2); text-decoration: none; }
.foot-policy a:hover { text-decoration: underline; }
.foot-policy + .foot-legal { margin-top: 18px; padding-top: 0; border-top: 0; }

/* ---------- Three doors ---------- */
.doors { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.door { position: relative; display: block; min-height: 230px; border: 0; padding: 0; border-radius: var(--r-card); overflow: hidden; color: var(--on-dark); text-align: left; text-decoration: none; cursor: pointer; isolation: isolate; font: inherit; }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.door::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--shade-0) 20%, var(--shade-2) 100%); /* gate:overlay */ }
.door:hover img { transform: scale(1.04); }
.door--main { grid-row: span 2; min-height: 480px; }
.door__body { position: absolute; left: 24px; right: 24px; bottom: 22px; display: grid; gap: 6px; }
.door__k { font-size: 13.5px; font-weight: 600; text-shadow: 0 1px 8px var(--shade-2); }
.door b { font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; line-height: 1.08; max-width: 16em; }
.door--main b { font-size: clamp(28px, 3vw, 42px); }
.door__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; font-size: 15px; color: var(--accent); }
.door__go svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.door:hover .door__go svg { transform: translateX(4px); }
@media (max-width: 800px) { .doors { grid-template-columns: 1fr; grid-template-rows: auto; } .door--main { grid-row: auto; min-height: 340px; } .door { min-height: 220px; } }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.founder__img { position: sticky; top: 104px; border-radius: calc(var(--r-card) + 8px); overflow: hidden; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line); }
.founder__img img { width: 100%; height: auto; display: block; }
.founder h1 { font-size: clamp(36px, 4.4vw, 58px); max-width: 13em; }
.founder .lede { margin: 14px 0 24px; font-weight: 500; }
.founder__story { font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.founder__sig { font-family: var(--f-display); font-weight: 700; font-size: 22px; color: var(--ink); margin-top: 26px; }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; } .founder__img { position: relative; top: 0; max-width: 420px; } }

/* ---------- Sourced stats + use cases ---------- */
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.stat { padding: 28px 28px 8px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(44px, 5vw, 68px); font-weight: 700; letter-spacing: -.045em; line-height: 1; color: var(--ink); }
.stat p { margin: 14px 0 10px; color: var(--ink-2); font-size: 16.5px; }
.stat a { font-size: 13.5px; color: var(--muted); }
@media (max-width: 860px) { .stats3 { grid-template-columns: 1fr; } .stat, .stat + .stat { padding: 22px 0; border-left: 0; } .stat + .stat { border-top: 1px solid var(--line); } }
.usecases { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; margin-top: 32px; }
.usecase { padding: 26px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.usecase:first-child { background: var(--ink); color: var(--bg); box-shadow: none; }
.usecase:first-child h3, .usecase:first-child p { color: var(--bg); }
.usecase:first-child p { opacity: .82; }
.usecase__k { display: inline-block; font-size: 13.5px; font-weight: 600; color: var(--accent-text); margin-bottom: 14px; }
.usecase h3 { margin-bottom: 10px; }
.usecase p { margin: 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 900px) { .usecases { grid-template-columns: 1fr; } }
.problem__list a, .checks a { color: var(--muted); font-size: 14px; }

/* ---------- Guides ---------- */
.guides { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.guide-card { display: flex; flex-direction: column; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow: hidden; text-decoration: none; transition: box-shadow .4s var(--ease), transform .6s var(--ease); }
.guide-card:hover { box-shadow: 0 0 0 1px var(--line-2), var(--shadow); transform: translateY(-2px); }
.guide-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.guide-card__body { padding: 22px 24px 26px; display: grid; gap: 10px; }
.guide-card h2 { font-size: clamp(22px, 2vw, 28px); line-height: 1.12; }
.guide-card p { margin: 0; color: var(--ink-2); font-size: 16px; }
.guide-card .link-arrow { justify-self: start; margin-top: 6px; }
.guide-card--lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
.guide-card--lead img { height: 100%; aspect-ratio: auto; min-height: 320px; }
.guide-card--lead .guide-card__body { align-content: center; padding: 32px; }
.guides > .guide-card:last-child:nth-child(even) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.2fr; }
.guides > .guide-card:last-child:nth-child(even) img { order: 2; height: 100%; aspect-ratio: auto; min-height: 280px; }
.guides > .guide-card:last-child:nth-child(even) .guide-card__body { align-content: center; padding: 32px; }
@media (max-width: 800px) { .guides { grid-template-columns: 1fr; } .guide-card--lead, .guides > .guide-card:last-child:nth-child(even) { grid-template-columns: 1fr; } .guides > .guide-card:last-child:nth-child(even) img { order: 0; min-height: 0; aspect-ratio: 16 / 9; } .guide-card--lead img { min-height: 0; aspect-ratio: 16 / 9; } }
.guide__head { padding: clamp(28px, 4vw, 56px) 0 28px; max-width: 920px; }
.guide__head h1 { font-size: clamp(34px, 4.4vw, 58px); }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 15px; color: var(--ink-2); }
.byline img { width: 48px; height: 48px; border-radius: 999px; object-fit: cover; object-position: top; background: var(--bg-2); }
.byline small { color: var(--muted); font-size: 13.5px; }
.guide__grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.guide__toc { position: sticky; top: 104px; font-size: 14.5px; }
.guide__toc ol { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; border-left: 1.5px solid var(--line-2); }
.guide__toc a { display: block; padding-left: 14px; color: var(--ink-2); text-decoration: none; }
.guide__toc a:hover { color: var(--ink); }
.guide__side-cta { padding: 18px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.guide__side-cta b { display: block; font-size: 16px; margin-bottom: 4px; }
.guide__side-cta p { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.guide__body { font-size: 18px; line-height: 1.7; max-width: 72ch; }
.guide__cover { margin: 0 0 28px; border-radius: var(--r-card); overflow: hidden; }
.guide__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.guide__body .answer { margin-bottom: 26px; }
.author-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 40px; padding: 22px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.author-box img { width: 72px; height: 72px; border-radius: 999px; object-fit: cover; object-position: top; background: var(--bg-2); flex-shrink: 0; }
.author-box b { font-size: 17px; }
.author-box p { margin: 4px 0 0; font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 980px) { .guide__grid { grid-template-columns: 1fr; } .guide__toc { position: relative; top: 0; } .guide__toc ol { display: none; } }

/* Thank-you, round 3: the email is the headline, the inspection ask is the one next step. */
.ty__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ty__sent > svg { width: 44px; height: 44px; color: var(--accent); margin-bottom: 14px; }
.ty__sent h1 { font-size: clamp(36px, 5vw, 62px); overflow-wrap: break-word; min-width: 0; }
.ty__sent .lede { margin: 18px 0 14px; overflow-wrap: anywhere; }
.ty__small { color: var(--muted); font-size: 15.5px; max-width: 34em; }
.tynext, .tydone { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 34px); }
.tynext h2, .tydone h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 0 0 8px; }
.tynext > div > p, .tydone p { color: var(--ink-2); margin: 0 0 14px; }
.tynext .fgrid { margin: 14px 0 0; }
.tynext .field[hidden], .tynext [hidden] { display: none; }
.tynext .vet { margin: 0 0 8px; display: grid; gap: 6px; }
.tynext__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tydone > svg { width: 36px; height: 36px; color: var(--ok); margin-bottom: 10px; }
.tydone:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 860px) { .ty__grid { grid-template-columns: minmax(0, 1fr); } .tynext__actions .btn { width: 100%; justify-content: space-between; } }

/* Cost guide, round 3. Four different shapes: split hero, price ladder, state map, ledger. */
.chero { padding: clamp(28px, 4vw, 56px) 0 0; }
.chero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.chero h1 { font-size: clamp(38px, 5.4vw, 72px); max-width: 11em; overflow-wrap: break-word; min-width: 0; }
.chero .lede { margin: 18px 0 24px; }
.chero__num { background: var(--stage-bg); color: var(--on-dark); border-radius: calc(var(--r-card) + 8px); padding: clamp(24px, 3.4vw, 44px); }
.chero__num p { margin: 0; color: var(--on-dark-2); font-size: 16px; }
.chero__num b { display: block; font-family: var(--f-num); font-weight: 700; font-size: clamp(34px, 4.2vw, 56px); letter-spacing: -.035em; line-height: 1.08; color: var(--accent); margin: 14px 0; }
.cnav { display: flex; gap: 6px; overflow-x: auto; padding-block: clamp(20px, 3vw, 36px); scrollbar-width: none; }
.cnav a { flex: none; padding: 10px 16px; border-radius: 999px; background: var(--bg-2); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; transition: background-color .2s; }
.cnav a:hover { background: var(--line-2); }
#materials, #states, #moves, #faq { scroll-margin-top: 88px; }

.cmat { padding-block: clamp(40px, 6vw, 88px); }
.cmat h2, .cstate h2 { max-width: 15em; }
.cmat .lede, .cstate .lede { margin-top: 12px; }
.ladder { list-style: none; margin: clamp(24px, 3vw, 44px) 0 0; padding: 0; }
.ladder__row { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr) minmax(0, 11em); gap: 20px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.ladder__row:last-child { border-bottom: 0; }
.ladder__name { font-weight: 600; font-size: 16px; }
.ladder__name small { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.ladder__track { display: block; height: 12px; border-radius: 999px; background: var(--bg-2); }
.ladder__track i { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.ladder__price { text-align: right; font-weight: 600; font-size: 16px; white-space: nowrap; }

.cstate { background: var(--surface); padding-block: clamp(48px, 7vw, 104px); }
.cstate__tool { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; margin-top: clamp(24px, 3vw, 40px); }
.smap { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; }
.smap__t { aspect-ratio: 1; min-width: 0; padding: 0; border: 0; border-radius: 8px; cursor: pointer; font: 600 clamp(10.5px, 1.05vw, 14px) var(--f-body); color: var(--ink); transition: transform .15s var(--ease); }
.smap__t--0 { background: color-mix(in srgb, var(--accent) 12%, var(--bg-2)); }
.smap__t--1 { background: color-mix(in srgb, var(--accent) 32%, var(--bg-2)); }
.smap__t--2 { background: color-mix(in srgb, var(--accent) 52%, var(--bg-2)); }
.smap__t--3 { background: color-mix(in srgb, var(--accent) 74%, var(--bg-2)); color: var(--accent-ink); }
.smap__t--4 { background: var(--accent); color: var(--accent-ink); }
.smap__t:hover { transform: scale(1.08); }
.smap__t[aria-pressed="true"] { background: var(--ink); color: var(--surface); transform: scale(1.08); }
.cstate__tool > :last-child { position: sticky; top: 112px; }
@media (max-width: 900px) { .cstate__tool > :last-child { position: static; } }
.readout__name { font-family: var(--f-display); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); margin: 0; }
.readout__range { display: block; font-family: var(--f-num); font-weight: 700; font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -.035em; line-height: 1.1; margin: 6px 0 8px; font-variant-numeric: tabular-nums; }
.readout__note { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.readout__pick { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cregions__h { margin: clamp(40px, 5vw, 72px) 0 10px; font-size: clamp(21px, 2vw, 26px); }
.cregions { width: 100%; border-collapse: collapse; }
.cregions thead th { text-align: left; font-size: 14px; font-weight: 500; color: var(--muted); padding: 8px 0; }
.cregions thead th:last-child, .cregions td { text-align: right; }
.cregions tbody th, .cregions td { padding: 13px 0; border-top: 1px solid var(--line); vertical-align: top; }
.cregions tbody th { text-align: left; font-weight: 400; padding-right: 20px; }
.cregions tbody th b { display: block; font-weight: 600; }
.cregions tbody th span { font-size: 14.5px; color: var(--muted); }
.cregions td { font-weight: 600; white-space: nowrap; }
.cnote { font-size: 14.5px; color: var(--muted); margin: 14px 0 0; }
.cnote a { color: var(--muted); }

.cmoves { padding-block: clamp(56px, 8vw, 112px); }
.cmoves__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.cmoves__head { position: sticky; top: 104px; }
.cmoves__head .lede { margin-top: 14px; }
.ledger { margin: 0; }
.ledger > div { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ledger > div:first-child { padding-top: 0; }
.ledger dt b { display: block; font-weight: 600; font-size: 17px; }
.ledger dt span { font-size: 15px; color: var(--muted); }
.ledger dd { margin: 0; font-family: var(--f-num); font-weight: 700; font-size: clamp(18px, 2vw, 24px); white-space: nowrap; text-align: right; }

@media (max-width: 900px) {
	.chero__grid, .cstate__tool, .cmoves__grid { grid-template-columns: minmax(0, 1fr); }
	.cmoves__head { position: static; }
	.ladder__row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
	.ladder__track { grid-column: 1 / -1; grid-row: 2; }
	.ladder__price { align-self: start; }
	.smap { gap: 3px; }
	.smap__t { border-radius: 6px; }
}
@media (max-width: 640px) {
	.cregions thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.cregions tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
	.cregions tbody th, .cregions tbody td { display: contents; border: 0; }
	.cregions tbody th b { grid-column: 1; grid-row: 1; }
	.cregions tbody th span { grid-column: 1 / -1; grid-row: 2; margin-top: 2px; }
	.cregions tbody td { font-weight: 600; }
	.ladder__row { padding: 10px 0; }
	.ladder__name small { display: none; }
	.ladder__name { font-size: 15px; }
	.ladder__price { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .smap__t { transition: none; } .smap__t:hover, .smap__t[aria-pressed="true"] { transform: none; } }

/* Doc pages, round 4: short answer in the hero, sticky contents rail, body in blocks. No long single column. */
.phero__grid--doc { align-items: end; }
.phero__grid--doc .answer { max-width: none; box-shadow: var(--shadow); }
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.doc__rail { position: sticky; top: 112px; font-size: 14.5px; }
.doc__rail ol { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; border-left: 1.5px solid var(--line-2); }
.doc__rail a { display: block; padding-left: 14px; color: var(--ink-2); text-decoration: none; }
.doc__rail a:hover { color: var(--ink); }
.doc__main > section + section { margin-top: clamp(48px, 6vw, 80px); }
.doc__main h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 14px; scroll-margin-top: 112px; }
.doc__main > section > p { max-width: 62ch; color: var(--ink-2); }
.doc__main .table-scroll { margin-bottom: 0; }
.msteps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; counter-reset: ms; }
.msteps li { position: relative; padding: 20px 22px 20px 64px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.msteps li::before { counter-increment: ms; content: counter(ms); position: absolute; left: 20px; top: 18px; width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; background: var(--bg-2); color: var(--ink); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.msteps b { display: block; color: var(--ink); font-size: 16.5px; margin-bottom: 2px; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.duo .card ul { margin: 10px 0 0; padding-left: 1.1em; color: var(--ink-2); font-size: 15.5px; }
.duo .card li { margin-bottom: 6px; }
.duo .card h3 { font-size: 21px; }
.srcs { list-style: none; margin: 0; padding: 0; }
.srcs li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.srcs li:last-child { border-bottom: 1px solid var(--line); }
.srcs b { display: block; color: var(--ink); font-weight: 600; }
.srcs a { color: var(--ink); text-decoration-color: var(--accent); }
.qa-rows { border-top: 1px solid var(--line); }
.qa-row { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(16px, 4vw, 64px); padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid var(--line); }
.qa-row h2 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
.qa-row p { margin: 0; color: var(--ink-2); font-size: 17px; max-width: 58ch; }
.qa-row p + p { margin-top: .8em; }
.qa-row a { text-decoration-color: var(--accent); }
@media (max-width: 980px) { .doc { grid-template-columns: minmax(0, 1fr); } .doc__rail { display: none; } }
@media (max-width: 760px) { .msteps, .duo, .qa-row { grid-template-columns: 1fr; } .qa-row { gap: 8px; } }
.doc__main .table-scroll.prose { max-width: none; }
.doc__rail .link-arrow, .faq__talk .link-arrow { white-space: nowrap; }

/* ---------- Round 5: storm wire, price pulse, field notes, legitimacy (DESIGN.md "Live data rules") ---------- */
.wire-strip { margin-top: 10px; }
.wire-strip__in { display: flex; align-items: center; gap: 14px; min-height: 40px; padding: 0 6px 0 18px; text-decoration: none; font-size: 14px; color: var(--ink-2); }
.wire-strip__date { font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wire-strip__k { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); white-space: nowrap; padding-left: 14px; border-left: 1px solid var(--line-2); }
.wire-strip__k svg { width: 17px; height: 17px; }
.wire-strip__msg { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wire-strip__src { margin-left: auto; color: var(--muted); white-space: nowrap; font-size: 13px; }
.wire-strip__go svg { width: 16px; height: 16px; }
.wire-strip__in:hover .wire-strip__msg { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .wire-strip__src { display: none; } .wire-strip__go { margin-left: auto; } }
@media (max-width: 560px) { .wire-strip__date { display: none; } .wire-strip__k { padding-left: 0; border-left: 0; } .wire-strip__in { padding: 0 4px; gap: 10px; font-size: 13.5px; } }

.wire-home__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.wire-home__side { position: sticky; top: 112px; }
.wire-home__stamp { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.wire-home__copy { margin: 22px 0 18px; color: var(--ink-2); max-width: 30em; }
.wire-home__fine { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.wire-home__fine a { color: inherit; }
.pulse { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 30px; padding: 18px 20px; border-radius: 18px; background: var(--bg-2); }
.pulse__n { font-family: var(--f-display); font-weight: 800; font-size: 40px; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.pulse p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.pulse p span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.pulse a { color: inherit; }
.wnotes { margin-top: 26px; }
.wnotes__h { margin: 0 0 6px; font-weight: 600; font-size: 15px; }
.wnotes__all { display: inline-block; margin-top: 6px; font-size: 14px; color: var(--muted); }
.wnote { padding: 14px 0; }
.wnote + .wnote { box-shadow: 0 -1px 0 var(--line); }
.wnote time { display: block; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.wnote__h { display: block; margin: 2px 0 4px; font: 700 17px/1.3 var(--f-body); letter-spacing: -.01em; }
.wnote p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.wnote .wnote__means { margin-top: 6px; }
.wnote__src { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.wnote__src a { color: inherit; }
.wmap-card { padding: clamp(20px, 2.6vw, 32px); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow); }
.wmap-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-bottom: 16px; }
.wmap-card__head b, .wmap-card__title { font: 700 17px/1.3 var(--f-body); letter-spacing: 0; margin: 0; }
.wmap-card__head span { font-size: 14px; color: var(--muted); }
.wmap { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; }
.wmap__t { aspect-ratio: 1; min-width: 0; display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px; font: 600 clamp(10px, 1vw, 13px) var(--f-body); color: var(--muted); }
button.wmap__t { cursor: pointer; transition: transform .15s var(--ease); }
button.wmap__t:hover { transform: scale(1.08); }
.wmap__t[aria-pressed="true"] { outline: 2.5px solid var(--accent); outline-offset: 1px; }
.wmap__t--0 { background: var(--bg); }
.wmap__t--1 { background: color-mix(in srgb, var(--ink) 14%, var(--bg)); color: var(--ink-2); }
.wmap__t--2 { background: color-mix(in srgb, var(--ink) 32%, var(--bg)); color: var(--ink); }
.wmap__t--3 { background: color-mix(in srgb, var(--ink) 58%, var(--bg)); color: var(--surface); }
.wmap__t--4 { background: var(--ink); color: var(--surface); }
.wmap__legend { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.wmap__legend i { width: 18px; height: 12px; border-radius: 4px; display: inline-block; }
.wlist__h { margin: 26px 0 4px; font-weight: 600; font-size: 15px; }
.wlist { list-style: none; margin: 0 0 18px; padding: 0; }
.wlist li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 12px 0; font-size: 15px; line-height: 1.45; }
.wlist li + li { box-shadow: 0 -1px 0 var(--line); }
.wlist li[hidden] { display: none; }
.wlist__t { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.wlist__b b { font-weight: 600; }
.wlist__c { display: block; color: var(--muted); font-size: 14px; }
.wire-page { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.wire-page .wmap-card { position: sticky; top: 112px; }
.wire-page__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wire-page__list .wlist { max-height: none; }
.warns ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.warns li { padding: 8px 0; }
.warns li + li { box-shadow: 0 -1px 0 var(--line); }
.answer__src { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
.notes-list { max-width: 760px; }
.notes-list__item + .notes-list__item { box-shadow: 0 -1px 0 var(--line); }
.notes-list .wnote__h { font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.02em; }
.notes-list .wnote p { font-size: 17px; }
@media (max-width: 900px) {
	.wire-home__grid { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
	.wire-home__side { display: contents; }
	.wire-home__side > * { grid-column: 1; }
	.wire-home__main { grid-row: 6; margin-top: 28px; }
	.wire-home .pulse { grid-row: 7; }
	.wire-home .wnotes { grid-row: 8; }
	.wire-page { grid-template-columns: minmax(0, 1fr); }
	.wire-page .wmap-card { position: static; }
}
@media (max-width: 560px) { .wmap { gap: 3px; } .wmap__t { border-radius: 5px; font-size: 9.5px; } .wlist li { grid-template-columns: minmax(0, 1fr); gap: 2px; } .wlist--home li:nth-child(n+4) { display: none; } }

.money { margin-top: 26px; padding: 18px 20px; border-radius: 18px; background: var(--bg-2); }
.money__h { margin: 0 0 4px; font-weight: 600; }
.money p:last-child { margin: 0; color: var(--ink-2); font-size: 16px; }
.founder-mini { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; margin: 4px 0 20px; text-decoration: none; }
.founder-mini img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.founder-mini > span { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.founder-mini b { display: block; color: var(--ink); }
.founder-mini__go { display: flex; width: fit-content; align-items: center; gap: 6px; margin-top: 4px; font-weight: 600; color: var(--ink); }
.founder-mini__go svg { width: 16px; height: 16px; }
.founder-mini:hover .founder-mini__go { text-decoration: underline; text-underline-offset: 3px; }
.checkus { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow); }
.checkus__h { margin: 0 0 18px; font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.02em; max-width: 22em; }
.checkus ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; }
.checkus li { padding: 14px 0; box-shadow: 0 -1px 0 var(--line); }
.checkus a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.checkus a svg { width: 16px; height: 16px; }
.checkus a:hover { text-decoration: underline; text-underline-offset: 3px; }
.checkus span { display: block; font-size: 15px; color: var(--muted); }
.savenum { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 20px; padding: 14px 18px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; max-width: 30em; }
.savenum svg { width: 22px; height: 22px; justify-self: center; color: var(--ink); }
.savenum span { font-size: 15px; color: var(--muted); line-height: 1.45; }
.savenum b { display: block; color: var(--ink); font-size: 16px; }
.chero__stamp { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.chero__num .pulse { margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { button.wmap__t { transition: none; } button.wmap__t:hover { transform: none; } }

.rms-card__check { margin-top: 18px; font-size: 15px; }
.wire-page [data-sw-clear][hidden] { display: none; }

/* ---------- Ask RoofClarity (phase 5): inline entry points only, side panel on desktop, bottom sheet on phone ---------- */
.ask-entry[hidden], .faq__ask[hidden], .ask [hidden] { display: none !important; }
.faq__talk .ask-entry { margin-left: 6px; }
.faq__ask { display: none; margin-top: 22px; padding: 18px 20px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow); align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.faq__ask p { margin: 0; font-weight: 600; }
@media (max-width: 900px) { .faq__ask:not([hidden]) { display: flex; } }
.mnav__ask { align-self: flex-start; margin-top: 10px; padding: 0; border: 0; background: none; font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--accent); cursor: pointer; }
.ask { position: fixed; inset: 0; z-index: 58; }
.ask[hidden] { display: none; }
.ask__scrim { position: absolute; inset: 0; background: var(--scrim); opacity: 0; transition: opacity .45s var(--ease); }
.ask.is-open .ask__scrim { opacity: 1; }
.ask__panel { position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(440px, calc(100% - 24px)); display: flex; flex-direction: column; background: var(--surface); color: var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-lg); overflow: hidden; transform: translateX(24px); opacity: 0; transition: transform .55s var(--ease), opacity .4s var(--ease); }
.ask.is-open .ask__panel { transform: none; opacity: 1; }
.ask__head { display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; padding: 22px 22px 14px; }
.ask__head h2 { font-size: 24px; margin: 0; }
.ask__head p { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); max-width: 30em; }
.ask__close { flex-shrink: 0; width: 42px; height: 42px; border-radius: 999px; border: 0; background: var(--bg-2); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.ask__close svg { width: 18px; height: 18px; }
.ask__view { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.ask__view[hidden] { display: none; }
.ask__log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px 22px 16px; display: flex; flex-direction: column; gap: 14px; }
.ask__log:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.msg p { margin: 0; font-size: 15.5px; line-height: 1.55; }
.msg--bot { padding-left: 14px; border-left: 2px solid var(--ink); color: var(--ink); max-width: 92%; }
.msg--bot a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.msg--me { align-self: flex-end; max-width: 85%; padding: 10px 15px; border-radius: 18px 18px 6px 18px; background: var(--bg-2); color: var(--ink); }
.msg--wait p { color: var(--muted); }
.msg--hand { padding: 14px 16px; border-radius: 16px; background: var(--bg); display: grid; gap: 10px; }
.msg--hand p { font-size: 14.5px; color: var(--ink-2); }
.msg--hand .row { display: flex; flex-wrap: wrap; gap: 8px; }
.ask__starters { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 22px 14px; }
.ask__starters[hidden] { display: none; }
.chip-q { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line-2); font: inherit; font-size: 14.5px; color: var(--ink); cursor: pointer; transition: box-shadow .3s var(--ease); }
.chip-q:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.ask__people { padding: 12px 22px; background: var(--bg); }
.ask__people-h { margin: 0 0 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.ask__people-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ask__people .btn--sm, .msg--hand .btn--sm { --h: 40px; font-size: 14px; padding: 0 14px; gap: 6px; }
.ask__people .btn--primary .btn__icon, .msg--hand .btn--primary .btn__icon { width: 28px; height: 28px; }
.ask__people .btn svg, .msg--hand .btn svg { width: 16px; height: 16px; }
.ask__form { display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 8px; align-items: end; padding: 14px 22px calc(16px + env(safe-area-inset-bottom)); }
.ask__form textarea { width: 100%; min-height: 48px; max-height: 140px; resize: none; padding: 12px 16px; border: 0; border-radius: 24px; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line-2); font: inherit; font-size: 16px; line-height: 1.4; color: var(--ink); }
.ask__form textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.ask__send { width: 48px; height: 48px; border-radius: 999px; border: 0; background: var(--ink); color: var(--bg); display: grid; place-items: center; cursor: pointer; }
.ask__send svg { width: 18px; height: 18px; }
.ask__send[disabled] { background: var(--bg-2); color: var(--muted); cursor: progress; }
.ask__note { grid-column: 1 / -1; margin: 0; font-size: 12.5px; color: var(--muted); }
.ask__cb, .ask__done { overflow-y: auto; overscroll-behavior: contain; padding: 4px 22px calc(22px + env(safe-area-inset-bottom)); display: grid; gap: 14px; align-content: start; }
.ask__cb h3, .ask__done h3 { font-size: 22px; margin: 4px 0 0; }
.ask__cb h3:focus { outline: none; }
.ask__lede { margin: -4px 0 0; color: var(--ink-2); font-size: 15px; }
.ask__back { justify-self: start; background: none; border: 0; border-bottom: 1.5px solid var(--accent); padding: 0 0 2px; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink); cursor: pointer; }
.ask__back svg, .ask__done .link-arrow svg { width: 15px; height: 15px; }
.ask__done .link-arrow { justify-self: start; background: none; border-top: 0; border-left: 0; border-right: 0; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.ask__topics { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ask .field.ask__topics { display: flex; flex-wrap: wrap; gap: 8px; }
.ask__topics legend { width: 100%; float: left;  font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.ask__topics label { position: relative; cursor: pointer; }
.ask__topics input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ask__topics span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 14.5px; transition: box-shadow .25s var(--ease), background-color .25s var(--ease); }
.ask__topics input:checked + span { background: var(--ink); color: var(--bg); box-shadow: none; }
.ask__topics input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.addr--inline { max-width: none; }
.addr--inline .addr__list { top: calc(100% - 22px); }
.field__hint { font-size: 13px; color: var(--muted); }
.opt-tag { font-weight: 400; color: var(--muted); }
.ask__cb .consent { margin: 0; }
.ask__cb .disclose { margin: 0; }
.ask__cb > .btn { justify-self: start; }
.ask__done:focus { outline: none; }
.ask__done p { margin: 0; color: var(--ink-2); }
.ask__done .savenum { margin-top: 0; }
@media (max-width: 700px) {
	.ask__panel { top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: min(88dvh, 100%); border-radius: var(--r-card) var(--r-card) 0 0; transform: translateY(32px); }
	.ask__head { padding: 18px 18px 10px; }
	.ask__head h2 { font-size: 22px; }
	.ask__log, .ask__starters, .ask__people, .ask__form, .ask__cb, .ask__done { padding-left: 18px; padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) { .ask__panel, .ask__scrim { transition: none; } }
body.ask-open { overflow: hidden; }

/* Ask pill: appears after the first screen, never over copy on phone (shows on pause or scroll up only) */
.ask-pill { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 50; display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 14px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); box-shadow: var(--shadow-lg); font: inherit; text-align: left; cursor: pointer; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.ask-pill[hidden] { display: none !important; }
.ask-pill.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.ask-pill svg { width: 26px; height: 26px; flex-shrink: 0; }
.ask-pill b { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.2; }
.ask-pill small { display: block; font-size: 12.5px; line-height: 1.3; opacity: .78; }
.ask-pill:hover { transform: translateY(-2px); }
.ask-pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 700px) {
	.ask-pill { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); padding: 9px 16px 9px 12px; gap: 9px; }
	.ask-pill small { display: none; }
	.ask-pill svg { width: 22px; height: 22px; }
	.has-ask-pill .site-foot { padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) { .ask-pill { transition: none; transform: none; } }
