/* ============================================================
   Carpe Diem Works — site.css
   Landing + Games pages. (styles.css is legacy, kept for the
   privacy-policy page only — do not link both.)
   ============================================================ */

:root {
  --cream:        #FBEFD3;
  --cream-deep:   #F5E4B8;
  --paper:        #FFF8E4;
  --orange:       #E85D2F;
  --orange-deep:  #C94818;
  --navy:         #1E437A;
  --navy-deep:    #15315A;
  --night:        #131B3F;
  --night-2:      #2A1E5C;
  --yellow:       #FFB627;
  --ink:          #2A2418;
  --ink-soft:     #5A4E3A;

  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body:    "Nunito", system-ui, sans-serif;

  --wrap: 1180px;
  --nav-h: 72px;
  --r-lg: 28px;
  --r-md: 18px;
  --hero-bleed: clamp(120px, 18vh, 220px); /* how far the tile board spills into the next section */
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.wrap { width: min(var(--wrap), 100% - 3rem); margin-inline: auto; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 300;
  background: var(--navy); color: var(--paper);
  padding: .7em 1.2em; border-radius: 12px;
  font-family: var(--font-display); text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: .045;
}

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  background: var(--cream);
}
.js #preloader { display: flex; }
#preloader img { width: clamp(90px, 16vw, 140px); }
/* Safety net: if JS dies after the .js class is set, get out of the way. */
.js #preloader { animation: preloader-bail .4s ease 3s forwards; }
@keyframes preloader-bail { to { opacity: 0; visibility: hidden; } }

/* ---------- Cursor ring (desktop only, added by JS) ---------- */
#cursor {
  position: fixed; top: 0; left: 0; z-index: 250; pointer-events: none;
  width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: 2px solid var(--orange); border-radius: 50%;
  opacity: 0;
  transition: width .25s ease, height .25s ease, margin .25s ease,
              opacity .3s ease, background-color .25s ease;
}
#cursor.is-on { opacity: .9; }
#cursor.is-hover {
  width: 56px; height: 56px; margin: -28px 0 0 -28px;
  background: rgba(232, 93, 47, .12);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 100;
  transition: transform .4s ease, opacity .4s ease;
}
/* landing: hidden until scroll or pointer reaches the top (toggled by JS) */
.site-header.hdr-hide {
  transform: translateY(-140%);
  opacity: 0;
  pointer-events: none;
}
.site-header.hdr-hide:focus-within {
  transform: none; opacity: 1; pointer-events: auto;
}
.site-header .bar {
  position: relative;
  width: min(var(--wrap), 100% - 2rem); margin-inline: auto;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0 .8rem 0 1.1rem;
  background: rgba(255, 248, 228, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 2px solid rgba(30, 67, 122, .1);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(30, 67, 122, .08);
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none;
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.18rem; color: var(--navy); line-height: 1;
}
.brand img { width: 42px; height: 42px; }
.brand .works { color: var(--ink-soft); font-weight: 500; }
.brand .carpe { color: var(--orange); }

.nav-tag {
  flex: 1; min-width: 0;
  text-align: center;
  overflow: hidden;
  font-family: var(--font-display); font-weight: 500;
  font-size: .78rem; letter-spacing: .3em; text-indent: .3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap; pointer-events: none;
}
@media (max-width: 600px) { .nav-tag { display: none; } }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  font-family: var(--font-display); font-weight: 500; font-size: 1rem;
  color: var(--navy); text-decoration: none;
  padding: .55em 1em; border-radius: 999px;
  transition: background-color .2s ease;
}
.nav a:hover { background: rgba(30, 67, 122, .08); }
.nav a.active { background: rgba(30, 67, 122, .1); font-weight: 600; }
.nav .nav-cta {
  background: var(--orange); color: var(--paper); font-weight: 600;
  box-shadow: 0 4px 0 rgba(201, 72, 24, .55);
}
.nav .nav-cta:hover { background: var(--orange-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  text-decoration: none; line-height: 1;
  padding: 1em 1.7em; border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  will-change: transform;
}
.btn-primary {
  background: var(--orange); color: var(--paper);
  box-shadow: 0 7px 0 rgba(30, 67, 122, .18);
}
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-3px); box-shadow: 0 10px 0 rgba(30, 67, 122, .18); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 3px 0 rgba(30, 67, 122, .18); }
.btn-ghost {
  color: var(--navy); border: 3px solid var(--navy);
  box-shadow: 0 7px 0 rgba(30, 67, 122, .12);
}
.btn-ghost:hover { transform: translateY(-3px); box-shadow: 0 10px 0 rgba(30, 67, 122, .12); }
.btn-light {
  background: var(--yellow); color: var(--navy-deep);
  box-shadow: 0 7px 0 rgba(0, 0, 0, .28);
}
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 10px 0 rgba(0, 0, 0, .28); }

