/* Final bilingual layout and detail pass. Loaded after the page's base styles. */

body { line-height: 1.62; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

.nav-links { gap: 24px; }
.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 4px;
}
.nav-actions .nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding-inline: 19px;
}
.nav-links a.language-switch {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px 0 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}
.language-switch .language-icon {
  width: 30px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--violet);
  background: var(--lavender);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: -0.06em;
}
.nav-links a.language-switch:hover {
  border-color: #c9bafb;
  color: var(--violet);
  background: var(--white);
}

.hero {
  grid-template-columns: minmax(0, 1fr) minmax(500px, 1.08fr);
  gap: 72px;
}
.hero-copy { min-width: 0; }
.eyebrow {
  letter-spacing: 0.025em;
  text-transform: none;
}
h1 {
  line-height: 1.01;
  letter-spacing: -0.058em;
}
.hero-copy > p { line-height: 1.64; }

.benefit-grid { gap: 16px; }
.benefit-card,
.benefit-card:nth-child(2),
.benefit-card:nth-child(4) {
  position: relative;
  min-height: 224px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  color: var(--ink);
  border-color: var(--line);
  border-radius: 20px;
  background: var(--white);
}
.benefit-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 28px;
  width: 42px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--violet);
}
.benefit-card .num,
.benefit-card:nth-child(4) .num { color: var(--violet); }
.benefit-card h3 {
  margin: 44px 0 10px;
  line-height: 1.25;
}
.benefit-card p,
.benefit-card:nth-child(4) p {
  color: var(--muted);
  line-height: 1.62;
}

.steps-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.step {
  border-color: var(--line);
  border-radius: 20px;
  background: var(--white);
}
.step-number { border-radius: 12px; background: var(--violet); }
.step p { line-height: 1.65; }

.check-list li { line-height: 1.62; }
.popup-figure { margin: 0 auto; }
.popup-caption {
  max-width: 360px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}
.privacy-card { border-radius: 16px; }
.faq-list summary { line-height: 1.45; }
.cta-panel { border-radius: 28px; }

html[lang="zh-CN"] body {
  line-height: 1.72;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, sans-serif;
}
html[lang="zh-CN"] .hero {
  grid-template-columns: minmax(0, 0.96fr) minmax(520px, 1.04fr);
  gap: 68px;
}
html[lang="zh-CN"] .eyebrow {
  font-size: 12px;
  letter-spacing: 0;
}
html[lang="zh-CN"] h1 {
  max-width: none;
  font-size: clamp(52px, 4.4vw, 66px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.045em;
}
html[lang="zh-CN"] .headline-line {
  display: block;
  white-space: nowrap;
}
html[lang="zh-CN"] .hero-copy > p {
  max-width: 32em;
  font-size: 18px;
  line-height: 1.78;
}
html[lang="zh-CN"] h2 {
  max-width: 16em;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 730;
  line-height: 1.18;
  letter-spacing: -0.035em;
}
html[lang="zh-CN"] h3 {
  font-weight: 720;
  letter-spacing: -0.02em;
}
html[lang="zh-CN"] .section-kicker {
  letter-spacing: 0.04em;
  text-transform: none;
}
html[lang="zh-CN"] .section-lede { line-height: 1.75; }
html[lang="zh-CN"] .benefit-card h3 {
  font-size: 21px;
  line-height: 1.38;
}
html[lang="zh-CN"] .benefit-card p { font-size: 14px; line-height: 1.72; }

@media (max-width: 980px) {
  .hero,
  html[lang="zh-CN"] .hero { grid-template-columns: 1fr; }
  html[lang="zh-CN"] .hero-copy { max-width: 720px; }
}

@media (max-width: 720px) {
  .nav-links { gap: 0; }
  .nav-actions { gap: 7px; margin-left: 0; }
  .nav-actions .nav-cta { min-height: 38px; padding-inline: 13px; }
  .nav-links a.language-switch {
    min-height: 38px;
    display: inline-flex;
    padding: 0 8px 0 6px;
  }
  .language-switch .language-icon { width: 27px; height: 23px; }
  html[lang="zh-CN"] h1 {
    font-size: clamp(39px, 11vw, 52px);
    line-height: 1.15;
  }
  html[lang="zh-CN"] .hero-copy > p { font-size: 17px; }
}

@media (max-width: 460px) {
  .nav-actions .nav-cta { padding-inline: 11px; }
  .language-switch .language-label { display: none; }
  .nav-links a.language-switch { padding-right: 6px; }
  .benefit-card,
  .benefit-card:nth-child(2),
  .benefit-card:nth-child(4) { min-height: 190px; }
}
