/*
 * Site visual system v2 (2026-10-19).
 * Presentation only: no copy, heading levels, links, meta or structured data change.
 * Loaded on the zh/en/ru homepages and surrogacy pillar pages. Homepage rules are
 * scoped with `#mainNav ~` (every homepage block is a sibling of the header), so
 * the surrogacy pages only pick up the shared type, header and contact-dock rules.
 */

/* ── Fonts ───────────────────────────────────────────────────────────── */

/* Display serif for headings: Noto Serif CJK SC SemiBold (SIL OFL 1.1), subset to
   the heading characters of these pages plus the most frequent site characters,
   Latin and Cyrillic. Characters outside the subset fall back to Songti per glyph. */
@font-face {
  font-family: "FS Display SC";
  src: url("/assets/fonts/fs-display-sc-600.woff2?v=20261019-2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}

/* Same split faces as system-fonts.css, repeated so these pages get real bold
   PingFang / Songti immediately instead of after that file's cache expires. */
@font-face {
  font-family: "Noto Sans SC";
  src: local("Noto Sans SC"), local("PingFangSC-Regular"), local("PingFang SC Regular"),
    local("PingFang SC"), local("Hiragino Sans GB"), local("Microsoft YaHei"), local("Arial");
  font-style: normal;
  font-weight: 100 500;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC";
  src: local("Noto Sans SC Bold"), local("PingFangSC-Semibold"), local("PingFang SC Semibold"),
    local("Hiragino Sans GB W6"), local("Microsoft YaHei Bold"), local("Arial Bold");
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif SC";
  src: local("Noto Serif SC"), local("STSongti-SC-Regular"), local("Songti SC Regular"),
    local("Songti SC"), local("STSong"), local("SimSun"), local("Georgia");
  font-style: normal;
  font-weight: 100 500;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif SC";
  src: local("Noto Serif SC Bold"), local("STSongti-SC-Bold"), local("Songti SC Bold"),
    local("Source Han Serif SC Bold"), local("Georgia Bold");
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
}

/* ── Tokens ──────────────────────────────────────────────────────────── */

:root {
  --fs-ink: #0f1e36;
  --fs-navy: #16305a;
  --fs-navy-deep: #0b1a33;
  --fs-body: #4a5466;
  --fs-muted: #868c9b;
  --fs-hair: rgba(15, 30, 54, .1);
  --fs-hair-soft: rgba(15, 30, 54, .065);
  --fs-ivory: #f6f3ec;
  --fs-gold: #c2a160;
  --fs-gold-soft: #dcc48f;
  --fs-gold-text: #94763a;
  --fs-ui: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --fs-display: "FS Display SC", "Songti SC", "STSongti-SC-Bold", "Noto Serif CJK SC",
    "Source Han Serif SC", "Noto Serif SC", Georgia, serif;
  --fs-section: clamp(72px, 9vw, 120px);
  /* Surfaces: fine paper grain, champagne-gold foil, layered card shadows. */
  --fs-grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .16 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --fs-grain-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .055 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --fs-foil: linear-gradient(120deg, #a9853f 0%, #d8bb7c 32%, #f0dfb0 50%, #c9a65f 70%, #9f7c38 100%);
  --fs-foil-line: linear-gradient(90deg, rgba(194, 161, 96, 0), #d8bb7c 18%, #f0dfb0 50%, #c2a160 82%, rgba(194, 161, 96, 0));
  --fs-navy-surface: radial-gradient(130% 120% at 0% 0%, #1d3e70 0%, #122a50 42%, #0b1a33 100%);
  --fs-shadow: 0 1px 2px rgba(15, 30, 54, .04), 0 3px 8px rgba(15, 30, 54, .035), 0 22px 44px -22px rgba(15, 30, 54, .22);
  --fs-shadow-lift: 0 2px 4px rgba(15, 30, 54, .05), 0 12px 24px -10px rgba(15, 30, 54, .12), 0 40px 70px -30px rgba(15, 30, 54, .32);
  --fs-shadow-deep: 0 30px 80px -30px rgba(6, 15, 31, .55), 0 10px 24px -12px rgba(6, 15, 31, .35);
  --fs-track: 0;
  --fs-lh: 1.72;
}
:root:lang(zh) {
  --fs-track: .04em;
  --fs-lh: 1.95;
}

/* Homepage palette: a deeper navy and a quieter gold. */
#mainNav,
#mainNav ~ * {
  --navy: #16305a;
  --navy-dark: #0b1a33;
  --navy-light: #2a4b80;
  --gold: #c2a160;
  --gold-light: #dcc48f;
  --cream: #f6f3ec;
  --text-dark: #0f1e36;
  --text-mid: #4a5466;
  --text-light: #868c9b;
}

/* ── Base type ───────────────────────────────────────────────────────── */

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* CJK paragraphs keep full lines (see reader-layout.css). */
:lang(zh) :is(p, li) { text-wrap: wrap; }

#mainNav ~ section :is(h3, h4, h5):not(.eco-card h3) {
  font-family: var(--fs-ui);
  font-weight: 600;
  letter-spacing: .01em;
}

/* Default-blue links inside content read as unstyled; give them the brand treatment. */
.proc-step-body a,
.service-card a,
.ivf-link,
aside[data-reader-eligibility] a {
  color: var(--fs-ink) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(194, 161, 96, .7);
  padding-bottom: 1px;
  font-weight: 500;
  transition: border-color .2s, color .2s;
}
.proc-step-body a:hover,
.service-card a:hover,
.ivf-link:hover,
aside[data-reader-eligibility] a:hover {
  color: var(--fs-navy) !important;
  border-bottom-color: var(--fs-gold);
}

/* ── Header ──────────────────────────────────────────────────────────── */

#mainNav {
  height: 76px;
  padding: 0 clamp(24px, 4vw, 64px);
  background: rgba(11, 26, 51, .94);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(194, 161, 96, .16);
  box-shadow: none;
  transition: height .3s ease, background .3s ease, box-shadow .3s ease;
}
#mainNav.scrolled {
  height: 64px;
  background: rgba(11, 26, 51, .97);
  box-shadow: 0 12px 32px -22px rgba(0, 0, 0, .6);
}
#mainNav .nav-links a {
  height: 76px;
  line-height: 76px;
  padding: 0 1.05rem;
  font-family: var(--fs-ui);
  font-size: 14px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .74);
}
#mainNav.scrolled .nav-links a { height: 64px; line-height: 64px; }
#mainNav .nav-links a:hover { color: #fff; }
#mainNav .nav-links a::after {
  left: 1.05rem;
  right: 1.05rem;
  bottom: 18px;
  height: 1px;
}
#mainNav.scrolled .nav-links a::after { bottom: 14px; }
#mainNav .nav-cta {
  height: 38px !important;
  line-height: 36px !important;
  margin-left: 14px;
  padding: 0 20px !important;
  border: 1px solid rgba(194, 161, 96, .7);
  border-radius: 2px;
  background: transparent !important;
  color: var(--fs-gold-soft) !important;
  font-size: 13.5px !important;
  font-weight: 600;
  letter-spacing: .1em;
  transition: background .2s, color .2s;
}
#mainNav .nav-cta:hover {
  background: var(--fs-gold) !important;
  color: var(--fs-navy-deep) !important;
}

/* Language switcher: quiet hairline control instead of a floating gold pill. */
#mainNav ~ .language-switcher {
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 2px;
  background: rgba(11, 26, 51, .55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: none;
  transition: top .3s ease;
}
#mainNav ~ .language-switcher a {
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  border-radius: 1px;
  font-family: var(--fs-ui);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .62);
}
#mainNav ~ .language-switcher a:hover { color: #fff; }
#mainNav ~ .language-switcher a.active {
  background: rgba(194, 161, 96, .18);
  color: var(--fs-gold-soft);
  font-weight: 600;
}
#mainNav .nav-links a { white-space: nowrap; }
/* The switcher sits inside the header bar, right of the consult button, wherever
   the menu has room for it (Chinese from 1201px, the longer English / Russian
   menus from 1400px); elsewhere it scrolls away under the header. */
@media (min-width: 1201px) {
  :root:lang(zh) #mainNav { padding-right: calc(clamp(24px, 4vw, 64px) + 136px); }
  :root:lang(zh) #mainNav ~ .language-switcher {
    position: fixed;
    top: 20px;
    right: clamp(24px, 4vw, 64px);
    background: transparent;
  }
  :root:lang(zh) #mainNav.scrolled ~ .language-switcher { top: 14px; }
  #mainNav .nav-links a:is(:lang(en), :lang(ru)) { padding: 0 .6rem; font-size: 13px; letter-spacing: .01em; }
  #mainNav .nav-links a:is(:lang(en), :lang(ru))::after { left: .6rem; right: .6rem; }
}
@media (min-width: 1400px) {
  :root:is(:lang(en), :lang(ru)) #mainNav { padding-right: calc(clamp(24px, 4vw, 64px) + 136px); }
  :root:is(:lang(en), :lang(ru)) #mainNav ~ .language-switcher {
    position: fixed;
    top: 20px;
    right: clamp(24px, 4vw, 64px);
    background: transparent;
  }
  :root:is(:lang(en), :lang(ru)) #mainNav.scrolled ~ .language-switcher { top: 14px; }
}
@media (min-width: 1201px) and (max-width: 1439px) {
  #mainNav .nav-links a:lang(zh) { padding: 0 .8rem; font-size: 13.5px; letter-spacing: .02em; }
  #mainNav .nav-links a:lang(zh)::after { left: .8rem; right: .8rem; }
}
@media (min-width: 901px) and (max-width: 1399px) {
  :root:is(:lang(en), :lang(ru)) #mainNav ~ .language-switcher { position: absolute; top: 92px; right: 24px; }
}
@media (min-width: 901px) and (max-width: 1200px) {
  #mainNav ~ .language-switcher { position: absolute; top: 92px; right: 24px; }
}

