@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 look (apps/web, frame.css): the
 * dark green bar with the fox and white buttons, the photo of the bridge
 * table under it, the framed "free board" bar, and the text as calm white
 * cards on the light ground. Every colour and size is a token here, with the
 * app's values (styles.css). Large type and calm colours for older players;
 * no JavaScript.
 */
:root {
  --bg: #f4f3ee;
  --surface: #ffffff;
  --ink: #15201a;
  --muted: #4f5a55;
  --line: #d6d7cc;
  /* The app's bar and its soft text. */
  --brand-bg: #163a2c;
  --brand-ink: #ffffff;
  --brand-muted: #d5e3da;
  /* The app's headings (navy) and its light green tiles. */
  --head: #1b2d4a;
  --tile: #e7efe9;
  --fox: #e2671a;
  /* The fox's orange a shade lighter, for small text on the bar (≥ 4.5:1). */
  --fox-light: #f4a259;
  --accent: #163a2c;
  --button: #163a2c;
  --button-ink: #ffffff;
  --notice: #e7efe9;
  --suit-red: #c0262d;
  --suit-black: #15201a;
  --focus: #1b5fc1;
  /* The app's corners: 14px for cards, 10px for buttons. */
  --radius: 14px;
  --radius-button: 10px;
  --shadow: 0 1px 3px rgb(20 40 30 / 0.08);
  --font: "Atkinson Hyperlegible", "Segoe UI", Verdana, Arial, sans-serif;
  --font-heading: "Alegreya", Georgia, "Times New Roman", serif;
  /* The body text: 18px, as in the app. Every other size is in rem, small
     text never smaller than 16px. */
  --text: 18px;
  /* One column for the bar, the heading, the cards and the footer (the
     app's text pages: 46rem, about 70 characters a line in a card). */
  --measure: 46rem;
  --gutter: 20px;
  /* The smallest tap target. */
  --tap: 44px;
  /* Hover ("A+", the owner's choice, as in the app): a green ring, the dark
     green a shade lighter, a light green tint behind white buttons. */
  --hover-ring: #3fae74;
  --brand-hover: #24543f;
  --hover-tint: #eef5f0;
  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(--head);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--brand-bg);
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--head);
  margin: 1.5em 0 0.45em;
}
h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1.6rem;
}
h3 {
  font-size: 1.3rem;
}
.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-button);
  z-index: 2;
}
.skip:focus {
  top: 8px;
}

/* The bar: the app's start page's header (frame.css .d-header), the same
   on every page. The fox and "VosBridge" on the left, aligned with the app's
   1200 px content; "Weergave" and "Inloggen" as white buttons on the right,
   then "? Hulp" (the app keeps it in that corner). The site's menu is in
   the footer. */
.top {
  background: var(--brand-bg);
  color: var(--brand-ink);
}
.top-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px max(24px, calc((100% - 1200px) / 2 + 20px));
}
.hero-inner,
.page-body,
.foot-inner {
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: var(--brand-ink);
  text-decoration: none;
  font: 700 1.667rem/1 var(--font-heading);
}
.brand .vos {
  color: var(--fox);
}
.top a.brand:hover {
  color: var(--brand-ink);
}
.top-actions {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
/* "Weergave", "Inloggen" and "Hulp": the app's white top buttons. */
.top-display,
.top-signin,
.top-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 1.1em;
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-button);
  font: 700 0.944rem/1.2 var(--font);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.top-display[hidden] {
  display: none;
}
.top-help {
  margin-left: 12px;
}
.help-mark {
  display: inline-grid;
  place-items: center;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface);
  font-weight: 800;
}

/* "Weergave": the app's settings dialog, with the text size and the
   languages (display.js; without JavaScript the button stays hidden). */
