/* myWOD Coach holding page. Styles match mywodapp.com (dark by default, light supported). */
:root {
  --bg: #0a0a0a; --card: #111111; --border: #222222;
  --fg: #ffffff; --muted: #9a9a9a;
  --red: #c41c22; --red-hover: #d8262d; --on-red: #ffffff;
  --btn-bg: #1c1c1c; --btn-fg: #ffffff;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #fafafa; --card: #ffffff; --border: #e3e3e3;
    --fg: #111111; --muted: #555555;
    --red: #b3161c; --red-hover: #c41c22;
    --btn-bg: #eeeeee; --btn-fg: #111111;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}
a { color: inherit; }
.red { color: var(--red); }
.top, main, .foot { width: 100%; max-width: 760px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.top { padding-top: 18px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo { border-radius: 10px; display: block; }
.wordmark { display: inline-flex; flex-direction: column; line-height: 1; }
.line1 { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
.coach { margin-top: 5px; color: var(--muted); font-weight: 700; font-size: .7rem; letter-spacing: .32em; }

.hero { padding: 40px 0 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
  border: 1px solid var(--border); background: var(--card); border-radius: 999px;
  padding: 6px 14px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); display: inline-block; }
h1 { margin: 0 0 16px; font-size: clamp(2.4rem, 9vw, 3.8rem); line-height: 1.05; font-weight: 900; letter-spacing: -0.03em; }
.lead { font-size: clamp(1.05rem, 3.6vw, 1.25rem); margin: 0 0 14px; max-width: 40em; }
.fit { margin: 0; color: var(--muted); }

.steps { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 8px 0 14px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.card h2 { margin: 0 0 6px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }
.num { color: var(--red) !important; font-weight: 900; font-size: 1.6rem; line-height: 1; margin-bottom: 10px !important; }
.wide { margin-top: 14px; }
.wide p + p { margin-top: 14px; }

.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: .95rem;
  padding: 12px 20px; border-radius: 10px; background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--border); min-height: 44px;
}
.btn:hover { border-color: var(--red); }
.btn.primary { background: var(--red); border-color: var(--red); color: var(--on-red); }
.btn.primary:hover { background: var(--red-hover); }
.btn.ghost { background: transparent; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.foot { padding-top: 36px; padding-bottom: 40px; text-align: center; color: var(--muted); font-size: .9rem; }
.foot p { margin: 4px 0; }
.foot a { color: var(--muted); }
.muted { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---- early-access form ---- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.signup { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.field {
  flex: 1 1 220px; min-height: 44px; padding: 10px 14px; font: inherit; font-size: 1rem;
  background: var(--bg); color: var(--fg); border: 1px solid var(--border); border-radius: 10px;
}
.field::placeholder { color: var(--muted); }
.field:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
button.btn { font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; }
button.btn:disabled { opacity: .6; cursor: default; }
.status { margin-top: 8px !important; color: var(--red) !important; font-weight: 600; }
.done { margin-top: 14px !important; color: var(--fg) !important; font-weight: 700; }
.fine { font-size: .85rem; margin-top: 10px !important; }
.fine a { color: var(--muted); }

/* ---- store badges (official artwork, unaltered) ---- */
.btns { align-items: center; }
.badge { display: inline-block; line-height: 0; }
.badge img { display: block; height: 40px; width: auto; }
.badge.play img { height: 60px; margin: -10px; }  /* PNG carries its own clear space: 10px each side at this size */
.badge:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 8px; }

/* ---- footer link-style button + consent banner ---- */
.linklike { background: none; border: 0; padding: 4px; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }
.linklike:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.consent {
  position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 10;
  max-width: 560px; margin: 0 auto; padding: 16px 18px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--border); box-shadow: 0 8px 30px rgba(0,0,0,.35);
}
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: .9rem; color: var(--muted); }
.consent a { color: var(--fg); }
.consent-btns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px !important; }
