:root {
  --paper: #f3f0e9;
  --ink: #20201d;
  --muted: #6b6961;
  --line: rgba(32, 32, 29, 0.16);
  --rust: #9d4a31;
  --deep: #2c2e2b;
  --cream: #ded8cb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

main {
  min-height: 100vh;
  overflow: hidden;
}

.site-header,
.hero,
.schemes,
.selection-summary,
.checks,
.copy-section,
footer {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--rust);
  font-family: serif;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0.12em;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.video-link,
.text-button,
.copy-actions a,
footer > a,
.icp-link {
  border-bottom: 1px solid currentColor;
  padding: 8px 0;
}

.video-link {
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 680px;
  padding: 92px 0 70px;
  background:
    radial-gradient(circle at 82% 28%, rgba(157, 74, 49, 0.14), transparent 22%),
    linear-gradient(90deg, transparent 0 65%, rgba(32, 32, 29, 0.05) 65% 65.2%, transparent 65.2%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  right: 4%;
  top: 90px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.eyebrow,
.section-kicker {
  color: var(--rust);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

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

.hero h1 {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 28px 0 30px;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(68px, 8vw, 118px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 34px;
}

.primary-button,
.copy-actions button,
.selection-note > button {
  border: 0;
  border-radius: 999px;
  background: var(--rust);
  color: #fff;
  cursor: pointer;
  padding: 15px 24px;
}

.hero-rule {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 70px;
  width: min(460px, 42%);
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: start;
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}

.hero-rule span {
  color: var(--rust);
  font-family: serif;
  font-size: 20px;
}

.hero-rule p {
  line-height: 1.8;
}

.site-facts {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) 1.18fr;
  background: var(--deep);
  color: #f7f4ee;
}

.site-photo {
  margin: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.figure-heading {
  min-height: 82px;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.figure-heading span {
  font-family: serif;
  font-size: 22px;
}

.figure-heading em {
  color: #aaa89f;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.15em;
}

.site-photo img {
  display: block;
  width: 100%;
  height: 670px;
  object-fit: cover;
}

.site-analysis {
  align-self: center;
  max-width: 700px;
  padding: 70px clamp(40px, 7vw, 110px);
}

.site-analysis h2,
.schemes h2,
.selection-summary h2,
.checks h2,
.copy-section h2 {
  font-family: "Songti SC", "STSong", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.site-analysis h2 {
  margin: 28px 0;
  font-size: clamp(42px, 4vw, 64px);
  line-height: 1.18;
}

.site-analysis > p {
  color: #cbc8c0;
  font-size: 16px;
  line-height: 2;
}

.site-analysis ul {
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.site-analysis li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #dedbd3;
}

.schemes {
  padding: 120px 0;
}

.schemes-intro {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 90px;
  align-items: end;
  margin-bottom: 70px;
}

.schemes h2 {
  margin: 24px 0 0;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1.1;
}

.schemes-intro > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.scheme-list {
  display: grid;
  gap: 64px;
}

.scheme-card {
  display: grid;
  grid-template-columns: minmax(360px, 0.94fr) 1.06fr;
  min-height: 650px;
  border: 1px solid var(--line);
  background: #f7f4ee;
}

.scheme-card:nth-child(even) .scheme-image-wrap {
  order: 2;
}

.scheme-image-wrap {
  position: relative;
  min-width: 0;
  background: #d6d2c9;
}

.scheme-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
}

.scheme-number,
.scheme-badge {
  position: absolute;
  top: 22px;
  padding: 10px 14px;
  background: rgba(243, 240, 233, 0.92);
  backdrop-filter: blur(8px);
}

.scheme-number {
  left: 22px;
  color: var(--rust);
  font-family: serif;
}

.scheme-badge {
  right: 22px;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.scheme-body {
  padding: clamp(38px, 6vw, 78px);
  align-self: center;
}

.scheme-body h3 {
  margin-bottom: 38px;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 500;
  line-height: 1.16;
}

.scheme-body dl {
  margin: 0;
}

.scheme-body dl > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.scheme-body dt {
  color: var(--rust);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.scheme-body dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.scheme-body .condition-row {
  border-bottom: 1px solid var(--line);
}

.condition-row dd {
  color: var(--ink);
  font-weight: 600;
}

.preference {
  margin-top: 34px;
}

.preference > span {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.preference > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preference button {
  min-width: 82px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 11px 18px;
}

.preference button:hover,
.preference button.selected {
  border-color: var(--rust);
  background: var(--rust);
  color: #fff;
}

.scheme-download {
  display: inline-block;
  margin-top: 22px;
  border-bottom: 1px solid currentColor;
  padding: 7px 0;
  font-size: 13px;
}

.selection-summary {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 70px;
  align-items: center;
  padding: 88px;
  background: var(--cream);
}

.selection-summary h2 {
  margin: 24px 0 18px;
  font-size: 50px;
  line-height: 1.16;
}

.selection-summary p {
  color: var(--muted);
  line-height: 1.8;
}

.selection-note {
  min-height: 210px;
  padding: 32px;
  border: 1px solid rgba(32, 32, 29, 0.18);
  background: rgba(255, 255, 255, 0.28);
}

.selection-note pre {
  margin: 0 0 24px;
  white-space: pre-wrap;
  font: inherit;
  font-size: 14px;
  line-height: 1.9;
}

.selection-note > button {
  padding: 12px 20px;
}

.checks {
  padding: 110px 0;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
}

.checks h2 {
  margin-top: 24px;
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.1;
}

.checks ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.checks li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.checks li span {
  color: var(--rust);
  font-family: serif;
}

.copy-section {
  padding: 90px;
  background: var(--deep);
  color: #f7f4ee;
}

.copy-section h2 {
  margin: 24px 0 28px;
  font-size: 52px;
}

.copy-text {
  max-width: 950px;
  color: #d1cec6;
  font-size: 17px;
  line-height: 2;
}

.copy-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.copy-actions a {
  color: #f7f4ee;
}

footer {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

footer strong {
  letter-spacing: 0.14em;
}

footer p {
  margin: 10px 0;
  color: var(--muted);
  font-size: 12px;
}

.icp-link {
  display: inline-block;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 940px) {
  .hero {
    min-height: 650px;
  }

  .hero-rule {
    position: static;
    width: 100%;
    margin-top: 70px;
  }

  .site-facts,
  .schemes-intro,
  .scheme-card,
  .selection-summary,
  .checks {
    grid-template-columns: 1fr;
  }

  .site-photo {
    border-right: 0;
  }

  .site-photo img {
    height: auto;
    max-height: none;
  }

  .scheme-card:nth-child(even) .scheme-image-wrap {
    order: 0;
  }

  .scheme-image-wrap img {
    height: auto;
    min-height: 0;
  }

  .selection-summary {
    gap: 38px;
    padding: 64px 42px;
  }

  .checks {
    gap: 40px;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .schemes,
  .selection-summary,
  .checks,
  .copy-section,
  footer {
    width: min(100% - 28px, 1240px);
  }

  .site-header {
    min-height: 78px;
  }

  .brand small {
    display: none;
  }

  .video-link {
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    padding: 68px 0 60px;
  }

  .hero h1 {
    font-size: 54px;
    margin-top: 22px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero-rule {
    grid-template-columns: 58px 1fr;
    margin-top: 54px;
  }

  .site-analysis {
    padding: 62px 24px;
  }

  .site-analysis h2,
  .schemes h2,
  .checks h2 {
    font-size: 40px;
  }

  .schemes {
    padding: 78px 0;
  }

  .schemes-intro {
    gap: 26px;
    margin-bottom: 48px;
  }

  .scheme-list {
    gap: 34px;
  }

  .scheme-card {
    min-height: 0;
  }

  .scheme-body {
    padding: 34px 22px;
  }

  .scheme-body h3 {
    font-size: 37px;
  }

  .scheme-body dl > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .preference button {
    min-width: 0;
    padding: 10px 8px;
  }

  .selection-summary {
    padding: 54px 22px;
  }

  .selection-summary h2 {
    font-size: 38px;
  }

  .selection-note {
    padding: 24px 18px;
  }

  .checks {
    padding: 78px 0;
  }

  .copy-section {
    padding: 56px 22px;
  }

  .copy-section h2 {
    font-size: 40px;
  }

  .copy-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  footer {
    min-height: 230px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
  }
}