dialog.display {
  border: none;
  border-radius: var(--radius-button);
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  width: min(28rem, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
}
dialog.display::backdrop {
  background: rgb(0 0 0 / 0.45);
}
dialog.display form {
  display: grid;
  gap: 14px;
  padding: 20px;
}
dialog.display h2 {
  margin: 0;
  font-size: 1.6rem;
}
dialog.display fieldset,
dialog.display .langs {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  padding: 6px 14px 10px;
}
dialog.display legend,
dialog.display .langs h3 {
  font: 700 1rem/1.3 var(--font);
  color: var(--ink);
  padding: 0 4px;
  margin: 0;
}
dialog.display .langs h3 {
  padding: 6px 0 2px;
}
.toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  cursor: pointer;
}
.toggle input {
  width: 26px;
  height: 26px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--brand-bg);
}
dialog.display .langs ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
}
dialog.display .langs a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}
dialog.display .langs a[aria-current] {
  font-weight: 700;
  text-decoration: none;
}
.display-done .button {
  width: 100%;
}

/* The band with the heading: the app's photo of the bridge table (dark on
   the left, so the white heading reads; the cards and the bidding box on the
   right). */
.hero {
  color: #fff;
  display: flex;
  align-items: center;
}
.hero-inner {
  width: 100%;
}
.hero h1 {
  color: #fff;
  margin: 0;
  max-width: 30rem;
  font-size: 2rem;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgb(0 0 0 / 0.35);
}
.hero-photo {
  min-height: 210px;
  padding: 18px 0 22px;
  background:
    linear-gradient(90deg, rgb(25 15 8 / 0.8) 0%, rgb(25 15 8 / 0.5) 45%, rgb(25 15 8 / 0.05) 75%),
    image-set(
        url("/static/img/hero-1200.417ab76b8e.webp") type("image/webp"),
        url("/static/img/hero-1200.7a24f65332.jpg") type("image/jpeg")
      )
      right center / cover no-repeat,
    var(--brand-bg);
}
@media (min-width: 1400px) {
  .hero-photo {
    background:
      linear-gradient(
        90deg,
        rgb(25 15 8 / 0.8) 0%,
        rgb(25 15 8 / 0.5) 45%,
        rgb(25 15 8 / 0.05) 75%
      ),
      image-set(
          url("/static/img/hero-2000.3b5d2ec96e.webp") type("image/webp"),
          url("/static/img/hero-2000.b72f6e64b4.jpg") type("image/jpeg")
        )
        right center / cover no-repeat,
      var(--brand-bg);
  }
}
/* The terms, privacy and status pages: a calm light green band, no photo. */
.hero-plain {
  background: var(--tile);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  padding: 8px 0 20px;
}
.hero-plain h1 {
  color: var(--head);
  text-shadow: none;
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
  padding: 0;
  margin: 0 0 2px;
  font-size: 1rem;
}
.crumbs li {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}
.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}
.hero-photo .crumbs,
.hero-photo .crumbs a {
  color: #fff;
  text-shadow: 0 1px 4px rgb(0 0 0 / 0.5);
}
.hero-plain .crumbs {
  color: var(--muted);
}
.crumbs li + li::before {
  content: "›";
  margin-right: 8px;
}

/* The page under the band: the free-board bar, then the cards. */
.page-body {
  display: grid;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 40px;
}
/* The app's framed bar: every day the first Spel van de dag free. */
.freebar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  background: var(--surface);
  border: 2px solid var(--brand-bg);
  border-radius: var(--radius);
  padding: 14px 18px;
}
.freebar p {
  margin: 0;
  flex: 1 1 100%;
  font-weight: 700;
  color: var(--head);
  line-height: 1.4;
}
.freebar .button {
  flex: 1 1 auto;
  text-align: center;
}
/* The bar has the trial's button already: no second one right under it. */
.freebar ~ .card .cta-top {
  display: none;
}
.freebar ~ .card > :has(+ .cta-top:last-child) {
  margin-bottom: 0;
}
/* The text: the app's calm white cards. */
.card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 24px 22px;
}
.card > :first-child,
.card > section > :first-child,
.card > nav > :first-child {
  margin-top: 0;
}
.card > :last-child,
.card > section > :last-child {
  margin-bottom: 0;
}
.lead,
.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-button);
  padding: 14px 18px;
}
.small,
.byline {
  font-size: max(16px, 0.9rem);
  color: var(--muted);
}
.byline {
  margin-top: 2em;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.card > .byline:first-child {
  border-top: 0;
  padding-top: 0;
}
/* The app's buttons: green with white letters, or white with a green rim. */
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 700 1rem/1.25 var(--font);
  color: var(--button-ink);
  background: var(--button);
  border: 2px solid var(--button);
  border-radius: var(--radius-button);
  padding: 10px 20px;
  min-height: 52px;
  text-decoration: none;
  cursor: pointer;
}
.button-quiet {
  color: var(--head);
  background: var(--surface);
  border-color: var(--brand-bg);
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.4em 0;
}
/* Prices: the buttons per plan right under the trial's button. */
.cta + .plan-buttons {
  margin-top: 0;
}
.cta-top {
  margin: 1em 0 1.25em;
}

