:root {
  color-scheme: light;
  --brand: #064d83;
  --navy: #102a41;
  --yellow: #ffc642;
  --ink: #122840;
  --muted: #475c72;
  --line: #dae4ed;
  --paper: #fff;
  --soft: #f0f6fb;
  font-family: Inter, "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scroll-padding-top: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.23; }
h1, h2 { text-wrap: balance; }
p { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid #1675b9; outline-offset: 4px; }

.wrap { width: min(100% - 48px, 1192px); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.site-bar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { min-height: 44px; display: inline-flex; gap: 11px; align-items: center; font-weight: 750; white-space: nowrap; }
.brand img { object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2.7vw, 34px); }
.site-nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: .92rem; font-weight: 650; }
.site-nav a:hover:not(.button) { text-decoration: underline; text-underline-offset: .35em; }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .64em 1.15em;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 720;
  line-height: 1.25;
  text-align: center;
  transition: background-color .18s, border-color .18s, color .18s;
}
.button-brand { background: var(--brand); color: #fff; }
.button-brand:hover { background: #063c65; }
.button-ghost { background: #fff; border-color: #c2d5e3; color: var(--brand); }
.button-ghost:hover { background: #edf6fc; border-color: var(--brand); }
.button-accent { background: var(--yellow); color: #17283a; }
.button-accent:hover { background: #ffdb73; }
.button-arrow::after { content: "→"; font-weight: 700; }

.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 5;
  padding: .7rem 1rem;
  background: #fff;
  color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.release-dialog {
  border: 1px solid var(--line);
  width: min(100% - 32px, 440px);
  padding: 28px;
  border-radius: 18px;
  color: var(--ink);
  box-shadow: 0 20px 60px #0d294d33;
}
.release-dialog::backdrop { background: #0b2339aa; }
.release-dialog p { margin: .9rem 0 1.35rem; color: var(--muted); }
.release-dialog form { display: flex; justify-content: end; }

@media (max-width: 700px) {
  .wrap { width: min(100% - 32px, 1192px); }
  .site-bar { min-height: 64px; gap: 12px; }
  .site-nav { gap: 10px; }
  .site-nav a { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
