/* Levitate self-serve: /try, sign-up and the builder. Customer-facing. Rules: docs/product/design-system.md.
   Levitate family foundation + Studio terracotta. Only the :root block holds raw colours. Works from 320px up. */
:root {
  --paper: #f8f6f2; --paper-2: #f0ece5; --card: #ffffff;
  --ink: #15191e; --ink-2: #3a4048; --muted: #5d6670; --line: #e4ded4; --line-2: #ece7df; --line-strong: #d4ccbf;
  --accent: #b5532a; --accent-2: #f6e7df; --accent-ink: #8f3f1e;
  --ok: #1d7a44; --ok-2: #e5f3ea; --err: #b3261e; --err-2: #fce9e6;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-rest: 0 1px 2px rgba(21, 25, 30, .04);
  --shadow-lift: 0 24px 48px -24px rgba(21, 25, 30, .3), 0 0 0 1px rgba(21, 25, 30, .06);
  --on-ink: #ffffff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.b { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; font-synthesis: none; }
a { color: var(--accent-ink); }
h1 { font: 600 28px/1.2 var(--serif); letter-spacing: -.015em; margin: 0 0 12px; text-wrap: balance; }
h1 em { font-style: italic; font-weight: 500; }
h2 { font: 600 16px/1.35 var(--sans); margin: 0 0 8px; } h3 { font: 600 16px/1.35 var(--sans); margin: 0 0 4px; }
.small { font-size: 13px; } .b-muted { color: var(--muted); } .b-center { text-align: center; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.b-eyebrow { display: inline-block; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }

/* Top bar */
.b-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 32px; height: 64px; position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.b-brand { display: flex; align-items: center; gap: 8px; font: 600 19px/1 var(--serif); letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.b-brand .logo { width: 24px; height: 24px; color: var(--accent); }
.b-top nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.b-top nav a, .b-link { color: var(--ink-2); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.b-top nav a:hover, .b-link:hover { color: var(--ink); }
.b-top nav form { margin: 0; }

/* Buttons: ink for the next action, pills on customer pages */
.b-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 999px; background: var(--ink); color: var(--on-ink); border: 1px solid var(--ink); font: 600 15px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.b-btn:hover { background: var(--ink-2); border-color: var(--ink-2); }
.b-btn.big { padding: 16px 32px; font-size: 16px; }
.b-btn.block { width: 100%; }
.b-btn.ghost { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.b-btn.ghost:hover { background: var(--paper-2); }
.b-btn.sm { padding: 8px 16px; font-size: 14px; }
.b-btn[disabled], .b-btn[aria-busy="true"] { opacity: .5; cursor: not-allowed; }

.b-flash { padding: 12px 16px; border-radius: 12px; margin: 0 0 16px; font-size: 15px; }
.b-flash.ok { background: var(--ok-2); color: var(--ok); } .b-flash.err { background: var(--err-2); color: var(--err); }
.b-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Forms */
.b-form { display: grid; gap: 16px; }
.b-form.inline { display: block; margin-top: 12px; }
.b-form label, .b-quick label { display: grid; gap: 8px; font: 500 13px/1.45 var(--sans); color: var(--ink-2); }
.b-form small { font-weight: 400; font-size: 13px; color: var(--muted); }
input, select, textarea { font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--card); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 16px; width: 100%; min-width: 0; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-2); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); }
/* Field errors: the field turns red and says what to do, right under it (no browser bubbles). */
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 3px var(--err-2); }
input[type="checkbox"][aria-invalid="true"] { outline: 2px solid var(--err); outline-offset: 2px; box-shadow: none; }
.b-field-err { display: flex; gap: 6px; align-items: baseline; color: var(--err); font: 500 13px/1.4 var(--sans); }
.b-field-err::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--err); color: var(--on-ink); font-size: 11px; font-weight: 700; transform: translateY(2px); }
.b-field-err[hidden] { display: none; }
.b-check + .b-field-err { margin: 6px 0 0 30px; }
.b-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font: 400 13px/1.4 var(--sans); color: var(--muted); }
.b-rules li::before { content: "○"; margin-right: 6px; }
.b-rules li.ok { color: var(--ok); } .b-rules li.ok::before { content: "✓"; }
.b-pw { position: relative; display: block; }
.b-pw input { padding-right: 72px; }
.b-pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--accent-ink); font: 500 14px/1 var(--sans); padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.b-pw-toggle:hover { background: var(--paper-2); }
.b-back { display: inline-block; margin: 0 0 12px; color: var(--muted); font-size: 14px; text-decoration: none; }
.b-back:hover { color: var(--ink); }
input:disabled { background: var(--paper-2); color: var(--muted); }
.b-check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 12px; font-weight: 400 !important; font-size: 14px !important; }
.b-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.b-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.b-row { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; margin-top: 8px; }
.b-more { margin-top: 16px; } .b-more summary { cursor: pointer; color: var(--accent-ink); }

