/* TapCatch Frenzy: shared styles for the product, support, privacy and terms pages.
   "Sunny Sketchbook", the game's own look: cream paper, a soft sky, Playpen Sans and chunky
   rounded cards with an ink outline. Text is ink (#33244d) or plum (#4a3a63) on cream, white
   and the pale sky, all above WCAG AA. Orange, sun and leaf are decoration, never behind body text. */
@font-face { font-family: "Playpen Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("PlaypenSans.woff2") format("woff2"); }
:root {
  --ink: #33244d; --plum: #4a3a63; --cream: #fff7e8; --paper: #fffdf7; --white: #ffffff;
  --sky: #8fd3f4; --sky-pale: #d9f1fc; --leaf: #8ccb5e; --leaf-deep: #5fae4a;
  --orange: #ff8a3d; --sun: #ffd23f; --pink: #ff9ebb; --lilac: #c9b2f2;
  --link: #1d5fa8; --link-hover: #123f73; --rust: #a2400f;
  --line: rgba(51,36,77,0.16);
  --display: "Playpen Sans", "Chalkboard SE", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --font: "Playpen Sans", ui-rounded, -apple-system, "SF Pro Rounded", "Segoe UI", Roboto, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--font); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background: var(--cream) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .55  0 0 0 0 .45  0 0 0 0 .35  0 0 0 .07 0'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>"); }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--link-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { position: relative; z-index: 1; width: min(100% - 40px, 1080px); margin-inline: auto; }
.narrow { width: min(100% - 40px, 760px); }

/* The sky with soft green hills: the top of every page. */
.sky { position: relative; background: linear-gradient(180deg, var(--sky) 0%, var(--sky-pale) 70%, var(--cream) 100%); overflow: hidden; }
.sky::before { content: ""; position: absolute; left: -5%; right: -5%; bottom: -1px; height: 70px; background: var(--leaf);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0; box-shadow: 0 -2px 0 rgba(51,36,77,.12); pointer-events: none; }
.sky::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 26px; background: var(--cream); border-radius: 50% 50% 0 0 / 100% 100% 0 0; pointer-events: none; }
.sky.short::before { height: 44px; }

.nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 21px; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand img { width: 42px; height: 42px; border-radius: 12px; border: 3px solid var(--white); box-shadow: 0 4px 0 rgba(51,36,77,0.18); }
.nav-links { display: flex; gap: 6px; flex-wrap: nowrap; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 999px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,0.75); }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.1; letter-spacing: -.005em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(40px, 6.6vw, 68px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; color: var(--plum); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rust); margin-bottom: 12px; }
.sky .eyebrow { color: var(--ink); background: var(--sun); border: 2px solid var(--ink); border-radius: 999px; padding: 3px 14px; transform: rotate(-2deg); }
.lede { font-size: clamp(18px, 2.3vw, 20px); color: var(--plum); max-width: 34em; }
.sky p, .sky .lede { color: var(--plum); }

.card { background: var(--paper); border: 3px solid var(--ink); border-radius: 28px 22px 30px 20px / 22px 28px 20px 30px; padding: 24px; box-shadow: 0 6px 0 rgba(51,36,77,0.14); }
.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .grid.three, .grid.two { grid-template-columns: 1fr; } }

.stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 18px; font-weight: 800; font-size: 17px; text-decoration: none;
  color: var(--white); background: var(--ink); border: 3px solid var(--ink); box-shadow: 0 6px 0 rgba(51,36,77,0.3); }
.store:hover { color: var(--white); background: #46336a; transform: translateY(-1px); }
.store svg { width: 20px; height: 20px; fill: currentColor; }
.store.soon { background: var(--white); color: var(--ink); border: 3px dashed var(--plum); box-shadow: none; cursor: default; }
.store.soon small { font-weight: 700; color: var(--plum); margin-left: 4px; }

section { padding: 56px 0; }

/* The sunny band: Frenzy and the money talk. Ink on warm yellow. */
.band { background: #fff0b8; border-block: 3px solid var(--ink); overflow: hidden; }
.band .eyebrow { color: var(--rust); }
.band .card { background: var(--white); }

.legal h1 { font-size: clamp(36px, 6vw, 52px); margin-bottom: 10px; }
.legal h2 { font-size: 25px; margin: 38px 0 12px; }
.legal p, .legal li { color: var(--plum); }
.legal ul { padding-left: 22px; margin: 0 0 1em; }
.legal li { margin-bottom: 8px; }
.legal strong, .legal b { color: var(--ink); }
.meta { color: var(--plum); font-size: 15px; margin-bottom: 28px; }
.tldr { border-left: 8px solid var(--orange); }
.tldr p:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15.5px; background: var(--white); border-radius: 14px; overflow: hidden; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--plum); }
th { color: var(--ink); font-weight: 800; background: #ffeec2; }
.tablewrap { overflow-x: auto; }
code { font-size: .92em; background: rgba(51,36,77,0.07); padding: 1px 5px; border-radius: 6px; color: var(--ink); }

details { background: var(--paper); border: 3px solid var(--ink); border-radius: 22px; padding: 2px 20px; margin-bottom: 12px; box-shadow: 0 4px 0 rgba(51,36,77,0.1); }
summary { cursor: pointer; font-weight: 800; color: var(--ink); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--rust); font-weight: 800; }
details[open] summary::after { content: "–"; }
details p:last-child { margin-bottom: 16px; }

footer { position: relative; z-index: 1; border-top: 3px dashed var(--line); margin-top: 40px; padding: 30px 0 46px; color: var(--plum); font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--plum); text-decoration: none; margin-left: 16px; }
footer a:first-child { margin-left: 0; }
footer a:hover { color: var(--ink); text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
@media (max-width: 480px) {
  .nav { gap: 8px; }
  .brand { font-size: 15px; gap: 9px; flex-shrink: 0; }
  .brand img { width: 34px; height: 34px; border-radius: 9px; }
  .nav-links { gap: 0; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { font-size: 13.5px; padding: 7px 8px; }
}
@media (max-width: 400px) { .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
