/* "Peekaboo pets": soft peach, rounded type, a cartoon cat + dog peeking over the form. */
:root {
  --bg: #ffeede;
  --card: #ffffff;
  --ink: #3a2a20;
  --muted: #7a6353;
  --orange: #ff6f3c;
  --orange-dark: #e85a28;
  --peach: #fff1e6;
  --peach-line: #ffd9c2;
  --paw: #f7c9a6;
  --bad: #c9352b;
  --round: Fredoka, "Arial Rounded MT Bold", ui-rounded, sans-serif;
  font-family: Nunito, ui-rounded, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.5; -webkit-text-size-adjust: 100%; }
.wrap { max-width: 640px; margin: 0 auto; padding: 0 16px; }
.draft { background: #e2483d; color: #fff; text-align: center; font-size: 13px; padding: 7px 16px; font-weight: 800; }

/* ---------- hero ---------- */
.hero { position: relative; text-align: center; padding: 28px 16px 6px; max-width: 640px; margin: 0 auto; }
.logo { width: 124px; height: auto; display: block; margin: 0 auto 16px; }
.hero h1 { font-family: var(--round); font-weight: 700; font-size: clamp(40px, 12vw, 64px); line-height: 1; margin: 0; letter-spacing: -.01em; }
.hero h1 span { display: block; color: var(--orange); }
.lede { font-weight: 700; font-size: 17px; color: var(--muted); margin: 14px auto 0; max-width: 22em; }
.paw { position: absolute; width: 26px; color: var(--paw); }
.paw.p1 { left: 6%; top: 44px; transform: rotate(-20deg); }
.paw.p2 { right: 6%; top: 104px; transform: rotate(18deg); }
.paw.p3 { left: 10%; top: 170px; width: 20px; transform: rotate(8deg); }
.paw.p4 { right: 12%; top: 30px; width: 18px; transform: rotate(-8deg); }

/* ---------- stepper ---------- */
.steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 24px 0 0; }
.steps li { flex: 1; text-align: center; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #c9ab93; padding-top: 8px; border-top: 5px solid #f6d7bd; border-radius: 3px; }
.steps li.on { color: var(--ink); border-color: var(--orange); }
.steps li.done { color: var(--ink); border-color: #ffb48f; }

/* ---------- the stage: cards with a cat + dog peeking over ---------- */
.stage { position: relative; margin-top: 64px; }
.peek { position: absolute; top: -60px; width: 100px; z-index: 1; pointer-events: none; }
.peek.cat { left: 20px; }
.peek.dog { right: 20px; width: 108px; }
.card { position: relative; background: var(--card); border-radius: 28px; padding: 26px 18px 22px; margin-bottom: 22px; box-shadow: 0 10px 30px rgba(150, 90, 40, .12); }
.card h2 { font-family: var(--round); font-weight: 700; font-size: 26px; line-height: 1.15; margin: 0 0 12px; text-align: center; }

.field { display: block; margin: 16px 0; }
.lbl { display: block; font-weight: 800; font-size: 15px; margin-bottom: 7px; }
.lbl em { font-weight: 600; color: var(--muted); font-style: normal; font-size: 13px; }
input, textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 2px solid #f6dfcd; border-radius: 14px; background: #fffaf6; color: var(--ink); }
input::placeholder, textarea::placeholder { color: #b8a595; }
input:focus, textarea:focus, .agreement:focus { outline: none; border-color: var(--orange); background: #fff; }
.row { display: grid; gap: 0 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .row { grid-template-columns: 1fr 1fr; } }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.drop { display: block; border: 3px dashed #ffb48f; border-radius: 20px; padding: 20px 16px; text-align: center; cursor: pointer; background: #fff6ef; }
.drop:hover { background: #ffefe3; }
.drop .big { font-family: var(--round); font-weight: 600; font-size: 20px; color: var(--orange); margin-bottom: 4px; }
.drop video { width: 100%; max-height: 360px; border-radius: 14px; background: #000; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--peach-line); background: var(--peach); color: var(--ink); cursor: pointer; }
.chip.on { background: var(--orange); border-color: var(--orange); color: #fff; }

.rules { background: var(--peach); border-radius: 16px; padding: 12px 14px; font-size: 14px; margin: 16px 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 10px 0; cursor: pointer; }
.check input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 1px; accent-color: var(--orange); }

.btn { font-family: var(--round); font-weight: 600; font-size: 18px; padding: 14px 20px; border-radius: 999px; border: 0; background: var(--orange); color: #fff; cursor: pointer; width: 100%; margin-top: 8px; box-shadow: 0 4px 0 var(--orange-dark); transition: transform .08s, box-shadow .08s; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--orange-dark); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.ghost { background: var(--peach); color: var(--ink); box-shadow: 0 4px 0 var(--peach-line); }
.btns { display: flex; gap: 12px; }
.btns .btn.ghost { flex: 0 0 32%; }
.link { background: none; border: 0; color: var(--muted); text-decoration: underline; font: inherit; font-size: 14px; cursor: pointer; padding: 6px 0; }

.agreement { white-space: pre-wrap; font-size: 13.5px; line-height: 1.55; max-height: 320px; overflow-y: auto; border: 2px solid #f6dfcd; border-radius: 16px; padding: 14px; background: #fffaf6; }
#agreementMeta { margin-top: 6px; }
.confirms { margin: 16px 0; }
.turnstile { margin: 12px 0 4px; }

.bar { height: 16px; background: var(--peach); border-radius: 999px; overflow: hidden; margin: 12px 0 8px; }
#barFill { height: 100%; width: 0; background: var(--orange); border-radius: 999px; transition: width .3s; }
.error { background: #fdecea; color: var(--bad); border-radius: 14px; padding: 12px 14px; font-weight: 800; }

.foot { padding: 6px 16px 40px; color: var(--muted); font-size: 13px; text-align: center; }
.foot a, .card .small a { color: var(--muted); font-weight: 700; }
