:root {
  color-scheme: light;
  --ink: #101820;
  --graphite: #1f2a33;
  --muted: #66717b;
  --line: rgba(16, 24, 32, 0.12);
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-soft: rgba(245, 247, 248, 0.78);
  --accent: #b98200;
  --accent-fill: #f3c14b;
  --shadow: 0 24px 80px rgba(16, 24, 32, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  width: min(100% - 32px, 980px);
  margin: 0 auto;
  padding: 0 0 72px;
  color: var(--ink);
  background: #f4f7f7;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 247, 248, 0.96) 36%, rgba(238, 243, 245, 0.98)),
    repeating-linear-gradient(90deg, rgba(16, 24, 32, 0.035) 0 1px, transparent 1px 128px);
}

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

h1 {
  max-width: 820px;
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.03;
}

h2 {
  margin: 38px 0 12px;
  padding-top: 2px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.16;
}

h3 {
  margin: 22px 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

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

ul,
ol {
  padding-left: 22px;
}

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

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: 0 16px 42px rgba(16, 24, 32, 0.08);
}

th,
td {
  padding: 14px 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

th {
  width: 32%;
  background: rgba(16, 24, 32, 0.045);
  color: var(--ink);
  font-weight: 700;
}

td {
  background: rgba(255, 255, 255, 0.56);
}

.docNav {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 14px 0 34px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 45px rgba(16, 24, 32, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(150%);
}

.docBrand {
  display: grid;
  gap: 2px;
  min-width: 180px;
  padding: 6px 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.docBrand small {
  color: var(--muted);
  font-weight: 400;
}

.docLinks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.docLinks a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.docLinks a:hover {
  background: rgba(16, 24, 32, 0.055);
}

.docLinks a[aria-current="page"] {
  background: rgba(243, 193, 75, 0.22);
  color: #765000;
  box-shadow: inset 0 0 0 1px rgba(185, 130, 0, 0.18);
}

.docLinks .docCta {
  min-height: 42px;
  padding: 0 16px;
  background: var(--accent-fill);
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(185, 130, 0, 0.18);
}

.docLinks .docCta:hover {
  background: #f5c95c;
  transform: translateY(-1px);
}

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

.notice {
  margin: 22px 0 32px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px) saturate(145%);
}

body > h1,
body > .meta,
body > .notice,
body > p:not(.notice),
body > ul,
body > ol,
body > h2,
body > h3,
body > table {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

body > h1 {
  padding-top: 8px;
}

body > h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

body > h2::before {
  content: "";
  width: 7px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--accent-fill);
  box-shadow: 0 8px 18px rgba(185, 130, 0, 0.18);
}

:focus-visible {
  outline: 3px solid rgba(243, 193, 75, 0.62);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  body {
    width: min(100% - 24px, 980px);
    padding-bottom: 48px;
  }

  .docNav {
    position: static;
    display: grid;
    margin-top: 12px;
  }

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

  .docLinks a {
    flex: 1 1 auto;
  }

  .docLinks .docCta {
    flex-basis: 100%;
  }

  th,
  td {
    display: block;
    width: 100%;
  }

  th {
    border-bottom: 0;
    padding-bottom: 6px;
  }

  td {
    padding-top: 6px;
  }
}
