@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/fredoka-latin.woff2") format("woff2");
}

:root {
  --sky: #8FD3F4;
  --sky-deep: #6CC2EE;
  --cream: #FFF8E7;
  --cream-edge: #F4DDA4;
  --ink: #3B2A1F;
  --link: #E2504C;
  --sun: #F5C531;
  --sun-ink: #312709;
  --sun-deep: #D9A514;
  --coral: #F07A6B;
  --teal: #4DB6AC;
  --purple: #A88BE0;
  --grass: #8CCB6E;
  --radius: 28px;
  --shadow: 0 6px 0 rgba(59, 42, 31, 0.14), 0 18px 36px rgba(59, 42, 31, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky-deep) 0%, var(--sky) 40%, var(--sky) 100%);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { text-decoration-thickness: 3px; }
a:focus-visible, .button:focus-visible {
  outline: 4px solid var(--ink);
  outline-offset: 4px;
  border-radius: 999px;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 700; }

.skip {
  position: absolute; left: -999px; top: 0.5rem;
  background: var(--cream); padding: 0.5rem 1rem; border-radius: 999px; z-index: 10;
}
.skip:focus { left: 0.5rem; }

.small { font-size: 0.95rem; opacity: 0.85; }

/* Top bar */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: 1180px; margin: 0 auto; padding: 0.9rem 1.25rem;
  position: relative; z-index: 2;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.35rem;
}
.topbar nav { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; justify-content: flex-end; }
.topbar nav a {
  color: var(--ink); text-decoration: none; font-weight: 600;
  padding: 0.45rem 0.9rem; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center;
}
.topbar nav a:hover { background: rgba(255, 248, 231, 0.6); }
.topbar nav .nav-play {
  background: var(--sun); color: var(--sun-ink);
  box-shadow: 0 4px 0 var(--sun-deep), 0 0 0 3px var(--ink);
}

/* Buttons */
.button {
  --lift: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 56px; padding: 0.7rem 1.6rem;
  font: inherit; font-weight: 700; font-size: 1.15rem;
  color: var(--sun-ink); background: var(--sun);
  border-radius: 999px; text-decoration: none;
  box-shadow: 0 0 0 3px var(--ink), 0 calc(6px - var(--lift)) 0 3px var(--ink), inset 0 -6px 0 var(--sun-deep), inset 0 4px 0 rgba(255, 255, 255, 0.45);
  transform: translateY(var(--lift));
  transition: transform 0.15s cubic-bezier(.3, 1.6, .5, 1), box-shadow 0.15s;
}
.button:hover { --lift: -3px; text-decoration: none; }
.button:active { --lift: 4px; }
.button-cream {
  background: var(--cream);
  box-shadow: 0 0 0 3px var(--ink), 0 calc(6px - var(--lift)) 0 3px var(--ink), inset 0 -6px 0 var(--cream-edge), inset 0 4px 0 #fff;
}
.button-big {
  font-size: 1.6rem; min-height: 76px; padding: 0.9rem 2.4rem;
}
.play-icon {
  width: 0; height: 0;
  border-left: 18px solid currentColor; border-top: 12px solid transparent; border-bottom: 12px solid transparent;
  margin-left: 4px;
}
.button-big .play-icon { border-left-width: 22px; border-top-width: 14px; border-bottom-width: 14px; }

