:root {
  --brand-900: #12345b;
  --brand-700: #1f5f99;
  --brand-500: #2f7dbd;
  --brand-100: #eaf3fb;
  --ink: #172436;
  --muted: #5d6b7c;
  --surface: #ffffff;
  --background: #f5f8fb;
  --border: #dce6ef;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--background); font: 16px/1.65 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand-900); text-decoration: underline; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 3px; border-radius: 4px; }
.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.header-content, .footer-content { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-content { min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--brand-900); font-size: 18px; font-weight: 700; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand:hover { text-decoration: none; }
nav { display: flex; gap: 24px; flex-wrap: wrap; }
nav a { font-weight: 600; }
nav a[aria-current="page"] { color: var(--brand-900); text-decoration: underline; text-underline-offset: 4px; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 2; padding: 8px 12px; color: white; background: var(--brand-900); }
.skip-link:focus { top: 12px; }
.hero { padding: 96px 0 76px; background: linear-gradient(140deg, var(--brand-100), var(--surface)); }
.hero-grid, .two-column { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 8px; color: var(--brand-700); font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.hero h1, h2, h3 { line-height: 1.25; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(36px, 6vw, 64px); }
.lead { max-width: 620px; margin: 20px 0 28px; color: var(--muted); font-size: 20px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button { display: inline-block; padding: 11px 18px; border: 1px solid var(--brand-700); border-radius: 8px; color: white; background: var(--brand-700); font-weight: 700; transition: background .15s ease, color .15s ease; }
.button:hover { color: white; background: var(--brand-900); text-decoration: none; }
.button-secondary { color: var(--brand-700); background: transparent; }
.button-secondary:hover { color: var(--brand-900); background: var(--brand-100); }
.hero-panel { padding: 32px; border-radius: 16px; color: white; background: var(--brand-900); box-shadow: 0 20px 48px rgb(18 52 91 / 18%); }
.hero-panel p { margin-top: 0; color: #cbe5fb; font-weight: 700; }
.hero-panel strong { font-size: 23px; line-height: 1.45; }
.section { padding: 72px 0; }
.section-tint { background: var(--brand-100); }
.section h2 { margin: 0 0 28px; font-size: 32px; }
.card-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card-grid article, .two-column article { padding: 22px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.card-grid h3 { margin: 0 0 10px; font-size: 18px; }
.card-grid p, .two-column p { margin-bottom: 0; color: var(--muted); }
.text-link { display: inline-block; margin-top: 18px; font-weight: 700; }
.site-footer { padding: 40px 0; color: var(--muted); background: var(--surface); border-top: 1px solid var(--border); }
.footer-content { align-items: flex-start; }
.footer-content p { margin: 8px 0 0; }
.footer-content > div:last-child { text-align: right; }
.footer-content nav { justify-content: flex-end; gap: 12px 20px; }
.legal-page { padding: 72px 0; }
.legal-content { width: min(760px, calc(100% - 48px)); margin: 0 auto; }
.legal-content h1 { margin: 0 0 20px; font-size: 40px; }
.legal-document { width: min(760px, calc(100% - 48px)); margin: 0 auto; }

@media (max-width: 720px) {
  .container { width: min(1120px, calc(100% - 32px)); }
  .header-content, .footer-content { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  .header-content { min-height: auto; }
  .hero { padding: 64px 0 52px; }
  .hero-grid, .two-column, .card-grid { grid-template-columns: 1fr; }
  .card-grid { gap: 12px; }
  .section { padding: 52px 0; }
  .footer-content > div:last-child { text-align: left; }
  .footer-content nav { justify-content: flex-start; }
  .legal-page { padding: 52px 0; }
  .legal-document { width: calc(100% - 32px); }
}

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