/* Ship Apps with DigitalChewie: the waitlist page. Styles carried from the approved mock-up
   (mockups/waitlist.html, Dean 2026-11-06); the footer and heart follow
   recipes/signature-row-web.md verbatim. */
:root {
  --bg: #0f1216; --panel: #171b21; --line: #2a303a;
  --text: #eef1f5; --dim: #9aa4b2; --accent: #5ad1a4; --accent-ink: #06261b;
  --heart: #ff5a6e; --warn: #ffb4a8;
}
* { box-sizing: border-box; margin: 0; }
body {
  background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 680px; margin: 0 auto; padding: 0 20px; }
header { padding: 28px 0 0; }
.brand { font-weight: 700; letter-spacing: .02em; font-size: 15px; color: var(--dim); }
.brand b { color: var(--text); }
.hero { padding: 56px 0 36px; }
h1 { font-size: clamp(32px, 6.4vw, 50px); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
h1 em { font-style: normal; color: var(--accent); }
.lede { margin-top: 20px; font-size: 19px; color: var(--dim); max-width: 34em; }
.lede strong { color: var(--text); font-weight: 600; }

form {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px; margin: 8px 0 48px;
}
form h2 { font-size: 20px; margin-bottom: 4px; }
form .sub { color: var(--dim); font-size: 15px; margin-bottom: 20px; }
label.field { display: block; font-size: 14px; color: var(--dim); margin-bottom: 6px; }
input[type=email] {
  width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit;
}
input[type=email]:focus-visible, .choice input:focus-visible + span, button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
fieldset { border: 0; padding: 0; margin: 20px 0 0; }
legend { font-size: 14px; color: var(--dim); margin-bottom: 8px; padding: 0; }
.choice { display: block; margin-bottom: 8px; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg);
}
.choice span small { display: block; color: var(--dim); font-size: 14px; }
.choice input:checked + span { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
button {
  margin-top: 20px; width: 100%; padding: 14px; border: 0; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 700; cursor: pointer;
}
button[disabled] { opacity: .6; cursor: progress; }
.fine { margin-top: 12px; font-size: 13px; color: var(--dim); text-align: center; }
.msg:empty { display: none; }
.msg { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: #12261f; color: var(--accent); font-size: 15px; }
.msg.err { background: #2a1616; color: var(--warn); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

section { padding: 0 0 44px; }
section h2 { font-size: 24px; letter-spacing: -.01em; margin-bottom: 14px; }
section p { color: var(--dim); margin-bottom: 12px; }
section p strong { color: var(--text); font-weight: 600; }
ol.stages { list-style: none; padding: 0; counter-reset: s; border-top: 1px solid var(--line); }
ol.stages li {
  counter-increment: s; display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line);
}
ol.stages li::before {
  content: counter(s); flex: 0 0 26px; height: 26px; border-radius: 50%;
  background: var(--panel); border: 1px solid var(--line); color: var(--dim);
  font-size: 13px; display: grid; place-items: center; margin-top: 2px;
}
ol.stages b { display: block; }
ol.stages span { color: var(--dim); font-size: 15px; }

/* ---------- Footer (recipes/signature-row-web.md) ---------- */
.foot {
  min-height: 46px; padding: 22px 18px 30px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border-top: 1px solid var(--line); text-align: center;
}
.foot p { font-size: 12.5px; color: var(--dim); letter-spacing: .01em; }
.foot a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(154,164,178,.35); }
.foot a:hover { border-bottom-color: var(--dim); }

/* ---- heart-flutter easter egg (the footer ♥) ---- */
.heart-flutter {
  color: #ff5a6e;                 /* the site's love-heart red */
  position: relative;             /* anchors the floating particles : required */
  display: inline-block;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: transform .2s cubic-bezier(.4, 0, .2, 1);
}
.heart-flutter:hover { transform: scale(1.18); }
.heart-flutter:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 3px; }
.heart-particle { position: absolute; pointer-events: none; opacity: 0; left: 50%; top: 50%; }
