:root {
  --cream: #f3e7c9;
  --cream-2: #f8f0db;
  --ink: #3a3326;
  --purple: #8e6a9e;
  --green: #386d34;
  --gold: #d9a52a;
  --blue: #4f86a8;
  --bg: #efe4cb;
  --tile-sh: rgba(58, 51, 38, .22);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  background-image: linear-gradient(rgba(58,51,38,.04) 1px, transparent 1px), linear-gradient(90deg,rgba(58,51,38,.04) 1px, transparent 1px), radial-gradient(1200px 600px at 50% -10%, var(--cream-2), transparent 60%);
  background-size: 44px 44px, 44px 44px, auto;
  padding: 32px 20px;
  line-height: 1.65;
  font-size: 1rem;
}
[hidden] { display: none !important; }
a { color: var(--green); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.skip-link { position: absolute; left: 20px; top: -100px; padding: 12px; background: var(--cream-2); z-index: 20; }
.skip-link:focus { top: 8px; }
.site-header, main, footer { max-width: 1000px; margin-inline: auto; }
.brand { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; text-decoration: none; }
.brand .word { display: flex; gap: 8px; }
.tile {
  width: clamp(34px, 8vw, 56px); height: clamp(34px, 8vw, 56px);
  display: grid; place-items: center; background: var(--cream); border-radius: 8px;
  box-shadow: 0 3px 0 var(--tile-sh), inset 0 0 0 1px rgba(255,255,255,.5);
  font-family: Georgia, "Times New Roman", serif; font-weight: 700;
  font-size: clamp(20px, 5vw, 34px); line-height: 1; user-select: none;
}
.tile:nth-child(5n+1), .tile:nth-child(5n+5) { color: var(--purple); }
.tile:nth-child(5n+2) { color: var(--green); }
.tile:nth-child(5n+3) { color: var(--gold); }
.tile:nth-child(5n+4) { color: var(--blue); }
.tile:nth-child(odd) { transform: rotate(-2deg); }
.tile:nth-child(even) { transform: rotate(1.5deg); }
.navigation { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 32px; margin-top: 28px; }
.site-nav, .lang { display: flex; align-items: center; gap: 12px; }
.site-nav a { color: var(--ink); padding: 8px; text-decoration: none; }
.site-nav a[aria-current="page"] { border-bottom: 2px solid var(--purple); font-weight: 700; }
.lang button { font-size: 22px; padding: 6px 8px; border: 1px solid transparent; border-radius: 10px; background: rgba(255,255,255,.5); cursor: pointer; }
.lang button[aria-pressed="true"] { border-color: var(--purple); box-shadow: 0 2px 8px rgba(58,51,38,.15); }
.hero { max-width: 820px; margin: 56px auto; text-align: center; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 24px; }
h2 { font-size: clamp(1.65rem, 4vw, 2.25rem); margin-bottom: 24px; }
h3 { font-size: 1.35rem; margin-bottom: 14px; }
p { margin-bottom: 18px; }
.hero p { max-width: 720px; margin-inline: auto; font-size: 1.125rem; text-wrap: pretty; }
.home-hero, .home-hero p { max-width: none; }
.home-hero h1 { max-width: 820px; margin-inline: auto; }
.hero-icon { border-radius: 20%; margin-bottom: 20px; }
.section { margin-block: 52px; }
.section > h2 { text-align: center; }
.games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.card { background: var(--cream-2); border-radius: 22px; padding: clamp(24px, 4vw, 36px); box-shadow: 0 12px 36px rgba(58,51,38,.16), inset 0 0 0 1px rgba(255,255,255,.6); }
.app { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 24px; }
.app > img { border-radius: 20%; box-shadow: 0 4px 14px rgba(58,51,38,.18); }
.app h3 { color: var(--purple); font-size: 2.4rem; margin: 0; }
.app:has(.logo) { flex-wrap: nowrap; }
.app:has(.logo) > img { flex-shrink: 0; }
.app h3:has(.logo) { min-width: 0; }
.logo { display: block; width: 220px; max-width: 100%; height: auto; }
.button { display: inline-block; background: var(--green); color: white; padding: 12px 24px; border-radius: 10px; border: 0; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; margin: 8px 0; }
.button:hover { background: #2d582a; }
.button:disabled { opacity: .6; cursor: default; }
#duplics > .button { display: table; margin-inline: auto; text-align: center; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin-top: 20px; }
.store-badge { display: inline-block; max-width: 100%; }
.store-badge img { height: 52px; width: auto; max-width: 100%; display: block; }
.coming-soon { font-weight: 700; margin-top: 26px; }
.small { font-size: .875rem; }
.prose { max-width: 740px; margin-inline: auto; }
.feature { margin-block: 30px; }
.final-cta { text-align: center; border-block: 1px solid var(--tile-sh); padding-block: 36px; }
.faq-item { padding-block: 24px; border-bottom: 1px solid var(--tile-sh); }
.faq-item p:last-child { margin: 0; }
.contact-card { max-width: 640px; margin-inline: auto; }
label { display: block; margin: 16px 0 6px; font-weight: 700; }
input, textarea, select { width: 100%; padding: 12px; border: 1px solid var(--tile-sh); border-radius: 8px; background: var(--cream); color: var(--ink); font: inherit; }
textarea { min-height: 160px; resize: vertical; }
.hp { position: absolute; left: -9999px; top: -9999px; }
.cf-turnstile { margin-block: 20px; }
#status { margin-top: 16px; font-weight: 700; }
#status.ok { color: var(--green); }
#status.err { color: #963737; }
.toast { position: fixed; bottom: 24px; right: 24px; z-index: 100; width: min(440px, calc(100% - 32px)); display: flex; align-items: flex-start; gap: 16px; padding: 20px; background: var(--cream-2); color: var(--ink); border: 2px solid var(--green); border-radius: 14px; box-shadow: 0 8px 28px rgba(58,51,38,.2); }
.toast[hidden] { display: none; }
.toast p { margin: 0; }
.toast button { flex-shrink: 0; background: transparent; border: 0; color: var(--ink); font: inherit; font-size: 24px; line-height: 1; padding: 8px; cursor: pointer; }
.toast button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
footer { text-align: center; margin-top: 48px; font-size: .875rem; overflow-wrap: anywhere; }
@media (max-width: 720px) {
  body { padding: 24px 16px; }
  .games { grid-template-columns: 1fr; }
  .hero { margin-block: 36px; }
  .section { margin-block: 36px; }
  .card { padding: 24px 20px; }
  .navigation { gap: 12px; }
}
