/* More Marketing Group — onboarding funnel. Shared by all four steps.
   Soft light UI: tinted background, floating cards, centered copy, pill buttons. */
:root {
  --accent: #EA580C;
  --accent-dark: #C2410C;
  --accent-soft: #FFF1E7;
  --ink: #0F0F0E;
  --body: #55534E;
  --muted: #8A8780;
  --bg: #EFEEEA;
  --bg-top: #F8F7F4;
  --card: #FFFFFF;
  --border: #E8E6E1;
  --ok: #16A34A;
  --ok-soft: #EBFAEE;
  --radius: 24px;
  --shadow: 0 1px 2px rgba(15, 15, 14, .04), 0 12px 32px rgba(15, 15, 14, .07);
  --shadow-sm: 0 1px 2px rgba(15, 15, 14, .04), 0 6px 16px rgba(15, 15, 14, .05);
  --gutter: 20px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font: 400 15px/1.6 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(110% 70% at 50% -10%, #FFFFFF 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 55%, #E9E7E2 100%);
  background-attachment: fixed;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: 'Space Grotesk', 'Inter', sans-serif; margin: 0; color: var(--ink); }

/* Header: centered logo, like the app onboarding reference */
.header { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 18px var(--gutter) 4px; }
.header img { height: 34px; width: auto; display: block; }
.url-pill {
  font-size: 11px; letter-spacing: .02em; color: var(--muted);
  padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.7);
  box-shadow: var(--shadow-sm); max-width: 90vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Layout: one centered column on every screen size */
.wrap, .wrap.split {
  width: 100%; max-width: 560px; margin: 0 auto;
  padding: 14px var(--gutter) 56px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.wrap > *, .split > * { width: 100%; }
.split > .side { order: -1; }           /* booking card first, always */
.main, .intro { display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* Step dots + status pill */
.badge-row { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.chips { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.dots { display: flex; align-items: center; gap: 7px; }
.dot { width: 7px; height: 7px; border-radius: 999px; background: #CFCCC5; transition: all .2s; }
.dot.on { width: 26px; background: var(--accent); }
.dot.done { background: var(--accent); opacity: .45; }
.step-label { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .06em;
  padding: 7px 14px; border-radius: 999px;
  color: var(--accent); background: var(--accent-soft);
}
.pill.ok { color: var(--ok); background: var(--ok-soft); }
.pill.muted { color: var(--muted); background: #EAE8E3; }

h1 {
  font-size: clamp(28px, 7.4vw, 38px); line-height: 1.16; font-weight: 700;
  letter-spacing: -.02em; text-align: center; text-wrap: balance;
}
.lead { margin: 0; font-size: 15px; color: var(--body); text-align: center; max-width: 42ch; }

/* Cards */
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px; display: flex; flex-direction: column; gap: 18px;
}
.card h2 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.eyebrow { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.help { margin: 0; font-size: 14.5px; color: var(--body); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack.lg { gap: 20px; }
.small { font-size: 13px; color: var(--muted); margin: 0; }
.center { text-align: center; }
.checking { font-size: 13px; color: var(--muted); text-align: center; padding: 10px 0; }

/* Pill buttons, 52px tall */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 52px; padding: 14px 24px; border: none; border-radius: 999px;
  font: 600 15.5px/1.2 'Inter', sans-serif; cursor: pointer; text-align: center;
  background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(234, 88, 12, .26);
  transition: transform .12s, background .15s, box-shadow .15s;
}
.btn:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 8px 20px rgba(234, 88, 12, .3); }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn.secondary:hover { background: #FBFAF8; color: var(--ink); }

/* Step 1 — booking card */
.when { display: flex; align-items: center; gap: 14px; padding: 14px; background: #FAF9F7; border-radius: 18px; }
.date-chip {
  width: 52px; height: 52px; border-radius: 16px; flex-shrink: 0;
  background: linear-gradient(160deg, #F97316, var(--accent)); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
  font-family: 'Space Grotesk', sans-serif; box-shadow: 0 6px 14px rgba(234, 88, 12, .25);
}
.date-chip .m { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .95; }
.date-chip .d { font-size: 20px; font-weight: 700; margin-top: 3px; }
.when-day { font-size: 15.5px; font-weight: 600; }
.when-time { font-size: 14px; color: var(--muted); }
.note-plain { padding: 14px; background: #FAF9F7; border-radius: 18px; font-size: 14px; color: var(--body); }

.checklist { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.check-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--body); line-height: 1.5; }
.check-num {
  width: 22px; height: 22px; border-radius: 999px; flex-shrink: 0; margin-top: 1px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 11.5px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* "What happens next" */
.next { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.next-label { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--muted); text-align: center; text-transform: uppercase; }
.next-cards { display: flex; flex-direction: column; gap: 10px; }
.next-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px; background: rgba(255,255,255,.72); border-radius: 18px; box-shadow: var(--shadow-sm);
}
.next-card .num {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 12px; color: var(--accent);
  background: var(--accent-soft); border-radius: 999px; padding: 5px 9px; flex-shrink: 0;
}
.next-card .t { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.next-card .d { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Step 2 — document card */
.doc-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; row-gap: 10px; }
.doc-icon { width: 50px; height: 50px; border-radius: 16px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.doc-title { font-size: 16px; font-weight: 600; }
.doc-row .pill { margin-left: auto; white-space: nowrap; }
.lock-row { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 18px; background: #FAF9F7; font-size: 13.5px; color: var(--body); }

/* Step 3 — embedded GHL form (fallback when no form endpoint is configured) */
.form-card { padding: 10px; }
.form-card iframe { display: block; width: 100%; min-height: 900px; border: 0; border-radius: 16px; }

/* Step 3 — our own intake form */
.section-title { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 600; }
.section-note { font-size: 13px; color: var(--muted); margin: 4px 0 0; line-height: 1.5; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field .req { color: var(--accent); }
.field .hint { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.field input, .field textarea {
  width: 100%; font: 400 15px/1.5 'Inter', sans-serif; color: var(--ink);
  background: #FBFAF8; border: 1px solid var(--border); border-radius: 14px;
  padding: 13px 15px; min-height: 50px; -webkit-appearance: none; transition: border-color .15s, box-shadow .15s, background .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #AFABA3; }
.field input:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(234, 88, 12, .12);
}
.field.invalid input, .field.invalid textarea { border-color: #DC2626; background: #FEF6F5; }
.field .err { font-size: 12.5px; color: #DC2626; }
.form-foot { display: flex; flex-direction: column; gap: 10px; }
.form-msg { font-size: 14px; border-radius: 14px; padding: 13px 15px; }
.form-msg.bad { background: #FEF2F2; color: #B91C1C; }

/* Step 4 — upload */
.dropcard {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  padding: 40px 24px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow);
  color: var(--ink); transition: transform .15s, box-shadow .15s;
}
a.dropcard:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(15,15,14,.05), 0 18px 40px rgba(15,15,14,.1); color: var(--ink); }
.dropicon {
  width: 68px; height: 68px; border-radius: 24px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #FFF6F0, var(--accent-soft)); box-shadow: inset 0 0 0 1px rgba(234,88,12,.1);
}
.dropcard .t { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 600; line-height: 1.3; }
.dropcard .btn { margin-top: 4px; }
.alt-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; }

.grid { display: flex; flex-direction: column; gap: 16px; }
.item { display: flex; gap: 12px; align-items: flex-start; }
.check { width: 24px; height: 24px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.item .t { font-size: 15px; font-weight: 600; }
.item .d { font-size: 13px; color: var(--muted); line-height: 1.5; }

.foot { text-align: center; font-size: 14.5px; color: var(--body); }
.foot strong { color: var(--ink); display: block; font-size: 16px; margin-bottom: 2px; }

/* Roomier on big screens; still one centered column */
@media (min-width: 720px) {
  :root { --gutter: 24px; }
  .header { padding-top: 34px; }
  .header img { height: 38px; }
  .wrap, .wrap.split { max-width: 600px; padding-bottom: 72px; gap: 26px; }
  .card { padding: 28px; }
  .next-cards { gap: 12px; }
}

@media (max-width: 400px) {
  :root { --gutter: 16px; }
  .card { padding: 20px; }
  .dropcard { padding: 30px 18px; }
}
