:root {
  --ink: #061529;
  --ink-2: #0a203d;
  --blue: #2f9eff;
  --blue-2: #82ccff;
  --paper: #f5f8fb;
  --white: #fff;
  --muted: #5a6f85;
  --line: rgba(7, 29, 55, .13);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header { color: #fff; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.14); }
.nav { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; text-decoration: none; }
.brand-mark { position: relative; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.28); border-radius: 9px; }
.brand-mark::before, .brand-mark::after {
  content: ""; position: absolute; top: 9px; left: 17px; width: 4px; height: 20px;
  border-radius: 2px; background: var(--blue); transform: rotate(45deg);
}
.brand-mark::after { transform: rotate(-45deg); }
.brand small { display: block; color: rgba(255,255,255,.58); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; }
.back-link { color: #d6e4f3; font-size: .9rem; font-weight: 700; text-decoration: none; }
.back-link:hover { color: #fff; }
.hero { padding: 86px 0 72px; color: #fff; background: linear-gradient(135deg, #061529, #0b3e70); }
.eyebrow { margin: 0 0 16px; color: var(--blue-2); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.03em; }
h1 { max-width: 840px; margin-bottom: 22px; font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: .98; }
.hero-intro { max-width: 760px; margin-bottom: 18px; color: #d6e4f3; font-size: 1.08rem; }
.meta { color: #9eb8d1; font-size: .9rem; }
.layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 70px; padding: 72px 0 100px; align-items: start; }
.toc { position: sticky; top: 24px; padding: 24px; border: 1px solid var(--line); background: #fff; }
.toc strong { display: block; margin-bottom: 12px; font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; }
.toc a { display: block; padding: 7px 0; color: var(--muted); font-size: .88rem; line-height: 1.35; text-decoration: none; }
.toc a:hover { color: #1169ad; }
.legal-copy { min-width: 0; }
.notice { margin-bottom: 42px; padding: 22px 24px; border-left: 4px solid var(--blue); background: #e9f4ff; }
.notice p:last-child { margin-bottom: 0; }
.legal-section { padding: 0 0 34px; margin-bottom: 38px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.legal-section h2 { margin-bottom: 18px; font-family: var(--sans); font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.25; }
.legal-section h3 { margin: 26px 0 10px; font-size: 1rem; }
.legal-section p, .legal-section li { color: #40576e; }
.legal-section ul, .legal-section ol { padding-left: 22px; }
.legal-section li + li { margin-top: 8px; }
.legal-section a { color: #1169ad; }
.priority { display: grid; gap: 12px; margin: 24px 0; }
.priority div { padding: 16px 18px; border: 1px solid var(--line); background: #fff; }
.form-box { padding: 26px; border: 1px solid var(--line); background: #fff; }
.form-box p { color: var(--ink); }
.form-line { min-height: 42px; margin-bottom: 14px; border-bottom: 1px solid #9aabba; }
footer { padding: 34px 0; color: #7990a8; background: #04101f; font-size: .82rem; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 4px; }

@media (max-width: 820px) {
  .shell { width: min(100% - 28px, 720px); }
  .nav { min-height: 74px; }
  .layout { grid-template-columns: 1fr; gap: 34px; padding-top: 40px; }
  .toc { position: static; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
  .hero { padding: 62px 0 54px; }
  .brand small { display: none; }
  .back-link { font-size: .8rem; }
  .toc { padding: 20px; }
  .notice, .form-box { padding: 20px; }
}
@media print {
  .site-header, .toc, footer { display: none; }
  body { background: #fff; font-size: 11pt; }
  .hero { padding: 0 0 24px; color: #000; background: none; }
  .hero-intro, .meta { color: #333; }
  .layout { display: block; padding: 0; }
  .legal-section { break-inside: avoid; }
}
