/* QueenWait marketing site, sign-up wizard and owner dashboard */
@font-face { font-family: "Outfit"; src: url("/fonts/outfit.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("/fonts/cinzel.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
:root {
  --font: Outfit, system-ui, -apple-system, "Segoe UI", sans-serif;
  --bg: #faf9fb; --surface: #fff; --surface-2: #f4f2f8; --text: #16131f; --muted: #5d5869; --line: rgba(22, 19, 31, .12); --line-strong: rgba(22, 19, 31, .24);
  --gold: #3b2f7a; --gold-2: #4f42a0; --gold-ink: #3b2f7a; --on-gold: #fff; --accent-rgb: 59, 47, 122; --focus-ring: #3b2f7a;
  --ok: #1f7a3a; --warn: #8a5a00; --danger: #b42318;
  --radius: 20px; --shadow: 0 18px 50px rgba(30, 20, 60, .10); --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0f0d14; --surface: #18151f; --surface-2: #211d2b; --text: #f3f1f7; --muted: #b1abbd; --line: rgba(255,255,255,.10); --line-strong: rgba(255,255,255,.22); --gold: #5b4fb0; --gold-2: #6b5fc0; --gold-ink: #b3a9f0; --accent-rgb: 179, 169, 240; --focus-ring: #b3a9f0; --ok: #8fcf7a; --warn: #f2b84b; --danger: #ff8a7f; --shadow: 0 18px 50px rgba(0,0,0,.5); color-scheme: dark; }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font: 17px/1.55 var(--font); background: radial-gradient(1100px 600px at 50% -10%, rgba(var(--accent-rgb), .09), transparent 65%), var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; min-height: 100vh; }
a { color: var(--gold-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; border-radius: 10px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 640px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; letter-spacing: -.01em; color: var(--text); text-decoration: none; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav-links a { padding: 8px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .12s var(--ease), background .2s, border-color .2s; }
.btn:hover { border-color: var(--gold-ink); }
.btn:active { transform: scale(.98); }
.btn-primary { background: linear-gradient(180deg, var(--gold-2), var(--gold)); border-color: var(--gold); color: var(--on-gold); box-shadow: 0 10px 24px rgba(var(--accent-rgb), .25); }
.btn-primary:hover { border-color: var(--gold); filter: brightness(1.05); }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; font-size: 17px; padding: 0 26px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; filter: none; }
.text-btn { background: none; border: 0; color: var(--gold-ink); font: 600 15px var(--font); cursor: pointer; padding: 8px 4px; text-decoration: underline; text-underline-offset: 3px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; padding: 40px 0 64px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 12px; }
h1.big { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -.025em; font-weight: 700; }
h1.big em { font-style: normal; color: var(--gold-ink); }
.lead { font-size: 19px; color: var(--muted); margin: 18px 0 26px; max-width: 36em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.fine { font-size: 14px; color: var(--muted); margin-top: 12px; }
.device { position: relative; border-radius: 34px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 22px; }
.device .bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-weight: 700; }
.mono-chip { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 28%; color: #fff; font-weight: 700; font-size: 14px; }
.qrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; margin-top: 8px; background: var(--surface); }
.qrow b { font-weight: 600; }
.qrow small { color: var(--muted); display: block; font-size: 13px; }
.pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.pill.w { color: var(--warn); } .pill.n { color: var(--gold-ink); } .pill.c { color: #1d5fb0; } .pill.ok { color: var(--ok); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pill.c { color: #7fb2ff; } }

/* sections */
section.block { padding: 56px 0; }
.sec-title { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -.02em; font-weight: 700; margin-bottom: 10px; }
.sec-sub { color: var(--muted); font-size: 18px; max-width: 42em; margin-bottom: 30px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 19px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15.5px; }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(var(--accent-rgb), .12); color: var(--gold-ink); font-weight: 700; margin-bottom: 12px; }
.demo-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }

/* pricing */
.toggle-row { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 22px; }
.toggle-row button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font: 600 14.5px var(--font); color: var(--muted); cursor: pointer; }
.toggle-row button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px 22px; position: relative; }
.plan.featured { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -13px; left: 22px; background: var(--gold); color: var(--on-gold); font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 21px; }
.plan .for { color: var(--muted); font-size: 15px; min-height: 2.9em; }
.price { font-size: 44px; font-weight: 700; letter-spacing: -.02em; margin: 14px 0 0; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.price-note { font-size: 13.5px; color: var(--muted); min-height: 1.4em; margin-bottom: 16px; }
.plan ul { list-style: none; margin: 4px 0 22px; display: grid; gap: 8px; flex: 1; }
.plan li { padding-left: 26px; position: relative; font-size: 15.5px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 2.5px solid var(--gold-ink); border-bottom: 2.5px solid var(--gold-ink); transform: rotate(-45deg); }
.soon { display: block; text-align: center; font-size: 13px; color: var(--muted); margin-top: 8px; }
.addons { margin-top: 18px; }
.addon { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.addon b { font-size: 17px; }
.addon span { color: var(--muted); font-size: 15px; }
.addon .p { font-weight: 700; color: var(--text); white-space: nowrap; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 8px; }
.compare th, .compare td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.table-scroll { overflow-x: auto; }
details { border-top: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style-position: outside; }
details p { color: var(--muted); margin-top: 8px; }
footer.site { padding: 36px 0 48px; color: var(--muted); font-size: 14.5px; border-top: 1px solid var(--line); margin-top: 40px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* forms + wizard */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 28px 24px; box-shadow: var(--shadow); }
.steps { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.steps li { list-style: none; flex: 1; min-width: 34px; height: 5px; border-radius: 5px; background: var(--line); }
.steps li.on { background: var(--gold); }
.step-count { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
h1.title { font-size: clamp(26px, 4.5vw, 34px); line-height: 1.1; letter-spacing: -.02em; margin: 6px 0 8px; }
.sub { color: var(--muted); margin-bottom: 18px; }
.field { margin-bottom: 16px; }
.field label, .label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field .hint { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=time], input[type=search], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: 16px var(--font); color: var(--text); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 14px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-ink); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .15); }
.slug-input { display: flex; align-items: stretch; border: 1.5px solid var(--line-strong); border-radius: 14px; overflow: hidden; background: var(--surface); }
.slug-input span { display: grid; place-items: center; padding: 0 10px 0 14px; color: var(--muted); background: var(--surface-2); font-size: 15px; white-space: nowrap; }
.slug-input input { border: 0; border-radius: 0; min-width: 0; }
.slug-input:focus-within { border-color: var(--gold-ink); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .15); }
.ok-text { color: var(--ok); font-size: 14px; font-weight: 600; margin-top: 6px; }
.err-text { color: var(--danger); font-size: 14.5px; font-weight: 600; min-height: 1.3em; margin-top: 6px; }
.actions { display: flex; gap: 10px; margin-top: 22px; }
.actions .btn { flex: 1; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 12px; }
.swatch { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--surface); box-shadow: 0 0 0 1.5px var(--line-strong); cursor: pointer; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--text); }
.color-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.color-row input[type=color] { width: 54px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: none; padding: 2px; cursor: pointer; }
.color-row input[type=text] { max-width: 140px; }
.contrast-note { font-size: 13.5px; color: var(--muted); }
.logo-drop { display: flex; gap: 16px; align-items: center; padding: 14px; border: 1.5px dashed var(--line-strong); border-radius: 18px; flex-wrap: wrap; }
.logo-drop .prev { width: 96px; height: 96px; border-radius: 18px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; flex: none; }
.logo-drop .prev img { max-width: 92%; max-height: 92%; object-fit: contain; }
.logo-drop .prev .mono-chip { width: 72px; height: 72px; font-size: 28px; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 9px 14px; border-radius: 10px; font: 600 15px var(--font); color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.preset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.preset { text-align: left; padding: 14px; border-radius: 16px; border: 1.5px solid var(--line-strong); background: var(--surface); cursor: pointer; font: 600 15.5px var(--font); color: var(--text); }
.preset small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; margin-top: 2px; }
.preset[aria-pressed="true"] { border-color: var(--gold-ink); background: rgba(var(--accent-rgb), .08); box-shadow: inset 0 0 0 1px var(--gold-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; max-height: 260px; overflow: auto; padding: 2px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 8px 7px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14.5px; }
.chip button { border: 0; background: none; color: var(--muted); font-size: 17px; line-height: 1; cursor: pointer; width: 26px; height: 26px; border-radius: 50%; }
.chip button:hover { background: var(--line); color: var(--text); }
.add-row { display: flex; gap: 8px; }
.add-row .btn { flex: none; }
.hours { display: grid; gap: 8px; }
.hrow { display: grid; grid-template-columns: 110px auto 1fr 1fr; gap: 8px; align-items: center; }
.hrow input[type=time] { min-height: 44px; padding: 8px 10px; }
.hrow .closed-lbl { display: inline-flex; gap: 6px; align-items: center; font-size: 14.5px; color: var(--muted); }
.preview-frame { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; height: 420px; background: var(--bg); }
.preview-frame iframe { width: 100%; height: 100%; border: 0; }
.done-links { display: grid; gap: 10px; margin: 16px 0; }
.linkbox { display: flex; gap: 8px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); flex-wrap: wrap; }
.linkbox code { font-size: 14.5px; word-break: break-all; flex: 1; min-width: 0; }
.qr { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.qr canvas { border-radius: 12px; background: #fff; padding: 8px; }
.callout { padding: 14px 16px; border-radius: 16px; background: rgba(var(--accent-rgb), .08); border: 1px dashed var(--line-strong); font-size: 15px; }
.salon-card { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.salon-card .mono-chip, .salon-card img { width: 60px; height: 60px; border-radius: 16px; object-fit: contain; }
.salon-card img { background: #fff; border: 1px solid var(--line); }
.salon-meta { color: var(--muted); font-size: 14.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.btn-row .btn { min-height: 42px; font-size: 14.5px; padding: 0 14px; }
.stat-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.stat-row div { flex: 1; min-width: 120px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); }
.stat-row b { display: block; font-size: 22px; }
.stat-row span { font-size: 13px; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(30px); opacity: 0; background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 14px; font-weight: 600; transition: .25s var(--ease); pointer-events: none; z-index: 50; max-width: 90vw; }
.toast.show { opacity: 1; transform: translateX(-50%); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; gap: 28px; }
  .plans, .grid3 { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .panel { padding: 22px 16px; border-radius: 22px; }
  .hrow { grid-template-columns: 1fr 1fr; }
  .hrow .day { grid-column: 1 / -1; font-weight: 600; }
  .nav-links a.hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media (max-width: 560px) {
  .hrow { grid-template-columns: 1fr 1fr; grid-template-areas: "day closed" "open close"; row-gap: 6px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
  .hrow .day { grid-area: day; } .hrow .closed-lbl { grid-area: closed; justify-self: end; }
  .hrow [data-open] { grid-area: open; } .hrow [data-close] { grid-area: close; }
  .hrow input[type=time] { width: 100%; min-width: 0; }
}
