:root {
  --site-ink: #342421;
  --site-muted: #6f5c56;
  --site-bg: #fffaf8;
  --site-cream: #f8f6ef;
  --site-blush: #fff3ef;
  --site-card: #ffffff;
  --site-line: #edd8d1;
  --site-accent: #32b79c;
  --site-accent-dark: #177d69;
  --site-gold: #ffcf67;
  --site-footer: #1f2727;
  --site-radius: 12px;
  --site-shadow: 0 18px 48px rgba(77, 54, 48, 0.09);
  --site-width: 1180px;
  color-scheme: light;
  font-family: Inter, Geist, "Segoe UI", system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body,
body.home-page {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--site-bg);
  color: var(--site-ink);
  line-height: 1.65;
  overscroll-behavior: auto;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: min(calc(100% - 40px), var(--site-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--site-ink);
  color: white;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}

.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(237, 216, 209, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  width: min(calc(100% - 40px), var(--site-width));
  min-height: 64px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--site-ink);
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand small {
  margin-top: 4px;
  color: var(--site-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav a {
  padding: 8px 13px;
  border-radius: 8px;
  color: #594843;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: #fff1ed;
  color: #b34e51;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--site-line);
  border-radius: 9px;
  background: white;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 9px;
  background: var(--site-ink);
}

.play-zone {
  min-height: calc(100vh - 64px);
  padding: 18px 20px 26px;
  border-bottom: 1px solid var(--site-line);
  background:
    radial-gradient(circle at 13% 15%, rgba(255, 207, 103, 0.22), transparent 25%),
    radial-gradient(circle at 86% 78%, rgba(50, 183, 156, 0.12), transparent 24%),
    var(--site-cream);
}

.play-zone__intro {
  max-width: 720px;
  margin: 0 auto 14px;
  text-align: center;
}

.play-zone__intro h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.play-zone__intro > p:last-child {
  margin: 7px 0 0;
  color: var(--site-muted);
  font-size: 15px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--site-accent-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.game-frame {
  width: min(100%, 690px);
  margin-inline: auto;
  padding: 10px;
  border: 1px solid rgba(237, 216, 209, 0.92);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--site-shadow);
}

.home-page .app-shell {
  width: 100%;
  min-height: 710px;
  height: min(720px, calc(100vh - 170px));
  margin: 0;
  border-radius: 22px;
  box-shadow: none;
}

.home-page .game-header {
  padding-top: 16px;
}

.home-page .game-main {
  padding-bottom: 22px;
}

.home-page .board-card {
  min-height: 360px;
}

.home-page .game-controls {
  padding-bottom: 24px;
}

.level-title-button {
  display: inline-flex;
  min-height: 44px;
  padding: 4px 14px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--cocoa);
  cursor: pointer;
}

.level-title-button span {
  font-size: clamp(24px, 6vw, 32px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.level-title-button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.level-title-button:focus-visible {
  outline: 4px solid rgba(57, 119, 232, 0.3);
  outline-offset: 2px;
}

.level-card {
  width: min(100%, 460px);
  max-height: min(82%, 640px);
  overflow: auto;
}

.level-card h2 {
  margin-bottom: 4px;
}

.level-modal-copy {
  margin: 0 0 18px;
  color: var(--cocoa-soft);
  font-size: 14px;
}

.level-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.level-choice {
  display: grid;
  min-height: 66px;
  padding: 8px 4px;
  place-content: center;
  border: 2px solid rgba(232, 175, 65, 0.32);
  border-radius: 13px;
  background: #fff9e8;
  color: var(--cocoa);
  cursor: pointer;
}

.level-choice strong {
  font-size: 21px;
  line-height: 1;
}

.level-choice span {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 800;
}

.level-choice.is-current {
  border-color: var(--green);
  background: #edf9e8;
  box-shadow: 0 0 0 3px rgba(85, 169, 51, 0.12);
}

.level-choice:disabled {
  opacity: 0.34;
  cursor: not-allowed;
}

.game-help {
  max-width: 700px;
  margin: 12px auto 0;
  color: #76645e;
  font-size: 12px;
  text-align: center;
}

.section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.section--blush {
  border-bottom: 1px solid var(--site-line);
  background: linear-gradient(110deg, #fff5f1, #fffafb 58%, #fff5eb);
}

.section--cream {
  border-block: 1px solid var(--site-line);
  background: var(--site-cream);
}

.section--white-border {
  border-block: 1px solid var(--site-line);
  background: white;
}

.section--faq {
  background: var(--site-blush);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.intro-copy h2,
.section-heading h2,
.split-heading h2,
.feature-split h2,
.cta-section h2,
.page-hero h1,
.article-content h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.lead {
  color: #4f3d38;
  font-size: 19px;
  line-height: 1.65;
}

.intro-copy > p:not(.eyebrow) {
  max-width: 760px;
}

.button-row,
.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  padding: 10px 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--dark {
  background: var(--site-ink);
  color: white;
}

.button--ghost {
  border-color: var(--site-line);
  background: white;
  color: var(--site-ink);
}

.button--accent {
  background: var(--site-accent);
  color: #0b3f35;
}

.button--light {
  background: white;
  color: var(--site-ink);
}

.fact-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 28px 0 0;
  padding: 0;
  border: 1px solid var(--site-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
  list-style: none;
}

.fact-row li {
  display: grid;
  padding: 15px 12px;
  border-right: 1px solid var(--site-line);
}

.fact-row li:last-child {
  border-right: 0;
}

.fact-row strong {
  font-size: 17px;
}

.fact-row span {
  color: var(--site-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mascot-feature {
  position: relative;
  min-height: 410px;
  margin: 0;
  padding: 50px 30px 28px;
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-radius: 28px 28px 120px 28px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(255, 238, 190, 0.85)),
    url("/assets/garden-bg.webp") center / cover;
  box-shadow: var(--site-shadow);
  text-align: center;
}

.mascot-feature img {
  position: relative;
  z-index: 2;
  width: min(100%, 360px);
  height: auto;
  filter: drop-shadow(0 20px 20px rgba(78, 43, 17, 0.18));
}

.mascot-feature figcaption {
  position: relative;
  z-index: 2;
  font-size: 13px;
  font-weight: 750;
}

.mascot-orbit {
  position: absolute;
  top: 38px;
  left: 50%;
  width: 270px;
  height: 270px;
  border: 28px solid rgba(50, 183, 156, 0.12);
  border-radius: 50%;
  transform: translateX(-50%);
}

.split-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: end;
  gap: 80px;
}

.split-heading > p {
  margin: 0;
  color: var(--site-muted);
  font-size: 17px;
}

.rule-strips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 52px;
  border-block: 1px solid var(--site-line);
}

.rule-strips article {
  position: relative;
  min-height: 220px;
  padding: 34px 34px 30px;
  border-right: 1px solid var(--site-line);
}

.rule-strips article:last-child {
  border-right: 0;
}

.rule-strips span {
  color: var(--site-accent-dark);
  font-size: 13px;
  font-weight: 850;
}

.rule-strips h3,
.info-card h3,
.steps-grid h3,
.feature-list h3,
.feature-columns h3 {
  margin: 25px 0 8px;
  font-size: 19px;
  line-height: 1.25;
}

.rule-strips p,
.info-card p,
.steps-grid p,
.feature-list p,
.feature-columns p {
  margin: 0;
  color: var(--site-muted);
  font-size: 14px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading > p:last-child {
  margin: 16px auto 0;
  color: var(--site-muted);
  font-size: 16px;
}

.card-grid {
  display: grid;
  gap: 16px;
}

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

.info-card {
  min-height: 215px;
  padding: 27px;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: white;
  box-shadow: 0 8px 22px rgba(73, 52, 46, 0.04);
}

.info-card h3 {
  margin-top: 21px;
}

.icon-chip {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #fff3cc;
  color: #8d5f10;
  font-size: 17px;
  font-weight: 900;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.steps-grid article {
  padding: 29px 30px;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: white;
}

.steps-grid strong {
  color: var(--site-accent-dark);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.steps-grid h3 {
  margin-top: 14px;
}

.centered-action {
  margin-top: 30px;
  text-align: center;
}

.text-link {
  color: #b04d50;
  font-weight: 800;
  text-decoration: none;
}

.feature-split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(50px, 8vw, 100px);
}

.feature-split > div:first-child > p:not(.eyebrow) {
  max-width: 670px;
  color: var(--site-muted);
}

.feature-list {
  display: grid;
  margin: 30px 0;
  border-left: 4px solid var(--site-gold);
}

.feature-list article {
  padding: 10px 0 10px 22px;
}

.feature-list h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.level-preview {
  display: grid;
  min-height: 490px;
  padding: 30px;
  align-content: center;
  gap: 14px;
  border: 1px solid var(--site-line);
  border-radius: 26px;
  background:
    linear-gradient(rgba(255, 250, 248, 0.82), rgba(255, 250, 248, 0.82)),
    url("/assets/garden-bg.webp") center / cover;
  box-shadow: var(--site-shadow);
}

.level-preview article {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  min-height: 100px;
  padding: 18px 22px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--site-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
}

.level-preview span {
  color: var(--site-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.level-preview strong {
  font-size: 42px;
  line-height: 1;
}

.level-preview p {
  color: var(--site-muted);
  font-size: 12px;
}

.feature-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 70px;
}

.feature-columns article {
  padding: 23px 0 26px 20px;
  border-bottom: 1px solid var(--site-line);
  border-left: 4px solid var(--site-gold);
}

.feature-columns h3 {
  margin: 0 0 5px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.faq-grid details {
  padding: 23px 25px;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: white;
}

.faq-grid summary {
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.faq-grid p {
  margin: 14px 0 0;
  color: var(--site-muted);
  font-size: 14px;
}

.cta-section {
  padding: 74px 0;
  background: var(--site-ink);
  color: white;
}

.cta-section__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.cta-section h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.cta-section p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: #e4d5cf;
}

.cta-section .eyebrow {
  color: #8ce0ce;
}

.site-footer {
  padding: 62px 0 20px;
  background: var(--site-footer);
  color: white;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr;
  gap: 60px;
}

.brand--footer {
  color: white;
}

.brand--footer small {
  color: #9eb2af;
}

.footer-brand p {
  max-width: 430px;
  color: #b6c2c0;
  font-size: 13px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--site-gold);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer__grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer__grid > div:not(.footer-brand) a {
  margin: 3px 0;
  color: #d4dfdd;
  font-size: 13px;
  text-decoration: none;
}

.site-footer__grid a:hover {
  color: white;
}

.site-footer__bottom {
  display: flex;
  margin-top: 42px;
  padding-top: 18px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #91a5a2;
  font-size: 12px;
}

.privacy-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.consent-banner {
  position: fixed;
  z-index: 500;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  max-width: 940px;
  margin-inline: auto;
  padding: 19px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid var(--site-line);
  border-radius: 14px;
  background: white;
  box-shadow: 0 22px 70px rgba(39, 27, 23, 0.24);
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner strong {
  display: block;
  margin-bottom: 3px;
}

.consent-banner p {
  margin: 0;
  color: var(--site-muted);
  font-size: 12px;
}

.consent-banner a {
  color: var(--site-accent-dark);
}

.consent-actions {
  flex: 0 0 auto;
}

/* Inner pages */
.page-main {
  min-height: 65vh;
}

.page-hero {
  padding: 78px 0 64px;
  border-bottom: 1px solid var(--site-line);
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 207, 103, 0.22), transparent 24%),
    var(--site-cream);
}

.breadcrumbs {
  display: flex;
  margin-bottom: 24px;
  gap: 8px;
  color: var(--site-muted);
  font-size: 12px;
}

.breadcrumbs a {
  color: var(--site-accent-dark);
  text-decoration: none;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  align-items: center;
  gap: 70px;
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(40px, 6vw, 70px);
}

.page-hero .lead {
  max-width: 760px;
  margin-bottom: 0;
}

.page-hero__art {
  display: grid;
  aspect-ratio: 1;
  padding: 25px;
  place-items: center;
  border: 1px solid var(--site-line);
  border-radius: 50% 50% 20% 50%;
  background: #fff1c7;
}

.page-hero__art img {
  max-height: 240px;
  object-fit: contain;
}

.article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 780px);
  padding-block: 72px 100px;
  justify-content: center;
  gap: 70px;
}

.article-toc {
  position: sticky;
  top: 90px;
  align-self: start;
  padding: 20px;
  border-left: 3px solid var(--site-gold);
  background: #fffaf1;
}

.article-toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-toc a {
  display: block;
  margin: 7px 0;
  color: var(--site-muted);
  font-size: 13px;
  text-decoration: none;
}

.article-content h2 {
  margin-top: 64px;
  scroll-margin-top: 90px;
  font-size: clamp(29px, 4vw, 42px);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  margin: 36px 0 8px;
  font-size: 21px;
}

.article-content p,
.article-content li {
  color: #584943;
  font-size: 16px;
}

.article-content a {
  color: var(--site-accent-dark);
}

.callout {
  margin: 30px 0;
  padding: 24px 26px;
  border: 1px solid var(--site-line);
  border-left: 5px solid var(--site-accent);
  border-radius: 0 var(--site-radius) var(--site-radius) 0;
  background: #f4fcf9;
}

.callout strong {
  display: block;
  margin-bottom: 5px;
}

.table-wrap {
  margin: 28px 0;
  overflow-x: auto;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--site-line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--site-cream);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

td {
  color: var(--site-muted);
  font-size: 14px;
}

tr:last-child td {
  border-bottom: 0;
}

.content-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 30px 0;
}

.content-card {
  padding: 24px;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: white;
}

.content-card h3 {
  margin: 0 0 7px;
  font-size: 18px;
}

.content-card p {
  margin: 0;
  font-size: 14px;
}

.levels-table td:first-child {
  color: var(--site-ink);
  font-weight: 800;
}

.mini-board {
  display: grid;
  width: max-content;
  grid-template-columns: repeat(var(--mini-columns), 6px);
  gap: 2px;
}

.mini-board i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: transparent;
}

.mini-board i.is-active {
  background: var(--site-gold);
  box-shadow: inset 0 -1px 0 rgba(141, 95, 16, 0.22);
}

.contact-card {
  margin: 30px 0;
  padding: 32px;
  border: 1px solid var(--site-line);
  border-radius: 18px;
  background: var(--site-cream);
}

.contact-email {
  display: inline-block;
  margin: 8px 0 18px;
  color: var(--site-ink) !important;
  font-size: clamp(21px, 4vw, 32px);
  font-weight: 850;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.copy-status {
  margin-left: 10px;
  color: var(--site-accent-dark);
  font-size: 12px;
}

@media (max-width: 900px) {
  .intro-grid,
  .split-heading,
  .feature-split,
  .page-hero__grid {
    grid-template-columns: 1fr;
  }

  .mascot-feature,
  .page-hero__art {
    max-width: 520px;
    margin-inline: auto;
  }

  .split-heading {
    align-items: start;
    gap: 22px;
  }

  .card-grid--three {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .article-toc {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header__inner,
  .container {
    width: min(calc(100% - 32px), var(--site-width));
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    z-index: 99;
    top: 65px;
    right: 0;
    left: 0;
    display: none;
    padding: 12px 16px 22px;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--site-line);
    background: white;
    box-shadow: 0 20px 40px rgba(77, 54, 48, 0.12);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 12px 14px;
  }

  .play-zone {
    min-height: auto;
    padding-inline: 8px;
  }

  .play-zone__intro {
    padding-inline: 12px;
  }

  .game-frame {
    padding: 5px;
    border-radius: 24px;
  }

  .home-page .app-shell {
    min-height: 690px;
    height: min(720px, calc(100svh - 132px));
    border-radius: 19px;
  }

  .home-page .board-card {
    min-height: 340px;
  }

  .section {
    padding-block: 64px;
  }

  .fact-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact-row li:nth-child(2) {
    border-right: 0;
  }

  .fact-row li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--site-line);
  }

  .rule-strips,
  .steps-grid,
  .feature-columns,
  .faq-grid,
  .content-cards {
    grid-template-columns: 1fr;
  }

  .rule-strips article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--site-line);
  }

  .rule-strips article:last-child {
    border-bottom: 0;
  }

  .card-grid--three {
    grid-template-columns: 1fr;
  }

  .level-preview {
    min-height: auto;
    padding: 20px;
  }

  .level-preview article {
    grid-template-columns: 58px 1fr;
  }

  .level-preview p {
    grid-column: 1 / -1;
    margin: 0;
  }

  .feature-columns {
    column-gap: 0;
  }

  .cta-section__inner,
  .consent-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .consent-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    gap: 14px;
  }

  .page-hero {
    padding-block: 54px;
  }

  .page-hero__art {
    display: none;
  }

  .article-layout {
    padding-block: 50px 72px;
  }
}

@media (max-width: 430px) {
  .home-page .app-shell {
    min-height: 665px;
  }

  .home-page .game-main {
    padding-bottom: 16px;
  }

  .home-page .game-controls {
    padding-bottom: 20px;
  }

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

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .button-row .button,
  .consent-actions .button {
    flex: 1 1 auto;
  }
}

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