:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #11181c;
  --muted: #687076;
  --border: #dfe5ec;
  --brand: #ffb000;
  --brand-soft: #fff5d6;
  --cta: #3c69dd;
  --cta-dark: #244fae;
  --shadow: rgba(17, 24, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  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;
}

body {
  margin: 0;
}

.page {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.brand {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-size: 18px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0;
}

.brand-logo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(17, 24, 28, 0.08);
  height: 40px;
  object-fit: contain;
  width: 40px;
}

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

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

a:hover {
  color: var(--cta-dark);
  text-decoration: underline;
}

.nav a[aria-current="page"] {
  color: var(--text);
}

.nav a[aria-current="page"]::after {
  background: var(--brand);
  border-radius: 999px;
  content: "";
  display: block;
  height: 3px;
  margin-top: 2px;
}

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

.eyebrow {
  color: var(--cta);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  margin: 8px 0 12px;
}

h1::after {
  background: var(--brand);
  border-radius: 999px;
  content: "";
  display: block;
  height: 4px;
  margin-top: 18px;
  width: 72px;
}

h2 {
  border-top: 1px solid var(--border);
  font-size: 22px;
  line-height: 1.25;
  margin: 36px 0 12px;
  padding-top: 24px;
}

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

p,
li {
  font-size: 16px;
}

ul {
  padding-left: 24px;
}

.meta {
  color: var(--muted);
  margin: 0 0 24px;
}

.notice {
  background: var(--brand-soft);
  border: 1px solid rgba(255, 176, 0, 0.35);
  border-radius: 8px;
  margin: 24px 0;
  padding: 16px 18px;
}

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

@media (max-width: 640px) {
  .page {
    padding: 20px 12px 40px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 20px;
  }

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

  .document {
    padding: 24px 18px;
  }
}
