/* Hallmark · checked: 2026-11-13 · genre: playful (warm editorial) · screen: interactive onboarding · contrast: designed for WCAG AA · v2.0.0 */
/* Critique: one calm question per screen; the home-hours card is the signature control. */
:root {
  --font-sans: "DejaVu Sans";
  --font-serif: "DejaVu Serif";
  color-scheme: light dark;
  --paper: #f6f1e8;
  --surface: #fffdf8;
  --surface-2: #ece5d9;
  --ink: #282823;
  --muted: #706d63;
  --line: #d3ccbf;
  --accent: #a34d37;
  --accent-ink: #fffaf3;
  --accent-soft: #f0d9cf;
  --focus: #743b2c;
  --error: #9f302d;
  --success: #35664d;
  --shadow: 0 10px 28px rgb(48 38 24 / 7%);
  --font: var(--font-sans), sans-serif;
  --display: var(--font-serif), serif;
  --radius-card: 22px;
  --radius-control: 13px;
}
@font-face { font-family:"DejaVu Sans"; src:url("/fonts/DejaVuSans.ttf") format("truetype"); font-weight:400; font-display:swap; }
@font-face { font-family:"DejaVu Sans"; src:url("/fonts/DejaVuSans-Bold.ttf") format("truetype"); font-weight:650 900; font-display:swap; }
@font-face { font-family:"DejaVu Serif"; src:url("/fonts/DejaVuSerif.ttf") format("truetype"); font-weight:400 600; font-display:swap; }
@media (prefers-color-scheme: dark) {
  :root { --paper:#201f1b; --surface:#2b2924; --surface-2:#37342e; --ink:#f3eee3; --muted:#c1b9aa; --line:#514b40; --accent:#d78468; --accent-ink:#211a17; --accent-soft:#563c33; --focus:#f1aa90; --error:#ff928a; --success:#a3d3ac; --shadow:0 10px 28px rgb(0 0 0 / 22%); }
}
* { box-sizing: border-box; }
html, body { margin:0; min-height:100%; overflow-x:clip; background:var(--paper); color:var(--ink); font-family:var(--font); }
body { min-height:100svh; }
button, input, textarea { font:inherit; color:inherit; }
button { cursor:pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline:2px solid var(--focus); outline-offset:3px; }
.shell { width:min(100%, 680px); min-height:100svh; margin:0 auto; padding:0 24px calc(24px + env(safe-area-inset-bottom)); display:flex; flex-direction:column; }
.topbar { height:67px; display:flex; align-items:center; border-bottom:1px solid var(--line); gap:16px; }
.wordmark { color:var(--ink); font-weight:750; font-size:19px; text-decoration:none; letter-spacing:-.7px; }
.wordmark span { color:var(--accent); padding-left:2px; }
.saved { color:var(--muted); font-size:12px; margin-left:auto; }
.lang-switch { border:0; background:none; color:var(--accent); padding:8px 0 8px 4px; font-size:13px; min-height:44px; }
.progress-wrap { padding-top:16px; }
.progress-track { height:4px; border-radius:6px; background:var(--surface-2); overflow:hidden; }
.progress-value { width:100%; height:100%; border-radius:inherit; background:var(--accent); transform:scaleX(.04); transform-origin:left center; transition:transform 180ms ease-out; }
.progress-meta { display:flex; justify-content:space-between; align-items:center; padding-top:8px; color:var(--muted); font-size:12px; }
.text-button { border:0; padding:8px 0; min-height:36px; color:var(--muted); background:none; text-decoration:underline; text-underline-offset:3px; }
main { flex:1; padding:clamp(24px, 6vh, 48px) 0 24px; }
.question { animation:appear 170ms ease-out both; }
@keyframes appear { from { opacity:.5; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
.kicker { font-size:12px; color:var(--accent); margin:0 0 12px; }
h1 { font-family:var(--display); font-size:clamp(30px, 8vw, 43px); line-height:1.08; font-weight:500; letter-spacing:-1.2px; margin:0; overflow-wrap:break-word; min-width:0; text-wrap:balance; }
.intro { color:var(--muted); margin:12px 0 24px; line-height:1.5; font-size:15px; }
.field-label { display:block; font-size:14px; font-weight:650; margin:20px 0 8px; }
.field { display:block; width:100%; border:1px solid var(--line); outline:2px solid transparent; outline-offset:-3px; border-radius:var(--radius-control); background:var(--surface); min-height:54px; padding:12px 16px; font-size:16px; }
.field:hover { background:var(--surface-2); }
.field:focus-visible { outline-color:var(--focus); border-color:var(--focus); }
textarea.field { min-height:112px; resize:vertical; line-height:1.45; }
.hint { min-height:1.4em; font-size:12px; line-height:1.4; color:var(--muted); margin:8px 0 0; }
.choice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.chip { min-height:54px; text-align:left; border:1px solid var(--line); border-radius:var(--radius-control); background:var(--surface); padding:12px 16px; font-size:14px; line-height:1.25; }
.chip:hover { background:var(--surface-2); }
.chip[aria-pressed="true"] { border-color:var(--accent); background:var(--accent-soft); color:var(--ink); box-shadow:inset 0 0 0 1px var(--accent); }
.segmented { display:flex; padding:4px; gap:4px; border-radius:15px; background:var(--surface-2); }
.segment { border:0; border-radius:11px; background:transparent; min-height:45px; flex:1; font-size:14px; color:var(--muted); }
.segment[aria-pressed="true"] { background:var(--surface); color:var(--ink); box-shadow:var(--shadow); }
.disclosure-options { display:grid; gap:12px; }
.disclosure-card { display:grid; gap:8px; min-height:104px; padding:16px; text-align:left; color:var(--ink); border:1px solid var(--line); border-radius:16px; background:var(--surface); }
.disclosure-card strong { font-size:15px; }
.disclosure-card span { color:var(--muted); font-size:14px; line-height:1.4; }
.disclosure-card[aria-pressed="true"] { color:var(--ink); border-color:var(--accent); box-shadow:inset 0 0 0 1px var(--accent); background:var(--accent-soft); }
.control-card { background:var(--surface); color:var(--ink); border:1px solid var(--line); border-radius:var(--radius-card); padding:16px; }
.metric-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); }
.metric-row:last-child { border-bottom:0; }
.metric-copy { font-size:14px; line-height:1.35; }
.metric-copy small { display:block; color:var(--muted); font-size:12px; margin-top:4px; }
.stepper { display:flex; align-items:center; gap:8px; flex:none; }
.stepper button { width:44px; height:44px; border:1px solid var(--line); border-radius:50%; background:var(--surface-2); font-size:20px; }
.stepper output { min-width:50px; text-align:center; font-weight:650; font-variant-numeric:tabular-nums; font-size:14px; }
.day-list { display:grid; gap:8px; }
.day-row { padding:12px; border:1px solid var(--line); border-radius:15px; background:var(--surface); }
.day-head { display:flex; align-items:center; gap:12px; min-height:38px; }
.day-head label { flex:1; font-size:14px; font-weight:600; }
.toggle { width:24px; height:24px; accent-color:var(--accent); }
.time-fields { display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:8px 0 0 32px; }
.time-fields input { width:100%; min-height:44px; padding:8px; border:1px solid var(--line); border-radius:10px; background:var(--paper); }
.price-length { margin:12px 0 16px; }
.price-length-head { margin-bottom:8px; font-size:13px; color:var(--muted); }
.price-range { display:grid; grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr); align-items:center; gap:8px; }
.price-adjust { display:grid; grid-template-columns:40px minmax(0,1fr) 40px; gap:4px; min-width:0; }
.price-adjust button { min-height:44px; border:1px solid var(--line); border-radius:11px; background:var(--surface-2); font-size:18px; }
.price-adjust input { min-width:0; width:100%; min-height:44px; padding:8px; border:1px solid var(--line); border-radius:11px; background:var(--paper); font-size:14px; }
.price-range span { text-align:center; color:var(--muted); }
.toggle-line { min-height:54px; padding:8px 0; display:flex; align-items:center; justify-content:space-between; gap:12px; border-top:1px solid var(--line); }
.toggle-line span { font-size:14px; }
.about-preview { background:var(--accent-soft); border-radius:18px; padding:16px; margin-bottom:12px; }
.preview-name { font-family:var(--display); font-size:25px; }
.badge { display:inline-block; background:var(--ink); color:var(--paper); border-radius:20px; padding:4px 12px; font-size:11px; margin-top:8px; }
.preview-price { display:flex; justify-content:space-between; border-bottom:1px solid var(--line); padding:12px 0; font-size:14px; }
.preview-card { border:1px solid var(--line); border-radius:17px; padding:16px; margin:12px 0; background:var(--surface); color:var(--ink); }
.preview-card h2 { margin:0 0 8px; font-size:15px; }
.preview-card p { margin:0; color:var(--muted); line-height:1.45; font-size:14px; }
.answer-card { background:var(--surface-2); color:var(--ink); border-radius:16px 16px 16px 4px; padding:16px; line-height:1.45; font-size:14px; }
.upload-tile { display:block; padding:16px; border:1px dashed var(--muted); border-radius:16px; background:var(--surface); text-align:center; min-height:72px; }
.upload-tile input { position:absolute; width:1px; height:1px; clip-path:inset(50%); }
.photo-count { margin-top:12px; color:var(--muted); font-size:13px; }
.controls { display:flex; align-items:center; justify-content:space-between; gap:12px; border-top:1px solid var(--line); padding-top:16px; }
.back-button, .next-button { min-height:52px; border-radius:15px; padding:0 20px; font-weight:650; }
.back-button { border:1px solid var(--line); background:var(--surface); }
.next-button { min-width:126px; border:1px solid var(--accent); background:var(--accent); color:var(--accent-ink); }
.next-button:hover { filter:brightness(.94); }
.next-button:active, .back-button:active, .chip:active { transform:translateY(1px); }
.back-button:disabled { opacity:.55; cursor:not-allowed; }
.autosave-note { color:var(--muted); font-size:11px; text-align:center; line-height:1.3; flex:1; }
.notice { color:var(--error); font-size:13px; margin-top:12px; }
.success { color:var(--success); }
.is-preview main { padding-top:8px; }
.is-preview .intro { margin-bottom:12px; }
.is-preview .about-preview { padding:12px; }
.is-preview .about-preview p { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.is-preview .preview-card { padding:12px; margin:8px 0; }
.is-preview .preview-price { padding:8px 0; }
.is-preview .answer-card { padding:12px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; } }
@media (prefers-color-scheme: dark) { .next-button:hover { filter:brightness(1.08); } }
@media (max-width:390px) { .shell { padding-left:16px; padding-right:16px; } .autosave-note { display:none; } h1 { font-size:34px; } }