/* Features on the home page: the app's tiles. */
.features {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}
.features li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 12px;
  background: var(--bg);
  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);
}

/* A link in a list ("Meer uitleg", the systems on the front page) or in a
   step of "Zo begint u": at least 44 px high to tap, the extra height split
   above and below the words. */
.page ul > li > a,
.steps h3 a {
  display: inline-block;
  padding-block: 10px;
  padding-block: max(0px, calc((var(--tap) - 1lh) / 2));
}

/* 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);
}
.hero-photo .suit-s,
.hero-photo .suit-c {
  color: #fff;
}
.hero-photo .suit-h,
.hero-photo .suit-d {
  color: #ffa29a;
}
.hand {
  margin: 12px 12px 12px 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 18px;
  display: inline-block;
  min-width: min(100%, 16rem);
  vertical-align: top;
}
.hand figcaption {
  font-weight: 700;
  color: var(--head);
}
.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;
  border-radius: var(--radius-button);
}
table {
  border-collapse: collapse;
  width: 100%;
  background: var(--surface);
  font-size: 1rem;
}
caption {
  font-size: 1rem;
  text-align: left;
  font-weight: 700;
  color: var(--head);
  padding: 0 0 6px;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border: 1px solid var(--line);
}
thead th {
  background: var(--tile);
  color: var(--head);
}

/* The sign-up form. */
.signup {
  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-button);
  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;
}

/* The terms (pages/terms.ts): long words wrap on a phone; the contents as
   the app's large link buttons. */
.terms-toc ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 8px;
}
.terms-toc li {
  display: flex;
}
.page .terms-toc ul > li > a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 6px 14px;
  background: var(--bg);
  color: var(--head);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-button);
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}
/* As in the app's contents (LegalPage): a ↓ at the right. */
.page .terms-toc ul > li > a::after {
  content: "↓";
  margin-left: auto;
  padding-left: 8px;
  color: var(--muted);
}
.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: the app's footer, the bar's green across the whole width. */
.foot {
  background: var(--brand-bg);
  color: var(--brand-muted);
  font-size: max(16px, 0.9rem);
}
.foot-inner {
  padding-top: 18px;
  padding-bottom: 32px;
}
.foot p {
  margin: 0.4rem 0;
}
.foot a {
  color: #fff;
  display: inline-block;
  padding: 8px 0;
  min-height: var(--tap);
  white-space: nowrap;
}
.foot a:hover {
  color: var(--fox-light);
}
/* The site's pages (the menu that was in the header): a clear list of
   large links, two or more columns, above the company and legal lines. */
.foot-menu ul {
  list-style: none;
  margin: 0 0 12px;
  padding: 0 0 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr));
  gap: 0 20px;
  border-bottom: 1px solid rgb(255 255 255 / 0.18);
}
.foot-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 4px 0;
  font-size: 1rem;
  font-weight: 700;
  white-space: normal;
  text-decoration: none;
}
.foot-menu a::before {
  content: "›";
  margin-right: 10px;
  color: var(--fox-light);
}
.foot-menu a:hover,
.foot-menu a[aria-current="page"] {
  text-decoration: underline;
}
.foot-menu a[aria-current="page"] {
  color: var(--fox-light);
}

/* "Vragen en antwoorden" on the prices page (the same text as in the app). */
.faq dt {
  font-weight: 700;
  color: var(--head);
  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: 55px;
  height: 44px;
  flex: none;
}

/* "Via Bridgeclub Veghel speelt u 30 dagen gratis": only shown by /static/via.js. */
.via-hint[hidden] {
  display: none;
}
.via-hint {
  background: #fbf1e4;
  border-bottom: 1px solid var(--line);
}
.via-hint p {
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 10px var(--gutter);
  font-size: 1.1em;
  font-weight: 700;
}