/* /try: show, don't tell */
.b-try { width: min(1120px, 100% - 64px); margin: 0 auto; padding: 64px 0 96px; }
.b-hero { max-width: 760px; }
.b-hero h1 { font: 600 60px/1.04 var(--serif); letter-spacing: -.02em; margin: 0 0 16px; }
.b-try.has .b-hero h1 { font-size: 40px; line-height: 1.1; }
.b-lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); margin: 0 0 32px; max-width: 640px; }
/* Two by two with labels on one line: "Something else…" adds its input under the select without pushing the label up. */
.b-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; background: var(--card); padding: 24px; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-rest); }
.b-quick .b-btn { grid-column: 1 / -1; justify-self: start; height: 52px; padding-inline: 32px; margin-top: 4px; }
.b-hero-split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.b-hero-split .b-hero-main { max-width: 680px; }
.b-example { margin: 0; }
.b-phone { aspect-ratio: 9 / 18; border: 10px solid var(--ink); border-radius: 36px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-lift); }
.b-phone iframe { display: block; width: 100%; height: 100%; border: 0; } /* scrolls on its own; sandboxed, so the sample's links and call buttons can't take the visitor away */
.b-example figcaption strong { color: var(--ink-2); font-weight: 600; }
.b-example figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); text-align: center; }
.b-terms { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--muted); }
.b-where { grid-column: 1 / -1; }
.b-where summary { list-style: none; cursor: pointer; font-size: 15px; color: var(--ink-2); } .b-where summary::-webkit-details-marker { display: none; }
.b-where summary span { margin-left: 8px; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.b-where[open] summary { margin-bottom: 8px; } .b-where[open] summary span { display: none; }
.b-keepbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); box-shadow: var(--shadow-lift); }
.b-keepbar span { flex: 1; min-width: 0; font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-keepbar .b-btn { flex: none; }
.b-keepbar[hidden] { display: none; }
@media (min-width: 601px) { .b-keepbar { display: none !important; } }
@media (max-width: 980px) { .b-hero-split { grid-template-columns: 1fr; gap: 32px; } .b-example { max-width: 300px; margin: 0 auto; } }
.b-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.b-how div { background: var(--card); border-radius: 16px; padding: 24px; border: 1px solid var(--line); }
.b-how b { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-2); color: var(--accent-ink); font: 600 14px/1 var(--sans); margin-bottom: 12px; }
.b-how p { margin: 0; color: var(--muted); }
.b-result { margin-top: 48px; animation: rise .2s ease-out both; }
.b-themes { display: flex; gap: 12px; overflow-x: auto; padding: 16px 2px 8px; scrollbar-width: thin; }
.b-theme { flex: none; display: grid; gap: 8px; padding: 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; min-width: 128px; position: relative; }
.b-theme.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: var(--card); }
.b-theme em, .b-gname em, .b-plan em { font-style: normal; font: 600 11px/1.4 var(--sans); color: var(--accent-ink); background: var(--accent-2); padding: 2px 8px; border-radius: 999px; }
.b-theme em { position: absolute; top: -10px; right: 8px; }
.b-sw { display: flex; } .b-sw i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--card); margin-right: -5px; box-shadow: 0 0 0 1px var(--line); }
.b-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.b-cta h2 { font: 600 28px/1.2 var(--serif); margin: 0 0 4px; }
.b-cta p { margin: 0; color: var(--ink-2); } .b-cta .b-btn { flex: none; }
.b-cta > div { min-width: 0; } .b-cta p strong { overflow-wrap: anywhere; } /* a long business name makes one unbreakable address */

