/* ==========================================================================
   VibePass design system  ·  public/css/vibepass.css
   Light editorial base, ink + violet, Roboto (headings) + Montserrat (subheadings) + Plus Jakarta Sans (body)
   Header, menu drawer, user dropdown and toast live ONLY in css/vp-shell.css.
   Global zoom-out is applied at the very bottom of this file.
   ========================================================================== */

:root {
    --bg: #FFFFFF;
    --surface: #FFFFFF;
    --text: #17122b;
    --text-secondary: #5b5675;
    --accent: #6d28d9;
    --border: #e5e7eb;
    --ink: #17122b;
    --on-ink: #ffffff;
    --brand: #6d28d9;
    --brand-text: #6d28d9;
    --header-h: 44px; /* matches the Apple-style 44px header in vp-shell.css */
    --radius: 28px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --display: 'Roboto', 'Plus Jakarta Sans', system-ui, sans-serif;
    --subdisplay: 'Montserrat', 'Plus Jakarta Sans', system-ui, sans-serif;
}
.dark {
    --bg: #000000;
    --surface: #1c1c1e;
    --text: #f5f5f7;
    --text-secondary: #a1a1a6;
    --accent: #a78bfa;
    --border: #2c2c2e;
    --ink: #f5f5f7;
    --on-ink: #1c1c1e;
    --brand-text: #b8a1ff;
}

/* ---------- Base ---------- */
html { font-size: 15px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (min-width: 1024px) { html { font-size: 16px; } }
body {
    margin: 0; min-height: 100vh; display: flex; flex-direction: column;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 1rem; line-height: 1.55;
    background: var(--bg); color: var(--text);
    /* "clip" hides sideways overflow without creating a scroll container, so the sticky header keeps working. */
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    transition: background .2s ease, color .2s ease;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; }
/* Subheadings use Montserrat (800 is not loaded, so 700) */
h3, h4, h5, h6 { font-family: var(--subdisplay); font-weight: 700; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
svg { flex-shrink: 0; }
*:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 3px; }
html.menu-lock { overflow: hidden; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--on-ink); padding: .6rem 1rem; border-radius: 999px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .wrap { padding-inline: 24px; } }
@media (min-width: 1024px) { .wrap { padding-inline: 32px; } }
.logo-dark-mode { transition: filter .2s; }
.dark .logo-dark-mode { filter: brightness(0) invert(1); }
.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hide-scrollbar { scrollbar-width: none; }
.hide-scrollbar::-webkit-scrollbar { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.animate-spin { animation: spin 1s linear infinite; }

/* Legacy compat for pages not redesigned yet */
.dark .border, .dark .border-t, .dark .border-b, .dark .border-l, .dark .border-r, .dark .border-x, .dark .border-y { border-color: var(--border) !important; }
.dark .bg-white, .dark .bg-gray-50, .dark .bg-gray-100 { background-color: var(--surface) !important; }

/* ---------- Typography (single source of truth) ---------- */
h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); line-height: 1.05; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); line-height: 1.1; }
h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

.subtitle, .subheading, .section-subtitle, .section-description,
.page-subtitle, .hero-subtitle, .cr-sub {
    font-family: var(--subdisplay);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ---------- Icon sizing (page content only; header icons are sized in vp-shell.css) ---------- */
.sb-link svg { width: 20px; height: 20px; }
.m-tick svg, .cr-tick svg { width: 11px; height: 11px; }
.cr-search svg { width: 18px; height: 18px; }
.cr-go svg { width: 18px; height: 18px; }
.hs-btn svg, .vp-arrow svg { width: 22px; height: 22px; }
.cr-empty svg { width: 40px; height: 40px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 3.3rem; padding: 0 1.7rem; border-radius: 999px; font-weight: 700; font-size: 1rem; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s; text-align: center; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #5b21b6; }
.btn-ghost { border-color: var(--text); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--on-ink); }
.btn-sm { height: 2.7rem; padding: 0 1.2rem; font-size: .93rem; }

/* ---------- Progress bar ---------- */
#vp-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; background: linear-gradient(90deg, #6d28d9, #c084fc); transform: scaleX(0); transform-origin: left; opacity: 0; pointer-events: none; }

/* ---------- Header, menu drawer, user dropdown, toast: ALL in css/vp-shell.css ---------- */
#vp-shell { display: contents; }

/* Shared bits used outside the header (sidebar + menu) */
.vp-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-weight: 800; }
.m-tick { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--brand); color: #fff; }