/* Hero */
.hero {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 2.5rem;
  max-width: 1180px; margin: 0 auto; padding: 1.5rem 1.25rem 7rem;
}
.hero-words { position: relative; z-index: 1; text-align: center; }
.logo {
  font-size: clamp(2.6rem, 5.4vw, 5.2rem);
  letter-spacing: 0.01em; margin: 0 0 0.1em;
  display: inline-flex; flex-wrap: nowrap;
  text-transform: uppercase;
}
.logo span {
  display: inline-block;
  color: var(--c);
  -webkit-text-stroke: 0.09em var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 0.07em 0 var(--ink), 0 0.14em 0 rgba(59, 42, 31, 0.18);
  transform: translateY(var(--y, 0)) rotate(var(--r, 0deg));
  animation: bob 3.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.28s);
}
.l1 { --c: #F5C531; --r: -6deg; --i: 0; }
.l2 { --c: #F07A6B; --r: 4deg; --y: -0.04em; --i: 1; }
.l3 { --c: #4DB6AC; --r: -3deg; --i: 2; }
.l4 { --c: #FFF8E7; --r: 5deg; --y: -0.05em; --i: 3; }
.l5 { --c: #A88BE0; --r: -4deg; --i: 4; }
.l6 { --c: #F5C531; --r: 3deg; --y: -0.03em; --i: 5; }
.l7 { --c: #E2504C; --r: -5deg; --i: 6; }
.l8 { --c: #4DB6AC; --r: 4deg; --y: -0.05em; --i: 7; }
.l9 { --c: #FFF8E7; --r: -3deg; --i: 8; }
.l10 { --c: #F07A6B; --r: 6deg; --y: -0.02em; --i: 9; }
@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -0.06em; }
}

.tagline {
  display: inline-block; margin: 0.2rem 0 1rem;
  font-size: clamp(1.2rem, 2.3vw, 1.6rem); font-weight: 700; line-height: 1.3;
  background: var(--cream); padding: 0.45rem 1.3rem; border-radius: 26px;
  box-shadow: 0 0 0 3px var(--ink), 0 5px 0 3px var(--ink);
  rotate: -1.5deg;
  text-wrap: balance;
}
.nowrap { white-space: nowrap; }
.pitch { max-width: 34rem; margin: 0 auto 1.6rem; font-size: 1.2rem; }
.hero .small { margin-top: 1.1rem; }

.hero-media { margin: 0; position: relative; z-index: 1; }
.tv {
  background: var(--cream);
  padding: 14px;
  border-radius: 34px;
  box-shadow: 0 0 0 4px var(--ink), 0 10px 0 4px var(--ink), 0 26px 50px rgba(59, 42, 31, 0.25);
  rotate: 1.5deg;
}
.tv img { border-radius: 22px; width: 100%; background: #CFEAD0; aspect-ratio: 8 / 5; object-fit: cover; }
.tv video { display: block; border-radius: 22px; width: 100%; height: auto; background: #CFEAD0; aspect-ratio: 8 / 5; object-fit: cover; }

.cloud {
  position: absolute; background: #fff; border-radius: 999px; opacity: 0.85;
  box-shadow: 30px -18px 0 6px #fff, 70px 0 0 -2px #fff;
  animation: drift 40s linear infinite alternate;
}
.cloud-a { width: 110px; height: 44px; top: 18%; left: 4%; }
.cloud-b { width: 80px; height: 32px; top: 6%; left: 58%; animation-duration: 55s; opacity: 0.7; }
.cloud-c { width: 120px; height: 48px; bottom: 32%; right: 3%; animation-duration: 47s; opacity: 0.6; }
@keyframes drift { from { translate: 0 0; } to { translate: 60px 0; } }

.hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 110px; }
.hero { overflow: visible; }
.hero .hills { left: 50%; width: 100vw; transform: translateX(-50%); }

/* Meadow: features */
.meadow { background: var(--grass); padding: 0.5rem 1.25rem 3.5rem; }
.features {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1180px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.8rem 1.5rem;
}
.card {
  position: relative; background: var(--cream); border-radius: var(--radius);
  padding: 2.2rem 1.6rem 1.6rem;
  box-shadow: 0 0 0 3px var(--ink), 0 7px 0 3px var(--ink);
}
.card:nth-child(1), .card:nth-child(6) { rotate: -1deg; }
.card:nth-child(3), .card:nth-child(4) { rotate: 1deg; }
.card h2 { font-size: 1.5rem; }
.card p { margin: 0; }
.badge {
  position: absolute; top: -22px; left: 1.4rem;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.4rem; color: var(--cream);
  box-shadow: 0 0 0 3px var(--ink), inset 0 -5px 0 rgba(0, 0, 0, 0.15), inset 0 4px 0 rgba(255, 255, 255, 0.35);
}
.badge-coral { background: var(--coral); }
.badge-teal { background: var(--teal); }
.badge-purple { background: var(--purple); }

/* Panels */
.panel {
  max-width: 1000px; margin: 4rem auto; padding: 2.4rem 2.6rem;
  background: var(--cream); border-radius: 36px;
  box-shadow: 0 0 0 4px var(--ink), 0 9px 0 4px var(--ink), 0 24px 40px rgba(59, 42, 31, 0.15);
}
.panel h2 { font-size: clamp(1.9rem, 4vw, 2.4rem); }
.lead { font-size: 1.25rem; margin-top: 0; }

.checks {
  list-style: none; padding: 0; margin: 1.5rem 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1.8rem;
}
.checks li { position: relative; padding-left: 2.6rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.1rem;
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px var(--ink), inset 0 -3px 0 rgba(0, 0, 0, 0.15);
}
.checks li::after {
  content: ""; position: absolute; left: 0.55rem; top: 0.48rem;
  width: 0.45rem; height: 0.8rem;
  border: solid var(--cream); border-width: 0 0.22rem 0.22rem 0;
  transform: rotate(45deg);
}
.note {
  margin: 0; padding: 1rem 1.3rem; border-radius: 20px;
  background: #FCEFC9; border: 3px dashed var(--cream-edge);
}

.inspired { margin: 1rem 0 0; font-size: 1rem; opacity: 0.85; }

/* Gallery */
.gallery-wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.section-title {
  text-align: center; font-size: clamp(1.9rem, 4vw, 2.4rem);
  color: var(--cream); -webkit-text-stroke: 0.08em var(--ink); paint-order: stroke fill;
  text-shadow: 0 0.08em 0 var(--ink);
  margin-bottom: 1.6rem;
}
.gallery {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem;
}
.gallery li {
  background: var(--cream); border-radius: 26px; padding: 10px 10px 0;
  box-shadow: 0 0 0 3px var(--ink), 0 7px 0 3px var(--ink);
  transition: transform 0.2s cubic-bezier(.3, 1.6, .5, 1);
}
.gallery li:nth-child(odd) { rotate: -0.8deg; }
.gallery li:nth-child(even) { rotate: 0.8deg; }
.gallery li:hover { transform: translateY(-4px) scale(1.02); }
.gallery a { display: block; border-radius: 18px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.gallery p { margin: 0; padding: 0.55rem 0.4rem 0.7rem; text-align: center; font-weight: 600; }

/* Support */
.support { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; }
.support-bell { width: 128px; animation: ring 3s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes ring {
  0%, 70%, 100% { rotate: 0deg; }
  76% { rotate: 12deg; } 82% { rotate: -10deg; } 88% { rotate: 6deg; } 94% { rotate: -3deg; }
}
.actions { display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 1.2rem 0 1rem; }

.last-call { text-align: center; padding: 1rem 1.25rem 4rem; }

/* The privacy page: one cream panel of plain words */
.policy { max-width: 820px; margin-top: 1.5rem; }
.policy h1 { font-size: clamp(2.2rem, 5vw, 2.8rem); }
.policy h2 { font-size: 1.5rem; margin-top: 1.8rem; }
.policy .updated { margin: -0.4rem 0 0; font-size: 1rem; opacity: 0.8; }
.policy .actions { margin-top: 2rem; }
@media (max-width: 560px) { .policy .actions { justify-content: center; } }

.lost { max-width: 560px; margin: 12vh auto; text-align: center; display: grid; justify-items: center; }
.lost h1 { font-size: 2.4rem; }
.lost .actions { justify-content: center; }

/* Footer */
.footer {
  background: var(--ink); color: var(--cream);
  padding: 2.4rem 1.25rem 2.8rem; text-align: center;
  border-radius: 40px 40px 0 0;
}
.footer p { margin: 0.35rem auto; max-width: 46rem; }
.footer a { color: var(--sun); }

/* Phones and small tablets */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 6rem; }
  .logo { font-size: clamp(2.6rem, 12vw, 5.2rem); }
  .features { grid-template-columns: 1fr; gap: 2.2rem; max-width: 560px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checks { grid-template-columns: 1fr; }
  .panel { margin: 3rem 1rem; padding: 2rem 1.5rem; }
}
/* Phones held sideways: short and wide, so the words and the clip sit side by side again */
@media (max-height: 500px) and (orientation: landscape) {
  .topbar { padding-top: 0.4rem; padding-bottom: 0.2rem; }
  .nav-extra { display: none !important; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; padding-top: 0; padding-bottom: 5rem; }
  .tagline { font-size: 1.1rem; margin-bottom: 0.7rem; }
  .logo { font-size: clamp(2.2rem, 5.4vw, 3.4rem); }
  .pitch { display: none; }
  .button-big { font-size: 1.35rem; min-height: 64px; padding: 0.7rem 1.8rem; }
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 2.4rem 1.2rem; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  body { font-size: 1.05rem; }
  .nav-extra { display: none !important; }
  .gallery { grid-template-columns: 1fr; }
  .support { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .actions { justify-content: center; }
  .button-big { font-size: 1.4rem; padding: 0.8rem 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
