:root {
  --bg: #fafaf7;
  --card: #ffffff;
  --ink: #2d3748;
  --muted: #718096;
  --line: #e2e8f0;
  --green: #1b6b5a;
  --green-2: #2a8f7a;
  --gold: #d4a853;
  --red: #e53e3e;
  --soft-green: #e8f5f0;
  --soft-gold: #fff8e7;
  --soft-red: #fff5f5;
  font-family: "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  border: 0;
  background: none;
  color: var(--green);
  font-weight: 800;
  font-size: 20px;
}

.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nav button {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  border-radius: 8px;
  padding: 8px 12px;
}

.nav button:hover,
.nav button.active {
  color: var(--green);
  border-color: #b2dfdb;
  background: var(--soft-green);
}

.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(27, 107, 90, 0.18), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(212, 168, 83, 0.2), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #f4fbf7 45%, #fffaf0 100%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
}

.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  margin: 16px 0 20px;
}

.hero h1 span,
.text-green {
  color: var(--green);
}

.lead {
  color: #4a5568;
  font-size: 18px;
  line-height: 1.8;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  border: 1px solid var(--green);
  background: var(--green);
  color: white;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  text-decoration: none;
}

.btn:hover {
  background: #155a4b;
}

.btn--ghost {
  background: white;
  color: var(--green);
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #253040;
}

.btn--wide {
  width: 100%;
}

.hero-visual {
  min-height: 420px;
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(27, 107, 90, 0.92), rgba(42, 143, 122, 0.78)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.18) 0 1px, transparent 1px 34px);
  position: relative;
  box-shadow: 0 22px 60px rgba(27, 107, 90, 0.24);
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 24px solid rgba(255,255,255,0.18);
}

.hero-visual::before {
  width: 260px;
  height: 260px;
  right: -54px;
  top: -48px;
}

.hero-visual::after {
  width: 190px;
  height: 190px;
  left: 56px;
  bottom: 44px;
}

.visual-card {
  position: absolute;
  inset: auto 32px 32px 32px;
  background: rgba(255,255,255,0.94);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.16);
}

.meter {
  height: 16px;
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.meter span:first-child {
  background: var(--green);
}

.meter span:nth-child(2) {
  background: var(--gold);
}

.section {
  padding: 72px 0;
}

.section--white {
  background: white;
}

.center {
  text-align: center;
}

.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 14px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(45, 55, 72, 0.06);
}

.feature-icon,
.round-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--soft-green);
  color: var(--green);
  font-weight: 900;
}

.risk-bar {
  display: flex;
  height: 56px;
  overflow: hidden;
  border-radius: 12px;
  margin: 28px 0 10px;
}

.risk-bar div {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.risk-bar__preventable {
  width: 45%;
  color: white;
  background: linear-gradient(90deg, var(--green), var(--green-2));
}

.risk-bar__other {
  width: 55%;
  color: #4a5568;
  background: #e2e8f0;
}

.app-shell {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 40px 0;
}

.panel {
  width: min(720px, calc(100% - 32px));
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 10px 30px rgba(45,55,72,0.07);
}

.age-input {
  width: 100%;
  border: 0;
  border-bottom: 3px solid var(--green);
  background: transparent;
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  color: var(--ink);
  padding: 12px 0;
  outline: none;
}

.progress-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.progress {
  width: 180px;
  height: 8px;
  background: #edf2f7;
  border-radius: 999px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--green);
}

.badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  background: var(--soft-green);
  color: var(--green);
}

.badge--gold {
  background: var(--soft-gold);
  color: #8b6914;
}

.choice-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.choice {
  width: 100%;
  border: 2px solid var(--line);
  background: white;
  border-radius: 10px;
  padding: 16px;
  text-align: left;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
}

.choice:hover {
  border-color: var(--green);
  background: #f0fff9;
}

.choice__letter {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 2px solid #cbd5e0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-weight: 800;
  color: var(--muted);
}

.choice:hover .choice__letter {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

.link-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
}

.link-btn:hover {
  color: var(--green);
}

.report {
  padding: 36px 0 64px;
}

.report-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.score-number {
  font-size: clamp(52px, 12vw, 92px);
  line-height: 1;
  color: var(--green);
  font-weight: 900;
}

.risk-row {
  display: grid;
  grid-template-columns: minmax(92px, 160px) 1fr 64px 92px;
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #edf2f7;
  font-size: 14px;
}

.bar-track {
  height: 26px;
  background: #f7fafc;
  border-radius: 7px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 7px;
}

.advice-item {
  border-left: 4px solid var(--green);
  background: #fbfcfa;
  border-radius: 8px;
  padding: 16px;
}

.advice-item.warn {
  border-left-color: var(--red);
}

.advice-item.future {
  border-left-color: var(--gold);
}

.accordion {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  overflow: hidden;
}

.accordion button {
  width: 100%;
  border: 0;
  background: white;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-weight: 800;
}

.accordion__body {
  display: none;
  border-top: 1px solid var(--line);
  padding: 16px;
  color: #4a5568;
}

.accordion.open .accordion__body {
  display: block;
}

.footer {
  background: #2d3748;
  color: #a0aec0;
  padding: 28px 0;
  font-size: 12px;
  text-align: center;
}

.brand small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--muted);
}

.privacy-note,
.disclaimer,
.checkout-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 16px 0 0;
}

.price-tag,
.free-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--soft-gold);
  color: #7a5b12;
  font-size: 13px;
  font-weight: 800;
}

.report-intro { margin-bottom: 28px; }

.score-number small {
  color: var(--muted);
  font-size: 22px;
  font-weight: 700;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-heading h2 { margin-bottom: 0; }

.advice-item + .advice-item { margin-top: 12px; }

.advice-item p { margin: 8px 0 0; color: #4a5568; line-height: 1.65; }

.paywall {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 28px;
  align-items: center;
  margin-top: 20px;
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid #e5cf9a;
  border-radius: 16px;
  background: linear-gradient(135deg, #fffdf8, #fff3d8);
}

.paywall h2 { font-size: clamp(25px, 4vw, 36px); margin-bottom: 14px; }

.paywall ul { padding-left: 20px; color: #4a5568; line-height: 2; margin-bottom: 24px; }

.locked-preview {
  padding: 22px;
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 26px rgba(109, 79, 15, .12);
}

.locked-preview p { font-weight: 800; color: #7a5b12; }

.locked-preview div {
  height: 40px;
  margin-top: 11px;
  border-radius: 8px;
  background: linear-gradient(90deg, #ead9b9 20%, #f8eedc 45%, #ead9b9 70%);
}

.paid-plan {
  margin-top: 20px;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid #b7d8cb;
  border-radius: 16px;
  background: #f7fcf9;
}

.plan-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.plan-item > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-weight: 800;
}

.plan-item h3 { margin-bottom: 8px; }
.plan-item p { color: #4a5568; line-height: 1.6; }
.plan-item ul { padding-left: 20px; color: #4a5568; line-height: 1.8; }

@media (max-width: 820px) {
  .hero__grid,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 300px;
  }

  .progress {
    width: 110px;
  }

  .risk-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .paywall { grid-template-columns: 1fr; }
}

@media print {
  .header,
  .actions,
  .btn,
  .nav {
    display: none !important;
  }

  body {
    background: white;
  }

  .card,
  .panel {
    box-shadow: none;
  }

  .paywall { border: 0; background: white; padding: 0; }

  .locked-preview,
  .checkout-note { display: none; }
}
