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

:root {
  --bg: #f9f9f7;
  --text: #1a1a1a;
  --muted: #888;
  --accent: #1a1a1a;
  --radius: 22.5%;
}

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Main ─────────────────────────────────────── */

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 40px;
  text-align: center;
}

.icon {
  width: min(72vw, 320px);
  aspect-ratio: 1;
  border-radius: var(--radius);
  display: block;
  margin-bottom: 32px;
}

h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tagline {
  margin-top: 12px;
  font-size: 1.1rem;
  color: var(--muted);
}

.download-btn {
  margin-top: 36px;
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  transition: opacity 0.15s;
}

.download-btn:hover {
  opacity: 0.75;
}

/* ── Footer ───────────────────────────────────── */

footer {
  padding: 28px 24px;
  text-align: center;
}

footer nav {
  display: flex;
  justify-content: center;
  gap: 32px;
}

footer nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
}

footer nav a:hover {
  color: var(--text);
}

/* ── Inner pages ──────────────────────────────── */

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.page .back {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
}

.page .back:hover {
  color: var(--text);
}

.page h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 8px;
}

.page .date {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 40px;
}

.page h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 32px 0 8px;
}

.page p, .page li {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

.page ul {
  padding-left: 20px;
}

.page a {
  color: var(--accent);
}
