:root {
  --navy: #1e1866;
  --sunrise-a: #ffb547;
  --sunrise-b: #ff7a59;
  --surface: #f7f5f1;
  --card: #ffffff;
  --text: #1b1a26;
  --muted: #5d5a6e;
  --link: #4338ca;
  --rule: #e3e0da;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #12101f;
    --card: #1c1a2e;
    --text: #ecebf5;
    --muted: #aeabc2;
    --link: #b9b3ff;
    --rule: #2d2a44;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(20px, calc((100% - 760px) / 2));
  background: var(--navy);
}

.site-header a {
  color: #ffffff;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.site-header nav {
  display: flex;
  gap: 20px;
}

.site-header nav a {
  opacity: 0.85;
}

.site-header nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.document h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 4px;
}

.document h2 {
  font-size: 1.3rem;
  margin: 2em 0 0.4em;
}

.document h3 {
  font-size: 1.05rem;
  margin: 1.5em 0 0.3em;
}

.document li + li {
  margin-top: 0.35em;
}

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

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

.hero {
  text-align: center;
  padding: 24px 0 8px;
}

.hero h1 {
  font-size: 2.5rem;
  margin: 12px 0 4px;
}

.tagline {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0;
}

.hero::after {
  content: "";
  display: block;
  width: 96px;
  height: 4px;
  margin: 28px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sunrise-a), var(--sunrise-b));
}

.points {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin: 32px 0;
}

.points div {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 18px 20px;
}

.points h2 {
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.points p {
  margin: 0;
  color: var(--muted);
}

.contact {
  text-align: center;
}

.site-footer {
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

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