/* ---------- Soft-navigation page ---------- */
#page { flex: 1 0 auto; min-width: 0; }
#page.is-entering { animation: vp-fade .35s ease both; }
@keyframes vp-fade { from { opacity: 0; } }
#main:focus { outline: none; }

/* ---------- Dashboard shell ---------- */
.vp-dash { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 1360px; margin: 0 auto; padding: 16px; }
@media (min-width: 640px) { .vp-dash { padding: 24px; } }
@media (min-width: 1024px) { .vp-dash { grid-template-columns: 272px minmax(0, 1fr); gap: 32px; padding: 32px; } }
.vp-aside { display: none; }
@media (min-width: 1024px) {
    .vp-aside { display: block; position: sticky; top: calc(var(--header-h) + 20px); align-self: start; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 26px; padding: 16px; }
}
.sb-user { display: flex; align-items: center; gap: 12px; padding: 4px 4px 16px; margin-bottom: 10px; border: 0; }
.sb-user img, .sb-user .vp-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.sb-user b { display: flex; align-items: center; gap: 6px; font-family: var(--display); }
.sb-user small { color: var(--text-secondary); word-break: break-all; }
.sb-link { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .7rem .85rem; border-radius: 14px; font-weight: 600; font-size: .94rem; color: var(--text); background: none; border: 0; cursor: pointer; text-align: left; transition: background .2s; }
.sb-link svg { color: var(--text-secondary); }
.sb-link:hover { background: color-mix(in srgb, var(--brand) 9%, transparent); }
.sb-link.on { background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand-text); }
.sb-link.on svg { color: var(--brand-text); }
.sb-link.danger, .sb-link.danger svg { color: #dc2626; }
.sb-sep { height: 1px; background: var(--border); margin: 10px 0; }
.sb-foot { margin-top: 14px; padding-top: 14px; border: 0; text-align: center; font-size: .8rem; color: var(--text-secondary); }

/* ---------- Event card + horizontal scroller ---------- */
.vp-scroller { position: relative; }
.vp-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 14px; -webkit-overflow-scrolling: touch; }
.vp-track::-webkit-scrollbar { display: none; }
.vp-track > * { flex: 0 0 78%; scroll-snap-align: start; min-width: 0; }
@media (min-width: 640px) { .vp-track > * { flex-basis: calc((100% - 1rem) / 2); } }
@media (min-width: 1024px) { .vp-track > * { flex-basis: calc((100% - 3rem) / 4); } }
.vp-arrow { display: none; position: absolute; top: calc(50% - 30px); z-index: 5; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); place-items: center; cursor: pointer; box-shadow: 0 10px 30px -12px rgba(23, 18, 43, .5); transition: opacity .2s, transform .2s var(--ease); }
.vp-arrow:hover { transform: scale(1.06); }
.vp-arrow:disabled { opacity: 0; pointer-events: none; }
.vp-arrow.l { left: -14px; } .vp-arrow.r { right: -14px; }
@media (min-width: 768px) { .vp-scroller .vp-arrow { display: grid; } }
[data-vue]:not(.vp-ready) .vp-arrow { display: none !important; }

