/* Tall & Small: the public support and privacy pages. Same paper, ink and fonts as the app. */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/assets/fonts/bricolage.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url('/assets/fonts/atkinson-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url('/assets/fonts/atkinson-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: #fff3df;
  --ink: #23193a;
  --soft: #5e5474;
  --imposter: #a68cff;
  --charades: #ff8a66;
  --family: #4fd1b5;
  --quiz: #ffd24a;
  --accent: #ff5d8f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.6 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main { max-width: 680px; margin: 0 auto; padding: 28px 22px 72px; }

header.top { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
header.top img { width: 56px; height: 56px; border-radius: 14px; border: 3px solid var(--ink); }
header.top a { color: inherit; text-decoration: none; }
.brand { font: 800 26px/1 'Bricolage Grotesque', system-ui, sans-serif; letter-spacing: -0.02em; }
.brand small { display: block; font: 400 15px/1.3 'Atkinson Hyperlegible Next', system-ui, sans-serif; color: var(--soft); margin-top: 4px; letter-spacing: 0; }

h1, h2, h3 { font-family: 'Bricolage Grotesque', system-ui, sans-serif; letter-spacing: -0.015em; }
h1 { font-size: clamp(32px, 7vw, 44px); line-height: 1.08; font-weight: 800; margin: 0 0 12px; }
h2 { font-size: 24px; line-height: 1.2; font-weight: 750; margin: 40px 0 10px; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 700; margin: 0 0 4px; }
p { margin: 0 0 14px; }
.lede { font-size: 20px; color: var(--soft); margin-bottom: 24px; }
.date { color: var(--soft); margin: 0 0 24px; }

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

.box {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: 4px 4px 0 var(--ink);
  margin: 0 0 18px;
}
.box p:last-child { margin-bottom: 0; }
.box.strong p { font-weight: 700; }

.games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 8px; padding: 0; list-style: none; }
.games li { border: 3px solid var(--ink); border-radius: 16px; padding: 12px 14px; font-weight: 700; line-height: 1.3; }
.games li span { display: block; font-size: 26px; margin-bottom: 4px; }
.games li:nth-child(1) { background: var(--imposter); }
.games li:nth-child(2) { background: var(--charades); }
.games li:nth-child(3) { background: var(--family); }
.games li:nth-child(4) { background: var(--quiz); }

.faq { margin: 0; padding: 0; list-style: none; }
.faq li { border-top: 2px solid rgba(35, 25, 58, 0.15); padding: 18px 0; }
.faq li:first-child { border-top: 0; padding-top: 4px; }
.faq p { margin: 0 0 8px; }
.faq p:last-child { margin-bottom: 0; }

ul.plain { padding-left: 22px; margin: 0 0 14px; }
ul.plain li { margin-bottom: 4px; }

.contact { background: var(--quiz); }
.contact a { font-weight: 700; font-size: 20px; text-decoration-color: var(--ink); }

footer { margin-top: 48px; padding-top: 18px; border-top: 3px solid var(--ink); color: var(--soft); font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--soft); }

@media (max-width: 420px) {
  body { font-size: 17px; }
  .games { gap: 10px; }
}
