/* ─────────────────────────────────────────────────────────────────
 * VenueFuze design system
 *
 * Three isolated visual systems share these tokens:
 *   1. Public marketing site       → .vf-page, .vf-nav, .vf-hero…
 *   2. Consumer attendee mockup    → .vf-cphone…
 *   3. Organizer scanner mockup    → .vf-ophone…
 *
 * Layout primitives (.vf-container / .vf-split / .vf-grid-*) replace
 * Bootstrap's .container/.row/.col so the marketing surface does not
 * inherit Bootstrap's gutter/spacing assumptions. Bootstrap stays
 * loaded for admin forms, modals, and tables — the marketing code
 * does not use any of its layout classes.
 * ───────────────────────────────────────────────────────────────── */

/* ===== Tokens =================================================== */

:root,
[data-bs-theme="light"] {
  --vf-navy: #071b3d;
  --vf-blue: #2563eb;
  --vf-sky: #38bdf8;
  --vf-mint: #2dd4bf;
  --vf-green: #34d399;
  --vf-coral: #ff7a59;

  --bs-primary: var(--vf-blue);
  --bs-primary-rgb: 37, 99, 235;
  --bs-info: var(--vf-sky);
  --bs-success: var(--vf-mint);

  --bs-body-bg: #f8fafc;
  --bs-body-color: #0f172a;
  --bs-emphasis-color: var(--vf-navy);
  --bs-secondary-color: #64748b;
  --bs-tertiary-bg: #eef6ff;
  --bs-border-color: #dbeafe;

  --vf-surface: #ffffff;
  --vf-soft: #eef6ff;
  --vf-muted: #94a3b8;
  --vf-line: #e2e8f0;

  --vf-gradient: linear-gradient(135deg, var(--vf-blue), var(--vf-sky), var(--vf-mint));
  --vf-gradient-warm: linear-gradient(135deg, #2563eb, #06b6d4, #2dd4bf);
  --vf-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.04);
  --vf-shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --vf-shadow-lg: 0 28px 64px rgba(15, 23, 42, 0.14), 0 8px 16px rgba(15, 23, 42, 0.06);
  --vf-radius-xs: 0.5rem;
  --vf-radius-sm: 0.75rem;
  --vf-radius-md: 1rem;
  --vf-radius-lg: 1.25rem;
  --vf-radius-xl: 1.75rem;
  --vf-radius-pill: 999px;
}

[data-bs-theme="dark"] {
  --vf-navy: #eaf6ff;
  --vf-blue: #60a5fa;
  --vf-sky: #38bdf8;
  --vf-mint: #2dd4bf;
  --vf-green: #34d399;
  --vf-coral: #ff8a6b;

  --bs-primary: var(--vf-blue);
  --bs-primary-rgb: 96, 165, 250;
  --bs-info: var(--vf-sky);
  --bs-success: var(--vf-mint);

  --bs-body-bg: #07111f;
  --bs-body-color: #e5edf7;
  --bs-emphasis-color: #ffffff;
  --bs-secondary-color: #a8b3c7;
  --bs-tertiary-bg: #0f1f35;
  --bs-border-color: rgba(148, 163, 184, 0.22);

  --vf-surface: #0d1b2f;
  --vf-soft: #102947;
  --vf-line: rgba(148, 163, 184, 0.18);
  --vf-gradient: linear-gradient(135deg, #2563eb, #06b6d4, #2dd4bf);
  --vf-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --vf-shadow-md: 0 14px 36px rgba(0, 0, 0, 0.45);
  --vf-shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.55);
}

/* ===== Base ===================================================== */

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

html, body { margin: 0; padding: 0; }

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 700px at 100% -10%, rgba(56, 189, 248, 0.18), transparent 60%),
    radial-gradient(900px 600px at -5% 110%, rgba(45, 212, 191, 0.15), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bs-body-bg) 100%);
  color: var(--bs-body-color);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[data-bs-theme="dark"] body {
  background:
    radial-gradient(900px 600px at 100% -5%, rgba(56, 189, 248, 0.16), transparent 60%),
    var(--bs-body-bg);
}

a { color: var(--vf-blue); text-decoration: none; }
a:hover { color: var(--vf-blue); text-decoration: underline; }

/* ===== Layout primitives ========================================
 * .vf-container       — centered max-width with safe horizontal padding
 * .vf-stack           — vertical flex column (gap controlled by --gap)
 * .vf-cluster         — horizontal flex with wrapping
 * .vf-split           — 2-col grid that stacks below lg (1024px)
 * .vf-grid-2/3/4      — responsive equal-column grids
 * .vf-section         — vertical section spacing
 * ============================================================== */

.vf-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.vf-stack {
  display: flex;
  flex-direction: column;
  gap: var(--gap, 1rem);
}

.vf-cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap, 0.75rem);
}

.vf-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 3.5rem);
  align-items: center;
}
@media (min-width: 1024px) {
  .vf-split { grid-template-columns: 1.05fr 0.95fr; }
  .vf-split--reverse > :first-child { order: 2; }
  .vf-split--reverse > :last-child { order: 1; }
}

.vf-grid-2,
.vf-grid-3,
.vf-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.75rem, 2vw, 1.25rem);
}
@media (min-width: 640px) {
  .vf-grid-2,
  .vf-grid-3,
  .vf-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .vf-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .vf-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.vf-section { padding: clamp(2.5rem, 7vw, 5.5rem) 0; }
.vf-section--tight { padding: clamp(1.75rem, 4vw, 3rem) 0; }

.vf-section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(1.75rem, 4vw, 2.75rem);
}
.vf-section__title {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--vf-navy);
  margin: 0;
  font-weight: 800;
}
.vf-section__subtitle {
  margin: 1rem auto 0;
  color: var(--bs-secondary-color);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.55;
  max-width: 640px;
}

/* ===== Buttons ================================================== */

.vf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.65rem 1.25rem;
  border-radius: var(--vf-radius-pill);
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
}
.vf-btn:hover { text-decoration: none; }
/* Tiny phones: any long marketing button wraps instead of overflowing the
 * viewport (base .vf-btn is nowrap). Applies everywhere buttons appear. */
@media (max-width: 400px) {
  .vf-btn { white-space: normal; }
}

.vf-btn--lg { min-height: 54px; padding-inline: 1.5rem; font-size: 1rem; }
.vf-btn--sm { min-height: 38px; padding: 0.4rem 0.9rem; font-size: 0.85rem; }

.vf-btn--primary {
  color: #fff;
  background: var(--vf-gradient);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}
.vf-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 18px 36px rgba(37, 99, 235, 0.34); color: #fff; }

.vf-btn--outline {
  color: var(--vf-blue);
  border-color: rgba(37, 99, 235, 0.32);
  background: transparent;
}
.vf-btn--outline:hover {
  color: #fff;
  background: var(--vf-gradient);
  border-color: transparent;
}

.vf-btn--ghost {
  color: var(--bs-secondary-color);
  background: transparent;
}
.vf-btn--ghost:hover { color: var(--vf-blue); }

.vf-btn--light {
  color: var(--vf-navy);
  background: #ffffff;
  border-color: transparent;
}
.vf-btn--light:hover { transform: translateY(-1px); box-shadow: var(--vf-shadow-md); color: var(--vf-navy); }

.vf-btn[disabled],
.vf-btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ===== Marketing nav (clean horizontal bar) ===================== */

.vf-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}
.vf-nav__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 auto;
  padding: 0.85rem clamp(1rem, 4vw, 2rem);
  max-width: 1200px;
}

.vf-nav__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.vf-nav__brand:hover { text-decoration: none; }
.vf-nav__brand-img {
  height: 48px;
  width: auto;
  display: block;
}
@media (max-width: 540px) {
  .vf-nav__brand-img { height: 38px; }
}

.vf-nav__links {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
  gap: 0.15rem;
}
@media (min-width: 900px) {
  .vf-nav__links { display: flex; margin-inline: auto; }
}
/* Below 900px the desktop list disappears and the .vf-hamburger
 * toggles the drawer (handled in MobileMenu.tsx + .vf-mobile-drawer). */
