:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --paper: #ffffff;
  --ink: #172033;
  --muted: #667085;
  --line: #d9dee8;
  --primary: #315f7d;
  --primary-soft: #e7f0f5;
  --warning: #8a4b25;
  --warning-soft: #fff4e8;
  --danger: #7f2d2d;
  --danger-soft: #fff0f0;
  --radius: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.72;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

header,
section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

header {
  padding: 32px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
}

.meta {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

nav a,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

main {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  min-width: 0;
}

section {
  padding: 26px 28px;
  min-width: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin: 22px 0 8px;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: 0;
}

p {
  margin: 0 0 12px;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

li + li {
  margin-top: 6px;
}

strong {
  color: #111827;
}

.notice {
  background: var(--warning-soft);
  border-color: #f1c89c;
  color: #3b2a1f;
}

.danger {
  background: var(--danger-soft);
  border-color: #e7b7b7;
  color: #351b1b;
}

.summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}

th {
  background: #f1f4f8;
  color: #25324a;
  font-weight: 700;
}

tr:last-child td {
  border-bottom: 0;
}

.muted {
  color: var(--muted);
}

.contact {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 10px;
  background: #f7f9fc;
  border: 1px solid var(--line);
}

footer {
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.icp-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--muted);
  text-decoration: none;
}

.icp-link:hover {
  color: var(--primary);
  text-decoration: none;
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 20px, 960px);
    padding-top: 12px;
  }

  header,
  section {
    padding: 22px 18px;
  }
}

@media print {
  body {
    background: #fff;
  }

  .page {
    width: 100%;
    padding: 0;
  }

  header,
  section {
    break-inside: avoid;
    border-color: #bbb;
  }

  nav {
    display: none;
  }
}
