/* iamsambearfoot.com/cheat-codes — the AI Director's Cheat Codes, a free download.
 *
 * Loaded AFTER treasury.css and halloween.css, which carry the tokens, rooms,
 * buttons, stats, offer box and proofs. This file is only what an opt-in adds:
 * the sign-up form, the cover and the peek at the inside pages. Same brand
 * rule: gold carries words only inside a plum room.
 */

/* ── The sign-up form, always inside a plum room ─────────────────────────── */
.signup {
  margin-top: 2rem;
  display: grid;
  gap: 0.85rem;
  max-width: 30rem;
}

.signup label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-label);
}

.signup input[type='text'],
.signup input[type='email'] {
  display: block;
  width: 100%;
  padding: 0.9rem 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--plum);
  background: var(--stone);
  border: 1px solid var(--gold);
  border-radius: 0.3rem;
}

.signup input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.signup .btn { width: 100%; margin-top: 0.35rem; }

/* The honeypot. Off screen rather than display:none, which some bots skip. */
.signup .trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup__small {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--stone-label);
}

/* ── The cover, framed ───────────────────────────────────────────────────── */
.cover {
  margin: 0 auto;
  max-width: 24rem;
  transform: rotate(2deg);
}

.cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--gold);
  border-radius: 0.5rem;
  box-shadow: 0 1.5rem 3.5rem -1rem rgba(10, 4, 7, 0.8);
}

@media (prefers-reduced-motion: reduce) {
  .cover { transform: none; }
}

@media (max-width: 59.99rem) {
  .cover { max-width: 17rem; }
}

/* ── Inside pages, on stone ──────────────────────────────────────────────────
   A frame is a graphic, so the gold keyline is allowed here. */
.inside {
  list-style: none;
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 1.75rem);
}

@media (min-width: 48rem) {
  .inside { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.inside img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 850 / 1100;
  border: 1px solid var(--gold);
  border-radius: 0.4rem;
  box-shadow: 0 0.75rem 1.5rem -0.75rem rgba(51, 23, 35, 0.45);
}

.inside h3 { margin: 0.8rem 0 0.2rem; font-size: 1rem; }
.inside p { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-mute); }
