:root {
  color-scheme: light;
  --ink: #1f2523;
  --muted: #64706b;
  --line: #d9ded9;
  --paper: #fbfbf7;
  --panel: #ffffff;
  --accent: #a83232;
  --accent-2: #28706a;
  --gold: #b7832f;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 10%, rgba(168, 50, 50, 0.12), transparent 30%),
    linear-gradient(135deg, #faf8f0 0%, #eef4f1 48%, #fbf7ee 100%);
  color: var(--ink);
}

button,
input,
select {
  font: inherit;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: end;
  min-height: 260px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

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

h1 {
  margin-bottom: 14px;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.revenue-panel,
.form-panel,
.result-panel,
.paid-report {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 50px rgba(31, 37, 35, 0.08);
}

.revenue-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.revenue-panel div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.revenue-panel div:last-child {
  border-bottom: 0;
}

.revenue-panel span {
  color: var(--muted);
}

.workspace {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 24px;
  margin-top: 28px;
}

.form-panel,
.result-panel {
  padding: 24px;
}

.person-block {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.person-block h2 {
  margin-bottom: 0;
  font-size: 22px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 12px;
}

input:focus,
select:focus {
  border-color: var(--accent-2);
  outline: 3px solid rgba(40, 112, 106, 0.16);
}

.primary,
.secondary {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}

.primary {
  background: var(--accent);
  color: #fff;
}

.secondary {
  background: var(--ink);
  color: #fff;
}

.ghost {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.secondary:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.ghost:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.fineprint {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.counter {
  margin: 12px 0 0;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 800;
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.result-header h2 {
  margin: 0;
}

.score {
  display: grid;
  place-items: center;
  min-width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #f6ead8;
  color: var(--gold);
  font-size: 30px;
}

.free-report {
  display: grid;
  gap: 14px;
  padding: 22px 0;
  color: var(--ink);
  line-height: 1.75;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--paper);
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.metric strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.paid-report {
  padding: 18px;
  background: #fffdf9;
}

.locked {
  position: relative;
}

.locked ul {
  filter: blur(2px);
  user-select: none;
}

.lock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lock-top h3 {
  margin-bottom: 0;
}

.lock-top span {
  color: var(--accent);
  font-weight: 800;
}

li {
  margin: 10px 0;
  line-height: 1.7;
}

.pay-box {
  display: grid;
  gap: 10px;
  justify-items: center;
  margin: 14px 0;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 14px;
  text-align: center;
}

.pay-box[hidden] {
  display: none;
}

.unlock-panel {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.pay-box img {
  width: min(220px, 100%);
  border-radius: 8px;
}

.pay-box p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .shell {
    width: min(100% - 22px, 680px);
    padding: 24px 0;
  }

  .hero,
  .workspace {
    grid-template-columns: 1fr;
  }

  .lead {
    font-size: 17px;
  }

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