:root {
  --canvas: #f7f8fa;
  --surface: #ffffff;
  --ink: #111318;
  --muted: #5b6472;
  --line: #d8dde5;
  --brand: #d63b3b;
  --link: #1769e0;
  --success: #18864b;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  line-height: 1.75;
  letter-spacing: 0;
}
a { color: var(--link); text-underline-offset: 0.2em; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 10; background: var(--surface); padding: 8px 12px; }
.skip-link:focus { top: 8px; }
.shell { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.site-header { height: 72px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { color: var(--ink); text-decoration: none; font-size: 20px; font-weight: 750; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 650; }
.nav-links a:hover { color: var(--ink); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; list-style: none; font-size: 28px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu > div { position: absolute; right: 0; top: 48px; width: 180px; padding: 8px 0; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); box-shadow: 0 8px 24px rgba(17, 19, 24, 0.12); }
.mobile-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 16px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 650; }
.hero { min-height: min(680px, calc(100vh - 72px)); display: grid; align-content: center; border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--brand); font-weight: 700; font-size: 14px; text-transform: uppercase; }
h1, h2, h3 { margin: 0; letter-spacing: 0; }
h1 { max-width: 950px; font-size: 64px; line-height: 1.08; }
.lede { max-width: 760px; margin: 28px 0 32px; color: var(--muted); font-size: 22px; line-height: 1.6; }
.primary-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.band { padding: 96px 0; border-bottom: 1px solid var(--line); }
.surface-band { background: var(--surface); }
.section-head { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; margin-bottom: 48px; }
.section-head h2 { font-size: 32px; line-height: 1.25; }
.section-head p { margin: 0; color: var(--muted); max-width: 680px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product-card { min-height: 180px; border: 1px solid var(--line); border-radius: 6px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; background: var(--surface); }
.product-card h3 { font-size: 22px; }
.product-card p { color: var(--muted); margin: 12px 0 24px; }
.team-preview, .team-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.person { min-height: 150px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.person:nth-child(odd) { padding-right: 32px; }
.person:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); }
.person h3 { font-size: 21px; }
.role { color: var(--brand); font-size: 14px; font-weight: 700; }
.person p { margin: 12px 0 0; color: var(--muted); }
.empty { color: var(--muted); border-top: 1px solid var(--line); padding: 24px 0; }
.contact { background: var(--ink); color: white; padding: 72px 0; }
.contact-inner { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.contact h2 { font-size: 36px; }
.contact p { color: #bdc4cf; margin: 8px 0 0; }
.contact a { color: white; font-size: 22px; }
.page-main { padding: 80px 0 120px; }
.page-title { max-width: 880px; font-size: 48px; line-height: 1.15; }
.page-intro { max-width: 760px; color: var(--muted); font-size: 20px; margin: 20px 0 56px; }
.article { max-width: 760px; }
.article h2 { margin-top: 56px; font-size: 32px; }
.article h3 { margin-top: 36px; font-size: 22px; }
.article code { font-family: "SFMono-Regular", Consolas, monospace; background: #eef1f5; padding: 2px 5px; border-radius: 4px; }
.meta { color: var(--muted); font-size: 14px; margin-top: 14px; }
.site-footer { padding: 28px 0; color: var(--muted); font-size: 14px; }

@media (max-width: 767px) {
  .shell { width: min(100% - 32px, var(--max)); }
  .site-header { height: 60px; }
  .nav-links { display: none; }
  .mobile-menu { display: block; }
  .hero { min-height: min(600px, calc(100vh - 60px)); padding: 64px 0; }
  h1 { font-size: 40px; }
  .lede { font-size: 18px; }
  .band { padding: 64px 0; }
  .section-head { grid-template-columns: 1fr; margin-bottom: 32px; }
  .section-head h2 { font-size: 28px; }
  .product-grid, .team-preview, .team-list { grid-template-columns: 1fr; }
  .person:nth-child(odd), .person:nth-child(even) { padding: 22px 0; border-left: 0; }
  .contact-inner { align-items: start; flex-direction: column; }
  .page-main { padding: 56px 0 88px; }
  .page-title { font-size: 36px; }
}

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