/*
 * Yo Bro — yo-bro.eu
 * Colours from the app's brand kit. Unbounded (SIL OFL 1.1, see fonts/OFL.txt) is
 * self-hosted from yo-bro/brand/fonts with the GPOS table and glyph names removed
 * to save 500 KB; glyphs, outlines and the weight axis are untouched.
 *
 * Unbounded has ten Greek letters (the maths ones), not a Greek alphabet. Its
 * unicode-range leaves Greek out, so a Greek word never mixes those ten with a
 * fallback, and Greek pages set their headings in a system font (see :lang(el)).
 */

@font-face {
  font-family: "Unbounded";
  src: url("fonts/unbounded-wght.ttf?v=20260917") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-036F, U+0400-1EFF, U+2000-10FFFF;
}

:root {
  --violet: #5b3df5;
  --violet-deep: #3a24aa;
  --violet-soft: #ebe7ff;
  --yellow: #ffd23f;
  --ink: #1c1633;
  --bg: #f4f2ff;
  --surface: #ffffff;
  --text: #1c1633;
  --muted: #544d6e;
  --line: #e2ddfb;
  --link: #5b3df5;
  --chip-bg: #ebe7ff;
  --chip-text: #3a24aa;
  --max: 1080px;
  --narrow: 720px;
  --radius: 20px;
  --display: "Unbounded", "Arial Black", "Helvetica Neue", system-ui, sans-serif;
  /* The wordmark and the company name stay in Unbounded in every language. */
  --brand: "Unbounded", "Arial Black", "Helvetica Neue", system-ui, sans-serif;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color-scheme: light dark;
}

/* Headings in Greek: system fonts that carry the whole Greek alphabet. */
:lang(el) {
  --display: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141026;
    --surface: #1f1a38;
    --text: #f4f2ff;
    --muted: #bdb6da;
    --line: #342d58;
    --link: #b3a8ff;
    --chip-bg: #2d2560;
    --chip-text: #ddd8ff;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Unbounded is wide: "Privacyverklaring" must still fit a 375px screen. */
h1 {
  font-size: clamp(1.75rem, 7vw, 2.75rem);
}

h2 {
  font-size: clamp(1.375rem, 4.5vw, 1.75rem);
}

h3 {
  font-size: 1.125rem;
}

p,
ul,
ol,
pre {
  margin: 0 0 1em;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--chip-bg);
  color: var(--chip-text);
  padding: 0.1em 0.35em;
  border-radius: 6px;
}

pre {
  overflow-x: auto;
  padding: 1rem 1.125rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  line-height: 1.5;
}

