
:root {
  --bg: #f5f7fc;
  --surface: #ffffff;
  --surface-2: #eef3ff;
  --text: #15213b;
  --muted: #5f6c85;
  --line: #dce4f3;
  --primary: #1546a0;
  --primary-2: #0d6fc7;
  --accent: #42c8f5;
  --success: #18794e;
  --warning: #8a4b08;
  --danger: #b42318;
  --shadow: 0 18px 50px rgba(19, 54, 118, .10);
  --radius: 18px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-2); }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 1000; background: #fff; padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  width: min(1180px, calc(100% - 32px)); margin: 0 auto;
  min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 22px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 7px 18px rgba(21,70,160,.25); }
.brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px; }
.nav-links a { padding: 9px 11px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 650; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--surface-2); color: var(--primary); }
.hero {
  background: radial-gradient(circle at 82% 10%, rgba(66,200,245,.24), transparent 28%), linear-gradient(135deg, #07184b 0%, #123f99 60%, #0d6fc7 100%);
  color: #fff; padding: 76px 0 68px;
}
.hero-inner, .container { width: min(1080px, calc(100% - 34px)); margin: 0 auto; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 46px; }
.hero h1 { margin: 0 0 14px; font-size: clamp(38px, 6vw, 68px); line-height: 1.04; letter-spacing: -.045em; }
.hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.86); font-size: clamp(17px, 2vw, 21px); }
.hero-card { background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.24); border-radius: 24px; padding: 26px; box-shadow: 0 24px 60px rgba(0,0,0,.16); }
.hero-card strong { display: block; font-size: 19px; margin-bottom: 8px; }
.hero-card p { font-size: 14px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); font-size: 13px; font-weight: 750; }
main { padding: 44px 0 70px; }
.page-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: start; gap: 34px; }
.toc { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 8px 30px rgba(20,48,100,.05); }
.toc strong { display: block; margin-bottom: 9px; }
.toc a { display: block; padding: 6px 8px; color: var(--muted); text-decoration: none; border-radius: 8px; font-size: 14px; }
.toc a:hover { background: var(--surface-2); color: var(--primary); }
.document { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 5vw, 58px); box-shadow: var(--shadow); }
.document h1 { margin-top: 0; font-size: clamp(32px, 4.7vw, 52px); line-height: 1.1; letter-spacing: -.035em; }
.document h2 { margin-top: 42px; padding-top: 8px; font-size: 25px; line-height: 1.25; letter-spacing: -.02em; }
.document h3 { margin-top: 28px; font-size: 19px; }
.document p, .document li { color: #34415b; }
.document ul, .document ol { padding-left: 22px; }
.document li + li { margin-top: 8px; }
.meta { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 28px; }
.chip { display: inline-flex; align-items: center; padding: 7px 11px; border-radius: 999px; background: var(--surface-2); color: var(--primary); font-size: 13px; font-weight: 700; }
.notice, .callout { margin: 24px 0; padding: 18px 20px; border-radius: 14px; border-left: 4px solid var(--primary-2); background: #f1f6ff; }
.notice strong, .callout strong { color: var(--text); }
.callout.warning { border-left-color: #e8a23a; background: #fff8eb; }
.callout.danger { border-left-color: #e05b51; background: #fff1f0; }
.callout.success { border-left-color: #35a56f; background: #eefbf5; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: 0 8px 26px rgba(20,48,100,.05); }
.card h3 { margin: 0 0 7px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 8px 6px 0; padding: 11px 15px; border-radius: 11px; background: var(--primary); color: #fff; text-decoration: none; font-weight: 750; }
.button:hover { background: var(--primary-2); color: #fff; }
.button.secondary { background: var(--surface-2); color: var(--primary); border: 1px solid var(--line); }
.table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; min-width: 720px; background: #fff; }
th, td { padding: 14px 15px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: #f2f6ff; color: var(--text); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
tr:last-child td { border-bottom: 0; }
code { background: #eef3fb; border: 1px solid #dce5f4; padding: 2px 6px; border-radius: 6px; font-size: .92em; }
pre { overflow-x: auto; padding: 18px; border-radius: 14px; background: #0e1830; color: #e9f0ff; font-size: 13px; line-height: 1.6; }
details { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin: 12px 0; padding: 0 18px; }
summary { cursor: pointer; font-weight: 750; padding: 16px 0; }
details p, details ul { margin-top: 0; }
.site-footer { background: #0b1736; color: #cbd7ef; padding: 42px 0; }
.footer-grid { width: min(1080px, calc(100% - 34px)); margin: 0 auto; display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px; }
.site-footer a { color: #e7efff; }
.site-footer p { margin: 6px 0; }
.footer-links { display: flex; flex-wrap: wrap; align-content: start; gap: 8px 16px; }
.small { font-size: 13px; color: var(--muted); }
.site-footer .small { color: #9fb0d0; }
.status { display: inline-flex; gap: 7px; align-items: center; font-weight: 750; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(24,121,78,.12); }
@media (max-width: 880px) {
  .nav { align-items: flex-start; padding: 13px 0; }
  .nav-links { max-width: 58%; }
  .hero-grid, .page-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .toc { position: static; }
}
@media (max-width: 620px) {
  .nav { display: block; }
  .nav-links { max-width: none; justify-content: flex-start; margin-top: 10px; }
  .nav-links a { padding: 7px 8px; font-size: 13px; }
  .hero { padding: 56px 0 52px; }
  main { padding-top: 24px; }
  .document { border-radius: 18px; }
  .cards { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .site-footer, .toc, .button, .skip-link { display: none !important; }
  body, main { background: #fff; padding: 0; }
  .page-grid { display: block; }
  .document { border: 0; box-shadow: none; padding: 0; }
  a { color: #000; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10px; }
}
