*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg); color: var(--fg);
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  line-height: 1.6;
}
.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 1.5rem;
}
.brand .logo-circle {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-sunk); display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.brand .logo-circle img { width: 26px; height: 26px; display: block; }
.brand .name {
  font-family: var(--font-serif); font-size: 18px; font-weight: 700;
  color: var(--primary); letter-spacing: 0.02em;
}
h1 {
  font-family: var(--font-serif);
  font-size: 1.75rem; font-weight: 700; color: var(--primary);
  margin-bottom: 0.25rem;
  line-height: 1.25;
}
.program-name {
  font-family: var(--font-serif);
  font-size: 1.25rem; font-weight: 700; color: var(--primary);
  margin: 1.5rem 0 0.5rem;
}
.updated {
  color: var(--muted); font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
h2 {
  font-family: var(--font-serif);
  font-size: 1.05rem; font-weight: 700; color: var(--primary);
  margin-top: 1.5rem; margin-bottom: 0.4rem;
  line-height: 1.3;
}
p { margin-bottom: 0.85rem; }
ol.numbered { padding-left: 1.5rem; margin-bottom: 1rem; }
ol.numbered > li { margin-bottom: 0.95rem; }
a { color: var(--accent); }
strong { color: var(--fg); font-weight: 700; }
.footer {
  margin-top: 2.5rem; padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem; color: var(--muted);
  text-align: center;
}
