:root {
  color-scheme: light;
  --ink: #17221e;
  --muted: #63716a;
  --paper: #f6f4ed;
  --card: #fffdf7;
  --accent: #176b4f;
  --accent-soft: #dceee6;
  --line: #d9ded9;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, #e0f0e6 0, transparent 32rem),
    radial-gradient(circle at 90% 90%, #f2e4c7 0, transparent 28rem),
    var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

button { font: inherit; }

.shell {
  width: min(100% - 28px, 680px);
  margin: 0 auto;
  padding: 38px 0 56px;
}

.card {
  padding: clamp(26px, 6vw, 48px);
  border: 1px solid rgba(23, 34, 30, .08);
  border-radius: 28px;
  background: rgba(255, 253, 247, .94);
  box-shadow: 0 22px 70px rgba(30, 54, 44, .12);
}

.hidden { display: none; }
.hero { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }
.hero.hidden { display: none; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
}

h1, h2, h3 { line-height: 1.25; }
h1 { margin: 0; font-size: clamp(34px, 9vw, 64px); letter-spacing: -.045em; }
h2 { margin: 28px 0 22px; font-size: clamp(24px, 6vw, 38px); }
h3 { margin: 0 0 8px; font-size: 18px; }

.lede {
  margin: 24px 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.notice {
  margin: 4px 0 28px;
  padding: 14px 16px;
  border-radius: 14px;
  color: #53645c;
  background: #eef3ee;
  font-size: 13px;
  line-height: 1.6;
}

.primary, .ghost, .option {
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.primary {
  min-height: 54px;
  padding: 0 24px;
  color: white;
  background: var(--accent);
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(23, 107, 79, .22);
}

.primary:hover, .option:hover { transform: translateY(-2px); }
.primary:focus-visible, .ghost:focus-visible, .option:focus-visible {
  outline: 3px solid #8dc7ae;
  outline-offset: 3px;
}

.progress-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.progress-track {
  height: 8px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--accent-soft);
}

#progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width .25s ease;
}

.options { display: grid; gap: 12px; }
.option {
  padding: 17px 18px;
  text-align: left;
  color: var(--ink);
  background: #f1f5f1;
  border: 1px solid transparent;
  line-height: 1.55;
}
.option:hover { border-color: #9bc7b4; background: #e9f3ed; }

.ghost {
  margin-top: 22px;
  padding: 10px 0;
  color: var(--muted);
  background: transparent;
}

.result { text-align: center; }
.result-label { margin: 0; color: var(--muted); }
.result h2 { margin: 8px 0; }
.result-tagline { margin: 0 auto 24px; max-width: 30rem; color: var(--accent); font-size: 20px; font-weight: 800; }

.score-ring {
  width: 138px;
  height: 138px;
  margin: 26px auto;
  display: grid;
  place-content: center;
  border: 12px solid var(--accent-soft);
  border-top-color: var(--accent);
  border-radius: 50%;
}
.score-ring strong { font-size: 42px; line-height: 1; }
.score-ring span { margin-top: 6px; color: var(--muted); font-size: 12px; }

.report-block {
  margin: 16px 0;
  padding: 20px;
  text-align: left;
  border-radius: 18px;
  background: #f4f5ef;
  line-height: 1.75;
}
.report-block p { margin: 0; }
.report-block ul { margin: 0; padding-left: 20px; }
.result .primary { margin-top: 18px; }
.link-button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

@media (max-width: 520px) {
  .shell { padding-top: 14px; }
  .card { border-radius: 22px; }
}
