/* nula7-6 (205): the second edition of nula7.com, the approved design of 206
   (design/2026-11-20-second-edition/pages/style.css and pages.css; DESIGN-home.md names every decision).
   Ivory by day, a warm night by dark, window gold the one lit action. The layout links only this file:
   the fonts and the tokens are imported, and pages.css is imported into the later layer "pages", so it keeps the
   drop's order (pages.css after style.css) although an @import has to come first. A saved look (205 PR 2) imports
   this file and overrides tokens unlayered. Same-origin files only; the CSP forbids inline style. */
@layer shell, pages;
@import url("/assets/fonts/figtree.css") layer(shell);
@import url("/assets/fonts/newsreader.css") layer(shell);
@import url("tokens.css") layer(shell);
@import url("pages.css") layer(pages);

@layer shell {
/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; } /* the sticky header never hides a focused field (WCAG 2.2 focus not obscured) */
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--fs-3)/1.6 var(--f-text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--surface); color: var(--text); padding: 12px 18px; border-radius: var(--r-s); box-shadow: var(--sh-2); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1232px; margin-inline: auto; padding-inline: 24px; }

/* ---------- type: Figtree for everything; Newsreader italic only for "own." and the builder's voice ---------- */
h1 { font-weight: 700; font-size: var(--fs-8); line-height: 1.02; letter-spacing: -.032em; text-wrap: balance; }
h1 em { font-family: var(--f-voice); font-style: italic; font-weight: 400; font-size: 1.1em; letter-spacing: -.01em; color: var(--accent); }
.sec-h { font-weight: 700; font-size: var(--fs-6); line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
.sec-h.big { font-size: var(--fs-7); letter-spacing: -.03em; }
h3 { font: 700 var(--fs-4)/1.3 var(--f-text); letter-spacing: -.01em; }
.big-p { font-size: var(--fs-4); line-height: 1.55; color: var(--text-2); max-width: 36em; }
.lede { font-size: var(--fs-4); line-height: 1.55; color: var(--text-2); max-width: 30em; }

/* ---------- buttons: window gold is the one lit action, in every world ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-pill);
  font: 600 var(--fs-2)/1.15 var(--f-text); letter-spacing: -.005em; text-decoration: none; cursor: pointer; border: 0; white-space: nowrap;
  transition: transform var(--dur-press) ease-out, background-color var(--dur-press) ease-out; -webkit-tap-highlight-color: transparent; }
.btn:hover { text-decoration: none; }
/* no double-tap zoom wait on the controls (pinch zoom stays) */
a[href], button, summary, label, .chip { touch-action: manipulation; }
.btn:active { transform: scale(.96); }
/* the one action: flat window gold, dark text, one soft low shadow */
.btn-primary { color: var(--on-action); background: var(--action); }
.btn-primary:hover { background: var(--action-hover); }
.btn-primary:active { background: var(--action-press); }
/* Home only: one gold button on the first screen. The header's button (and its copy in the Menu) is the tinted capsule
   until the hero form's gold button has left the screen; motion.js then adds .cta-lit. No JS, reduced motion or
   ?motion=off: it stays tinted. The other pages keep a gold header button. */
.home .site-head:not(.cta-lit) .btn-primary { color: var(--text); background: var(--fill); }
.home .site-head:not(.cta-lit) .btn-primary:hover { background: var(--fill-2); }
.home .site-head:not(.cta-lit) .btn-primary:active { background: var(--fill-3); }
.home .site-head.cta-anim .btn-primary { transition: transform var(--dur-press) ease-out, background-color var(--dur-state) ease-out, color var(--dur-state) ease-out; }
/* secondary: a tinted capsule, no border */
.btn-quiet { color: var(--text); background: var(--fill); }
.btn-quiet:hover { background: var(--fill-2); }
.btn-quiet:active { background: var(--fill-3); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: var(--fs-3); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; gap: 8px; }
.link-arrow::after { content: "→"; font-weight: 400; }

/* ---------- header (solid, so it never turns muddy over a dark band) ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 90%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 1px 0 var(--hair); }
.site-head { container: head / inline-size; }
.head-row { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { min-width: 0; flex: 0 1 auto; }
@container head (max-width: 359px) { .btn-head { display: none; } }
.brand { display: inline-flex; color: var(--text); border-radius: 6px; min-height: 44px; align-items: center; }
.wordmark { width: 108px; height: auto; overflow: visible; }
/* logo E (206, logo/NOTES.md): the dark tile and one gold figure, the same in both schemes; by night a hairline rim
   keeps the tile's edge; the letters follow the text colour */
.wm-letters { fill: currentColor; }
.wm-tile { fill: #1f1a15; }
.wm-figure { fill: #f2c35e; }
.wm-rim { fill: var(--hair); }
.nav { margin-left: auto; }
.nav-list { display: flex; gap: 8px; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-pill); color: var(--text); text-decoration: none; font-weight: 600; font-size: var(--fs-2); }
.nav-list a:hover { background: var(--fill); }
.head-actions { display: flex; align-items: center; gap: 8px; }
.menu { display: none; position: relative; }
.menu-btn { list-style: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 14px;
  border-radius: var(--r-pill); border: 0; background: var(--fill); font-weight: 600; cursor: pointer; transition: transform var(--dur-press) ease-out, background-color var(--dur-press) ease-out; }
.menu-btn:hover { background: var(--fill-2); }
.menu-btn:active { transform: scale(.97); }
.menu-btn::-webkit-details-marker { display: none; }
.menu-bars { width: 16px; height: 2px; background: currentColor; border-radius: 2px; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 32px)); padding: 10px; background: var(--surface); border-radius: var(--r-l); box-shadow: var(--sh-2); display: grid; gap: 8px; }
.menu-panel ul { display: grid; gap: 8px; }
.menu-panel a:not(.btn) { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-s); color: var(--text); text-decoration: none; font-weight: 600; }
.menu-panel a:not(.btn):hover { background: var(--fill); }

/* theme toggle: a round icon button, line icons (sun in light, moon in dark) */
.theme-toggle { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--fill); color: var(--text); cursor: pointer; display: inline-grid; place-items: center;
  transition: transform var(--dur-press) ease-out, background-color var(--dur-press) ease-out; }
.theme-toggle:hover { background: var(--fill-2); }
.theme-toggle:active { transform: scale(.94); }
.theme-toggle .ic { grid-area: 1 / 1; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: opacity var(--dur-state) ease-out, transform var(--dur-move) var(--ease); }
.theme-toggle .ic-moon { opacity: 0; transform: rotate(-30deg); }
.theme-toggle[aria-pressed="true"] .ic-sun { opacity: 0; transform: rotate(30deg); }
.theme-toggle[aria-pressed="true"] .ic-moon { opacity: 1; transform: none; }
html:not([data-theme]) .theme-toggle { display: none; }