/* Device frames (real renders, never mock-ups) */
.b-stage { position: relative; }
.b-toggle { display: inline-flex; background: var(--card); border-radius: 999px; padding: 4px; border: 1px solid var(--line); margin-bottom: 12px; }
.b-toggle button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font: 600 13px/1 var(--sans); color: var(--muted); cursor: pointer; }
.b-toggle button.on { background: var(--ink); color: var(--on-ink); }
.b-laptop { border-radius: 20px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-lift); transition: max-width .2s ease; margin: 0 auto; max-width: 100%; }
.b-stage.phone .b-laptop { max-width: 390px; border-radius: 32px; border: 8px solid var(--ink); }
.b-bar { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; background: var(--paper-2); }
.b-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); flex: none; }
.b-url { margin-left: 8px; font-size: 13px; color: var(--ink-2); background: var(--card); padding: 4px 12px; border-radius: 999px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.b-laptop iframe { display: block; width: 100%; height: min(72vh, 760px); border: 0; background: var(--card); }
.b-stage.phone .b-bar { display: none; } .b-stage.phone iframe { height: min(78vh, 740px); }

/* Cards (sign-up, confirm, reset…) */
body.card { min-height: 100vh; background: var(--paper); }
.b-card { width: min(480px, 100% - 32px); margin: 64px auto; background: var(--card); padding: 32px; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-rest); }
.b-card h1 { font-size: 28px; }
.b-legal { width: min(720px, 100% - 32px); } .b-legal h2 { margin-top: 24px; } .b-legal p { max-width: 640px; }
.b-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--paper-2); color: var(--ink-2); font-size: 22px; margin-bottom: 16px; }

