:root {
  --ink: #17201d;
  --soft-ink: #44504b;
  --muted: #758078;
  --paper: #f6f1e8;
  --card: rgba(255, 253, 247, 0.94);
  --line: rgba(23, 32, 29, 0.13);
  --forest: #183f32;
  --leaf: #66835f;
  --sand: #d9c39b;
  --amber: #b97735;
  --danger: #8e3f32;
  --shadow: 0 22px 70px rgba(26, 39, 32, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", sans-serif;
  background:
    linear-gradient(120deg, rgba(24, 63, 50, 0.08) 0 1px, transparent 1px 80px),
    radial-gradient(circle at 12% 8%, rgba(185, 119, 53, 0.22), transparent 28rem),
    radial-gradient(circle at 92% 18%, rgba(24, 63, 50, 0.22), transparent 34rem),
    linear-gradient(135deg, #f6efe3 0%, #eef2e9 52%, #f3e6d7 100%);
}

body.no-copy,
body.no-copy * {
  user-select: none;
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: stretch;
  overflow: hidden;
  min-height: 420px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42));
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -12% -42% 50%;
  height: 360px;
  border-radius: 999px;
  background: rgba(24, 63, 50, 0.12);
  transform: rotate(-12deg);
}

.hero-copy,
.hero-card { position: relative; z-index: 1; }

.eyebrow,
.label,
.badge {
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
}

h1, h2, p { margin: 0; }

h1 {
  max-width: 780px;
  margin-top: 14px;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 720px;
  margin-top: 22px;
  color: var(--soft-ink);
  font-size: 19px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 30px;
  color: var(--muted);
}

.primary-link,
button {
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
  background: linear-gradient(135deg, var(--forest), #0f2b22);
  box-shadow: 0 16px 32px rgba(24, 63, 50, 0.24);
}

.primary-link { padding: 14px 20px; }

.hero-card {
  align-self: end;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(150deg, #193f32, #0f2b22);
  box-shadow: 0 24px 70px rgba(24, 63, 50, 0.22);
}

.hero-card span,
.hero-card p { color: rgba(255, 255, 255, 0.72); }

.hero-card strong {
  display: block;
  margin: 12px 0;
  font-size: 28px;
  line-height: 1.2;
}

.flow-grid {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

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

.label {
  display: block;
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
}

.service-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.service-card {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: none;
  transition: transform 160ms ease, border 160ms ease, background 160ms ease;
}

.service-card:hover,
.service-card.active {
  transform: translateY(-2px);
  border-color: rgba(24, 63, 50, 0.48);
  background: rgba(231, 237, 219, 0.86);
}

.service-card strong { display: block; font-size: 17px; }
.service-card span { display: block; margin-top: 5px; color: var(--amber); font-weight: 900; }
.service-card p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.55; }

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.panel-head p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.panel-head strong,
.badge {
  flex: none;
  padding: 9px 13px;
  border-radius: 999px;
  color: #fff;
  background: var(--forest);
}

.question-form { margin-top: 24px; }

.question-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.question-field {
  display: grid;
  gap: 8px;
}

.question-field.wide { grid-column: 1 / -1; }

.question-field label {
  color: var(--forest);
  font-weight: 900;
}

.question-field small {
  color: var(--muted);
  line-height: 1.5;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 15px;
  color: var(--ink);
  font: 15px/1.55 "Avenir Next", "PingFang SC", sans-serif;
  background: rgba(255, 255, 255, 0.76);
  outline: none;
}

textarea { min-height: 104px; resize: vertical; }

button[type="submit"] {
  width: 100%;
  margin-top: 18px;
  padding: 17px 20px;
  font-size: 17px;
}

button:disabled { cursor: wait; opacity: 0.72; box-shadow: none; }

.form-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.result-panel {
  position: relative;
  margin-top: 18px;
}

.badge {
  color: var(--forest);
  font-size: 12px;
  font-weight: 900;
  background: rgba(102, 131, 95, 0.18);
}

.report-summary {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.summary-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.66);
}

.summary-card h3 {
  margin: 0 0 10px;
  color: var(--forest);
}

.summary-card p,
.summary-card li { color: var(--soft-ink); line-height: 1.7; }

.summary-card ul { margin: 0; padding-left: 18px; }

.locked-report {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  margin-top: 18px;
  border: 1px solid rgba(24, 63, 50, 0.16);
  border-radius: 24px;
  background: #fffdf7;
}

.watermark {
  position: absolute;
  inset: 34px auto auto 32px;
  z-index: 2;
  color: rgba(142, 63, 50, 0.5);
  font-weight: 900;
  letter-spacing: 0.18em;
  transform: rotate(-8deg);
}

.blur-lines {
  display: grid;
  gap: 18px;
  padding: 42px 30px;
  filter: blur(4px);
  opacity: 0.58;
}

.blur-lines span {
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(24, 63, 50, 0.22), rgba(185, 119, 53, 0.18));
}

.blur-lines span:nth-child(2n) { width: 74%; }
.blur-lines span:nth-child(3n) { width: 88%; }

.paywall-card {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(420px, calc(100% - 36px));
  transform: translate(-50%, -50%);
  z-index: 3;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  text-align: center;
  background: rgba(255, 253, 247, 0.96);
  box-shadow: var(--shadow);
}

.paywall-card strong { display: block; font-size: 22px; color: var(--forest); }
.paywall-card p { margin-top: 10px; color: var(--muted); line-height: 1.7; }
.paywall-card button { margin-top: 16px; padding: 13px 18px; }

.full-report {
  margin: 20px 0 0;
  max-height: 620px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  color: #203225;
  background: #fffdf6;
  white-space: pre-wrap;
  word-break: break-word;
  font: 14px/1.7 "SFMono-Regular", Consolas, monospace;
  user-select: text;
}

@media (max-width: 880px) {
  .shell { width: min(100% - 22px, 1180px); padding: 22px 0 42px; }
  .hero, .flow-grid, .question-list { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 24px; border-radius: 28px; }
  .hero-card { align-self: stretch; }
  .panel-head { flex-direction: column; }
  .catalog, .form-panel, .result-panel { padding: 20px; border-radius: 24px; }
}
