:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background: #f8fafc;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.65;
}

a {
  color: #0768e8;
}

.topbar {
  background: #142131;
  color: #fff;
}

.topbar-inner,
.document {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 750;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.nav a {
  color: #dbeafe;
  text-decoration: none;
}

.document {
  margin-top: 32px;
  margin-bottom: 48px;
  padding: clamp(24px, 5vw, 56px);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

h1,
h2,
h3 {
  line-height: 1.25;
  color: #0f172a;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 5vw, 44px);
}

h2 {
  margin: 36px 0 12px;
  font-size: 23px;
}

h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

p,
li {
  color: #334155;
}

.meta,
.note {
  color: #64748b;
}

.notice {
  margin: 24px 0;
  padding: 16px 18px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #eff6ff;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.card {
  display: block;
  padding: 20px;
  border: 1px solid #dbe2ea;
  border-radius: 12px;
  color: #0f172a;
  text-decoration: none;
}

.card strong {
  display: block;
  margin-bottom: 6px;
}

.card span {
  color: #64748b;
}

footer {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto 32px;
  color: #64748b;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 600px) {
  .topbar-inner {
    min-height: 88px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }

  .document {
    width: 100%;
    margin-top: 0;
    border-width: 0;
    border-radius: 0;
    box-shadow: none;
  }
}