/* Builder: one decision per screen, preview always visible, progress always shown */
.b-build { display: grid; grid-template-columns: minmax(340px, 480px) 1fr; gap: 32px; width: min(1320px, 100% - 64px); margin: 0 auto; padding: 24px 0 64px; align-items: start; }
.b-panel { background: var(--card); border-radius: 16px; padding: 24px; border: 1px solid var(--line); }
.b-preview { position: sticky; top: 88px; }
.b-steps { list-style: none; display: flex; gap: 4px; padding: 0 0 16px; margin: 0 0 24px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line-2); }
.b-steps::-webkit-scrollbar { display: none; }
/* Seven equal columns whose labels wrap, so every step (Go live included) is visible without a hidden scroll. */
.b-steps li { flex: 1 1 0; min-width: 0; }
.b-steps a { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; color: var(--muted); font-size: 11px; line-height: 1.25; text-align: center; padding: 4px 2px; }
.b-steps b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2); font: 600 13px/1 var(--sans); color: var(--ink-2); position: relative; }
.b-steps span { overflow-wrap: anywhere; }
.b-steps .done b { background: var(--accent-2); color: transparent; }
.b-steps .done b::after { content: "✓"; position: absolute; color: var(--accent-ink); }
.b-steps .now b { background: var(--accent); color: var(--on-ink); } .b-steps .now a { color: var(--ink); font-weight: 600; }
.b-stepbody { animation: rise .2s ease-out both; }
.b-build > * { min-width: 0; }
.b-assist, .b-tool { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); margin-top: 16px; color: inherit; text-decoration: none; }
.b-assist p, .b-tool p { margin: 4px 0; color: var(--muted); font-size: 14px; }
.b-assist > div, .b-tool > div { flex: 1 1 220px; min-width: 0; }
.b-tools { display: grid; gap: 12px; margin: 8px 0 16px; }
.b-tool .b-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); font-size: 20px; flex: none; }
.b-tool.link:hover { border-color: var(--accent); }
.b-left { display: inline-block; font: 600 12px/1.4 var(--sans); color: var(--accent-ink); background: var(--accent-2); padding: 2px 8px; border-radius: 999px; }
.b-hours { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; } .b-hours legend { font: 500 13px/1.45 var(--sans); color: var(--ink-2); margin-bottom: 8px; }
.b-day { display: grid; grid-template-columns: 44px 1fr 1fr auto; gap: 8px; align-items: center; font-size: 14px; }
.b-day input[type="time"] { padding: 8px 12px; }
.b-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.b-gcard { display: grid !important; gap: 8px !important; padding: 8px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); cursor: pointer; font-weight: 400 !important; position: relative; }
.b-gcard > input { position: absolute; opacity: 0; }
.b-gcard.on, .b-gcard:has(> input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.b-gthumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; position: relative; background: var(--paper-2); }
.b-gthumb iframe { position: absolute; top: 0; left: 0; width: 400%; height: 400%; border: 0; transform: scale(.25); transform-origin: 0 0; pointer-events: none; }
.b-gname { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); }
/* Design ideas: three suggestions beside the current design; on phones one row that scrolls inside the step. */
.b-tryideas { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0; } .b-tryideas p { margin: 0; width: 100%; }
.b-ideas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.b-ideas-nav { justify-content: flex-start; flex-wrap: wrap; margin: 0; }
.b-tweaks fieldset { border: 0; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.b-tweaks legend { font: 600 13px/1.4 var(--sans); color: var(--ink-2); margin-bottom: 8px; width: 100%; }
.b-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* /try: the first preview has placeholders; a terracotta note by the toggle says so */
.b-stagehead { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-bottom: 12px; }
.b-stagehead .b-toggle { margin-bottom: 0; }
.b-stagenote { margin: 0; padding: 8px 16px; border-radius: 999px; background: var(--accent-2); color: var(--accent-ink); font: 500 14px/1.45 var(--sans); }
.b-stagenote strong { font-weight: 600; }
@media (max-width: 600px) { .b-stagenote { border-radius: 12px; } }
/* /try booking (appointment trades): the copy and a preview booking card side by side; /try/book shows the card alone */
.b-book { display: grid; grid-template-columns: 1fr minmax(0, 400px); gap: 32px; align-items: start; margin-top: 24px; padding: 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.b-book h2 { font: 600 28px/1.2 var(--serif); letter-spacing: -.01em; margin: 0 0 12px; overflow-wrap: anywhere; }
.b-bookcopy p { margin: 0 0 12px; color: var(--ink-2); max-width: 640px; }
.b-bookcopy .b-eyebrow { margin-bottom: 12px; }
.b-bookcopy .b-bookvalue { display: inline-block; padding: 8px 16px; border-radius: 16px; background: var(--accent-2); color: var(--accent-ink); font-weight: 500; }
.b-bookcard { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 16px; min-width: 0; }
.b-bookhead { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.b-bookhead strong { min-width: 0; overflow-wrap: anywhere; }
.b-tag { flex: none; padding: 2px 8px; border-radius: 999px; background: var(--accent-2); color: var(--accent-ink); font: 600 12px/1.4 var(--sans); }
.b-booklabel { margin: 0 0 8px; font: 500 13px/1.45 var(--sans); color: var(--muted); }
.b-bookpick { display: grid; gap: 8px; margin-bottom: 16px; }
.b-bookpick button { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); font: 500 14px/1.35 var(--sans); text-align: left; cursor: pointer; }
.b-bookpick button span { min-width: 0; overflow-wrap: anywhere; }
.b-bookpick button small { flex: none; color: var(--muted); font-size: 13px; }
.b-bookpick button.on { border-color: var(--accent); background: var(--accent-2); color: var(--accent-ink); box-shadow: 0 0 0 1px var(--accent); }
.b-bookpick button.on small { color: var(--accent-ink); }
.b-bookpick.slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.b-bookpick.slots button { justify-content: center; align-items: center; font-variant-numeric: tabular-nums; padding: 8px 4px; }
.b-bookcard [data-book] { margin-bottom: 8px; }
.b-bookcard [data-booknote] { margin: 0; }
body.b-bookpage main { width: min(440px, 100% - 32px); margin: 0 auto; padding: 24px 0 48px; display: grid; gap: 16px; }
body.b-bookpage .b-back { margin: 0; }
body.b-bookpage .b-bookcard { background: var(--card); }
.b-book.b-bookoffer { grid-template-columns: 1fr auto; align-items: center; }
.b-bookoffer .b-bookcopy p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .b-book, .b-book.b-bookoffer { grid-template-columns: 1fr; gap: 24px; } .b-bookoffer .b-btn { justify-self: start; } }
@media (max-width: 600px) { .b-book { padding: 16px; } .b-book h2 { font-size: 24px; } .b-bookpick.slots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Confirm-email code: one wide box, digits spaced for reading back from the email */
.b-codeform { margin: 16px 0; }
.b-code { font: 600 28px/1.2 var(--sans); letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; padding: 12px; }
.b-code::placeholder { color: var(--line-strong); }
/* Fine-tune: folded sections in the builder panel, each saving as the owner types */
.b-secs { display: grid; gap: 8px; margin: 16px 0; }
.b-sec { border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.b-sec[open] { background: var(--card); }
.b-sec > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-height: 44px; padding: 12px 16px; cursor: pointer; list-style: none; }
.b-sec > summary::-webkit-details-marker { display: none; }
.b-sec > summary::after { content: "+"; margin-left: auto; color: var(--muted); font-size: 18px; line-height: 1; }
.b-sec[open] > summary::after { content: "−"; }
.b-sec > summary small { color: var(--muted); font-size: 13px; }
.b-sec-body { padding: 0 16px 16px; display: grid; gap: 16px; min-width: 0; }
.b-saved { min-height: 20px; margin: 0; color: var(--muted); } .b-saved.ok { color: var(--ok); } .b-saved.err { color: var(--err); }
.b-hours-note { margin: 0 0 4px; }
.b-photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.b-photos li { display: grid; gap: 4px; font-size: 13px; color: var(--muted); min-width: 0; }
.b-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: var(--paper-2); }
.b-remove { color: var(--err); min-height: 44px; text-align: left; }
@media (max-width: 700px) {
  .b-ideas { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .b-ideas > .b-idea { flex: 0 0 72%; scroll-snap-align: start; }
}
.b-variants { display: flex; gap: 8px; flex-wrap: wrap; }
.b-var { display: block !important; position: relative; padding: 4px; border-radius: 999px; }
.b-var input { position: absolute; opacity: 0; } .b-var:has(input:checked) { box-shadow: 0 0 0 2px var(--accent); }
.b-addr { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--card); overflow: hidden; font-size: 16px; }
.b-addr span { padding: 0 12px; color: var(--muted); white-space: nowrap; }
.b-addr input { border: 0; border-radius: 0; padding: 16px 4px; font-weight: 600; font-size: 18px; box-shadow: none !important; }
.b-addr:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-2); }
.b-namestatus { min-height: 24px; margin: 0; font-size: 14px; } .b-namestatus .ok { color: var(--ok); font-weight: 600; } .b-namestatus .no { color: var(--err); }
.b-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 14px; }
.b-chip { border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); border-radius: 999px; padding: 4px 12px; font: 500 14px/1.4 var(--sans); cursor: pointer; }
.b-chip:hover { border-color: var(--accent); background: var(--accent-2); }
.b-brief { display: grid; gap: 8px; } .b-brief p { margin: 0; }
.b-starter { min-height: 40px; padding: 8px 14px; }
.b-addons { display: grid; gap: 8px; margin: 12px 0 16px; }
.b-addons-h { margin: 0; font: 600 14px/1.4 var(--sans); } .b-addons-h small { font-weight: 400; margin-left: 6px; }
.b-option { background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.b-option small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.b-plans { display: grid; gap: 12px; }
.b-plan { display: grid; gap: 4px; padding: 16px 16px 16px 48px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); cursor: pointer; position: relative; }
.b-plan > input { position: absolute; left: 16px; top: 20px; width: 20px; height: 20px; }
.b-plan:has(> input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.b-price s { color: var(--muted); font-weight: 400; font-size: .7em; margin-right: 4px; }
/* Welcome-back offer: a calm terracotta note, not a sale banner */
.b-offer { display: grid; gap: 2px; padding: 14px 16px; margin: 0 0 16px; border-radius: 12px; background: var(--accent-2); color: var(--accent-ink); border: 1px solid var(--accent); }
.b-offer span { font-size: 14px; }
.b-notready { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.b-notready summary { cursor: pointer; color: var(--accent-ink); font-weight: 500; }
.b-notready[open] summary { margin-bottom: 16px; }
.b-reasons { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.b-reasons legend { padding: 0; margin-bottom: 8px; }
.b-plan em { position: absolute; top: -10px; right: 16px; }
.b-price { font: 600 28px/1.2 var(--serif); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.b-plan small { color: var(--muted); }
.b-plan ul { list-style: none; padding: 0; margin: 8px 0 0; font-size: 13px; color: var(--ink-2); display: none; font-variant-numeric: tabular-nums; }
.b-plan:has(> input:checked) ul { display: grid; gap: 4px; }
.b-plan li { display: flex; justify-content: space-between; gap: 12px; }
.b-trust { list-style: none; padding: 0; margin: 4px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 13px; color: var(--muted); }
.b-trust li::before { content: "✓ "; color: var(--accent); font-weight: 600; }
.b-soon { padding: 16px; border-radius: 12px; background: var(--accent-2); color: var(--accent-ink); display: grid; gap: 12px; }
.b-fab { display: none; }

@keyframes rise { from { transform: translateY(8px); } to { transform: none; } } /* transform only: content is never invisible if animations are paused */
.b-shimmer { animation: pulse 1.2s ease-in-out infinite; } /* the preview while AI works: a calm fade, no gradient */
@keyframes pulse { 50% { opacity: .55; } }

@media (max-width: 980px) {
  .b-build { grid-template-columns: 1fr; }
  .b-preview { display: none; position: fixed; inset: 64px 0 0; z-index: 30; background: var(--paper); padding: 16px; overflow: auto; }
  .b-preview.open { display: block; }
  .b-fab { display: inline-flex; position: fixed; right: 16px; bottom: 16px; z-index: 31; box-shadow: var(--shadow-lift); }
}
@media (max-width: 600px) {
  .b-top { padding: 0 16px; }
  .b-try, .b-build { width: calc(100% - 32px); }
  .b-try { padding: 32px 0 64px; } .b-try.has { padding-bottom: 112px; } /* room for the keep bar */
  .b-hero h1 { font-size: 40px; line-height: 1.08; } .b-try.has .b-hero h1 { font-size: 30px; line-height: 1.15; }
  .b-lede { font-size: 17px; }
  .b-quick, .b-2, .b-how, .b-trust { grid-template-columns: 1fr; }
  .b-quick { padding: 16px; } .b-quick .b-btn { justify-self: stretch; }
  .b-how { margin-top: 48px; padding-top: 32px; }
  .b-cta { flex-direction: column; align-items: stretch; }
  .b-card { margin: 32px auto; padding: 24px; }
  h1, .b-card h1 { font-size: 24px; }
  .b-panel { padding: 16px; }
  .b-gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .b-day { grid-template-columns: 40px 1fr 1fr; } .b-day .b-check { grid-column: 2 / -1; }
  .b-day input[type="time"] { padding: 10px 8px; font-size: 15px; } /* room for "09:00 AM" at 375px */
  .b-sec > summary { padding: 12px; } .b-sec-body { padding: 0 12px 12px; }
  .b-sec .b-day { grid-template-columns: 36px 1fr 1fr; gap: 6px; } .b-sec .b-day input[type="time"] { padding: 10px 4px; font-size: 14px; } /* Fine-tune sits two boxes deep */
  .b-top nav { gap: 12px; font-size: 14px; }
  .b-tool > .b-btn, .b-assist > .b-btn, .b-tool > span.small { flex: 1 1 100%; }
  .b-steps span { display: none; } .b-steps .now span { display: inline; }
  .b-steps b { width: 26px; height: 26px; } .b-steps .now { flex: 3 1 0; }
  .b-laptop iframe { height: 62vh; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
