@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/BricolageGrotesque.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --yellow: #F5B82E;
  --yellow-light: #F8C955;
  --ink: #141210;
  --navy: #12277A;
  --text-soft: #4F4633;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--yellow);
  color: var(--ink);
  font-family: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-align: center;
}

main {
  flex: 1;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 48px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mascot {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin-bottom: 4px;
  animation: bob 3s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .mascot { animation: none; }
}

.wordmark {
  margin: 0;
  font-size: 52px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-shadow: 0 3px 0 var(--ink);
}

.tagline {
  margin: 28px 0 6px;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.sub {
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.35;
  color: var(--text-soft);
}

.button {
  display: block;
  width: 100%;
  padding: 20px 12px;
  border: 3px solid var(--ink);
  border-radius: 20px;
  background: var(--yellow-light);
  box-shadow: 0 6px 0 var(--ink);
  color: var(--ink);
  font-size: clamp(15px, 4.6vw, 21px);
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 80ms ease, box-shadow 80ms ease;
}

.button:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--ink);
}

.button:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 4px;
}

.free {
  margin: 16px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-soft);
}

.hint {
  margin: 28px 0 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-soft);
}

footer {
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  font-size: 13px;
}

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

/* The privacy policy page. */
body.doc { text-align: left; }

body.doc article {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 20px 48px;
  font-size: 17px;
  line-height: 1.55;
}

body.doc h1 { font-size: 36px; line-height: 1.1; color: var(--navy); }
body.doc h2 { margin-top: 32px; font-size: 22px; }
body.doc a { color: var(--navy); }
body.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
body.doc th, body.doc td { border: 1px solid var(--ink); padding: 6px 8px; vertical-align: top; }
