@font-face{font-family:"Atkinson Hyperlegible";font-style:normal;font-weight:400;font-display:swap;src:url("/static/fonts/atkinson-400.d64ba838ef.woff2") format("woff2")}
@font-face{font-family:"Atkinson Hyperlegible";font-style:normal;font-weight:700;font-display:swap;src:url("/static/fonts/atkinson-700.140e2bd25a.woff2") format("woff2")}
@font-face{font-family:"Alegreya";font-style:normal;font-weight:700;font-display:swap;src:url("/static/fonts/alegreya-700.1c582501ce.woff2") format("woff2")}
/*
 * The public site (apps/site), in the app's colours ("groen", chosen
 * 2026-10-11): the dark green bar, the fox in orange. Every colour and size
 * is a token here.
 * Large type and calm colours for older players; no JavaScript.
 */
:root {
  --bg: #f4f3ee;
  --surface: #ffffff;
  --ink: #15201a;
  --muted: #4f5a55;
  --line: #d6d7cc;
  --brand-bg: #163a2c;
  --brand-ink: #ffffff;
  --brand-muted: #d5e3da;
  --fox: #e2671a;
  /* The fox's orange a shade lighter, for small text on the bar (≥ 4.5:1). */
  --fox-light: #f4a259;
  --accent: #9c4409;
  --button: #163a2c;
  --button-ink: #ffffff;
  --notice: #fbf1e4;
  --suit-red: #c0262d;
  --suit-black: #15201a;
  --focus: #9c4409;
  --radius: 12px;
  --font: "Atkinson Hyperlegible", "Segoe UI", Verdana, Arial, sans-serif;
  --font-heading: "Alegreya", Georgia, "Times New Roman", serif;
  /* The body text: 20px (18px on a phone). Every other size is in rem, so
     lead and headings are always larger than the body, small text never
     smaller than 16px. */
  --text: 20px;
  --text-phone: 18px;
  /* One column for the header, the page and the footer (about 70 characters). */
  --measure: 38rem;
  --gutter: 16px;
  /* The smallest tap target. */
  --tap: 44px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  font-size: var(--text);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1rem / 1.6 var(--font);
  overflow-wrap: break-word;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: var(--ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--accent);
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.25;
  margin: 1.6em 0 0.5em;
}
h1 {
  font-size: 1.8rem;
  margin-top: 0.4em;
}
h2 {
  font-size: 1.4rem;
}
h3 {
  font-size: 1.25rem; /* Alegreya runs small: still clearly above the lead */
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  background: var(--surface);
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 2;
}
.skip:focus {
  top: 8px;
}

/* Top: the name, the language switch and the menu. */
.top {
  background: var(--brand-bg);
  color: var(--brand-ink);
}
.top-inner,
.menu ul {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 10px var(--gutter);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--tap);
  color: var(--brand-ink);
  text-decoration: none;
  font: 700 1.3rem/1 var(--font-heading);
}
.brand .vos {
  color: var(--fox);
}
.top a:hover {
  color: var(--fox-light);
}
.top-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 14px;
}
/* After the launch: "Gratis spelen" straight to the free Spel van de dag, and "Inloggen". */
.top-play {
  display: inline-block;
  font: 700 0.9rem/1.2 var(--font);
  color: var(--brand-bg);
  background: var(--fox-light);
  border-radius: var(--radius);
  padding: 12px 18px;
  min-height: 48px;
  text-decoration: none;
}
.top a.top-play:hover {
  color: var(--brand-bg);
  filter: brightness(1.08);
}
.top-signin {
  color: var(--brand-ink);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 4px;
}
.menu {
  border-top: 1px solid rgb(255 255 255 / 0.18);
}
/* The menu: one row on a computer, at most two on a phone (360px wide). */
.menu ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  padding-top: 2px;
  padding-bottom: 2px;
}
.menu a {
  color: var(--brand-ink);
  font-size: max(16px, 0.85rem);
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  white-space: nowrap;
}
.menu a[aria-current="page"] {
  color: var(--fox-light);
}

/* The page. */
.page {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 16px var(--gutter) 48px;
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
  padding: 0;
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.crumbs li {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}
.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}
.crumbs li + li::before {
  content: "›";
  margin-right: 8px;
}
.lead,
.answer {
  font-size: 1.15rem;
}
.answer {
  font-size: 1.1rem;
}
.answer {
  border-left: 6px solid var(--fox);
  padding: 4px 0 4px 16px;
  font-weight: 700;
}
.notice {
  background: var(--notice);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
}
.small,
.byline {
  font-size: 0.9rem;
  color: var(--muted);
}
.byline {
  margin-top: 2.5em;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.button,
button {
  display: inline-block;
  font: 700 1.05rem/1.2 var(--font);
  color: var(--button-ink);
  background: var(--button);
  border: 0;
  border-radius: var(--radius);
  padding: 16px 24px;
  min-height: 56px;
  text-decoration: none;
  cursor: pointer;
}
.button-quiet {
  color: var(--button);
  background: transparent;
  border: 2px solid var(--button);
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.5em 0;
}
/* The main action on the first screen, right under the lead. */
.cta-top {
  margin: 1em 0 1.25em;
}
.button:hover,
button:hover {
  color: var(--button-ink);
  filter: brightness(1.12);
}
.button-quiet:hover {
  color: var(--button);
}

/* Features on the home page. */
.features {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}
.features li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.features h3 {
  margin: 0 0 4px;
}
.features p {
  margin: 0;
}
.mark {
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--suit-black);
}
.mark.red {
  color: var(--suit-red);
}