/* "Diese Seite gibt es auch auf Deutsch": only shown by /static/lang-hint.js. */
.lang-hint[hidden] {
  display: none;
}
.lang-hint {
  background: #fbf1e4;
  border-bottom: 1px solid var(--line);
}
.lang-hint-inner {
  max-width: calc(var(--measure) + 2 * var(--gutter));
  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: max(16px, 0.9rem);
  min-height: var(--tap);
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

/* The languages at the foot, by their own names. */
.foot-langs p {
  margin: 0.6rem 0 0;
}
.foot-langs a[aria-current] {
  font-weight: 700;
  text-decoration: none;
}

/* Phone (the app's 760px step): as the app, the name on the first row with
   the round "?" on its right, "Weergave" and "Inloggen" side by side below,
   sharing the width; the photo a lower band (its calm left part, so the
   heading never runs over the bidding box); the cards closer to the edge. */
@media (max-width: 760px) {
  :root {
    --gutter: 14px;
  }
  .top-inner {
    flex-wrap: wrap;
    gap: 8px 6px;
    padding: 8px 14px 10px;
  }
  .brand {
    flex: 1 0 auto;
  }
  .top-actions {
    display: contents;
  }
  .top-help {
    order: 1;
    margin-left: 0;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
  }
  .help-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .top-display,
  .top-signin {
    order: 2;
    /* Too wide for the name's row: a row of their own, shared. */
    flex: 1 1 45%;
    padding: 0 8px;
  }
  .hero-photo {
    min-height: 130px;
    padding: 12px 0 16px;
    background-position:
      0 0,
      left center,
      0 0;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .page-body {
    gap: 12px;
    padding-top: 12px;
  }
  .freebar {
    padding: 12px 14px;
  }
  .card {
    padding: 16px 16px 18px;
  }
  h2 {
    font-size: 1.45rem;
  }
  .hand {
    margin-right: 0;
  }
}
/* "Weergave" → "Groot" or "Extra groot": the whole page scales, as the
   app's text size (1.15 and 1.3). */
:root[data-text-size="large"] {
  font-size: calc(var(--text) * 1.15);
}
:root[data-text-size="xlarge"] {
  font-size: calc(var(--text) * 1.3);
}

/* Hover ("A+", the owner's choice): only with a mouse, so a tablet never
   keeps a hover after a tap. Buttons get the green ring (the dark green ones
   a shade lighter, the white ones a light green tint); the contents' link
   tiles also lift a little and their arrow moves. No movement for "minder
   beweging". */
@media (hover: hover) and (pointer: fine) {
  .button,
  button,
  .top-display,
  .top-help,
  .top-signin,
  .page .terms-toc ul > li > a,
  .page .terms-toc ul > li > a::after {
    transition:
      background-color 0.15s ease,
      border-color 0.15s ease,
      box-shadow 0.2s ease,
      transform 0.15s ease;
  }
  .button:hover,
  button:hover,
  .top .top-display:hover,
  .top a.top-help:hover,
  .top a.top-signin:hover {
    border-color: var(--hover-ring);
    box-shadow: 0 0 0 2px var(--hover-ring);
  }
  .button:hover,
  button:hover {
    color: var(--button-ink);
    background: var(--brand-hover);
  }
  .button-quiet:hover,
  .lang-hint-close:hover,
  .top .top-display:hover,
  .top a.top-help:hover,
  .top a.top-signin:hover {
    color: var(--head);
    background: var(--hover-tint);
  }
  .page .terms-toc ul > li > a:hover {
    transform: translateY(-2px);
    border-color: var(--hover-ring);
    box-shadow:
      0 0 0 2px var(--hover-ring),
      0 4px 14px rgb(22 58 44 / 0.16);
  }
  /* The contents jump down the page: the app's ↓ moves down, not sideways. */
  .page .terms-toc ul > li > a:hover::after {
    transform: translateY(3px);
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .button,
  button,
  .top-display,
  .top-help,
  .top-signin,
  .page .terms-toc ul > li > a,
  .page .terms-toc ul > li > a::after {
    transition: none;
  }
  .page .terms-toc ul > li > a:hover,
  .page .terms-toc ul > li > a:hover::after {
    transform: none;
  }
}