.vf-nav__link {
  padding: 0.5rem 0.95rem;
  border-radius: var(--vf-radius-pill);
  color: #475569;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 120ms ease, background 120ms ease;
}
.vf-nav__link:hover {
  color: var(--vf-navy);
  background: rgba(37, 99, 235, 0.05);
  text-decoration: none;
}
.vf-nav__link--dropdown::after {
  content: "";
  display: inline-block;
  margin-left: 0.35rem;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.vf-nav__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.vf-nav__actions .vf-btn--sm { padding: 0.5rem 1.1rem; min-height: 40px; font-size: 0.88rem; }
@media (max-width: 540px) {
  .vf-nav__actions .vf-nav__login { display: none; }
  .vf-nav__actions .vf-btn--sm { padding: 0.45rem 0.85rem; font-size: 0.82rem; }
  /* Polish 2026-06-18: hide the primary CTA pill on mobile — it was
   * duplicated inside the hamburger drawer already and the 3-way header
   * (logo + pill + hamburger) crowded the 375px viewport. */
  .vf-nav__cta-desktop { display: none; }
}

/* ===== Hamburger + mobile drawer (shared by public + admin) ===== */

.vf-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--vf-line);
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 120ms ease, border-color 120ms ease;
}
.vf-hamburger:hover { background: rgba(255, 255, 255, 0.9); border-color: rgba(37, 99, 235, 0.32); }
.vf-hamburger > span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--vf-navy);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
  transform-origin: center;
}
.vf-hamburger[data-open="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.vf-hamburger[data-open="true"] > span:nth-child(2) { opacity: 0; }
.vf-hamburger[data-open="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

[data-bs-theme="dark"] .vf-hamburger {
  background: rgba(15, 31, 53, 0.6);
  border-color: rgba(148, 163, 184, 0.22);
}
[data-bs-theme="dark"] .vf-hamburger > span { background: #e5edf7; }
[data-bs-theme="dark"] .vf-hamburger:hover { background: rgba(15, 31, 53, 0.9); }

@media (max-width: 899px) {
  .vf-hamburger { display: flex; }
}

.vf-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 40;
  border: 0;
  padding: 0;
  cursor: pointer;
  animation: vf-fade-in 180ms ease;
}
@keyframes vf-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.vf-mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  width: min(330px, 88vw);
  background: var(--vf-surface);
  z-index: 50;
  padding: 5rem 1.25rem 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
}
.vf-mobile-drawer--right {
  right: 0;
  box-shadow: -20px 0 60px rgba(15, 23, 42, 0.18);
  animation: vf-drawer-in-right 220ms cubic-bezier(0.32, 0.72, 0, 1);
}
.vf-mobile-drawer--left {
  left: 0;
  box-shadow: 20px 0 60px rgba(15, 23, 42, 0.18);
  animation: vf-drawer-in-left 220ms cubic-bezier(0.32, 0.72, 0, 1);
}
@keyframes vf-drawer-in-right {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@keyframes vf-drawer-in-left {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

.vf-mobile-drawer__brand {
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  right: 4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.vf-mobile-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.vf-mobile-drawer__heading {
  padding: 0.9rem 0.95rem 0.3rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bs-secondary-color);
}
.vf-mobile-drawer__list li:first-child .vf-mobile-drawer__heading { padding-top: 0.2rem; }

.vf-mobile-drawer__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  /* min-height guarantees the WCAG 2.5.5 44px target even if a future
     font-size tweak shrinks the padded height. */
  min-height: 44px;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  color: var(--vf-navy);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: -0.005em;
}
.vf-mobile-drawer__link:hover {
  background: var(--bs-tertiary-bg);
  text-decoration: none;
}
.vf-mobile-drawer__link.is-active {
  background: var(--vf-gradient);
  color: #fff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}
.vf-mobile-drawer__link.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.vf-mobile-drawer__emoji {
  width: 28px;
  text-align: center;
  font-size: 1.05rem;
}
.vf-mobile-drawer__badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.22);
  color: #475569;
}

.vf-mobile-drawer__footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--vf-line);
}

/* ===== Hero — asymmetric, oversized typography ================== */

.vf-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2.5rem, 6vw, 5rem);
  position: relative;
}

.vf-hero::before {
  /* Soft decorative bloom behind the hero — adds depth without
     drawing attention. Hidden on mobile to keep things calm. */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 480px at 88% 35%, rgba(56, 189, 248, 0.16), transparent 70%),
    radial-gradient(540px 380px at 12% 75%, rgba(45, 212, 191, 0.1), transparent 70%);
  z-index: -1;
}

.vf-hero__text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Asymmetric desktop split — left-heavy text, phone right with breathing room.
 * Top-align so the eyebrow/headline pin near the top of the section instead
 * of floating mid-height when the phone is tall. */
.vf-hero .vf-split { gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
@media (min-width: 1024px) {
  .vf-hero .vf-split { grid-template-columns: 1.18fr 0.82fr; }
}

.vf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  padding: 0.45rem 0.95rem;
  border-radius: var(--vf-radius-pill);
  background: rgba(45, 212, 191, 0.12);
  color: #0f766e;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
[data-bs-theme="dark"] .vf-eyebrow { color: #6ee7d7; }

.vf-hero__title {
  margin: 0;
  /* Sized to sit on one line at desktop with the asymmetric column.
   * Stacks naturally on mobile where the column is narrower. */
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--vf-navy);
  font-weight: 800;
  overflow-wrap: break-word;
}
.vf-hero__title--unify { color: var(--vf-navy); }
.vf-hero__title--manage { color: var(--vf-blue); }
.vf-hero__title--grow { color: var(--vf-mint); }

.vf-gradient-text {
  background: var(--vf-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vf-hero__tagline {
  margin: 0;
  color: var(--bs-secondary-color);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.005em;
}

.vf-hero__subtitle {
  margin: 0;
  color: #475569;
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.55;
  max-width: 540px;
}

.vf-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.25rem;
}

/* Very narrow phones (≤380px): stack the hero CTAs full-width and let a long
 * button label wrap instead of overflowing the viewport (.vf-btn is nowrap). */
@media (max-width: 380px) {
  .vf-hero__cta { flex-direction: column; align-items: stretch; }
  .vf-hero__cta .vf-btn { white-space: normal; width: 100%; }
}

.vf-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
  opacity: 0.92;
}
.vf-trust__chip {
  padding: 0.35rem 0.8rem;
  border-radius: var(--vf-radius-pill);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(219, 234, 254, 0.7);
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  backdrop-filter: blur(8px);
}
/* Audience chips that link to a use-case page — read as tappable. */
a.vf-trust__chip--link {
  text-decoration: none;
  transition: color 140ms ease, border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}
a.vf-trust__chip--link:hover {
  color: var(--vf-blue);
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12);
  text-decoration: none;
}
[data-bs-theme="dark"] .vf-trust__chip {
  background: rgba(15, 31, 53, 0.6);
  border-color: rgba(148, 163, 184, 0.22);
  color: var(--bs-secondary-color);
}

.vf-hero__media {
  display: flex;
  justify-content: center;
}
@media (min-width: 1024px) {
  .vf-hero__media { justify-content: flex-end; }
}

/* Phone-image rendering for marketing PNGs (replaces the React mockups). */
.vf-hero__phone {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 30px 60px rgba(15, 23, 42, 0.18))
    drop-shadow(0 8px 18px rgba(15, 23, 42, 0.08));
}
@media (min-width: 1024px) {
  .vf-hero__phone { max-width: 400px; }
}

/* ===== Trusted-by strip =========================================
 * Logos render desaturated by default and recolor on hover, so
 * partner logos blend into the page until you focus on them. */
.vf-trusted {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  text-align: center;
}
.vf-trusted__label {
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--bs-secondary-color);
  text-transform: uppercase;
}
.vf-trusted__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.vf-trusted__logo {
  height: 56px;
  width: auto;
  filter: grayscale(1) opacity(0.6);
  transition: filter 200ms ease;
}
.vf-trusted__logo:hover { filter: grayscale(0) opacity(1); }
.vf-trusted__placeholder {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  border-radius: 12px;
  background: var(--vf-surface);
  border: 1px dashed var(--vf-line);
  color: var(--bs-secondary-color);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* ===== Forms (used by /contact + /subscribe) ==================== */
.vf-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--vf-surface);
  border: 1px solid var(--vf-line);
  border-radius: var(--vf-radius-lg);
  box-shadow: var(--vf-shadow-sm);
}
.vf-form--narrow { max-width: 480px; }

.vf-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 640px) {
  .vf-form__row { grid-template-columns: 1fr 1fr; }
}

.vf-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.vf-form__field > span {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--vf-navy);
  letter-spacing: -0.01em;
}
.vf-form__field input,
.vf-form__field select,
.vf-form__field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--vf-line);
  background: #ffffff;
  color: var(--bs-body-color);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.vf-form__field textarea { resize: vertical; min-height: 120px; }