.ev-card { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; }
.ev-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--border); }
.ev-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ev-card:hover .ev-media img { transform: scale(1.05); }
.ev-date { position: absolute; top: 12px; left: 12px; background: #fff; color: #17122b; border-radius: 14px; padding: 7px 11px; text-align: center; line-height: 1; font-size: .72rem; font-weight: 700; }
.ev-date b { display: block; font-family: var(--display); font-size: 1.3rem; margin-bottom: 2px; }
.ev-badge { position: absolute; top: 12px; right: 12px; background: #17122b; color: #fff; border-radius: 999px; padding: 5px 11px; font-size: .75rem; font-weight: 700; }
.ev-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 18px; flex: 1; }
.ev-cat { font-size: .82rem; font-weight: 700; color: var(--brand-text); }
.ev-title { font-size: 1.4rem; line-height: 1.15; }
.ev-when { font-size: .9rem; color: var(--text-secondary); }
.ev-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 14px; }
.ev-price { font-family: var(--display); font-weight: 800; font-size: 1.15rem; }
.ev-cta { font-size: .88rem; font-weight: 700; padding: .5rem 1rem; border-radius: 999px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand-text); transition: background .2s, color .2s; }
.ev-card:hover .ev-cta { background: var(--brand); color: #fff; }

/* ---------- Hero slider (Vue component "heroSlider") ---------- */
[data-vue="heroSlider"]:not(.vp-ready) { aspect-ratio: 4 / 4.4; border-radius: var(--radius); background: var(--border); }
[data-vue="heroSlider"]:not(.vp-ready) > * { visibility: hidden; }
.hs-viewport { overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.hs-viewport:active { cursor: grabbing; }
.hs-track { position: relative; display: flex; gap: 14px; transition: transform .85s var(--ease); will-change: transform; }
.hs-card { position: relative; flex: 0 0 84%; margin: 0; aspect-ratio: 4 / 4.6; border-radius: var(--radius); overflow: hidden; background: var(--border); opacity: .45; transform: scale(.95); transition: opacity .6s, transform .85s var(--ease); }
.hs-card.active { opacity: 1; transform: none; }
.hs-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hs-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 8, 34, .55), transparent 45%); pointer-events: none; }
.hs-count { position: absolute; left: 16px; bottom: 16px; z-index: 2; color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
@media (min-width: 640px) { .hs-card { flex-basis: 86%; aspect-ratio: 16 / 11; } }
@media (min-width: 1024px) { .hs-card { flex-basis: 88%; aspect-ratio: 5 / 4.3; } }
.hs-ui { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.hs-bars { display: flex; gap: 8px; flex: 1; }
.hs-bar { position: relative; flex: 1; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.hs-bar::before, .hs-bar i { content: ""; position: absolute; left: 0; top: 10px; height: 4px; border-radius: 2px; }
.hs-bar::before { right: 0; background: var(--border); }
.hs-bar i { width: 0; background: var(--ink); }
.hs-bar.done i { width: 100%; }
.hs-bar.on i { animation: hs-fill var(--dur, 6000ms) linear forwards; }
@keyframes hs-fill { to { width: 100%; } }
.hs.paused .hs-bar.on i { animation-play-state: paused; }
.hs-btns { display: flex; gap: 8px; }
.hs-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--text); background: transparent; color: var(--text); cursor: pointer; transition: background .2s, color .2s, transform .2s var(--ease); }
.hs-btn:hover { background: var(--ink); color: var(--on-ink); }
.hs-btn:active { transform: scale(.92); }

/* ==========================================================================
   Creators page  (.cr-*)
   ========================================================================== */
.cr-page { padding-bottom: 72px; }

/* Hero */
.cr-hero { padding: 36px 0 28px; }
@media (min-width: 1024px) { .cr-hero { padding: 56px 0 40px; } }
.cr-eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 999px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand-text); font-size: .85rem; font-weight: 700; }
.cr-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.cr-title { margin: 16px 0 14px; font-size: clamp(3.2rem, 9vw, 6rem); letter-spacing: -.04em; line-height: 1; max-width: 13ch; }
.cr-title em { font-style: normal; color: var(--brand-text); }
.cr-sub { max-width: 54ch; margin: 0; }
.cr-stats-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; max-width: 680px; }
.cr-stat { padding: 16px 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); }
.cr-stat b { display: block; font-family: var(--display); font-size: clamp(1.5rem, 4.5vw, 2.3rem); line-height: 1; letter-spacing: -.03em; }
.cr-stat span { display: block; margin-top: 6px; font-size: .85rem; font-weight: 600; color: var(--text-secondary); }

