@font-face { font-family: 'Jakarta'; src: url('/fonts/jakarta-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/fonts/jakarta-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/fonts/jakarta-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/fonts/jakarta-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/fonts/jakarta-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-2: #fbfaf7;
  --ink: #132320;
  --ink-2: #33433f;
  --muted: #5f6e6a;
  --line: #e7e1d5;
  --line-strong: #d6cebf;
  --brand: #0d6b5c;
  --brand-hover: #0a5a4d;
  --brand-ink: #ffffff;
  --brand-soft: #e2f1ec;
  --brand-softer: #f0f8f5;
  --accent: #e8962e;
  --accent-soft: #fdf0dc;
  --accent-ink: #7a4a0c;
  --danger: #b3372d;
  --danger-soft: #fbe9e7;
  --ok: #1f7a4d;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(19, 35, 32, .05), 0 8px 24px rgba(19, 35, 32, .06);
  --shadow-lg: 0 2px 6px rgba(19, 35, 32, .06), 0 20px 48px rgba(19, 35, 32, .10);
  --font: 'Jakarta', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --page: 1120px;
  --narrow: 720px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
svg[viewBox="0 0 24 24"] { width: 20px; height: 20px; flex: none; }
.key-card .row svg { color: var(--accent-ink); }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(28px, 6vw, 44px); font-weight: 800; }
h2 { font-size: clamp(21px, 3.6vw, 28px); font-weight: 750; }
h3 { font-size: 18px; font-weight: 700; }
h4 { font-size: 14px; font-weight: 700; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Startup */
.startup { min-height: 100vh; display: grid; place-content: center; gap: 12px; justify-items: center; color: var(--muted); }

/* Shell */
.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.topbar.scrolled, .topbar.solid { border-bottom-color: var(--line); }
.topbar-inner { max-width: var(--page); margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: -.04em; }
.brand-name { font-size: 17px; }
.topbar .spacer { flex: 1; }
.lang-switch { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch button { border: 0; background: none; padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.lang-switch button.active { background: var(--ink); color: #fff; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; text-decoration: none; border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent); }

main { flex: 1; }
.page { max-width: var(--page); margin: 0 auto; padding: 20px 16px 48px; }
.page.narrow { max-width: var(--narrow); }
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-inner { max-width: var(--page); margin: 0 auto; padding: 18px 16px 28px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; background: var(--brand); color: var(--brand-ink); font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { background: var(--brand-hover); }
.btn:active { transform: translateY(1px); }
.btn.big { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn.block { width: 100%; }
.btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn.secondary:hover { background: var(--surface-2); border-color: var(--ink-2); }
.btn.ghost { background: transparent; color: var(--ink-2); border-color: transparent; }
.btn.ghost:hover { background: rgba(19, 35, 32, .05); }
.btn.danger { background: var(--danger); color: #fff; }
.btn.danger-ghost { background: transparent; color: var(--danger); border-color: color-mix(in srgb, var(--danger) 35%, transparent); }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link { background: none; border: 0; padding: 0; color: var(--brand); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Text helpers */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; color: var(--muted); }
.lead { font-size: clamp(17px, 2.4vw, 20px); color: var(--ink-2); }
.stack > * + * { margin-top: 12px; }
.stack-lg > * + * { margin-top: 24px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.mt { margin-top: 16px; }
.mt-lg { margin-top: 32px; }
.preserve-lines { white-space: pre-wrap; }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.pill.brand { background: var(--brand-soft); color: var(--brand); border-color: transparent; }
.pill.accent { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }
.pill.danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card.soft { background: var(--surface-2); box-shadow: none; }
.card.flat { box-shadow: none; }
.card-head { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.card-head p { margin-top: 4px; }
.grid { display: grid; gap: 14px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.section { margin-top: 28px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }

/* Alerts and toasts */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--danger-soft); color: #7d2119; font-size: 14.5px; margin-bottom: 16px; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--brand-softer); color: var(--ink-2); font-size: 14px; }
.note.warn { background: var(--accent-soft); color: var(--accent-ink); }
.note svg, .alert svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 50; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); animation: toast-in .25s ease; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } }

/* Landing */
.hero { display: grid; gap: 28px; align-items: center; padding: 20px 0 8px; }
.hero h1 { max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { margin-top: 14px; max-width: 34ch; }
.hero-cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 13.5px; }
.hero-meta span { display: inline-flex; gap: 6px; align-items: center; }
.hero-meta svg { width: 16px; height: 16px; color: var(--brand); }
.demo-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: var(--shadow-lg); position: relative; }
.demo-card .demo-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.demo-q { padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.demo-q + .demo-q { margin-top: 8px; }
.demo-q small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.demo-q strong { font-size: 14.5px; font-weight: 650; line-height: 1.4; display: block; }
.demo-feedback { margin-top: 12px; padding: 14px; border-radius: 14px; background: var(--brand-softer); border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent); }
.demo-feedback .score { font-size: 28px; font-weight: 800; color: var(--brand); line-height: 1; }
.demo-feedback ul { margin: 8px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--ink-2); }
.steps { display: grid; gap: 12px; counter-reset: step; }
.step { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.step-icon { width: 44px; height: 44px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.step-icon svg { width: 22px; height: 22px; }
.step h3 { font-size: 16.5px; }
.step p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.price-strip { display: grid; gap: 12px; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; display: flex; flex-direction: column; gap: 10px; }
.price-card.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.price-card .badge { position: absolute; top: -12px; left: 18px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.price { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.price small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.checks li { display: flex; gap: 8px; align-items: flex-start; }
.checks svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 2px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 16px; }
.faq details + details { margin-top: 8px; }
.faq summary { cursor: pointer; padding: 15px 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 700; color: var(--muted); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding-bottom: 15px; color: var(--muted); font-size: 14.5px; }

/* Home list */
.app-list { display: grid; gap: 12px; }
.app-item { display: flex; gap: 14px; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.app-item:hover { border-color: var(--brand); transform: translateY(-1px); }
.app-item h3 { font-size: 16.5px; }
.app-item .chev { color: var(--muted); }

/* Page header */
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.back:hover { color: var(--ink); }
.back svg { width: 16px; height: 16px; }
.page-title { margin-bottom: 20px; }
.page-title p { margin-top: 8px; color: var(--muted); }

/* Progress steps */
.progress-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 4px 0 18px; }
.progress-steps div { height: 6px; border-radius: 999px; background: var(--line); }
.progress-steps div.done { background: var(--brand); }
.progress-steps div.current { background: linear-gradient(90deg, var(--brand) 50%, var(--line) 50%); }
.progress-labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: -10px; margin-bottom: 18px; }
.progress-labels .on { color: var(--ink); }

/* Next step hero card */
.next-card { background: linear-gradient(135deg, #0d6b5c, #0f7d6b); color: #fff; border-radius: 24px; padding: 22px; box-shadow: var(--shadow-lg); }
.next-card .eyebrow { color: #bfe7dc; }
.next-card h2 { color: #fff; margin-top: 6px; }
.next-card p { color: #d8efe8; margin-top: 8px; }
.next-card .btn { margin-top: 18px; background: #fff; color: var(--brand); }
.next-card .btn:hover { background: #f1faf7; }
.next-card .btn.secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }

/* Questions */
.qlist { display: grid; gap: 10px; counter-reset: q; }
.qcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; gap: 14px; }
.qnum { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-weight: 800; display: grid; place-items: center; flex: none; font-size: 14px; }
.qcard strong { font-size: 16px; font-weight: 650; line-height: 1.45; display: block; }
.qcard .why { margin-top: 6px; color: var(--muted); font-size: 14px; }

/* Lists */
.bullets { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); }
.fit-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.fit-row:first-child { border-top: 0; padding-top: 0; }
.fit-row .mark { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; margin-top: 1px; }
.fit-row .mark.yes { background: var(--brand-soft); color: var(--brand); }
.fit-row .mark.no { background: var(--accent-soft); color: var(--accent-ink); }
.fit-row .mark svg { width: 14px; height: 14px; }
.fit-row strong { font-weight: 650; display: block; }
.fit-row p { color: var(--muted); font-size: 14px; margin-top: 2px; }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.form-card + .form-card { margin-top: 14px; }
.form-card .card-head { margin-bottom: 12px; }
.step-badge { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
.step-badge.done { background: var(--brand-soft); color: var(--brand); }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 650; font-size: 14.5px; }
.field label span, .field .label span { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line-strong); background: var(--surface); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field textarea.short { min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.help { font-size: 13px; color: var(--muted); }
.upload { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--brand); cursor: pointer; padding: 6px 12px; border-radius: 999px; background: var(--brand-softer); border: 1px dashed color-mix(in srgb, var(--brand) 40%, transparent); }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload svg { width: 16px; height: 16px; }
.field-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.optional { margin-top: 14px; }
.optional summary { cursor: pointer; font-weight: 650; color: var(--brand); list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.optional summary::-webkit-details-marker { display: none; }
.optional summary::before { content: '+'; font-weight: 800; }
.optional[open] summary::before { content: '−'; }
.optional .form-grid { margin-top: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); }

/* Choice cards */
.choices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.choice { position: relative; display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line-strong); border-radius: var(--radius); padding: 16px; cursor: pointer; background: var(--surface); transition: border-color .15s, background .15s; }
.choice input { position: absolute; opacity: 0; }
.choice .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; margin-top: 2px; }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-softer); }
.choice:has(input:checked) .radio { border: 6px solid var(--brand); }
.choice:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
.choices.pair { grid-template-columns: 1fr 1fr; }
.choice.locked { cursor: not-allowed; opacity: .6; }
.choice strong { display: block; font-weight: 700; }
.choice p { color: var(--muted); font-size: 14px; margin-top: 3px; }

/* Sticky action bar (mobile) */
.action-bar { position: sticky; bottom: 0; z-index: 15; margin: 20px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.action-bar .hint { font-size: 13px; color: var(--muted); }
.action-bar .btn { flex: 1; }
.action-bar .btn.secondary, .action-bar .btn.ghost { flex: 0 0 auto; }

/* Tabs */
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; overflow-x: auto; scrollbar-width: none; margin: 18px 0; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: 1 0 auto; border: 0; background: none; padding: 9px 14px; border-radius: 999px; font-weight: 650; font-size: 14px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tabs button.active { background: var(--ink); color: #fff; }

/* Session */
.session-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 999px; transition: width .3s; }
.question { margin: 18px 0; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px 22px; box-shadow: var(--shadow); }
.question .pill { margin-bottom: 12px; }
.question blockquote { margin: 0; font-size: clamp(19px, 3.4vw, 24px); font-weight: 700; line-height: 1.35; letter-spacing: -.015em; }
.answer-box textarea { min-height: 200px; }
.recorder { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rec-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); display: grid; place-items: center; cursor: pointer; color: var(--danger); flex: none; }
.rec-btn svg { width: 20px; height: 20px; }
.rec-btn.on { background: var(--danger); color: #fff; border-color: var(--danger); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--danger) 40%, transparent); } 50% { box-shadow: 0 0 0 8px transparent; } }
.timer { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--muted); }
audio { max-width: 100%; height: 40px; }
.attempt { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--surface); }
.attempt + .attempt { margin-top: 10px; }
.attempt header { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.attempt > p { white-space: pre-wrap; color: var(--ink-2); }
.processing { text-align: center; padding: 32px 20px; }
.processing .spin { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-size: 24px; font-weight: 800; }

/* Feedback */
.feedback { margin-top: 12px; border-radius: var(--radius); background: var(--brand-softer); border: 1px solid color-mix(in srgb, var(--brand) 16%, transparent); padding: 16px; }
.feedback-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.score-badge { min-width: 56px; height: 56px; border-radius: 16px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 800; padding: 0 8px; }
.score-badge.low { background: var(--accent); }
.score-badge.none { background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; text-align: center; line-height: 1.2; }
.feedback-section + .feedback-section { margin-top: 12px; }
.feedback-section h4 { margin-bottom: 6px; color: var(--ink-2); }
.feedback-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14.5px; color: var(--ink-2); }
.feedback-quote { margin: 0 0 10px; padding: 10px 12px; border-left: 3px solid var(--brand); background: var(--surface); border-radius: 0 10px 10px 0; font-size: 14px; color: var(--ink-2); }
.feedback-quote span { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.signals { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.signals li { display: grid; grid-template-columns: 1fr 96px 34px; gap: 10px; align-items: center; font-size: 13.5px; }
.signals .meter { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.signals .meter i { display: block; height: 100%; background: var(--brand); }
.signals strong { text-align: right; font-size: 13px; }

/* Report */
.report-hero { display: grid; gap: 18px; align-items: center; grid-template-columns: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.ring { --p: 0; width: 104px; height: 104px; border-radius: 50%; background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--line) 0); display: grid; place-items: center; }
.ring span { width: 82px; height: 82px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 28px; font-weight: 800; }
.ring.none span { font-size: 13px; text-align: center; color: var(--muted); font-weight: 700; line-height: 1.2; }
.comp-row { display: grid; grid-template-columns: 1fr 110px 40px; gap: 10px; align-items: center; padding: 8px 0; font-size: 14.5px; }
.comp-row strong { text-align: right; }
.answer-acc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.answer-acc + .answer-acc { margin-top: 10px; }
.answer-acc > summary { cursor: pointer; list-style: none; padding: 16px 18px; display: flex; gap: 12px; align-items: center; justify-content: space-between; font-weight: 650; }
.answer-acc > summary::-webkit-details-marker { display: none; }
.answer-acc > summary .q { flex: 1; }
.answer-acc .acc-body { padding: 0 18px 18px; }

/* Account page */
.auth-card { max-width: 440px; margin: 0 auto; }
.key-box { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; word-break: break-all; background: var(--surface-2); border: 1px dashed var(--line-strong); padding: 12px; border-radius: var(--radius-sm); }
.danger-zone { border-color: color-mix(in srgb, var(--danger) 25%, transparent); }

.order-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.order-row:first-of-type { border-top: 0; }

.empty { text-align: center; padding: 28px 16px; color: var(--muted); }
.empty h3 { color: var(--ink); margin-bottom: 6px; }

/* Wider screens */
@media (min-width: 760px) {
  .page { padding: 32px 24px 80px; }
  .topbar-inner, .footer-inner { padding-left: 24px; padding-right: 24px; }
  .hero { grid-template-columns: 1.1fr .9fr; padding: 40px 0 16px; gap: 48px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { flex-direction: column; }
  .price-strip { grid-template-columns: repeat(2, minmax(0, 340px)); }
  .action-bar { position: static; margin: 22px 0 0; padding: 0; background: none; border: 0; backdrop-filter: none; justify-content: flex-end; }
  .action-bar .btn { flex: 0 0 auto; }
  .next-card { padding: 28px; }
  .toast { bottom: 32px; }
}
@media (max-width: 559px) {
  .action-bar .btn { flex: 1 1 0; min-width: 0; white-space: normal; line-height: 1.2; text-align: center; padding: 0 14px; }
  .action-bar .btn.big { font-size: 15px; }
  .action-bar .hint { display: none; }
  .action-bar > span:empty { display: none; }
}
@media (max-width: 420px) {
  .brand-name { display: none; }
  .report-hero { grid-template-columns: 1fr; justify-items: start; }
}

@media print {
  .topbar, .footer, .no-print, .action-bar, .toast { display: none !important; }
  body { background: #fff; }
  .card, .answer-acc, .report-hero { box-shadow: none; }
  .answer-acc > summary { pointer-events: none; }
  details.answer-acc:not([open]) > .acc-body { display: block; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Spacing hooks (no inline styles under the CSP) */
[data-gap="b14"] { margin-bottom: 14px; }
[data-gap="b20"] { margin-bottom: 20px; }
[data-gap="t10"] { margin-top: 10px; }
[data-gap="t6"] { margin-top: 6px; }
[data-gap="pb0"] { padding-bottom: 0 !important; }
[data-gap="center"] { text-align: center; }
.demo-title { font-size: 16px; }
strong.plain { font-weight: 600; }
.key-card { border-color: var(--accent); }