.vf-form__field input:focus,
.vf-form__field select:focus,
.vf-form__field textarea:focus {
  outline: none;
  border-color: var(--vf-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.vf-form__check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.5;
}
.vf-form__check input { margin-top: 0.2rem; flex-shrink: 0; }
.vf-form__check a { color: var(--vf-blue); text-decoration: underline; }

.vf-form__footnote {
  margin: 0;
  font-size: 0.85rem;
  color: var(--bs-secondary-color);
  text-align: center;
}

/* ===== Footer (zafronix-style 4-column block) =================== */
.vf-footer {
  margin-top: clamp(2rem, 4vw, 4rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
  background:
    linear-gradient(180deg, transparent 0, rgba(7, 27, 61, 0.04) 100%),
    var(--vf-surface);
  border-top: 1px solid var(--vf-line);
}
.vf-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .vf-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem clamp(1.5rem, 3vw, 3rem); }
}
@media (min-width: 1024px) {
  .vf-footer__grid { grid-template-columns: 1.5fr repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
}
.vf-footer__brand-img { height: 44px; width: auto; display: block; margin-bottom: 0.85rem; }
.vf-footer__brand-tagline {
  margin: 0;
  color: var(--bs-secondary-color);
  line-height: 1.55;
  max-width: 320px;
  font-size: 0.92rem;
}
.vf-footer__col-title {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--vf-navy);
  text-transform: uppercase;
}
.vf-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.vf-footer__list a {
  color: #475569;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}
.vf-footer__list a:hover { color: var(--vf-blue); text-decoration: underline; }
/* Mobile tap targets (WCAG 2.5.5). Footer nav links are inline text ~18px
   tall — fine for a cursor, too small to tap reliably, and they sit in
   dense stacked columns. On narrow screens give each link a full-width
   44px hit area; the row gap is dropped to 0 so the footer doesn't grow
   more than it has to. Desktop density is untouched. */
@media (max-width: 768px) {
  .vf-footer__list { gap: 0; }
  .vf-footer__list a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}
.vf-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--vf-line);
  font-size: 0.82rem;
  color: var(--bs-secondary-color);
}
.vf-footer__copy { display: inline-flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
.vf-footer__copy strong { color: var(--vf-navy); font-weight: 800; }
.vf-footer__sep { color: var(--vf-line); }
.vf-footer__admin {
  color: var(--bs-secondary-color);
  font-size: 0.78rem;
  text-decoration: none;
  letter-spacing: -0.005em;
}
.vf-footer__admin:hover { color: var(--vf-blue); text-decoration: underline; }
.vf-footer__social { display: inline-flex; gap: 0.5rem; }
.vf-footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--bs-tertiary-bg);
  color: #475569;
  transition: background 120ms ease, color 120ms ease;
}
.vf-footer__social a:hover { background: var(--vf-gradient); color: #fff; text-decoration: none; }

/* ===== Cards (marketing) ======================================== */

.vf-feature {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.6rem;
  border-radius: var(--vf-radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0)),
    var(--vf-surface);
  border: 1px solid rgba(219, 234, 254, 0.7);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 6px 20px rgba(15, 23, 42, 0.04);
  height: 100%;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.vf-feature:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 18px 36px rgba(37, 99, 235, 0.1);
}
.vf-feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(45, 212, 191, 0.18));
  color: var(--vf-blue);
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.16);
}
.vf-feature__title {
  margin: 0.7rem 0 0;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--vf-navy);
}
.vf-feature__body {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Solutions panel + KPIs */

.vf-panel {
  border-radius: var(--vf-radius-xl);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(45, 212, 191, 0.18), transparent 60%),
    var(--vf-surface);
  border: 1px solid var(--vf-line);
  box-shadow: var(--vf-shadow-md);
}
.vf-panel__title {
  margin: 0;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  letter-spacing: -0.04em;
  color: var(--vf-navy);
  font-weight: 800;
  line-height: 1.05;
}
.vf-panel__body {
  margin: 1rem 0 0;
  color: var(--bs-secondary-color);
  font-size: 1rem;
  line-height: 1.6;
}

.vf-kpi {
  padding: 1rem 1.1rem;
  border-radius: var(--vf-radius-md);
  background: #f8fafc;
  border: 1px solid var(--vf-line);
}
[data-bs-theme="dark"] .vf-kpi { background: var(--vf-surface); }
.vf-kpi__value {
  display: block;
  color: var(--vf-blue);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}
.vf-kpi__label {
  margin-top: 0.35rem;
  display: block;
  color: var(--bs-secondary-color);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Pricing */

.vf-price-card {
  position: relative;
  height: 100%;
  padding: 1.4rem;
  border-radius: var(--vf-radius-lg);
  background: var(--vf-surface);
  border: 1px solid var(--vf-line);
  box-shadow: var(--vf-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.vf-price-card--featured {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(45, 212, 191, 0.12)),
    var(--vf-surface);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--vf-shadow-md);
}
.vf-price-card__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--vf-navy);
  letter-spacing: -0.02em;
}
.vf-price-card__body {
  margin: 0;
  color: var(--bs-secondary-color);
  font-size: 0.92rem;
  line-height: 1.55;
}
.vf-price-card__amount {
  margin-top: auto;
  display: block;
  color: var(--vf-blue);
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}
.vf-price-card__caption {
  display: block;
  color: var(--bs-secondary-color);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Big CTA panel */

.vf-cta-panel {
  border-radius: var(--vf-radius-xl);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  color: #fff;
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(45, 212, 191, 0.5), transparent 60%),
    var(--vf-gradient-warm);
  box-shadow: var(--vf-shadow-lg);
}
.vf-cta-panel__title {
  margin: 0;
  font-size: clamp(1.85rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.vf-cta-panel__body {
  margin: 0.85rem auto 1.4rem;
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.55;
  opacity: 0.94;
}

/* Footer */

.vf-footer {
  padding: 2rem 0 3rem;
  text-align: center;
  color: var(--bs-secondary-color);
  font-size: 0.9rem;
}

/* ===== ConsumerPhoneMockup ====================================== */

.vf-cphone {
  --vf-cphone-w: clamp(290px, 38vw, 420px);
  position: relative;
  width: var(--vf-cphone-w);
  aspect-ratio: 9 / 19.5;
  background: #0a0f1d;
  border-radius: 46px;
  padding: 8px;
  box-shadow:
    0 60px 140px -30px rgba(15, 23, 42, 0.55),
    0 30px 60px -10px rgba(15, 23, 42, 0.22),
    0 8px 18px -4px rgba(15, 23, 42, 0.12),
    inset 0 0 0 2px rgba(255, 255, 255, 0.06),
    inset 0 0 0 3.5px rgba(0, 0, 0, 0.5);
}
.vf-cphone::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 44px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.vf-cphone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 26px;
  background: #0a0f1d;
  border-radius: 999px;
  z-index: 4;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.vf-cphone__screen {
  position: relative;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 60%);
  display: flex;
  flex-direction: column;
}
.vf-cphone__statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 28px 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--vf-navy);
}
.vf-cphone__statusbar-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--vf-navy);
}

.vf-cphone__body {
  flex: 1;
  overflow: hidden;
  padding: 0.5rem 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.vf-cphone__greeting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.4rem;
}
.vf-cphone__hello {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--vf-navy);
  line-height: 1.05;
}
.vf-cphone__sub { margin: 0.15rem 0 0; color: var(--bs-secondary-color); font-size: 0.8rem; }

.vf-cphone__avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #f59e0b);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.vf-cphone__bell {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  display: grid;
  place-items: center;
  color: var(--vf-blue);
  flex-shrink: 0;
}

.vf-cphone__ticket {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 50%, rgba(56, 189, 248, 0.28), transparent 60%),
    linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  border: 1px solid rgba(37, 99, 235, 0.16);
  overflow: hidden;
}
.vf-cphone__ticket-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bs-secondary-color);
  display: block;
}
.vf-cphone__ticket-count {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--vf-navy);
  line-height: 1.1;
  display: block;
}
.vf-cphone__ticket-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--vf-blue);
  display: block;
  margin-top: 0.1rem;
}
.vf-cphone__ticket-art {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.32);
  flex-shrink: 0;
}

.vf-cphone__section-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--vf-navy);
  text-transform: none;
  margin: 0 0 0.5rem;
}

.vf-cphone__event {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem;
  border-radius: 16px;
  background: var(--vf-surface);
  border: 1px solid var(--vf-line);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}
.vf-cphone__date {
  width: 52px;
  height: 60px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--vf-line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vf-cphone__date-mon {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--vf-mint);
  letter-spacing: 0.06em;
}
.vf-cphone__date-day {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--vf-navy);
  line-height: 1;
  letter-spacing: -0.04em;
}
.vf-cphone__event-meta { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.vf-cphone__event-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--vf-navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.vf-cphone__event-sub {
  font-size: 0.78rem;
  color: var(--bs-secondary-color);
  line-height: 1.3;
}

.vf-cphone__quick-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.vf-cphone__quick-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: var(--vf-surface);
  border: 1px solid var(--vf-line);
}
.vf-cphone__quick-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(45, 212, 191, 0.18));
  color: var(--vf-blue);
  flex-shrink: 0;
}
.vf-cphone__quick-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.vf-cphone__quick-title { font-size: 0.86rem; font-weight: 800; color: var(--vf-navy); letter-spacing: -0.01em; }
.vf-cphone__quick-sub { font-size: 0.72rem; color: var(--bs-secondary-color); }
.vf-cphone__quick-chev { color: var(--vf-muted); flex-shrink: 0; }

.vf-cphone__tabs {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0.5rem 0.5rem calc(env(safe-area-inset-bottom, 0) + 0.6rem);
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
}
.vf-cphone__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.35rem 0;
  color: var(--vf-muted);
  font-size: 0.6rem;
  font-weight: 700;
}
.vf-cphone__tab--active { color: var(--vf-blue); }

/* ===== OrganizerScannerMockup =================================== */

.vf-ophone {
  --vf-ophone-w: clamp(290px, 38vw, 420px);
  position: relative;
  width: var(--vf-ophone-w);
  aspect-ratio: 9 / 19.5;
  background: #03070f;
  border-radius: 46px;
  padding: 8px;
  box-shadow:
    0 60px 140px -30px rgba(2, 6, 23, 0.7),
    0 30px 60px -10px rgba(2, 6, 23, 0.4),
    0 8px 18px -4px rgba(2, 6, 23, 0.2),
    inset 0 0 0 2px rgba(255, 255, 255, 0.06),
    inset 0 0 0 3.5px rgba(0, 0, 0, 0.5);
}
.vf-ophone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 26px;
  background: #03070f;
  border-radius: 999px;
  z-index: 4;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.vf-ophone__screen {
  position: relative;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(800px 500px at 100% 0%, rgba(56, 189, 248, 0.18), transparent 60%),
    linear-gradient(180deg, #0a1628 0%, #07111f 100%);
  display: flex;
  flex-direction: column;
}
.vf-ophone__statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 28px 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #e2e8f0;
}
.vf-ophone__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.05rem 0;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 0.95rem;
}
.vf-ophone__brand .vf-logo-dot { box-shadow: 0 6px 14px rgba(56, 189, 248, 0.35); }

