/* لمّة: the website wears the game. The arena (blue against orange, split by an
   ink seam), white outlined headlines, yellow plaques, cream cards with ink
   edges and a hard shadow, and the red buzzer for the one thing to press.
   Colours and shapes are the app's own (src/screens/setup/cartoon.tsx,
   src/screens/home/HomeStage.tsx). No build step: plain CSS, one file. */

@font-face {
  font-family: 'Marhey';
  font-weight: 400;
  font-display: swap;
  src: url('/info/fonts/marhey-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Marhey';
  font-weight: 500;
  font-display: swap;
  src: url('/info/fonts/marhey-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Marhey';
  font-weight: 700;
  font-display: swap;
  src: url('/info/fonts/marhey-700.woff2') format('woff2');
}

:root {
  --ink: #2c1b18;
  --cream: #fffdf9;
  --paper: #fff4df;
  --yellow: #ffe555;
  --orange: #ff8a1f;
  --orange-ray: #ff983a;
  --blue: #2076c0;
  --blue-ray: #3b86c7;
  --red: #e23b2e;
  --red-dark: #b82a20;
  --green: #2f8a3b;
  --muted: #6b5752;
  --edge: 3px solid var(--ink);
  --drop: 0 6px 0 var(--ink);
  --radius: 22px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --mascot: clamp(96px, 19vw, 250px);
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Marhey', 'Geeza Pro', 'Tahoma', 'Segoe UI', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}

html[lang='en'] body {
  font-family: 'Marhey', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Read out, not shown: captions that repeat what the picture already says. */
.tv figcaption,
.strip figcaption,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--yellow);
  border: var(--edge);
  font-weight: 700;
}
.skip:focus {
  top: 12px;
}

/* A focus ring that shows on cream, on the rays and on the ink footer. */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.site-footer :focus-visible,
.btn-store:focus-visible {
  outline-color: var(--yellow);
}

/* ── The sunburst the home and the arena stand on ── */
.rays-orange {
  background: repeating-conic-gradient(from 0deg at 50% 118%, var(--orange) 0deg 7deg, var(--orange-ray) 7deg 14deg);
}
.rays-blue {
  background: repeating-conic-gradient(from 0deg at 50% 118%, var(--blue) 0deg 7deg, var(--blue-ray) 7deg 14deg);
}

/* ── Type: the game's outlined shout and its yellow plaque ── */
.shout {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: clamp(2.5rem, 8.6vw, 5.4rem);
  line-height: 1.2;
  letter-spacing: 0;
  text-shadow: 0 0.09em 0 var(--ink);
  -webkit-text-stroke: 0.16em var(--ink);
  paint-order: stroke fill;
}
@supports not (paint-order: stroke) {
  .shout {
    -webkit-text-stroke: 0;
    text-shadow: 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 3px 0 var(--ink), 0 -3px 0 var(--ink), 2px 2px 0 var(--ink), -2px -2px 0 var(--ink),
      2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 0 7px 0 var(--ink);
  }
}

.plaque {
  display: inline-block;
  padding: 0.28em 0.9em 0.36em;
  background: var(--yellow);
  border: var(--edge);
  border-radius: 14px;
  box-shadow: 0 5px 0 var(--ink);
  font-weight: 700;
  line-height: 1.5;
  transform: rotate(-2deg);
}

.section-title {
  text-align: center;
  margin-bottom: clamp(26px, 5vw, 44px);
}
.section-title .plaque {
  font-size: clamp(1.35rem, 4.4vw, 2.1rem);
}
.section-title h2 {
  font-size: inherit;
}
.section-title.start {
  text-align: start;
}
.section-title p {
  margin-top: 18px;
  font-size: 1.02rem;
  color: var(--muted);
}
.on-rays .section-title p,
.on-rays .fine,
.cta p,
.page-head > .wrap > p:not(.kicker) {
  color: #fff;
  font-weight: 700;
  -webkit-text-stroke: 0.24em var(--ink);
  paint-order: stroke fill;
}
@supports not (paint-order: stroke) {
  .on-rays .section-title p,
  .on-rays .fine,
  .cta p,
  .page-head > .wrap > p:not(.kicker) {
    -webkit-text-stroke: 0;
    text-shadow: 0 2px 0 var(--ink), 0 -1px 0 var(--ink), 1px 0 0 var(--ink), -1px 0 0 var(--ink);
  }
}

/* ── Things to press ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border: var(--edge);
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 1.08rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(4px);
}
.btn svg {
  width: 24px;
  height: 24px;
  flex: none;
}

/* The buzzer: the red dome from the game's home. */
.btn-buzzer {
  background: var(--red);
  color: #fff;
  box-shadow: 0 7px 0 var(--red-dark), 0 7px 0 3px var(--ink);
  text-shadow: 0 2px 0 var(--red-dark);
}
.btn-buzzer:active {
  box-shadow: 0 3px 0 var(--red-dark), 0 3px 0 3px var(--ink);
}

.btn-store {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 6px 0 #000;
}
.btn-store:active {
  box-shadow: 0 2px 0 #000;
}

.btn-cream {
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--drop);
}
.btn-cream:active {
  box-shadow: 0 2px 0 var(--ink);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: var(--drop);
}
.btn-yellow:active {
  box-shadow: 0 2px 0 var(--ink);
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.95rem;
}
.btn-small.btn-store {
  box-shadow: 0 4px 0 #000;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: var(--edge);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.35rem;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 2.5px solid var(--ink);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  padding: 8px 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}
.site-nav a:hover {
  background: var(--paper);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang {
  padding: 6px 10px;
  border-radius: 10px;
  border: 2px solid var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.4;
}
@media (max-width: 860px) {
  .site-nav {
    display: none;
  }
}

/* ── Hero: the arena ── */
/* The game's own sides: the lions' orange on the left, the falcons' blue on the
   right, an ink seam between them (HomeStage.tsx, the store shots). */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: var(--edge);
  background: repeating-conic-gradient(from 0deg at 74% 118%, var(--blue) 0deg 7deg, var(--blue-ray) 7deg 14deg);
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero::before {
  background: var(--ink);
  clip-path: polygon(0 0, calc(57% + 7px) 0, calc(43% + 7px) 100%, 0 100%);
}
.hero::after {
  background: repeating-conic-gradient(from 0deg at 26% 118%, var(--orange) 0deg 7deg, var(--orange-ray) 7deg 14deg);
  clip-path: polygon(0 0, calc(57% - 7px) 0, calc(43% - 7px) 100%, 0 100%);
}
.hero .wrap {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  padding-block: clamp(26px, 5vw, 52px) clamp(34px, 6vw, 60px);
}
.hero-wordmark {
  width: clamp(150px, 28vw, 250px);
}
.hero h1 {
  margin-top: clamp(10px, 2.2vw, 18px);
}
.hero h1 .plaque {
  font-size: clamp(1rem, 3.6vw, 1.5rem);
  margin-bottom: clamp(8px, 1.6vw, 14px);
}
.hero-lede {
  max-width: 40ch;
  margin-top: clamp(14px, 2.4vw, 22px);
  padding: 12px 18px;
  background: var(--cream);
  border: var(--edge);
  border-radius: 18px;
  box-shadow: var(--drop);
  font-weight: 500;
  font-size: clamp(1rem, 2.6vw, 1.14rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(20px, 3.4vw, 30px);
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: clamp(18px, 3vw, 26px) 0 0;
  padding: 0;
  list-style: none;
}
.hero-facts li {
  padding: 5px 14px;
  background: var(--ink);
  color: var(--yellow);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}
/* On a computer the store is a camera away: a code to point the iPhone at. */
.hero-qr {
  display: none;
}
@media (min-width: 1000px) and (pointer: fine) {
  .hero-qr {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding: 10px 16px 10px 12px;
    background: var(--cream);
    border: var(--edge);
    border-radius: 18px;
    box-shadow: 0 5px 0 var(--ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.5;
    text-align: start;
  }
  .hero-qr svg {
    width: 76px;
    height: 76px;
    flex: none;
  }
  .hero-qr span {
    max-width: 13ch;
  }
}
/* The two teams' mascots stand at the arena's edges, facing in. */
.hero-mascot {
  position: absolute;
  bottom: -6px;
  width: var(--mascot);
  pointer-events: none;
  filter: drop-shadow(0 6px 0 rgba(44, 27, 24, 0.35));
}
.hero-mascot.lion {
  left: clamp(-26px, 1vw, 30px);
  transform: scaleX(-1);
}
.hero-mascot.eagle {
  right: clamp(-26px, 1vw, 30px);
  transform: scaleX(-1);
}
@media (min-width: 721px) {
  /* Beside the mascots, the buttons and the chips keep to the space between them
     (longer words, as in English, wrap instead of running under a wing). */
  .hero-actions,
  .hero-facts {
    max-width: calc(100% - 2 * (var(--mascot) - 8px));
  }
}
@media (max-width: 720px) {
  /* Room under the buttons for the mascots, so they never stand on the words. */
  .hero .wrap {
    padding-bottom: calc(30vw * 1.26 + 4px);
  }
  .hero-mascot {
    width: 30vw;
    max-width: 150px;
  }
  .hero-mascot.lion {
    left: 2px;
  }
  .hero-mascot.eagle {
    right: 2px;
  }
}

/* ── Sections ── */
.section {
  padding-block: clamp(46px, 8vw, 88px);
}
.section.on-rays {
  border-block: var(--edge);
}
.section.paper {
  background: var(--paper);
  border-block: var(--edge);
}

/* What it is: one plain paragraph a person, a search engine or a model can quote. */
.about {
  display: grid;
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
}
.about p {
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  line-height: 1.95;
}
.about strong {
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
  font-weight: 700;
}
@media (min-width: 900px) {
  .about {
    grid-template-columns: 1fr 1.1fr;
  }
}

/* A capture of the game, framed like the TV it is played on. */
.tv {
  position: relative;
  margin: 0;
  padding: 10px;
  background: var(--ink);
  border-radius: 20px;
  box-shadow: 0 8px 0 rgba(44, 27, 24, 0.28);
  margin-bottom: 18px;
}
.tv img {
  width: 100%;
  border-radius: 11px;
}
.tv::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -16px;
  width: 34%;
  height: 10px;
  transform: translateX(-50%);
  background: var(--ink);
  border-radius: 0 0 12px 12px;
}

/* ── Cards ── */
.card {
  background: var(--cream);
  border: var(--edge);
  border-radius: var(--radius);
  box-shadow: var(--drop);
  padding: clamp(18px, 3vw, 26px);
}
.card h3 {
  font-size: 1.22rem;
  line-height: 1.5;
  margin-bottom: 6px;
}
.card p {
  color: #4a3a36;
  font-size: 1rem;
}

.steps {
  display: grid;
  gap: 40px 22px;
  padding-top: 22px;
  counter-reset: step;
  padding-inline: 0;
  padding-bottom: 0;
  margin: 0;
  list-style: none;
}
@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.steps li {
  position: relative;
  padding-top: 34px;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -22px;
  inset-inline-start: 20px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  border: var(--edge);
  border-radius: 50%;
  box-shadow: 0 4px 0 var(--ink);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1;
}

/* ── Features: a capture beside its words, sides swapping ── */
.feature {
  display: grid;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}
.feature + .feature {
  margin-top: clamp(44px, 7vw, 84px);
}
.feature h3 {
  font-size: clamp(1.4rem, 3.8vw, 2rem);
  line-height: 1.45;
  margin-bottom: 10px;
}
.feature p {
  font-size: 1.05rem;
  color: #4a3a36;
}
.feature ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.feature li,
.chip {
  padding: 5px 14px;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.93rem;
}
.feature-shots {
  display: grid;
  gap: 26px;
}
@media (min-width: 900px) {
  .feature {
    grid-template-columns: 1.1fr 1fr;
  }
  .feature.flip .feature-shots {
    order: 2;
  }
}

/* ── The night in nine pictures: a strip to swipe ── */
.strip {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px var(--gutter) 22px;
  margin-inline: calc(var(--gutter) * -1);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.strip figure {
  position: relative;
  flex: none;
  width: min(86vw, 620px);
  margin: 0;
  scroll-snap-align: center;
}
.strip img {
  width: 100%;
  border: var(--edge);
  border-radius: 18px;
  box-shadow: var(--drop);
}

/* ── Categories ── */
.groups {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.groups a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--cream);
  border: var(--edge);
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.groups a:hover {
  background: var(--yellow);
}
@media (max-width: 620px) {
  .groups {
    gap: 8px;
  }
  .groups a {
    gap: 6px;
    padding: 4px 12px;
    border-width: 2.5px;
    box-shadow: 0 3px 0 var(--ink);
    font-size: 0.9rem;
  }
}
.groups a:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--ink);
}
.groups small {
  padding: 0 8px;
  background: var(--ink);
  color: var(--yellow);
  border-radius: 999px;
  font-size: 0.8rem;
  line-height: 1.7;
}
.center {
  text-align: center;
  margin-top: clamp(24px, 4vw, 36px);
}

.group-block {
  margin-top: 34px;
  scroll-margin-top: 84px;
}
.group-block h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 1.4rem;
  line-height: 1.5;
}
.group-block h2 small {
  padding: 1px 10px;
  background: var(--ink);
  color: var(--yellow);
  border-radius: 999px;
  font-size: 0.8rem;
  line-height: 1.8;
}
.cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.cats a {
  display: block;
  padding: 6px 14px;
  background: var(--cream);
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  font-weight: 500;
  text-decoration: none;
}
.cats a:hover {
  background: var(--yellow);
}
.cats li.free a {
  background: #e3f1dc;
}
.cats li.free a::after {
  content: ' · مجانية';
  color: var(--green);
  font-weight: 700;
  font-size: 0.85em;
}
.cats.center-row {
  justify-content: center;
}

/* The category wall: the game's own cards (CategoryCard), art over a name. */
.wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0;
  margin: 0 0 clamp(22px, 4vw, 34px);
  list-style: none;
}
@media (min-width: 620px) {
  .wall {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}
@media (min-width: 980px) {
  .wall {
    grid-template-columns: repeat(6, 1fr);
  }
}
.tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--cream);
  border: var(--edge);
  border-radius: 16px;
  box-shadow: 0 5px 0 var(--ink);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--ink);
}
.tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 8px 8px 4px;
  background: var(--paper);
  border-bottom: var(--edge);
}
.tile span {
  display: grid;
  place-items: center;
  flex: 1;
  padding: 6px 6px 7px;
  font-weight: 700;
  font-size: clamp(0.82rem, 2.6vw, 1rem);
  line-height: 1.45;
  text-align: center;
}

