:root {
  color-scheme: dark;
  --bg: #0b0c0e;
  --panel: #121416;
  --panel-strong: #171b1e;
  --border: #2a3036;
  --text: #f0f3f1;
  --muted: #a7b0ad;
  --soft: #d6ddd8;
  --gold: #e8a838;
  --mint: #78d6b5;
  --coral: #f08a6a;
  --blue: #78a8ff;
  --shadow: rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(120, 214, 181, 0.12), transparent 34rem),
    linear-gradient(135deg, #0b0c0e 0%, #101214 52%, #0d1110 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(11, 12, 14, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

nav a {
  color: var(--soft);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

nav a[aria-current="page"],
nav a:hover,
nav a:focus-visible {
  color: var(--gold);
}

.eyebrow {
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--text);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.94;
  margin: 0 0 24px;
  max-width: 820px;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  margin: 0 0 18px;
}

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

p,
li {
  color: var(--muted);
  font-size: 17px;
}

.lede {
  color: var(--soft);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
  margin: 0 0 30px;
}

.doc-page {
  margin: 0 auto;
  max-width: 880px;
  padding: 82px 28px;
}

.doc-page h1 {
  font-size: clamp(40px, 6vw, 68px);
}

.doc-page h2 {
  border-top: 1px solid var(--border);
  font-size: 28px;
  margin-top: 42px;
  padding-top: 28px;
}

.doc-page h3 {
  margin-top: 28px;
}

.doc-page table {
  border-collapse: collapse;
  margin: 24px 0;
  width: 100%;
}

.doc-page th,
.doc-page td {
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 15px;
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

.doc-page th {
  color: var(--text);
}

.notice {
  background: rgba(232, 168, 56, 0.08);
  border: 1px solid rgba(232, 168, 56, 0.28);
  border-radius: 8px;
  margin: 28px 0;
  padding: 18px 20px;
}

.notice p {
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 28px 32px;
}

.site-footer p {
  font-size: 14px;
  margin: 0;
}

.site-footer a + a {
  margin-left: 16px;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 16px 22px;
    position: static;
  }

  nav {
    justify-content: flex-start;
  }

  .doc-page {
    padding: 58px 24px;
  }
}