pre code {
  background: none;
  color: var(--text);
  padding: 0;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

.narrow {
  max-width: var(--narrow);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
}

.skip-link:focus {
  top: 12px;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "brand language" "nav nav";
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 64px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--brand);
  font-weight: 800;
  font-size: 1.125rem;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.site-nav {
  grid-area: nav;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

.site-nav a,
.language-options a {
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-nav a[aria-current="true"],
.language-options a:hover,
.language-options a[aria-current="page"] {
  background: var(--chip-bg);
  color: var(--chip-text);
}

.language-menu {
  grid-area: language;
  justify-self: end;
  position: relative;
  margin-left: 4px;
}

.language-menu summary {
  cursor: pointer;
  padding: 0.4rem 0.7rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-weight: 700;
  list-style-position: inside;
}

.language-options {
  position: absolute;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 2px;
  width: min(85vw, 330px);
  max-height: 55vh;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  box-shadow: 0 12px 32px rgba(28, 22, 51, 0.18);
}

.language-options a {
  display: block;
  border-radius: 8px;
}

/* Hero */

.hero {
  background: var(--violet);
  color: #fff;
  padding: 40px 0 48px;
}

.hero-inner {
  display: grid;
  gap: 24px;
  align-items: center;
}

.hero-icon {
  width: 112px;
  border-radius: 26px;
  transform: rotate(-4deg);
  box-shadow: 0 12px 32px rgba(28, 22, 51, 0.35);
}

.hero h1 {
  font-family: var(--brand);
  font-size: clamp(2.75rem, 12vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 0.15em;
}

.tagline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.25rem, 4.6vw, 1.75rem);
  line-height: 1.3;
  color: var(--yellow);
  margin-bottom: 0.75em;
}

.lede {
  font-size: 1.125rem;
  max-width: 34em;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 8px;
}

.store {
  display: inline-flex;
  flex-direction: column;
  min-width: 150px;
  padding: 0.55rem 1.1rem 0.6rem;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
}

.store small {
  font-weight: 500;
  font-size: 0.75rem;
  opacity: 0.85;
}

.store.is-soon {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.store.is-soon small {
  color: var(--yellow);
  opacity: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.stores-note {
  font-size: 0.9375rem;
  opacity: 0.9;
}

.promise {
  display: inline-block;
  margin: 8px 0 0;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9375rem;
}

.core-note {
  max-width: 36em;
  margin-top: 16px;
  line-height: 1.6;
  color: #f4f2ff;
}

.hero-gallery-link {
  display: block;
  width: fit-content;
  margin-top: 14px;
  color: #fff;
  font-weight: 700;
}

.home-features-layout {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.feature-cards {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 20px;
}

.feature-card {
  min-width: 0;
  min-height: 160px;
}

.feature-card p {
  margin-bottom: 0;
}

.feature-preview {
  display: none;
  min-width: 0;
  padding: 24px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

.feature-preview img {
  width: min(100%, 240px);
  margin: 0 auto 20px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(28, 22, 51, 0.18);
}

.feature-preview h3 {
  margin-bottom: 0.3em;
}

.feature-preview a {
  font-weight: 700;
}

/* Download pages share the site's navigation and visual language. */

.download-card {
  padding: clamp(24px, 5vw, 44px);
  border: 2px solid var(--violet);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(28, 22, 51, 0.08);
}

.download-icon {
  margin-bottom: 20px;
  border-radius: 16px;
}

.download-card .intro {
  color: var(--muted);
}

.download-options {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0;
}

.download-option {
  display: block;
  min-width: 210px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--violet);
  color: #fff;
  font-weight: 750;
  font-size: 1.125rem;
  line-height: 1.3;
  text-decoration: none;
}

.download-option:hover {
  background: var(--violet-deep);
}

.download-option small {
  display: block;
  font-weight: 500;
  font-size: 0.8rem;
}

.download-option.is-soon {
  border: 2px solid var(--line);
  background: var(--chip-bg);
  color: var(--muted);
}

/* Topic-based gallery and its accessible image dialog. */

.gallery-section {
  padding-bottom: 48px;
}

.gallery-intro {
  max-width: 56ch;
}

.gallery-language-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.gallery-grid {
  display: grid;
  gap: 20px;
  margin: 24px 0 36px;
}

.gallery-topic {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.gallery-topic-copy p {
  color: var(--muted);
}

.gallery-images {
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 14px;
}

.gallery-images figure {
  flex: 0 1 190px;
  min-width: 0;
  margin: 0;
}

.gallery-images a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(28, 22, 51, 0.18);
}

.gallery-images img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.gallery-images figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

.gallery-modal {
  width: min(94vw, 610px);
  max-height: 94vh;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.4);
}

.gallery-modal::backdrop {
  background: rgba(12, 9, 26, 0.82);
}

.gallery-modal form {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.gallery-modal-close {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--chip-text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.gallery-modal figure {
  margin: 0;
  text-align: center;
}

.gallery-modal img {
  width: auto;
  max-width: 100%;
  max-height: calc(94vh - 120px);
  margin: 0 auto;
  object-fit: contain;
  border-radius: 10px;
}

.gallery-modal figcaption {
  margin-top: 10px;
  font-weight: 700;
}

/* Sections and cards */

.section {
  padding: 48px 0 8px;
}

.cards {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.card {
  position: relative;
  padding: 28px 20px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card p:last-child,
.card ul:last-child,
.card ol:last-child {
  margin-bottom: 0;
}

.card p {
  color: var(--muted);
}

.tag {
  position: absolute;
  top: -12px;
  left: 16px;
  padding: 0.2rem 0.65rem;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.75rem;
  transform: rotate(-3deg);
}

.chips,
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.chips li,
.steps li {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--chip-text);
  font-weight: 600;
  font-size: 0.9375rem;
}

.steps li {
  position: relative;
}

.steps li + li {
  margin-left: 18px;
}

.steps li + li::before {
  content: "→";
  position: absolute;
  left: -20px;
  color: var(--muted);
  font-weight: 400;
}

.animals {
  font-size: 1.75rem;
  letter-spacing: 0.15em;
}

.price {
  padding: 28px 20px;
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--ink);
  margin-bottom: 40px;
}

.price p {
  max-width: 40em;
  font-size: 1.125rem;
}

.price a {
  color: var(--ink);
  font-weight: 700;
}

.price .price-help {
  font-size: 1rem;
  margin-bottom: 0;
}

/* Support and privacy */

.page {
  padding: 40px 0 48px;
}

.intro {
  font-size: 1.125rem;
}

.updated {
  color: var(--muted);
  font-weight: 600;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.button:hover {
  background: var(--violet-deep);
}

.contact {
  margin-bottom: 40px;
}

.page h2 {
  margin-top: 1.75em;
}

.faq section {
  padding: 20px 0 4px;
  border-top: 1px solid var(--line);
}

.faq h3 {
  font-size: 1.0625rem;
}

.faq ul {
  padding-left: 1.25em;
}

.summary {
  margin: 24px 0 8px;
  padding: 20px 20px 4px;
  border-radius: var(--radius);
  background: var(--chip-bg);
}

.summary h2 {
  margin-top: 0;
  font-size: 1.125rem;
}

.summary ul {
  padding-left: 1.25em;
}

.legal-page h2 {
  font-size: 1.25rem;
}

.aside {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.button-quiet {
  background: transparent;
  color: var(--link);
  box-shadow: inset 0 0 0 2px var(--line);
}

.button-quiet:hover {
  background: var(--chip-bg);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.small {
  font-size: 0.9375rem;
  color: var(--muted);
}

/* Call-outs (home and schools) */

.callout {
  display: grid;
  gap: 16px;
  align-items: center;
  margin: 8px 0 16px;
  padding: 24px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 2px solid var(--violet);
}

.callout h2 {
  margin-top: 0;
}

.callout p {
  margin-bottom: 0;
}

.callout .button {
  justify-self: start;
}

/* Schools */

.eyebrow {
  margin-bottom: 0.25em;
  color: var(--link);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.875rem;
}

.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 240px));
  gap: 16px;
  margin: 32px 0 8px;
}

.shots figure {
  margin: 0;
}

.shots img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(28, 22, 51, 0.14);
}

.shots figcaption {
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--muted);
}

.points {
  padding-left: 1.25em;
}

.points li + li {
  margin-top: 0.5em;
}

.note {
  margin: 0 0 1em;
  padding: 16px 18px 2px;
  border-left: 4px solid var(--yellow);
  border-radius: 4px 12px 12px 4px;
  background: var(--surface);
}

.steps-list {
  counter-reset: step;
  padding: 0;
  list-style: none;
}

.steps-list > li {
  counter-increment: step;
  position: relative;
  padding: 2px 0 0 48px;
  min-height: 36px;
}

.steps-list > li + li {
  margin-top: 16px;
}

.steps-list > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  line-height: 34px;
  text-align: center;
}

.on-light .stores {
  margin: 12px 0 4px;
}

.on-light .store.is-soon {
  border-color: var(--line);
  color: var(--text);
}

.on-light .store.is-soon small {
  color: var(--link);
}

.on-light .stores-note {
  margin-bottom: 0;
  color: var(--muted);
  opacity: 1;
}

.leaflet {
  margin: 8px 0 32px;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: #d8d3f0;
  padding: 32px 0 40px;
  font-size: 0.9375rem;
}

.site-footer a {
  color: #fff;
}

.footer-inner {
  display: grid;
  gap: 16px;
}

.made-by {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.3;
}

.made-by span {
  color: #d8d3f0;
  font-size: 0.8125rem;
}

.made-by strong {
  font-family: var(--brand);
  font-weight: 800;
  font-size: 1.125rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.legal {
  margin: 0;
  color: #b9b2d8;
  overflow-wrap: anywhere;
}

/* Wider screens */

@media (min-width: 640px) {
  .feature-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wrap {
    padding: 0 24px;
  }

  .header-inner {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .site-nav {
    gap: 6px;
  }

  .site-nav a,
  .language-options a {
    padding: 0.45rem 0.85rem;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 20px;
  }

  .price {
    padding: 36px 40px;
  }

  .callout {
    grid-template-columns: 1fr auto;
    gap: 24px;
    padding: 28px 32px;
  }

  .callout .button {
    justify-self: end;
  }

  .footer-inner {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .footer-nav {
    justify-content: flex-end;
  }

  .legal {
    grid-column: 1 / -1;
  }
}

@media (min-width: 880px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand nav language";
    padding-top: 0;
    padding-bottom: 0;
  }

  .site-nav {
    justify-content: flex-end;
  }

  .home-features-layout {
    grid-template-columns: minmax(0, 2fr) minmax(240px, 0.9fr);
    align-items: stretch;
  }

  .feature-preview {
    display: block;
  }

  .hero {
    padding: 72px 0 80px;
  }

  .hero-inner {
    grid-template-columns: 1fr auto;
    gap: 48px;
  }

  .hero-icon {
    order: 2;
    width: 280px;
    border-radius: 64px;
    transform: rotate(-6deg);
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-wide {
    grid-column: span 2;
  }
}
/* Song lessons use the shared site colours and cards. */
.lesson-page { padding-top: clamp(2rem, 6vw, 4rem); padding-bottom: 5rem; }
.lesson-preview-label { display: inline-block; padding: .2rem .7rem; margin-bottom: 1rem; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.lesson-lead { max-width: 42rem; color: var(--muted); font-size: 1.15rem; }
.lesson-page h2 { margin-top: 2.25rem; }
.lesson-language-grid { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0 2rem; }
.lesson-language { display: inline-flex; align-items: center; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 700; }
.lesson-language.is-current { background: var(--violet); color: #fff; border-color: var(--violet); }
.lesson-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; margin: 1.5rem 0 2rem; }
.lesson-filters label { display: grid; gap: .35rem; min-width: 13rem; font-weight: 700; }
.lesson-filters select { width: 100%; min-height: 2.8rem; padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; }
.lesson-filters .button { border: 0; cursor: pointer; font: inherit; }
.lesson-song-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.lesson-song-card { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.lesson-song-card h3 { margin-bottom: .25rem; }
.lesson-song-card p:not(.lesson-category) { color: var(--muted); }
.lesson-song-card a { font-weight: 800; }
.lesson-category { margin-bottom: .6rem; color: var(--violet); font-size: .8rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.lesson-back { display: block; width: fit-content; margin-bottom: 1.4rem; font-weight: 700; }
.lesson-song-heading { max-width: 45rem; }
.lesson-song-heading h1 { margin-bottom: .15rem; }
.lesson-artist { margin-bottom: 1.5rem; color: var(--muted); font-size: 1.4rem; }
.lesson-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 340px); align-items: start; gap: clamp(1.5rem, 5vw, 4rem); }
.lesson-words { padding: 0; list-style: none; counter-reset: lesson; border-top: 1px solid var(--line); }
.lesson-words li { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: .7rem .9rem; border-bottom: 1px solid var(--line); background: var(--surface); }
.lesson-words li:nth-child(even) { background: var(--bg); }
.lesson-words li span:first-child { font-weight: 750; }
.lesson-import { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: center; }
.lesson-import h2 { margin: 0 0 .9rem; font-size: 1.2rem; }
.lesson-qr-frame { border-radius: 28px; overflow: hidden; }
.lesson-qr-frame img { display: block; width: 100%; height: auto; }
.lesson-pending { max-width: 36rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
@media (max-width: 700px) { .lesson-content { grid-template-columns: 1fr; } .lesson-import { max-width: 360px; } }

/* Research sources: scoped to the language of this page. */
.sources-page { padding-block: clamp(2rem, 6vw, 4rem) 4rem; }
.sources-heading { max-width: 48rem; }
.sources-heading h1 { hyphens: none; font-size: clamp(1.9rem, 4.6vw, 3.2rem); overflow-wrap: anywhere; }
.sources-eyebrow { color: var(--link); font-weight: 800; margin-bottom: 1rem; }
.sources-lead { font-size: 1.15rem; color: var(--muted); }
.sources-method { max-width: 52rem; padding: 1.5rem; margin-block: 2rem 3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.sources-method h2 { margin-top: 0; font-size: 1.25rem; }
.sources-method p { margin-bottom: 0; color: var(--muted); }
.sources-section { margin-block: 3rem; }
.sources-section h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); overflow-wrap: anywhere; }
.sources-section-lead { max-width: 47rem; color: var(--muted); }
.sources-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.source-card { min-width: 0; padding: clamp(1.1rem, 3vw, 1.75rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; overflow-wrap: anywhere; }
.source-publisher { color: var(--link); font-size: 1.05rem; line-height: 1.5; }
.source-publisher img { display: block; object-fit: contain; object-position: left; margin-bottom: .75rem; }
.source-card h3 { font-size: 1.1rem; margin-block: .75rem 1rem; }
.source-details { margin: 0 0 1.25rem; }
.source-details dt { font-size: .85rem; font-weight: 800; margin-top: 1rem; }
.source-details dt:first-child { margin-top: 0; }
.source-details dd { margin: .3rem 0 0; color: var(--muted); font-size: .95rem; }
.source-card-footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.source-card-footer p { font-size: .8rem; color: var(--muted); margin-bottom: .75rem; }
.source-card-footer a { font-weight: 750; }
.sources-note { max-width: 52rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

/* Practise: the hub «Oefenen», with a card per thing to practise. */
.practise-page { padding-block: clamp(2rem, 6vw, 4rem) 5rem; }
.practise-heading { max-width: 42rem; }
.practise-lead { font-size: 1.15rem; color: var(--muted); }
.practise-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.practise-grid > li { display: flex; min-width: 0; }
.practise-card { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 1.4rem 1.4rem 1.1rem; border: 1px solid var(--line); border-top: 6px solid var(--violet); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; }
a.practise-card:hover { border-color: var(--violet); box-shadow: 0 8px 24px rgba(28, 22, 51, .12); }
/* Unbounded is wide: "Werkwoorden" must fit a quarter of the page whole. */
.practise-card h2 { margin-bottom: .35rem; font-size: clamp(1.15rem, 2.2vw, 1.3rem); hyphens: manual; }
.practise-card p { margin-bottom: 1rem; color: var(--muted); }
.practise-go { margin-top: auto; color: var(--link); font-size: 1.4rem; font-weight: 800; line-height: 1; }
.practise-card.is-soon { border: 2px dashed var(--line); background: transparent; }
.practise-card.is-soon h2 { color: var(--muted); }

/* Worksheets below the hub: a prototype (noindex). */
.sheets-page { padding-block: clamp(1.5rem, 5vw, 3rem) 4rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; font-size: .95rem; font-weight: 700; }
.breadcrumb li + li::before { content: "›"; margin-right: .5rem; color: var(--muted); }
.breadcrumb [aria-current] { color: var(--muted); }
.sheets-heading { max-width: 48rem; }
.sheets-heading h1 { hyphens: none; font-size: clamp(1.9rem, 4.6vw, 3.2rem); overflow-wrap: anywhere; }
.sheets-lead { font-size: 1.15rem; color: var(--muted); }
.sheet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.sheet-card { display: flex; flex-direction: column; min-width: 0; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.sheet-card h2 { margin: 0 0 .25rem; font-size: 1.15rem; overflow-wrap: anywhere; }
.sheet-subtitle { color: var(--muted); }
.sheet-number { margin-bottom: .6rem; color: var(--violet); font-size: .8rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.sheet-card > .sheet-links { margin: auto 0 0; }
.sheet-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.sheet-links a { padding: .25rem .65rem; border: 1px solid var(--violet); border-radius: 999px; background: var(--bg); color: var(--link); font-size: .85rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.sheet-links a.sheet-answers { border-color: var(--line); color: var(--muted); font-weight: 650; }
.sheet-links a:hover { background: var(--chip-bg); color: var(--chip-text); }
.sheet-filter { display: grid; gap: .35rem; max-width: 20rem; margin: 2rem 0 0; font-weight: 700; }
.sheet-filter input { min-height: 2.8rem; padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; font-weight: 400; }
.sheet-verb { margin-bottom: .75rem; }
.sheet-times { margin: 0; padding: 0; list-style: none; }
.sheet-times > li { display: grid; gap: .35rem; padding: .6rem 0; border-top: 1px solid var(--line); }
.sheet-time { font-weight: 750; }
.sheet-filter[hidden], .sheet-verbs > li[hidden], .sheet-no-match[hidden] { display: none; }
.sheet-no-match { margin-top: 1rem; color: var(--muted); }