/* ── Tickets ── */
.tickets {
  display: grid;
  gap: 22px;
}
@media (min-width: 720px) {
  .tickets {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1040px) {
  .tickets {
    grid-template-columns: repeat(4, 1fr);
  }
}
.ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ticket .tag {
  align-self: flex-start;
  padding: 2px 12px;
  background: var(--ink);
  color: var(--yellow);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
}
.ticket.golden {
  background: var(--yellow);
}
.ticket.golden .tag {
  background: var(--red);
  color: #fff;
}
.fine {
  margin-top: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}
.on-rays .fine a {
  color: var(--yellow);
}

/* ── Questions ── */
.faq {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin-inline: auto;
}
.faq details {
  background: var(--cream);
  border: var(--edge);
  border-radius: 18px;
  box-shadow: 0 4px 0 var(--ink);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1.06rem;
  cursor: pointer;
  list-style: none;
}
.faq summary h3 {
  margin: 0;
  font: inherit;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
}
.faq details[open] summary::after {
  content: '−';
}
.faq details p {
  padding: 0 20px 18px;
  color: #4a3a36;
}

/* ── The last call ── */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  border-top: var(--edge);
}
.cta .shout {
  font-size: clamp(2rem, 7vw, 4rem);
}
.cta p {
  margin-top: 14px;
}

