:root {
  --paper: #fbf7f0;
  --ink: #342b2b;
  --muted: #77696a;
  --red: #8d2535;
  --gold: #a57837;
  --line: #e7dcd1;
  --white: #fffdf9;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 5px;
  border-radius: 4px;
}
.shell {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
}
.header nav {
  display: flex;
  gap: 20px;
}
.header nav a,
.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.header nav a:hover,
.footer a:hover {
  color: var(--red);
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: center;
  padding-block: 88px 96px;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--red);
  font-weight: 600;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-family: "Songti SC", "SimSun", serif;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -1px;
  margin: 24px 0;
}
.intro {
  max-width: 440px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
}
.button {
  display: inline-flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 12px 24px;
  background: var(--red);
  color: white;
  border-radius: 8px;
  margin-top: 30px;
  font-size: 15px;
}
.button:hover {
  background: #6e1c2a;
}
.status {
  font-size: 13px;
  color: var(--muted);
  margin-top: 18px;
}
.ledger {
  position: relative;
  background: var(--white);
  padding: 30px;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px #54352c0d;
  transform: rotate(1.5deg);
}
.ledger:before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
}
.ledger-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}
.tag {
  border: 1px solid var(--line);
  padding: 0 8px;
  border-radius: 4px;
  font-size: 11px;
}
.ledger h2 {
  font-size: 23px;
  margin: 24px 0;
}
.score-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.score-grid > div {
  background: #f6efe5;
  border-radius: 10px;
  padding: 18px;
}
.score-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.score-grid strong {
  display: block;
  color: var(--red);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.5;
}
.ledger-line {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-block: 17px;
  border-top: 1px solid var(--line);
}
.initial {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f7ecec;
  color: var(--red);
  font-size: 15px;
  flex-shrink: 0;
}
.ledger-line > div {
  flex: 1;
}
.ledger-line strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.ledger-line small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.ledger-line b {
  font-size: 14px;
  font-weight: 500;
}
.arrow {
  color: var(--gold);
}
.ledger-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}
.features {
  padding-block: 48px 72px;
  border-top: 1px solid var(--line);
}
.section-heading h2,
.principle h2 {
  font-family: "Songti SC", "SimSun", serif;
  font-size: clamp(25px, 3vw, 34px);
  margin-top: 12px;
  line-height: 1.5;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.feature-grid article {
  padding: 0 28px 0 0;
  border-right: 1px solid var(--line);
}
.feature-grid article:last-child {
  border-right: 0;
  padding-right: 0;
}
.number {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 2px;
}
.feature-grid h3 {
  font-size: 19px;
  margin: 14px 0 10px;
}
.feature-grid p {
  color: var(--muted);
  font-size: 15px;
}
.principle {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  background: #f2e9dd;
  border-radius: 16px;
  padding: 36px 40px;
  margin-bottom: 64px;
}
.principle p {
  align-self: center;
  font-size: 15px;
  line-height: 1.9;
  color: #65585a;
}
.footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  padding-block: 20px 30px;
}
.footer > div {
  display: flex;
  gap: 24px;
}
.footer p {
  width: 100%;
  font-size: 12px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  padding: 12px;
  background: var(--red);
  color: white;
  z-index: 2;
}
.skip:focus {
  top: 12px;
}
.legal {
  max-width: 760px;
  padding-block: 60px 72px;
}
.legal h1 {
  font-size: 42px;
}
.legal-date {
  font-size: 13px;
  color: var(--muted);
}
.legal section {
  margin-top: 36px;
}
.legal section h2 {
  font-size: 21px;
  margin-bottom: 12px;
}
.legal section p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}
@media (max-width: 760px) {
  .shell {
    width: calc(100% - 40px);
  }
  .header {
    min-height: 84px;
    gap: 10px;
    flex-wrap: wrap;
    padding-block: 12px;
  }
  .brand {
    font-size: 16px;
  }
  .header nav {
    gap: 16px;
    font-size: 13px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 48px 56px;
  }
  h1 {
    font-size: 44px;
  }
  .intro {
    font-size: 16px;
  }
  .ledger {
    transform: none;
    padding: 24px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feature-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 24px;
  }
  .feature-grid article:last-child {
    border-bottom: 0;
  }
  .features {
    padding-block: 36px 40px;
  }
  .principle {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 24px;
    margin-bottom: 40px;
  }
  .footer > div {
    gap: 18px;
  }
  .legal {
    padding-top: 40px;
  }
  .legal h1 {
    font-size: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
