/* QCK signup — "Your website, live in 3 minutes." icon-stepper onboarding. */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
:root {
  --bg: #070707;
  --ink: #F6F4F1;
  --ink-dim: rgba(246,244,241,0.58);
  --ink-faint: rgba(246,244,241,0.34);
  --qck: #FB5A2D;
  --qck-ink: #1a0a04;
  --green: #5fd08a;
  --card: rgba(255,255,255,0.035);
  --card-2: rgba(255,255,255,0.05);
  --edge: rgba(255,255,255,0.10);
  --edge-hi: rgba(255,255,255,0.22);
  --field: rgba(255,255,255,0.045);
}
body {
  min-height: 100dvh;
  color: var(--ink);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(85% 55% at 12% -8%, rgba(251,90,45,0.20), transparent 55%),
    radial-gradient(60% 45% at 100% 0%, rgba(251,90,45,0.06), transparent 60%),
    var(--bg);
  padding: clamp(18px, 4vw, 40px);
}
.shell { max-width: 520px; margin: 0 auto; }

.brand { display: flex; align-items: center; gap: 8px; margin: 4px 0 clamp(22px, 5vw, 40px); }
.brand .mark { font-weight: 800; letter-spacing: -0.05em; font-size: 22px; }
.brand .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--qck); }
.brand a { margin-left: auto; font-size: 15px; color: var(--ink-dim); text-decoration: none; }
.brand a:hover { color: var(--ink); }

.stage { margin-bottom: clamp(20px, 5vw, 34px); }
.stage h1 { font-size: clamp(40px, 10vw, 60px); line-height: 0.97; letter-spacing: -0.045em; margin: 0 0 14px; font-weight: 760; }
.stage h1 .o { color: var(--qck); }
.stage p { color: var(--ink-dim); font-size: clamp(16px, 2.6vw, 19px); margin: 0; }

.panel {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: 26px;
  padding: clamp(18px, 4.5vw, 28px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

/* icon stepper */
.stepper { display: flex; align-items: flex-start; margin-bottom: 22px; }
.node { display: flex; flex-direction: column; align-items: center; gap: 9px; flex: 0 0 auto; cursor: default; }
.node .circ {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.03);
  display: grid; place-items: center; color: rgba(255,255,255,0.5);
  transition: background .2s, color .2s, box-shadow .2s, border-color .2s;
}
.node .circ svg { width: 24px; height: 24px; }
.node .lbl { font-size: 14px; font-weight: 650; color: rgba(255,255,255,0.42); transition: color .2s; }
.node.done .circ, .node.on .circ { background: var(--qck); border-color: var(--qck); color: var(--qck-ink); }
.node.on .circ { box-shadow: 0 0 0 6px rgba(251,90,45,0.18); }
.node.on .lbl { color: #fff; }
.node.done { cursor: pointer; }
.line { flex: 1; height: 2px; background: rgba(255,255,255,0.12); margin-top: 27px; transition: background .2s; }
.line.done { background: var(--qck); }

.step { display: none; }
.step.on { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* inputs */
.inp {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: var(--field); border: 1px solid var(--edge); border-radius: 16px;
  padding: 16px 18px; outline: none; transition: border-color .15s, background .15s;
}
.inp:focus { border-color: var(--edge-hi); background: var(--card-2); }
.inp::placeholder { color: var(--ink-faint); }
.row-gap { margin-top: 11px; }

.search-wrap { position: relative; }
.search-wrap .si { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink-faint); pointer-events: none; }
.search-wrap .inp { padding-left: 48px; }
.search-wrap .spin { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; border: 2px solid var(--edge); border-top-color: var(--qck); border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.search-wrap.busy .spin { display: block; }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

.results { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; max-height: 40vh; overflow-y: auto; }
.result { display: flex; gap: 12px; align-items: center; text-align: left; cursor: pointer; background: var(--field); border: 1px solid var(--edge); border-radius: 16px; padding: 13px 15px; color: var(--ink); width: 100%; }
.result:hover { border-color: var(--edge-hi); background: var(--card-2); }
.result .nm { font-weight: 600; }
.result .meta { font-size: 13px; color: var(--ink-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result .tick { margin-left: auto; color: var(--qck); opacity: 0; flex: 0 0 auto; }
.result.sel .tick { opacity: 1; }

.alt { text-align: center; margin-top: 14px; font-size: 14px; color: var(--ink-dim); }
.alt button { background: none; border: 0; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.alt button:hover { color: var(--qck); }
.foot-note { text-align: center; margin-top: 18px; color: var(--ink-dim); font-size: 14px; }
.foot-note b { color: var(--qck); }

/* theme picker */
.themes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.theme-opt { cursor: pointer; border: 2px solid var(--edge); border-radius: 18px; overflow: hidden; background: rgba(255,255,255,0.02); padding: 0; text-align: left; position: relative; }
.theme-opt.sel { border-color: var(--qck); }
.theme-opt .check { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--qck); color: var(--qck-ink); display: none; place-items: center; }
.theme-opt.sel .check { display: grid; }
.theme-prev { height: 116px; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; }
.theme-prev .bar { height: 7px; border-radius: 4px; }
.theme-prev.glass { background: linear-gradient(150deg, #2a2a2e, #0e0e12); }
.theme-prev.light { background: #ECEAE5; }
.theme-name { padding: 11px 15px; font-size: 14px; font-weight: 650; }

/* phone + subdomain */
.phone-row { display: flex; gap: 9px; }
.phone-row select.inp { flex: 0 0 auto; width: auto; min-width: 96px; max-width: 46%; padding-left: 14px; padding-right: 14px; -webkit-appearance: none; appearance: none; font-weight: 600; }
.phone-row .inp.num { flex: 1; min-width: 0; }
.sub-row { display: flex; align-items: center; gap: 8px; margin-top: 11px; }
.sub-row .inp { text-align: right; font-weight: 600; }
.sub-suffix { color: var(--ink-dim); white-space: nowrap; font-weight: 600; }

.btn-go { width: 100%; margin-top: 20px; border: 0; cursor: pointer; font: inherit; font-size: 17px; font-weight: 700; background: var(--qck); color: var(--qck-ink); padding: 17px; border-radius: 16px; transition: filter .15s; }
.btn-go:hover { filter: brightness(1.06); }
.btn-go:disabled { opacity: .5; cursor: default; }
.btn-back { display: block; width: 100%; background: none; border: 0; color: var(--ink-dim); font: inherit; cursor: pointer; margin-top: 12px; padding: 8px; }
.btn-back:hover { color: var(--ink); }
.linkrow { margin-top: 12px; text-align: center; }
.linkrow button { background: none; border: 0; color: var(--ink-dim); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.msg { font-size: 13px; margin-top: 8px; min-height: 18px; }
.msg.err { color: #ff9a9a; }
.msg.ok { color: var(--green); font-weight: 600; }

/* login modal */
.lov { position: fixed; inset: 0; z-index: 200; background: rgba(5,5,7,.66); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 18px; }
.lcard { max-width: 400px; width: 100%; background: #0c0c0d; border: 1px solid var(--edge); border-radius: 24px; padding: 24px; background-image: radial-gradient(80% 60% at 50% -10%, rgba(251,90,45,0.14), transparent 60%); }
.lcard h2 { margin: 0 0 4px; font-size: 22px; letter-spacing: -0.02em; }
.lcard .sub { color: var(--ink-dim); font-size: 14px; margin: 0 0 18px; }
