:root {
  --ink: #2b251f;
  --muted: #756856;
  --soft: #f8f1e5;
  --paper: #fffaf2;
  --line: rgba(178, 145, 93, 0.34);
  --gold: #b8860b;
  --gold-2: #d4af37;
  --deep: #30271f;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(760px 420px at 90% -12%, rgba(218, 188, 122, 0.68), transparent 70%),
    linear-gradient(116deg, #fffaf4 0%, #f7f1e8 54%, #efe2cc 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(116, 88, 50, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 88, 50, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.38) 70%, transparent);
}

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

button {
  font: inherit;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 44px;
}

.topbar {
  min-height: 78px;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand small {
  display: block;
  margin-top: 8px;
  color: #9d6f1d;
  font-size: 13px;
  font-weight: 500;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nav a,
.lang-toggle {
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid #dac89e;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.8);
  color: #3a3027;
  font-size: 13px;
  font-weight: 800;
}

.nav a.active {
  background: var(--deep);
  color: #fff;
  border-color: var(--deep);
}

.lang-toggle {
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: 44px;
  align-items: center;
  padding: 44px 0 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #9a6815;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dcb777;
  box-shadow: 0 0 0 7px rgba(220, 183, 119, 0.15);
}

h1 {
  margin: 18px 0 10px;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 720px;
  margin: 0;
  color: #5d5143;
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid #d7bd81;
  background: #fffaf2;
  color: #8c6418;
  font-weight: 900;
}

.btn.primary {
  background: var(--deep);
  color: #fff;
  border-color: var(--deep);
}

.visual-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(178, 145, 93, 0.36);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 28px 58px rgba(94, 73, 38, 0.13);
}

.visual-frame {
  height: 292px;
  border-radius: 22px;
  border: 1px solid rgba(178, 145, 93, 0.26);
  background: #f5f0e8;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  mix-blend-mode: multiply;
}

.visual-frame.cover img {
  object-fit: cover;
  padding: 0;
  mix-blend-mode: normal;
}

.visual-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: #766a5c;
  font-size: 13px;
  line-height: 1.65;
}

.visual-caption b {
  white-space: nowrap;
}

.answer-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
}

.panel,
.faq-panel,
.section-card {
  border: 1px solid rgba(178, 145, 93, 0.32);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 18px 44px rgba(82, 58, 26, 0.08);
}

.panel {
  padding: 24px;
}

.panel h2,
.section-card h2 {
  margin: 0 0 12px;
  color: #251f19;
  font-size: 25px;
  letter-spacing: -0.02em;
}

.panel p,
.section-card p {
  margin: 0;
  color: #6a5d4d;
  font-size: 15px;
  line-height: 1.9;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chips span {
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(178, 145, 93, 0.26);
  background: rgba(255, 255, 255, 0.68);
  color: #725a35;
  font-size: 12px;
  font-weight: 700;
}

.flow {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(178, 145, 93, 0.2);
}

.num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
}

.step b {
  display: block;
  margin-bottom: 4px;
  color: #332a22;
  font-size: 14px;
}

.step span:last-child {
  color: #6a5d4d;
  font-size: 13px;
  line-height: 1.65;
}

.section-card {
  margin-top: 18px;
  padding: 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.feature {
  min-height: 130px;
  padding: 16px;
  border: 1px solid rgba(178, 145, 93, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.feature b {
  display: block;
  margin-bottom: 8px;
  color: #322820;
}

.feature p {
  color: #766a5c;
  font-size: 13px;
  line-height: 1.72;
}

.faq-panel {
  margin-top: 18px;
  padding: 10px;
}

.faq-panel details {
  border-bottom: 1px solid rgba(178, 145, 93, 0.18);
}

.faq-panel details:last-child {
  border-bottom: 0;
}

.faq-panel summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 14px;
  color: #30271f;
  font-weight: 900;
}

.faq-panel summary::-webkit-details-marker {
  display: none;
}

.faq-panel summary::after {
  content: "+";
  float: right;
  color: #a07022;
}

.faq-panel details[open] summary::after {
  content: "-";
}

.faq-panel p {
  margin: 0;
  padding: 0 14px 16px;
  color: #6f6252;
  font-size: 14px;
  line-height: 1.8;
}

.internal-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.internal-links a {
  min-height: 72px;
  padding: 14px;
  border: 1px solid rgba(178, 145, 93, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  color: #493b2d;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}

.internal-links a.active {
  background: var(--deep);
  color: #fff;
  border-color: var(--deep);
}

.footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(178, 145, 93, 0.3);
  color: #7a6b59;
  font-size: 13px;
  line-height: 1.8;
}

[data-lang-pack="en"] {
  display: none;
}

html[data-lang="en"] [data-lang-pack="zh"] {
  display: none;
}

html[data-lang="en"] [data-lang-pack="en"] {
  display: initial;
}

html[data-lang="en"] .block-en {
  display: block;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr;
    justify-items: center;
    padding-bottom: 24px;
  }

  .hero,
  .answer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .internal-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 1180px);
    padding-top: 22px;
  }

  .topbar {
    gap: 18px;
  }

  .nav {
    width: 100%;
    max-width: 340px;
    gap: 8px;
    justify-content: center;
  }

  .nav a,
  .lang-toggle {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
    white-space: nowrap;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 16px;
  }

  .visual-frame {
    height: 230px;
  }

  .visual-card {
    padding: 16px;
    border-radius: 22px;
  }

  .panel,
  .section-card {
    padding: 20px;
  }

  .feature-grid,
  .internal-links {
    grid-template-columns: 1fr;
  }

  .visual-caption {
    display: block;
    overflow-wrap: anywhere;
  }

  .visual-caption b {
    display: block;
    margin-top: 8px;
  }
}
