:root { color-scheme: light; --background: #fff9f0; --surface: #fff; --ink: #25304a; --muted: #565e76; --outline: #e5ddcb; --teal: #00574b; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--ink); font: 1rem/1.75 "Segoe UI", system-ui, sans-serif; }
a { color: var(--teal); text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { color: #c94a18; }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
header, main, footer { width: min(100% - 2.5rem, 54rem); margin-inline: auto; }
header { padding: 1.75rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.brand { color: var(--ink); font-size: 1.65rem; font-weight: 800; text-decoration: none; line-height: 1.3; }
.brand small { display: block; color: var(--muted); font-size: .875rem; font-weight: 400; margin-top: .3rem; }
nav { display: flex; gap: .4rem; flex-wrap: wrap; }
nav a { display: inline-block; min-height: 3rem; padding: .5rem .9rem; border: 1px solid transparent; border-radius: .5rem; text-decoration: none; }
nav a:hover { background: #f7f3ea; }
nav [aria-current="page"] { background: #e7f5f2; border-color: #bfded6; font-weight: 700; }
main { padding: clamp(1.25rem, 4vw, 2.5rem); background: var(--surface); border: 1px solid var(--outline); border-radius: .5rem; box-shadow: 0 3px 12px #25304a06; }
h1 { font-size: clamp(2.25rem, 7vw, 3.5rem); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 1.5rem; }
h2 { font-size: 1.35rem; line-height: 1.4; margin: 2.5rem 0 .75rem; }
p { margin: 0 0 1.25rem; overflow-wrap: break-word; }
li { margin-bottom: .5rem; }
.updated { color: var(--muted); font-size: .875rem; }
aside { border-top: 1px solid var(--outline); margin-top: 3rem; }
footer { padding: 2rem 0; color: var(--muted); font-size: .875rem; }
footer p { margin-bottom: .5rem; }
.skip { position: absolute; left: 1rem; top: -8rem; background: var(--surface); padding: .75rem; z-index: 2; }
.skip:focus { top: 1rem; }
@media (max-width: 30rem) { header, main, footer { width: calc(100% - 2rem); } header { gap: 1rem; } nav { width: 100%; } nav a { flex: 1; text-align: center; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Homepage components share the policy page's colours and typography. */
.home { padding: 0; border: 0; background: transparent; box-shadow: none; display: grid; gap: 1.25rem; }
.home section { padding: clamp(1.25rem, 4vw, 2.5rem); background: var(--surface); border: 1px solid var(--outline); border-radius: .5rem; box-shadow: 0 3px 12px #25304a06; }
.home section h2 { margin-top: 0; }
.home section > :last-child { margin-bottom: 0; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 13rem; align-items: center; gap: 2rem; border-top: 4px solid #c94a18 !important; }
.eyebrow { color: var(--teal); font-size: .875rem; font-weight: 700; }
.lead { font-size: clamp(1.25rem, 3vw, 1.55rem); line-height: 1.5; }
.actions { display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; }
.actions > a { padding-block: .7rem; }
.button { display: inline-block; min-height: 3rem; padding: .7rem 1.25rem; background: #c94a18; color: #fff; border: 1px solid #b74112; border-radius: .5rem; text-decoration: none; font-weight: 700; }
.button:hover { background: #b74112; color: #fff; }
.platform, .publisher { color: var(--muted); font-size: .875rem; }
.platform { margin: 1.25rem 0 0; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.features h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.features p { margin-bottom: 0; }
.games { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.games li { padding: 1rem; margin: 0; background: #f7f3ea; border: 1px solid var(--outline); border-radius: .5rem; font-weight: 700; overflow-wrap: anywhere; }
.games small { display: block; color: var(--muted); font-weight: 400; }
.game-art { padding: 1rem; background: #e7f5f2; border-radius: 1rem; transform: rotate(5deg); }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.board span { position: relative; aspect-ratio: 1; background: #fff; border-radius: .5rem; }
.cross::before, .cross::after { content: ""; position: absolute; width: 65%; height: 10%; top: 45%; left: 17.5%; background: var(--teal); border-radius: .25rem; transform: rotate(45deg); }
.cross::after { transform: rotate(-45deg); }
.ring::before { content: ""; position: absolute; inset: 20%; border: .3rem solid #c94a18; border-radius: 50%; }
@media (max-width: 42rem) { .hero { grid-template-columns: 1fr; } .game-art { display: none; } .features { grid-template-columns: 1fr; } .games { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 22rem) { .games { grid-template-columns: 1fr; } }
