/* The support and legal pages: the landing's type and paper, made for reading. */
@font-face { font-family: Nunito; font-weight: 800; font-display: swap; src: url(/fonts/nunito-800.woff) format('woff'); }
@font-face { font-family: Nunito; font-weight: 900; font-display: swap; src: url(/fonts/nunito-900.woff) format('woff'); }
@font-face { font-family: Figtree; font-weight: 400; font-display: swap; src: url(/fonts/figtree-400.woff) format('woff'); }
@font-face { font-family: Figtree; font-weight: 600; font-display: swap; src: url(/fonts/figtree-600.woff) format('woff'); }
@font-face { font-family: Figtree; font-weight: 700; font-display: swap; src: url(/fonts/figtree-700.woff) format('woff'); }

:root {
  --navy: #1E2F57;
  --ink: #0D3B5E;
  --soft: #5B6684;
  --paper: #F3ECDD;
  --card: #FFFDF8;
  --line: rgba(30, 47, 87, 0.12);
  --accent: #1C6FA8;
  --wash: #D7EDFA;
  --green: #2E9E5B;
  --red: #C8102E;
  --display: Nunito, 'Segoe UI', system-ui, sans-serif;
  --body: Figtree, 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--navy); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* The bar: the brand back home, and the three pages. */
.bar { background: rgba(243, 236, 221, 0.92); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(8px); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 900; font-size: 20px; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.bar nav { display: flex; gap: 4px; }
.bar nav a { font-weight: 600; font-size: 15px; color: var(--soft); padding: 7px 11px; border-radius: 999px; }
.bar nav a:hover { text-decoration: none; background: var(--card); color: var(--navy); }
.bar nav a[aria-current="page"] { background: var(--navy); color: var(--card); }

main.wrap { flex: 1; padding-top: 44px; padding-bottom: 64px; }
h1 { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 6vw, 44px); line-height: 1.1; letter-spacing: -0.5px; margin: 0 0 8px; color: var(--navy); }
h2 { font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1.25; margin: 34px 0 8px; color: var(--ink); }
p, li { margin: 0 0 12px; }
ul { padding-left: 22px; margin: 0 0 12px; }
strong { color: var(--ink); }
.date { color: var(--soft); font-size: 15px; margin-bottom: 26px; }
.lede { font-size: 19px; color: var(--soft); margin-bottom: 22px; }

/* The "in short" box, and the language sections of the legal pages. */
.box { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0; padding: 16px 20px; margin: 22px 0; }
.lang { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 40px; }

/* Support. */
.mail { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 19px; background: var(--navy); color: var(--card); padding: 13px 22px; border-radius: 999px; margin-bottom: 30px; overflow-wrap: anywhere; }
.mail:hover { text-decoration: none; background: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 0 0 8px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.card h2 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--soft); font-size: 16px; }

/* The parental-consent results: one card, in the middle of the page. */
.centered main { display: flex; align-items: center; justify-content: center; }
.result { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 40px 28px; max-width: 480px; width: 100%; text-align: center; }
.result h1 { font-size: 28px; margin-bottom: 14px; }
.result p { color: var(--soft); }
.badge { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.badge.ok { background: var(--green); }
.badge.bad { background: var(--red); }

footer { border-top: 1px solid var(--line); padding: 26px 0 34px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
footer nav a { font-weight: 600; font-size: 15px; color: var(--soft); }
footer .legal { font-size: 14px; color: var(--soft); margin: 0; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .bar .wrap { height: 56px; }
  .brand { font-size: 18px; }
  .brand img { width: 30px; height: 30px; }
  .bar nav a { font-size: 14px; padding: 6px 8px; }
  main.wrap { padding-top: 30px; }
  .mail { font-size: 15.5px; padding: 12px 18px; white-space: nowrap; overflow-wrap: normal; }
}
