:root {
  color-scheme: light;
  --bg:     #f7f7f4;
  --paper:  #ffffff;
  --text:   #1f2933;
  --muted:  #5d6875;
  --accent: #2f6f73;
  --border: #d9dfdf;
  --nav-h:  56px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── Navbar ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.site-nav-inner {
  width: min(920px, calc(100% - 32px));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-brand {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  text-decoration: none;
}
.site-brand span { color: var(--accent); }
.site-brand:hover { color: var(--accent); }
.site-nav-page {
  font-size: .78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .01em;
}

/* ── Layout ── */
main {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

article {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: clamp(24px, 5vw, 56px);
}

/* ── Typography ── */
h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 8px;
}

h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--accent);
  margin-top: 40px;
  margin-bottom: 12px;
  line-height: 1.3;
}

p { margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }

ul {
  padding-left: 20px;
  margin-bottom: 14px;
}
li { margin-bottom: 6px; }

.updated {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 32px;
  font-style: italic;
}

.notice {
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--paper));
  padding: 12px 14px;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:hover { opacity: .75; }

strong { font-weight: 600; }
