/* Site Bright V8 — shared design system for the local Chinese preview. */
:root {
  --ink: #18364c;
  --ink-soft: #3e596b;
  --blue: #2f718f;
  --blue-deep: #20546f;
  --blue-light: #eaf4f8;
  --blue-faint: #f4f9fb;
  --gold: #bd9651;
  --gold-light: #eee2c9;
  --paper: #fbfcfa;
  --white: #fff;
  --muted: #657985;
  --line: #dce6e9;
  --radius: 18px;
  --shadow-soft: 0 18px 55px rgb(25 57 75 / 8%);
  --font-sans: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  --font-serif: "Source Han Serif SC", "Noto Serif SC", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--font-sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.v8-shell { width: min(1192px, calc(100% - 64px)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
.section-heading { max-width: 760px; margin: 0 0 32px; }
.section-heading h2 { margin: 10px 0 8px; font-size: clamp(27px, 3.2vw, 40px); font-weight: 570; letter-spacing: -.045em; line-height: 1.25; }
.section-heading p { max-width: 630px; margin: 0; color: var(--muted); font-size: 15px; }
.v8-btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 11px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 650; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.v8-btn:hover { transform: translateY(-1px); }
.v8-btn-primary { background: var(--blue-deep); color: var(--white); box-shadow: 0 8px 20px rgb(32 84 111 / 17%); }
.v8-btn-primary:hover { background: #194a64; }
.v8-btn-light { background: var(--white); border-color: rgb(255 255 255 / 70%); color: var(--ink); }
.v8-btn-outline { border-color: var(--line); background: transparent; color: var(--ink); }
.v8-btn-small { min-height: 40px; padding-inline: 16px; font-size: 13px; }
.site-header { position: relative; z-index: 5; background: rgb(255 255 255 / 96%); border-bottom: 1px solid rgb(220 230 233 / 85%); }
.nav-wrap { display: flex; width: min(1280px, calc(100% - 64px)); min-height: 78px; align-items: center; justify-content: space-between; gap: 28px; margin: auto; }
.brand { display: inline-flex; min-width: max-content; align-items: center; gap: 11px; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand strong { display: block; color: var(--ink); font-size: 16px; font-weight: 700; letter-spacing: .11em; }
.brand small { display: block; margin-top: 1px; color: #708490; font-size: 9px; letter-spacing: .14em; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.1vw, 28px); color: #40596a; font-size: 13px; white-space: nowrap; }
.main-nav a { transition: color .15s ease; }
.main-nav a:hover { color: var(--blue); }
.main-nav a[aria-current="page"] { color: var(--blue-deep); font-weight: 750; }
.main-nav a:focus-visible, .nav-tools a:focus-visible, .site-footer a:focus-visible { outline: 3px solid #bd9651; outline-offset: 4px; border-radius: 4px; }
.nav-overflow-hint { display: none; }
.nav-tools { display: flex; align-items: center; gap: 14px; }
.language-note { color: #6e828d; font-size: 11px; white-space: nowrap; }
.site-footer { padding: 38px 0 30px; background: #17364d; color: #eaf2f4; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 50%; }
.footer-brand strong { font-size: 14px; letter-spacing: .12em; }
.site-footer p, .site-footer a, .site-footer small { color: #c5d5dc; font-size: 12px; }
.site-footer h3 { margin: 0 0 10px; color: #fff; font-size: 13px; }
.footer-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 6px 22px; }
.footer-note { margin: 25px 0 0; padding-top: 15px; border-top: 1px solid rgb(255 255 255 / 15%); }

@media (max-width: 900px) {
  .nav-wrap { flex-wrap: wrap; min-height: 0; gap: 0 18px; padding-block: 9px; }
  .main-nav { order: 3; flex: 0 0 100%; width: 100%; min-width: 0; justify-content: flex-start; gap: 20px; overflow-x: auto; padding: 10px 0 5px; font-size: 12px; scrollbar-width: thin; scrollbar-color: #9db3bd #eaf0f2; overscroll-behavior-x: contain; }
  .main-nav::-webkit-scrollbar { display: block; height: 5px; }
  .main-nav::-webkit-scrollbar-track { background: #eaf0f2; border-radius: 999px; }
  .main-nav::-webkit-scrollbar-thumb { background: #9db3bd; border-radius: 999px; }
  .nav-overflow-hint { display: block; order: 4; flex: 0 0 100%; margin: -2px 0 0; color: #71838c; font-size: 10px; line-height: 1.35; text-align: right; }
  .language-note { display: none; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 72px; }
  .v8-shell { width: calc(100% - 36px); }
  .nav-wrap { width: calc(100% - 32px); min-height: 68px; flex-wrap: wrap; gap: 0 14px; padding: 9px 0; }
  .brand { gap: 8px; }
  .brand img { width: 36px; height: 36px; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 8px; }
  .main-nav { order: 3; width: 100%; gap: 21px; padding: 9px 0 5px; }
  .nav-tools { margin-left: auto; }
  .nav-tools .v8-btn { min-height: 36px; padding-inline: 13px; font-size: 12px; }
  .section-heading { margin-bottom: 24px; }
  .section-heading p { font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
