:root {
  color-scheme: dark;
  --bg: #0b1120;
  --surface: #131d33;
  --border: #26334d;
  --text: #e8edf6;
  --muted: #97a3b8;
  --accent: #4da3e8;
  --accent-soft: rgba(77, 163, 232, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-underline-offset: 0.14em;
}

a:hover {
  color: #7cbdf0;
}

code {
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.95em;
}

.layout {
  width: min(48rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 4rem;
}

.layout-policy {
  width: min(46rem, calc(100% - 2rem));
}

.site-header {
  padding: 0.25rem 0 1.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 26px;
  height: 26px;
  image-rendering: pixelated;
}

.content,
.policy {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.content,
.policy {
  padding: 2rem;
}

h1,
h2 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.7rem);
}

h2 {
  font-size: 1.35rem;
}

.summary,
.content p,
.policy p,
.policy li {
  color: var(--muted);
}

.summary {
  margin: 1rem 0 0;
  font-size: 1.05rem;
}

.page-section + .page-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
  padding: 0 0.25rem;
}

.kicker {
  display: inline-block;
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1bd96a;
}

.policy h2 + p {
  margin-top: 0.75rem;
}

.policy p + h2,
.policy ul + h2 {
  margin-top: 2rem;
}

.policy p {
  margin-bottom: 0;
}

.meta {
  display: inline-block;
  margin: 1rem 0 0;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.92rem;
}

@media (max-width: 700px) {
  .layout,
  .layout-policy {
    width: min(100% - 1rem, 48rem);
    padding-top: 1rem;
  }

  .content,
  .policy {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .content,
  .policy {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}