/* ── Footer ── */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding-block: 34px;
  font-size: 0.95rem;
}
.site-footer .wrap {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
}
.site-footer a {
  color: var(--cream);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--yellow);
}
.site-footer .social a {
  color: var(--yellow);
  font-weight: 500;
}
.site-footer small {
  color: #c9bdb2;
}

/* ── The reading pages (privacy, terms, refund, prices, imprint) ── */
.page-head {
  border-bottom: var(--edge);
  text-align: center;
  padding-block: clamp(30px, 6vw, 56px);
}
.page-head .wrap {
  display: grid;
  justify-items: center;
}
.page-head.tall {
  padding-block: clamp(70px, 14vw, 140px);
}
.page-head .shout {
  font-size: clamp(1.9rem, 6.4vw, 3.4rem);
}
.page-head > .wrap > p:not(.kicker) {
  margin-top: 12px;
  font-size: 1.08rem;
}
.page-head .kicker {
  margin: 0 0 10px;
}
.page-head .kicker .plaque {
  font-size: clamp(0.9rem, 2.8vw, 1.1rem);
  text-shadow: none;
  color: var(--ink);
}
.crumbs {
  margin-bottom: 16px;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  padding: 4px 14px;
  margin: 0;
  list-style: none;
  background: rgba(44, 27, 24, 0.82);
  border-radius: 999px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 500;
}
.crumbs li + li::before {
  content: '‹';
  margin-inline-end: 8px;
  opacity: 0.7;
}
html[dir='ltr'] .crumbs li + li::before {
  content: '›';
}
.crumbs a {
  color: var(--yellow);
  text-decoration: none;
}
.crumbs a:hover {
  text-decoration: underline;
}