/* Phone header: 56px, logo + two-line menu icon. */
@media (max-width: 900px) {
  #mainNav,
  #mainNav.scrolled {
    height: 56px;
    padding: 0 6px 0 20px;
  }
  #mainNav .nav-logo.fs-brand-header-lockup .fs-brand-header-art { width: 128px; }
  #mainNav .mobile-menu-btn {
    position: relative;
    width: 44px;
    height: 44px;
    font-size: 0;
  }
  #mainNav .mobile-menu-btn i { display: none; }
  #mainNav .mobile-menu-btn::before,
  #mainNav .mobile-menu-btn::after {
    content: "";
    position: absolute;
    right: 12px;
    height: 1.5px;
    border-radius: 1px;
    background: #fff;
    transition: transform .25s ease, top .25s ease, width .25s ease;
  }
  #mainNav .mobile-menu-btn::before { top: 18px; width: 20px; }
  #mainNav .mobile-menu-btn::after { top: 25px; width: 13px; background: var(--fs-gold-soft); }
  #mainNav .nav-links.mobile-open ~ .mobile-menu-btn::before { top: 21.5px; width: 20px; transform: rotate(45deg); }
  #mainNav .nav-links.mobile-open ~ .mobile-menu-btn::after { top: 21.5px; width: 20px; transform: rotate(-45deg); background: #fff; }

  #mainNav .nav-links.mobile-open {
    top: 56px !important;
    align-items: stretch;
    padding: 8px 0 20px;
    background: var(--fs-navy-deep);
    border-bottom: 1px solid rgba(194, 161, 96, .16);
    max-height: calc(100dvh - 56px);
    overflow-y: auto;
  }
  #mainNav .nav-links.mobile-open li a {
    height: 52px;
    line-height: 52px;
    padding: 0 24px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }
  #mainNav .nav-links.mobile-open li a::after { display: none; }
  #mainNav .nav-links.mobile-open .nav-cta {
    display: block;
    height: 48px !important;
    line-height: 46px !important;
    margin: 20px 24px 0;
    text-align: center;
    border-bottom: 1px solid rgba(194, 161, 96, .7);
  }

  #mainNav ~ .language-switcher { position: absolute !important; top: 70px; right: 16px; }
  #mainNav:has(.mobile-open) ~ .language-switcher { visibility: hidden; }
  #mainNav ~ .language-switcher a { min-width: 34px; height: 26px; font-size: 11px; }
}

/* Surrogacy pages: lighter header on phones. */
@media (max-width: 900px) {
  body > nav:not(#mainNav) { height: 56px; padding: 0 12px 0 16px; }
  body > nav:not(#mainNav) .fs-brand-mark { width: 30px; height: 30px; flex-basis: 30px; }
  body > nav:not(#mainNav) .nav-brand { gap: 10px; }
  body > nav:not(#mainNav) .nav-brand-text .main { font-size: 13px; letter-spacing: .02em; }
  body > nav:not(#mainNav) .nav-brand-text .sub { font-size: 8.5px; letter-spacing: .14em; }
  body > nav:not(#mainNav) .nav-cta-btn {
    padding: 7px 14px;
    border-radius: 2px;
    font-size: 12.5px;
    letter-spacing: .06em;
  }
}

/* ── Contact dock ────────────────────────────────────────────────────── */
/* A small pill that slides away while reading downward and returns on any upward
   scroll (site-polish.js); it also steps aside inside the contact section. */

.floating-cta,
.float {
  left: auto !important;
  right: 28px !important;
  bottom: 28px !important;
  transform: translateY(12px) !important;
  padding: 4px !important;
  gap: 2px !important;
  border-radius: 999px !important;
  background: rgba(11, 26, 51, .9) !important;
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid rgba(194, 161, 96, .26) !important;
  box-shadow: 0 12px 30px -10px rgba(8, 20, 45, .5) !important;
  transition: opacity .3s ease, transform .35s ease !important;
}
.floating-cta.show,
.float.show { transform: none !important; }
.floating-cta a,
.float a {
  height: 38px;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-family: var(--fs-ui);
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .02em;
  white-space: nowrap;
}
.floating-cta .f-wechat,
.float .f-wc,
.float .f-wa {
  background: transparent !important;
  color: rgba(255, 255, 255, .92) !important;
}
.floating-cta .f-wechat i,
.float .f-wc i,
.float .f-wa i { color: #34d27f; }
/* Surrogacy pages keep their espresso / copper palette. */
.float {
  background: rgba(44, 24, 16, .92) !important;
  border-color: rgba(212, 146, 42, .3) !important;
}
.floating-cta .f-consult {
  background: var(--fs-gold) !important;
  color: var(--fs-navy-deep) !important;
}
html.fs-dock-away .floating-cta.show,
html.fs-dock-away .float.show,
html.fs-dock-contact .floating-cta.show,
html.fs-dock-contact .float.show {
  transform: translateY(calc(100% + 36px)) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.back-top {
  right: 28px !important;
  bottom: 84px !important;
  width: 40px !important;
  height: 40px !important;
  font-size: 13px !important;
  background: rgba(255, 255, 255, .94) !important;
  color: var(--fs-navy) !important;
  border: 1px solid var(--fs-hair) !important;
  box-shadow: 0 8px 20px -8px rgba(8, 20, 45, .35) !important;
}

@media (max-width: 900px) {
  /* Centered compact pill, not a full-width bar. */
  .floating-cta,
  .float {
    left: 50% !important;
    right: auto !important;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    max-width: calc(100vw - 32px);
    transform: translate(-50%, 12px) !important;
  }
  .floating-cta.show,
  .float.show { transform: translate(-50%, 0) !important; }
  html.fs-dock-away .floating-cta.show,
  html.fs-dock-away .float.show,
  html.fs-dock-contact .floating-cta.show,
  html.fs-dock-contact .float.show {
    transform: translate(-50%, calc(100% + 30px)) !important;
  }
  .floating-cta a,
  .float a {
    flex: 0 0 auto;
    justify-content: center;
    height: 36px;
    padding: 0 15px !important;
    font-size: 13px !important;
  }
  .float a { padding: 0 12px !important; font-size: 12.5px !important; }
  /* EN / RU surrogacy pages: icon-only messengers, and the long consult label may take two lines. */
  :is(:lang(en), :lang(ru)) .float { width: max-content; }
  :is(:lang(en), :lang(ru)) .float :is(.f-wa, .f-wc) {
    width: 36px;
    padding: 0 !important;
    font-size: 0 !important;
  }
  :is(:lang(en), :lang(ru)) .float :is(.f-wa, .f-wc) i { font-size: 17px; }
  :is(:lang(en), :lang(ru)) .float .f-main {
    flex: 0 1 auto;
    min-width: 0;
    height: auto;
    min-height: 36px;
    padding: 6px 16px !important;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
    text-wrap: balance;
  }
  :lang(ru) .float .f-main { padding: 6px 12px !important; font-size: 11.5px !important; letter-spacing: 0; }
}
@media (max-width: 480px) {
  /* Longer English / Russian labels: WeChat becomes an icon button so the pill stays compact. */
  :is(:lang(en), :lang(ru)) .floating-cta .f-wechat {
    width: 36px;
    padding: 0 !important;
    font-size: 0 !important;
  }
  :is(:lang(en), :lang(ru)) .floating-cta .f-wechat i { font-size: 16px; }
  .back-top { display: none !important; }
}

/* ── Homepage: section rhythm and headings ───────────────────────────── */

#mainNav ~ section:not(.hero):not(.ivf-entry):not(.daiyun-intro):not(.ai-home-band):not([data-ai-guide-entry]) {
  padding-top: var(--fs-section);
  padding-bottom: var(--fs-section);
}
#mainNav ~ section .container,
#mainNav ~ footer .container {
  max-width: 1200px;
  padding: 0 48px;
}

#mainNav ~ section .section-label {
  gap: 12px;
  margin-bottom: 22px;
  font-family: var(--fs-ui);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .24em;
  color: var(--fs-gold-text);
}
#mainNav ~ section .section-label::before,
#mainNav ~ section .section-label::after {
  width: 28px;
  background: currentColor;
  opacity: .5;
}
#mainNav ~ section :not(.section-header-centered):not(.ecosystem-intro) > .section-label::after { display: none; }
#mainNav ~ :is(.legal-section, .why-section) .section-label { color: var(--fs-gold-soft); }

#mainNav ~ section .section-title {
  margin-bottom: 22px;
  font-family: var(--fs-display);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: var(--fs-track);
  color: var(--fs-ink);
}
#mainNav ~ :is(.legal-section, .why-section) .section-title { color: #fff; }
#mainNav ~ .legal-section .section-title { font-size: clamp(28px, 2.7vw, 38px) !important; }

#mainNav ~ section .section-sub {
  max-width: 640px;
  font-size: 16px;
  line-height: var(--fs-lh);
  color: var(--fs-body);
}
#mainNav ~ .why-section .section-sub { color: rgba(255, 255, 255, .62); }

/* Light-section buttons: solid navy; gold is kept for dark backgrounds. */
#mainNav ~ section:not(.hero) .btn-primary {
  height: 50px;
  padding: 0 28px;
  border-radius: 2px;
  background: var(--fs-navy);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .04em;
  box-shadow: none;
}
#mainNav ~ section:not(.hero) .btn-primary i { color: var(--fs-gold-soft); }
#mainNav ~ section:not(.hero) .btn-primary:hover {
  background: var(--fs-navy-deep);
  transform: none;
  box-shadow: none;
}
#mainNav ~ section:not(.hero) .btn-outline {
  height: 50px;
  padding: 0 28px;
  border-radius: 2px;
  font-size: 14.5px;
  font-weight: 600;
}

