:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #1c2430;
  --muted: #5a6575;
  --line: #e2e6ec;
  --accent: #1f5f99;
  --accent-soft: #e8f0f8;
  --max: 1040px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11151b;
    --surface: #181e26;
    --text: #e8ecf1;
    --muted: #a3adbb;
    --line: #2a323d;
    --accent: #7fb2e5;
    --accent-soft: #1c2a3a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

header.site {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 19px; }
.brand svg { flex: none; }
nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 15px; }
nav a:first-child { margin-left: 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }

.hero { padding: 72px 0 56px; }
.hero h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.01em; max-width: 760px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 680px; margin: 0 0 28px; }
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 12px 20px; border-radius: 8px; font-weight: 600; font-size: 16px;
}
@media (prefers-color-scheme: dark) { .btn { color: #0d1620; } }

section { padding: 48px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 26px; margin: 0 0 12px; }
section p.intro { color: var(--muted); max-width: 700px; margin: 0 0 28px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.num {
  display: inline-flex; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; margin-bottom: 10px;
}

.notice {
  background: var(--accent-soft); border-radius: 12px; padding: 20px 22px; max-width: 820px;
}
.notice p { margin: 0; }

.contact dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; }

.doc { padding: 48px 0 64px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: 34px; margin: 0 0 6px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 21px; margin: 36px 0 8px; }
.doc ul { padding-left: 22px; }

footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); margin-right: 16px; }