.vf-ophone__body {
  flex: 1;
  overflow: hidden;
  padding: 0.85rem 1.05rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.vf-ophone__greeting { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.vf-ophone__hello { margin: 0; color: #fff; font-size: 1.5rem; font-weight: 900; letter-spacing: -0.05em; line-height: 1.05; }
.vf-ophone__org { margin: 0.2rem 0 0; color: #94a3b8; font-size: 0.78rem; font-weight: 600; }
.vf-ophone__bell {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.vf-ophone__avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6366f1, #2563eb);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.vf-ophone__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
.vf-ophone__kpi {
  padding: 0.6rem 0.7rem;
  border-radius: 14px;
  background: rgba(15, 31, 53, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.18);
}
.vf-ophone__kpi-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  margin-bottom: 0.3rem;
  font-size: 0.7rem;
  font-weight: 800;
}
.vf-ophone__kpi--ok .vf-ophone__kpi-icon { background: rgba(45, 212, 191, 0.16); color: #34d399; }
.vf-ophone__kpi--warn .vf-ophone__kpi-icon { background: rgba(255, 122, 89, 0.18); color: #ff9670; }
.vf-ophone__kpi--info .vf-ophone__kpi-icon { background: rgba(56, 189, 248, 0.18); color: #38bdf8; }
.vf-ophone__kpi--neutral .vf-ophone__kpi-icon { background: rgba(96, 165, 250, 0.18); color: #93c5fd; }
.vf-ophone__kpi-value { display: block; color: #fff; font-size: 1.25rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.vf-ophone__kpi-label { display: block; color: #94a3b8; font-size: 0.66rem; font-weight: 600; margin-top: 0.2rem; }
.vf-ophone__kpi-pct { color: var(--vf-mint); font-size: 0.66rem; font-weight: 800; }

.vf-ophone__scanner {
  border-radius: 16px;
  background: rgba(15, 31, 53, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.vf-ophone__scanner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}
.vf-ophone__online {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.18);
  color: #34d399;
  font-size: 0.66rem;
  font-weight: 800;
}
.vf-ophone__online::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.25);
}
.vf-ophone__scanner-frame {
  position: relative;
  aspect-ratio: 1.45 / 1;
  border-radius: 14px;
  background:
    radial-gradient(circle at center, rgba(45, 212, 191, 0.18), transparent 60%),
    rgba(7, 17, 31, 0.7);
  display: grid;
  place-items: center;
}
.vf-ophone__scanner-frame::before,
.vf-ophone__scanner-frame::after,
.vf-ophone__scanner-frame > .vf-ophone__corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2.5px solid #2dd4bf;
}
.vf-ophone__scanner-frame::before {
  top: 8px; left: 8px;
  border-right: 0; border-bottom: 0;
  border-radius: 6px 0 0 0;
}
.vf-ophone__scanner-frame::after {
  bottom: 8px; right: 8px;
  border-left: 0; border-top: 0;
  border-radius: 0 0 6px 0;
}
.vf-ophone__corner-tr,
.vf-ophone__corner-bl { position: absolute; width: 22px; height: 22px; border: 2.5px solid #2dd4bf; }
.vf-ophone__corner-tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.vf-ophone__corner-bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }

.vf-ophone__scan-cta {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2dd4bf, #34d399);
  box-shadow: 0 16px 32px rgba(45, 212, 191, 0.35);
  display: grid;
  place-items: center;
  color: #fff;
  z-index: 1;
}
.vf-ophone__scanner-help {
  text-align: center;
  font-size: 0.82rem;
  color: #fff;
  /* Was weight 800 at 0.78rem — the ultra-bold "sc" closed up and read as
     "soanning". Lighter weight + a little tracking keeps the letters legible
     at mockup size. */
  font-weight: 600;
  letter-spacing: 0.015em;
  margin: 0.25rem 0 0;
}
.vf-ophone__scanner-sub {
  text-align: center;
  font-size: 0.66rem;
  color: #94a3b8;
  margin: 0;
}

.vf-ophone__activity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.25rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}
.vf-ophone__activity-head a { color: var(--vf-mint); font-size: 0.7rem; font-weight: 700; }

.vf-ophone__activity { display: flex; flex-direction: column; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.vf-ophone__activity-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.7rem;
  border-radius: 12px;
  background: rgba(15, 31, 53, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.14);
}
.vf-ophone__activity-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #f59e0b);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.vf-ophone__activity-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.vf-ophone__activity-name { color: #fff; font-size: 0.78rem; font-weight: 800; line-height: 1.15; }
.vf-ophone__activity-tier { color: #94a3b8; font-size: 0.65rem; }
.vf-ophone__activity-time { color: #94a3b8; font-size: 0.65rem; font-weight: 700; }
.vf-ophone__activity-pill {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.16);
  color: #34d399;
  font-size: 0.6rem;
  font-weight: 800;
}

.vf-ophone__tabs {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0.5rem 0.4rem calc(env(safe-area-inset-bottom, 0) + 0.6rem);
  background: rgba(7, 17, 31, 0.92);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(8px);
}
.vf-ophone__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.35rem 0;
  color: #64748b;
  font-size: 0.6rem;
  font-weight: 700;
}
.vf-ophone__tab--active { color: #2dd4bf; }

/* ===== Bridge: keep existing .vf-card for admin pages =========== */

.vf-card {
  padding: 1.25rem;
  border-radius: var(--vf-radius-lg);
  background: var(--vf-surface);
  border: 1px solid var(--vf-line);
  box-shadow: var(--vf-shadow-sm);
}
.vf-card-soft {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(45, 212, 191, 0.08)),
    var(--vf-surface);
}
.vf-card-featured {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(45, 212, 191, 0.12)),
    var(--vf-surface);
}
.vf-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(45, 212, 191, 0.16));
  color: var(--vf-blue);
  font-size: 1.2rem;
  font-weight: 800;
}

/* Form controls + table — kept here so admin works without
 * pulling in the old .vf-section-title / .vf-section-subtitle
 * wrappers. Same styling as before. */

.form-control,
.form-select {
  min-height: 48px;
  border-radius: 999px;
  border-color: var(--bs-border-color);
  background-color: var(--vf-surface);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--vf-sky);
  box-shadow: 0 0 0 0.25rem rgba(56, 189, 248, 0.22);
}
.table { --bs-table-bg: transparent; }

/* Footer internal-only admin link — intentionally invisible. Operators
 * know its location (right end of footer bottom row); marketing
 * visitors should not see a discoverable "admin" target. Stays
 * clickable + keyboard-focusable (focus ring reveals it for a11y). */
.vf-footer__internal {
  color: transparent;
  background: transparent;
  border: 0;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  user-select: none;
}
.vf-footer__internal:hover { text-decoration: none; }
.vf-footer__internal:focus-visible {
  color: var(--vf-blue);
  outline: 2px solid var(--vf-blue);
  outline-offset: 2px;
}

/* Login dropdown — desktop nav. Two entries: Attendee / Organizer.
 * Admin login is intentionally absent here (footer-only). */
.vf-login-dd { position: relative; }
.vf-login-dd__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.vf-login-dd__caret {
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 140ms ease;
}
.vf-login-dd__trigger[aria-expanded="true"] .vf-login-dd__caret {
  transform: translateY(1px) rotate(-135deg);
}
.vf-login-dd__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 280px;
  background: var(--vf-surface);
  border: 1px solid var(--vf-line);
  border-radius: 16px;
  box-shadow: var(--vf-shadow-md);
  padding: 0.4rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.vf-login-dd__item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 120ms ease;
}
.vf-login-dd__item:hover {
  background: rgba(37, 99, 235, 0.06);
  text-decoration: none;
}
.vf-login-dd__item-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--vf-navy);
}
[data-bs-theme="dark"] .vf-login-dd__item-title { color: var(--bs-body-color); }
.vf-login-dd__item-sub {
  font-size: 0.78rem;
  color: var(--bs-secondary-color);
}

/* Desktop nav dropdowns (Browse / Resources / About). */
.vf-navdd { position: relative; }
.vf-navdd__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.vf-navdd__caret {
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 140ms ease;
  opacity: 0.65;
}
.vf-navdd__trigger[aria-expanded="true"] .vf-navdd__caret { transform: translateY(1px) rotate(-135deg); }
.vf-navdd__menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 240px;
  background: var(--vf-surface);
  border: 1px solid var(--vf-line);
  border-radius: 16px;
  box-shadow: var(--vf-shadow-md);
  padding: 0.4rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.vf-navdd__item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 120ms ease;
}
.vf-navdd__item:hover { background: rgba(37, 99, 235, 0.06); text-decoration: none; }
.vf-navdd__item-title { font-size: 0.9rem; font-weight: 700; color: var(--vf-navy); }
[data-bs-theme="dark"] .vf-navdd__item-title { color: var(--bs-body-color); }
.vf-navdd__item-sub { font-size: 0.76rem; color: var(--bs-secondary-color); }

/* Filterable / sortable / fixed-height-scrollable browse pages
 * (Events, Classes, Locations). */
