:root {
  color-scheme: light;
  --background: #f7f9fc;
  --surface: #ffffff;
  --text: #172033;
  --muted: #5a6477;
  --border: #d9e1ee;
  --accent: #0f766e;
  --accent-dark: #0b4f4a;
  --link: #0f5fda;
  --warning-bg: #fff8e6;
  --warning-border: #f0c76a;
  --shadow: 0 16px 36px rgba(25, 42, 70, 0.08);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
}

a {
  color: var(--link);
  font-weight: 650;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

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

.header-inner,
.main,
.site-footer {
  margin: 0 auto;
  max-width: 980px;
  padding-left: 24px;
  padding-right: 24px;
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 84px;
}

.brand {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  gap: 12px;
  min-width: 0;
}

.brand img {
  height: 44px;
  width: 44px;
}

.brand-name {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-subtitle {
  color: var(--muted);
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: flex-end;
}

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

.main {
  padding-bottom: 64px;
  padding-top: 48px;
}

.document {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 44px;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.22;
  margin-bottom: 12px;
  margin-top: 34px;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  letter-spacing: 0;
  margin-top: 0;
}

h2 {
  border-top: 1px solid var(--border);
  font-size: 1.35rem;
  padding-top: 28px;
}

h3 {
  color: var(--accent-dark);
  font-size: 1.05rem;
}

p {
  margin: 0 0 16px;
}

ul,
ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

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

.updated {
  color: var(--muted);
  font-weight: 650;
  margin-bottom: 24px;
}

.notice {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: 8px;
  color: #5f450d;
  margin: 24px 0;
  padding: 18px 20px;
}

.callout {
  background: #eef8f6;
  border: 1px solid #b7ded8;
  border-radius: 8px;
  margin: 24px 0;
  padding: 18px 20px;
}

.index-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.index-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  display: block;
  padding: 20px;
}

.index-card strong {
  color: var(--text);
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.index-card span {
  color: var(--muted);
  display: block;
  font-weight: 500;
}

.site-footer {
  color: var(--muted);
  font-size: 0.9rem;
  padding-bottom: 34px;
}

.site-footer p {
  border-top: 1px solid var(--border);
  margin: 0;
  padding-top: 24px;
}

@media (max-width: 760px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 18px;
    padding-top: 18px;
  }

  .nav {
    justify-content: flex-start;
  }

  .main {
    padding-top: 28px;
  }

  .document {
    padding: 28px 22px;
  }

  .index-grid {
    grid-template-columns: 1fr;
  }
}

