* { box-sizing: border-box; }
:root {
  color-scheme: light;
  --bg: #f6f3ee;
  --card: #fffaf2;
  --ink: #1d2329;
  --muted: #5d6670;
  --line: #e4d9ca;
  --accent: #8b4d2e;
  --accent-dark: #653620;
  --good: #2f6f4e;
  --shadow: 0 18px 45px rgba(60, 45, 30, 0.12);
}
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #fff8ed 0, var(--bg) 42rem);
  color: var(--ink);
}
[hidden] { display: none !important; }
.shell { width: min(100%, 780px); margin: 0 auto; padding: 22px 16px 42px; }
.hero { padding: 18px 2px 10px; }
.brand-row { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--muted); font-weight: 850; }
.brand-row img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 8px 18px rgba(60, 45, 30, .12); }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .76rem; }
h1 { margin: 0; font-size: clamp(2rem, 11vw, 4.4rem); line-height: .95; letter-spacing: -.06em; }
h2 { margin: 0 0 12px; font-size: 1.35rem; letter-spacing: -.02em; }
.lede { color: var(--muted); font-size: 1.05rem; line-height: 1.5; max-width: 38rem; }
.pill-row, .button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-row span { border: 1px solid var(--line); background: rgba(255,255,255,.7); border-radius: 999px; padding: 8px 11px; font-size: .87rem; color: var(--muted); }
.card { background: rgba(255,250,242,.92); border: 1px solid var(--line); border-radius: 24px; padding: 18px; margin: 16px 0; box-shadow: var(--shadow); }
label { display: block; font-weight: 750; margin: 12px 0 8px; }
select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 16px; background: #fffefb; color: var(--ink); padding: 13px 14px; font: inherit; }
textarea { resize: vertical; }
.summary, .helper { color: var(--muted); line-height: 1.5; }
.steps { margin: 0; padding-left: 1.35rem; color: var(--muted); line-height: 1.5; }
.steps li { margin: 8px 0; }
.steps strong { color: var(--ink); }
.how-card { border-color: rgba(139, 77, 46, .22); }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-weight: 650; }
.check-row input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--accent); }
.progress-line { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .9rem; font-weight: 750; }
.meter { height: 9px; border-radius: 999px; background: #eadfce; margin: 10px 0 18px; overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #c8824d); transition: width .2s ease; }
#question-prompt { font-size: clamp(1.55rem, 7vw, 2.7rem); line-height: 1.08; }
.tiny { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.strong { color: var(--ink); font-weight: 850; }
.recorder-panel, .fallback { border: 1px dashed #d6c4ac; border-radius: 18px; padding: 14px; margin: 16px 0; background: rgba(255,255,255,.55); }
button, .download-link { appearance: none; border: 0; border-radius: 999px; padding: 12px 16px; font: inherit; font-weight: 850; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
button { background: var(--accent); color: white; }
button:hover { background: var(--accent-dark); }
button:disabled { background: #c8b8a7; cursor: not-allowed; }
#prev-button { background: #ebe0d2; color: var(--ink); }
.download-link { background: #eaf5ee; color: var(--good); margin-top: 12px; }
.nav-row { justify-content: space-between; margin-top: 16px; }
audio { width: 100%; margin-top: 12px; }
.submit-card { border-color: rgba(47,111,78,.25); }
@media (min-width: 680px) { .shell { padding-top: 42px; } .card { padding: 24px; } }