/* ── Hero ────────────────────────────────────────────────────────────── */

#mainNav ~ .hero {
  padding: 140px clamp(24px, 5vw, 64px) 168px;
  background: radial-gradient(120% 90% at 50% 0%, #16335f 0%, #0d1f3d 55%, #0a1730 100%);
}
#mainNav ~ .hero .hero-bg-pattern { opacity: .45; }
/* Fine concentric rings replace the square grid texture. */
#mainNav ~ .hero .hero-grid-lines { background: none; overflow: hidden; }
#mainNav ~ .hero .hero-grid-lines::before,
#mainNav ~ .hero .hero-grid-lines::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
#mainNav ~ .hero .hero-grid-lines::before {
  width: 920px;
  height: 920px;
  top: -300px;
  right: -320px;
  border: 1px solid rgba(194, 161, 96, .14);
  outline: 1px solid rgba(194, 161, 96, .07);
  outline-offset: 110px;
}
#mainNav ~ .hero .hero-grid-lines::after {
  width: 560px;
  height: 560px;
  bottom: -260px;
  left: -200px;
  border: 1px solid rgba(255, 255, 255, .06);
}
#mainNav ~ .hero .hero-badge {
  margin-bottom: 34px;
  padding: 7px 16px;
  border: 1px solid rgba(194, 161, 96, .34);
  border-radius: 2px;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  font-family: var(--fs-ui);
  font-size: 11px;
  letter-spacing: .2em;
  color: rgba(220, 196, 143, .92);
}
#mainNav ~ .hero .hero-eyebrow {
  margin-bottom: 20px;
  font-size: 17px;
  letter-spacing: .12em;
  color: var(--fs-gold);
}
#mainNav ~ .hero h1 {
  margin-bottom: 24px;
  font-family: var(--fs-display);
  font-size: clamp(40px, 4.8vw, 66px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: var(--fs-track);
  color: #fff;
}
#mainNav ~ .hero h1 span { color: #dcc28a; }
#mainNav ~ .hero h1:is(:lang(en), :lang(ru)) { line-height: 1.16; }
#mainNav ~ .hero .hero-brand-motto {
  margin-bottom: 10px;
  font-family: var(--fs-display);
  font-size: 18px;
  letter-spacing: .4em;
  color: var(--fs-gold-soft);
}
#mainNav ~ .hero .hero-brand-motto:is(:lang(en), :lang(ru)) { font-size: 17px; letter-spacing: .1em; }
#mainNav ~ .hero .hero-tagline {
  margin-bottom: 30px;
  font-size: 17px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .46);
}
#mainNav ~ .hero .hero-desc {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 15.5px;
  line-height: var(--fs-lh);
  color: rgba(255, 255, 255, .72);
}
#mainNav ~ .hero .hero-identity {
  gap: 0;
  margin: -14px auto 40px;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .55);
}
#mainNav ~ .hero .hero-identity span {
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: none;
}
#mainNav ~ .hero .hero-identity span + span { border-left: 1px solid rgba(255, 255, 255, .16); }
#mainNav ~ .hero .hero-actions { gap: 14px; }
#mainNav ~ .hero .btn-primary,
#mainNav ~ .hero .btn-outline {
  justify-content: center;
  height: 52px;
  padding: 0 32px;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  box-shadow: none;
  transform: none;
}
#mainNav ~ .hero .btn-primary {
  background: var(--fs-gold);
  color: var(--fs-navy-deep);
}
#mainNav ~ .hero .btn-primary:hover { background: #d1b275; }
#mainNav ~ .hero .btn-outline {
  border: 1px solid rgba(255, 255, 255, .28) !important;
  background: transparent;
  color: rgba(255, 255, 255, .9) !important;
}
#mainNav ~ .hero .btn-outline:hover {
  border-color: var(--fs-gold) !important;
  color: var(--fs-gold-soft) !important;
}
#mainNav ~ .hero .hero-ai-disclaimer {
  margin-top: 22px;
  font-size: 12px;
  color: rgba(255, 255, 255, .42);
}
#mainNav ~ .hero .hero-stats {
  background: rgba(6, 15, 31, .5);
  border-top: 1px solid rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
#mainNav ~ .hero .hero-stat {
  padding: 26px 0 24px;
  border-right: 1px solid rgba(255, 255, 255, .07);
}
#mainNav ~ .hero .hero-stat-num {
  margin-bottom: 8px;
  font-family: var(--fs-display);
  font-size: 32px;
  color: #e0c78f;
}
#mainNav ~ .hero .hero-stat-num sup {
  margin-left: 3px;
  font-family: var(--fs-ui);
  font-size: 12px !important;
  font-weight: 500;
  color: rgba(224, 199, 143, .75);
}
#mainNav ~ .hero .hero-stat-label {
  font-size: 12.5px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .5);
}

@media (max-width: 900px) {
  #mainNav ~ .hero { padding: 104px 20px 0; min-height: 0; }
  #mainNav ~ .hero .hero-grid-lines::before { width: 520px; height: 520px; top: -180px; right: -300px; }
  #mainNav ~ .hero .hero-grid-lines::after { display: none; }
  #mainNav ~ .hero .hero-badge {
    max-width: 100%;
    margin-bottom: 26px;
    padding: 6px 12px;
    font-size: 10px;
    letter-spacing: .12em;
    white-space: nowrap;
  }
  /* Longer EN/RU badges may wrap rather than push the hero wider than the screen. */
  :root:not(:lang(zh)) #mainNav ~ .hero .hero-badge {
    letter-spacing: .06em;
    line-height: 1.6;
    white-space: normal;
    text-wrap: balance;
  }
  #mainNav ~ .hero .hero-eyebrow { font-size: 15px; margin-bottom: 16px; }
  #mainNav ~ .hero h1 { font-size: 34px; line-height: 1.3; }
  #mainNav ~ .hero .hero-brand-motto { font-size: 16px; letter-spacing: .3em; }
  #mainNav ~ .hero .hero-tagline { font-size: 15px; letter-spacing: .04em; margin-bottom: 24px; }
  #mainNav ~ .hero .hero-desc { font-size: 15px; margin-bottom: 32px; }
  #mainNav ~ .hero .hero-identity { flex-direction: column; gap: 8px; margin: -12px auto 32px; }
  #mainNav ~ .hero .hero-identity span + span { border-left: 0; }
  #mainNav ~ .hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 340px;
    margin: 0 auto;
  }
  #mainNav ~ .hero .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% + 40px);
    margin: 48px -20px 0;
  }
  #mainNav ~ .hero .hero-stat {
    min-width: 0;
    padding: 20px 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }
  #mainNav ~ .hero .hero-stat:nth-child(2n) { border-right: 0; }
  #mainNav ~ .hero .hero-stat:last-child { grid-column: 1 / -1; border-bottom: 0; }
  #mainNav ~ .hero .hero-stat-num { font-size: 28px; }
}
@media (max-width: 900px) {
  #mainNav ~ .hero h1:is(:lang(en), :lang(ru)) { font-size: 31px; line-height: 1.2; }
  #mainNav ~ .hero .hero-brand-motto:is(:lang(en), :lang(ru)) { font-size: 14.5px; letter-spacing: .08em; }
}
@media (max-width: 360px) {
  #mainNav ~ .hero h1 { font-size: 30px; }
}


/* Hero depth: grain, a soft light behind the headline, foil buttons, a foil edge on the stats bar. */
#mainNav ~ .hero .hero-bg-pattern {
  opacity: 1;
  background-image:
    var(--fs-grain-dark),
    radial-gradient(52% 46% at 50% 38%, rgba(64, 104, 168, .32) 0%, rgba(64, 104, 168, 0) 70%),
    radial-gradient(ellipse at 12% 88%, rgba(194, 161, 96, .12) 0%, transparent 52%),
    radial-gradient(ellipse at 88% 12%, rgba(58, 120, 183, .12) 0%, transparent 50%);
}
#mainNav ~ .hero .btn-primary {
  background: var(--fs-foil);
  background-size: 180% 100%;
  background-position: 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 14px 30px -14px rgba(216, 187, 124, .65);
  transition: background-position .5s ease, box-shadow .3s ease;
}
#mainNav ~ .hero .btn-primary:hover {
  background: var(--fs-foil);
  background-size: 180% 100%;
  background-position: 100% 0;
}
#mainNav ~ .hero .btn-outline {
  background: rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
#mainNav ~ .hero .hero-stats::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--fs-foil-line);
  opacity: .7;
}
#mainNav ~ .hero .hero-stat-num {
  background: linear-gradient(180deg, #f2e2b6 0%, #d3b574 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#mainNav ~ .hero .hero-stat-num sup { -webkit-text-fill-color: rgba(224, 199, 143, .8); }

/* ── Shared surfaces ─────────────────────────────────────────────────── */

/* Paper-grain ivory and grained navy section grounds. */
#mainNav ~ :is(.daiyun-intro, .about, .services-section, .procedure-section, .brand-matrix-section, .home-faq) {
  background: var(--fs-grain-light), var(--fs-ivory);
}
#mainNav ~ :is(.topics-section, .knowledge-section, .trust-standards-section, .cases-section, .ecosystem-section, .contact-section) {
  background: linear-gradient(180deg, #fff 0%, #fbfaf6 100%);
  border: 0;
}
#mainNav ~ :is(.legal-section, .why-section) {
  position: relative;
  background: var(--fs-grain-dark), var(--fs-navy-surface);
}