/* Suits and example hands. */
.suit {
  font-family: "Segoe UI Symbol", "DejaVu Sans", var(--font);
}
.suit-s,
.suit-c {
  color: var(--suit-black);
}
.suit-h,
.suit-d {
  color: var(--suit-red);
}
.hand {
  margin: 12px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 18px;
  display: inline-block;
  min-width: min(100%, 16rem);
}
.hand figcaption {
  font-weight: 700;
}
.hand .hcp {
  font-weight: 400;
  color: var(--muted);
}
.hand ul {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  font-size: 1.1rem;
}
.hand .suit {
  display: inline-block;
  width: 1.4em;
  font-size: 1.2em;
}
.hand .cards {
  letter-spacing: 0.08em;
}

/* Tables: they scroll inside their box on a narrow screen, the page does not. */
.table-wrap {
  overflow-x: auto;
  margin: 12px 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  background: var(--surface);
  font-size: 0.95rem;
}
caption {
  font-size: 1rem;
}
caption {
  text-align: left;
  font-weight: 700;
  padding: 0 0 6px;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border: 1px solid var(--line);
}
thead th {
  background: var(--notice);
}

/* The sign-up form. */
.signup {
  margin-top: 2.5em;
  background: var(--surface);
  border: 2px solid var(--fox);
  border-radius: var(--radius);
  padding: 4px 20px 16px;
}
.signup h2 {
  margin-top: 0.8em;
}
.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}
.optional {
  font-weight: 400;
  color: var(--muted);
}
input[type="email"],
input[type="text"] {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 2px solid var(--muted);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}
.consent {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
}
.consent input {
  width: 38px;
  height: 38px;
  margin: 0;
  accent-color: var(--button);
  cursor: pointer;
}
/* The whole sentence ticks the box (label for=…), with room to tap. */
.consent label {
  display: block;
  min-height: var(--tap);
  padding-top: 4px;
  cursor: pointer;
}
.trap {
  display: none;
}
.practise {
  margin-top: 2.5em;
}

/* The terms (pages/terms.ts): long words wrap on a phone, the contents a calm list. */
.terms-toc ul {
  list-style: none;
  padding-left: 0;
}
.terms-toc a {
  display: inline-block;
  padding: 6px 0;
}
.terms-section,
.terms-toc {
  overflow-wrap: break-word;
  hyphens: auto;
}
.terms-section {
  scroll-margin-top: 16px;
}
.terms-appendix {
  border-top: 1px solid var(--line);
  margin-top: 2em;
}

/* Bottom. */
.foot {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 16px var(--gutter) 40px;
}
.foot a {
  color: var(--muted);
  display: inline-block;
  padding: 8px 0;
  min-height: var(--tap);
  white-space: nowrap;
}

@media (max-width: 480px) {
  html {
    font-size: var(--text-phone);
  }
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .brand {
    font-size: 1.25rem;
  }
  .menu ul {
    gap: 0 12px;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* "Vragen en antwoorden" on the prices page (the same text as in the app). */
.faq dt {
  font-weight: 700;
  margin-top: 1.1em;
}
.faq dd {
  margin: 0.3em 0 0;
}

/* The fox smiles for a moment after 2, 7 and 12 seconds, then stops; and
   whenever the logo is pointed at or touched. Not for "minder beweging". */
@keyframes fox-smile {
  0%,
  5.6% {
    opacity: 1;
  }
  5.7%,
  47.1% {
    opacity: 0;
  }
  47.2%,
  52.8% {
    opacity: 1;
  }
  52.9%,
  94.2% {
    opacity: 0;
  }
  94.3%,
  99.9% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fox-eyes {
  0%,
  5.6% {
    opacity: 0;
  }
  5.7%,
  47.1% {
    opacity: 1;
  }
  47.2%,
  52.8% {
    opacity: 0;
  }
  52.9%,
  94.2% {
    opacity: 1;
  }
  94.3%,
  99.9% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.brand .fox .fo-smile {
  fill: none;
  stroke: #2b1d14;
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: 0;
  animation: fox-smile 10.6s linear 2s 1 both;
}
.brand .fox .fo-eyes {
  animation: fox-eyes 10.6s linear 2s 1 both;
}
.brand:hover .fox .fo-smile,
.brand:focus-visible .fox .fo-smile,
.brand:active .fox .fo-smile {
  animation: none;
  opacity: 1;
}
.brand:hover .fox .fo-eyes,
.brand:focus-visible .fox .fo-eyes,
.brand:active .fox .fo-eyes {
  animation: none;
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .brand .fox .fo-smile,
  .brand .fox .fo-eyes {
    animation: none;
  }
}
.brand .fox {
  width: 50px;
  height: 40px;
  flex: none;
}
@media (max-width: 480px) {
  .brand .fox {
    width: 44px;
    height: 35px;
  }
}

/* The language switch: a short code per language on a phone, the name on a wider screen. */
.langs ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.langs a {
  color: var(--brand-ink);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  min-width: var(--tap);
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
}
.langs a:hover {
  text-decoration: underline;
}
.langs a[aria-current] {
  border-color: var(--brand-muted);
  font-weight: 700;
}
.langs .lang-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (min-width: 760px) {
  .langs .lang-code {
    display: none;
  }
  .langs .lang-name {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }
}
@media (max-width: 480px) {
  .langs a {
    padding: 0 4px;
    min-width: 40px;
  }
}

/* "Diese Seite gibt es auch auf Deutsch": only shown by /static/lang-hint.js. */
.lang-hint[hidden] {
  display: none;
}
.lang-hint {
  background: var(--notice);
  border-bottom: 1px solid var(--line);
}
.lang-hint-inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 6px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
}
.lang-hint p {
  margin: 0;
  font-weight: 700;
}
.lang-hint a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}
.lang-hint-close {
  font: inherit;
  font-size: 0.9rem;
  min-height: var(--tap);
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
