:root {
  --bg: #17120f;
  --card: #241b16;
  --card2: #2d221b;
  --text: #fff6e8;
  --muted: #cdbda8;
  --accent: #ffb23f;
  --accent2: #ffdf9e;
  --danger: #e96f44;
  --line: rgba(255,255,255,.12);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255,178,63,.18), transparent 34rem),
    linear-gradient(180deg, #17120f 0%, #100d0b 100%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
}
a { color: inherit; }
.wrap {
  width: min(920px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 48px;
}
.hero {
  padding: 28px 4px 18px;
  text-align: center;
}
.hero h1,
.result-hero h1 {
  margin: 12px 0 10px;
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 1.1;
  letter-spacing: -.04em;
}
.hero p,
.lead {
  color: var(--muted);
  margin: 0 auto;
  max-width: 680px;
  font-size: 1.02rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border: 1px solid rgba(255,178,63,.45);
  border-radius: 999px;
  color: var(--accent2);
  background: rgba(255,178,63,.12);
  font-weight: 700;
  font-size: .82rem;
}
.card {
  margin: 16px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)), var(--card);
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}
.question-card { max-width: 720px; margin-left: auto; margin-right: auto; }
.step {
  color: var(--accent);
  font-weight: 800;
  font-size: .92rem;
  margin-bottom: 6px;
}
h2 {
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 5.4vw, 2.2rem);
  line-height: 1.25;
}
.choices {
  display: grid;
  gap: 12px;
}
.choice-btn {
  appearance: none;
  width: 100%;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  padding: 15px 16px;
  color: var(--text);
  background: var(--card2);
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.choice-btn:hover,
.choice-btn:focus {
  transform: translateY(-1px);
  border-color: rgba(255,178,63,.65);
  background: #34261d;
}
.choice-key {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,178,63,.16);
  color: var(--accent2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-weight: 900;
}
.back-link,
.primary-link {
  display: inline-flex;
  justify-content: center;
  margin-top: 18px;
  color: var(--accent2);
  text-decoration: none;
  font-weight: 800;
}
.result-hero { text-align: center; }
.big-text {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--accent2);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.product-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0,0,0,.18);
}
.product-role {
  color: var(--accent);
  font-size: .86rem;
  font-weight: 900;
}
.product-card h3 {
  margin: 6px 0 8px;
  line-height: 1.35;
}
.product-card p { color: var(--muted); margin: 0 0 12px; }
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.links a {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,178,63,.13);
  border: 1px solid rgba(255,178,63,.26);
  color: var(--accent2);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 800;
}
.note {
  color: var(--muted);
  font-size: .88rem;
  margin-top: 16px;
}
.muted-card { background: rgba(255,255,255,.04); }
.answer-list { margin: 0; padding-left: 1.2em; color: var(--muted); }
.actions { text-align: center; }
.primary-link {
  padding: 13px 18px;
  border-radius: 999px;
  color: #1b1208;
  background: var(--accent);
  box-shadow: 0 12px 30px rgba(255,178,63,.18);
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 22px, 920px); padding-top: 16px; }
  .card { padding: 18px; border-radius: 18px; }
  .hero { padding-top: 18px; }
  .choice-btn { font-size: 1rem; padding: 14px; }
  .product-grid { grid-template-columns: 1fr; }
}
