:root {
  color-scheme: light;
  --ink: #151719;
  --muted: #626a73;
  --line: #d8dde3;
  --panel: #ffffff;
  --wash: #f5f7fa;
  --brand: #346dff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--wash);
  line-height: 1.65;
}

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

a:hover {
  text-decoration: underline;
}

.site-header,
.site-footer {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.site-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.bar,
main {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.brand {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.95rem;
  font-weight: 700;
}

main {
  padding: 48px 0 56px;
}

.document {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 44px);
}

.eyebrow {
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.25;
  letter-spacing: 0;
}

h1 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  margin: 34px 0 10px;
  font-size: 1.22rem;
}

p,
li {
  color: var(--muted);
}

ul {
  padding-left: 1.25rem;
}

.notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
  padding: 14px 16px;
  color: var(--ink);
}

.meta {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer .bar {
  min-height: 76px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .bar {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  main {
    padding-top: 28px;
  }
}
