:root {
  --dark: #121212; --orange: #F15D12; --light: #F2F2F2;
  --mid: #2A2A2A; --muted: #6B6B6B; --white: #FFFFFF;
  --rule: rgba(242,242,242,0.07); --glow: rgba(241,93,18,0.14);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Public Sans', Arial, sans-serif;
  background: var(--dark); color: var(--light);
  min-height: 100vh; -webkit-font-smoothing: antialiased; line-height: 1.5;
}
body::after {
  content: ''; position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 180px; pointer-events: none; z-index: 9999; opacity: 0.35;
}
.wrap { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 24px; }
header { display: flex; align-items: center; justify-content: space-between; padding: 28px 0 0; }
header .back { font-size: 0.8125rem; font-weight: 500; color: var(--muted); cursor: pointer; }
header .back:hover { color: var(--light); }
header .logo { height: 40px; width: auto; display: block; }
.progress { margin: 40px 0 36px; display: flex; align-items: center; gap: 12px; }
.progress .label { font-size: 0.6875rem; font-weight: 600; color: var(--muted); letter-spacing: 0.05em; white-space: nowrap; }
.progress .bar { flex: 1; height: 2px; background: var(--mid); border-radius: 1px; }
.progress .bar .fill { height: 100%; background: var(--orange); transition: width 0.4s ease; width: 0%; border-radius: 1px; }
.progress .pct { font-size: 0.6875rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.eyebrow { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800;
  letter-spacing: -0.02em; color: var(--white); margin-bottom: 12px; line-height: 1.08;
}
.sub { font-size: 0.9375rem; color: var(--muted); margin-bottom: 32px; max-width: 480px; line-height: 1.6; }
.options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.opt {
  display: flex; align-items: center; gap: 16px;
  width: 100%; text-align: left;
  padding: 16px 20px; border-radius: 10px;
  background: var(--mid); border: 1px solid var(--rule);
  color: var(--light); font-family: 'Public Sans', sans-serif;
  font-size: 0.9375rem; font-weight: 500; cursor: pointer;
  transition: all 0.15s;
}
.opt:hover { border-color: var(--orange); background: rgba(241,93,18,0.06); }
.opt.selected { border-color: var(--orange); background: rgba(241,93,18,0.12); color: var(--white); }
.opt .num { font-size: 0.75rem; font-weight: 600; color: var(--muted); min-width: 24px; }
.opt.selected .num { color: var(--orange); }
.count { font-size: 0.8125rem; color: var(--muted); margin-bottom: 24px; }
.slider-group { margin: 32px 0; }
.slider-group input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; background: var(--mid); border-radius: 2px;
  outline: none; margin-bottom: 16px;
}
.slider-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange); cursor: pointer;
  border: 2px solid var(--white); box-shadow: 0 0 12px var(--glow);
}
.slider-group input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange); cursor: pointer;
  border: 2px solid var(--white);
}
.slider-labels { display: flex; justify-content: space-between; margin-top: 8px; }
.slider-labels span { font-size: 0.8125rem; color: var(--muted); }
.slider-value { text-align: center; font-size: 1.75rem; font-weight: 800; color: var(--orange); margin-bottom: 4px; font-family: 'Bricolage Grotesque', sans-serif; letter-spacing: -0.02em; }
.slider-sub { text-align: center; font-size: 0.8125rem; color: var(--muted); }
.btn-row { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 8px;
  font-family: 'Public Sans', sans-serif; font-size: 0.875rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s; border: none; text-decoration: none;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: #d84f0a; transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.3; cursor: default; transform: none; }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--light); }
.step { display: none; }
.step.active { display: block; }
.field { margin-bottom: 20px; }
.field input {
  width: 100%; padding: 14px 16px; border-radius: 8px;
  background: var(--mid); border: 1px solid var(--rule);
  color: var(--light); font-family: 'Public Sans', sans-serif;
  font-size: 0.9375rem; outline: none; transition: border-color 0.2s;
}
.field input:focus { border-color: var(--orange); }
.field input::placeholder { color: var(--muted); }
.result { display: none; }
.result.active { display: block; }
.diag-list { margin: 24px 0; }
.diag-list ul { list-style: none; padding: 0; }
.diag-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; font-size: 0.9375rem; color: var(--light);
  border-bottom: 1px solid var(--rule); line-height: 1.5;
}
.diag-list li:last-child { border-bottom: none; }
.diag-list li .x {
  width: 20px; height: 20px; flex-shrink: 0;
  background: rgba(241,93,18,0.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.diag-list li .x svg { width: 12px; height: 12px; color: var(--orange); }
.diag-lede { font-size: 0.9375rem; color: var(--muted); line-height: 1.65; margin-bottom: 8px; }
.diag-cta { font-size: 0.875rem; color: var(--muted); line-height: 1.6; margin-bottom: 24px; }
.result-preview { margin: 32px 0; }
.cta-block { text-align: center; padding: 48px 0; border-top: 1px solid var(--rule); margin-top: 32px; }
.cta-block h2 { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.cta-block .cta-sub { font-size: 0.8125rem; color: var(--muted); margin-bottom: 24px; }
footer { padding: 32px 0; border-top: 1px solid var(--rule); margin-top: 48px; }
footer p { font-size: 0.75rem; color: var(--muted); text-align: center; }
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .opt { padding: 14px 16px; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; }
}