/* Elevated white cards. */
#mainNav ~ section :is(.topic-card, .service-card, .trust-standard-card, .article-card, .brand-channel-card, .client-type-card),
#mainNav ~ .procedure-section :is(.compliance-box, .procedure-steps),
#mainNav ~ .home-faq .home-faq-list,
#mainNav ~ .contact-section .contact-item {
  position: relative;
  border: 1px solid rgba(15, 30, 54, .06) !important;
  border-radius: 4px;
  background: #fff !important;
  box-shadow: var(--fs-shadow);
}
#mainNav ~ section :is(.topic-card, .service-card, .trust-standard-card, .article-card, .brand-channel-card) {
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}
#mainNav ~ section :is(.topic-card, .service-card, .trust-standard-card, .article-card, .brand-channel-card):hover {
  transform: translateY(-4px);
  box-shadow: var(--fs-shadow-lift);
}
/* Foil edge that draws in on hover. */
#mainNav ~ section :is(.topic-card, .service-card, .trust-standard-card, .article-card)::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: var(--fs-foil-line);
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .35s ease, transform .45s ease;
  pointer-events: none;
}
#mainNav ~ section :is(.topic-card, .service-card, .trust-standard-card, .article-card):hover::after {
  opacity: 1;
  transform: none;
}

/* Gold-rimmed medallions for section icons. */
#mainNav ~ section :is(.topic-icon, .service-icon, .about-point-icon, .contact-item-icon) {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  padding: 0;
  border: 1px solid rgba(194, 161, 96, .5);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #fff 0%, #faf5ea 55%, #efe3c8 100%) !important;
  box-shadow: inset 0 1px 0 #fff, 0 8px 18px -10px rgba(148, 118, 58, .55);
  color: var(--fs-gold-text) !important;
  font-size: 19px;
}
#mainNav ~ section :is(.about-point-icon, .contact-item-icon) {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  margin: 0;
  font-size: 16px;
}
#mainNav ~ .why-section .why-point-icon,
#mainNav ~ .trust-standards-section .trust-standard-card i {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(194, 161, 96, .45);
  border-radius: 50%;
  font-size: 16px;
}
#mainNav ~ .why-section .why-point-icon {
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .03) 70%);
  color: var(--fs-gold-soft);
}
#mainNav ~ .trust-standards-section .trust-standard-card i {
  margin-bottom: 24px;
  background: radial-gradient(circle at 32% 26%, #fff 0%, #faf5ea 55%, #efe3c8 100%);
  box-shadow: inset 0 1px 0 #fff, 0 8px 18px -10px rgba(148, 118, 58, .55);
  color: var(--fs-gold-text);
}

/* Navy panels: grained, lit from the top-left, framed by a fine inner gold line. */
#mainNav ~ .ivf-entry > div:first-child,
#mainNav ~ .about .about-card,
#mainNav ~ .ecosystem-section .eco-card,
#mainNav ~ .brand-matrix-section .brand-channel-card.primary,
#mainNav ~ .trust-standards-section .trust-os-entry,
#mainNav ~ .contact-section .qr-section {
  background: var(--fs-grain-dark), var(--fs-navy-surface) !important;
  box-shadow: var(--fs-shadow-deep);
}

/* Light-section buttons: navy with a soft sheen; gold foil stays on dark grounds. */
#mainNav ~ section:not(.hero) .btn-primary {
  background: linear-gradient(180deg, #1d3c6c 0%, #132b52 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 12px 24px -14px rgba(11, 26, 51, .6);
}
#mainNav ~ section:not(.hero) .btn-primary:hover {
  background: linear-gradient(180deg, #16325c 0%, #0d2142 100%);
  transform: translateY(-1px);
}

/* ── 代孕是什么: a raised sheet on paper ──────────────────────────────── */

#mainNav ~ .daiyun-intro { padding: clamp(80px, 10vw, 128px) 0; }
#mainNav ~ .daiyun-intro .daiyun-intro-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(48px, 7vw, 104px);
  align-items: start;
  max-width: none;
  margin: 0;
  padding: clamp(56px, 6vw, 80px) clamp(40px, 6vw, 84px);
  border: 1px solid rgba(15, 30, 54, .06);
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--fs-shadow-lift);
}
/* Fine gold corner marks, like a certificate. */
#mainNav ~ .daiyun-intro .daiyun-intro-card::before,
#mainNav ~ .daiyun-intro .daiyun-intro-card::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  pointer-events: none;
}
#mainNav ~ .daiyun-intro .daiyun-intro-card::before {
  top: 16px;
  left: 16px;
  border-top: 1px solid var(--fs-gold);
  border-left: 1px solid var(--fs-gold);
}
#mainNav ~ .daiyun-intro .daiyun-intro-card::after {
  right: 16px;
  bottom: 16px;
  border-right: 1px solid var(--fs-gold);
  border-bottom: 1px solid var(--fs-gold);
}
#mainNav ~ .daiyun-intro .daiyun-intro-card h2 {
  grid-column: 1;
  grid-row: 1 / span 2;
  position: relative;
  margin: 0;
  padding-top: 30px;
  font-family: var(--fs-display);
  font-size: clamp(34px, 3.6vw, 50px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .08em;
  color: var(--fs-ink);
}
#mainNav ~ .daiyun-intro .daiyun-intro-card h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--fs-foil);
}
#mainNav ~ .daiyun-intro .daiyun-intro-card > p {
  grid-column: 2;
  margin: 0;
  text-align: justify;
}
#mainNav ~ .daiyun-intro .daiyun-intro-card > p:nth-of-type(1) {
  grid-row: 1;
  padding-bottom: 28px;
  font-size: 19px;
  line-height: 1.95;
  color: #1d2a43;
}
#mainNav ~ .daiyun-intro .daiyun-intro-card > p:nth-of-type(2) {
  grid-row: 2;
  padding-top: 28px;
  border-top: 1px solid var(--fs-hair);
  font-size: 16px;
  line-height: 2.05;
  color: var(--fs-body);
}
#mainNav ~ .daiyun-intro .daiyun-intro-card > p.daiyun-intro-more {
  grid-row: 3;
  margin-top: 36px;
  text-align: left;
}
#mainNav ~ .daiyun-intro .daiyun-intro-more a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 0 7px;
  border-bottom: 1px solid var(--fs-gold);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--fs-ink);
}
#mainNav ~ .daiyun-intro .daiyun-intro-more a::after {
  content: "→";
  color: var(--fs-gold-text);
  transition: transform .25s ease;
}
#mainNav ~ .daiyun-intro .daiyun-intro-more a:hover { color: var(--fs-navy); }
#mainNav ~ .daiyun-intro .daiyun-intro-more a:hover::after { transform: translateX(4px); }
#mainNav ~ .daiyun-intro .daiyun-intro-card .daiyun-intro-note {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  max-width: 22em;
  margin: 0 !important;
  padding-left: 14px;
  border-left: 1px solid rgba(194, 161, 96, .5);
  font-size: 12.5px !important;
  line-height: 1.85;
  text-align: left;
  color: var(--fs-muted) !important;
}

/* ── IVF entry: raised split panel ───────────────────────────────────── */

#mainNav ~ .ivf-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) !important;
  gap: 0 !important;
  align-items: stretch !important;
  padding: clamp(72px, 9vw, 120px) max(24px, calc((100vw - 1104px) / 2)) !important;
  background: linear-gradient(180deg, #fff 0%, #fbfaf6 100%) !important;
  font-family: var(--fs-ui) !important;
  color: var(--fs-ink) !important;
}
#mainNav ~ .ivf-entry > div:first-child {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 5vw, 68px);
  border-radius: 4px 0 0 4px;
}
#mainNav ~ .ivf-entry > div:first-child::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(194, 161, 96, .22);
  border-radius: 2px;
  pointer-events: none;
}
#mainNav ~ .ivf-entry > div:first-child::after {
  content: "";
  position: absolute;
  right: -170px;
  bottom: -230px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(194, 161, 96, .22);
  border-radius: 50%;
  outline: 1px solid rgba(255, 255, 255, .05);
  outline-offset: 56px;
  pointer-events: none;
}
#mainNav ~ .ivf-entry > div:first-child > * { position: relative; z-index: 1; }
#mainNav ~ .ivf-entry .ivf-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .24em !important;
  color: var(--fs-gold-soft) !important;
}
#mainNav ~ .ivf-entry .ivf-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--fs-foil);
}
#mainNav ~ .ivf-entry h2 {
  margin: 0 0 20px !important;
  font-family: var(--fs-display) !important;
  font-size: clamp(30px, 3vw, 40px) !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  letter-spacing: var(--fs-track);
  color: #fff !important;
}
#mainNav ~ .ivf-entry > div:first-child p:not(.ivf-kicker) {
  max-width: 30em;
  font-size: 15.5px !important;
  line-height: var(--fs-lh) !important;
  color: rgba(255, 255, 255, .74) !important;
}
#mainNav ~ .ivf-entry .ivf-actions {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  gap: 0 !important;
  margin: 0 !important;
  padding: clamp(32px, 4vw, 56px);
  border-radius: 0 4px 4px 0;
  background: #fff;
  box-shadow: var(--fs-shadow-lift);
}
#mainNav ~ .ivf-entry .ivf-actions .ivf-btn {
  display: flex !important;
  justify-content: flex-start;
  align-items: center;
  max-width: none;
  min-height: 64px !important;
  padding: 0 2px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--fs-hair) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--fs-ink) !important;
  font-size: 16.5px !important;
  font-weight: 600 !important;
  letter-spacing: .02em;
  transition: color .2s, padding .25s ease;
}
#mainNav ~ .ivf-entry .ivf-actions .ivf-btn:first-child { border-top: 1px solid var(--fs-hair) !important; }
#mainNav ~ .ivf-entry .ivf-actions .ivf-ghost::after { content: "→"; margin-left: .45em; }
#mainNav ~ .ivf-entry .ivf-actions .ivf-btn:not([data-consult-action]):hover {
  padding-left: 8px !important;
  color: var(--fs-navy) !important;
}
#mainNav ~ .ivf-entry .ivf-actions .ivf-btn[data-consult-action] {
  justify-content: center;
  min-height: 54px !important;
  margin-top: 32px;
  border: 0 !important;
  border-radius: 2px !important;
  background: linear-gradient(180deg, #1d3c6c 0%, #132b52 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 14px 26px -14px rgba(11, 26, 51, .6);
  color: #fff !important;
  font-size: 15px !important;
  letter-spacing: .08em;
}
#mainNav ~ .ivf-entry .ivf-actions .ivf-btn[data-consult-action]:hover { background: linear-gradient(180deg, #16325c 0%, #0d2142 100%) !important; }