/* ---------- Sparkle accent ---------- */
.sparkle { position: absolute; pointer-events: none; }
.sparkle svg { width: 100%; height: 100%; }
.sparkle.flip-x  svg { transform: scaleX(-1); }
.sparkle.flip-y  svg { transform: scaleY(-1); }
.sparkle.flip-xy svg { transform: scale(-1, -1); }

/* ============================================================
   HERO — interactive tile board
   ============================================================ */
.hero {
  position: relative;
  /* extends one bleed past the viewport so the board spills under the next section */
  min-height: calc(100svh + var(--hero-bleed));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 40px) 1.5rem calc(90px + var(--hero-bleed));
  overflow: hidden;
  perspective: 1300px;
  background:
    radial-gradient(60vw 60vw at 14% 6%,  rgba(255, 182, 39, .14), transparent 60%),
    radial-gradient(55vw 55vw at 90% 90%, rgba(232, 93, 47, .1),   transparent 60%),
    var(--cream);
}

/* the tilted plane of tiles */
.board-zone {
  position: absolute; inset: -16%;
  transform: rotateX(22deg) rotateZ(-7deg) scale(1.06);
  z-index: 0;
}
.board { display: grid; width: 100%; height: 100%; }
.t { position: relative; will-change: transform; }
.ti {
  width: 100%; aspect-ratio: 1;
  border-radius: 24%;
  background: var(--paper);
  box-shadow:
    0 5px 0 rgba(30, 67, 122, .06),
    0 12px 26px rgba(30, 67, 122, .07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 248, 228, .9);
}
.ti svg { width: 44%; height: 44%; }
.ti.t-tone   { background: #F6E8C6; }
/* calm zone behind the headline — plain near-white tiles, no glyphs */
.ti.t-plain  {
  background: #FFFDF4;
  box-shadow: 0 5px 0 rgba(30, 67, 122, .04), 0 10px 22px rgba(30, 67, 122, .04);
}
.ti.t-orange { background: var(--orange);  box-shadow: 0 5px 0 rgba(201, 72, 24, .55),  0 12px 26px rgba(232, 93, 47, .3); }
.ti.t-navy   { background: var(--navy);    box-shadow: 0 5px 0 rgba(21, 49, 90, .6),    0 12px 26px rgba(30, 67, 122, .3); color: var(--yellow); }
.ti.t-yellow { background: var(--yellow);  box-shadow: 0 5px 0 rgba(201, 134, 10, .5),  0 12px 26px rgba(255, 182, 39, .35); color: var(--paper); }
.ti.t-purple { background: var(--night-2); box-shadow: 0 5px 0 rgba(19, 27, 63, .6),    0 12px 26px rgba(42, 30, 92, .35); color: #C9A0FF; }
.t-spark {
  position: absolute; top: 50%; left: 50%;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 4px; pointer-events: none;
}

/* soft dissolve — the spilled tiles fade out gradually */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: calc(var(--hero-bleed) + clamp(100px, 14vh, 170px));
  background: linear-gradient(180deg,
    rgba(251, 239, 211, 0) 0%,
    rgba(251, 239, 211, .45) 40%,
    rgba(251, 239, 211, .85) 70%,
    var(--cream) 100%);
  pointer-events: none;
  z-index: 1;
}

/* whisper of a glow under the lockup — the plain white tiles do the real work */
.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(closest-side at 50% 47%,
    rgba(251, 239, 211, .48) 10%,
    rgba(251, 239, 211, .26) 45%,
    rgba(251, 239, 211, 0) 72%);
}

