@font-face { font-family: Fredoka; font-weight: 500; font-display: swap; src: url(/fonts/fredoka-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Fredoka; font-weight: 700; font-display: swap; src: url(/fonts/fredoka-latin-700-normal.woff2) format('woff2'); }
:root { --ink: #3a2e5c; --soft: #6b5f8a; --sky: #a9dcff; --sky-pale: #e8f6ff; --sun: #ffd35c; --card: #fffdf6; --line: rgba(58, 46, 92, 0.12); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 500 18px/1.6 Fredoka, ui-rounded, system-ui, sans-serif; color: var(--ink);
  background: linear-gradient(180deg, var(--sky) 0, var(--sky-pale) 360px, #f4fbff 100%); min-height: 100vh; }
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
header img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 4px 14px rgba(58, 46, 92, 0.18); }
header a { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 16px; }
.brand { font-weight: 700; font-size: 32px; letter-spacing: 0.01em; }
.card { background: var(--card); border-radius: 24px; padding: 28px 24px; box-shadow: 0 6px 24px rgba(58, 46, 92, 0.1); }
h1 { font-weight: 700; font-size: 34px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-weight: 700; font-size: 22px; margin: 32px 0 8px; padding-top: 24px; border-top: 2px solid var(--line); }
h2:first-of-type { border-top: 0; padding-top: 0; }
p, li { margin: 0 0 12px; }
ul { padding-left: 22px; }
a { color: #1f6fd1; }
.lede { font-size: 20px; color: var(--soft); }
.summary { background: #fff4cc; border-radius: 16px; padding: 16px 20px; margin: 20px 0; }
.summary li { margin-bottom: 6px; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.button { display: inline-block; background: var(--sun); color: var(--ink); font-weight: 700; text-decoration: none; padding: 12px 22px; border-radius: 16px; box-shadow: 0 3px 0 #e5b53a; }
footer { margin-top: 32px; font-size: 15px; color: var(--soft); text-align: center; }
footer a { color: inherit; }
.meta { color: var(--soft); font-size: 16px; }
@media (max-width: 480px) { body { font-size: 17px; } h1 { font-size: 28px; } .card { padding: 22px 18px; } }

/* Home hero: Alfa on a hill with Bee looping round him, in 2.5D (src/site/hero.ts, the app's mascots.ts). */
.hero { position: relative; height: 280px; margin: -8px auto 16px; max-width: 460px; }
.hero::before { content: ''; position: absolute; left: -6%; right: -6%; bottom: 0; height: 84px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: linear-gradient(#bfe59a, #95cc6f); }
.hero .mascot-home { position: absolute; left: 50%; bottom: 18px; width: 210px; height: 210px; margin-left: -125px; }
.mascot-home .alfa { display: block; width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 1;
  cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mascot-home img.bee { position: absolute; width: 38%; left: 55%; top: -14%; }
.mascot-home.poked .alfa { animation: alfa-wiggle 0.6s ease-in-out; }
@keyframes alfa-wiggle { 0%, 100% { transform: scale(1) rotate(0); } 25% { transform: scale(1.08, 0.94) rotate(-6deg); } 60% { transform: scale(0.96, 1.06) rotate(6deg); } }
.mascot-cheer { display: none; }
.bee3d { position: absolute; left: 0; top: 0; width: 42%; aspect-ratio: 1; will-change: transform; }
.bee3d .bee-body, .bee3d .bee-wings { position: absolute; inset: 0; width: 100%; height: 100%; }
.bee3d .bee-wings { transform-origin: 47% 42%; animation: wing-flap 0.09s ease-in-out infinite alternate; opacity: 0.9; }
@keyframes wing-flap { from { transform: rotate(-10deg) scaleY(1.05); } to { transform: rotate(14deg) scaleY(0.55); } }
.bee-shadow { position: absolute; left: 0; top: 0; width: 26%; height: 6%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30, 50, 20, 0.55), transparent); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .bee3d .bee-wings, .mascot-home.poked .alfa { animation: none; } }
@media (max-width: 480px) { .hero { height: 240px; } .hero .mascot-home { width: 170px; height: 170px; margin-left: -100px; } }