/* ── AI guide band ───────────────────────────────────────────────────── */

#mainNav ~ .ai-home-band { padding: 80px 0; }
#mainNav ~ .ai-home-band .ai-home-card {
  padding: 44px;
  border-color: rgba(194, 161, 96, .26);
  border-radius: 4px;
  background: var(--fs-grain-dark), linear-gradient(150deg, rgba(29, 62, 112, .72) 0%, rgba(11, 26, 51, .82) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), var(--fs-shadow-deep);
}
#mainNav ~ .ai-home-band .ai-home-content h2 {
  font-family: var(--fs-display);
  font-weight: 600;
  letter-spacing: var(--fs-track);
}
#mainNav ~ .ai-home-band .ai-home-content p { font-size: 15px; line-height: var(--fs-lh); }
#mainNav ~ .ai-home-band .ai-seal {
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .16) 0%, rgba(194, 161, 96, .08) 70%);
  box-shadow: 0 0 0 6px rgba(194, 161, 96, .08);
}
#mainNav ~ .ai-home-band .ai-chip { border-radius: 2px; }
#mainNav ~ .ai-home-band :is(.ai-gold-btn, .ai-outline-btn) { border-radius: 2px; letter-spacing: .04em; }
#mainNav ~ .ai-home-band .ai-gold-btn {
  border-color: transparent;
  background: var(--fs-foil);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 26px -14px rgba(216, 187, 124, .6);
}

/* ── About ───────────────────────────────────────────────────────────── */

#mainNav ~ .about .about-grid { gap: clamp(48px, 7vw, 104px); }
/* Desktop: the card rides alongside the reading column instead of floating mid-height. */
@media (min-width: 1025px) {
  #mainNav ~ .about .about-grid { align-items: start; }
  #mainNav ~ .about .about-visual { position: sticky; top: 132px; margin-top: 56px; }
}
#mainNav ~ .about .about-card {
  padding: 60px 56px 68px;
  border-radius: 4px;
  overflow: visible;
}
#mainNav ~ .about .about-card::before {
  inset: 14px;
  width: auto;
  height: auto;
  border: 1px solid rgba(194, 161, 96, .22);
  border-radius: 2px;
  background: none;
}
#mainNav ~ .about .about-card-quote { position: relative; font-size: 23px; line-height: 1.65; color: var(--fs-gold-soft); }
#mainNav ~ .about .about-card-divider { width: 48px; height: 1px; background: var(--fs-foil); }
#mainNav ~ .about .about-entity { font-size: 13.5px; color: rgba(255, 255, 255, .74); }
#mainNav ~ .about .about-badge {
  width: 104px;
  height: 104px;
  right: -26px;
  bottom: -26px;
  background: var(--fs-foil);
  box-shadow: 0 0 0 8px rgba(246, 243, 236, .9), 0 18px 34px -12px rgba(148, 118, 58, .55), inset 0 1px 0 rgba(255, 255, 255, .5);
}
#mainNav ~ .about .about-badge-num { font-family: var(--fs-display); font-size: 32px; font-weight: 600; }
#mainNav ~ .about .about-brand-link {
  margin-top: 28px;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid var(--fs-gold);
  border-radius: 0;
  background: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--fs-ink);
}
#mainNav ~ .about .about-brand-link:hover { transform: none; background: none; }
#mainNav ~ .about .about-points { gap: 0; margin-top: 40px; border-top: 1px solid var(--fs-hair); }
#mainNav ~ .about .about-point { gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--fs-hair); }
#mainNav ~ .about .about-point h4 { margin-bottom: 8px; font-size: 17px; color: var(--fs-ink); }
#mainNav ~ .about .about-point p { font-size: 14.5px; line-height: var(--fs-lh); color: var(--fs-body); }

/* ── Card grids ──────────────────────────────────────────────────────── */

#mainNav ~ section :is(.topics-grid, .services-grid, .trust-standards-grid) { gap: 24px; margin-top: 64px; }
#mainNav ~ #knowledge .articles-grid { gap: 24px; margin-top: 64px; }

/* Topics */
#mainNav ~ .topics-section .topic-card { padding: 44px 36px 32px; }
#mainNav ~ .topics-section .topic-card h3 { margin-bottom: 12px; font-size: 19px; color: var(--fs-ink); }
#mainNav ~ .topics-section .topic-card p {
  margin-bottom: 26px;
  font-size: 14.5px;
  line-height: var(--fs-lh);
  color: var(--fs-body);
}
#mainNav ~ .topics-section .topic-links { display: block; border-top: 1px solid var(--fs-hair); }
#mainNav ~ .topics-section .topic-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--fs-hair-soft);
  border-radius: 0;
  background: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--fs-ink);
}
#mainNav ~ .topics-section .topic-links a:last-child { border-bottom: 0; }
#mainNav ~ .topics-section .topic-links a::after {
  content: "→";
  flex: 0 0 auto;
  color: var(--fs-gold-text);
  transition: transform .2s ease;
}
#mainNav ~ .topics-section .topic-links a:hover { background: none; color: var(--fs-navy); }
#mainNav ~ .topics-section .topic-links a:hover::after { transform: translateX(3px); }

/* Services */
#mainNav ~ .services-section .service-card { padding: 44px 38px 40px; }
#mainNav ~ .services-section .service-card::before { display: none; }
#mainNav ~ .services-section .service-card:hover .service-icon { color: var(--fs-gold-text) !important; }
#mainNav ~ .services-section .service-card h3 { margin-bottom: 12px; font-size: 18px; color: var(--fs-ink); }
#mainNav ~ .services-section .service-card p { font-size: 14.5px; line-height: var(--fs-lh); color: var(--fs-body); }
#mainNav ~ .services-section .ivf-link { margin-top: 20px !important; font-size: 14px; }

/* Trust standards */
#mainNav ~ .trust-standards-section .trust-standard-card { padding: 38px 30px 34px; }
#mainNav ~ .trust-standards-section .trust-standard-card h3 { margin-bottom: 12px; font-size: 17px; color: var(--fs-ink); }
#mainNav ~ .trust-standards-section .trust-standard-card p { font-size: 14px; line-height: var(--fs-lh); color: var(--fs-body); }
#mainNav ~ .trust-standards-section .trust-os-entry {
  position: relative;
  max-width: none;
  margin-top: 40px;
  padding: 36px 44px;
  border: 0;
  border-radius: 4px;
}
#mainNav ~ .trust-standards-section .trust-os-entry::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(194, 161, 96, .2);
  border-radius: 2px;
  pointer-events: none;
}
#mainNav ~ .trust-standards-section .trust-os-entry .eyebrow { letter-spacing: .24em; color: var(--fs-gold-soft); }
#mainNav ~ .trust-standards-section .trust-os-entry h3 {
  font-family: var(--fs-display);
  font-size: 24px;
  letter-spacing: var(--fs-track);
}
#mainNav ~ .trust-standards-section .trust-os-entry p { font-size: 14px; line-height: var(--fs-lh); }
#mainNav ~ .trust-standards-section .trust-os-entry a {
  position: relative;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 2px;
  background: var(--fs-foil);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 26px -14px rgba(216, 187, 124, .6);
  color: var(--fs-navy-deep);
  font-weight: 600;
  letter-spacing: .04em;
}

/* Knowledge: tag line, title and summary on raised cards; the category colour
   becomes a slim top rule instead of a coloured header block. */
#mainNav ~ #knowledge .article-card { display: flex; flex-direction: column; overflow: visible; }
#mainNav ~ #knowledge .article-card-header {
  display: block;
  height: auto;
  padding: 34px 32px 0;
  overflow: visible;
  border-top: 3px solid var(--fs-navy);
  border-radius: 4px 4px 0 0;
  background: none !important;
}
#mainNav ~ #knowledge .article-card-header.teal-bg { border-top-color: #2f6f86; }
#mainNav ~ #knowledge .article-card-header.gold-bg { border-top-color: var(--fs-gold); }
#mainNav ~ #knowledge .article-card-header i { display: none; }
#mainNav ~ #knowledge .article-tag {
  position: static;
  display: inline-block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--fs-gold-text);
}
/* Latin-script category labels arrive in mixed case; set them as small caps-style labels. */
:root:not(:lang(zh)) #mainNav ~ #knowledge .article-tag { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
#mainNav ~ #knowledge .article-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px 32px 30px;
}
#mainNav ~ #knowledge .article-card-body h4 {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--fs-ink);
}
#mainNav ~ #knowledge .article-card-body p {
  margin-bottom: 24px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--fs-body);
}
#mainNav ~ #knowledge .article-meta { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--fs-hair-soft); }
#mainNav ~ section .article-meta { font-size: 12px; color: var(--fs-muted); }
#mainNav ~ section .article-read-more {
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fs-ink);
  white-space: nowrap;
}
#mainNav ~ section .article-read-more i { font-size: 11px; color: var(--fs-gold-text); }
#mainNav ~ section .article-read-more:hover { color: var(--fs-navy); }

