@font-face {
  font-family: 'Fredoka';
  src: url(../assets/fredoka_medium6fd73c58ca580300aae5.ttf) format('truetype');
  font-weight: 400 700; /* this file is Medium; we'll still map to normal */
  font-style: normal;
  font-display: swap;
}

:root {
  --sky-1: #b3e6fc; /* rgb(0.70, 0.90, 0.99) */
  --sky-2: #e0f5fc; /* rgb(0.88, 0.96, 0.99) */
  --green-1: #2f9e5a; /* Color(0x2F,0x9E,0x5A) */
  --green-2: #3bbf6e; /* Color(0x3B,0xBF,0x6E) */
  --text: #18322a;
  --muted: #5b7d6f;
  --surface: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --radius-lg: 16px;
  --radius-md: 12px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Fredoka', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  /* Fallback while JS loads */
  background: linear-gradient(180deg, var(--sky-2) 0%, var(--sky-1) 40%, #f7fff8 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Full-viewport animated canvas background */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(180deg, var(--sky-2) 0%, var(--sky-1) 60%, #f7fff8 100%);
  pointer-events: none;
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Ensure content renders above the background canvas */
.site-header, .container, .site-footer { position: relative; z-index: 1; }
.site-header { padding: 28px 20px 8px; text-align: center; }
.logo { width: min(85vw, 520px); height: auto; filter: drop-shadow(0 2px 0 rgba(0,0,0,0.02)); }

.container {
  max-width: 1105px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.hero {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
}
.lead {
  margin: 0 0 22px;
  font-size: clamp(1rem, 0.9rem + 0.7vw, 1.25rem);
  line-height: 1.5;
  color: var(--muted);
}

.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.store-btn {
  --btn-bg: #111;
  --btn-fg: #fff;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-decoration: none;
  background: var(--btn-bg);
  color: var(--btn-fg);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  min-width: 200px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.18); }
.store-btn:active { transform: translateY(0); box-shadow: 0 6px 14px rgba(0,0,0,0.16); }
.store-btn .store-title { font-size: 12px; opacity: 0.85; letter-spacing: 0.2px; }
.store-btn .store-name { font-size: 18px; line-height: 1.2; margin-top: 2px; }

/* Visual variants for the two badges */
.store-btn.apple { --btn-bg: #000; }
.store-btn.google { --btn-bg: linear-gradient(135deg, var(--green-2), var(--green-1)); }

.hero-art { text-align: center; }
.hero-art img {
  width: min(60vw, 420px);
  height: auto;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,0.15));
}

.site-footer { padding: 28px 20px 40px; text-align: center; color: var(--muted); font-size: 0.9rem; }
.site-footer details { display: inline-block; background: rgba(255,255,255,0.7); border-radius: 10px; padding: 10px 12px; box-shadow: var(--shadow); }
.site-footer summary { cursor: pointer; user-select: none; }
.site-footer .license { text-align: left; max-width: 760px; margin: 8px auto 0; }
.site-footer a { color: var(--green-1); }

/* Responsive */
@media (max-width: 960px) {
  .container { grid-template-columns: 1fr; }
  .hero { order: 2; }
  .hero-art { order: 1; }
  .cta-buttons { justify-content: center; }
  .store-btn { align-items: center; text-align: center; }
}



@media (min-width: 961px) {
  /* Fixed layout: keep header, main content, and credits visible */
  .site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 3; }

  /* Fix the main container so hero (description box) and mascot image stay put */
  .container { position: fixed; top: 260px; left: 0; right: 0; z-index: 2; }

  /* Keep the licenses & credits box visible near the bottom */
  .site-footer details { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 9998; }
}
  /* Ensure footer stacking context is above the fixed container */
  .site-footer { z-index: 4; }



/* Ensure footer panel remains closable on desktop */
@media (min-width: 961px) {
  .site-footer details summary {
    position: relative;
    z-index: 6; /* keep summary above panel so it's always clickable */
  }
  .site-footer details[open] .license {
    position: fixed;
    bottom: 64px; /* sit above the summary button */
    left: 50%; transform: translateX(-50%);
    width: min(760px, calc(100vw - 40px));
    max-height: 42vh;
    overflow: auto;
    background: rgba(255,255,255,0.97);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 10px 12px;
    z-index: 5;
  }
}


/*# sourceMappingURL=main.27478bc4.css.map*/