:root {
  --bg: #FBF6EF;
  --surface: #F3EADF;
  --text: #1C1917;
  --muted: #6B625B;
  --accent: #E9557F;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1A1715; --surface: #27221F; --text: #F5F0EA; --muted: #A89F97; --accent: #F0739A; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
}
a { color: var(--accent); }

/* home */
.home {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 20px 24px;
}
.mascot {
  width: min(220px, 55vw);
  height: auto;
  animation: float 3.2s ease-in-out infinite;
}
.shadow {
  width: min(120px, 30vw);
  height: 14px;
  margin: 6px auto 0;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.18;
  filter: blur(4px);
  animation: shadow 3.2s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes shadow { 50% { transform: scaleX(0.8); opacity: 0.1; } }
@media (prefers-reduced-motion: reduce) { .mascot, .shadow { animation: none; } }

.home h1 {
  font-size: clamp(56px, 14vw, 84px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 28px 0 12px;
}
.home p {
  font-size: clamp(18px, 4.6vw, 21px);
  font-weight: 600;
  max-width: 26ch;
  margin: 0 0 32px;
}
.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 999px;
  transition: transform 0.15s ease;
}
.button:active { transform: scale(0.96); }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  padding: 24px 20px 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--accent); }

/* legal pages */
.doc {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 20px 16px;
}
.doc .back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
}
.doc .back img { width: 36px; height: auto; }
.doc h1 { font-size: 36px; font-weight: 900; line-height: 1.1; margin: 32px 0 4px; }
.doc .updated { color: var(--muted); font-weight: 600; margin: 0 0 24px; }
.doc h2 { font-size: 21px; font-weight: 800; margin: 36px 0 8px; }
.doc p, .doc li { font-size: 16.5px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .note {
  background: var(--surface);
  border-radius: 18px;
  padding: 16px 18px;
  font-weight: 600;
}
