:root {
  color-scheme: light;
  --orange: #ff914d;
  --orange-dark: #e97632;
  --ink: #2e2c2c;
  --muted: #6e6966;
  --paper: #ffffff;
  --surface: #f7f5f3;
  --line: #e8e2de;
  --shadow: 0 18px 45px rgba(46, 44, 44, 0.08);
  --radius: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(255, 145, 77, 0.13), transparent 36rem),
    var(--surface);
  line-height: 1.55;
}

button, a { font: inherit; }

.site-shell {
  width: min(100% - 28px, 760px);
  margin: 0 auto;
  padding: 22px 0 48px;
}

.brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.brand {
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand span { color: var(--orange-dark); }

.mini-tag {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.progress-wrap {
  margin-bottom: 16px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.progress-track {
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9e4e0;
}

.progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--orange);
  transition: width 180ms ease;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(22px, 5vw, 38px);
}

.question-card { min-height: 520px; }

.eyebrow {
  margin-bottom: 10px;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 { font-size: clamp(1.85rem, 7vw, 3rem); }
h2 { font-size: clamp(1.45rem, 5vw, 2.15rem); }
h3 { margin-bottom: 6px; font-size: 1.05rem; }
p { margin-top: 0; }

.answers {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.answer {
  width: 100%;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 140ms ease, transform 140ms ease, background 140ms ease;
}

.answer:hover { border-color: #d9c8bd; transform: translateY(-1px); }
.answer:focus-visible, .button:focus-visible { outline: 3px solid rgba(255, 145, 77, 0.35); outline-offset: 2px; }
.answer.is-selected { border-color: var(--orange); background: #fff6f0; }

.navigation {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 13px;
  padding: 12px 18px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button:disabled { cursor: not-allowed; opacity: 0.42; }
.button-primary { background: var(--orange); color: #1f1c1a; }
.button-primary:hover { background: #ff8338; }
.button-secondary { background: #eee9e5; color: var(--ink); }
.button-wide { width: 100%; text-align: center; }

.validation { margin-top: 12px; color: #a13f22; font-weight: 750; }

.result-shell { display: grid; gap: 16px; }
.result-hero { background: var(--ink); color: #fff; border-color: var(--ink); }
.result-hero .eyebrow { color: #ffb789; }
.result-hero p { margin-bottom: 0; color: #f0ece9; }

.lever-card h2 { color: var(--orange-dark); }
.evidence {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--orange);
  background: #fff7f2;
  border-radius: 0 10px 10px 0;
  font-size: 0.94rem;
}

.priorities {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.priorities li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.priority-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  font-weight: 900;
}

.priorities p { margin-bottom: 0; color: var(--muted); }

.levels {
  display: grid;
  gap: 10px;
  margin: 20px 0 26px;
}

.levels article {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fcfbfa;
}

.levels article span { display: block; margin-bottom: 5px; font-weight: 900; color: var(--orange-dark); }
.levels p { margin-bottom: 0; }

.week-plan {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.week-plan li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.week-plan strong { color: var(--orange-dark); }
.stop-card { background: #fff9f5; }
.stop-card ul { margin-bottom: 0; padding-left: 20px; }
.stop-card li + li { margin-top: 8px; }
.next-step-card p { color: var(--muted); }

.safety {
  padding: 2px 8px 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.noscript {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  background: #fff3ec;
  font-weight: 700;
}

@media (min-width: 640px) {
  .site-shell { padding-top: 34px; }
  .levels { grid-template-columns: repeat(3, 1fr); }
  .question-card { min-height: 560px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