.hero-lockup {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  transform: translateY(0);
}
.hero-lockup h1 {
  font-size: clamp(3.4rem, 10vw, 7.6rem);
  font-weight: 600;
  line-height: .95;
  letter-spacing: -.015em;
}
.hero-lockup h1 .c { color: var(--orange); }
.hero-lockup h1 .d { color: var(--navy); }
.works-tag {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: .5em; text-indent: .5em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: .8rem;
}
.hero-lockup .btn { margin-top: 2.2rem; }

/* SplitText line wrappers — clip the pop-in without cutting descenders */
.h1-line { overflow: hidden; padding-block: .08em; margin-block: -.08em; }

.scroll-cue {
  position: absolute; bottom: calc(26px + var(--hero-bleed)); left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .45rem;
  text-decoration: none;
}
.scroll-cue .arrow {
  width: 15px; height: 15px;
  border-right: 3.5px solid var(--ink-soft);
  border-bottom: 3.5px solid var(--ink-soft);
  border-radius: 2px;
  transform: rotate(45deg);
  animation: cue-arrow 1.7s ease-in-out infinite;
}
@keyframes cue-arrow {
  0%, 100% { transform: translateY(0) rotate(45deg); opacity: .85; }
  50%      { transform: translateY(9px) rotate(45deg); opacity: .35; }
}

/* ============================================================
   SHOWCASE — Magic Collapse (light, art left / copy right)
   ============================================================ */
.showcase {
  position: relative;
  /* sits on top of the hero's spilled, fading tiles — no background of its own */
  margin-top: calc(-1 * var(--hero-bleed));
  background: none;
  color: var(--ink);
  padding: calc(var(--hero-bleed) + clamp(5rem, 10vh, 8rem)) 0 clamp(5.5rem, 10vw, 9rem);
  overflow: visible;
}
.showcase-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.showcase-art { position: relative; }
/* warm glow behind the art stack */
.showcase-art::before {
  content: ""; position: absolute; inset: -16% -12%;
  background: radial-gradient(closest-side,
    rgba(255, 182, 39, .2), rgba(232, 93, 47, .08) 55%, transparent 78%);
  pointer-events: none;
}
/* offset candy card peeking out behind the frame */
.showcase-art .frame-back {
  position: absolute; inset: 0;
  transform: rotate(2.2deg) translate(16px, 18px);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 70%, var(--orange-deep) 100%);
  box-shadow: 0 18px 44px rgba(232, 93, 47, .25);
}
.showcase-art .frame {
  position: relative;
  transform: rotate(-1.8deg);
  border-radius: var(--r-lg);
  border: 7px solid #fff;
  background: #fff;
  box-shadow:
    0 26px 60px rgba(30, 67, 122, .22),
    0 8px 20px rgba(30, 67, 122, .1);
  overflow: hidden;
  transition: transform .4s ease;
}
.showcase-art .frame img { width: 100%; aspect-ratio: 1024 / 500; object-fit: cover; border-radius: calc(var(--r-lg) - 8px); }
.showcase-art .icon-badge {
  position: absolute; right: -24px; bottom: -32px;
  width: clamp(84px, 9.5vw, 120px); aspect-ratio: 1;
  transform: rotate(7deg);
  border-radius: 26%;
  border: 5px solid #fff;
  box-shadow: 0 16px 36px rgba(30, 67, 122, .3);
  overflow: hidden;
  z-index: 2;
}
.showcase-art .icon-badge img { width: 100%; height: 100%; object-fit: cover; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display); font-weight: 600;
  font-size: .8rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.1rem;
}
.showcase .eyebrow { color: var(--orange); }
.showcase h2 {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  font-weight: 600; line-height: 1.02;
  color: var(--navy);
  margin-bottom: 1.1rem;
}
.showcase .blurb {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  max-width: 50ch;
}