/* Knowledge call-to-action row (inline-styled wrapper) */
#mainNav ~ #knowledge .container > div[style] {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 56px !important;
}
#mainNav ~ #knowledge .container > div[style] > a { margin: 0 !important; }
#mainNav ~ #knowledge .btn-outline { border-color: var(--fs-hair) !important; background: #fff; box-shadow: var(--fs-shadow); }
#mainNav ~ #knowledge .btn-outline:hover { border-color: var(--fs-navy) !important; color: var(--fs-navy) !important; }

/* ── Ecosystem ───────────────────────────────────────────────────────── */

#mainNav ~ .ecosystem-section .ecosystem-grid { gap: 28px; margin-top: 64px; }
#mainNav ~ .ecosystem-section .eco-card {
  min-height: 0;
  padding: 52px 48px 38px;
  border: 0;
  border-radius: 4px;
}
#mainNav ~ .ecosystem-section .eco-card.downstream {
  background: var(--fs-grain-dark), radial-gradient(130% 120% at 0% 0%, #7a5f31 0%, #54401f 45%, #2f2412 100%) !important;
}
#mainNav ~ .ecosystem-section .eco-card::before {
  inset: 12px;
  border: 1px solid rgba(255, 236, 196, .16);
  border-radius: 2px;
  background: none;
}
#mainNav ~ .ecosystem-section .eco-card::after {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  pointer-events: none;
}
#mainNav ~ .ecosystem-section .eco-card:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -36px rgba(6, 15, 31, .6); }
#mainNav ~ .ecosystem-section .eco-badge {
  margin-bottom: 30px;
  padding: 0;
  border: 0 !important;
  background: none !important;
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--fs-gold-soft) !important;
}
#mainNav ~ .ecosystem-section .eco-card.downstream .eco-badge { color: #f3e2b8 !important; }
#mainNav ~ .ecosystem-section .eco-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 236, 196, .35);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, .04) 70%) !important;
  font-size: 20px;
  color: #f3e2b8 !important;
}
#mainNav ~ .ecosystem-section .eco-card h3 {
  font-family: var(--fs-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: .01em;
}
#mainNav ~ .ecosystem-section .eco-sub { margin-bottom: 20px; font-size: 12.5px; letter-spacing: .16em; color: rgba(255, 255, 255, .58); }
#mainNav ~ .ecosystem-section .eco-card p { font-size: 15px; line-height: var(--fs-lh); color: rgba(255, 255, 255, .8); }
#mainNav ~ .ecosystem-section .eco-points { gap: 8px; margin: 24px 0 32px; }
#mainNav ~ .ecosystem-section .eco-points li { align-items: baseline; font-size: 14px; line-height: 1.85; color: rgba(255, 255, 255, .72); }
#mainNav ~ .ecosystem-section .eco-points li::before {
  content: "";
  flex: 0 0 10px;
  height: 1px;
  margin-top: 0;
  transform: translateY(-.3em);
  background: var(--fs-gold-soft);
}
#mainNav ~ .ecosystem-section .eco-bottom { position: relative; padding-top: 22px; border-top-color: rgba(255, 255, 255, .14); }
#mainNav ~ .ecosystem-section .eco-link {
  padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 2px;
  background: rgba(255, 255, 255, .05);
  font-weight: 600;
  letter-spacing: .03em;
}
#mainNav ~ .ecosystem-section .eco-link:hover { background: #fff; color: var(--fs-navy-deep); }
#mainNav ~ .ecosystem-section .ecosystem-path {
  gap: 18px;
  margin-top: 32px;
  padding: 22px 28px;
  border: 1px solid rgba(15, 30, 54, .06);
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--fs-shadow);
}
#mainNav ~ .ecosystem-section .path-node { padding: 0; background: none; font-size: 14px; color: var(--fs-ink); }
#mainNav ~ .ecosystem-section .path-node i { color: var(--fs-gold-text); }
#mainNav ~ .ecosystem-section .path-arrow { color: var(--fs-gold); font-size: 11px; }

/* ── Procedure ───────────────────────────────────────────────────────── */

#mainNav ~ .procedure-section .procedure-tabs {
  display: inline-flex;
  gap: 4px;
  width: auto;
  margin-bottom: 40px;
  padding: 5px;
  overflow: visible;
  border: 1px solid rgba(15, 30, 54, .06);
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--fs-shadow);
}
#mainNav ~ .procedure-section .proc-tab {
  padding: 12px 24px;
  border: 0 !important;
  border-radius: 2px;
  background: none;
  font-family: var(--fs-ui);
  font-size: 14.5px;
  letter-spacing: .02em;
  color: var(--fs-body);
  transition: background .25s ease, color .25s ease;
}
#mainNav ~ .procedure-section .proc-tab:hover { color: var(--fs-ink); background: rgba(15, 30, 54, .04); }
#mainNav ~ .procedure-section .proc-tab.active {
  background: var(--fs-grain-dark), linear-gradient(180deg, #1d3c6c 0%, #122a50 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 8px 16px -10px rgba(11, 26, 51, .7);
  color: var(--fs-gold-soft);
  font-weight: 600;
}
#mainNav ~ .procedure-section .procedure-steps {
  max-width: none;
  padding: 52px 56px 20px;
}
#mainNav ~ .procedure-section .proc-step-connector { width: 60px; }
#mainNav ~ .procedure-section .proc-step-num {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(194, 161, 96, .6);
  background: radial-gradient(circle at 32% 26%, #fff 0%, #faf5ea 55%, #efe3c8 100%);
  box-shadow: inset 0 1px 0 #fff, 0 6px 14px -8px rgba(148, 118, 58, .6);
  color: var(--fs-ink);
  font-family: var(--fs-display);
  font-size: 14.5px;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
}
#mainNav ~ .procedure-section .proc-step-line { margin: 8px 0; background: linear-gradient(180deg, rgba(194, 161, 96, .6), rgba(194, 161, 96, .15)); }
#mainNav ~ .procedure-section .proc-step-body { padding: 0 0 36px 22px; margin-top: 7px; max-width: 760px; }
#mainNav ~ .procedure-section .proc-step-body h4 { margin-bottom: 10px; font-size: 17.5px; color: var(--fs-ink); }
#mainNav ~ .procedure-section .proc-step-body p { font-size: 15px; line-height: var(--fs-lh); color: var(--fs-body); }
#mainNav ~ .procedure-section .proc-content > p[style] {
  padding: 22px 26px !important;
  border: 1px solid rgba(15, 30, 54, .06) !important;
  border-left: 2px solid var(--fs-gold) !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-shadow: var(--fs-shadow);
  font-size: 14.5px !important;
  line-height: var(--fs-lh) !important;
  color: var(--fs-body) !important;
}
#mainNav ~ .procedure-section #tab-clients > p[style] {
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none;
}
#mainNav ~ .procedure-section .client-types-grid { gap: 24px; }
#mainNav ~ .procedure-section .client-type-card {
  overflow: hidden;
  padding: 38px 34px 28px;
  --fs-accent: var(--fs-navy);
}
#mainNav ~ .procedure-section .client-type-card.teal { --fs-accent: #2f6f86; }
#mainNav ~ .procedure-section .client-type-card.gold { --fs-accent: var(--fs-gold); }
#mainNav ~ .procedure-section .client-type-card.slate { --fs-accent: #59657a; }
#mainNav ~ .procedure-section .client-type-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--fs-accent);
}
#mainNav ~ .procedure-section .client-type-card h4 { font-size: 19px; color: var(--fs-ink); }
#mainNav ~ .procedure-section .client-type-card .sub {
  margin-bottom: 18px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fs-muted);
}
#mainNav ~ .procedure-section .client-type-card ul li {
  gap: 10px;
  padding: 10px 0;
  border-bottom-color: var(--fs-hair-soft);
  font-size: 14px;
  line-height: 1.8;
  color: var(--fs-body);
}
#mainNav ~ .procedure-section .client-type-card ul li::before { color: var(--fs-gold-text); }
#mainNav ~ .procedure-section .compliance-box {
  padding: 34px 38px;
  border-left: 2px solid var(--fs-gold) !important;
}
#mainNav ~ .procedure-section .compliance-box h4 { font-size: 17px; color: var(--fs-ink); }
#mainNav ~ .procedure-section .compliance-box h4 i { color: var(--fs-gold-text); }
#mainNav ~ .procedure-section .comp-rule { gap: 18px; }
#mainNav ~ .procedure-section .comp-rule-title { min-width: 110px; font-size: 14px; color: var(--fs-ink); }
#mainNav ~ .procedure-section .comp-rule-body { font-size: 14px; line-height: 1.9; color: var(--fs-body); }
#mainNav ~ .procedure-section .compliance-box p[style] { font-size: 14px !important; line-height: var(--fs-lh) !important; color: var(--fs-body) !important; }

/* ── Legal framework ─────────────────────────────────────────────────── */

#mainNav ~ .legal-section .legal-inner { gap: clamp(40px, 6vw, 96px); }
#mainNav ~ .legal-section .legal-label-col p { font-size: 15px; line-height: var(--fs-lh); color: rgba(255, 255, 255, .62); }
#mainNav ~ .legal-section .legal-label-col a[style] {
  color: var(--fs-gold-soft) !important;
  text-decoration-color: rgba(220, 196, 143, .5) !important;
  text-underline-offset: 5px;
}
#mainNav ~ .legal-section .legal-articles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
#mainNav ~ .legal-section .legal-article {
  position: relative;
  padding: 30px 28px 28px;
  border: 1px solid rgba(194, 161, 96, .2);
  border-radius: 4px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .02) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 40px -24px rgba(0, 0, 0, .5);
}
#mainNav ~ .legal-section .legal-article::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 28px;
  width: 36px;
  height: 2px;
  background: var(--fs-foil);
}
#mainNav ~ .legal-section .legal-article h5 { margin-bottom: 10px; font-size: 16.5px; color: var(--fs-gold-soft); }
#mainNav ~ .legal-section .legal-article p { font-size: 14.5px; line-height: var(--fs-lh); color: rgba(255, 255, 255, .72); }

