:root {
  --bg: #0d111d;
  --card: #131929;
  --ink: #f8fafc;
  --muted: #94a3b8;
  --line: rgba(255, 255, 255, 0.11);
  --blue: #2a3cff;
  --blue-hover: #1f30db;
  --blue-bright: #3b82f6;
  --gold: #ffc400;
  --gold-hover: #eab308;
  --danger: #ef4444;
  --danger-text: #fca5a5;
  --success: #22c55e;
  --success-text: #86efac;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hidden { display: none !important; }

.card {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

/* Live Animated Hero Stage */
.hero-frame {
  position: relative;
  background:
    radial-gradient(620px circle at 78% 48%, rgba(42, 60, 255, 0.34), transparent 68%),
    radial-gradient(360px circle at 64% 28%, rgba(255, 196, 0, 0.12), transparent 65%),
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    #0d111d;
  background-size: auto, auto, 22px 22px, auto;
  border: 1px solid rgba(59, 130, 246, 0.38);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 70px -24px rgba(42, 60, 255, 0.45);
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding: 28px 24px 32px;
  align-items: center;
}
@media (min-width: 880px) {
  .hero-stage {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    padding: 38px 36px 40px;
  }
}

.hero-copy { display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 2; }
.hero-brand-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hero-brand { display: inline-flex; align-items: center; gap: 12px; }
.hero-logo { width: 42px; height: 42px; display: block; border-radius: 10px; }
.hero-wordmark { font-size: 28px; font-weight: 900; letter-spacing: -0.03em; color: #ffffff; }
.hero-wordmark span { color: var(--blue-bright); }

.hero-pill {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: #0d111d;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-title {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.hero-sub {
  margin: 0;
  font-size: 16px;
  color: #cbd5e1;
  max-width: 460px;
  line-height: 1.48;
}

.hero-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 4px; }

.spots-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(13, 17, 29, 0.85);
  border: 1px solid rgba(255, 196, 0, 0.5);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Floating Animated Calendars + Notched QR Tickets Canvas */
.hero-visual {
  position: relative;
  min-height: 370px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.float-deck {
  position: relative;
  width: 100%;
  max-width: 470px;
  height: 365px;
}

@keyframes floatSmooth {
  0%, 100% { transform: rotate(-18deg) translate3d(0, 0, 0); }
  50% { transform: rotate(-18deg) translate3d(0, -7px, 0); }
}
@keyframes shimmer {
  0% { transform: translateX(-150%) skewX(-20deg); }
  100% { transform: translateX(280%) skewX(-20deg); }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

.h-card {
  position: absolute;
  border-radius: 14px;
  overflow: hidden;
  transform: rotate(-18deg);
  transition: box-shadow 260ms ease, border-color 260ms ease, filter 260ms ease;
}

.h-card:hover {
  filter: brightness(1.08);
  z-index: 10;
}

.h-card::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.11), transparent);
  transform: translateX(-150%) skewX(-20deg);
  pointer-events: none;
  animation: shimmer 6.8s ease-in-out infinite;
}

/* 1. Padel Courts Live Grid (top-left) */
.hc-padel {
  top: 16px;
  left: 16px;
  width: 224px;
  padding: 11px 13px;
  background: rgba(19, 25, 41, 0.92);
  border: 1px solid rgba(59, 130, 246, 0.6);
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.7), 0 0 26px -8px rgba(42, 60, 255, 0.55);
  animation: floatSmooth 7.4s ease-in-out infinite;
  z-index: 2;
}
.hc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 7px;
}
.hc-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
  animation: pulseDot 2s ease-in-out infinite;
}
.hc-grid {
  display: grid;
  grid-template-columns: 34px repeat(3, 1fr);
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: #94a3b8;
  align-items: center;
}
.hc-cell {
  height: 17px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7.5px;
  font-weight: 800;
  transition: background-color 320ms ease, color 320ms ease, border-color 320ms ease;
}
.hc-cell.booked {
  background: rgba(42, 60, 255, 0.36);
  border-color: rgba(59, 130, 246, 0.72);
  color: #dbeafe;
}
.hc-cell.dibs-now {
  background: var(--gold);
  border-color: var(--gold);
  color: #0d111d;
}