/* ---------- labels ---------- */
.tag-example { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: var(--r-pill); font: 600 var(--fs-1)/1 var(--f-text); color: var(--on-action); background: #f6dc93; }
.soon { display: inline-flex; align-items: center; min-height: 26px; padding: 0 11px; margin-left: 10px; border-radius: var(--r-pill); font: 600 var(--fs-1)/1 var(--f-text);
  color: var(--accent-2); background: color-mix(in srgb, var(--teal) 16%, var(--surface)); vertical-align: 2px; }

/* ---------- hero: copy and box left, the workplace frame right, standing on the street line ---------- */
.hero { position: relative; padding: 32px 0 0; background: linear-gradient(180deg, var(--sky-1), var(--sky-2) 78%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); grid-template-areas: "head stage" "form stage"; column-gap: 48px; row-gap: 20px; }
.hero-head { grid-area: head; display: grid; gap: 16px; align-content: start; }
.hero-form { grid-area: form; padding-bottom: 36px; }
.facade { grid-area: stage; align-self: end; scroll-margin-top: 84px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 7px 14px 7px 12px; border-radius: var(--r-pill); background: var(--fill); font-weight: 600; font-size: var(--fs-2); line-height: 1.35; }
.eyebrow-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #e9b23e; }

.prompt { width: 100%; position: relative; }
.prompt-card { position: relative; display: grid; gap: 12px; background: var(--surface); border-radius: var(--r-l); padding: 14px; box-shadow: inset 0 0 0 1px var(--hair); }
.prompt textarea { display: block; width: 100%; min-height: 84px; resize: vertical; color: var(--text); font: 400 var(--fs-3)/1.45 var(--f-text); padding: 12px 14px; }
.prompt textarea::placeholder { color: var(--text-2); opacity: 1; }
.prompt textarea[aria-invalid="true"]::placeholder { color: transparent; }
.try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.try-label { font-weight: 700; color: var(--text-2); font-size: var(--fs-2); padding: 0 2px 0 4px; }
.chips { display: contents; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 13px 0 11px; border-radius: var(--r-pill); border: 0;
  background: var(--fill); color: var(--text); font: 600 var(--fs-1)/1 var(--f-text); cursor: pointer; transition: background-color var(--dur-state) ease-out, box-shadow var(--dur-state) ease-out, transform var(--dur-press) ease-out; -webkit-tap-highlight-color: transparent; }
.chip:hover { background: var(--fill-2); }
.chip:active { transform: scale(.97); }
.chip-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--w); box-shadow: 0 0 0 1px color-mix(in srgb, var(--text) 16%, transparent); transition: transform var(--dur-state) var(--ease); }
/* the pressed chip: filled with its world's soft tint and a 2 px ring, like a selected capsule */
.chip[aria-pressed="true"] { background: var(--w-chip); box-shadow: inset 0 0 0 2px var(--w-ring); }
.chip[aria-pressed="true"] .chip-dot { transform: scale(1.2); }
/* on a phone the example sits above the box: a short arrow on the pressed chip points to it (no scroll) */
/* the arrow sits in the chip's right padding, out of flow, so it never widens the chip or re-wraps the row (CLS) */
.chip { position: relative; }
.chip.cue::after { content: "↑" / ""; position: absolute; right: 3px; top: calc(50% - .5em); font-weight: 700; line-height: 1; animation: cue .9s var(--ease) 2; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
/* the box's label sits 4 px above it, like the e-mail label (the card's gap is 12 px) */
.prompt-label { margin-bottom: -8px; }
/* the e-mail row: label, then field and button side by side, then the field's own error right under it */
.prompt-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label ." "field send" "error error"; column-gap: 10px; row-gap: 4px; align-items: end; }
.field-mail { display: contents; }
.field-mail label { grid-area: label; }
.field-mail input { grid-area: field; }
.prompt-foot .btn-send { grid-area: send; }
.field-mail .field-error { grid-area: error; margin-top: 2px; }
.prompt-label, .field-mail label { font-size: var(--fs-1); font-weight: 600; color: var(--text-2); padding-left: 4px; }
/* fields: soft filled surfaces, a 1 px hairline (3:1, so the edge is findable), a clear ring only on focus and error */
.prompt textarea, input[type="email"], input[type="text"], select, .talk textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: var(--r-field); border: 1px solid var(--ctrl-line);
  background: color-mix(in srgb, var(--text) 4%, var(--surface)); color: var(--text); font: 400 var(--fs-3)/1.4 var(--f-text); transition: box-shadow var(--dur-state) ease-out, background-color var(--dur-state) ease-out; }
.prompt textarea { border-radius: 16px; font-size: var(--fs-3); }
.prompt textarea:focus-visible, input:focus-visible, select:focus-visible, .talk textarea:focus-visible { outline: none; background: var(--surface); box-shadow: 0 0 0 2px var(--focus), 0 0 0 5px color-mix(in srgb, var(--focus) 18%, transparent); }
[aria-invalid="true"] { border-color: var(--err) !important; box-shadow: 0 0 0 1px var(--err); }
.prompt textarea[aria-invalid="true"]:focus-visible, input[aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 2px var(--err), 0 0 0 5px color-mix(in srgb, var(--err) 18%, transparent); }
.btn-send[aria-busy="true"] { cursor: progress; background: var(--action-busy); }
.btn-send[aria-busy="true"] .btn-label { animation: busy 1s ease-in-out 3; }
@keyframes busy { 50% { opacity: .55; } }
.field-error { display: flex; gap: 8px; align-items: flex-start; margin: 6px 4px 4px; font-size: var(--fs-2); font-weight: 700; color: var(--err); }
.field-error::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: currentColor; }
.form-alert { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: var(--r-field); background: color-mix(in srgb, var(--err) 12%, var(--surface)); color: var(--err); font-weight: 700; font-size: var(--fs-2); }
.fa-dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex: none; }
.prompt-note { margin-top: 12px; padding-left: 6px; font-size: var(--fs-2); color: var(--text-2); }
.thanks { background: var(--surface); border-radius: var(--r-l); padding: 28px; box-shadow: inset 0 0 0 1px var(--hair); display: grid; gap: 10px; justify-items: start; }
.thanks[hidden] { display: none; }
.thanks-h { font-weight: 700; font-size: var(--fs-5); line-height: 1.05; letter-spacing: -.025em; }
.thanks p { color: var(--text-2); font-size: var(--fs-4); }
.thanks-mark { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--action); }
.thanks-mark::after { content: ""; position: absolute; left: 15px; top: 12px; width: 9px; height: 16px; border: solid var(--on-action); border-width: 0 3px 3px 0; border-radius: 1px; transform: rotate(45deg); }
.prompt.is-done .prompt-card, .prompt.is-done .prompt-note { display: none; }