.wrap.narrow {
  max-width: 820px;
}
.plain-title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 4vw, 1.8rem);
  line-height: 1.5;
}
.lead + .plain-title,
.samples + .plain-title {
  margin-top: 40px;
}
.lead {
  font-size: 1.08rem;
  line-height: 1.95;
}
.muted {
  color: var(--muted);
  margin-bottom: 16px;
}
.center-text {
  text-align: center;
  margin-bottom: 18px;
}
.samples summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
}
.samples .level {
  grid-column: 1 / -1;
  justify-self: start;
}
.samples .from {
  display: inline-block;
  margin-inline-start: 8px;
  padding: 0 10px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.group-block h2 a {
  text-decoration: none;
}
.group-block h2 a:hover {
  text-decoration: underline;
}
.cats + .plain-title {
  margin-top: 40px;
}
.level {
  flex: none;
  padding: 1px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.7;
  white-space: nowrap;
}
.level.easy {
  background: #fff3c4;
}
.level.medium {
  background: #ffd66b;
}
.level.hard {
  background: #ff9d4d;
}
.notes {
  max-width: 760px;
  margin: 34px auto 0;
  padding-inline-start: 22px;
  color: #3d2f2b;
}
.notes li + li {
  margin-top: 8px;
}
.notes a {
  color: var(--blue);
  font-weight: 500;
}
.legal-page {
  max-width: 800px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 56px) var(--gutter) clamp(48px, 8vw, 88px);
}
.legal-page h1 {
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  line-height: 1.4;
}
.legal-page h2 {
  margin-top: 34px;
  margin-bottom: 8px;
  font-size: 1.3rem;
  line-height: 1.5;
}
.legal-page h3 {
  margin-top: 22px;
  margin-bottom: 6px;
  font-size: 1.1rem;
}
.legal-page p,
.legal-page li {
  color: #3d2f2b;
}
.legal-page p {
  margin-bottom: 12px;
}
html[lang='en'] .legal-page p,
html[lang='en'] .legal-page li,
html[lang='en'] .legal-page td {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
.legal-page ul,
.legal-page ol {
  padding-inline-start: 22px;
}
.legal-page a {
  color: var(--blue);
  font-weight: 500;
}
.legal-page .legal-date {
  color: var(--muted);
  font-size: 0.92rem;
}
.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  display: block;
  overflow-x: auto;
}
.legal-page th,
.legal-page td {
  padding: 8px 10px;
  border: 2px solid var(--ink);
  text-align: start;
  vertical-align: top;
}
.legal-page th {
  background: var(--paper);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}