.vf-browse { display: flex; flex-direction: column; gap: 1rem; }
.vf-browse__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 0.25rem 0;
  background: var(--vf-bg, #fff);
}
.vf-browse__search { flex: 1 1 240px; min-height: 44px; }
.vf-browse__select { flex: 0 1 200px; min-height: 44px; }
.vf-browse__count { color: var(--bs-secondary-color); font-size: 0.9rem; margin-left: auto; }
.vf-browse__scroll {
  max-height: 68vh;
  overflow-y: auto;
  padding: 0.5rem;
  border: 1px solid var(--vf-line);
  border-radius: 16px;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 640px) {
  .vf-browse__scroll { max-height: none; overflow: visible; border: 0; padding: 0; }
  .vf-browse__count { margin-left: 0; width: 100%; }
}
.vf-browse__empty { color: var(--bs-secondary-color); padding: 2.5rem 1rem; text-align: center; }
/* Location list rows */
.vf-loc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.vf-loc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid var(--vf-line);
  color: var(--vf-navy);
  font-weight: 600;
  transition: border-color 120ms ease, background 120ms ease;
}
.vf-loc-row:hover { border-color: var(--vf-blue); background: rgba(37, 99, 235, 0.04); text-decoration: none; }
[data-bs-theme="dark"] .vf-loc-row { color: var(--bs-body-color); }
.vf-loc-row__count { color: var(--bs-secondary-color); font-weight: 600; font-size: 0.9rem; }

/* Organizer mobile bottom tab-bar (#158). Hidden at md+ (sidebar takes over). */
.org-bottomnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  background: var(--org-surface, #12151c);
  border-top: 1px solid var(--org-line, rgba(255, 255, 255, 0.1));
  padding-bottom: env(safe-area-inset-bottom, 0);
}
@media (min-width: 768px) {
  .org-bottomnav { display: none; }
}
.org-bottomnav__tab {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0.5rem 0.25rem;
  min-height: 56px;
  justify-content: center;
  text-decoration: none;
  color: var(--org-muted, #94a3b8);
  font-size: 0.68rem;
  font-weight: 600;
}
.org-bottomnav__tab.is-active { color: var(--org-accent, #7dd3fc); }
.org-bottomnav__emoji { font-size: 1.15rem; line-height: 1; }
.org-bottomnav__label { line-height: 1; }
/* Keep page content clear of the fixed bar on mobile. */
@media (max-width: 767px) {
  .org-has-bottomnav { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0)) !important; }
}

/* "Demo" tag on sample/showcase events so they're never mistaken for real. */
.vf-demo-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 1;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #f59e0b;
  color: #1f2937;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
/* Full-width demo banner on the public event page. */
.vf-demo-banner {
  background: #fef3c7;
  color: #92400e;
  border-bottom: 1px solid #fcd34d;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}
[data-bs-theme="dark"] .vf-demo-banner { background: #78350f; color: #fde68a; border-color: #b45309; }

/* "By invitation only" pricing block — single premium card, centered,
 * intentionally calm. Replaces the 3-tier pricing grid. */
.vf-invite {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 28px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(56, 189, 248, 0.10), transparent 60%),
    radial-gradient(120% 80% at 0% 100%, rgba(45, 212, 191, 0.10), transparent 60%),
    var(--vf-surface);
  border: 1px solid var(--vf-line);
  box-shadow: var(--vf-shadow-md);
  text-align: center;
}
.vf-invite .vf-eyebrow { margin: 0 auto 0.75rem; }
.vf-invite__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.04em;
  color: var(--vf-navy);
  font-weight: 800;
}
.vf-invite__body {
  margin: 0 auto;
  max-width: 56ch;
  color: var(--bs-secondary-color);
  line-height: 1.6;
}
.vf-invite__body + .vf-invite__body { margin-top: 0.75rem; }
.vf-invite__fee {
  margin: 1.75rem auto 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 18px;
  background: var(--bs-tertiary-bg);
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: center;
}
.vf-invite__amount {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--vf-blue);
  letter-spacing: -0.03em;
}
.vf-invite__caption {
  font-size: 0.85rem;
  color: var(--bs-secondary-color);
}
.vf-invite__includes {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.vf-invite__includes li {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--bs-tertiary-bg);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--vf-navy);
}
[data-bs-theme="dark"] .vf-invite__includes li { color: var(--bs-body-color); }

/* ===== VenueFuze HQ surface (internal admin) ====================
 * Distinct from the public marketing chrome — dark, operator-tone,
 * with an explicit "internal only" banner. Forces a self-contained
 * theme so nothing inherits from the marketing surface. */

.vf-hq {
  --hq-ink: #f1f5f9;
  --hq-dim: #94a3b8;
  --hq-line: rgba(148, 163, 184, 0.16);
  --hq-card: rgba(15, 25, 45, 0.72);
  --hq-mint: #2dd4bf;
  --hq-sky: #38bdf8;
  --hq-warn: #f59e0b;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--hq-ink);
  /* Reduced glow — was 10%/10%, now 4%/3% for an operations-center
   * feel instead of cyberpunk. Slight vignette on a flat slate base. */
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(56, 189, 248, 0.04), transparent 65%),
    radial-gradient(50% 60% at 0% 100%, rgba(45, 212, 191, 0.03), transparent 65%),
    linear-gradient(180deg, #0a1322 0%, #060c1c 100%);
  font-family: var(--vf-font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif);
}

/* Top "internal access" strip — bright amber on dark, monospace for
 * clear operator framing. Always visible at the top of every HQ
 * screen so anyone who lands here can't mistake it for public chrome. */
.vf-hq__banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem clamp(1rem, 4vw, 2rem);
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.18), rgba(245, 158, 11, 0.08));
  border-bottom: 1px solid rgba(245, 158, 11, 0.35);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fcd34d;
}
.vf-hq__banner-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}
.vf-hq__banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fcd34d;
  box-shadow: 0 0 0 4px rgba(252, 211, 77, 0.18);
  animation: vf-hq-pulse 2.4s ease-in-out infinite;
}
@keyframes vf-hq-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.vf-hq__banner-right { color: rgba(252, 211, 77, 0.75); }
@media (max-width: 540px) {
  .vf-hq__banner { font-size: 0.66rem; letter-spacing: 0.14em; }
  .vf-hq__banner-right { display: none; }
}

/* Main column — centered card layout. */
.vf-hq__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
}
.vf-hq__shell {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.vf-hq__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.28);
  color: var(--hq-mint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vf-hq__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.vf-hq__brand:hover { text-decoration: none; }
.vf-hq__brand-img { height: 40px; width: auto; display: block; }
.vf-hq__brand-tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 0.5rem;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--hq-sky);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.vf-hq__card {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: 22px;
  background: var(--hq-card);
  border: 1px solid var(--hq-line);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 20px 60px rgba(2, 6, 23, 0.55);
}
.vf-hq__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--hq-ink);
}
.vf-hq__lede {
  margin: 0 0 1.5rem;
  color: var(--hq-dim);
  line-height: 1.55;
  font-size: 0.95rem;
}

.vf-hq__google {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.85rem 1.1rem;
  min-height: 52px;
  border-radius: 14px;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.vf-hq__google:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(56, 189, 248, 0.2);
}
.vf-hq__google:focus-visible {
  outline: 2px solid var(--hq-sky);
  outline-offset: 3px;
}
.vf-hq__google svg { flex-shrink: 0; }

.vf-hq__allowlist {
  margin: 1rem 0 0;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--hq-line);
  color: var(--hq-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  line-height: 1.5;
}
.vf-hq__allowlist code {
  color: var(--hq-mint);
  font-size: 0.78rem;
}

/* "What lives here" 3-item context panel below the card */
.vf-hq__context {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}
@media (min-width: 540px) {
  .vf-hq__context { grid-template-columns: repeat(3, 1fr); }
}
.vf-hq__context-item {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--hq-line);
}
.vf-hq__context-label {
  display: block;
  color: var(--hq-mint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.vf-hq__context-text {
  color: var(--hq-ink);
  font-size: 0.92rem;
  font-weight: 600;
}

/* Footer — minimal, ops-tone */
.vf-hq__footer {
  border-top: 1px solid var(--hq-line);
  padding: 1rem clamp(1rem, 4vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  color: var(--hq-dim);
  font-size: 0.78rem;
}
.vf-hq__footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.vf-hq__footer a {
  color: var(--hq-dim);
  text-decoration: none;
  transition: color 120ms ease;
}
.vf-hq__footer a:hover { color: var(--hq-sky); }
.vf-hq__footer-meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.7);
}

/* HQ overview page primitives — responsive header + split */
.vf-hq-page__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
@media (min-width: 900px) {
  .vf-hq-page__split { grid-template-columns: 1.2fr 1fr !important; }
}

/* ===== FAQ accordion (landing SEO section) ===== */
.vf-faq {
  max-width: 780px;
  margin: 1.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.vf-faq__item {
  border: 1px solid var(--vf-line);
  border-radius: var(--vf-radius-md, 1rem);
  background: #fff;
  overflow: hidden;
}
.vf-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  /* ≥44px tap target for the summary row (WCAG 2.5.5). */
  min-height: 44px;
  padding: 0.95rem 1.1rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--vf-navy);
  cursor: pointer;
  list-style: none;
}
.vf-faq__q::-webkit-details-marker { display: none; }
.vf-faq__q::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  color: var(--vf-blue);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.vf-faq__item[open] .vf-faq__q::after { transform: rotate(45deg); }
.vf-faq__a {
  padding: 0 1.1rem 1.1rem;
  color: #475569;
  line-height: 1.65;
  font-size: 0.96rem;
}
@media (prefers-reduced-motion: reduce) {
  .vf-faq__q::after { transition: none; }
}

