:root {
  --ink: #102b36;
  --muted: #66787f;
  --soft: #8b969a;
  --paper: #f5f2eb;
  --panel: rgba(255, 255, 255, 0.82);
  --white: #ffffff;
  --orange: #ed6c3d;
  --orange-dark: #cf5227;
  --teal: #267a75;
  --line: #d8d8d0;
  --line-dark: rgba(16, 43, 54, 0.18);
  --shadow: 0 28px 70px rgba(24, 50, 60, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 2%, rgba(237, 210, 174, 0.48), transparent 26rem),
    var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { touch-action: manipulation; }
[hidden] { display: none !important; }

.shell,
.topbar {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(16, 43, 54, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0;
  transform: rotate(-7deg);
}

.version {
  padding: 7px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.method-link {
  margin-left: auto;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.hero {
  padding-block: 72px 84px;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(560px, 1.28fr);
  align-items: start;
  gap: clamp(48px, 7vw, 88px);
}

.hero-copy {
  position: sticky;
  top: 36px;
  padding-top: 30px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: SimSun, "Songti SC", serif;
  font-size: clamp(54px, 5.7vw, 82px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.lead {
  max-width: 430px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.promise-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 28px;
  color: var(--soft);
  font-size: 11px;
}

.promise-row span::before {
  content: "·";
  margin-right: 8px;
  color: var(--orange);
  font-weight: 900;
}

.valuation-form {
  padding: 34px 38px 28px;
  border: 1px solid rgba(16, 43, 54, 0.14);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.form-heading,
.section-heading-inline,
.results-heading,
.basis-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.form-heading {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.form-heading > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-heading h2,
.basis-heading h2 {
  margin: 0;
  font-size: 22px;
}

.step-label {
  padding: 6px 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.required-note,
.section-heading-inline span {
  color: var(--soft);
  font-size: 11px;
}

.form-section {
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

.form-section h3 {
  margin: 0 0 16px;
  font-size: 14px;
}

.section-heading-inline h3 { margin-bottom: 0; }
.section-heading-inline { margin-bottom: 16px; }

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.field {
  min-width: 0;
  display: grid;
  gap: 8px;
  color: #52666d;
  font-size: 12px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  height: 52px;
  min-width: 0;
  border: 1px solid #ced3d1;
  border-radius: 4px;
  outline: none;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  padding: 0 14px;
  font-size: 14px;
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  border-color: var(--teal);
  outline: 3px solid rgba(38, 122, 117, 0.16);
  outline-offset: 1px;
}

.input-suffix {
  position: relative;
  display: block;
}

.input-suffix input { padding-right: 72px; }

.input-suffix b {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}

.choice-field {
  margin: 22px 0 0;
  padding: 0;
  border: 0;
}

.choice-field legend {
  margin-bottom: 10px;
  color: #52666d;
  font-size: 12px;
  font-weight: 800;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.choice {
  min-height: 46px;
  padding: 8px;
  border: 1px solid #ced3d1;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.choice.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  box-shadow: inset 0 -3px var(--orange);
}

.new-energy-fields {
  margin-inline: -12px;
  padding-inline: 12px;
  background: rgba(38, 122, 117, 0.055);
}

.estimate-button {
  width: 100%;
  min-height: 60px;
  margin-top: 26px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 4px;
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(237, 108, 61, 0.26);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.estimate-button:hover { background: var(--orange-dark); }
.estimate-button b { font-size: 20px; }

.privacy-note {
  margin: 12px 0 0;
  color: var(--soft);
  text-align: center;
  font-size: 10px;
}

.results {
  padding-block: 76px 88px;
  border-top: 1px solid var(--line-dark);
}

.results-heading {
  align-items: flex-end;
  margin-bottom: 24px;
}

.results-heading .eyebrow { margin-bottom: 10px; }

.results-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
}

.results-heading p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.model-badge {
  padding: 8px 12px;
  border: 1px solid rgba(38, 122, 117, 0.28);
  border-radius: 999px;
  color: var(--teal);
  background: rgba(38, 122, 117, 0.06);
  font-size: 11px;
  font-weight: 900;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.result-card {
  min-width: 0;
  min-height: 190px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.66);
}

.result-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.purchase-card,
.retail-card {
  background: var(--ink);
  color: var(--white);
}

.purchase-card > p,
.retail-card > p { color: #b8c7cc; }

.max-card { border-top: 4px solid var(--orange); }
.margin-card { border-top: 4px solid var(--teal); }

.price-line {
  margin-block: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.price-line strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4.1vw, 50px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.045em;
  line-height: 1;
}

.price-line span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.result-card small {
  margin-top: 18px;
  color: var(--soft);
  font-size: 10px;
  line-height: 1.5;
}

.purchase-card small,
.retail-card small { color: #99adb4; }

.risk-note {
  margin: 14px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--orange);
  background: rgba(255, 255, 255, 0.54);
  color: #6d797d;
  font-size: 12px;
  line-height: 1.65;
}

.dealer-advice {
  margin-top: 28px;
  padding: 24px;
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 24px;
  align-items: start;
  border: 1px solid rgba(237, 108, 61, 0.3);
  border-radius: 6px;
  background: #fff8f3;
}

.advice-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.advice-label span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 900;
}

.advice-label strong { font-size: 13px; }

.dealer-advice p {
  margin: 0;
  color: #4f6269;
  font-size: 14px;
  line-height: 1.9;
}

.basis {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.62);
}

.basis-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.basis-heading .eyebrow { margin-bottom: 5px; }

.basis-heading > span {
  color: var(--soft);
  font-size: 11px;
}

.basis-list { padding-block: 8px; }

.basis-row {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(16, 43, 54, 0.08);
  color: var(--muted);
  font-size: 12px;
}

.basis-row strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.basis-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.basis-copy b {
  color: var(--ink);
  font-size: 12px;
}

.basis-copy small {
  overflow: hidden;
  color: var(--soft);
  font-size: 10px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.basis-row strong.positive { color: var(--teal); }
.basis-row strong.negative { color: var(--orange-dark); }

.basis-total {
  padding-top: 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  font-weight: 900;
}

.basis-total strong {
  font-family: Georgia, serif;
  font-size: 25px;
}

.disclaimer {
  margin: 20px 0 0;
  color: var(--soft);
  font-size: 10px;
  line-height: 1.8;
}

.footer {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line-dark);
  color: var(--soft);
  font-size: 11px;
}

.footer .brand { font-size: 13px; }
.footer .brand-mark { width: 30px; height: 30px; }

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-copy { position: static; padding-top: 0; }
  .lead { max-width: 600px; }
}

@media (max-width: 720px) {
  .shell,
  .topbar { width: calc(100% - 28px); }

  .topbar { min-height: 68px; gap: 12px; }
  .brand { font-size: 16px; letter-spacing: 0.02em; }
  .brand-mark { width: 34px; height: 34px; }
  .version { display: none; }
  .method-link { font-size: 12px; }

  .hero { padding-block: 38px 58px; gap: 32px; }
  .hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .lead { margin-top: 20px; font-size: 15px; line-height: 1.75; }
  .promise-row { margin-top: 20px; }

  .valuation-form {
    margin-inline: -2px;
    padding: 24px 18px 20px;
    box-shadow: 0 18px 44px rgba(24, 50, 60, 0.1);
  }

  .form-heading { padding-bottom: 20px; }
  .form-heading h2 { font-size: 20px; }
  .form-section { padding-block: 22px; }

  .field-grid,
  .compact-grid { grid-template-columns: 1fr; gap: 14px; }

  .field { gap: 7px; font-size: 13px; }
  input, select { height: 56px; font-size: 16px; }

  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice { min-height: 52px; padding-inline: 10px; font-size: 12px; }
  .accident-grid .choice:last-child { grid-column: 1 / -1; }

  .estimate-button {
    min-height: 62px;
    margin-top: 22px;
    font-size: 16px;
  }

  .results { padding-block: 58px 70px; }
  .results-heading { align-items: flex-start; }
  .results-heading h2 { font-size: 24px; }
  .model-badge { flex: 0 0 auto; }

  .result-grid { grid-template-columns: 1fr; gap: 12px; }
  .result-card { min-height: 168px; padding: 22px 20px; }
  .price-line strong { font-size: clamp(28px, 8.4vw, 36px); }

  .dealer-advice { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .dealer-advice p { font-size: 14px; line-height: 1.8; }

  .basis { padding: 22px 18px; }
  .basis-heading { align-items: flex-start; }
  .basis-heading h2 { font-size: 20px; }
  .basis-row { min-height: 50px; font-size: 12px; }
  .basis-row { align-items: flex-start; padding-block: 10px; }
  .basis-copy small { white-space: normal; line-height: 1.45; }
  .basis-total strong { font-size: 22px; }

  .footer {
    min-height: 96px;
    flex-wrap: wrap;
    padding-block: 18px;
  }

  .footer > span:nth-child(2) { order: 3; width: 100%; }
}

@media (max-width: 380px) {
  .shell,
  .topbar { width: calc(100% - 20px); }
  .valuation-form { padding-inline: 14px; }
  .hero h1 { font-size: 40px; }
  .results-heading { display: block; }
  .model-badge { display: inline-block; margin-top: 14px; }
  .price-line strong { font-size: 32px; }
}