/* 2. Club Night Notched QR Ticket (top-right) */
.hc-ticket {
  display: flex;
  align-items: stretch;
  position: absolute;
}
.hc-ticket::before,
.hc-ticket .notch-bottom {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #0d111d;
  right: 52px;
  z-index: 3;
}
.hc-ticket::before { top: -7px; }
.hc-ticket .notch-bottom { bottom: -7px; }

.hc-club {
  top: 58px;
  right: -4px;
  width: 232px;
  background: linear-gradient(135deg, #2a3cff, #1d4ed8);
  border: 1px solid rgba(147, 197, 253, 0.7);
  box-shadow: 0 22px 44px -12px rgba(42, 60, 255, 0.65);
  animation: floatSmooth 8.2s ease-in-out -2.1s infinite;
  z-index: 4;
}
.hc-t-main { flex: 1; padding: 11px 13px; min-width: 0; }
.hc-t-brand { font-family: var(--font-mono); font-size: 8.5px; font-weight: 700; opacity: 0.82; letter-spacing: 0.06em; }
.hc-t-title { font-size: 12px; font-weight: 900; color: #ffffff; margin-top: 3px; letter-spacing: -0.01em; }
.hc-t-meta { font-family: var(--font-mono); font-size: 8.5px; color: var(--gold); margin-top: 5px; font-weight: 700; }
.hc-t-stub {
  width: 58px;
  border-left: 1.5px dashed rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  background: rgba(0, 0, 0, 0.14);
}
.hc-qr { width: 38px; height: 38px; display: block; border-radius: 4px; background: #ffffff; padding: 3px; }

/* 3. Crisp White Monthly Calendar (middle-left) */
.hc-cal {
  top: 146px;
  left: 64px;
  width: 204px;
  padding: 10px 12px;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  box-shadow: 0 22px 44px -12px rgba(0, 0, 0, 0.6);
  animation: floatSmooth 7.8s ease-in-out -4.2s infinite;
  z-index: 3;
}
.hc-cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}
.hc-cal-pill {
  padding: 2px 6px;
  border-radius: 999px;
  background: #2a3cff;
  color: #ffffff;
  font-size: 8px;
}
.hc-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: #334155;
}
.hc-cal-days span { padding: 2.5px 0; border-radius: 4px; }
.hc-cal-days .d-blue { background: #2a3cff; color: #ffffff; font-weight: 800; }
.hc-cal-days .d-gold { background: #ffc400; color: #0f172a; font-weight: 800; }

/* 4. Barber Today Schedule (bottom-left) */
.hc-barber {
  bottom: 24px;
  left: 24px;
  width: 212px;
  padding: 10px 12px;
  background: rgba(19, 25, 41, 0.95);
  border: 1px solid rgba(255, 196, 0, 0.55);
  box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.7);
  animation: floatSmooth 8.6s ease-in-out -1.4s infinite;
  z-index: 2;
}
.hc-slot-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 9px;
  margin-top: 5px;
}
.hc-slot-pill {
  flex: 1;
  padding: 3.5px 7px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 8.5px;
}
.hc-slot-pill.blue { background: rgba(42, 60, 255, 0.35); border: 1px solid rgba(59, 130, 246, 0.6); color: #ffffff; }
.hc-slot-pill.gold { background: rgba(255, 196, 0, 0.2); border: 1px solid rgba(255, 196, 0, 0.7); color: #fde68a; }

/* 5. Activity Notched QR Ticket (bottom-right) */
.hc-activity {
  bottom: 18px;
  right: 8px;
  width: 218px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid rgba(226, 232, 240, 0.5);
  box-shadow: 0 22px 42px -12px rgba(0, 0, 0, 0.75);
  animation: floatSmooth 8s ease-in-out -3.2s infinite;
  z-index: 5;
}

.hero-bar {
  background-color: var(--card);
  border-top: 1px solid var(--line);
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-bar-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #e2e8f0;
}

.hero-bar-logo { width: 24px; height: 24px; display: block; flex-shrink: 0; }

.gold-tag {
  background-color: var(--gold);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.03em;
}

.sep { color: rgba(255, 255, 255, 0.3); }

/* Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.btn-gold { background-color: var(--gold); color: var(--bg); }
.btn-gold:hover { background-color: var(--gold-hover); }
.btn-blue { background-color: var(--blue); color: #ffffff; }
.btn-blue:hover { background-color: var(--blue-hover); }
.btn-blue:disabled { opacity: 0.6; cursor: wait; }

/* 4-Pillar Promise Strip */
.promises {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 14px;
}
@media (min-width: 640px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .promises { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.promise-card { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.promise-kicker { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--gold); }
.promise-card h2 { margin: 0; font-size: 14px; font-weight: 700; color: #ffffff; }
.promise-card p { margin: 0; font-size: 12.5px; color: #cbd5e1; line-height: 1.5; }

/* Main 2-column grid */
.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
@media (min-width: 960px) { .main-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.panel { padding: 22px; display: flex; flex-direction: column; gap: 18px; }

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.panel-head h1 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.panel-head p { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.brand-blue { color: var(--blue-bright); }

.hold-badge {
  background-color: var(--gold);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.field-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 8px;
}

.hint { display: block; font-size: 12px; color: var(--muted); margin-bottom: 8px; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }

.cat-btn, .chip-btn {
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--bg);
  color: #e2e8f0;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.cat-btn:hover, .chip-btn:hover { border-color: var(--gold); }
.cat-btn.active, .chip-btn.active {
  background: var(--blue);
  border-color: var(--blue-bright);
  color: #ffffff;
}

/* URL Handle Input */
.handle-box {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--blue);
  border-radius: 12px;
  background: var(--bg);
  overflow: hidden;
}
.handle-box:focus-within { box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35); }
.handle-box input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 10px 14px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
}
.handle-box input:focus { outline: none; }
.handle-suffix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: #cbd5e1;
  flex-shrink: 0;
}

.handle-status {
  margin-top: 6px;
  font-size: 12px;
  font-family: var(--font-mono);
  min-height: 18px;
  color: var(--muted);
}
.handle-status.ok { color: var(--success-text); }
.handle-status.bad { color: var(--danger-text); }

.examples-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}
.example-btn {
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}
.example-btn:hover { border-color: var(--gold); }

/* Email form */
.claim-form { padding-top: 16px; border-top: 1px solid var(--line); }
.email-row { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 520px) { .email-row { flex-direction: row; align-items: flex-start; } }
.email-col { flex: 1; min-width: 0; }
.text-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--bg);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
}
.text-input:focus { outline: 2px solid var(--blue-bright); outline-offset: 1px; }

.error-msg {
  display: none;
  color: var(--danger-text);
  font-size: 12.5px;
  margin-top: 6px;
}
input:user-invalid { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
input:user-invalid + .error-msg { display: block; }
input:user-valid { border-color: var(--success); }

.form-alert {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: var(--danger-text);
}

/* Claimed Pass */
.claimed-pass {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pass-box {
  background: var(--bg);
  border: 1px solid rgba(255, 196, 0, 0.6);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pass-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.pass-brand { display: flex; align-items: center; gap: 8px; }
.pass-url { font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--gold); word-break: break-all; }
.pass-meta { font-size: 12.5px; color: #cbd5e1; }

.boost-head { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; margin-bottom: 8px; }
.boost-head strong { color: #ffffff; }
.boost-head span { font-family: var(--font-mono); color: var(--muted); }
.boost-head span.boosted { color: var(--gold); font-weight: 700; }

.ref-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

/* Right Column: Tabs + Live Venue Preview */
.preview-col { display: flex; flex-direction: column; gap: 12px; }
.tab-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.tabs {
  display: inline-flex;
  padding: 4px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--line);
}
.tab-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.tab-btn.active { background: var(--blue); color: #ffffff; }
.theme-label { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

/* Marketing-site sp-browser preview pickers (Brand colour + Visual preset) */
.sp-pickers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
}
.sp-picker-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sp-picker-lbl { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); text-transform: uppercase; margin-right: 2px; }

.sp-swatch {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  padding: 0;
  cursor: pointer;
}
.sp-swatch[aria-pressed="true"] { border-color: #ffffff; box-shadow: 0 0 0 2px var(--blue-bright); }
.sp-swatch--teal { background: #0e6170; }
.sp-swatch--forest { background: #1e5b3a; }
.sp-swatch--cobalt { background: #2f5bea; }
.sp-swatch--terracotta { background: #a84b24; }
.sp-swatch--espresso { background: #292524; }
.sp-swatch--charcoal { background: #0f172a; }

.sp-preset-btn {
  padding: 4px 9px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--bg);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.sp-preset-btn[aria-pressed="true"] { background: var(--blue); border-color: var(--blue-bright); color: #ffffff; }

/* Marketing-site sp-browser frame */
.venue-preview {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
  transition: max-width 220ms ease;
  margin: 0 auto;
  width: 100%;
  --pv-band: #0a3a44; --pv-band-text: #ffffff; --pv-dot: #e4f04b;
  --pv-ground: #f0f4f3; --pv-surface: #ffffff; --pv-ink: #0f2328;
  --pv-muted: #4f6267; --pv-line: #dce5e4; --pv-primary: #0e6170; --pv-on-primary: #ffffff;
}

/* Brand palette overrides */
.venue-preview[data-palette="teal"] { --pv-band: #0a3a44; --pv-primary: #0e6170; --pv-dot: #e4f04b; --pv-ground: #f0f4f3; }
.venue-preview[data-palette="forest"] { --pv-band: #123b26; --pv-primary: #1e5b3a; --pv-dot: #d9ee3a; --pv-ground: #f5f1e6; }
.venue-preview[data-palette="cobalt"] { --pv-band: #132f57; --pv-primary: #2f5bea; --pv-dot: #ffc400; --pv-ground: #f2f5fa; }
.venue-preview[data-palette="terracotta"] { --pv-band: #7c2a08; --pv-primary: #a84b24; --pv-dot: #ffc400; --pv-ground: #fff8f2; }
.venue-preview[data-palette="espresso"] { --pv-band: #1c1917; --pv-primary: #292524; --pv-dot: #ffc400; --pv-ground: #faf7f2; }
.venue-preview[data-palette="charcoal"] { --pv-band: #0e0e10; --pv-primary: #16181d; --pv-dot: #c8f25a; --pv-ground: #f4f6fb; }

/* Visual preset overrides (matching web/site/styles/site.css) */
.venue-preview[data-preset="vault"] {
  --pv-band: #0e0e10; --pv-band-text: #f4f2ee; --pv-ground: #111216;
  --pv-surface: #1b1c22; --pv-ink: #f4f2ee; --pv-muted: #9a9aa2;
  --pv-line: #2b2c35; --pv-primary: #c8f25a; --pv-on-primary: #0e0e10;
}
.venue-preview[data-preset="stay"] {
  --pv-ground: #f8f5ef; --pv-surface: #ffffff; --pv-ink: #231f1b;
  --pv-muted: #6b6157; --pv-line: #e6dfd4;
}
.venue-preview[data-preset="studio"] {
  --pv-band: #ffffff; --pv-band-text: #0f172a; --pv-ground: #f8fafc;
  --pv-surface: #ffffff; --pv-ink: #0f172a; --pv-muted: #475569;
  --pv-line: #e2e8f0;
}

/* Device switcher modes */
.venue-preview[data-device="phone"],
.venue-preview[data-device="app"] { max-width: 360px; border-radius: 26px; border: 3px solid rgba(255, 255, 255, 0.22); }
.venue-preview[data-device="phone"] .slot-grid,
.venue-preview[data-device="app"] .slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.pv-chrome {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 8px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
}
.pv-url-wrap { display: flex; align-items: center; gap: 6px; min-width: 0; }
.pv-chrome-dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.22); flex-shrink: 0; }
.pv-url { color: #ffffff; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sp-device-switch { display: inline-flex; gap: 3px; background: rgba(255, 255, 255, 0.06); padding: 2px; border-radius: 7px; }
.sp-device-btn {
  padding: 3px 7px;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
}
.sp-device-btn[aria-pressed="true"] { background: var(--blue); color: #ffffff; }

.pv-band {
  background: var(--pv-band);
  color: var(--pv-band-text);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--pv-line);
}
.pv-monogram {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.venue-preview[data-preset="studio"] .pv-monogram {
  background: var(--pv-primary);
  color: var(--pv-on-primary);
  border-color: transparent;
}
.pv-band-copy { flex: 1; min-width: 0; }
.pv-kicker { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em; opacity: 0.85; }
.pv-title { margin: 2px 0 0; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.pv-tagline { font-size: 11.5px; opacity: 0.8; margin-top: 2px; }
.pv-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--pv-dot); flex-shrink: 0; }

.pv-body {
  background: var(--pv-ground);
  color: var(--pv-ink);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Service / Resource rows */
.pv-service-list { display: flex; flex-direction: column; gap: 6px; }
.pv-service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--pv-line);
  background: var(--pv-surface);
  color: var(--pv-ink);
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}
.pv-service-row[aria-pressed="true"] {
  border-color: var(--pv-primary);
  box-shadow: inset 3px 0 0 var(--pv-primary);
}
.pv-svc-name { font-size: 13px; font-weight: 700; }
.pv-svc-meta { font-size: 11.5px; color: var(--pv-muted); }
.pv-svc-price { font-family: var(--font-mono); font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; flex-shrink: 0; }

/* Day tabs + time slot grid */
.pv-slots-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.pv-prompt { font-size: 11.5px; font-weight: 700; color: var(--pv-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.pv-day-tabs { display: flex; gap: 6px; margin-bottom: 8px; }
.pv-day-btn {
  flex: 1;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--pv-line);
  background: var(--pv-surface);
  color: var(--pv-ink);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}
.pv-day-btn[aria-pressed="true"] { background: var(--pv-primary); border-color: var(--pv-primary); color: var(--pv-on-primary); }

.slot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.slot-btn {
  padding: 8px 6px;
  border-radius: 9px;
  border: 1px solid var(--pv-line);
  background: var(--pv-surface);
  color: var(--pv-ink);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.slot-btn.picked {
  background: var(--pv-primary);
  border-color: var(--pv-primary);
  color: var(--pv-on-primary);
}

.pv-summary {
  background: var(--pv-surface);
  border: 1px solid var(--pv-line);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pv-picked { font-size: 13px; font-weight: 700; }
.pv-fee-note { font-size: 11.5px; color: var(--pv-muted); margin-top: 2px; }
.pv-price { font-family: var(--font-mono); font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }

.pv-footer {
  border-top: 1px solid var(--pv-line);
  padding-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--pv-muted);
}

/* Fee Slash Receipt */
.receipt-card { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.receipt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.receipt-kicker { font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; }
.receipt-item { font-size: 15px; font-weight: 700; margin-top: 2px; }
.fee-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.18);
  color: var(--danger-text);
  border: 1px solid rgba(239, 68, 68, 0.35);
}
.fee-badge.slashed { background: var(--gold); color: var(--bg); border-color: var(--gold); }

.receipt-lines { font-family: var(--font-mono); font-size: 13.5px; display: flex; flex-direction: column; gap: 10px; }
.r-row { display: flex; justify-content: space-between; position: relative; }
.r-fee { color: var(--danger-text); transition: opacity 260ms ease; }
.strike-line {
  position: absolute;
  left: 0;
  top: 50%;
  height: 2px;
  width: 0%;
  background: var(--danger);
  transition: width 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.slashed .r-fee { opacity: 0.4; }
.slashed .strike-line { width: 100%; }

.receipt-total {
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  padding-top: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.old-total { font-family: var(--font-mono); font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.old-total.crossed { font-size: 18px; color: #64748b; text-decoration: line-through; }
.new-total { font-family: var(--font-mono); font-size: 28px; font-weight: 800; color: var(--gold); margin-left: 10px; font-variant-numeric: tabular-nums; }
.receipt-foot { margin: 0; font-size: 12px; color: var(--muted); text-align: center; }

/* Wave 1 Launch Order */
.wave-section { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.wave-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.wave-head h2 { margin: 0; font-size: 14px; font-weight: 700; }
.wave-head p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.wave-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 640px) { .wave-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .wave-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.wave-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wave-card.leader { background: rgba(42, 60, 255, 0.16); border-color: var(--blue-bright); }
.wave-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 12px; font-weight: 700; }
.wave-track { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.wave-fill { height: 100%; border-radius: 999px; background: var(--blue-bright); transition: width 400ms ease; }
.wave-card.leader .wave-fill { background: var(--gold); }
.wave-stat { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

.unsub-banner {
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: var(--success-text);
  font-size: 13px;
}

.wave-full-banner {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 196, 0, 0.12);
  border: 1px solid rgba(255, 196, 0, 0.45);
  color: #fde68a;
  font-size: 12.5px;
  line-height: 1.45;
}

/* 1-line AI venue builder */
.ai-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid rgba(59, 130, 246, 0.35);
}
.ai-bar-row { display: flex; gap: 8px; }
.ai-bar input {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--bg);
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
}
.ai-bar input:focus { outline: 2px solid var(--blue-bright); outline-offset: 1px; }
.ai-btn {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 9px;
  border: none;
  background: var(--blue);
  color: #ffffff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.ai-btn:hover { background: var(--blue-hover); }
.ai-btn:disabled { opacity: 0.6; cursor: wait; }
.ai-hint { font-size: 11.5px; color: var(--muted); }

/* Interactive booking pass demo inside preview */
.pv-action-btn {
  width: 100%;
  margin-top: 10px;
  min-height: 42px;
  border-radius: 10px;
  border: none;
  background: var(--pv-primary);
  color: var(--pv-on-primary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.pv-pass-box {
  background: var(--pv-surface);
  border: 1.5px dashed var(--pv-primary);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pv-pass-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pv-pass-tag { font-family: var(--font-mono); font-size: 10.5px; font-weight: 800; color: var(--pv-primary); }
.pv-pass-title { font-size: 14px; font-weight: 800; }
.pv-pass-sub { font-size: 11.5px; color: var(--pv-muted); }
.pv-pass-qr { width: 54px; height: 54px; background: #ffffff; border-radius: 6px; padding: 4px; flex-shrink: 0; border: 1px solid var(--pv-line); }
.pv-reset-btn {
  margin-top: 6px;
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid var(--pv-line);
  background: transparent;
  color: var(--pv-ink);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

.site-footer {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.site-footer p { margin: 0; }
.footer-link { color: #93c5fd; text-decoration: underline; font-weight: 600; }
.footer-link:hover { color: var(--gold); }

.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