/* ── Inline-styled notes (eligibility aside, AI guide entry) ─────────── */

aside[data-reader-eligibility] {
  max-width: 1104px !important;
  margin: clamp(56px, 7vw, 88px) auto !important;
  padding: 36px 44px !important;
  border: 1px solid rgba(15, 30, 54, .06) !important;
  border-left: 2px solid var(--fs-gold) !important;
  border-radius: 4px;
  background: #fff !important;
  box-shadow: var(--fs-shadow);
  font-size: 15px;
  line-height: var(--fs-lh) !important;
  color: var(--fs-body) !important;
}
aside[data-reader-eligibility] h2 {
  margin-bottom: 12px !important;
  font-family: var(--fs-ui) !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--fs-ink) !important;
}
aside[data-reader-eligibility] p:lang(zh) { text-align: justify; }

section[data-ai-guide-entry] {
  max-width: 1104px !important;
  margin: 0 auto clamp(64px, 8vw, 104px) !important;
  padding: 36px 44px !important;
  border: 1px solid rgba(15, 30, 54, .06) !important;
  border-left: 2px solid var(--fs-gold) !important;
  border-radius: 4px;
  background: var(--fs-grain-light), #fbf8f1 !important;
  box-shadow: var(--fs-shadow);
  color: var(--fs-body) !important;
}
section[data-ai-guide-entry] h2 {
  font-family: var(--fs-display);
  font-size: 22px !important;
  font-weight: 600;
  letter-spacing: var(--fs-track);
  color: var(--fs-ink);
}
section[data-ai-guide-entry] p { font-size: 15px; }
section[data-ai-guide-entry] a {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--fs-gold);
  font-weight: 600 !important;
  text-decoration: none;
  color: var(--fs-ink) !important;
}

/* ── Channels and cases ──────────────────────────────────────────────── */

#mainNav ~ .brand-matrix-section .brand-matrix-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}
#mainNav ~ .brand-matrix-section .brand-channel-card { min-height: 0; padding: 36px 34px; }
#mainNav ~ .brand-matrix-section .brand-channel-card.primary { border-color: transparent !important; }
#mainNav ~ .brand-matrix-section .brand-channel-card h3 { font-size: 18px; color: var(--fs-ink); }
#mainNav ~ .brand-matrix-section .brand-channel-card.primary h3 { color: #fff; }
#mainNav ~ .brand-matrix-section .brand-channel-card p { font-size: 14px; line-height: var(--fs-lh); color: var(--fs-body); }
#mainNav ~ .brand-matrix-section .brand-channel-card.primary p { color: rgba(255, 255, 255, .76); }
#mainNav ~ .brand-matrix-section .brand-channel-card a { font-size: 14px; font-weight: 600; color: var(--fs-ink); }
#mainNav ~ .brand-matrix-section .brand-channel-card.primary a { color: var(--fs-gold-soft); }
#mainNav ~ .brand-matrix-section .brand-channel-card.primary a + a { margin: 10px 0 0 !important; }
#mainNav ~ .brand-matrix-section .brand-channel-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(15, 30, 54, .08);
  box-shadow: inset 0 1px 0 #fff, 0 8px 16px -10px rgba(15, 30, 54, .35);
  font-size: 19px;
}
#mainNav ~ .brand-matrix-section .brand-channel-card.primary .brand-channel-icon {
  border-color: rgba(194, 161, 96, .45);
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .03) 70%);
  box-shadow: none;
  color: var(--fs-gold-soft);
}
#mainNav ~ .brand-matrix-section .brand-qr-wrap {
  border: 1px solid rgba(15, 30, 54, .08);
  border-radius: 4px;
  box-shadow: inset 0 0 0 4px #faf7f0;
}

#mainNav ~ .cases-section .articles-grid { gap: 24px; margin-top: 56px; }
#mainNav ~ .cases-section .article-card { overflow: hidden; }
#mainNav ~ .cases-section .article-card-header.has-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(11, 26, 51, 0) 0%, rgba(11, 26, 51, .28) 100%);
  pointer-events: none;
}
#mainNav ~ .cases-section .article-tag {
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 2px;
  background: rgba(11, 26, 51, .72) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  letter-spacing: .12em;
}
#mainNav ~ .cases-section .article-card-body { padding: 26px 26px 24px; }
#mainNav ~ .cases-section .article-card-body h4 { font-size: 17px; line-height: 1.55; color: var(--fs-ink); }
#mainNav ~ .cases-section .article-card-body p { font-size: 14px; line-height: 1.85; color: var(--fs-body); }
#mainNav ~ .cases-section .article-meta { border-top-color: var(--fs-hair-soft); }

/* ── Why FS ──────────────────────────────────────────────────────────── */

#mainNav ~ .why-section .why-grid { gap: clamp(40px, 6vw, 96px); }
#mainNav ~ .why-section .why-points { gap: 14px; }
#mainNav ~ .why-section .why-point {
  gap: 20px;
  padding: 24px 26px;
  border: 1px solid rgba(194, 161, 96, .16);
  border-radius: 4px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .065) 0%, rgba(255, 255, 255, .015) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: border-color .3s ease, background .3s ease;
}
#mainNav ~ .why-section .why-point:hover { border-color: rgba(194, 161, 96, .34); background: linear-gradient(160deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .03) 100%); }
#mainNav ~ .why-section .why-point h4 { margin-bottom: 8px; font-size: 16.5px; color: #fff; }
#mainNav ~ .why-section .why-point p { font-size: 14.5px; line-height: var(--fs-lh); color: rgba(255, 255, 255, .64); }
#mainNav ~ .why-section .why-video-box {
  position: relative;
  padding: 60px 48px;
  border: 1px solid rgba(194, 161, 96, .22);
  border-radius: 4px;
  background: radial-gradient(90% 70% at 50% 0%, rgba(64, 104, 168, .28) 0%, rgba(255, 255, 255, .02) 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 60px -30px rgba(0, 0, 0, .55);
}
#mainNav ~ .why-section .why-video-box::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(194, 161, 96, .14);
  border-radius: 2px;
  pointer-events: none;
}
#mainNav ~ .why-section .why-video-box > a:first-child {
  position: relative;
  width: 76px;
  height: 76px;
  background: radial-gradient(circle at 35% 30%, #ff4a3d 0%, #d81f16 70%);
  box-shadow: 0 0 0 10px rgba(224, 36, 27, .12), 0 14px 30px -10px rgba(224, 36, 27, .6);
  font-size: 24px;
}
#mainNav ~ .why-section .why-video-box h4 {
  font-family: var(--fs-display);
  font-size: 22px;
  letter-spacing: var(--fs-track);
}
#mainNav ~ .why-section .why-video-box p { font-size: 14px; line-height: var(--fs-lh); color: rgba(255, 255, 255, .58); }
#mainNav ~ .why-section .why-video-box a.yt-btn {
  padding: 12px 22px;
  border-radius: 2px;
  background: var(--fs-foil);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 26px -14px rgba(216, 187, 124, .6);
  letter-spacing: .04em;
}

/* ── FAQ ─────────────────────────────────────────────────────────────── */

#mainNav ~ .home-faq .home-faq-kicker { color: var(--fs-gold-text); letter-spacing: .24em; }
#mainNav ~ .home-faq .home-faq-kicker::before { background: var(--fs-foil); }
#mainNav ~ .home-faq .home-faq-title {
  font-family: var(--fs-display);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: var(--fs-track);
  color: var(--fs-ink);
}
#mainNav ~ .home-faq .home-faq-list { overflow: hidden; border-top: 1px solid rgba(15, 30, 54, .06) !important; }
#mainNav ~ .home-faq .home-faq-item:last-child { border-bottom: 0; }
#mainNav ~ .home-faq .home-faq-item[open] { background: #fdfbf7; }
#mainNav ~ .home-faq .home-faq-question { color: var(--fs-ink); }
#mainNav ~ .home-faq a.home-faq-contact {
  border-radius: 2px;
  background: linear-gradient(180deg, #1d3c6c 0%, #132b52 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 12px 24px -14px rgba(11, 26, 51, .6);
  letter-spacing: .04em;
}

/* ── Contact ─────────────────────────────────────────────────────────── */

#mainNav ~ .contact-section .contact-grid { gap: clamp(40px, 5vw, 72px); margin-top: 64px; }
#mainNav ~ .contact-section .contact-info { gap: 14px; }
#mainNav ~ .contact-section .contact-item { gap: 18px; align-items: center; padding: 20px 24px; }
#mainNav ~ .contact-section .contact-item h5 { margin-bottom: 4px; font-size: 15px; color: var(--fs-ink); }
#mainNav ~ .contact-section .contact-item :is(p, a) { font-size: 14px; line-height: 1.8; color: var(--fs-body); }
#mainNav ~ .contact-section .qr-section {
  position: relative;
  padding: 52px 44px 44px;
  border: 0;
  border-radius: 4px;
}
#mainNav ~ .contact-section .qr-section::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(194, 161, 96, .22);
  border-radius: 2px;
  pointer-events: none;
}
#mainNav ~ .contact-section .qr-section > * { position: relative; }
#mainNav ~ .contact-section .qr-section h4 {
  margin-bottom: 30px;
  font-family: var(--fs-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: var(--fs-track);
  color: #fff;
}
#mainNav ~ .contact-section .qr-codes { gap: 22px; }
#mainNav ~ .contact-section .qr-placeholder {
  padding: 8px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(194, 161, 96, .5), 0 16px 30px -14px rgba(0, 0, 0, .55);
}
#mainNav ~ .contact-section .qr-placeholder img { border-radius: 0; }
#mainNav ~ .contact-section .qr-item p { margin-top: 4px; font-size: 13px; letter-spacing: .04em; color: rgba(255, 255, 255, .82); }
#mainNav ~ .contact-section .qr-section > p[style] { color: rgba(255, 255, 255, .5) !important; }

