/* Puzzed theme, loaded after /site.css on the game's pages and the home page card.
   Colours come from the app: cream paper, honey band, dark honey for text accents, the orange key
   letter. Honey is too light for text on cream, so text accents use the dark honey. */
:root {
  --pz-cream: #FBF7EE; --pz-soft: #F7E3AE; --pz-honey: #E8B84A; --pz-honey-dark: #9A6A12; --pz-key: #F28C28;
  --pz-ink: #1D1A14; --pz-tile: #FFFFFF;
  --puzzed: ui-rounded, 'SF Pro Rounded', 'Nunito', system-ui, sans-serif;
}
.puzzed { --accent: var(--pz-honey); }
.puzzed .doc h1 { font: 900 clamp(36px, 8vw, 52px)/1.05 var(--puzzed); letter-spacing: -0.01em; }
.puzzed .big-email { font: 800 clamp(22px, 5.5vw, 28px)/1.3 var(--puzzed); word-break: break-word; }

/* The scene: cream panel with the bee, the title and a gameplay shot, then a honey "band" below,
   like the letter band in the game. It keeps the app's palette in dark mode too: it's the key art. */
/* Soft honey with a faint honeycomb, so the panel stands apart from the site's paper background. */
.pz-scene {
  background-color: var(--pz-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64v32' fill='none' stroke='%23D9A93F' stroke-opacity='.28' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 56px 96px;
  color: var(--pz-ink); text-align: center;
}
.pz-bee { display: block; width: clamp(84px, 18vw, 120px); height: auto; margin: 0 auto 6px; animation: pz-hover 3.2s ease-in-out infinite; }
@keyframes pz-hover { 50% { transform: translateY(-6px) rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) { .pz-bee { animation: none; } }
.pz-title { margin: 0; font: 900 clamp(68px, 17vw, 140px)/0.9 var(--puzzed); letter-spacing: -0.02em; }
.pz-title .zz { color: var(--pz-honey-dark); }
.pz-tagline { margin: 12px 0 0; font: 800 clamp(18px, 3.6vw, 24px)/1.25 var(--puzzed); text-wrap: balance; }

/* Seven letter tiles, the key letter in the middle, as in the game. */
.pz-tiles { display: flex; justify-content: center; gap: clamp(5px, 1.4vw, 9px); margin: 22px 0 0; padding: 0; list-style: none; }
.pz-tiles li {
  width: clamp(34px, 8vw, 46px); height: clamp(38px, 9vw, 52px); display: grid; place-items: center;
  background: var(--pz-tile); border-radius: 8px; box-shadow: 0 2px 0 rgba(29, 26, 20, 0.15);
  font: 900 clamp(18px, 4.4vw, 24px)/1 var(--puzzed); color: var(--pz-ink);
}
.pz-tiles li.key { background: var(--pz-key); border-radius: 50%; width: clamp(38px, 9vw, 52px); box-shadow: 0 0 0 3px var(--pz-ink); }

.pz-shot {
  display: block; width: min(300px, 72vw); height: auto; margin: 0 auto;
  border-radius: 28px; border: 6px solid var(--pz-ink); background: var(--pz-cream);
  box-shadow: 0 18px 40px rgba(60, 40, 0, 0.22);
}
.pz-band { background: var(--pz-honey); color: var(--pz-ink); }
.pz-band a:not(.pz-btn) { color: var(--pz-ink); }

.pz-btn {
  display: inline-block; padding: 14px 22px; border-radius: 999px;
  background: var(--pz-ink); color: var(--pz-cream); text-decoration: none;
  font: 800 18px/1 var(--puzzed);
  transition: transform 150ms ease;
}
.pz-btn:hover { color: var(--pz-cream); transform: translateY(2px); }
.pz-soon {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
  border: 2px solid currentColor; font-weight: 600; font-size: 15px;
}
/* The app icon, pulled into the pill's padding so the pill stays the same height as the button beside it. */
.pz-soon img { width: 28px; height: 28px; border-radius: 22%; margin: -6px 0 -6px -8px; }