.feature-list {
  list-style: none; margin: 1.8rem 0 0; padding: 0;
  display: flex; flex-direction: column; gap: .95rem;
}
.feature-list li {
  display: flex; align-items: center; gap: .8rem;
  font-weight: 700; color: var(--ink);
}
.feature-list .fdot {
  flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--yellow);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 0 rgba(201, 134, 10, .4);
}
.feature-list .fdot svg { width: 60%; height: 60%; }

.chip-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.chip {
  font-family: var(--font-display); font-weight: 500; font-size: .92rem;
  color: var(--paper);
  background: rgba(255, 248, 228, .08);
  border: 2px solid rgba(255, 248, 228, .18);
  padding: .55em 1.1em; border-radius: 999px;
}
.store-row { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 2rem; }
.gplay img { height: 64px; width: auto; transition: transform .25s ease; }
.gplay:hover img { transform: scale(1.05); }
/* Apple's badge SVG has no built-in padding (Google's PNG does) — smaller height matches visually */
.appstore img { height: 44px; width: auto; transition: transform .25s ease; }
.appstore:hover img { transform: scale(1.05); }
.store-note {
  font-family: var(--font-display); font-weight: 500;
  font-size: .9rem; color: rgba(251, 239, 211, .65);
}

/* ============================================================
   GAMES PAGE
   ============================================================ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(6rem, 12vw, 9rem)) 0 clamp(3rem, 6vw, 5rem);
  text-align: center;
  overflow: hidden;
  /* fades into the games-list cream below — no hard edge */
  background:
    radial-gradient(52vw 40vw at 86% -8%, rgba(255, 182, 39, .13), transparent 58%),
    linear-gradient(180deg, var(--paper) 0%, var(--cream) 75%, var(--cream) 100%);
}
.page-hero h1 {
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  font-weight: 600; line-height: 1;
  color: var(--navy);
}
.page-hero h1 .o { color: var(--orange); }
.page-hero .sub { margin-top: 1.2rem; color: var(--ink-soft); }

.games-list {
  display: grid; gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(5rem, 9vw, 8rem);
}

/* Featured game panel (night card) */
.game-panel {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  background:
    radial-gradient(46vw 36vw at 88% -10%, rgba(106, 70, 200, .4), transparent 62%),
    radial-gradient(40vw 30vw at -6% 110%, rgba(232, 93, 47, .16), transparent 58%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 32%, var(--night) 62%, var(--night-2) 100%);
  color: var(--paper);
  border-radius: calc(var(--r-lg) + 8px);
  padding: clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(21, 49, 90, .3);
}
.game-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 12% 22%, rgba(255,255,255,.45) 50%, transparent 51%),
    radial-gradient(3px 3px at 30% 74%, rgba(255,182,39,.5) 50%, transparent 51%),
    radial-gradient(2px 2px at 56% 14%, rgba(255,255,255,.4) 50%, transparent 51%),
    radial-gradient(2px 2px at 78% 66%, rgba(255,255,255,.35) 50%, transparent 51%),
    radial-gradient(3px 3px at 92% 24%, rgba(255,182,39,.45) 50%, transparent 51%);
}
.game-panel .art { position: relative; }
.game-panel .art .frame {
  transform: rotate(-2deg);
  border-radius: var(--r-md);
  border: 4px solid rgba(255, 248, 228, .14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 90px rgba(138, 84, 255, .22);
  overflow: hidden;
}
.game-panel .art .frame img { width: 100%; aspect-ratio: 1024 / 500; object-fit: cover; }
.game-panel .art .icon-badge {
  position: absolute; left: -18px; bottom: -26px;
  width: clamp(80px, 9vw, 108px); aspect-ratio: 1;
  transform: rotate(-7deg);
  border-radius: 26%;
  border: 4px solid var(--paper);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .4);
  overflow: hidden;
}
.game-panel .art .icon-badge img { width: 100%; height: 100%; object-fit: cover; }
.game-panel h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.04; margin-bottom: .9rem; }
.game-panel .blurb { color: rgba(251, 239, 211, .8); max-width: 44ch; }

