:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --panel: #ffffff;
  --text: #1d2430;
  --muted: #5c6776;
  --line: #d8dee8;
  --accent: #2557d6;
  --accent-dark: #173d9a;
  --code: #eef2f8;
}

* {
  box-sizing: border-box;
}

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

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

a:hover,
a:focus {
  color: var(--accent-dark);
  text-decoration: underline;
}

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

.site-header__inner,
.site-footer,
main {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}

.brand {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 750;
}

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

main {
  padding: 40px 0 52px;
}

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

.kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3.1rem);
}

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

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

p {
  margin: 0 0 16px;
}

ul,
ol {
  padding-left: 1.35rem;
}

li {
  margin: 0 0 8px;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.meta {
  color: var(--muted);
  font-size: 0.94rem;
}

.notice {
  margin: 22px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.doc-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
}

.doc-card {
  display: block;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.doc-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.doc-card span {
  color: var(--muted);
}

code {
  padding: 0.12em 0.35em;
  border-radius: 5px;
  background: var(--code);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

.site-footer {
  padding: 26px 0 44px;
  color: var(--muted);
  font-size: 0.92rem;
}
