:root {
  color-scheme: light;
  --ink: #071a36;
  --muted: #52677c;
  --paper: #fffefa;
  --wash: #f4fbff;
  --brand: #1769ff;
  --cyan: #20cfff;
  --coral: #ff784f;
  --gold: #ffd45a;
  --mint: #70e1d1;
  --line: #cfe7ee;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 5%, #20cfff1c 0, transparent 25%),
    radial-gradient(circle at 92% 12%, #ffd45a26 0, transparent 22%),
    linear-gradient(180deg, var(--wash), #fffdf7 44%, var(--wash));
  color: var(--ink);
  font: 16px/1.68 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

header, main, footer { width: min(900px, calc(100% - 32px)); margin-inline: auto; }
header { padding: 24px 0 16px; }
nav { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
nav a, footer a { color: var(--brand); text-underline-offset: 3px; }
nav .brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: none;
}
.brand img { width: 42px; height: 42px; margin-right: 10px; object-fit: contain; }

main {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 44px;
  box-shadow: 0 18px 52px #1769ff12;
}
h1 { margin: .2em 0; color: var(--ink); font-size: 3rem; line-height: 1.08; letter-spacing: 0; }
h2 { margin-top: 2em; font-size: 1.35rem; }
h3 { margin-top: 1.6em; font-size: 1.05rem; }
.eyebrow, .meta { color: var(--muted); }
.notice { padding: 12px 16px; background: linear-gradient(90deg, #fff7dc, #effcff); border-left: 4px solid var(--gold); border-radius: 8px; }
.lang { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--wash); }

footer {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 28px;
  margin-top: 22px;
  margin-bottom: 32px;
  padding: 22px 26px;
  border-radius: 18px;
  background: var(--ink);
  color: #fffefa;
  font-size: .92rem;
}
footer::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -42px;
  width: 150px;
  height: 150px;
  border: 1px solid #20cfff12;
  border-radius: 50%;
  pointer-events: none;
}
footer a { color: var(--mint); }
.footer-brand { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; }
.footer-brand img { width: 42px; height: 42px; object-fit: contain; }
.footer-brand strong { color: #fffefa; font-size: 1.02rem; letter-spacing: 0; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
@media (max-width: 600px) {
  header { padding-top: 16px; }
  nav { gap: 8px 12px; }
  nav .brand { flex-basis: 100%; }
  main { padding: 24px; }
  h1 { font-size: 2.15rem; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { position: absolute; left: -9999px; }
  tr { padding: 8px 0; border-bottom: 1px solid var(--line); }
  td { padding: 5px 0; border: 0; }
  td::before { content: attr(data-label); display: block; color: var(--ink); font-weight: 750; }
  footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
