/* Pages of pattyrumble.com outside the game (/, /tester, /press): the warm sunburst and the cream-gold cards of the
   game's shop (docs/19-ui-style.md), readable on a phone. Copied next to the web build only by npm run deploy:web,
   never into the app. */
@font-face { font-family: Lilita; src: url(/fonts/lilita-one-latin-400-normal.woff2) format('woff2'); font-display: swap; }
:root {
  --ink: #4a2306; --cream: #fff4d6; --card: #fffaf0; --muted: #7a5a3a; --red: #e8453c; --gold: #ffc933;
  --go: #3fae3a; --go-dark: #1f6e2a; --line: #ead9c2;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: #c0521f; }
body {
  margin: 0; min-height: 100vh; color: var(--ink);
  font: 17px/1.55 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: radial-gradient(140% 1400px at 50% 0%, #ffd66b 0%, #f39a33 38%, #c0521f 75%, #7a2a12 100%) no-repeat, #7a2a12;
}
main { max-width: 760px; margin: 0 auto; padding: 20px 16px 56px; }
a { color: var(--red); }

.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.langs { display: flex; gap: 6px; }
.langs button {
  font: 15px Lilita, sans-serif; color: var(--ink); background: var(--cream); border: 3px solid var(--ink);
  border-radius: 12px; padding: 2px 10px; cursor: pointer; box-shadow: 0 3px 0 var(--ink);
}
.langs button[aria-pressed='true'] { background: var(--gold); }

.hero { text-align: center; margin: 18px 0 22px; }
.hero img.icon { width: 112px; height: 112px; border-radius: 26px; border: 5px solid var(--ink); box-shadow: 0 7px 0 var(--ink); }
.title {
  margin: 14px 0 0; font: 400 clamp(40px, 11vw, 64px)/1 Lilita, sans-serif; color: #fff;
  -webkit-text-stroke: 10px var(--ink); paint-order: stroke fill; text-shadow: 0 6px 0 var(--ink); letter-spacing: .5px;
}
.tag {
  display: inline-block; margin: 16px 0 0; font: 21px/1.25 Lilita, sans-serif; background: var(--cream);
  border: 4px solid var(--ink); border-radius: 16px; padding: 6px 18px; box-shadow: 0 5px 0 var(--ink);
}

.card {
  background: var(--card); border: 4px solid var(--ink); border-radius: 22px; box-shadow: 0 7px 0 var(--ink);
  padding: 18px 18px 16px; margin: 0 0 18px;
}
.card h2 { margin: 0 0 8px; font: 400 26px/1.15 Lilita, sans-serif; }
.card h3 { margin: 16px 0 4px; font: 400 20px/1.2 Lilita, sans-serif; }
.card p, .card li { margin: 6px 0; }
.card ul, .card ol { padding-left: 22px; margin: 6px 0; }
.muted { color: var(--muted); font-size: 15px; }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps > li { position: relative; padding: 0 0 0 52px; margin: 0 0 18px; min-height: 40px; counter-increment: s; }
.steps > li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font: 22px Lilita, sans-serif; color: #fff; background: var(--red);
  border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink);
}
.steps b { font-weight: 700; }

.btn {
  display: inline-block; margin: 8px 0 2px; font: 21px/1 Lilita, sans-serif; color: #fff; text-decoration: none;
  background: linear-gradient(#5cc954, var(--go)); border: 4px solid var(--ink); border-radius: 16px;
  padding: 12px 20px 13px; box-shadow: 0 5px 0 var(--ink); -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill;
}
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.btn.plain { background: var(--cream); color: var(--ink); -webkit-text-stroke: 0; }
.btn[aria-disabled='true'] { filter: grayscale(1); opacity: .6; pointer-events: none; }

.gift { display: flex; gap: 14px; align-items: center; }
.gift .emoji { font-size: 46px; line-height: 1; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.grid a { display: block; border: 3px solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--ink); }
.grid img, .grid video { display: block; width: 100%; height: auto; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0; }
.facts dt { font-weight: 700; } .facts dd { margin: 0; }

footer { text-align: center; color: #fff4d6; font-size: 14px; margin-top: 28px; }
footer a { color: #fff; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

.signup { display: grid; gap: 10px; margin-top: 8px; }
.signup input[type='email'] {
  font: 18px system-ui, sans-serif; color: var(--ink); background: #fff; width: 100%;
  border: 3px solid var(--ink); border-radius: 14px; padding: 11px 14px;
}
.signup input[type='email']:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--go-dark); }
.signup .btn { justify-self: start; margin: 0; cursor: pointer; }
.form-msg { margin: 0; color: var(--red); font-weight: 700; min-height: 0; }
.form-msg:empty { display: none; }
.done { background: #e6f6dd; border: 3px solid var(--go-dark); border-radius: 14px; padding: 10px 12px; }
