/* Quick Whiz site — shared base: brand tokens, fonts, buttons (incl. the standard hover), footer.
   Every page links this first; page-specific layout stays in the page. */
@font-face { font-family: "Fredoka"; src: url("/fonts/Fredoka.ttf") format("truetype"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/Nunito.ttf") format("truetype"); font-weight: 200 1000; font-display: swap; }

:root {
  --sunrise: #FF8FB8;
  --coral: #FF7A59;
  --apricot: #FFC46B;
  --bolt: #FFE34D;
  --cobalt: #1E3FC4;
  --cobalt-hi: #2D52E6;
  --grape: #7C3AED;
  --grape-hi: #8E4DF7;
  --plum: #2A1B4A;
  --mint: #22C55E;
  --berry: #C8236B;
  --card: #FFFFFF;
  --row: #F4EEFF;
  --a: #7C3AED; --b: #16A34A; --c: #EA580C; --d: #2563EB;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--plum);
  background: linear-gradient(160deg, var(--sunrise) 0%, var(--coral) 52%, var(--apricot) 100%) fixed;
  background-color: var(--coral);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

/* Buttons. Hover standard for every site button: lift 2px, deeper base shadow, lighter fill;
   the icon gets a small nudge. Pressing sinks it. Hover only on devices that can hover. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 14px;
  font: 600 18px/1 "Fredoka", sans-serif;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.22);
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.btn svg { transition: transform .2s ease; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(0, 0, 0, 0.22); }
  .btn:hover svg { transform: scale(1.12); }
  .btn-yt:hover { background-color: var(--cobalt-hi); }
  .btn-next:hover { background-color: var(--grape-hi); }
}
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.22); transition-duration: .06s; }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.btn-next { background: var(--grape); color: #fff; min-height: 44px; font-size: 17px; }
.btn-next:focus-visible { outline-color: var(--grape); }
.btn-yt { background: var(--cobalt); color: #fff; white-space: nowrap; padding: 0 20px; }
.btn-yt svg { width: 22px; height: 22px; }

/* Footer: links + small print */
.site-footer {
  width: 100%; max-width: 1120px; margin: 0 auto; padding: 8px 24px 28px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 22px;
  color: rgba(255, 255, 255, 0.92); font-size: 14px; font-weight: 600;
}
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: #fff; text-decoration: none; font-weight: 800; border-bottom: 2px solid rgba(255, 255, 255, 0.45); transition: border-color .16s ease; }
.site-footer a:hover { border-color: #fff; }
.site-footer a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 2px; }
.site-footer p { margin: 0; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn svg, .site-footer a { transition: none; }
  .btn:hover, .btn:hover svg { transform: none; }
}