/* ---------- the workplace frame: the site, the admin and the conversation side by side ---------- */
.facade { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 12px; padding: 14px; border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, #241b16, #1a1411);
  box-shadow: 0 1px 0 rgba(255,240,220,.08) inset, 0 40px 80px -40px rgba(30,15,5,.75), 0 0 0 1px #3a2e26; }
/* the cornice: the one place the frame takes a faint tint of the business being built */
.facade::before { content: ""; position: absolute; left: 14px; right: 14px; top: -6px; height: 6px; border-radius: 6px 6px 0 0;
  background: color-mix(in srgb, var(--w) 45%, #2f251f); transition: background-color var(--dur-reveal) var(--ease); }
.facade-units { display: grid; min-width: 0; }
.facade-units > .unit { grid-area: 1 / 1; }
.facade-units > .unit:not(.is-active) { visibility: hidden; }
.unit { min-width: 0; display: grid; gap: 10px; align-content: start; }
/* every world fills the same window: the site pane takes the spare height, so no world leaves an empty strip */
.facade-units .unit { grid-template-rows: auto 1fr auto; align-content: stretch; }
.facade .pane-site { display: flex; }
.facade .win-site { flex: 1; }
.sign { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 6px 0 14px; border-radius: var(--r-pill); background: #31261f; }
.sign-addr { flex: 1; min-width: 0; font: 600 14px/1 var(--f-text); color: #efe3cb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sign-addr::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--w); vertical-align: 0; box-shadow: 0 0 0 1.5px rgba(255,240,220,.35); }
/* a pane is a window in the frame: a deep reveal, then the lit glass */
.pane { position: relative; border-radius: var(--r-field); padding: 5px; background: #0e0a08; box-shadow: 0 0 0 1px #3a2e26; }
.win-site { display: flex; border-radius: 10px; overflow: hidden; container-type: inline-size; position: relative; }
.pane-admin { display: grid; gap: 8px; background: #fffbf2; color: #1c1512; border-radius: var(--r-field); box-shadow: 0 0 0 1px #3a2e26; padding: 14px 16px; }
.a-head { display: flex; align-items: center; gap: 8px; font: 700 15px/1.2 var(--f-text); }
.a-tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: var(--r-pill); background: var(--w-strong); color: var(--w-on); font-size: 14px; font-weight: 700; }
.pane-admin ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.pane-admin li { display: grid; padding: 6px 10px; border-radius: 10px; background: color-mix(in srgb, var(--w-soft) 55%, #f4ecdf); font-size: 14px; line-height: 1.35; }
.a-k { font-weight: 700; }
.a-v { color: #4f4036; }
.pane-admin li.edit { background: #fff; box-shadow: inset 0 0 0 1.5px var(--w-strong); }
.pane-admin li.edit .a-v { color: #1c1512; }
.pane-admin li.edit .a-v::after { content: ""; display: inline-block; width: 2px; height: 14px; margin-left: 2px; vertical-align: -2px; background: var(--w-strong); }
.pane-admin li.new .a-k::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--w-strong); margin-right: 6px; vertical-align: 1px; }
.pane-admin li.full .a-v { color: var(--w-strong); font-weight: 700; }
.pane-admin li.ready .a-v::after { content: " · Ready"; color: #1b6a61; font-weight: 700; }
.a-btn { justify-self: end; display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border-radius: var(--r-pill); background: var(--w-strong); color: var(--w-on); font-weight: 700; font-size: 14px; margin-top: -2px; }

/* the conversation: Nula7's own panel, never tinted */
.facade-chat { display: grid; align-content: start; gap: 10px; min-width: 0; padding: 12px; border-radius: var(--r-field); background: #16110e; box-shadow: inset 0 0 0 1px #3a2e26; }
.chat-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--text); }
.chat-head .tag-example { margin-left: auto; }
.chat-mark { width: 20px; height: 20px; border-radius: 6px; background: var(--action); flex: none; }
.chat { display: none; gap: 8px; }
.chat.is-active { display: grid; }
.b { display: grid; gap: 2px; max-width: 100%; }
.b .b-who { font-size: 14px; font-weight: 700; color: var(--text-2); padding: 0 2px; }
.b p { padding: 8px 12px; border-radius: 16px; font-size: 14px; line-height: 1.42; color: var(--text); }
.b.you .b-who { text-align: right; }
.b.you p { background: #3d2a1f; border-bottom-right-radius: 5px; }
.b.bot p { background: #29211c; border-bottom-left-radius: 3px; font-family: var(--f-voice); font-style: italic; font-size: 16.5px; line-height: 1.35; border-bottom-left-radius: 5px; }
.b.ready p { background: #173a35; box-shadow: inset 0 0 0 1px rgba(98,209,193,.4); }
.typing { display: inline-flex; gap: 5px; padding: 12px 14px !important; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-2); animation: dot .3s 2 alternate; }
.typing i:nth-child(2) { animation-delay: .1s; } .typing i:nth-child(3) { animation-delay: .2s; }
@keyframes dot { to { opacity: .3; } }
.caret { display: inline-block; width: 2px; height: 1.05em; vertical-align: -2px; margin-left: 1px; background: var(--lit); }

/* ---------- the mock sites: each business in its own colour world ---------- */
.m { --m-bg: #fff; --m-ink: #222; --m-muted: #555; --m-soft: #eee;
  flex: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-areas: "nav nav" "copy art" "tiles art"; grid-template-rows: auto 1fr auto;
  background: var(--m-bg); color: var(--m-ink); font-family: var(--f-text); }
.m-nav { grid-area: nav; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; }
.m-logo { font-weight: 800; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.m-links { font-size: 14px; color: var(--m-muted); white-space: nowrap; }
.m-copy { grid-area: copy; padding: 14px 16px 10px; display: grid; align-content: start; gap: 8px; }
.m-kicker { font-size: 14px; font-weight: 700; color: var(--w-strong); }
.m-h { font-size: 26px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.m-p { font-size: 15px; line-height: 1.45; color: var(--m-muted); }
.m-btn { justify-self: start; display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 10px; background: var(--w-strong); color: var(--w-on); font-weight: 800; font-size: 15px; }
.m-tiles { grid-area: tiles; display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 16px 16px; align-content: start; }
.m-tiles > span { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 10px; background: var(--m-soft); font-size: 14px; font-weight: 700; }
.m-art { grid-area: art; min-height: 140px; }

/* Copperline (Phoenix): brick and clay */
.m-chimney { --m-bg: #fbf1ea; --m-ink: #2a1a14; --m-muted: #5e4337; --m-soft: #f1d9cb; }
.m-chimney .m-nav { background: #2a1a14; color: #fbf1ea; }
.m-chimney .m-nav .m-links { color: #e6d3c6; }
.m-chimney .m-logo { text-transform: uppercase; letter-spacing: .12em; font-size: 15px; }
.m-chimney .m-logo i { width: 14px; height: 14px; border-radius: 4px; background: #e0704f; }
.m-chimney .m-btn { border-radius: 12px; }
.m-chimney .m-kicker { text-transform: uppercase; letter-spacing: .08em; }
.m-chimney .m-h { text-transform: uppercase; font-size: 25px; letter-spacing: .005em; font-weight: 900; }
.m-bricks { background: repeating-linear-gradient(0deg, #f1d9cb 0 3px, transparent 3px 24px), repeating-linear-gradient(90deg, #f1d9cb 0 3px, transparent 3px 48px), #b4472e; box-shadow: inset 6px 0 0 #2a1a14; }

/* Harlan & Oduya (Chicago): forest green and cream, set wide and quiet */
.m-law { --m-bg: #f5f1e4; --m-ink: #14271f; --m-muted: #3f5248; --m-soft: #dbe9df; }
.m-law .m-nav { box-shadow: inset 0 -2px 0 #1e4636; }
.m-law .m-logo { font-weight: 600; font-size: 17px; letter-spacing: .04em; }
.m-law .m-logo i { font-style: normal; color: #2f6b52; }
.m-law .m-kicker { text-transform: uppercase; letter-spacing: .14em; }
.m-law .m-h { font-weight: 600; font-size: 27px; letter-spacing: -.015em; }
.m-law .m-btn { border-radius: 6px; }
.m-law .m-tiles > span { border-radius: 6px; }
.m-mono { display: grid; place-items: center; background: #1e4636; }
.m-mono span { font: 300 50px/1 var(--f-text); letter-spacing: .04em; color: #f5f1e4; display: flex; align-items: baseline; }
.m-mono i { font-style: normal; color: #b9d7c4; }

/* Strong by Mara: a dark training app, coral */
.m-coach { --m-bg: #1f1a1c; --m-ink: #fbefe9; --m-muted: #d6c2ba; --m-soft: #2d2528; }
.m-coach .m-logo { letter-spacing: .14em; font-size: 15px; }
.m-coach .m-logo b { color: #ff7a62; }
.m-coach .m-kicker { color: #ff9a86; }
.m-avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #ff6a55; color: #1f1a1c; font-weight: 800; font-size: 14px; }
.m-coach .m-h { font-size: 24px; }
.m-plan { display: grid; gap: 5px; }
.m-plan span { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px; border-radius: 12px; background: #2d2528; font-size: 14px; font-weight: 600; }
.m-plan span::before { content: ""; width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 2px #8f7f86; }
.m-plan .done::before { background: #ff6a55; box-shadow: none; }
.m-plan .today { box-shadow: inset 3px 0 0 #ff6a55; background: #3a2f33; }
.m-msg { flex: 1; border-radius: var(--r-pill) !important; color: #d6c2ba; background: transparent !important; box-shadow: inset 0 0 0 1.5px #6e5e64; }
.m-bar { display: grid; align-content: center; gap: 10px; padding: 16px; background: #29222a; }
.m-bar span { font-size: 14px; font-weight: 700; color: #fbefe9; }
.m-bar i { height: 10px; border-radius: 5px; background: linear-gradient(90deg, #ff6a55 0 66%, #4a3e44 66%); }

/* Pecan & Pour (Austin): espresso and butter, a striped awning */
.m-cafe { --m-bg: #fbf1cf; --m-ink: #2b1a10; --m-muted: #5a4030; --m-soft: #3b2317; }
.m-cafe .m-nav { background: #3b2317; color: #f8ebc4; }
.m-cafe .m-nav .m-links { color: #ead9a8; }
.m-cafe .m-logo { font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.m-cafe .m-logo i { font-style: normal; color: #f2c45e; }
.m-cafe .m-kicker { color: #6b4128; }
.m-cafe .m-h { font-size: 27px; }
.m-cafe .m-btn, .m-cafe .m-tiles > span { border-radius: var(--r-pill); }
.m-slots { display: flex; flex-wrap: wrap; gap: 5px; }
.m-slots span { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border-radius: 16px; background: #f2dc95; font-size: 14px; font-weight: 700; }
.m-slots span:nth-child(2) { background: #3b2317; color: #f8ebc4; }
.m-slots .full { background: transparent; color: #5a4030; box-shadow: inset 0 0 0 1.5px #a98d63; }
.m-board > span { color: #f8ebc4; }
.m-awning { background:
  radial-gradient(circle at 11px 0, #3b2317 0 11px, transparent 11.5px) 0 52px / 44px 12px repeat-x,
  radial-gradient(circle at 33px 0, #f2c45e 0 11px, transparent 11.5px) 0 52px / 44px 12px repeat-x,
  repeating-linear-gradient(90deg, #3b2317 0 22px, #f2c45e 22px 44px) 0 0 / 100% 52px no-repeat,
  #f2dc95; }

/* Ridgeline Print · Team: olive and lime, columns of work */
.m-team { --m-bg: #f2f6e6; --m-ink: #1b2410; --m-muted: #47533a; --m-soft: #fff; grid-template-areas: "nav nav" "copy copy" "tiles tiles"; }
.m-team .m-nav { background: #1b2410; color: #f2f6e6; }
.m-team .m-nav .m-links { color: #dde6c8; }
.m-team .m-logo i { width: 12px; height: 12px; border-radius: 3px; background: #c8f25c; }
.m-kanban { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px 16px 16px; }
.m-kanban .col { display: grid; gap: 6px; align-content: start; padding: 8px; border-radius: 12px; background: #e1eac6; }
.m-kanban b { font-size: 14px; }
.m-kanban .col > span { display: block; padding: 7px 9px; border-radius: 8px; background: #fff; font-size: 14px; font-weight: 600; line-height: 1.3; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.m-kanban .col:first-child > span:first-of-type { box-shadow: inset 3px 0 0 #3e5a0c, 0 1px 1px rgba(0,0,0,.08); }
.m-kanban .col:last-child > span { box-shadow: inset 3px 0 0 #8fbf1f, 0 1px 1px rgba(0,0,0,.08); }

/* Rise Street (Denver): blush pink and berry, round buns */
.m-bakery { --m-bg: #fbe4ea; --m-ink: #3d1422; --m-muted: #6e3347; --m-soft: #fff5f7; grid-template-areas: "nav nav" "copy copy" "tiles tiles"; }
.m-bakery .m-logo { font-weight: 800; font-size: 20px; letter-spacing: .01em; color: #9e3552; }
.m-bakery .m-h { font-size: 28px; }
.m-bakery .m-btn { border-radius: var(--r-pill); }
.m-shop > span { border-radius: 14px !important; }
.m-shop { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.m-shop > span { flex-direction: column; align-items: flex-start !important; gap: 6px; padding: 8px !important; line-height: 1.25; }
.bun { width: 100%; height: 52px; border-radius: 10px; background: radial-gradient(ellipse 34% 40% at 50% 55%, #c98a4b 0 92%, transparent 95%), #f6cdd8; }
.bun.b2 { background: radial-gradient(circle at 50% 55%, #d9a462 0 30%, #b8743c 31% 42%, transparent 44%), #f6cdd8; }
.bun.b3 { background: radial-gradient(ellipse 38% 34% at 50% 55%, #7b4a2e 0 92%, transparent 95%), #f6cdd8; }

@container (max-width: 520px) {
  .m { grid-template-columns: 1fr; grid-template-areas: "nav" "copy" "tiles" "art"; grid-template-rows: auto; }
  .m-links { display: none; }
  .m-art { min-height: 56px; height: 56px; }
  .m-mono span { font-size: 32px; }
  .m-bar { padding: 12px 16px; }
  .m-kanban { grid-template-columns: 1fr 1fr; }
  .m-kanban .col:last-child { grid-column: 1 / -1; }
  .facade .m { grid-template-rows: auto auto auto minmax(56px, 1fr); }
  .facade .m-art { height: auto; }
  .facade .m-team { grid-template-areas: "nav" "copy"; grid-template-rows: auto 1fr; }
  .facade .m-bakery { grid-template-areas: "nav" "copy" "tiles"; grid-template-rows: auto auto 1fr; }
}

/* ---------- facts + pay: the street the frame stands on ---------- */
.facts { position: relative; padding: var(--sp-7) 0 var(--sec-pad); background: var(--bg-2); }
.facts-list { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.facts-list li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); background: var(--surface); font-weight: 600; font-size: var(--fs-2); }
.facts-list li:last-child { background: transparent; box-shadow: none; padding-left: 8px; }
.fact-lamp { width: 8px; height: 8px; border-radius: 50%; background: #e9b23e; }
/* a one-line centred statement with its sentence under it */
.pay { padding: var(--sp-9) 0 0; display: grid; gap: var(--sp-3); justify-items: center; text-align: center; }
.pay-h { font-weight: 700; font-size: var(--fs-6); line-height: 1.1; letter-spacing: -.028em; text-wrap: balance; }
.pay p { font-size: var(--fs-4); color: var(--text-2); }

/* ---------- sections ---------- */
.sec { position: relative; padding: var(--sec-pad) 0; }
.sec .sec-h + * { margin-top: var(--sec-head); }
/* section rhythm by surface: ivory, warm grey (--bg-2), the dark bands; no lines between sections */
.any, .safe, .found, .bring { background: var(--bg-2); }
.own .sec-h { text-align: center; } /* "Not rented. Yours." as one centred line */

/* who it's for: one small real scene per audience (Daylight), drawn in the Dusk palette */
/* one row of five equal cards at full width: title, sentence, link, then the scene as a small glimpse at the bottom */
/* six equal cards, 3 + 3 (six in a row would be 184 px wide at 1280: too narrow for the scenes and the links) */
.who-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: var(--sp-4); }
.who-card { display: flex; flex-direction: column; gap: var(--sp-5); padding: var(--sp-5) var(--sp-4) var(--sp-4); border-radius: var(--r-m); background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair); }
.who-text { display: grid; gap: var(--sp-2); justify-items: start; align-content: start; padding: 0 var(--sp-1); }
.who-text .link-arrow { display: block; min-height: 44px; padding: 10px 0; margin-top: var(--sp-1); line-height: 1.4; } /* the arrow follows the last word when the link wraps */
.who-text .link-arrow::after { margin-left: 6px; }
.who-card .gl { margin-top: auto; flex: none; height: 136px; }
.who-text p { color: var(--text-2); }
.gl { position: relative; height: 160px; border-radius: 14px; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 16%, var(--surface-2)), var(--surface-2)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 7%, transparent); }
.gl-card { position: relative; display: grid; gap: 4px; padding: 12px 14px; border-radius: 16px; background: #fffbf2; color: #1c1512; font-size: var(--fs-1); line-height: 1.3; box-shadow: 0 1px 2px rgba(40,25,10,.12), 0 14px 26px -14px rgba(40,25,10,.45); }
.gl-card b { font-size: var(--fs-2); font-weight: 700; }
.gl-pill { justify-self: start; padding: 2px 10px; border-radius: var(--r-pill); font-weight: 700; font-size: var(--fs-1); }
.gl-ok { background: #dcefe8; color: #1b5a52; }
.gl-shop .gl-front { width: 186px; transform: rotate(-2deg) translate(-12px, 8px); }
.gl-shop .gl-back { position: absolute; width: 168px; height: 92px; transform: rotate(4deg) translate(46px, -18px); gap: 8px; padding-top: 18px; }
.gl-back i, .gl-site i { display: block; height: 8px; border-radius: 4px; background: #eadfcd; }
.gl-back i.s, .gl-site i.s { width: 60%; }
.gl-launch .gl-card { grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; width: min(250px, 88%); }
.gl-addr { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gl-switch { grid-row: span 2; width: 46px; height: 28px; border-radius: 999px; background: #1b6a61; position: relative; }
.gl-switch i { position: absolute; right: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.gl-login .gl-card { width: 186px; justify-items: start; gap: 6px; padding: 10px 14px; }
.gl-ava { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--action); color: var(--on-action); font-weight: 800; font-size: var(--fs-1); }
.gl-field { width: 100%; height: 28px; border-radius: 10px; box-shadow: inset 0 0 0 1px #8f7b68; background: #f6f1e8; }
.gl-btn { padding: 5px 16px; border-radius: var(--r-pill); background: #1c1512; color: #fffbf2; font-weight: 700; font-size: var(--fs-1); }
.gl-site { position: absolute; width: 104px; height: 80px; padding: 28px 10px 10px; border-radius: 12px; background: #fffbf2; box-shadow: 0 12px 22px -12px rgba(40,25,10,.5); display: grid; gap: 6px; align-content: start; overflow: hidden; }
.gl-site::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px; background: var(--w-strong); }
.gs1 { transform: translateX(-48px) rotate(-9deg); --w-strong: #1e4636; }
.gs2 { transform: translateY(-8px); z-index: 1; --w-strong: #9e3552; }
.gs3 { transform: translateX(48px) rotate(9deg); --w-strong: #3b2317; }
/* marketers: a landing page with its sign-up form and a modest visits count, labelled Example */
.gl-mkt .gl-card { width: min(220px, 88%); gap: 6px; justify-items: start; }
.gl-mkt-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; }
.gl-mkt .tag-example { min-height: 20px; padding: 0 8px; }
.gl-visits { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #4f4036; }
.gl-visits i { width: 7px; height: 7px; border-radius: 50%; background: #1b6a61; }
.gl-host .gl-card { grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; width: min(214px, 88%); }
.gl-logo { width: 32px; height: 32px; border-radius: 10px; background: var(--action); box-shadow: inset 0 0 0 9px #1c1512; }
.gl-rack { grid-column: 1 / -1; display: grid; gap: 5px; margin-top: 6px; }
.gl-rack i { display: block; height: 14px; border-radius: var(--r-pill); background: #f2eadc; box-shadow: inset 0 0 0 1px #e0d3bf; position: relative; }
.gl-rack i::before { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 6px; border-radius: 50%; background: #1b6a61; }

.any-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; }
.any .sec-h + * { margin-top: 0; }
.any-p { font-size: var(--fs-4); line-height: 1.55; color: var(--text-2); }

/* the street of examples: a dark band, each window in its business's colours */
.street { background: linear-gradient(180deg, #1c1511, #110d0b); }
.street-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px 32px; margin-top: 44px; }
.house { display: grid; gap: 20px; align-content: start; }
.unit-street { position: relative; padding: 12px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #241b16, #1a1411); box-shadow: 0 1px 0 rgba(255,240,220,.08) inset, 0 30px 60px -36px rgba(0,0,0,.8); }
.unit-street::before { content: ""; position: absolute; left: -6px; right: -6px; top: -7px; height: 7px; border-radius: 4px 4px 0 0; background: color-mix(in srgb, var(--w) 38%, #2f251f); }
.house-text { display: grid; gap: 6px; max-width: 34em; }
.house-text p { color: var(--text-2); }

/* how: the steps beside a drawn builder (no old screenshot) */
.how-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.steps { display: grid; gap: 4px; margin-top: 32px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 12px 0; }
.steps p { color: var(--text-2); }
.step-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 var(--fs-4)/1 var(--f-text); background: color-mix(in srgb, var(--gold) 30%, var(--surface)); }
.builder { display: grid; gap: 10px; padding: 12px; border-radius: var(--r-m); background: linear-gradient(180deg, #241b16, #1a1411); box-shadow: 0 0 0 1px rgba(0,0,0,.35), var(--sh-2); }
.builder-bar { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 5px 0 10px; border-radius: var(--r-pill); background: #31261f; }
.builder-addr { flex: 1; min-width: 0; font: 600 var(--fs-1)/1 var(--f-text); color: #efe3cb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.builder-pub { display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border-radius: var(--r-pill); background: var(--action); color: var(--on-action); font-weight: 700; font-size: var(--fs-1); }
.builder-body { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 10px; align-items: start; }
.how-grid > *, .builder > *, .builder-body > *, .street-grid > *, .house > *, .unit > *, .hero-grid > *, .facade > *, .who-grid > * { min-width: 0; } /* reflow at 320 px and 200 % zoom: the drawn windows may shrink */
.builder-chat { display: grid; gap: 8px; padding: 12px; border-radius: var(--r-field); background: #16110e; box-shadow: inset 0 0 0 1px #3a2e26; align-self: stretch; align-content: start; }

/* own */
.own { background: var(--bg-2); }
.own-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.own-card { display: grid; gap: 8px; align-content: start; padding: 0 0 24px; border-radius: var(--r-m); overflow: hidden; background: var(--surface); box-shadow: var(--sh-2); }
.own-card h3, .own-card p { padding: 0 24px; }
.own-card p { color: var(--text-2); }
.own-art { display: block; padding: 20px 20px 4px; margin-bottom: 10px; background: var(--surface-2); box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--text) 8%, transparent); }
.own-ill { width: 100%; height: auto; max-height: 150px; }

/* checked */
.checked-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
.checked-art { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.chk { width: 100%; height: auto; padding: 10px; border-radius: var(--r-m); background: var(--surface); box-shadow: var(--sh-1); }
.chk-tick { stroke: #fff; }
.checked .big-p { margin-top: 20px; }

/* safe */
.safe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.safe-grid li { display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; align-content: start; padding: 22px; border-radius: var(--r-m); background: var(--surface); box-shadow: var(--sh-1); }
.safe-grid li > :not(.safe-art) { grid-column: 2; }
.safe-grid p { color: var(--text-2); }
.safe-art { grid-row: span 2; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--surface-2); }
.st-ink, .tick-ink { stroke: #2a201a; }

/* law */
/* law: ivory (between the grey "Safe." and "Found" bands) */
.law-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: center; }
.law .big-p { margin-top: 20px; }
/* proof: the cookie banner a site goes live with, drawn as a card */
.proof-cookie { margin-top: var(--sp-6); max-width: 480px; }
.cookie-card { display: grid; gap: 12px; padding: 16px 16px 14px; border-radius: var(--r-m); background: #fffbf2; color: #1c1512; box-shadow: 0 1px 2px rgba(40,25,10,.12), 0 18px 36px -20px rgba(40,25,10,.5); }
.cookie-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; font-size: var(--fs-2); }
.cookie-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: var(--fs-1); font-weight: 700; }
.ck-btn { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: var(--r-pill); }
.ck-accept { background: #1c1512; color: #fffbf2; }
.ck-only { box-shadow: inset 0 0 0 1.5px #8f7b68; color: #1c1512; }
.ck-link { color: #7c4a12; text-decoration: underline; text-underline-offset: 3px; }
.papers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.paper { padding: 16px; border-radius: var(--r-m); background: var(--surface); box-shadow: var(--sh-2); display: grid; gap: 12px; }
.paper-t::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #e9b23e; vertical-align: 2px; }
.paper svg { width: 100%; height: 36px; }
.paper-t { font: 700 var(--fs-2)/1.2 var(--f-text); }

/* found */
.found-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.found-col { display: grid; gap: 18px; align-content: start; padding: 24px; border-radius: var(--r-m); background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair); }
.found-col p { color: var(--text-2); font-size: var(--fs-3); }
.found-col.dim { background: var(--surface-2); box-shadow: var(--sh-1); }
.found-art { display: block; }
.found-ill { width: 100%; max-width: 300px; }
/* proof: the llms.txt of the chimney example, as a small dark file */
.proof-llms { display: grid; gap: 0; border-radius: var(--r-field); overflow: hidden; background: #16110e; box-shadow: inset 0 0 0 1px #3a2e26; }
.proof-bar { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; background: #241b16; }
.proof-file { flex: 1; min-width: 0; font: 600 var(--fs-1)/1.3 var(--f-mono); color: #cdbfae; overflow-wrap: break-word; }
.llms-txt { margin: 0; padding: 12px 14px 14px; font: 400 var(--fs-1)/1.6 var(--f-mono); color: #efe3cb; white-space: pre-wrap; overflow-wrap: anywhere; }
.spin-ring { stroke: var(--ctrl-line); }

/* can */
.can-list { columns: 2; column-gap: 48px; }
.can-list li { break-inside: avoid; display: flex; gap: 12px; align-items: baseline; padding: 12px 0; font-size: var(--fs-3); box-shadow: 0 1px 0 color-mix(in srgb, var(--text) 9%, transparent); }
.lamp-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #e9b23e; transform: translateY(-1px); }

/* week */
.week { background: var(--bg-2); }
.week-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: center; }
.week .big-p { margin-top: 20px; }
.week-art { display: block; max-width: 380px; }
.week-ill { width: 100%; height: auto; }

/* compare (Dusk's table: the Nula7 column lit, one compact grid per question on a phone) */
.cmp-wrap { margin-top: var(--sec-head); }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-2); }
/* hairlines only; the Nula7 column is a warm band of the page surface with a gold top rule */
.cmp { --band: color-mix(in srgb, var(--gold) 14%, var(--surface)); }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hair); }
.cmp thead th { font: 700 var(--fs-2)/1.3 var(--f-text); color: var(--text-2); padding-bottom: 14px; }
.cmp thead th.cmp-us { color: var(--text); background: var(--band); box-shadow: inset 0 3px 0 #e9b23e; font: 700 var(--fs-4)/1.3 var(--f-text); letter-spacing: -.01em; }
.cmp tbody th { font-weight: 700; width: 32%; }
.cmp td { color: var(--text-2); }
.cmp td.cmp-us { color: var(--text); font-weight: 700; background: var(--band); }
/* a small check before each "Yes" (decorative; the word carries the meaning) */
.cmp-yes::before { content: ""; display: inline-block; width: 5px; height: 10px; margin: 0 10px 0 2px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }

/* bring */
.bring-row { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 30px 32px; border-radius: var(--r-m); background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair); }
.bring-row .sec-h { font-size: var(--fs-5); }
.bring-row .sec-h + * { margin-top: 0; }
.bring-row p { color: var(--text-2); font-size: var(--fs-4); }

/* partners band: dark, with the builder under the partner's own name */
.partners { background: linear-gradient(180deg, #1c1511, #120e0b); }
/* one centred column: the invitation, then the partner list under it */
.partners-in { display: grid; gap: var(--sp-7); justify-items: center; text-align: center; }
.partners-copy { max-width: 760px; justify-items: center; }
.partners .btn-row { justify-content: center; }
.yours { text-align: left; }
.partners .sec-h + * { margin-top: 0; }
.partners-copy { display: grid; gap: 20px; }
.partners .btn-row { margin-top: 4px; }
.yours { width: min(100%, 640px); display: grid; gap: 10px; padding: 12px; border-radius: 18px; background: linear-gradient(180deg, #241b16, #1a1411); box-shadow: 0 0 0 1px rgba(0,0,0,.35), 0 30px 60px -30px rgba(0,0,0,.8); }
.yours-bar { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px 0 10px; border-radius: 12px; background: #fffbf2; color: #1c1512; }
.yours-logo { width: 26px; height: 26px; border-radius: 8px; background: repeating-linear-gradient(135deg, #cdbda4 0 4px, #e7dccb 4px 8px); box-shadow: inset 0 0 0 1.5px #8f7b68; }
.yours-name { flex: 1; min-width: 0; font-weight: 700; font-size: var(--fs-2); }
.yours-sub { font-weight: 600; font-size: var(--fs-1); color: #55473c; margin-left: 6px; }
.yours-foot { padding: 4px 14px 2px; font-size: var(--fs-1); font-weight: 600; color: #cdbfae; }
.yours-list { display: grid; gap: 6px; }
.yours-list li { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px 0 14px; border-radius: 12px; background: #2a211b; color: #efe3cb; font-weight: 600; font-size: var(--fs-1); }
.yd { width: 10px; height: 10px; border-radius: 50%; background: var(--w); flex: none; }
.ys { margin-left: auto; padding: 3px 10px; border-radius: var(--r-pill); background: #173a35; color: #9fe6da; font-weight: 700; font-size: var(--fs-1); }
.ys-prev { background: #3a2e26; color: #efe3cb; }

/* doors */
.doors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.door { position: relative; display: grid; gap: 8px; align-content: start; justify-items: start; padding: 96px 24px 24px; border-radius: var(--r-m); background: var(--surface); box-shadow: var(--sh-2); overflow: hidden; }
.door p { color: var(--text-2); margin-bottom: 8px; }
.door-light { position: absolute; left: 24px; right: 24px; top: 20px; height: 56px; border-radius: 14px; background: linear-gradient(180deg, #f7d27a, var(--action)); }

/* faq */
.faq { background: var(--bg-2); }
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; align-items: start; }
.faq .sec-h + * { margin-top: 0; }
.faq-list { display: grid; gap: 8px; }
.qa { border-radius: var(--r-m); background: var(--surface); box-shadow: var(--sh-1); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 18px; cursor: pointer; font-weight: 700; font-size: var(--fs-3); border-radius: var(--r-m); }
.qa summary::-webkit-details-marker { display: none; }
.qa-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; position: relative; background: var(--fill); transition: background-color var(--dur-state) ease-out; }
.qa-icon::before, .qa-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--text); transform: translate(-50%, -50%); transition: transform var(--dur-move) var(--ease); }
.qa-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa-icon { background: var(--action); }
.qa[open] .qa-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa[open] .qa-icon::before, .qa[open] .qa-icon::after { background: var(--on-action); }
.qa p { padding: 0 18px 18px; color: var(--text-2); max-width: 40em; }

/* footer */
.site-foot { padding: var(--sp-8) 0 var(--sp-7); background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--text); text-decoration: none; font-size: var(--fs-2); font-weight: 600; }
.foot-links a:hover { text-decoration: underline; }
.foot-meta { display: grid; gap: 2px; justify-items: end; font-size: var(--fs-2); }
.foot-meta a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.foot-asof { color: var(--text-2); }

/* illustration fills */
.i-ember { fill: var(--ember); } .i-gold { fill: var(--gold); } .i-lit { fill: var(--lit); } .i-glass { fill: var(--glass); }
.i-wall2 { fill: var(--wall2); } .i-far { fill: var(--far); } .i-ink { fill: var(--ink-ill); }
.i-pale { fill: var(--pale); } .i-teal { fill: var(--teal); }
:root[data-theme="dark"] .i-ink { fill: #2a201a; }

/* ---------- forms, the talk card, empty states and the soon list (shared by the pages) ---------- */
.soon-list { display: grid; gap: 8px; }
.soon-list li { padding: 14px 18px; border-radius: var(--r-s); background: var(--surface); box-shadow: var(--sh-1); font-size: var(--fs-3); }
.empty-partners { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 36px 24px; border-radius: var(--r-m); background: var(--surface); box-shadow: var(--sh-1); }
.empty-partners p { color: var(--text-2); max-width: 34em; font-size: var(--fs-3); }
.empty-h { font-weight: 700; font-size: var(--fs-5); letter-spacing: -.02em; }
.empty-slots { display: flex; gap: 10px; margin-bottom: 4px; }
.empty-slots span { width: 76px; height: 44px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--ctrl-line); background: repeating-linear-gradient(135deg, transparent 0 6px, color-mix(in srgb, var(--text) 6%, transparent) 6px 12px); }
.talk-card { display: grid; gap: 16px; max-width: 620px; padding: 28px; border-radius: var(--r-l); background: var(--surface); box-shadow: var(--card-sh); }
.talk-h { font-weight: 700; font-size: var(--fs-5); line-height: 1.05; letter-spacing: -.025em; }
.talk-sub { color: var(--text-2); margin-top: -6px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.field > label, .field legend { font-weight: 600; font-size: var(--fs-2); padding: 0 0 0 4px; }
.field > label.choice { font-weight: 400; }
.opt { font-weight: 400; color: var(--text-2); }
.talk textarea { min-height: 104px; resize: vertical; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: var(--fs-2); cursor: pointer; }
.choice input, .consent input { width: 22px; height: 22px; accent-color: #9a6a12; flex: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-2); min-height: 44px; padding-top: 4px; }
.consent input { margin-top: 2px; }
.talk [data-hosting-only][hidden] { display: none; }
.talk .thanks { max-width: 620px; }

/* ---------- motion: about two seconds, once; reduced motion and ?motion=off show the end state ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes glass-on { from { opacity: .35; filter: saturate(.4); } to { opacity: 1; filter: none; } }
@keyframes draw { from { stroke-dashoffset: 110; } to { stroke-dashoffset: 0; } }
.motion-ok .spin-ring { stroke-dasharray: 110; animation: draw 1.4s var(--ease) both; }

/* the hero: the site shows at once and its parts rise while the conversation types; the admin fills at 1.1 s */
.motion-ok .facade[data-play="run"] .unit.is-active .win-site { animation: glass-on var(--dur-enter) var(--ease) both; }
.motion-ok .facade[data-play="run"] .unit.is-active .m > *,
.motion-ok .facade[data-play="run"] .unit.is-active .m-copy > * { animation: rise var(--dur-enter) var(--ease) both; }
.motion-ok .facade[data-play="run"] .unit.is-active .m-copy > :nth-child(2) { animation-delay: .08s; }
.motion-ok .facade[data-play="run"] .unit.is-active .m-copy > :nth-child(3) { animation-delay: .16s; }
.motion-ok .facade[data-play="run"] .unit.is-active .m-copy > :nth-child(4) { animation-delay: .24s; }
.motion-ok .facade[data-play="run"] .unit.is-active .m-tiles { animation-delay: .4s; }
.motion-ok .facade[data-play="run"] .unit.is-active .m-art { animation-delay: .5s; }
.motion-ok .facade[data-play="run"] .chat.is-active .b { opacity: 0; transform: translateY(6px); transition: opacity var(--dur-move) var(--ease), transform var(--dur-move) var(--ease); }
.motion-ok .facade[data-play="run"] .chat.is-active .b.on { opacity: 1; transform: none; }
.motion-ok .facade[data-play="run"] .unit.is-active .pane-admin .a-head,
.motion-ok .facade[data-play="run"] .unit.is-active .pane-admin li,
.motion-ok .facade[data-play="run"] .unit.is-active .a-btn { animation: rise var(--dur-enter) var(--ease) both; animation-delay: 1.0s; }
.motion-ok .facade[data-play="run"] .unit.is-active .pane-admin li:nth-child(1) { animation-delay: 1.05s; }
.motion-ok .facade[data-play="run"] .unit.is-active .pane-admin li:nth-child(2) { animation-delay: 1.1s; }
.motion-ok .facade[data-play="run"] .unit.is-active .pane-admin li:nth-child(3) { animation-delay: 1.15s; }
.motion-ok .facade[data-play="run"] .unit.is-active .a-btn { animation-delay: 1.2s; }

/* lower on the page: one short rise per block as it comes into view */
.motion-ok .reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease); }
.motion-ok .reveal.in { opacity: 1; transform: none; }
.motion-ok .checked-art .chk-dot, .motion-ok .checked-art .chk-tick { opacity: 0; transition: opacity var(--dur-enter) var(--ease); }
.motion-ok .checked-art.in .chk-dot, .motion-ok .checked-art.in .chk-tick { opacity: 1; }
.motion-ok .checked-art.in .chk-1 * { transition-delay: .15s; } .motion-ok .checked-art.in .chk-2 * { transition-delay: .3s; } .motion-ok .checked-art.in .chk-3 * { transition-delay: .45s; }

/* the Menu panel and an FAQ answer: in with a short spring-like rise (.2 s), out faster (.14 s); the details element
   keeps its content visible while it fades out. Without .motion-ok (reduced motion, ?motion=off, no JS) they snap. */
.motion-ok details.menu::details-content, .motion-ok details.qa::details-content { transition: content-visibility var(--dur-close) allow-discrete; }
.motion-ok .menu-panel, .motion-ok .qa p { opacity: 0; transform: translateY(-6px);
  transition: opacity var(--dur-close) ease-in, transform var(--dur-close) ease-in; }
.motion-ok .menu[open] .menu-panel, .motion-ok .qa[open] p { opacity: 1; transform: none;
  transition: opacity var(--dur-open) ease-out, transform var(--dur-open) var(--ease-spring); }
@starting-style { .motion-ok .menu[open] .menu-panel, .motion-ok .qa[open] p { opacity: 0; transform: translateY(-6px); } }
@media print { .motion-ok .reveal, .motion-ok .checked-art .chk-dot, .motion-ok .checked-art .chk-tick { opacity: 1; transform: none; transition: none; } } /* blocks not yet scrolled to still print */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .nav { display: none; }
  .menu { display: block; }
  .head-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "head" "form" "stage"; }
  .hero-head, .hero-form { max-width: 640px; }
  .hero-form { padding-bottom: 12px; }
}
@media (max-width: 900px) {
  .how-grid, .checked-grid, .law-grid, .week-grid, .any-grid, .faq-grid, .partners-in { grid-template-columns: 1fr; gap: 32px; }
  .any-grid { gap: 16px; }
  .own-grid, .safe-grid, .doors-grid { grid-template-columns: 1fr; }
  .street-grid { grid-template-columns: 1fr; }
  .bring-row { grid-template-columns: 1fr; gap: 14px; justify-items: start; }
  .foot-grid { grid-template-columns: 1fr; gap: 16px; }
  .foot-meta { justify-items: start; }
  /* on a phone the example plays right under the headline, so it is in the first screen; the box follows */
  .hero-grid { grid-template-areas: "head" "stage" "form"; row-gap: 18px; }
  .hero-form { padding-top: 14px; padding-bottom: 36px; }
  .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .found-grid { grid-template-columns: 1fr; }
  .can-list { columns: 1; }
  .builder-body { grid-template-columns: 1fr; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; }
  .cmp thead { display: block; position: sticky; top: 64px; z-index: 2; background: var(--bg); }
  .cmp thead tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 8px; }
  /* the empty corner cell stays in the table for screen readers (so each column keeps its header), but takes no room */
  .cmp thead .cmp-corner { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp thead th { padding: 8px 6px; font-size: var(--fs-1); line-height: 1.25; }
  .cmp thead th.cmp-us { font-size: var(--fs-3); padding: 10px 6px; }
  .cmp tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 8px; padding: 10px 0; }
  .cmp tbody tr > * { background: none !important; border-bottom: 0; }
  .cmp thead th { border-bottom: 0; }
  .cmp tbody tr:nth-child(odd) { background: color-mix(in srgb, var(--text) 4%, var(--bg)); }
  .cmp tbody th { grid-column: 1 / -1; width: auto; padding: 0 6px 6px; font-size: var(--fs-2); }
  .cmp tbody tr > td { padding: 4px 6px; font-size: var(--fs-1); line-height: 1.35; }
  .cmp tbody tr > td.cmp-us { background: color-mix(in srgb, var(--gold) 16%, var(--surface)) !important; box-shadow: inset 2px 0 0 #e9b23e; border-radius: 0; }
  .cmp tbody tr:last-child td.cmp-us { box-shadow: inset 2px 0 0 #e9b23e; }
}
@media (max-width: 600px) {
  .wrap { padding-inline: 16px; }
  :root { --sec-pad: var(--sp-8); --sec-head: var(--sp-6); }
  .head-row { gap: 8px; min-height: 64px; }
  .wordmark { width: 88px; }
  .head-actions { gap: 8px; }
  .btn-head { min-height: 44px; padding: 0 12px; font-size: var(--fs-2); }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-btn { padding: 0; width: 44px; }
  .hero { padding-top: 18px; }
  .hero-head { gap: 10px; }
  .eyebrow { font-size: var(--fs-1); padding: 5px 10px 5px 8px; gap: 8px; }
  :root { --fs-8: 40px; } /* the page title on a phone */
  .lede, .big-p, .pay p { font-size: var(--fs-3); }
  .lede { line-height: 1.5; }
  .any-p { font-size: var(--fs-3); }
  .prompt textarea { font-size: var(--fs-3); min-height: 76px; }
  .prompt-foot { grid-template-columns: 1fr; grid-template-areas: "label" "field" "error" "send"; }
  .prompt-foot .btn-send { width: 100%; margin-top: 6px; }
  /* the compact frame: the site's top, the admin in one row, then the newest line of the conversation */
  .facade { grid-template-columns: 1fr; padding: 8px; gap: 8px; }
  .facade::before { left: 12px; right: 12px; top: -5px; height: 5px; }
  .facade .unit { gap: 8px; }
  /* one fixed window height on a phone, so a chip never moves the page */
  .facade-units .unit { grid-template-rows: auto 196px auto; }
  .facade .m-kanban .col:last-child { display: none; }
  .facade .sign { min-height: 32px; }
  .facade .m-p, .facade .m-tiles, .facade .m-art, .facade .m-plan .done, .facade .m-slots span:nth-child(n+3), .facade .m-kanban .col > span + span { display: none; }
  .facade .m-nav { padding: 9px 12px; }
  .facade .m-copy { padding: 10px 12px 12px; gap: 6px; }
  .facade .m-h { font-size: 21px; }
  .facade .m-btn { min-height: 34px; font-size: 14px; }
  .facade .m-kanban { padding: 10px 12px 12px; gap: 6px; }
  .pane-admin { padding: 12px 14px; gap: 6px; }
  .facade .pane-admin .a-btn { display: none; }
  .pane-admin li { padding: 5px 7px; }
  .facade-chat { padding: 8px; gap: 6px; min-height: 154px; }
  .facade-chat .chat-head { display: none; }
  .facade .chat { gap: 6px; }
  .facade .b-who { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .facade .chat .b { display: none; }
  .facade .chat .b:first-child, .facade .chat .b:last-child { display: grid; }
  .motion-ok .facade[data-play="run"] .chat .b:last-child:not(.on) { display: none; }
  .motion-ok .facade[data-play="run"] .chat .b.on:not(:has(~ .b.on)) { display: grid; }
  .b p { padding: 7px 10px; }
  .b.bot p { font-size: 16px; }
  .facts { padding-top: var(--sp-6); }
  .facts-list li { min-height: 36px; font-size: var(--fs-1); padding: 0 10px; }
  .pay { padding-top: var(--sp-8); }
  .who-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .gl { height: 150px; }
  .who-text { padding: 0 4px; }
  .street-grid { gap: 44px; margin-top: 28px; }
  .unit-street { padding: 8px; }
  .unit-street .pane-admin ul { grid-template-columns: 1fr; gap: 4px; }
  .unit-street .pane-admin li { grid-template-columns: auto 1fr; gap: 10px; }
  .unit-street .pane-admin li .a-v { text-align: right; }
  .builder { padding: 8px; }
  .builder-chat { padding: 8px; }
  .own-art { padding: 12px 40px 0; }
  .own-ill { max-height: 96px; }
  .own-card h3, .own-card p { padding: 0 18px; }
  .checked-art { gap: 8px; }
  .chk { padding: 6px; }
  .safe-grid li { padding: 18px; grid-template-columns: 44px 1fr; }
  .safe-art { width: 44px; height: 44px; }
  .safe-ill { width: 40px; height: 40px; }
  .papers { gap: 8px; }
  .paper { padding: 12px; }
  .paper svg { height: 26px; }
  .found-col { padding: 18px; }
  .found-ill { max-width: 200px; }
  .week-art { max-width: 240px; }
  .bring-row { padding: 22px 18px; }
  .btn-row .btn { width: 100%; }
  .door { padding: 84px 18px 20px; }
  .door-light { left: 18px; right: 18px; height: 52px; }
  .qa summary { font-size: var(--fs-2); padding: 12px 14px; }
  .qa p { padding: 0 14px 16px; }
  .talk-card { padding: 20px; }
  .soon { margin: 8px 0 0; }
}

/* Continuous (squircle) corners where the browser supports them, as on iPhone; pills keep their capsule. */
@supports (corner-shape: squircle) {
  .prompt-card, .thanks, .who-card, .found-col, .bring-row, .menu-panel, .pane, .pane-admin, .facade-chat, .builder,
  .prompt textarea, .field-mail input { corner-shape: squircle; }
}

/* Times and counts in the admin glimpses keep their width as they change (tabular figures). */
.pane-admin, .m-slots, .m-plan, .m-kanban { font-variant-numeric: tabular-nums; }

/* ---------- the company details' placeholder on the legal pages (205: lib/company.php writes it while a value is empty) ---------- */
.owner-slot { display: inline; padding: 0 6px; border-radius: var(--r-xs); background: var(--fill-2); color: var(--text); font-weight: 600; box-shadow: inset 0 0 0 1px var(--ctrl-line); }
}
