:root {
  --yellow: #f0b31a;
  --yellow-light: #fccd53;
  --yellow-pale: #fff1c9;
  --cream: #fff7e6;
  --ink: #08262e;
  --ink-soft: #3c5258;
  --red: #e24217;
  --red-dark: #b9330f;
  --green: #3fbf5f;
  --white: #ffffff;
  --radius: 20px;
  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Fredoka", "Nunito", sans-serif; font-weight: 700; line-height: 1.1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.eyebrow {
  font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--red); margin-bottom: 0.8rem;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem clamp(1rem, 4vw, 2.6rem);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.scrolled { background: var(--yellow); box-shadow: 0 2px 0 var(--ink); }
.nav__brand img { height: 46px; width: auto; transition: opacity 0.3s var(--ease); }
.nav--home:not(.scrolled) .nav__brand img { opacity: 0; pointer-events: none; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 0.98rem; color: var(--ink); transition: color 0.2s; }
.nav__links a:hover { color: var(--red); }
.nav__links .nav__cta { background: var(--red); color: var(--white); padding: 0.5rem 1.15rem; border-radius: 999px; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.nav__links .nav__cta:hover { color: var(--white); background: var(--red-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.05rem;
  padding: 0.85rem 1.7rem; border-radius: 999px; border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink); cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn svg { width: 1.3em; height: 1.3em; fill: currentColor; flex-shrink: 0; }
.btn--red { background: var(--red); color: var(--white); }
.btn--cream { background: var(--cream); color: var(--ink); }
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 0.95rem;
  padding: 0.55rem 1.1rem; border-radius: 999px; background: var(--ink); color: var(--yellow-light);
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

/* ---------- Hero ---------- */
/* above the art = the art's wall yellow; below it = the art's floor yellow, so there's no seam */
.hero {
  /* matches the art's floor spotlight: bright centre, warmer edges */
  background: radial-gradient(ellipse 70% 140% at 50% 0%, #fcce56 0%, #fbc643 40%, #fbbf32 72%);
  padding: 0 0 6.5rem; text-align: center;
}
.hero__art { background: var(--yellow); padding-top: 4.5rem; }
.hero__art img { width: 100%; height: auto; }
.hero__copy { max-width: 760px; margin: 0 auto; padding: 0 1.25rem; }
.hero__tagline { font-size: clamp(1.7rem, 4vw, 2.7rem); line-height: 1.2; margin: 0.4rem 0 1rem; }
.hero__sub { font-size: clamp(1.05rem, 1.8vw, 1.2rem); color: var(--ink-soft); margin-bottom: 1.9rem; }
.hero__actions { display: flex; gap: 1rem; justify-content: center; align-items: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: clamp(4rem, 8vw, 6.5rem) clamp(1.1rem, 5vw, 2.6rem); }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.2rem, 5vw, 3.4rem); }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.section-head p { color: var(--ink-soft); font-size: 1.12rem; margin-top: 1rem; }

.panel { background: var(--cream); border-radius: 36px 36px 0 0; margin-top: -2.5rem; position: relative; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.feature {
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--ink); padding: 1.7rem 1.5rem 1.8rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.feature:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.feature__icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.feature__icon svg { width: 28px; height: 28px; stroke: var(--ink); }
.feature h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.feature p { color: var(--ink-soft); }
.feature__tag {
  display: inline-block; vertical-align: middle; margin-left: 0.3rem;
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  background: var(--red); color: var(--white); padding: 0.2rem 0.6rem; border-radius: 999px;
}

/* ---------- Screenshots ---------- */
.shots-section { background: var(--yellow-pale); }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.shots a {
  display: block; border-radius: 16px; overflow: hidden; border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink); aspect-ratio: 16 / 9; background: var(--ink);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.shots a:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.shots img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA ---------- */
.cta__card {
  max-width: 820px; margin: 0 auto; text-align: center; background: var(--red); color: var(--white);
  border: 2px solid var(--ink); border-radius: 28px; box-shadow: 8px 8px 0 var(--ink);
  padding: clamp(2.4rem, 6vw, 3.8rem) clamp(1.4rem, 5vw, 3.2rem);
}
.cta__card h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-bottom: 0.9rem; }
.cta__card p { font-size: 1.1rem; margin-bottom: 1.9rem; color: #ffe9e1; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #b9cbcf; text-align: center; padding: 2.6rem 1.25rem; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.footer__links { display: flex; gap: 1.6rem; flex-wrap: wrap; justify-content: center; font-family: "Fredoka", sans-serif; font-weight: 600; }
.footer__links a { color: var(--yellow); }
.footer__links a:hover { color: var(--white); }
.footer__copy { font-size: 0.88rem; }

/* ---------- Privacy page ---------- */
.page-head { background: var(--yellow); padding: 7rem 1.25rem 4.5rem; text-align: center; }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.page-head .updated { margin-top: 0.6rem; font-weight: 700; color: var(--ink-soft); }
.policy { max-width: 760px; margin: 0 auto; padding: 3.5rem 1.25rem 5rem; }
.policy h2 { font-size: 1.5rem; margin: 2.4rem 0 0.8rem; }
.policy p, .policy li { color: var(--ink-soft); font-size: 1.04rem; margin-bottom: 0.9rem; }
.policy ul { padding-left: 1.3rem; }
.policy strong { color: var(--ink); }
.policy a { color: var(--red); font-weight: 700; border-bottom: 2px solid rgba(226, 66, 23, 0.3); }
.policy a:hover { border-bottom-color: var(--red); }
.policy .summary {
  background: var(--yellow-pale); border: 2px solid var(--ink); border-radius: 16px;
  box-shadow: 5px 5px 0 var(--ink); padding: 1.3rem 1.5rem; margin: 1.8rem 0 0.8rem;
}
.policy .summary p { margin: 0; color: var(--ink); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .nav__brand img { height: 38px; }
  .features, .shots { grid-template-columns: 1fr; }
  .hero__art { padding-top: 3.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
