/* boopbob.com landing page. Same colours and letters as the game. */
@font-face { font-family: "Bagel Fat One"; src: url(/fonts/bagel-fat-one.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Fredoka; font-weight: 500; src: url(/fonts/fredoka-500.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Fredoka; font-weight: 600; src: url(/fonts/fredoka-600.woff2) format("woff2"); font-display: swap; }

:root { --ink: #2b1d3a; --paper: #fff6e3; --sun: #ffcf3f; --rug: #e25b5f; --mint: #8fd3c4; --mint2: #84c9ba; --muted: #5d4c6b; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink);
  font: 500 18px/1.55 Fredoka, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: repeating-linear-gradient(90deg, var(--mint) 0 44px, var(--mint2) 44px 88px);
}
main { max-width: 1080px; margin: 0 auto; padding: 28px 16px 8px; display: grid; gap: 36px; }
h1, h2 { font-family: "Bagel Fat One", Fredoka, system-ui, sans-serif; font-weight: 400; margin: 0; line-height: 1.02; }
h1 {
  font-size: clamp(3.6rem, 13vw, 7rem); color: var(--sun); letter-spacing: .01em;
  -webkit-text-stroke: 10px var(--ink); paint-order: stroke fill; text-shadow: 0 7px 0 var(--ink);
}
h2 { font-size: clamp(1.7rem, 5vw, 2.3rem); margin-bottom: 12px; }
p { margin: 0; }
a { color: inherit; }

.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; padding-top: 12px; }
.pitch { display: grid; gap: 16px; justify-items: start; }
.icon { border-radius: 22px; border: 4px solid var(--ink); box-shadow: 0 5px 0 var(--ink); }
.tag {
  background: var(--paper); border: 4px solid var(--ink); border-radius: 16px; padding: 6px 16px;
  font-weight: 600; font-size: 1.25rem; transform: rotate(-2deg); box-shadow: 0 5px 0 var(--ink);
}
.lede { font-size: 1.15rem; max-width: 34em; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 1.3rem; line-height: 1.2;
  background: var(--sun); border: 4px solid var(--ink); border-radius: 999px; padding: 14px 28px;
  box-shadow: 0 6px 0 var(--ink); transition: transform .08s, box-shadow .08s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn:focus-visible, a:focus-visible { outline: 4px solid var(--rug); outline-offset: 3px; }
.soon { font-weight: 600; color: var(--muted); }

.phone { justify-self: center; width: min(100%, 320px); }
.phone video, .phone img {
  display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: var(--mint);
  border: 6px solid var(--ink); border-radius: 34px; box-shadow: 0 10px 0 var(--ink); transform: rotate(2deg);
}

.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(62vw, 230px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; margin: 0 -16px; padding-inline: 16px;
  scrollbar-width: thin; scrollbar-color: var(--ink) transparent;
}
.shots img {
  width: 100%; height: auto; display: block; scroll-snap-align: center;
  border: 4px solid var(--ink); border-radius: 20px; box-shadow: 0 5px 0 var(--ink);
}

.card { background: var(--paper); border: 4px solid var(--ink); border-radius: 26px; padding: 26px 26px 28px; box-shadow: 0 7px 0 var(--ink); }
.card.sun { background: var(--sun); }
.card ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px 28px; }
.card li { padding-left: 34px; position: relative; }
.card li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--rug); border: 3px solid var(--ink);
}
.card.sun li::before { background: var(--paper); }

.end { display: grid; gap: 16px; justify-items: center; text-align: center; padding: 8px 0 4px; }
.outro { font-family: "Bagel Fat One", Fredoka, sans-serif; font-size: clamp(1.4rem, 4.4vw, 2rem); line-height: 1.2; max-width: 22em; }

footer { text-align: center; padding: 28px 16px 40px; display: grid; gap: 6px; font-size: 1rem; }

@media (max-width: 760px) {
  main { gap: 28px; padding-top: 20px; }
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .pitch { justify-items: center; text-align: center; }
  h1 { -webkit-text-stroke-width: 8px; }
  .phone { width: min(72vw, 290px); }
  .card { padding: 22px 18px 24px; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* questions and answers */
.faq h3 { font: 600 1.15rem/1.3 Fredoka, system-ui, sans-serif; margin: 20px 0 4px; }
.faq p { max-width: 46em; }
.langs { max-width: 46em; margin: 0 auto; line-height: 2; }
/* alphabets the display fonts lack: one system font throughout (the Boop Bob wordmark keeps its own) */
.sys body, .sys h2, .sys .outro, .sys .faq h3 { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif; }
.sys h2, .sys .outro { font-weight: 800; }
