/* Jade Pavilion Games. Design by ChatGPT ("Design Game Label Website", 11/27/2026): White Jade & Imperial Ink.
   Fonts are served from this site (Cormorant Garamond and Inter, SIL Open Font License): nothing loads from other companies. */
@import url(/fonts/fonts.css);

:root {
  --jade: #202332;           /* Midnight Ink: header, footer, headings, primary buttons */
  --jade-2: #34394D;         /* Imperial Slate: hover, dark surfaces */
  --emerald: #59476F;        /* Lavender Ink: links, secondary accents */
  --gold: #D6B477;           /* Champagne gold: emblem, lines, accents on dark */
  --gold-soft: #EBD9B0;
  --gold-text: #80601D;      /* gold for small text on light backgrounds (AA) */
  --ivory: #FAF6EC;          /* White Jade: page background */
  --paper: #FFFCF8;          /* Porcelain: cards and panels */
  --pale-jade: #F0ECF5;      /* Lavender Mist: alternating sections, badges, safe panels */
  --mist: #F0ECF5;
  --lavender: #C9C1D8;       /* Lavender Jade: details, muted text on dark */
  --plum: #5A2D7A;
  --red: #C84B3C;
  --ink: #30313B;
  --muted: #626474;
  --line: #DDD6E3;
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --r-card: 16px;
  --r-panel: 22px;
  --shadow: 0 6px 20px rgba(32, 35, 50, .08);
  --shadow-up: 0 12px 30px rgba(32, 35, 50, .16);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald); text-underline-offset: 3px; }
