:root {
  color-scheme: light;
  --ink: #211d19;
  --muted: #655f58;
  --line: #d8d5cf;
  --paper: #ffffff;
  --soft: #f1f4f2;
  --red: #9f2f2b;
  --red-dark: #74211f;
  --jade: #2e6858;
  --gold: #b8873b;
  --dark: #211d19;
  --shell: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

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

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 66px;
  color: #fff;
  background: rgba(33, 29, 25, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 28px;
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 1.2;
}

.brand strong {
  color: #f0c36b;
  font-family: STKaiti, KaiTi, serif;
  font-size: 23px;
}

.brand span {
  margin-top: 3px;
  color: #c8c2ba;
  font-size: 11px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  color: #e8e4df;
  font-size: 14px;
}

.main-nav a,
.header-actions a {
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #f0c36b;
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.action-primary {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.action-primary:hover,
.action-primary:focus-visible {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.action-quiet {
  color: #eee9e2;
  border-color: #716a62;
}

.action-quiet:hover,
.action-quiet:focus-visible {
  color: #fff;
  border-color: #d4a856;
}

.action-dark {
  color: #fff;
  background: var(--dark);
  border-color: var(--dark);
}

.action-dark:hover,
.action-dark:focus-visible {
  background: #3a342e;
}

.action-large {
  min-height: 48px;
  padding: 12px 24px;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  height: calc(100svh - 132px);
  min-height: 600px;
  max-height: 780px;
  overflow: hidden;
  isolation: isolate;
  background: #eef1f3 url("../images/hero.jpg") center center / cover no-repeat;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(255, 255, 255, 0.18);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-kicker {
  margin: 0 0 8px;
  color: var(--red-dark);
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  color: #3a231d;
  font-family: STKaiti, KaiTi, serif;
  font-size: 72px;
  line-height: 1.05;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.85);
}

.hero-summary {
  margin: 16px auto 0;
  color: #342d27;
  font-size: 20px;
  font-weight: 700;
  text-shadow: 0 1px 0 #fff;
}

.hero-facts {
  display: flex;
  justify-content: center;
  margin: 30px auto;
  color: #433a32;
}

.hero-facts span {
  min-width: 150px;
  padding: 0 24px;
  border-right: 1px solid rgba(60, 50, 42, 0.32);
}

.hero-facts span:last-child {
  border-right: 0;
}

.hero-facts strong {
  display: block;
  color: var(--red-dark);
  font-size: 22px;
}

.hero-actions {
  justify-content: center;
}

.hero-contact {
  margin: 18px 0 0;
  color: #4d443c;
}

.hero-character {
  position: absolute;
  z-index: 1;
  bottom: -24px;
  pointer-events: none;
  filter: drop-shadow(0 14px 18px rgba(41, 31, 26, 0.22));
}

.hero-character-left {
  left: max(18px, calc(50% - 610px));
}

.hero-character-right {
  right: max(18px, calc(50% - 630px));
}

.notice {
  min-height: 72px;
  color: #fff;
  background: var(--jade);
}

.notice-inner {
  display: flex;
  align-items: center;
  min-height: 72px;
  gap: 24px;
}

.notice strong {
  flex: 0 0 auto;
  color: #f5d48f;
  font-size: 18px;
}

.notice span:last-child {
  margin-left: auto;
  white-space: nowrap;
}

.band {
  padding: 88px 0;
  background: var(--paper);
}

.band-muted {
  background: var(--soft);
}

.band-dark {
  color: #f4f1ec;
  background: var(--dark);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading > p {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.section-heading h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.35;
}

.section-heading > span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.section-heading-light > p {
  color: #e4b75e;
}

.section-heading-light > span {
  color: #c7c0b8;
}

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

.feature-item {
  min-height: 230px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 6px;
}

.feature-index {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.feature-item h3 {
  margin: 22px 0 10px;
  font-size: 21px;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
}

.policy-strip {
  display: grid;
  grid-template-columns: 130px 1fr;
  margin-top: 20px;
  padding: 22px 26px;
  background: #f7f2ec;
  border-left: 4px solid var(--gold);
}

.policy-strip p {
  margin: 0;
  color: #5b5147;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: #fff;
}

.steps li {
  min-height: 235px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.steps li:last-child {
  border-right: 0;
}

.steps li > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--jade);
  border-radius: 50%;
  font-weight: 800;
}

.steps h3 {
  margin: 20px 0 8px;
  font-size: 19px;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.split-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 24px;
}

.split-info > div {
  padding: 26px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.split-info h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.clean-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.clean-list li + li {
  margin-top: 6px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  color: #fff;
  background: var(--jade);
  font-size: 14px;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:nth-child(even) td {
  background: #f7f8f7;
}

td:first-child {
  width: 220px;
  font-weight: 700;
}

.guide-stack {
  border-top: 1px solid var(--line);
}

details {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  padding: 20px 52px 20px 18px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 24px;
  height: 24px;
  content: "+";
  color: var(--red);
  font-size: 24px;
  line-height: 22px;
  text-align: center;
  transform: translateY(-50%);
}

details[open] summary::after {
  content: "−";
}

.guide-body {
  padding: 0 18px 24px;
  color: var(--muted);
}

.guide-body p {
  margin: 8px 0;
}

.guide-body ol {
  margin: 0;
  padding-left: 22px;
}

.subheading {
  margin: 42px 0 16px;
  font-size: 22px;
}

.drop-table td:first-child {
  width: 190px;
  color: var(--red-dark);
}

.drop-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.drop-notes article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.drop-notes h3 {
  margin: 0 0 8px;
}

.drop-notes p {
  margin: 0;
  color: var(--muted);
}

.table-wrap-dark {
  border-color: #4a433c;
  background: #2b2621;
}

.table-wrap-dark th {
  background: #8c302d;
}

.table-wrap-dark td {
  border-color: #4a433c;
}

.table-wrap-dark tbody tr:nth-child(even) td {
  background: #332d27;
}

.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #4a433c;
}

.closing p {
  margin: 0;
  color: #d8d1c9;
  font-family: STKaiti, KaiTi, serif;
  font-size: 22px;
}

.site-footer {
  padding: 26px 0;
  color: #706a63;
  background: #f4f4f2;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-inner div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.footer-inner strong {
  color: var(--red-dark);
  font-family: STKaiti, KaiTi, serif;
  font-size: 20px;
}

.footer-inner span {
  font-size: 11px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner p:last-child {
  margin-left: auto;
}

@media (max-width: 1040px) {
  .main-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero-character {
    opacity: 0.54;
  }

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

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

  .steps li {
    min-height: 190px;
    border-bottom: 1px solid var(--line);
  }

  .steps li:nth-child(even) {
    border-right: 0;
  }

  .steps li:last-child {
    border-bottom: 0;
  }
}

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

  .site-header {
    height: 62px;
  }

  .brand strong {
    font-size: 20px;
  }

  .header-actions .action-quiet {
    display: none;
  }

  .header-actions .action {
    min-height: 36px;
    padding: 7px 11px;
    font-size: 13px;
  }

  .hero {
    height: calc(100svh - 116px);
    min-height: 540px;
    max-height: 680px;
  }

  .hero::before {
    background: rgba(255, 255, 255, 0.42);
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-summary {
    max-width: 520px;
    font-size: 16px;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(360px, 100%);
    margin: 24px auto;
    border: 1px solid rgba(60, 50, 42, 0.22);
    background: rgba(255, 255, 255, 0.58);
  }

  .hero-facts span {
    min-width: 0;
    padding: 10px 8px;
    border-right: 1px solid rgba(60, 50, 42, 0.22);
    border-bottom: 1px solid rgba(60, 50, 42, 0.22);
    font-size: 13px;
  }

  .hero-facts span:nth-child(even) {
    border-right: 0;
  }

  .hero-facts span:nth-child(n + 3) {
    border-bottom: 0;
  }

  .hero-facts strong {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .action {
    flex: 1;
    padding-inline: 12px;
    font-size: 14px;
  }

  .hero-contact {
    font-size: 13px;
  }

  .hero-character {
    width: auto;
    height: 330px;
    opacity: 0.28;
  }

  .hero-character-left {
    left: -70px;
  }

  .hero-character-right {
    right: -88px;
  }

  .notice-inner {
    display: grid;
    gap: 2px;
    padding-block: 12px;
  }

  .notice span:last-child {
    margin-left: 0;
    white-space: normal;
  }

  .band {
    padding: 62px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: 27px;
  }

  .feature-grid,
  .steps,
  .split-info,
  .drop-notes {
    grid-template-columns: 1fr;
  }

  .feature-item {
    min-height: 0;
  }

  .steps li,
  .steps li:nth-child(even) {
    display: grid;
    grid-template-columns: 42px 1fr;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .steps h3 {
    margin-top: 0;
  }

  .policy-strip {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .closing,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner p:last-child {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