/* Sticky toolbar (sits right under the sticky header) */
.cr-bar { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.dark .cr-bar { background: rgba(0, 0, 0, .88); }
.cr-bar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 12px; }
.cr-search { position: relative; flex: 1 1 100%; }
@media (min-width: 768px) { .cr-search { flex: 1 1 320px; } }
.cr-search svg { position: absolute; left: 1.05rem; top: 50%; transform: translateY(-50%); color: var(--text-secondary); pointer-events: none; }
.cr-search input { width: 100%; height: 3rem; padding: 0 1.2rem 0 2.9rem; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-weight: 500; transition: border-color .2s, box-shadow .2s; }
.cr-search input::placeholder { color: var(--text-secondary); }
.cr-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.cr-seg { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--border); }
.cr-seg button { height: 2.4rem; padding: 0 1.1rem; border: 0; border-radius: 999px; background: transparent; color: var(--text-secondary); font: inherit; font-weight: 700; font-size: .93rem; cursor: pointer; transition: background .2s, color .2s; }
.cr-seg button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.cr-sort { height: 3rem; padding: 0 1.1rem; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; font-size: .93rem; cursor: pointer; }
.cr-sort:focus { outline: none; border-color: var(--brand); }
.cr-count { margin-left: auto; font-size: .88rem; font-weight: 600; color: var(--text-secondary); }

