:root {
  color-scheme: light;
  --ink: #073746;
  --ink-deep: #052d39;
  --ink-soft: #315964;
  --cream: #f8f3e9;
  --paper: #fffdf7;
  --gold: #e1a321;
  --gold-light: #f3d284;
  --orange: #dd6a31;
  --mint: #299177;
  --purple: #74548a;
  --line: rgba(7, 55, 70, .18);
  --display: "Arial Black", "Trebuchet MS", system-ui, sans-serif;
  --body: "Trebuchet MS", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); }
button, input { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.skip-link { position: absolute; z-index: 50; top: -5rem; left: 1rem; padding: .65rem 1rem; background: var(--paper); color: var(--ink); }
.skip-link:focus { top: .5rem; }
.section-shell { width: min(100% - 3.5rem, 1340px); margin-inline: auto; }
.site-note { min-height: 34px; display: flex; gap: .55rem; align-items: center; justify-content: center; padding: .35rem 1rem; background: var(--ink); color: #f9ecd0; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.site-note__spark { color: var(--gold); font-size: .95rem; }
.site-header { min-height: 87px; display: flex; align-items: center; gap: 2rem; justify-content: space-between; padding: 0 max(1.75rem, calc((100vw - 1340px) / 2)); border-bottom: 1px solid var(--line); background: var(--cream); }
.brand { display: inline-flex; flex: 0 0 auto; gap: .65rem; align-items: center; text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.brand__name { display: flex; flex-direction: column; font-family: var(--display); font-weight: 900; font-size: 1.28rem; line-height: .92; letter-spacing: -.065em; }
.brand__name small { margin-top: .25rem; color: var(--orange); font-family: var(--body); font-size: .59rem; letter-spacing: .37em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.5rem); margin-left: auto; }
.desktop-nav a, .header-link { font-size: .83rem; font-weight: 800; text-decoration: none; }
.desktop-nav a:hover, .header-link:hover, .site-footer a:hover { color: var(--orange); }
.header-link { padding: .72rem 1rem; border: 1.5px solid var(--ink); white-space: nowrap; }
.mobile-nav { display: none; }
.eyebrow { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.15rem; font-size: .72rem; font-weight: 900; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow__line { display: inline-block; width: 24px; height: 2px; background: var(--orange); }
.eyebrow--gold { color: var(--gold-light); }
.eyebrow--gold .eyebrow__line { background: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.065em; }
h1 em, h2 em { color: var(--orange); font-family: Georgia, serif; font-weight: 700; letter-spacing: -.08em; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .8rem; padding: .8rem 1.25rem; border: 2px solid transparent; border-radius: 3px; font-weight: 900; text-decoration: none; text-align: center; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button:not(:disabled):hover { transform: translateY(-2px); }
.button--gold { background: var(--gold); color: var(--ink-deep); }
.button--gold:hover { background: #f0bb40; }
.button--outline { border-color: #b4e3dc; background: transparent; color: #fffdf7; }
.button--outline:hover { background: rgba(255,255,255,.12); }
.button--plain { border-color: rgba(255,255,255,.22); background: #fffdf7; color: var(--ink); }
.button--plain:disabled { background: rgba(255,255,255,.12); color: rgba(255,255,255,.45); }
.text-link, .inline-link { display: inline-flex; align-items: center; gap: .55rem; font-size: .88rem; font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: .32rem; }
.text-link:hover, .inline-link:hover { color: var(--orange); }

.hero { min-height: 650px; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(2rem, 5vw, 5.5rem); padding-block: 5rem 6rem; }
.hero__copy { padding-block: 1rem; }
.hero h1 { max-width: 9ch; margin-bottom: 1.35rem; font-size: clamp(4.2rem, 7.2vw, 7.4rem); line-height: .94; }
.hero h1 em { display: block; }
.hero__lead { max-width: 57ch; margin-bottom: 1.8rem; color: var(--ink-soft); font-size: clamp(1rem, 1.28vw, 1.22rem); line-height: 1.65; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.7rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .8rem 1.35rem; margin-top: 3.7rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.hero__facts span { display: inline-flex; align-items: baseline; gap: .35rem; color: var(--ink-soft); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.hero__facts strong { color: var(--ink); font-family: var(--display); font-size: 1.65rem; letter-spacing: -.07em; }
.hero__visual { position: relative; padding: 1.15rem 0 0 1.15rem; }
.hero__visual::before { position: absolute; z-index: -1; top: 0; right: 1.15rem; bottom: 1.15rem; left: 0; border: 2px solid var(--gold); content: ""; }
.hero__visual-frame { overflow: hidden; border: 2px solid var(--ink); background: #fff; box-shadow: 12px 13px 0 rgba(7,55,70,.11); }
.hero__logo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.hero__visual-caption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.15rem; font-size: .68rem; font-weight: 900; letter-spacing: .12em; }
.hero__seal { position: absolute; top: -1.3rem; right: -1rem; width: 86px; height: 86px; display: grid; place-items: center; border: 3px solid var(--cream); border-radius: 50%; background: var(--orange); color: white; box-shadow: 0 4px 0 var(--ink); transform: rotate(13deg); }
.hero__seal span { font-family: var(--display); font-size: 1rem; line-height: .9; text-align: center; }
.marquee { display: flex; gap: clamp(1rem, 3vw, 3rem); align-items: center; justify-content: space-around; overflow: hidden; min-height: 54px; padding: .65rem 1rem; background: var(--gold); color: var(--ink); font-family: var(--display); font-size: clamp(.78rem, 1.5vw, 1.25rem); letter-spacing: -.03em; white-space: nowrap; }
.marquee b { color: var(--orange); font-size: 1.4rem; }

.idea { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; padding-block: clamp(5rem, 8vw, 8.5rem); }
.idea h2, .play h2, .kit h2, .modes h2, .roadmap h2, .faq h2 { margin-bottom: 0; font-size: clamp(3.2rem, 5.4vw, 5.8rem); line-height: 1.02; }
.idea__body { padding-top: .3rem; }
.idea__body p { max-width: 56ch; color: #d9e7e5; line-height: 1.75; }
.idea__body .large-copy { margin-bottom: 1.25rem; color: #fff9ed; font-size: clamp(1.22rem, 1.8vw, 1.7rem); line-height: 1.5; }
.idea__body .inline-link { margin-top: 1.2rem; color: var(--gold-light); }
body:has(.idea) .idea { width: 100%; max-width: none; padding-inline: max(1.75rem, calc((100vw - 1340px) / 2)); background: var(--ink); color: #fff9ed; }
.idea h2 em, .modes h2 em, .faq h2 em { color: var(--gold-light); }

.play { display: grid; grid-template-columns: .78fr 1fr; gap: clamp(2rem, 6vw, 7rem); padding-block: clamp(5rem, 8vw, 8rem); }
.play__intro > p:not(.eyebrow) { max-width: 50ch; margin-top: 1.65rem; color: var(--ink-soft); line-height: 1.7; }
.play__steps { display: grid; gap: 1.2rem; margin: 2.5rem 0 2rem; padding: 0; list-style: none; }
.play__steps li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; color: var(--ink-soft); line-height: 1.55; }
.play__steps li span { color: var(--orange); font-family: var(--display); font-size: 1.45rem; }
.play__steps strong { color: var(--ink); }
.demo { padding: clamp(1.2rem, 2.4vw, 2.2rem); background: var(--ink); color: #fff9ed; box-shadow: 13px 13px 0 var(--gold); }
.demo__top, .demo__live { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.demo__top { border-bottom: 1px solid rgba(255,255,255,.23); padding-bottom: 1rem; }
.demo__label, .demo__live { font-size: .66rem; font-weight: 900; letter-spacing: .14em; }
.demo__live { color: #bce4d7; }
.demo__live i { width: 7px; height: 7px; border-radius: 50%; background: #7ed3a0; }
.demo__score { display: grid; justify-items: center; padding: 1.9rem 1rem 1.4rem; text-align: center; }
.demo__score span, .demo__score small { color: #b7d6d6; font-size: .68rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.demo__score strong { font-family: var(--display); font-size: clamp(4.8rem, 7vw, 7rem); line-height: 1; letter-spacing: -.09em; }
.demo__dice { display: flex; align-items: center; justify-content: center; gap: .8rem; }
.demo-die { min-width: 92px; min-height: 104px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .5rem; color: var(--ink); text-align: center; }
.demo-die small { font-size: .56rem; font-weight: 900; letter-spacing: .07em; }
.demo-die strong { font-family: var(--display); font-size: 2.5rem; line-height: 1.1; }
.demo-die--score { background: #fff9e8; }
.demo-die--hazard { background: var(--orange); color: #fff; clip-path: polygon(50% 0, 94% 24%, 94% 75%, 50% 100%, 6% 75%, 6% 24%); }
.demo-die--mini { min-width: 74px; min-height: 78px; align-self: end; margin-left: .4rem; background: #73bdad; transform: rotate(7deg); }
.demo-die--mini strong { font-size: 1.7rem; }
.demo__plus { color: var(--gold); font-family: var(--display); font-size: 1.7rem; }
.demo__meters { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: 1.8rem; border-block: 1px solid rgba(255,255,255,.23); padding-block: 1rem; }
.demo__meters div { display: grid; gap: .25rem; text-align: center; }
.demo__meters span { color: #b4cfce; font-size: .57rem; font-weight: 900; letter-spacing: .08em; }
.demo__meters strong { font-family: var(--display); font-size: .9rem; letter-spacing: -.04em; }
.demo__message { min-height: 3.9rem; display: flex; align-items: center; justify-content: center; margin: 0; padding: 1.2rem .2rem .8rem; color: #fff; font-size: .91rem; line-height: 1.5; text-align: center; }
.demo__controls { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.demo__controls .button { min-height: 47px; padding: .65rem .5rem; font-size: .78rem; }
.demo__reset { grid-column: 1 / -1; justify-self: center; border: 0; background: none; color: #b9d8d8; font-size: .72rem; font-weight: 900; text-decoration: underline; text-underline-offset: .2rem; }
.demo__reset:hover { color: #fff; }
.demo__note { margin: 1.2rem 0 0; color: #b3cece; font-size: .69rem; line-height: 1.5; }

.kit { padding-block: clamp(4rem, 7vw, 7rem); border-top: 1px solid var(--line); }
.kit__heading, .modes__heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 2.5rem; }
.kit__heading > p, .modes__heading > p { max-width: 43ch; margin: 0 0 .25rem; color: var(--ink-soft); line-height: 1.65; }
.kit__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.kit-card { min-height: 390px; position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 1.5rem; border: 1.5px solid var(--ink); }
.kit-card--ordinary { background: #dce9e5; }
.kit-card--special { background: #f2d6b9; }
.kit-card--poly { background: #e8deec; }
.kit-card__number { font-family: var(--display); font-size: 1.1rem; }
.kit-card__art { min-height: 190px; display: flex; justify-content: center; align-items: center; margin: auto 0 .6rem; }
.kit-card__art--ordinary { width: 135px; height: 135px; min-height: 135px; display: flex; flex-direction: column; gap: 0; align-self: center; border: 8px solid #fff9ed; border-radius: 14px; background: #2789a8; color: #fff; box-shadow: 15px 15px 0 var(--ink); transform: rotate(-9deg); }
.kit-card__art--ordinary span { display: block; height: 30px; font-size: 1.05rem; line-height: 1.5; }
.kit-card__art--special { gap: .2rem; }
.kit-card__art--special span, .kit-card__art--special small { display: grid; place-items: center; border: 6px solid #fff9ed; color: white; font-family: var(--display); }
.kit-card__art--special span { width: 135px; height: 135px; background: var(--orange); box-shadow: 10px 12px 0 var(--ink); font-size: 4rem; transform: rotate(-8deg); }
.kit-card__art--special small { width: 62px; height: 62px; align-self: end; margin-bottom: .7rem; background: var(--mint); font-size: 1.6rem; transform: rotate(11deg); }
.kit-card__art--poly span { width: 160px; height: 160px; display: grid; place-items: center; background: #6d5190; color: white; font-family: var(--display); font-size: 4rem; clip-path: polygon(50% 0%, 90% 18%, 100% 58%, 70% 100%, 30% 100%, 0% 58%, 10% 18%); transform: rotate(8deg); }
.kit-card h3 { margin: 1rem 0 .55rem; font-size: 1.65rem; }
.kit-card p { max-width: 38ch; margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.5; }
.kit__footnote { margin: 1rem 0 0; color: var(--ink-soft); font-size: .75rem; }

.modes { width: 100%; max-width: none; padding: clamp(5rem, 8vw, 8rem) max(1.75rem, calc((100vw - 1340px) / 2)); background: var(--ink-deep); color: #fff9ed; }
.modes__heading > p { color: #c9dedc; }
.modes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.mode-card { min-height: 295px; display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.045); }
.mode-card--featured { border-color: var(--gold); background: #123f4c; }
.mode-card__index { color: var(--gold-light); font-size: .63rem; font-weight: 900; letter-spacing: .13em; }
.mode-card__icon { align-self: end; color: var(--gold); font-family: Georgia,serif; font-size: 2.2rem; line-height: 1; }
.mode-card h3 { margin: .4rem 0 .7rem; font-size: 2rem; }
.mode-card p { max-width: 38ch; margin-bottom: 1.2rem; color: #d4e2e0; font-size: .9rem; line-height: 1.55; }
.mode-card__tag { margin-top: auto; color: var(--gold-light); font-size: .64rem; font-weight: 900; letter-spacing: .12em; }

.roadmap { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; padding-block: clamp(5rem, 8vw, 8rem); }
.roadmap > div:first-child > p:last-child { max-width: 48ch; margin: 1.6rem 0 0; color: var(--ink-soft); line-height: 1.65; }
.roadmap__items { display: grid; align-content: center; }
.roadmap__items > div { display: grid; grid-template-columns: 60px 1fr; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.roadmap__items > div:first-child { border-top: 1px solid var(--line); }
.roadmap__items span { color: var(--orange); font-family: var(--display); font-size: 1.5rem; }
.roadmap__items p { margin: 0; color: var(--ink-soft); line-height: 1.55; }
.roadmap__items strong { color: var(--ink); }
.faq { width: 100%; max-width: none; display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; padding: clamp(5rem, 8vw, 8rem) max(1.75rem, calc((100vw - 1340px) / 2)); background: var(--ink); color: #fff9ed; }
.faq__items details { border-bottom: 1px solid rgba(255,255,255,.28); }
.faq__items details:first-child { border-top: 1px solid rgba(255,255,255,.28); }
.faq__items summary { position: relative; padding: 1.25rem 2rem 1.25rem 0; font-weight: 900; list-style: none; cursor: pointer; }
.faq__items summary::-webkit-details-marker { display: none; }
.faq__items summary::after { position: absolute; right: .2rem; content: "+"; color: var(--gold); font-size: 1.4rem; line-height: .8; }
.faq__items details[open] summary::after { content: "−"; }
.faq__items p { max-width: 65ch; margin-bottom: 1.3rem; color: #d7e4e1; line-height: 1.6; }
.site-footer { padding-top: 4rem; background: #052732; color: #fff9ed; }
.site-footer__inner { display: grid; grid-template-columns: 1fr 1fr auto; gap: 2rem; align-items: start; padding-bottom: 4rem; }
.site-footer__brand { display: flex; gap: .7rem; align-items: center; font-family: var(--display); font-size: 1.2rem; letter-spacing: -.06em; }
.site-footer__brand small { color: var(--gold); font-family: var(--body); font-size: .55rem; letter-spacing: .2em; }
.site-footer__inner p { max-width: 32ch; color: #b9d2d0; line-height: 1.55; }
.site-footer__links { display: grid; gap: .8rem; font-size: .83rem; font-weight: 900; }
.site-footer__links a { text-decoration-thickness: 2px; text-underline-offset: .3rem; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.2); padding-block: 1.3rem; color: #a6c2bf; font-size: .61rem; font-weight: 900; letter-spacing: .13em; }

/* Prototype rules page */
.rules-hero { padding-block: clamp(4rem, 7vw, 7rem); }
.rules-hero h1 { max-width: 11ch; font-size: clamp(4rem, 7vw, 7rem); line-height: .95; }
.rules-hero > p:not(.eyebrow) { max-width: 64ch; color: var(--ink-soft); font-size: 1.15rem; line-height: 1.65; }
.rules-layout { display: grid; grid-template-columns: minmax(220px, .37fr) 1fr; gap: 4rem; padding-bottom: 7rem; }
.rules-sidebar { position: sticky; top: 2rem; align-self: start; padding: 1.5rem; background: var(--ink); color: #fff9ed; }
.rules-sidebar h2 { margin: 0 0 1.2rem; font-size: 1.6rem; }
.rules-sidebar dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0; }
.rules-sidebar dt { color: #b6d3d0; font-size: .65rem; font-weight: 900; letter-spacing: .1em; }
.rules-sidebar dd { margin: .2rem 0 0; font-weight: 900; }
.rules-sidebar p { margin: 1.4rem 0 0; color: #d1e1df; font-size: .78rem; line-height: 1.55; }
.rules-content { max-width: 760px; }
.rules-content h2 { margin: 2.5rem 0 .8rem; font-size: 2.5rem; }
.rules-content h2:first-child { margin-top: 0; }
.rules-content p, .rules-content li { color: var(--ink-soft); line-height: 1.72; }
.rules-content strong { color: var(--ink); }
.rules-content ol { display: grid; gap: .8rem; padding-left: 1.45rem; }
.rules-content li::marker { color: var(--orange); font-weight: 900; }
.rules-callout { margin-top: 2rem; padding: 1.2rem 1.4rem; border-left: 5px solid var(--gold); background: #efe2c9; }
.rules-callout p { margin: 0; }
.rules-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; }

@media (max-width: 1020px) {
  .desktop-nav, .header-link { display: none; }
  .mobile-nav { display: block; position: relative; margin-left: auto; }
  .mobile-nav summary { padding: .7rem 1rem; border: 1.5px solid var(--ink); font-size: .82rem; font-weight: 900; list-style: none; cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; z-index: 20; top: calc(100% + .3rem); right: 0; width: min(260px, calc(100vw - 2rem)); display: grid; padding: .5rem; border: 1.5px solid var(--ink); background: var(--paper); box-shadow: 6px 6px 0 var(--gold); }
  .mobile-nav nav a { padding: .75rem; font-size: .85rem; font-weight: 900; text-decoration: none; }
  .mobile-nav nav a:hover { background: #eee3cd; }
  .hero { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .hero h1 { font-size: clamp(3.7rem, 7vw, 6rem); }
  .hero__facts { margin-top: 2rem; }
  .demo__dice { gap: .35rem; }
  .demo-die { min-width: 74px; min-height: 84px; }
  .demo-die strong { font-size: 2rem; }
  .demo-die--mini { min-width: 58px; min-height: 63px; }
}
@media (max-width: 760px) {
  .section-shell { width: min(100% - 2rem, 600px); }
  .site-header { min-height: 72px; padding-inline: 1rem; }
  .hero, .idea, .play, .roadmap, .faq, .rules-layout { grid-template-columns: 1fr; }
  .hero { gap: 3rem; min-height: auto; padding-block: 3.5rem 4.5rem; }
  .hero h1 { font-size: clamp(4.3rem, 14vw, 6.5rem); }
  .hero__facts { margin-top: 2.5rem; }
  .hero__visual { width: min(100% - 1rem, 640px); margin-inline: auto; }
  .hero__seal { width: 70px; height: 70px; right: -.5rem; }
  .hero__seal span { font-size: .8rem; }
  .marquee { gap: 1.1rem; justify-content: start; }
  .idea { gap: 2rem; }
  body:has(.idea) .idea, .modes, .faq { padding-inline: max(1rem, calc((100vw - 600px) / 2)); }
  .play { gap: 3rem; }
  .kit__heading, .modes__heading { display: block; }
  .kit__heading > p, .modes__heading > p { margin-top: 1.5rem; }
  .kit__grid, .modes__grid { grid-template-columns: 1fr; }
  .kit-card { min-height: 330px; }
  .kit-card__art { min-height: 140px; }
  .mode-card { min-height: 230px; }
  .roadmap { gap: 2.5rem; }
  .faq { gap: 2rem; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .rules-layout { gap: 2rem; }
  .rules-sidebar { position: static; }
}
@media (max-width: 480px) {
  .site-note { font-size: .58rem; }
  .brand__name { font-size: 1.13rem; }
  .brand img { width: 38px; height: 38px; }
  .hero h1 { font-size: 4rem; }
  .hero__actions { align-items: start; gap: 1rem; flex-direction: column; }
  .hero__facts { gap: .6rem 1rem; }
  .hero__facts span { font-size: .62rem; }
  .hero__facts strong { font-size: 1.35rem; }
  .hero__visual-caption { font-size: .55rem; }
  .idea h2, .play h2, .kit h2, .modes h2, .roadmap h2, .faq h2 { font-size: 3.1rem; }
  .demo { padding: 1rem; box-shadow: 8px 8px 0 var(--gold); }
  .demo__label, .demo__live { font-size: .51rem; }
  .demo-die { min-width: 70px; min-height: 78px; }
  .demo-die small { font-size: .47rem; }
  .demo-die--mini { min-width: 54px; min-height: 59px; }
  .demo__meters span { font-size: .46rem; }
  .demo__meters strong { font-size: .77rem; }
  .demo__controls { grid-template-columns: 1fr; }
  .demo__reset { grid-column: 1; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 1rem; }
  .site-footer__brand { grid-column: 1; }
  .site-footer__bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
@media print {
  .site-note, .site-header, .site-footer, .rules-actions { display: none !important; }
  body { background: white; color: black; }
  .section-shell { width: 100%; }
  .rules-hero { padding-block: 0 1rem; }
  .rules-hero h1 { font-size: 3rem; }
  .rules-layout { display: block; padding: 0; }
  .rules-sidebar { position: static; margin-bottom: 1rem; padding: .7rem; color: black; background: #eee; }
  .rules-sidebar dt, .rules-sidebar p { color: black; }
  .rules-content h2 { font-size: 1.5rem; }
  .rules-content p, .rules-content li { color: black; }
}

/* Compact concept-page layout */
@media screen {
  .site-note { min-height: 28px; font-size: .63rem; }
  .site-header { min-height: 70px; }
  .hero { min-height: 0; grid-template-columns: .95fr 1fr; gap: clamp(2rem, 4vw, 4.2rem); padding-block: clamp(2.5rem, 4vw, 4rem); }
  .hero__copy { padding-block: 0; }
  .hero h1 { max-width: 10ch; margin-bottom: 1.1rem; font-size: clamp(3.7rem, 6.2vw, 6.5rem); }
  .hero__lead { max-width: 45ch; margin-bottom: 1.5rem; font-size: clamp(.98rem, 1.2vw, 1.12rem); line-height: 1.6; }
  .hero__actions { gap: 1.3rem; }
  .hero__visual { padding: 0; }
  .hero__visual::before { display: none; }
  .hero__visual-frame { border: 2px solid var(--ink); box-shadow: 9px 9px 0 var(--gold); }
  .hero__logo { width: 100%; height: auto; aspect-ratio: 3 / 2; }

  .play { grid-template-columns: .82fr 1fr; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(3.5rem, 5vw, 5rem); }
  .play h2, .kit h2, .modes h2, .status h2 { font-size: clamp(2.8rem, 4.3vw, 4.5rem); line-height: 1.03; }
  .play__intro > p:not(.eyebrow) { margin-top: 1.15rem; font-size: .95rem; line-height: 1.6; }
  .play__steps { gap: .7rem; margin: 1.7rem 0 1.4rem; }
  .play__steps li { grid-template-columns: 32px 1fr; gap: .7rem; font-size: .86rem; line-height: 1.45; }
  .play__steps li span { font-size: 1.2rem; }
  .demo { padding: 1.35rem; box-shadow: 9px 9px 0 var(--gold); }
  .demo__top { padding-bottom: .7rem; }
  .demo__score { padding: 1.1rem .5rem .9rem; }
  .demo__score strong { font-size: clamp(4.3rem, 5.5vw, 5.5rem); }
  .demo-die { min-width: 82px; min-height: 88px; }
  .demo-die strong { font-size: 2.15rem; }
  .demo-die--mini { min-width: 64px; min-height: 66px; }
  .demo-die--mini strong { font-size: 1.5rem; }
  .demo__meters { margin-top: 1.1rem; padding-block: .7rem; }
  .demo__message { min-height: 3.1rem; padding: .8rem .1rem .6rem; font-size: .82rem; }
  .demo__controls .button { min-height: 42px; font-size: .72rem; }
  .demo__reset { grid-column: auto; }
  .demo__note { margin-top: .7rem; font-size: .65rem; }

  .kit { padding-block: clamp(3.5rem, 5vw, 5rem); }
  .kit__heading, .modes__heading { margin-bottom: 1.7rem; }
  .kit__heading > p, .modes__heading > p { max-width: 35ch; font-size: .9rem; line-height: 1.5; }
  .kit-card { min-height: 208px; justify-content: space-between; padding: 1.25rem; border-width: 1px; }
  .kit-card__number { font-size: 4.5rem; line-height: .9; letter-spacing: -.1em; }
  .kit-card h3 { margin: 0 0 .35rem; font-size: 1.35rem; }
  .kit-card p { font-size: .83rem; line-height: 1.42; }
  .kit__footnote { margin-top: .9rem; font-size: .77rem; line-height: 1.5; }

  .modes { padding-block: clamp(3.5rem, 5vw, 5rem); }
  .modes__grid { gap: .75rem; }
  .mode-card { min-height: 155px; padding: 1.2rem; }
  .mode-card--featured { border-color: var(--gold); background: var(--gold); color: var(--ink); }
  .mode-card--featured .mode-card__index, .mode-card--featured p { color: var(--ink); }
  .mode-card__index { font-size: .57rem; }
  .mode-card h3 { margin: .7rem 0 .4rem; font-size: 1.55rem; }
  .mode-card p { margin: 0; font-size: .82rem; line-height: 1.45; }

  .status { width: 100%; max-width: none; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; padding: clamp(3.3rem, 5vw, 5rem) max(1.75rem, calc((100vw - 1340px) / 2)); background: #efdfbb; }
  .status h2 { max-width: 15ch; margin: 0; }
  .status h2 em { color: var(--orange); }
  .status > div:last-child p { max-width: 50ch; margin-bottom: 1.15rem; color: var(--ink-soft); font-size: .95rem; line-height: 1.6; }
  .status > div:last-child strong { color: var(--ink); }

  .site-footer { padding-top: 0; }
  .site-footer__inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.5rem; }
  .site-footer__inner p { margin: 0; font-size: .78rem; }
  .site-footer__links { display: flex; gap: 1.4rem; }
}
@media screen and (max-width: 760px) {
  .site-header { min-height: 66px; }
  .hero, .play, .status { grid-template-columns: 1fr; }
  .hero { gap: 2rem; padding-block: 2.5rem 3rem; }
  .hero h1 { max-width: 10ch; font-size: clamp(3.6rem, 11vw, 5.5rem); }
  .hero__visual { width: min(100%, 600px); }
  .play { gap: 2rem; padding-block: 3rem 3.5rem; }
  .play__steps { grid-template-columns: repeat(3, 1fr); gap: .8rem; }
  .play__steps li { display: block; font-size: .78rem; }
  .play__steps li span { display: block; margin-bottom: .35rem; }
  .kit__grid { grid-template-columns: repeat(3, 1fr); gap: .55rem; }
  .kit-card { min-height: 205px; padding: .9rem; }
  .kit-card__number { font-size: 3.3rem; }
  .kit-card h3 { font-size: 1rem; }
  .kit-card p { font-size: .74rem; }
  .modes__grid { grid-template-columns: repeat(2, 1fr); }
  .status { gap: 1.6rem; padding-inline: max(1rem, calc((100vw - 600px) / 2)); }
  .site-footer__inner { display: grid; grid-template-columns: 1fr auto; }
  .site-footer__inner p { grid-column: 1; }
  .site-footer__links { grid-column: 2; grid-row: 1 / span 2; flex-direction: column; }
}
@media screen and (max-width: 520px) {
  .hero h1 { font-size: clamp(3.25rem, 13vw, 4.6rem); }
  .hero__actions { flex-direction: row; align-items: center; }
  .play__steps { grid-template-columns: 1fr; gap: .6rem; }
  .play__steps li { display: grid; grid-template-columns: 30px 1fr; font-size: .82rem; }
  .play__steps li span { margin: 0; }
  .demo { padding: 1rem; }
  .demo__dice { gap: .35rem; }
  .demo-die { min-width: 67px; min-height: 74px; }
  .demo-die small { font-size: .44rem; }
  .demo-die strong { font-size: 1.7rem; }
  .demo-die--mini { min-width: 51px; min-height: 55px; }
  .demo-die--mini strong { font-size: 1.35rem; }
  .demo__plus { font-size: 1.2rem; }
  .demo__meters span { font-size: .47rem; }
  .demo__controls { grid-template-columns: 1fr 1fr; }
  .demo__controls .button { font-size: .68rem; }
  .kit__grid { grid-template-columns: 1fr; gap: .55rem; }
  .kit-card { min-height: 100px; display: grid; grid-template-columns: 64px 1fr; gap: .8rem; align-items: center; }
  .kit-card__number { font-size: 3.25rem; }
  .kit-card h3 { font-size: 1.1rem; }
  .kit-card p { font-size: .8rem; }
  .modes__grid { grid-template-columns: 1fr; }
  .mode-card { min-height: 112px; }
  .mode-card h3 { margin: .35rem 0 .25rem; font-size: 1.35rem; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__inner p, .site-footer__links { grid-column: 1; grid-row: auto; }
  .site-footer__links { flex-direction: row; }
}
@media screen and (max-width: 520px) {
  .hero { padding-bottom: 2rem; }
  .play { padding-top: 2.2rem; }
  .modes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mode-card { min-height: 144px; padding: .8rem; }
  .mode-card__index { font-size: .5rem; }
  .mode-card h3 { font-size: 1.13rem; line-height: 1.1; }
  .mode-card p { font-size: .72rem; line-height: 1.35; }
  .status { padding-block: 2.8rem; }
}
@media screen and (max-width: 370px) {
  .hero h1 { font-size: 2.95rem; }
  .modes__grid { grid-template-columns: 1fr; }
  .mode-card { min-height: 102px; }
}