/* Coming soon card */
.coming-card {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .6rem;
  min-height: 240px;
  text-align: center;
  border: 3px dashed rgba(30, 67, 122, .3);
  border-radius: calc(var(--r-lg) + 8px);
  background: rgba(255, 248, 228, .5);
  padding: 2.5rem 1.5rem;
}
.coming-card .big {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--navy);
}
.coming-card .small { color: var(--ink-soft); font-size: .98rem; }
.coming-card .bubbles { display: flex; gap: .5rem; margin-bottom: .4rem; }
.coming-card .bubbles span {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--yellow);
  animation: bob 1.6s ease-in-out infinite;
}
.coming-card .bubbles span:nth-child(2) { background: var(--orange); animation-delay: .2s; }
.coming-card .bubbles span:nth-child(3) { background: var(--navy); animation-delay: .4s; }
@keyframes bob { 50% { transform: translateY(-9px); } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot {
  position: relative;
  background:
    radial-gradient(60vw 30vw at 88% 0%, rgba(255, 182, 39, .07), transparent 60%),
    radial-gradient(50vw 26vw at 6% 100%, rgba(42, 30, 92, .55), transparent 70%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 55%, var(--night) 100%);
  color: var(--paper);
  overflow: hidden;
}
.site-foot--slim { padding: 3.6rem 0 2.4rem; }
.foot-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem; flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1.5px solid rgba(251, 239, 211, .18);
}
.foot-brand { display: flex; align-items: center; gap: .9rem; }
.foot-brand img { width: 48px; height: 48px; }
.foot-brand .name { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.foot-brand .tag { font-size: .86rem; color: rgba(251, 239, 211, .65); margin-top: .15rem; }
.foot-links { display: flex; gap: .4rem; flex-wrap: wrap; }
.foot-links a {
  font-family: var(--font-display); font-weight: 500; font-size: .98rem;
  color: rgba(251, 239, 211, .85); text-decoration: none;
  padding: .5em .9em; border-radius: 999px;
  transition: background-color .2s ease, color .2s ease;
}
.foot-links a:hover { background: rgba(251, 239, 211, .12); color: var(--paper); }
.legal {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 1.8rem;
  font-size: .85rem; color: rgba(251, 239, 211, .55);
}

/* ============================================================
   PROSE (privacy policy)
   ============================================================ */
.prose-wrap { padding-bottom: clamp(4rem, 8vw, 6.5rem); }
.prose {
  max-width: 780px; margin-inline: auto;
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 4.5vw, 3.2rem);
  box-shadow: 0 18px 50px rgba(30, 67, 122, .09);
  font-size: 1.02rem; line-height: 1.75;
}
.prose p { margin: 0 0 1.15em; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { margin: 0 0 1.15em; padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--orange-deep); font-weight: 700; text-decoration-thickness: 2px; }
.prose .updated { color: var(--ink-soft); font-size: .9rem; margin-top: 1.6em; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .showcase-grid, .game-panel { grid-template-columns: 1fr; }
  .showcase-art { margin-bottom: 1.8rem; }
  .showcase-art .icon-badge { right: 4px; bottom: -24px; }
  .game-panel .art { margin-bottom: .8rem; }
  .gplay img { height: 56px; }
  .appstore img { height: 38px; }
}

@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .site-header { top: 10px; }
  .site-header .bar { padding: 0 .5rem 0 .8rem; }
  .brand { font-size: 1rem; gap: .5rem; }
  .brand img { width: 34px; height: 34px; }
  .nav a { font-size: .9rem; padding: .5em .8em; }
  .nav .nav-home { display: none; }
  .hero { padding-bottom: calc(110px + var(--hero-bleed)); }
  .showcase-art .frame { transform: rotate(-1.5deg); }
  .foot-row { flex-direction: column; align-items: flex-start; }
  .legal { flex-direction: column; }
}