/* Grid */
.cr-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 24px; }
@media (min-width: 560px) { .cr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .cr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .cr-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.cr-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s; }
.cr-card[hidden] { display: none; }
.cr-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); box-shadow: 0 24px 40px -28px rgba(76, 29, 149, .6); }
.cr-cover { height: 84px; flex: none; }
.cr-c0 { background: linear-gradient(135deg, #6d28d9, #c084fc); }
.cr-c1 { background: linear-gradient(135deg, #4c1d95, #8b5cf6); }
.cr-c2 { background: linear-gradient(135deg, #7c3aed, #f0abfc); }
.cr-c3 { background: linear-gradient(135deg, #312e81, #a78bfa); }
.cr-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 0 18px 18px; }
.cr-av { position: relative; flex: none; width: 84px; height: 84px; margin-top: -42px; border-radius: 50%; border: 4px solid var(--surface); background: var(--surface); }
.cr-av img, .cr-ini { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; }
.cr-av img { object-fit: cover; object-position: center; }
.cr-ini { display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 18%, var(--surface)); color: var(--brand-text); font-family: var(--display); font-weight: 800; font-size: 1.8rem; }
.cr-tick { position: absolute; right: -3px; bottom: -3px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; border: 3px solid var(--surface); }
.cr-main { min-width: 0; }
.cr-name { margin: 0; font-size: 1.5rem; letter-spacing: -.025em; overflow-wrap: anywhere; }
.cr-user { margin: 2px 0 0; font-size: .88rem; font-weight: 600; color: var(--brand-text); overflow-wrap: anywhere; }
.cr-bio { margin: 8px 0 0; min-height: 2.9em; color: var(--text-secondary); font-size: .95rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cr-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 0; list-style: none; }
.cr-stats li { padding: .35rem .75rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); font-size: .82rem; font-weight: 600; color: var(--text-secondary); white-space: nowrap; }
.cr-stats b { color: var(--text); font-weight: 800; }
.cr-go { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); font-weight: 700; font-size: .95rem; color: var(--brand-text); }
.cr-go svg { transition: transform .3s var(--ease); }
.cr-card:hover .cr-go svg { transform: translateX(5px); }

/* List mode: same markup, flipped layout */
.cr-grid[data-view="list"] { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.cr-grid[data-view="list"] .cr-card { flex-direction: row; align-items: center; border-radius: 22px; }
.cr-grid[data-view="list"] .cr-card:hover { transform: translateY(-2px); }
.cr-grid[data-view="list"] .cr-cover { display: none; }
.cr-grid[data-view="list"] .cr-body { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; }
.cr-grid[data-view="list"] .cr-av { width: 56px; height: 56px; margin-top: 0; border-width: 0; }
.cr-grid[data-view="list"] .cr-ini { font-size: 1.3rem; }
.cr-grid[data-view="list"] .cr-tick { width: 20px; height: 20px; border-width: 2px; right: -4px; bottom: -4px; }
.cr-grid[data-view="list"] .cr-tick svg { width: 10px; height: 10px; }
.cr-grid[data-view="list"] .cr-main { flex: 1; }
.cr-grid[data-view="list"] .cr-name { font-size: 1.15rem; }
.cr-grid[data-view="list"] .cr-user { display: inline; margin-left: 6px; font-size: .82rem; }
.cr-grid[data-view="list"] .cr-bio { min-height: 0; margin-top: 2px; -webkit-line-clamp: 1; font-size: .9rem; }
.cr-grid[data-view="list"] .cr-stats { margin: 0; flex: none; }
.cr-grid[data-view="list"] .cr-go { padding: 0; border: 0; flex: none; }
@media (max-width: 767px) {
    .cr-grid[data-view="list"] .cr-stats { display: none; }
    .cr-grid[data-view="list"] .cr-go span { display: none; }
}

/* Empty state */
.cr-empty { margin-top: 24px; padding: 56px 24px; text-align: center; border: 1.5px dashed var(--border); border-radius: 26px; color: var(--text-secondary); }
.cr-empty[hidden] { display: none; }
.cr-empty svg { margin: 0 auto 14px; color: var(--brand-text); }
.cr-empty h3 { margin: 0 0 6px; color: var(--text); font-size: 1.3rem; }
.cr-empty p { margin: 0; }

/* ---------- Support chat launcher (Tawk.to loads only on click) ----------
   "button." prefix raises specificity so resets can never override it. */
button.vp-chat-launcher {
    position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 80;
    display: inline-flex; align-items: center; gap: 9px;
    min-height: 46px; padding: 0 16px;
    border: 1px solid var(--border); border-radius: 999px;
    background: var(--surface); color: var(--text);
    box-shadow: 0 8px 28px rgba(20, 16, 40, .16);
    font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}
button.vp-chat-launcher:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(20, 16, 40, .2); }
button.vp-chat-launcher:disabled { opacity: .65; cursor: wait; }
button.vp-chat-launcher svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 480px) {
    button.vp-chat-launcher { left: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); min-height: 44px; padding: 0 13px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .hs-bar.on i { animation: none; width: 100%; }
}

/* ---------- No-purple overrides (page content only; the header is handled in vp-shell.css) ---------- */
:root { --pf: #ffffff; }
.dark { --pf: #1c1c1e; } /* keeps dark mode readable */

.cr-bar { background: var(--pf); }

.btn-primary, .btn-primary:hover { background: var(--pf); color: var(--text); border-color: var(--text); }

.vp-avatar, .cr-ini, .cr-eyebrow { background: var(--pf); color: var(--brand-text); }
.cr-eyebrow { border: 1px solid var(--border); }
.cr-eyebrow i { background: var(--pf); border: 2px solid var(--brand-text); }

.m-tick, .cr-tick { background: var(--pf); color: var(--brand-text); box-shadow: 0 0 0 1.5px var(--border); }

.ev-cta, .ev-card:hover .ev-cta { background: var(--pf); border: 1px solid var(--border); }
.ev-card:hover .ev-cta { color: var(--brand-text); border-color: var(--brand); }

.sb-link:hover { background: var(--border); }
.sb-link.on { background: var(--pf); box-shadow: inset 0 0 0 1px var(--border); }

.cr-c0, .cr-c1, .cr-c2, .cr-c3 { background: var(--pf); border-bottom: 1px solid var(--border); }

/* ==========================================================================
   GLOBAL ZOOM-OUT  (keep this block LAST)
   Scales text, images, cards, icons and spacing together.
   0.9 = 10% smaller · 0.85 = 15% · 0.8 = 20%
   ========================================================================== */
html { zoom: 1.0; }
@media (max-width: 767px) { html { zoom: 0.94; } }

/* Keep full-height layouts correct under zoom */
body { min-height: calc(100vh / 1.0); }
@media (max-width: 767px) { body { min-height: calc(100vh / 0.98); } }