a:hover { color: var(--jade); }
:focus-visible { outline: 3px solid var(--emerald); outline-offset: 3px; border-radius: 6px; }
.site-header :focus-visible, .site-footer :focus-visible, .game-hero :focus-visible { outline-color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--jade); line-height: 1.12; margin: 0 0 .4em; letter-spacing: -.005em; }
h1 { font-size: clamp(38px, 5vw, 56px); }
h2 { font-size: clamp(30px, 3.4vw, 40px); }
h3 { font-size: clamp(24px, 2vw, 26px); line-height: 1.2; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 48px); margin: 0 auto; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--jade); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 12px; }
.ic { width: 20px; height: 20px; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--jade); border-bottom: 1px solid rgba(214, 180, 119, .55); box-shadow: 0 4px 12px rgba(32, 35, 50, .08); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.emblem { width: 48px; height: 48px; flex: none; }
.word { display: flex; flex-direction: column; line-height: 1; }
.word b { font: 700 27px/1 var(--serif); letter-spacing: .005em; }
.word small { font: 600 11px/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; color: var(--gold); margin-top: 6px; display: flex; align-items: center; gap: 8px; }
.word small::before, .word small::after { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .8; }
.nav { display: flex; gap: 6px; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid transparent; transition: background .15s, border-color .15s, color .15s; }
.nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav a[aria-current="page"] { border-color: var(--gold); color: var(--gold); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; color: #fff; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu[open] summary { background: rgba(255, 255, 255, .1); }
.menu nav { position: absolute; right: 0; top: 56px; background: var(--jade); border: 1px solid rgba(214, 180, 119, .5); border-radius: 16px; padding: 8px; min-width: 220px; box-shadow: var(--shadow-up); display: grid; }
.menu nav a { color: #fff; text-decoration: none; padding: 12px 16px; border-radius: 10px; font-weight: 500; }
.menu nav a[aria-current="page"] { color: var(--gold); background: rgba(214, 180, 119, .1); }

/* ---------- Buttons, badges, tags ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 15px/1 var(--sans); text-decoration: none; border: 1.5px solid var(--jade); background: var(--jade); color: #fff; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { color: #fff; background: var(--emerald); border-color: var(--emerald); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn .ic { width: 18px; height: 18px; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--jade); }
.btn.gold:hover { background: #E2C48C; border-color: #E2C48C; color: var(--jade); }
.btn.line { background: transparent; color: var(--jade); border-color: var(--jade); }
.btn.line:hover { background: rgba(89, 71, 111, .07); color: var(--jade); }
.btn.line.light { color: #fff; border-color: rgba(255, 255, 255, .75); }
.btn.line.light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn.store { background: #111; border-color: #111; flex-direction: column; align-items: flex-start; gap: 2px; padding: 0 22px; font-size: 18px; letter-spacing: -.01em; }
.btn.store small { font-size: 11px; font-weight: 500; letter-spacing: .02em; opacity: .9; }
.btn.store:hover { background: #000; border-color: #000; }
.store-badge { display: inline-flex; align-items: center; border-radius: 10px; }
.store-badge img { height: 48px; width: auto; display: block; }
.store-badge:hover img { opacity: .88; }
.game-hero .store-badge img { height: 52px; }
.btn.soon { background: #F5E7C9; border-color: #E9D3A3; color: #634715; cursor: default; font-size: 15px; }
.btn.soon:hover { transform: none; box-shadow: none; color: #634715; background: #F5E7C9; border-color: #E9D3A3; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 7px; font: 700 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 8px 13px; border-radius: 999px; }
.badge .ic { width: 15px; height: 15px; }
.badge.live { background: rgba(32, 35, 50, .92); color: var(--gold-soft); border: 1px solid rgba(214, 180, 119, .6); }
.badge.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(214, 180, 119, .3); }
.badge.soon { background: #F5E7C9; color: #634715; border: 1px solid #E9D3A3; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--sans); padding: 7px 12px; border-radius: 999px; background: var(--pale-jade); color: var(--emerald); }
.tag .ic { width: 15px; height: 15px; }

/* ---------- Section titles ---------- */
.block { padding: 72px 0; }
.block.tint { background: linear-gradient(180deg, #F3EFF6, var(--ivory)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-title { text-align: center; margin: 0 auto 40px; max-width: 760px; }
.sec-title h2, .sec-title h1 { display: flex; align-items: center; justify-content: center; gap: 22px; margin-bottom: 6px; }
.sec-title h2::before, .sec-title h2::after { content: ""; flex: 1; max-width: 150px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.sec-title h2::after { background: linear-gradient(90deg, var(--gold), transparent); }
.lotus { width: 34px; height: 17px; color: var(--gold); display: block; margin: 0 auto; }
.sec-title .sub { color: var(--muted); margin: 14px 0 0; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; min-height: 600px; display: flex; align-items: center; background: var(--ivory); }
.hero-art img { position: absolute; top: 0; right: 0; bottom: 0; width: 68%; height: 100%; object-fit: cover; object-position: 78% 50%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%); mask-image: linear-gradient(90deg, transparent 0, #000 28%); }
@media (max-width: 1280px) and (min-width: 761px) { .hero-art img { width: 58%; object-position: 85% 50%; } .hero .hero-copy > * { max-width: 40vw; } }
.hero::after { content: ""; position: absolute; inset: 0; background: none; }
.hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, transparent, var(--ivory)); z-index: 1; }
.hero-copy { position: relative; z-index: 2; padding: 72px 0 96px; }
.hero-copy > * { max-width: 600px; }
.hero h1 { font-size: clamp(40px, 5vw, 64px); }
.lead { font-size: 19px; color: var(--ink); }
.pills { list-style: none; padding: 0; margin: 22px 0 30px; display: flex; flex-wrap: wrap; gap: 10px; max-width: 640px; }
.pills li { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--sans); color: var(--jade); background: rgba(255, 253, 248, .9); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; }
.pills .ic { width: 17px; height: 17px; color: var(--gold-text); }

/* ---------- Game cards ---------- */
.grid { display: grid; gap: 28px; }
.games-1 { grid-template-columns: minmax(0, 620px); justify-content: center; }
.games-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.games-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.game-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.game-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.game-card .art { position: relative; display: block; aspect-ratio: 2.1 / 1; overflow: hidden; border-bottom: 1px solid var(--line); }
.game-card .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.game-card:hover .art img { transform: scale(1.03); }
.game-card .body { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.game-card .name { display: flex; align-items: center; gap: 14px; margin: -50px 0 12px; }
.game-card .name img { width: 64px; height: 64px; border-radius: 15px; border: 3px solid var(--paper); box-shadow: 0 4px 12px rgba(0, 0, 0, .18); position: relative; z-index: 1; }
.game-card .name h2, .game-card .name h3 { margin: 26px 0 0; font-size: 28px; }
.game-card .name a { color: var(--jade); text-decoration: none; }
.game-card .name a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.game-card p { color: var(--muted); font-size: 16px; }
.game-card .actions .btn.line:only-child { min-width: 150px; }
.game-card .actions { margin-top: auto; }
.game-card .btn { min-height: 48px; padding: 0 20px; font-size: 16px; }
.game-card .btn.store { font-size: 17px; }

/* ---------- Promises ---------- */
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.promise { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px 24px; }
.promise .ic { width: 38px; height: 38px; color: var(--gold-text); stroke-width: 1.4; margin-bottom: 14px; }
.promise h3 { font-size: 22px; }
.promise p { color: var(--muted); font-size: 16px; margin: 0; }

.coming { display: flex; align-items: center; justify-content: space-between; gap: 28px; background: linear-gradient(100deg, var(--paper) 55%, var(--pale-jade)); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 38px 44px; position: relative; overflow: hidden; }
.coming > * { position: relative; }
.coming h2 { font-size: 34px; }
.coming p { margin: 0; color: var(--muted); max-width: 560px; }

/* ---------- Page head (Games, legal, support) ---------- */
.page-head { position: relative; text-align: center; padding: 64px 0 52px; background: var(--ivory) url(/img/jade-hero.jpg) center 62% / cover; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(250, 246, 236, .78), rgba(250, 246, 236, .93)); }
.page-head .wrap { position: relative; }
.page-head h1 { margin-bottom: 8px; }
.page-head p { color: #3D3F4B; margin: 12px 0 0; font-size: 18px; }

/* ---------- Games page filters (CSS only, no JavaScript) ---------- */
.filterable > input { position: absolute; opacity: 0; pointer-events: none; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 34px; }
.filters label { cursor: pointer; font-weight: 600; padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--jade); }
#k-all:checked ~ .filters label[for=k-all] { background: var(--jade); color: #fff; border-color: var(--jade); }
.filterable > input:focus-visible + * , .filterable > input:focus-visible ~ .filters { outline: none; }

/* ---------- Game page ---------- */
.game-hero { position: relative; color: #fff; background: var(--jade) var(--art) right -140px center / auto 100% no-repeat; overflow: hidden; }
.game-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #1A1C29 0%, #1A1C29 36%, rgba(26, 28, 41, .8) 48%, rgba(26, 28, 41, .15) 64%, rgba(26, 28, 41, 0) 78%); }
.game-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-soft), var(--gold)); }
.game-hero .wrap { position: relative; display: flex; gap: 32px; align-items: flex-start; padding: 80px 0 88px; min-height: 480px; }
.app-icon { width: 112px; height: 112px; border-radius: 28px; border: 3px solid var(--gold); box-shadow: 0 10px 28px rgba(0, 0, 0, .35); flex: none; }
.game-hero .copy { max-width: 500px; }
.game-hero h1 { font-size: clamp(40px, 5vw, 60px); }
.game-hero h1 { color: #fff; margin-bottom: 4px; }
.tagline { font: italic 600 clamp(22px, 2.2vw, 26px)/1.25 var(--serif); color: var(--gold); margin: 0 0 18px; }
.game-hero .lead { color: rgba(255, 255, 255, .92); font-size: 17.5px; line-height: 1.6; }
.chips { list-style: none; padding: 0; margin: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { font: 600 14px/1 var(--sans); padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(214, 180, 119, .7); color: #fff; background: rgba(26, 28, 41, .55); }
.chips li.state { background: var(--gold); color: var(--jade); border-color: var(--gold); }
.game-hero .btn.soon { font-size: 16px; }

.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.shots figure { margin: 0; text-align: center; }
.shot { border-radius: 22px; width: 100%; max-width: 260px; margin: 0 auto; aspect-ratio: 506 / 1100; object-fit: cover; box-shadow: var(--shadow-up); border: 1px solid var(--line); }
.shots figcaption { margin-top: 18px; color: var(--muted); font-size: 15px; }
.shots figcaption b { display: block; font: 700 22px/1.2 var(--serif); color: var(--jade); margin-bottom: 4px; }

.feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.feat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px 24px; }
.feat.safe { background: var(--pale-jade); border-color: #CFC5DD; }
.feat h3 { font-size: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.feat ul { margin: 0; padding: 0; list-style: none; }
.feat li { position: relative; padding-left: 22px; margin: 10px 0; font-size: 16px; line-height: 1.6; color: #3D3F4B; }
.feat li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--gold); }
.note { text-align: center; color: var(--muted); font-size: 15px; margin: 28px 0 0; }

.links3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.links3 a { display: flex; align-items: center; gap: 16px; padding: 22px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); text-decoration: none; color: var(--muted); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.links3 a:hover { transform: translateY(-2px); box-shadow: var(--shadow-up); color: var(--muted); }
.links3 .ic { width: 34px; height: 34px; color: var(--gold-text); stroke-width: 1.5; }
.links3 span { flex: 1; font-size: 15px; line-height: 1.4; }
.links3 b { display: block; font: 700 22px/1.2 var(--serif); color: var(--jade); margin-bottom: 2px; }
.links3 .go { width: 22px; height: 22px; color: var(--emerald); }

/* ---------- Legal & support ---------- */
.prose { padding: 56px 0 80px; }
.prose.narrow { max-width: 820px; }
.prose h2 { font-size: 32px; margin: 1.6em 0 .5em; padding-top: 10px; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 26px; margin: 1.4em 0 .5em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin: .45em 0; }
.prose li::marker { color: var(--gold-text); }
.doc { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 44px; align-items: start; }
.doc .prose { padding-top: 48px; max-width: 75ch; font-size: 17px; line-height: 1.7; }
.prose h2[id], .prose h3[id] { scroll-margin-top: 100px; }
.side { position: sticky; top: 100px; margin-top: 48px; display: grid; gap: 20px; max-height: calc(100vh - 120px); overflow: auto; }
.toc-m { display: none; }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.toc b { display: block; background: var(--jade); color: #fff; font: 700 21px/1 var(--serif); padding: 16px 20px; }
.toc ol { margin: 0; padding: 10px 10px 12px 34px; font-size: 15px; }
.toc li { margin: 2px 0; padding: 5px 4px; }
.toc li::marker { color: var(--gold-text); font-weight: 600; }
.toc ul { list-style: none; margin: 4px 0 0; padding-left: 12px; border-left: 2px solid var(--line); }
.toc ul li { padding: 3px 4px; }
.toc a { color: var(--jade); text-decoration: none; }
.toc a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.help { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; font-size: 15px; }
.help b { font: 700 21px/1.2 var(--serif); color: var(--jade); }
.help p { color: var(--muted); margin: 6px 0 12px; }
.help a { display: flex; align-items: center; gap: 8px; padding: 9px 12px; margin-top: 8px; border-radius: 12px; background: var(--pale-jade); color: var(--jade); font-weight: 600; text-decoration: none; word-break: break-all; }
.help a .ic { width: 18px; height: 18px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; box-shadow: var(--shadow); }
.card b { font: 700 25px/1.2 var(--serif); color: var(--jade); }
.card p { color: var(--muted); margin: 8px 0 18px; }
details:not(.menu) { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; margin: 12px 0; padding: 0 22px; }
details:not(.menu) summary { cursor: pointer; font-weight: 600; color: var(--jade); padding: 18px 0; list-style-position: outside; }
details:not(.menu) summary::marker { color: var(--gold-text); }
details:not(.menu)[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 14px; }

/* game sections inside the privacy policy */
.prose h3[id] { scroll-margin-top: 100px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--jade); color: var(--lavender); border-top: 3px solid var(--gold); padding: 56px 0 28px; font-size: 14px; }
.site-footer > .wrap:first-child { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.f-brand p { margin: 16px 0 0; max-width: 440px; }
.f-col { display: grid; gap: 10px; align-content: start; }
.f-col b { color: var(--gold); font: 700 20px/1 var(--serif); margin-bottom: 4px; }
.f-col a { color: #fff; text-decoration: none; }
.f-col a:hover { color: var(--gold-soft); text-decoration: underline; }
.fine { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(214, 180, 119, .3); font-size: 13.5px; color: var(--lavender); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .games-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises, .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .menu { display: block; }
  .doc { grid-template-columns: 1fr; gap: 0; }
  .side { position: static; margin-top: 28px; max-height: none; }
  .side .toc { display: none; }
  .toc-m { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 0 18px; margin: 0; }
  .toc-m summary { font: 700 20px/1 var(--serif); color: var(--jade); padding: 16px 0; cursor: pointer; }
  .toc-m ol { margin: 0 0 14px; padding-left: 26px; font-size: 15px; }
  .toc-m li { margin: 6px 0; }
  .toc-m ul { list-style: none; padding-left: 12px; }
  .doc .prose { padding-top: 32px; }
  .links3 { grid-template-columns: 1fr; }
  .site-footer > .wrap:first-child { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: min(1200px, 100% - 40px); }
  .bar { height: 64px; }
  .emblem { width: 42px; height: 42px; }
  .word b { font-size: 24px; }
  .block { padding: 44px 0; }
  .game-card .body { padding: 18px 20px 22px; }
  .btn { font-size: 16px; }
  .doc .prose { font-size: 16px; }
  .hero { display: block; min-height: 0; }
  .hero-art img { position: static; width: 100%; height: 230px; object-position: 80% 50%; -webkit-mask-image: none; mask-image: none; }
  .hero::after { display: none; }
  .hero::before { top: 150px; bottom: auto; height: 80px; }
  .hero-copy { padding: 8px 0 52px; text-align: center; }
  .hero-copy > * { margin-left: auto; margin-right: auto; }
  .pills, .hero .actions { justify-content: center; }
  .hero .actions .btn { width: 100%; }
  .games-2, .games-3, .cards { grid-template-columns: 1fr; }
  .promises { grid-template-columns: 1fr; gap: 14px; }
  .promise { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 18px; }
  .promise .ic { grid-row: span 2; margin: 2px 0 0; width: 40px; height: 40px; }
  .promise h3 { font-size: 21px; margin-bottom: 2px; }
  .coming { flex-direction: column; align-items: flex-start; padding: 28px 24px; background-size: auto 100%; }
  .game-hero { background-size: auto 300px; background-position: 62% top; }
  .game-hero::before { background: linear-gradient(180deg, rgba(26, 28, 41, .35) 0%, rgba(26, 28, 41, .85) 32%, rgba(26, 28, 41, .97) 60%); }
  .game-hero .wrap { flex-direction: column; align-items: center; text-align: center; padding: 120px 0 52px; gap: 18px; }
  .app-icon { width: 96px; height: 96px; border-radius: 22px; }
  .chips, .game-hero .actions { justify-content: center; }
  .game-hero .actions .btn { width: 100%; }
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; padding: 4px 4px 18px; margin: 0 -16px; padding-left: 16px; }
  .shots figure { flex: 0 0 66%; scroll-snap-align: center; }
  .feats { grid-template-columns: 1fr; }
  .page-head { padding: 44px 0 36px; }
  .site-footer > .wrap:first-child { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ---------- Answers for search and answer engines: a plain definition and visible questions ---------- */
.block.intro { padding: 56px 0 0; }
.what { max-width: 860px; margin: 0 auto; text-align: center; }
.what h2 { font-size: clamp(28px, 3vw, 36px); }
.what p { font-size: 18px; line-height: 1.7; color: #3D3F4B; margin: 0; }
.faqs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1080px; margin: 0 auto; }
.qa { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 24px; }
.qa h3 { font-size: 22px; margin-bottom: 8px; }
.qa p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
@media (max-width: 760px) { .faqs { grid-template-columns: 1fr; gap: 14px; } .qa { padding: 18px 20px; } .block.intro { padding-top: 40px; } }

/* ---------- Motion, "The Living Pavilion" (ChatGPT's spec): petals, a koi pond, ripples.
   CSS only (no JavaScript), transforms and opacity only, off for reduced motion, pausable from the footer. ---------- */
.petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; user-select: none; z-index: 1; --fall: 680px; }
.page-head .petals { --fall: 320px; }
.page-head .wrap { z-index: 2; }
.petal { position: absolute; top: -24px; left: var(--x); width: var(--s); height: calc(var(--s) * .78); opacity: 0;
  animation: petal-fall var(--d) linear var(--t) infinite; }
.petal::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, #FFF0F5 0%, var(--c) 70%);
  animation: petal-sway calc(var(--d) / 3) ease-in-out var(--t) infinite alternate; }
.petal.s0::before { border-radius: 80% 0 70% 45% / 70% 0 80% 45%; }
.petal.s1::before { border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%; }
.petal.s2::before { border-radius: 100% 0 100% 0; }
@keyframes petal-fall {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  10% { opacity: var(--o); }
  85% { opacity: var(--o); }
  100% { transform: translate3d(var(--dx), var(--fall), 0); opacity: 0; }
}
@keyframes petal-sway {
  0% { transform: translateX(0) rotate(0deg) rotateX(0deg); }
  50% { transform: translateX(calc(var(--sw) * .55)) rotate(calc(var(--rot) * .6)) rotateX(50deg); }
  100% { transform: translateX(var(--sw)) rotate(var(--rot)) rotateX(10deg); }
}

/* Koi pond: full bleed, just above the footer on Home */
.pond { position: relative; height: 160px; margin-top: 8px; overflow: hidden; pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 34%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 34%, #000 70%, transparent 100%); }
.site-footer { position: relative; }
.pond .water { position: absolute; inset: 0; background: linear-gradient(180deg, #E6E1EF 0%, #D2D3E7 45%, #C5C8DF 75%, #9DA5C5 100%); }
.pond .water::before { content: ""; position: absolute; top: 0; bottom: 0; left: -50%; width: 200%;
  background: radial-gradient(80px 6px at 20% 38%, rgba(248, 245, 255, .7), transparent), radial-gradient(120px 7px at 58% 60%, rgba(248, 245, 255, .55), transparent),
              radial-gradient(90px 5px at 82% 34%, rgba(214, 180, 119, .35), transparent), radial-gradient(140px 8px at 36% 80%, rgba(248, 245, 255, .45), transparent);
  background-size: 50% 100%; animation: shimmer 30s linear infinite; }
.pond .water::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 38% 70% at 72% 28%, rgba(248, 245, 255, .28), transparent 70%), radial-gradient(ellipse 30% 60% at 18% 70%, rgba(120, 127, 164, .12), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .3), transparent 40%); }
@keyframes shimmer { 0% { transform: translateX(0); opacity: .7; } 50% { opacity: 1; } 100% { transform: translateX(25%); opacity: .7; } }
.ripple { position: absolute; left: var(--x); top: var(--y); width: 96px; height: 30px; margin: -15px 0 0 -48px; border-radius: 48% 52% 50% 50% / 56% 44% 56% 44%;
  border: 1.5px solid rgba(248, 245, 255, .9); opacity: 0; animation: ripple var(--rd) ease-out var(--t) infinite; }
.ripple::after { content: ""; position: absolute; inset: 8px 22px 10px 28px; border-radius: 52% 48% 46% 54% / 50% 58% 42% 50%; border: 1px solid rgba(248, 245, 255, .75); }
@keyframes ripple { 0% { transform: scale(.15); opacity: 0; } 12% { opacity: .85; } 70%, 100% { opacity: 0; transform: scale(1.4); } }
.koi-lane { position: absolute; top: var(--y); left: 0; width: var(--w); margin-top: calc(var(--w) * -.22); animation: swim var(--d) linear var(--t) infinite; }
.koi-lane.back { animation-direction: reverse; }
@keyframes swim { 0% { transform: translateX(-170px); opacity: 0; } 4% { opacity: 1; } 96% { opacity: 1; } 100% { transform: translateX(calc(100vw + 50px)); opacity: 0; } }
.koi-bob { position: relative; animation: bob 12s ease-in-out infinite alternate; }
.koi-bob .koi-sprite { animation: sway 6.5s ease-in-out infinite alternate; }
.koi-lane.back .koi-bob { transform: scaleX(-1); animation-name: bob-back; }
@keyframes bob { from { transform: translateY(-8px); } to { transform: translateY(8px); } }
@keyframes bob-back { from { transform: scaleX(-1) translateY(-8px); } to { transform: scaleX(-1) translateY(8px); } }
@keyframes sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
.koi-sprite { position: relative; width: 100%; }
.koi-sprite::before { content: ""; position: absolute; left: 22%; top: 30%; width: 66%; height: 48%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(120, 127, 164, .22), transparent); transform: translate(6px, 12px); }
.koi-sprite img { display: block; width: 100%; height: auto; }
.koi-sprite .kb { position: relative; clip-path: inset(0 0 0 30%); }
.koi-sprite .kt { position: absolute; inset: 0; clip-path: inset(0 67% 0 0); transform-origin: 32% 50%; animation: tail var(--tl) ease-in-out infinite alternate; }
@keyframes tail { from { transform: rotate(-7deg) scaleY(.96); } to { transform: rotate(7deg) scaleY(1.02); } }
.wake { position: absolute; left: -12%; top: 42%; width: 56%; height: 36%; margin-top: -18%; border-radius: 50%; border: 1.5px solid rgba(248, 245, 255, .75);
  opacity: 0; animation: wake 3.2s ease-out infinite; }
@keyframes wake { 0% { transform: scale(.3); opacity: .75; } 100% { transform: scale(1.8); opacity: 0; } }
.float-petal { position: absolute; left: var(--x); top: var(--y); width: 11px; height: 9px; border-radius: 80% 0 70% 45% / 70% 0 80% 45%;
  background: radial-gradient(circle at 30% 30%, #FFF0F5, var(--c)); opacity: .9; animation: drift var(--d) ease-in-out var(--t) infinite alternate; }
@keyframes drift { 0% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(50px, 6px) rotate(90deg); } 100% { transform: translate(100px, -4px) rotate(170deg); } }

/* Pause control (WCAG 2.2.2): a native checkbox; :has() pauses every decorative animation, no script or storage */
.calm { display: inline-flex; align-items: center; gap: 8px; margin-right: 22px; cursor: pointer; color: #fff; font-weight: 600; }
.calm input { width: 18px; height: 18px; accent-color: var(--gold); margin: 0; }
body:has(#calm:checked) .motion, body:has(#calm:checked) .motion *, body:has(#calm:checked) .motion *::before { animation-play-state: paused !important; }

@media (max-width: 1024px) and (min-width: 761px) { .pond { height: 130px; } }
@media (max-width: 760px) {
  .pond { height: 100px; }
  .koi-lane { width: calc(var(--w) * .66); }
  .motion .desk { display: none; }
  .hero .petals { --fall: 300px; bottom: auto; height: 230px; }
  .petal { width: calc(var(--s) * .75); height: calc(var(--s) * .6); }
}
@media (prefers-reduced-motion: reduce) {
  .motion, .motion * , .motion *::before { animation: none !important; }
  .petals, .ripple, .wake, .float-petal { display: none; }
  .koi-lane { transform: translateX(24vw); }
  .koi-lane.back { transform: translateX(62vw); }
  .calm { display: none; }
}