/* ── Footer ──────────────────────────────────────────────────────────── */

#mainNav ~ footer {
  position: relative;
  padding: 84px 0 36px;
  border-top: 0;
  background: var(--fs-grain-dark), linear-gradient(180deg, #0b1a33 0%, #07112a 100%);
}
#mainNav ~ footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--fs-foil-line);
  opacity: .6;
}
#mainNav ~ footer .footer-inner { gap: clamp(32px, 4vw, 64px); margin-bottom: 56px; }
#mainNav ~ footer .footer-brand p { max-width: 300px; font-size: 13.5px; line-height: 1.95; color: rgba(255, 255, 255, .52); }
#mainNav ~ footer .footer-col h5 { margin-bottom: 22px; font-size: 11.5px; letter-spacing: .22em; color: var(--fs-gold-soft); }
#mainNav ~ footer .footer-col ul { gap: 12px; }
#mainNav ~ footer .footer-col ul a { font-size: 13.5px; color: rgba(255, 255, 255, .56); }
#mainNav ~ footer .footer-col ul a:hover { color: #fff; }
#mainNav ~ footer .footer-bottom { border-top-color: rgba(255, 255, 255, .08); }
#mainNav ~ footer .footer-bottom p { color: rgba(255, 255, 255, .38); }

/* ── Homepage: tablet and phone ──────────────────────────────────────── */

@media (max-width: 1024px) {
  #mainNav ~ .brand-matrix-section .brand-matrix-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #mainNav ~ .legal-section .legal-articles { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  #mainNav ~ section .container,
  #mainNav ~ footer .container { padding: 0 20px; }
  #mainNav ~ section .section-title { font-size: 27px; line-height: 1.38; margin-bottom: 18px; }
  #mainNav ~ .legal-section .section-title { font-size: 27px !important; }
  #mainNav ~ section .section-sub { font-size: 15px; }
  #mainNav ~ section .section-label { margin-bottom: 16px; }

  #mainNav ~ section :is(.topics-grid, .services-grid, .trust-standards-grid),
  #mainNav ~ #knowledge .articles-grid,
  #mainNav ~ .cases-section .articles-grid { gap: 16px; margin-top: 40px; }
  #mainNav ~ section :is(.topic-card, .service-card, .trust-standard-card, .article-card, .brand-channel-card):hover { transform: none; }
  #mainNav ~ .topics-section .topic-card { padding: 32px 24px 22px; }
  #mainNav ~ .services-section .service-card { padding: 30px 24px 28px; }
  #mainNav ~ section :is(.topic-icon, .service-icon) { width: 46px; height: 46px; flex-basis: 46px; margin-bottom: 18px; font-size: 17px; }
  #mainNav ~ .trust-standards-section .trust-standard-card { padding: 30px 24px 26px; }
  #mainNav ~ #knowledge .article-card-header { padding: 28px 24px 0; }
  #mainNav ~ #knowledge .article-card-body { padding: 12px 24px 24px; }

  /* 代孕是什么 */
  #mainNav ~ .daiyun-intro { padding: 56px 0; }
  #mainNav ~ .daiyun-intro .daiyun-intro-card { display: block; padding: 48px 24px 36px; }
  #mainNav ~ .daiyun-intro .daiyun-intro-card::before { top: 10px; left: 10px; width: 24px; height: 24px; }
  #mainNav ~ .daiyun-intro .daiyun-intro-card::after { right: 10px; bottom: 10px; width: 24px; height: 24px; }
  #mainNav ~ .daiyun-intro .daiyun-intro-card h2 { margin-bottom: 26px; padding-top: 24px; font-size: 30px; }
  #mainNav ~ .daiyun-intro .daiyun-intro-card > p:nth-of-type(1) { padding-bottom: 22px; font-size: 17px; line-height: 1.9; }
  #mainNav ~ .daiyun-intro .daiyun-intro-card > p:nth-of-type(2) { padding-top: 22px; font-size: 15.5px; line-height: 2; }
  #mainNav ~ .daiyun-intro .daiyun-intro-card > p.daiyun-intro-more { margin-top: 28px; }
  #mainNav ~ .daiyun-intro .daiyun-intro-more a { display: inline; font-size: 15px; line-height: 2; }
  #mainNav ~ .daiyun-intro .daiyun-intro-card .daiyun-intro-note { max-width: none; margin-top: 28px !important; }

  /* IVF entry */
  #mainNav ~ .ivf-entry { grid-template-columns: 1fr !important; padding: 56px 16px !important; }
  #mainNav ~ .ivf-entry > div:first-child { padding: 48px 28px 40px; border-radius: 4px 4px 0 0; }
  #mainNav ~ .ivf-entry > div:first-child::before { inset: 10px; }
  #mainNav ~ .ivf-entry h2 { font-size: 28px !important; }
  #mainNav ~ .ivf-entry .ivf-actions { padding: 20px 24px 28px; border-radius: 0 0 4px 4px; }
  #mainNav ~ .ivf-entry .ivf-actions .ivf-btn { min-height: 58px !important; font-size: 16px !important; }
  #mainNav ~ .ivf-entry .ivf-actions .ivf-btn:first-child { border-top: 0 !important; }
  #mainNav ~ .ivf-entry .ivf-actions .ivf-btn[data-consult-action] { margin-top: 24px; min-height: 52px !important; }

  #mainNav ~ .ai-home-band { padding: 56px 0; }
  #mainNav ~ .ai-home-band .ai-home-card { padding: 30px 22px; }

  #mainNav ~ .about .about-card { padding: 44px 30px 76px; }
  #mainNav ~ .about .about-card::before { inset: 10px; }
  #mainNav ~ .about .about-card-quote { font-size: 20px; }
  #mainNav ~ .about .about-badge { width: 84px; height: 84px; right: 18px; bottom: -24px; }
  #mainNav ~ .about .about-badge-num { font-size: 27px; }

  #mainNav ~ .ecosystem-section .ecosystem-grid { gap: 18px; margin-top: 40px; }
  #mainNav ~ .ecosystem-section .eco-card { padding: 40px 28px 30px; }
  #mainNav ~ .ecosystem-section .eco-card::before { inset: 10px; }
  #mainNav ~ .ecosystem-section .eco-card h3 { font-size: 28px; }
  #mainNav ~ .ecosystem-section .ecosystem-path { justify-content: flex-start; gap: 12px 14px; padding: 18px 20px; }
  #mainNav ~ #knowledge .container > div[style] { flex-direction: column; align-items: stretch; max-width: 340px; margin: 40px auto 0 !important; }
  #mainNav ~ #knowledge .container > div[style] > a { justify-content: center; }

  #mainNav ~ .procedure-section .procedure-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-bottom: 28px;
  }
  #mainNav ~ .procedure-section .proc-tab {
    padding: 11px 8px;
    font-size: 13.5px;
    line-height: 1.45;
    white-space: normal;
  }
  #mainNav ~ .procedure-section .procedure-steps { padding: 32px 18px 4px 12px; }
  #mainNav ~ .procedure-section .client-types-grid { gap: 16px; }
  #mainNav ~ .procedure-section .client-type-card { padding: 30px 24px 22px; }
  #mainNav ~ .procedure-section .compliance-box { padding: 26px 22px; }
  #mainNav ~ .procedure-section .comp-rule { flex-direction: column; gap: 4px; }

  #mainNav ~ .legal-section .legal-article { padding: 26px 22px 22px; }
  #mainNav ~ .brand-matrix-section .brand-matrix-grid { gap: 16px; }
  #mainNav ~ .brand-matrix-section .brand-channel-card { padding: 30px 24px; }
  #mainNav ~ .why-section .why-point { padding: 20px 18px; gap: 16px; }
  #mainNav ~ .why-section .why-video-box { padding: 48px 26px; }
  #mainNav ~ .contact-section .contact-item { padding: 18px 18px; }
  #mainNav ~ .contact-section .qr-section { padding: 44px 20px 36px; }
  #mainNav ~ .contact-section .qr-codes { gap: 16px; }
  #mainNav ~ .trust-standards-section .trust-os-entry { padding: 32px 26px; }

  aside[data-reader-eligibility] { margin: 48px 16px !important; padding: 28px 22px !important; }
  section[data-ai-guide-entry] { margin: 0 16px 64px !important; padding: 28px 22px !important; }

  #mainNav ~ footer { padding: 64px 0 32px; }
  #mainNav ~ footer .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  #mainNav ~ footer .footer-brand { grid-column: 1 / -1; }
  #mainNav ~ footer .footer-brand p { max-width: 34em; }
}
@media (max-width: 640px) {
  #mainNav ~ .brand-matrix-section .brand-matrix-grid { grid-template-columns: 1fr; }
  #mainNav ~ .procedure-section .proc-step-connector { width: 40px; }
  #mainNav ~ .procedure-section .proc-step-num { width: 32px; height: 32px; font-size: 13px; }
  #mainNav ~ .procedure-section .proc-step-body { padding: 0 0 30px 12px; margin-top: 3px; }
  #mainNav ~ .procedure-section .proc-step-body h4 { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
  #mainNav ~ section :is(.topic-card, .service-card, .trust-standard-card, .article-card, .brand-channel-card, .eco-card) { transition: none; }
}

/* ── Surrogacy pages: display serif for the page headings ────────────── */

body > nav:not(#mainNav) ~ .hero .hero-h1,
body > nav:not(#mainNav) ~ section:not([data-ai-guide-entry]) h2 {
  font-family: var(--fs-display);
  letter-spacing: var(--fs-track);
}
