:root {
  color-scheme: light;
  --ink: #14213d;
  --muted: #5f6f89;
  --paper: #f5f7f8;
  --panel: #ffffff;
  --line: #dce4ea;
  --brand: #087f73;
  --brand-soft: #e7f7f4;
  --warn: #9a5b08;
  --max: 920px;
  font-family: Manrope, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.75; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid rgba(8, 127, 115, .3); outline-offset: 3px; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 10; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: white; }
.skip-link:focus { top: 16px; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); }
.header-inner, .footer-inner, main { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.header-inner { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; text-decoration: none; }
.brand-mark { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; color: white; background: var(--brand); font: 800 14px/1 ui-monospace, monospace; }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.nav a { color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brand); }

main { padding-block: clamp(44px, 8vw, 88px); }
.hero { padding: clamp(28px, 6vw, 56px); border-radius: 24px; color: white; background: var(--ink); }
.eyebrow { margin: 0 0 12px; color: #72dfd1; font: 700 11px/1.4 ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; }
h1 { max-width: 760px; margin: 0; font-size: clamp(34px, 7vw, 64px); letter-spacing: -.045em; }
h2 { margin: 44px 0 14px; font-size: clamp(22px, 4vw, 30px); letter-spacing: -.025em; }
h3 { margin: 28px 0 8px; font-size: 17px; }
p, li { color: #34445e; }
.hero p { max-width: 680px; margin: 20px 0 0; color: #d1d9e6; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.button { display: inline-flex; min-height: 42px; align-items: center; border-radius: 10px; padding: 8px 15px; background: var(--brand); color: white; font-size: 13px; font-weight: 800; text-decoration: none; }
.button.secondary { border: 1px solid rgba(255,255,255,.28); background: transparent; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.card h3 { margin-top: 0; }
.card p { margin-bottom: 0; font-size: 14px; }
.notice { margin: 24px 0; padding: 14px 16px; border-left: 4px solid var(--warn); border-radius: 8px; background: #fff7e8; color: #704307; font-size: 14px; }
.meta { margin: 10px 0 32px; color: var(--muted); font-size: 13px; }
.prose { max-width: 780px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose code { padding: 2px 5px; border-radius: 5px; background: #e9eef2; font: 12px/1.5 ui-monospace, monospace; }
.data-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 13px; }
.data-table th, .data-table td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { background: #eaf0f2; }
.site-footer { border-top: 1px solid var(--line); background: white; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; padding-block: 28px; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 720px) {
  .header-inner, .footer-inner { align-items: flex-start; flex-direction: column; padding-block: 16px; }
  .nav { justify-content: flex-start; }
  .grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
