:root {
  color-scheme: light dark;
  --background: #f5f7fb;
  --surface: #ffffff;
  --text: #16181d;
  --secondary: #626873;
  --line: #dfe3ea;
  --accent: #0a84ff;
  --accent-soft: #e7f3ff;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
  background: color-mix(in srgb, var(--background) 88%, transparent);
  backdrop-filter: saturate(160%) blur(18px);
}

.header-inner,
main,
.site-footer {
  width: min(100% - 40px, 760px);
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

nav {
  display: flex;
  gap: 16px;
  font-size: 14px;
  font-weight: 600;
}

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

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

main {
  padding-block: 56px 72px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.22;
}

h1 {
  max-width: 680px;
  margin-bottom: 16px;
  font-size: 38px;
}

h2 {
  margin-bottom: 10px;
  font-size: 23px;
}

h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.lede {
  max-width: 650px;
  margin: 0;
  color: var(--secondary);
  font-size: 18px;
}

.notice {
  margin-top: 30px;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line));
  border-radius: var(--radius);
  background: var(--accent-soft);
}

.notice strong {
  display: block;
  margin-bottom: 4px;
}

.content-section {
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

.content-section:last-child {
  border-bottom: 0;
}

.content-section p:last-child,
.content-section ul:last-child,
.content-section ol:last-child {
  margin-bottom: 0;
}

.support-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.support-link {
  min-height: 92px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}

.support-link strong,
.support-link span {
  display: block;
}

.support-link span {
  margin-top: 4px;
  color: var(--secondary);
  font-size: 14px;
}

code {
  padding: 2px 5px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--line) 55%, transparent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
}

.site-footer {
  padding-block: 24px 40px;
  border-top: 1px solid var(--line);
  color: var(--secondary);
  font-size: 13px;
}

@media (max-width: 620px) {
  .header-inner,
  main,
  .site-footer {
    width: min(100% - 28px, 760px);
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-block: 12px;
  }

  nav {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    white-space: nowrap;
  }

  main {
    padding-block: 38px 56px;
  }

  h1 {
    font-size: 32px;
  }

  .support-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #101216;
    --surface: #181b20;
    --text: #f4f5f7;
    --secondary: #a8adb6;
    --line: #2d3138;
    --accent: #64a9ff;
    --accent-soft: #142a41;
  }
}

