:root {
  --tomato: #F2542D;
  --tomato-deep: #C93A16;
  --tomato-tint: #FFE9E1;
  --pea: #4CC26B;
  --pea-deep: #2E8B45;
  --pea-tint: #E3F6E8;
  --butter: #FFE08A;
  --cream: #FFF8EF;
  --surface: #FFFFFF;
  --ink: #2A1A14;
  --text: #54443C;
  --muted: #8C7D74;
  --border: #F1E5D8;
  --error: #D7263D;
  --display: Fredoka, ui-rounded, system-ui, -apple-system, sans-serif;
  --body: Figtree, system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--text);
  font: 16px/1.5 var(--body);
}
.wrap {
  max-width: 440px;
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom));
}
.top { display: flex; justify-content: center; padding: 6px 0 16px; }
.wordmark { width: 108px; height: auto; display: block; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
  padding: 24px 20px 22px;
  text-align: center;
}
.pea { width: 84px; height: 84px; display: block; margin: -4px auto 4px; }
.badge {
  display: inline-block; margin: 2px 0 6px; padding: 4px 12px;
  border-radius: 999px; background: var(--tomato-tint); color: var(--tomato-deep);
  font: 600 13px/1.4 var(--display); letter-spacing: .3px; text-transform: uppercase;
}
h1 { font: 700 28px/1.15 var(--display); color: var(--ink); margin: 4px 0 6px; }
.lede { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
form { text-align: left; }
.field { margin-bottom: 16px; }
label { display: block; font-weight: 700; font-size: 14px; margin: 0 0 6px; color: var(--ink); }
input {
  width: 100%; font: 16px var(--body); padding: 14px;
  border: 1.5px solid #E6D6C6; border-radius: 14px; background: #fff; color: var(--ink); outline: none;
}
input:focus { border-color: var(--tomato); box-shadow: 0 0 0 3px rgba(242, 84, 45, .18); }
.btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 54px;
  border: 0; border-radius: 999px;
  background: var(--tomato); color: #fff;
  font: 600 18px/1.1 var(--display);
  text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .08s ease, opacity .15s ease;
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn:focus-visible, a:focus-visible, input:focus-visible, button:focus-visible { outline: 3px solid var(--butter); outline-offset: 2px; }
.error { color: var(--error); font-size: 14px; margin: 12px 0 0; min-height: 1em; text-align: center; }
.email {
  background: var(--pea-tint); border-radius: 14px; padding: 12px 14px;
  font-weight: 700; font-size: 17px; color: var(--ink); word-break: break-all;
  display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left;
}
.email button {
  flex: none; white-space: nowrap; min-height: 36px; padding: 0 14px;
  border: 0; border-radius: 999px; background: #fff; color: var(--pea-deep);
  font: 600 14px var(--display); cursor: pointer;
}
.steps { padding: 0; margin: 20px 0 0; list-style: none; counter-reset: s; display: grid; gap: 16px; text-align: left; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 12px; font-size: 16px; }
.steps li::before {
  content: counter(s); width: 30px; height: 30px; border-radius: 50%;
  background: var(--tomato); color: #fff; font: 700 15px/30px var(--display); text-align: center;
}
.steps strong { color: var(--ink); }
.btn.store { margin-top: 10px; min-height: 48px; font-size: 16px; }
.already {
  margin: 20px 0 0; padding: 14px 16px; border-radius: 20px;
  background: var(--cream); font-size: 14.5px; text-align: left;
}
.already strong { color: var(--ink); }
.already > strong:first-child { display: block; margin-bottom: 2px; }
.link {
  display: inline-block; margin-top: 16px;
  background: none; border: 0; padding: 6px 8px;
  color: var(--tomato-deep); font: 600 15px var(--body);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.fine { font-size: 13px; color: var(--muted); text-align: center; margin: 16px 6px 0; }
footer { display: flex; justify-content: center; gap: 20px; margin-top: 18px; font-size: 14px; }
footer a { color: var(--muted); }
@media (max-width: 350px) {
  h1 { font-size: 25px; }
  .card { padding: 20px 16px 18px; }
}