/* ===== Motion (Tier D) ========================================== *
 * Scroll-reveal fade-up driven by the <Reveal> client component,
 * which adds `.vf-revealed` when the block enters the viewport.
 * Card hover lift + a gentle idle float on the hero phone mockups.
 * All motion is disabled under prefers-reduced-motion. */
.vf-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.vf-reveal.vf-revealed {
  opacity: 1;
  transform: none;
}

/* Card hover lift — matches the existing .vf-feature affordance so
 * the pricing / join / model cards feel equally alive. */
.vf-card {
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}
a.vf-card:hover,
.vf-card--interactive:hover {
  transform: translateY(-3px);
  box-shadow: var(--vf-shadow-md);
  border-color: rgba(56, 189, 248, 0.35);
}

/* Subtle idle float on the hero device mockups so the hero doesn't
 * read as a flat screenshot. */
@keyframes vf-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.vf-cphone,
.vf-ophone {
  animation: vf-float 6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .vf-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .vf-cphone,
  .vf-ophone {
    animation: none;
  }
}

/* ===== Social proof (Tier A) =================================== *
 * Metrics band + testimonials. Empty by default (components render
 * null until real content exists); styled here so they look right the
 * moment content is added. */
.vf-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
  text-align: center;
  padding: 1.75rem 1.5rem;
  border-radius: var(--vf-radius-lg);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(45, 212, 191, 0.07)),
    var(--vf-surface);
  border: 1px solid var(--vf-line);
}
.vf-metric {
  min-width: 140px;
}
.vf-metric__value {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: var(--vf-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vf-metric__label {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--bs-secondary-color, #64748b);
}

.vf-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}
.vf-quotes--single {
  max-width: 720px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}
.vf-quote {
  margin: 0;
  padding: 1.6rem;
  border-radius: var(--vf-radius-lg);
  background: var(--vf-surface);
  border: 1px solid var(--vf-line);
  box-shadow: var(--vf-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.vf-quote__text {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--vf-navy, #0f172a);
  font-weight: 500;
}
.vf-quote__by {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.vf-quote__avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
}
.vf-quote__avatar--initials {
  background: var(--vf-gradient);
}
.vf-quote__name {
  display: block;
  font-weight: 700;
  color: var(--vf-navy, #0f172a);
}
.vf-quote__role {
  display: block;
  font-size: 0.85rem;
  color: var(--bs-secondary-color, #64748b);
}
[data-bs-theme="dark"] .vf-metric__label,
[data-bs-theme="dark"] .vf-quote__role {
  color: var(--bs-secondary-color);
}
[data-bs-theme="dark"] .vf-quote__text,
[data-bs-theme="dark"] .vf-quote__name {
  color: var(--bs-body-color);
}

/* ===== Audience use-case cards ================================= *
 * Prescriptive "how VenueFuze helps YOU" cards on the homepage. */
.vf-usecards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}
/* Wider container for the audience row. The six org-type cards read best as
   an even 3 × 2 grid on desktop (was 5 + 1 orphan). */
.vf-container--wide {
  max-width: 1180px;
}
/* Tablet: 2 across (3 even rows). */
@media (min-width: 640px) and (max-width: 1023px) {
  .vf-usecards {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Desktop: 3 across (2 even rows). */
@media (min-width: 1024px) {
  .vf-usecards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.vf-usecard {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.6rem;
  border-radius: var(--vf-radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)),
    var(--vf-surface);
  border: 1px solid rgba(219, 234, 254, 0.7);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 6px 20px rgba(15, 23, 42, 0.04);
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.vf-usecard:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 20px 40px rgba(37, 99, 235, 0.12);
}
.vf-usecard__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--vf-navy, #0f172a);
}
.vf-usecard__intro {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--vf-blue);
}
.vf-usecard__list {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.vf-usecard__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--bs-secondary-color, #475569);
}
.vf-usecard__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.1rem;
  height: 1.1rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  color: #fff;
  background: var(--vf-gradient);
}
.vf-usecard__more {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--vf-blue);
}
.vf-usecard:hover .vf-usecard__more {
  text-decoration: underline;
}
[data-bs-theme="dark"] .vf-usecard {
  background: var(--vf-surface);
  border-color: rgba(148, 163, 184, 0.18);
}
[data-bs-theme="dark"] .vf-usecard__title {
  color: var(--bs-body-color);
}
[data-bs-theme="dark"] .vf-usecard__list li {
  color: var(--bs-secondary-color);
}

/* Checklist — applicable use cases + pricing points on /for/* pages. */
.vf-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.7rem 1.75rem;
}
.vf-checklist--tight {
  grid-template-columns: 1fr;
  gap: 0.7rem;
}
.vf-checklist li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--vf-navy, #0f172a);
}
.vf-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.25rem;
  height: 1.25rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  color: #fff;
  background: var(--vf-gradient);
}
[data-bs-theme="dark"] .vf-checklist li {
  color: var(--bs-body-color);
}
/* Pricing split: text + points card, side by side, stacking on mobile. */
.vf-split--pricing {
  align-items: center;
  gap: 2rem;
}

/* ===== Receipts / giving statements (print-friendly) =========== */
.vf-receipt-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.vf-receipt {
  border: 1px solid var(--vf-line);
  border-radius: var(--vf-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--vf-shadow-sm);
}
@media print {
  /* Hide app chrome + interactive controls; print only the document. */
  .vf-print-hide,
  .vf-att-tabbar,
  .vf-nav,
  .vf-footer,
  .site-chat,
  #vf-site-chat {
    display: none !important;
  }
  body { background: #fff !important; }
  .vf-receipt {
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .vf-receipt-wrap { max-width: none; }
}

/* Get-started use-case picker — hover affordance so cards read as selectable. */
.vf-usecase-pick:hover {
  border-color: var(--vf-blue, #2563eb);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.12);
}
.vf-usecase-pick:focus-visible {
  outline: 2px solid var(--vf-blue, #2563eb);
  outline-offset: 2px;
}

/* Audience-card photos (homepage "Pick your world"). Full-bleed image at the
   card top; branded gradient placeholder with the audience name until a real
   photo is dropped in at public/images/usecases/<slug>.jpg. */
.vf-usecard { overflow: hidden; }
.vf-usecard__media {
  display: block;
  position: relative;
  margin: -1.6rem -1.6rem 0.3rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--vf-sky, #38bdf8), var(--vf-mint, #2dd4bf));
}
.vf-usecard__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vf-usecard__media-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0.7rem 0.85rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 10px rgba(2, 6, 23, 0.3);
}

/* Feature / how-it-works card photos. Full-bleed image at the card top; only
   applies to cards opted in with .vf-feature--media (others unaffected). */
.vf-feature--media { overflow: hidden; }
.vf-feature__media {
  display: block;
  position: relative;
  margin: -1.6rem -1.6rem 0.4rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.10), rgba(45, 212, 191, 0.18));
}
.vf-feature__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===================================================================
   Hosted Venue Page shell (.vf-venue) — constrained, template-driven.
   Brand values arrive as a FIXED set of CSS custom properties set inline
   on the root (see lib/public-brand.ts). Presets tune type/shape only —
   never arbitrary CSS. Surface/ink already set via --vf-surface/--vf-ink.
   =================================================================== */
