:root {
  --bg: #ffffff;
  --surface: #f6f8fa;
  --text: #1f2328;
  --muted: #57606a;
  --border: #d8dee4;
  --brand: #06b6d4;
  --link: #0e7490;
  --notice-bg: #ecfeff;
  --notice-border: #a5f3fc;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117;
    --surface: #161b22;
    --text: #e6edf3;
    --muted: #9198a1;
    --border: #30363d;
    --link: #22d3ee;
    --notice-bg: #0b2a33;
    --notice-border: #155e75;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

a {
  color: var(--link);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0 0.3em;
}

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

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}

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

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

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

nav a:hover,
nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
}

main {
  padding-top: 40px;
  padding-bottom: 56px;
}

h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  margin: 0.2em 0 0.6em;
}

h2 {
  font-size: 1.4rem;
  line-height: 1.3;
  margin: 2em 0 0.6em;
}

h3 {
  font-size: 1.1rem;
  margin: 1.5em 0 0.5em;
}

p,
ul,
ol {
  margin: 0 0 1em;
}

ul,
ol {
  padding-left: 1.4em;
}

li {
  margin: 0.35em 0;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
}

.notice {
  background: var(--notice-bg);
  border: 1px solid var(--notice-border);
  border-left: 4px solid var(--brand);
  border-radius: 6px;
  padding: 12px 14px;
}

.features li {
  margin: 0.6em 0;
}

.legal h2 {
  font-size: 1.3rem;
  padding-top: 0.6em;
  border-top: 1px solid var(--border);
}

.legal article > section:first-child > p:first-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 1em;
  font-size: 0.95rem;
  display: block;
  overflow-x: auto;
}

.legal th,
.legal td {
  border: 1px solid var(--border);
  padding: 0.5em 0.6em;
  text-align: left;
  vertical-align: top;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .wrap {
  padding-top: 20px;
  padding-bottom: 32px;
}

.site-footer p {
  margin: 0 0 8px;
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.7rem;
  }

  main {
    padding-top: 28px;
  }
}