.vf-venue {
  background: var(--vf-surface, #fff);
  color: var(--vf-ink, #0b1220);
  min-height: 100vh;
}
.vf-venue a { color: var(--vf-brand-link, var(--vf-blue, #2563eb)); }
.vf-venue .vf-btn--primary {
  background: var(--vf-brand, #2563eb);
  border-color: var(--vf-brand, #2563eb);
  color: var(--vf-brand-on, #fff);
}
.vf-venue .vf-btn--outline { border-color: currentColor; color: inherit; background: transparent; }

.vf-venue__bar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.55rem clamp(1rem, 4vw, 2rem);
  background: var(--vf-surface, #fff);
  border-bottom: 1px solid rgba(127, 127, 127, 0.16);
}
.vf-venue__brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; color: inherit; font-weight: 800; min-width: 0; }
.vf-venue__brandname { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vf-venue__nav { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; }
.vf-venue__nav::-webkit-scrollbar { display: none; }
.vf-venue__navlink { font-size: 0.85rem; font-weight: 600; color: inherit; text-decoration: none; padding: 0.35rem 0.6rem; border-radius: 999px; opacity: 0.82; white-space: nowrap; }
.vf-venue__navlink:hover { opacity: 1; background: color-mix(in srgb, var(--vf-brand, #2563eb) 12%, transparent); }

.vf-venue__hero {
  position: relative; text-align: center;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 4vw, 2rem);
  background: var(--vf-surface, #fff);
  background: linear-gradient(160deg, color-mix(in srgb, var(--vf-brand, #2563eb) 16%, var(--vf-surface, #fff)), var(--vf-surface, #fff));
}
.vf-venue__hero--cover { padding: 0; text-align: left; }
.vf-venue__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.vf-venue__herobody { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.vf-venue__hero--cover .vf-venue__herobody { padding: clamp(3rem, 9vw, 7rem) clamp(1rem, 4vw, 2rem); background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.58)); color: #fff; }
.vf-venue__heromark { margin: 0 auto 1rem; }
.vf-venue__hero--cover .vf-venue__heromark { margin-left: 0; }
.vf-venue__title { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; margin: 0 0 0.5rem; letter-spacing: -0.02em; }
.vf-venue__tagline { font-size: clamp(1rem, 2.4vw, 1.25rem); opacity: 0.92; margin: 0 auto 1.25rem; max-width: 46ch; }
.vf-venue__hero--cover .vf-venue__tagline { margin-left: 0; }
.vf-venue__cta { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }
.vf-venue__hero--cover .vf-venue__cta { justify-content: flex-start; }
.vf-venue__ctasub { font-size: 0.85rem; opacity: 0.82; margin: 0.75rem 0 0; }

.vf-venue__main { max-width: 820px; margin: 0 auto; padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2rem) 1rem; display: flex; flex-direction: column; gap: 2.25rem; }
.vf-venue__h2 { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.6; margin: 0 0 0.9rem; }
.vf-venue__prose { line-height: 1.6; opacity: 0.92; white-space: pre-line; }
.vf-venue__visit { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.vf-venue__hours { margin: 0.75rem 0 0; }
.vf-venue__hoursrow { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; border-bottom: 1px dashed rgba(127, 127, 127, 0.22); }
.vf-venue__hoursrow dt { font-weight: 600; }
.vf-venue__hoursrow dd { margin: 0; opacity: 0.82; }
.vf-venue__social { display: flex; gap: 0.9rem; flex-wrap: wrap; margin: 0.5rem 0 0; }
.vf-venue__footer { text-align: center; padding: 2rem 1rem 3rem; }
@media (max-width: 560px) {
  .vf-venue__visit { grid-template-columns: 1fr; }
  /* Nav drops to its own full-width row so labels never clip against the
     brand; horizontally scrollable with a right-edge fade that signals more. */
  .vf-venue__bar { flex-wrap: wrap; gap: 0.35rem 0.75rem; }
  .vf-venue__brandname { max-width: 72vw; }
  .vf-venue__nav {
    order: 3; flex-basis: 100%; width: 100%; padding-bottom: 2px;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 22px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 22px), transparent);
  }
  .vf-venue__navlink { padding: 0.4rem 0.7rem; }  /* ≥40px tall tap targets */
}
/* Hash navigation lands below the sticky header for every anchored section. */
.vf-venue [id] { scroll-margin-top: 4.75rem; }

/* "Good to know" bullets + FAQ (progressive disclosure). */
.vf-venue__gtk { margin: 0; padding-left: 1.15rem; display: grid; gap: 0.4rem; line-height: 1.55; opacity: 0.9; }
.vf-venue__faq { display: grid; gap: 0.5rem; }
.vf-venue__faqitem { border: 1px solid color-mix(in srgb, var(--vf-ink, #0b1220) 12%, transparent); border-radius: 10px; padding: 0.15rem 0.9rem; }
.vf-venue__faqitem > summary { cursor: pointer; font-weight: 600; padding: 0.6rem 0; list-style: none; min-height: 40px; display: flex; align-items: center; gap: 0.4rem; }
.vf-venue__faqitem > summary::-webkit-details-marker { display: none; }
.vf-venue__faqitem > summary::before { content: "▸"; font-size: 0.75em; transition: transform 0.15s ease; color: var(--vf-brand-link, #2563eb); }
.vf-venue__faqitem[open] > summary::before { transform: rotate(90deg); }
.vf-venue__faqitem > p { margin: 0 0 0.75rem; line-height: 1.55; opacity: 0.85; }
@media (prefers-reduced-motion: reduce) { .vf-venue__faqitem > summary::before { transition: none; } }

/* Enriched venue offering cards: thumbnail + badges (category chip / price
   pill) + title + meta + availability + action. Memberships/passes use the
   compact (--compact) variant; classes drop the thumbnail (--noimg). */
.vf-ocard { display: flex; gap: 0.9rem; padding: 0.85rem; border-radius: 14px; border: 1px solid rgba(127, 127, 127, 0.2); background: color-mix(in srgb, var(--vf-surface, #fff) 96%, var(--vf-ink, #0b1220)); text-decoration: none; color: inherit; transition: border-color 0.15s ease; }
.vf-ocard:hover { border-color: color-mix(in srgb, var(--vf-brand, #2563eb) 45%, transparent); }
.vf-ocard__thumb { flex-shrink: 0; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: color-mix(in srgb, var(--vf-brand, #2563eb) 12%, var(--vf-surface, #fff)); }
.vf-ocard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.vf-ocard__thumb-ph { font-size: 1.9rem; line-height: 1; }
.vf-ocard--noimg .vf-ocard__thumb, .vf-ocard--compact .vf-ocard__thumb { display: none; }
.vf-ocard--compact { padding: 0.75rem 0.9rem; }
.vf-ocard__body { display: flex; flex-direction: column; gap: 0.18rem; min-width: 0; flex: 1; }
.vf-ocard__badges { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; margin-bottom: 0.12rem; }
.vf-ocard__chip { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.14rem 0.5rem; border-radius: 999px; background: color-mix(in srgb, var(--vf-brand, #2563eb) 14%, transparent); color: var(--vf-brand-link, #2563eb); white-space: nowrap; }
.vf-ocard__price { font-size: 0.85rem; font-weight: 800; color: var(--vf-ink, #0f172a); margin-left: auto; white-space: nowrap; }
.vf-ocard__price--free { color: #059669; }
.vf-ocard__per { font-weight: 500; opacity: 0.7; font-size: 0.78rem; }
.vf-ocard__title { font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
.vf-ocard__meta { font-size: 0.85rem; color: var(--vf-brand-link, #2563eb); font-weight: 600; }
.vf-ocard__desc { font-size: 0.86rem; opacity: 0.72; line-height: 1.45; margin-top: 0.1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vf-ocard__foot { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.4rem; flex-wrap: wrap; }
.vf-ocard__avail { font-size: 0.74rem; font-weight: 700; color: #b45309; background: rgba(217, 119, 6, 0.12); padding: 0.1rem 0.45rem; border-radius: 999px; white-space: nowrap; }
.vf-ocard__action { font-size: 0.85rem; font-weight: 700; color: var(--vf-brand-link, #2563eb); margin-left: auto; white-space: nowrap; }
@media (max-width: 480px) { .vf-ocard__thumb { width: 64px; height: 64px; } .vf-ocard__title { font-size: 1rem; } }

/* Demo-only conversion cue — clearly separate from the venue's own CTAs. */
.vf-venue__promo { border-top: 1px solid rgba(127, 127, 127, 0.16); background: color-mix(in srgb, var(--vf-brand, #2563eb) 6%, var(--vf-surface, #fff)); }
.vf-venue__promo-inner { max-width: 820px; margin: 0 auto; padding: 1.75rem clamp(1rem, 4vw, 2rem); text-align: center; }
.vf-venue__promo-title { font-size: 1.12rem; font-weight: 800; margin: 0 0 0.35rem; color: var(--vf-ink, #0f172a); }
.vf-venue__promo-sub { font-size: 0.9rem; opacity: 0.82; margin: 0 auto 1rem; max-width: 52ch; line-height: 1.55; }
.vf-venue__promo-cta { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }

/* Preset tuning — type + shape identity only. */
.vf-venue[data-vf-preset="editorial"] .vf-venue__title,
.vf-venue[data-vf-preset="editorial"] .vf-venue__brandname { font-family: Georgia, "Times New Roman", serif; }
.vf-venue[data-vf-preset="modern"] .vf-btn { border-radius: 8px; }
.vf-venue[data-vf-preset="modern"] .vf-venue__title { letter-spacing: -0.03em; }
.vf-venue[data-vf-preset="energetic"] .vf-venue__hero { background: linear-gradient(160deg, color-mix(in srgb, var(--vf-brand, #e0533d) 26%, var(--vf-surface, #fff)), color-mix(in srgb, var(--vf-accent, #f59e0b) 14%, var(--vf-surface, #fff))); }
.vf-venue[data-vf-preset="energetic"] .vf-btn { border-radius: 999px; }
.vf-venue[data-vf-surface="dark"] .vf-venue__bar { border-color: rgba(255, 255, 255, 0.12); }
.vf-venue[data-vf-surface="dark"] .vf-venue__hoursrow { border-color: rgba(255, 255, 255, 0.14); }

/* ===================================================================
   Checkout — accessible quantity stepper + sticky mobile summary bar.
   =================================================================== */
.vf-qty { display: inline-flex; align-items: center; border: 1px solid rgba(15, 23, 42, 0.2); border-radius: 10px; overflow: hidden; background: #fff; }
.vf-qty__btn { width: 44px; height: 44px; min-height: 44px; border: none; background: transparent; font-size: 1.3rem; line-height: 1; cursor: pointer; color: inherit; display: grid; place-items: center; }
.vf-qty__btn:disabled { opacity: 0.35; cursor: default; }
.vf-qty__btn:hover:not(:disabled) { background: rgba(15, 23, 42, 0.06); }
.vf-qty__val { min-width: 2.6ch; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; padding: 0 0.15rem; }

/* Staged checkout progress */
.vf-checkout-steps { display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; margin: 0 0 1rem; font-size: 0.78rem; }
.vf-checkout-step { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.55rem; border-radius: 999px; background: rgba(15, 23, 42, 0.06); color: var(--bs-secondary-color, #64748b); font-weight: 600; }
.vf-checkout-step--active { background: rgba(37, 99, 235, 0.14); color: var(--bs-primary, #2563eb); }
.vf-checkout-step--done { color: var(--vf-green, #16a34a); }

/* ─────────────────────────────────────────────────────────────────
 * Shared floating-control layout system. ONE coordinated dock for the
 * accessibility FAB, the chat launcher, and any sticky bottom action bar
 * (ticket CTA / checkout summary), so they never stack on one action or
 * cover content. A visible sticky bar raises the corner controls above it
 * AND reserves content padding — all derived from these tokens, never from
 * per-page fixed offsets. Future support widgets read the same tokens.
 * ───────────────────────────────────────────────────────────────── */
:root {
  --vf-safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --vf-floating-left-inset: 16px;
  --vf-floating-right-inset: 16px;
  --vf-floating-gap: 12px;             /* gap between a corner FAB and a sticky bar */
  --vf-sticky-action-height: 0px;      /* set only while a sticky bar is visible */
  --vf-floating-bottom-inset: calc(16px + var(--vf-safe-area-bottom));
  /* Back-compat alias for the accessibility widget's inline style. */
  --vf-a11y-bottom: var(--vf-floating-bottom-inset);
}
/* Each sticky bar raises the dock ONLY within its own visible range, so the
   :has() match can't fire on desktop where the bar is display:none-in-DOM. */
@media (max-width: 767px) {
  body:has(.vf-checkout-bar) {
    --vf-sticky-action-height: 64px;
    --vf-floating-bottom-inset: calc(var(--vf-sticky-action-height) + var(--vf-floating-gap) + var(--vf-safe-area-bottom));
  }
}
@media (max-width: 719px) {
  body:has(.vf-event-sticky-cta) {
    --vf-sticky-action-height: 64px;
    --vf-floating-bottom-inset: calc(var(--vf-sticky-action-height) + var(--vf-floating-gap) + var(--vf-safe-area-bottom));
  }
}

/* Sticky mobile summary bar (mobile only; desktop uses the in-flow footer). */
.vf-checkout-bar { display: none; }
.vf-checkout-foot { display: flex; gap: 0.6rem; align-items: center; justify-content: space-between; margin-top: 1.25rem; }
@media (max-width: 767px) {
  .vf-checkout-foot { display: none; }
  .vf-checkout-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.7rem clamp(0.85rem, 4vw, 1.25rem);
    padding-bottom: calc(0.7rem + var(--vf-safe-area-bottom));
    background: #fff; border-top: 1px solid rgba(15, 23, 42, 0.14);
    box-shadow: 0 -6px 20px rgba(2, 6, 23, 0.12);
  }
  /* Reserve space so the bar never covers the form's own controls. */
  body:has(.vf-checkout-bar) .vf-checkout-scroll {
    padding-bottom: calc(var(--vf-sticky-action-height) + var(--vf-floating-gap) + var(--vf-safe-area-bottom) + 24px);
  }
  /* Keep the last venue-page content clear of the bottom-left a11y FAB. */
  .vf-venue__main { padding-bottom: calc(var(--vf-floating-bottom-inset) + 28px); }
}
.vf-checkout-bar__meta { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.vf-checkout-bar__count { font-size: 0.72rem; color: var(--bs-secondary-color, #64748b); }
.vf-checkout-bar__total { font-size: 1.05rem; font-weight: 800; }
.vf-checkout-bar__cta { margin-left: auto; white-space: nowrap; }

/* Compact event Share modal (replaces the big pre-checkout QR block). */
.vf-share-backdrop { position: fixed; inset: 0; z-index: 2147483200; background: rgba(2, 6, 23, 0.55); display: grid; place-items: center; padding: 1rem; }
.vf-share-modal { width: min(400px, 100%); background: var(--vf-surface, #fff); color: var(--vf-navy, #0f172a); border-radius: 16px; padding: 1.1rem 1.25rem 1.35rem; box-shadow: 0 24px 60px -20px rgba(2, 6, 23, 0.6); }
.vf-share-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.5rem; }
.vf-share-modal__head strong { font-size: 1.05rem; }
.vf-share-modal__close { border: none; background: transparent; font-size: 1.1rem; line-height: 1; cursor: pointer; color: inherit; width: 36px; height: 36px; border-radius: 8px; }
.vf-share-modal__close:hover { background: rgba(15, 23, 42, 0.06); }
.vf-share-url { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.78rem; color: var(--bs-secondary-color, #64748b); word-break: break-all; margin: 0 0 0.85rem; }
.vf-share-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.vf-share-qr { margin-top: 1rem; display: grid; place-items: center; background: #fff; border: 1px solid rgba(15, 23, 42, 0.12); border-radius: 12px; padding: 0.85rem; }
.vf-share-qr svg { display: block; max-width: 100%; height: auto; }

/* Checkout trust cues (near conversion) */
.vf-trust { border: 1px solid rgba(15, 23, 42, 0.1); background: color-mix(in srgb, var(--vf-surface, #fff) 94%, var(--vf-navy, #0f172a)); border-radius: 12px; padding: 0.85rem 1.05rem; margin: 0 0 1rem; }
.vf-trust__host { margin: 0 0 0.4rem; font-size: 0.9rem; }
.vf-trust__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; font-size: 0.85rem; line-height: 1.45; color: var(--bs-secondary-color, #475569); }
.vf-trust__list li { display: flex; gap: 0.5rem; align-items: baseline; }
.vf-trust__list a { font-weight: 600; }
/* Ended-event notice (replaces checkout for past events). */
.vf-ended-note { border: 1px solid rgba(15, 23, 42, 0.14); background: color-mix(in srgb, var(--vf-surface, #fff) 94%, var(--vf-navy, #0f172a)); border-radius: 12px; padding: 1rem 1.15rem; font-size: 0.95rem; line-height: 1.5; }
.vf-ended-note a { font-weight: 600; }

/* Condensed trust: always-visible summary + disclosure for the detail lines. */
.vf-trust__summary { margin: 0; font-size: 0.9rem; font-weight: 600; line-height: 1.4; color: var(--bs-emphasis-color, #0f172a); display: flex; gap: 0.5rem; align-items: baseline; }
.vf-trust__more { margin-top: 0.45rem; }
.vf-trust__toggle { cursor: pointer; font-size: 0.8rem; font-weight: 600; color: var(--bs-primary, #2563eb); list-style: none; display: inline-flex; align-items: center; gap: 0.35rem; min-height: 32px; }
.vf-trust__toggle::-webkit-details-marker { display: none; }
.vf-trust__toggle::before { content: "▸"; font-size: 0.7em; transition: transform 0.15s ease; }
.vf-trust__more[open] .vf-trust__toggle::before { transform: rotate(90deg); }
.vf-trust__more .vf-trust__list { margin-top: 0.5rem; }
.vf-trust__demo { color: var(--bs-emphasis-color, #0f172a); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .vf-trust__toggle::before { transition: none; } }

/* Branded discovery event card */
.vf-evcard { display: flex; flex-direction: column; }
.vf-evcard__cover { height: 140px; overflow: hidden; }
.vf-evcard__cover-ph { width: 100%; height: 140px; }
.vf-evcard__org { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.vf-evcard__logo { width: 24px; height: 24px; border-radius: 6px; object-fit: contain; background: #fff; flex-shrink: 0; }
.vf-evcard__mono { width: 24px; height: 24px; border-radius: 6px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: 800; color: #fff; }
.vf-evcard__orgname { font-size: 0.78rem; color: var(--bs-secondary-color, #64748b); text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vf-evcard__meta { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.6rem; }
.vf-evcard__price { font-size: 0.78rem; font-weight: 700; color: var(--vf-blue, #2563eb); background: rgba(37, 99, 235, 0.1); border-radius: 999px; padding: 0.12rem 0.55rem; }
.vf-evcard__cat { font-size: 0.72rem; font-weight: 600; color: var(--bs-secondary-color, #64748b); background: rgba(15, 23, 42, 0.06); border-radius: 999px; padding: 0.12rem 0.55rem; }

/* Discovery browser — chip row, result bar, mobile filter sheet */
.vf-chip--active { background: var(--vf-blue, #2563eb); color: #fff; border-color: var(--vf-blue, #2563eb); }
.vf-chip-row { display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none; padding: 0.25rem 0 0.15rem; margin: 0.4rem 0; }
.vf-chip-row::-webkit-scrollbar { display: none; }
.vf-chip-row .vf-chip { white-space: nowrap; cursor: pointer; min-height: 36px; display: inline-flex; align-items: center; }
.vf-browse__resultbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0.25rem 0 0.75rem; }
.vf-browse__clear { border: none; background: transparent; color: var(--vf-blue, #2563eb); font-weight: 600; font-size: 0.85rem; cursor: pointer; padding: 0.25rem 0.4rem; }
.vf-sheet-backdrop { position: fixed; inset: 0; z-index: 2147483200; background: rgba(2, 6, 23, 0.5); display: flex; align-items: flex-end; }
.vf-sheet { width: 100%; background: #fff; border-radius: 18px 18px 0 0; padding: 1rem 1.15rem calc(1.15rem + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -12px 40px rgba(2, 6, 23, 0.3); }
.vf-sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.vf-sheet__close { border: none; background: transparent; font-size: 1.1rem; cursor: pointer; width: 36px; height: 36px; border-radius: 8px; }
