/* ===== extracted style block ===== */

        /* Handwriting face used by the handover letter so it reads like a
           note written for the customer, not a system notice. */
        .font-hand { font-family: 'Caveat', 'Segoe Script', cursive; }
        /* Soft marker highlight behind key phrases in the letter. */
        .marker-hl { background: linear-gradient(180deg, transparent 55%, rgba(240, 148, 51, 0.35) 55%); padding: 0 2px; border-radius: 2px; }
    
/* ===== extracted style block ===== */

        /* ===== HERO — matched to Social Boost's exact computed styles =====
           H1: Playfair Display 800, 54px desktop / clamp on mobile, line-height 1.08,
               letter-spacing -0.02em, colour #141327.
           Sub: DM Sans 400, 19px, line-height 1.55, #4a4a68, max-width 560px. */
        .hero-title-sb {
            font-family: 'Playfair Display', Georgia, serif;
            font-weight: 800;
            font-size: clamp(26px, 8vw, 34px);
            line-height: 1.1;
            letter-spacing: -0.02em;
            color: #141327;
            text-wrap: balance;
        }
        @media (min-width: 640px) {
            .hero-title-sb { font-size: clamp(34px, 5.2vw, 46px); }
        }
        @media (min-width: 1024px) {
            .hero-title-sb { font-size: 54px; line-height: 1.08; }
        }
        .hero-sub-sb {
            font-family: 'DM Sans', system-ui, sans-serif;
            font-size: 19px;
            font-weight: 400;
            line-height: 1.55;
            color: #4a4a68;
            max-width: 560px;
        }
        @media (max-width: 639px) {
            .hero-sub-sb { font-size: 16.5px; line-height: 1.5; }
        }
        /* Italic, Instagram-gradient word inside the headline (Social Boost signature). */
        .ig-word-sb {
            font-style: italic;
            color: transparent;
            background-image: linear-gradient(90deg, #833ab4, #c13584 12.5%, #e1306c 25%, #fd8f45 37.5%, #fccc63 50%, #fd8f45 62.5%, #e1306c 75%, #c13584 87.5%, #833ab4);
            background-size: 200% 100%;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: igShift 8s linear infinite;
        }
        @keyframes igShift {
            0% { background-position: 0 50%; }
            100% { background-position: 200% 50%; }
        }
        /* Dark-mode safety for the hero + cream "How it works" section.
           (The hero colours above are light-mode values; without these the
           headline/subcopy and the cream section's heading go invisible.) */
        html.dark .hero-title-sb { color: #f8fafc; }
        html.dark .hero-sub-sb { color: #cbd5e1; }
        html.dark #how-it-works { background-color: #0f1b2d !important; border-color: #1e293b !important; }

        /* ===== NAV — matched to Social Boost's nav metrics =====
           Reference: .nav-links { gap: 34px } · .nav-links a { DM Sans 14.5px/500,
           colour #4a4a68 } · .nav-links a:hover { colour #141327 } · bar 79px tall. */
        .site-nav { gap: 34px; }
        /* ===== BRAND LOGO: one file per theme =====
           The header (and the signup wizard) render BOTH files; CSS shows exactly one.
           `html.dark` is set by theme.js in <head> before the first paint, so switching
           the theme (or loading a page with a saved preference) never flashes the wrong
           logo. Both crops are 748/750 × 400 with identical framing, so the swap does not
           shift the layout. Files are produced by scripts/trim-logos.ps1 from
           uptrend-viral-logo-light.png / uptrend-viral-logo-dark.png. */
        .brand-logo-img { display: block; }
        .brand-logo-dark { display: none; }
        html.dark .brand-logo-light { display: none; }
        html.dark .brand-logo-dark { display: block; }

        .nav-btn {
            font-family: 'DM Sans', system-ui, sans-serif;
            font-size: 14.5px;
            font-weight: 500;
            line-height: 1.25;
            letter-spacing: normal;
            color: #4a4a68;
            padding: 4px 0;
            background: transparent;
            border: 0;
            cursor: pointer;
            white-space: nowrap;
            text-decoration: none;
            position: relative;
            transition: color 0.18s ease;
        }
        .nav-btn:hover { color: #141327; }
        /* Current page: brand colour + underline bar (desktop nav) */
        .nav-btn.is-active { color: #cc2366; font-weight: 700; }
        .nav-btn.is-active::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: -9px;
            height: 2px;
            border-radius: 999px;
            background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
        }
        .nav-login {
            font-family: 'DM Sans', system-ui, sans-serif;
            font-size: 14.5px;
            font-weight: 500;
            color: #4a4a68;
            padding: 4px 8px;
            background: transparent;
            border: 0;
            cursor: pointer;
            white-space: nowrap;
            transition: color 0.18s ease;
        }
        .nav-login:hover { color: #141327; }
        .mobile-nav-item {
            font-family: 'DM Sans', system-ui, sans-serif;
            font-size: 15px;
            font-weight: 500;
            color: #4a4a68;
            text-decoration: none;
        }
        .mobile-nav-item:hover { color: #141327; }
        /* Mobile menu: mark the current page too */
        .mobile-nav-item.is-active { color: #cc2366; font-weight: 700; }
        /* Their breakpoint trim: tighter gaps before the compact mobile menu kicks in. */
        @media (max-width: 1150px) {
            .site-nav { gap: 16px; }
            .nav-btn { font-size: 14px; }
        }
        @media (max-width: 1120px) {
            .site-nav { gap: 10px; }
            .nav-btn { font-size: 13.5px; }
        }
        html.dark .nav-btn,
        html.dark .nav-login,
        html.dark .mobile-nav-item { color: #cbd5e1; }
        html.dark .nav-btn:hover,
        html.dark .nav-login:hover,
        html.dark .mobile-nav-item:hover { color: #f8fafc; }
        html.dark .nav-btn.is-active { color: #ff8ab8; }
        html.dark .nav-btn.is-active::after { background: linear-gradient(45deg, #ffb27a, #ff8ab8); }
        html.dark .mobile-nav-item.is-active { color: #ff8ab8; }
        /* ===== DESIGN TOKENS (modelled on the reference sites) ===== */
        :root {
            --sb-blue: #2962ff;
            --sb-green: #00b864;
            --sb-navy: #05172a;
            --sb-ink: #0f1b2d;
            --sb-fg-2: #4b5563;
            --sb-fg-3: #6b7280;
            --sb-bg-2: #f7f9fc;
            --sb-bg-3: #eef2f7;
            --sb-cream: #f5f1e8;
            --sb-border: #e5e9f0;
            --sb-shadow-md: 0 10px 24px -12px rgba(15,27,45,.14), 0 2px 6px rgba(15,27,45,.05);
            --sb-shadow-lg: 0 24px 48px -20px rgba(15,27,45,.22), 0 6px 16px rgba(15,27,45,.06);
            --sb-ease: cubic-bezier(0.22, 0.8, 0.3, 1);
        }
        body {
            font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
            background-color: var(--sb-bg-2);
            color: var(--sb-ink);
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            text-rendering: optimizeLegibility;
        }
        /* Display headings use Outfit with tight, editorial tracking (as per the
           reference sites: big, bold, slightly negative letter-spacing). */
        h1, h2, h3, h4, .font-display {
            font-family: 'Outfit', 'Inter', ui-sans-serif, system-ui, sans-serif;
            letter-spacing: -0.02em;
        }
        /* Primary CTAs get the reference sites' soft coloured glow + smooth easing. */
        button.bg-ig-gradient, a.bg-ig-gradient {
            box-shadow: 0 14px 30px -10px rgba(204, 35, 102, 0.40);
            transition: transform .2s var(--sb-ease), box-shadow .2s var(--sb-ease), opacity .2s var(--sb-ease);
        }
        
        .ig-text-gradient {
            background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .glow-effect {
            box-shadow: 0 10px 25px -5px rgba(220, 39, 67, 0.25);
        }

        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #f1f5f9;
        }
        ::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #dc2743;
        }

        /* Review Feed Slow Animation (3-4s per card stay) */
        .review-card-step {
            transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
        }

        .marquee-container:hover .animate-marquee-horizontal {
            animation-play-state: paused;
        }
        
        .StripeElement {
            background-color: #ffffff;
            padding: 12px 16px;
            border-radius: 12px;
            border: 1px solid #cbd5e1;
            color: #0f172a;
        }
        .StripeElement--focus {
            border-color: #cc2366;
        }

        /* ===== DARK THEME (matches the dev-lock dark: #0f172a / #1e293b) ===== */
        html.dark body { background-color: #0f172a; color: #e2e8f0; }
        html.dark .bg-white { background-color: #1e293b !important; }
        html.dark .bg-white\/90 { background-color: rgba(15,23,42,0.9) !important; }
        html.dark .bg-slate-50 { background-color: #0f172a !important; }
        html.dark .bg-slate-100 { background-color: #1e293b !important; }
        html.dark .bg-amber-50 { background-color: #2a1e0c !important; }
        html.dark .border-amber-200 { border-color: #6b4d16 !important; }
        html.dark .bg-slate-radial { background-image: radial-gradient(circle at top, #1e293b 0%, #0f172a 70%) !important; }
        html.dark .text-slate-900 { color: #f1f5f9 !important; }
        html.dark .text-slate-800 { color: #e2e8f0 !important; }
        html.dark .text-slate-700 { color: #cbd5e1 !important; }
        html.dark .text-slate-600 { color: #94a3b8 !important; }
        html.dark .text-slate-500 { color: #94a3b8 !important; }
        /* Light grey fills (pricing billing toggle, timeline line, hover states)
           must darken too — otherwise grey text sits on a near-white pill. */
        html.dark .bg-slate-200 { background-color: #334155 !important; }
        /* Brand accent text needs a lighter tint on dark surfaces for legibility. */
        html.dark .text-ig-pink { color: #ff8ab8 !important; }
        html.dark .text-ig-orange { color: #ffa06b !important; }
        html.dark .border-slate-200 { border-color: #334155 !important; }
        html.dark .border-slate-100 { border-color: #1e293b !important; }
        html.dark .border-slate-300 { border-color: #334155 !important; }
        html.dark .text-amber-800 { color: #fcd34d !important; }
        html.dark .text-emerald-600 { color: #34d399 !important; }
        html.dark .text-emerald-700 { color: #6ee7b7 !important; }
        html.dark .text-emerald-800 { color: #6ee7b7 !important; }
        html.dark .bg-emerald-50 { background-color: #052e2b !important; }
        html.dark .border-emerald-200 { border-color: #065f46 !important; }
        html.dark .bg-red-50 { background-color: #3b0d0d !important; }
        html.dark .border-red-200 { border-color: #7f1d1d !important; }
        html.dark .text-red-700 { color: #fca5a5 !important; }
        /* Status chips used by the plan → account chooser (and the analyzer tiers). */
        html.dark .text-red-600 { color: #fca5a5 !important; }
        html.dark .bg-sky-50 { background-color: #082f49 !important; }
        html.dark .bg-sky-100 { background-color: #0c4a6e !important; }
        html.dark .text-sky-700 { color: #7dd3fc !important; }
        /* Email-verification banner (sky card) — without these three the dark background
           kept a near-black text, so the banner was unreadable on a phone. */
        html.dark .text-sky-900 { color: #e0f2fe !important; }
        html.dark .text-sky-600 { color: #7dd3fc !important; }
        html.dark .border-sky-200 { border-color: #0c4a6e !important; }
        html.dark .bg-sky-600 { background-color: #0284c7 !important; }

        /* ===== PASSWORD SHOW/HIDE TOGGLE =====
           The button used to rely on bg-white/50 + text-slate-500. In dark mode that
           resolved to pale grey text (#94a3b8) on a translucent-white pill sitting on
           a dark card - washed out and hard to read. Explicit colours for BOTH themes
           (and on an element that is never remapped by the dark overrides above). */
        .pw-eye { background-color: #f1f5f9; border: 1px solid #cbd5e1; color: #334155; }
        .pw-eye:hover { background-color: #e2e8f0; color: #cc2366; }
        .pw-eye.is-on { background-color: rgba(204,35,102,.12); border-color: rgba(204,35,102,.40); color: #cc2366; }
        html.dark .pw-eye { background-color: #334155; border-color: #475569; color: #e2e8f0; }
        html.dark .pw-eye:hover { background-color: #475569; color: #f0abfc; }
        html.dark .pw-eye.is-on { background-color: rgba(204,35,102,.28); border-color: rgba(204,35,102,.55); color: #f0abfc; }

        /* ===== UPTRENDVIRAL UNIFIED THEME (mirrors the Growth Forecast card) ===== */
        @keyframes uvFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
        @keyframes uvShimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
        .uv-shimmer { background-image: linear-gradient(90deg, #f09433 0%, #dc2743 25%, #bc1888 50%, #dc2743 75%, #f09433 100%) !important; background-size: 200% 100% !important; animation: uvShimmer 1.4s linear infinite; }

        /* ===== PROMO / SALE BAND ===== */
        @keyframes promoScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
        .promo-marquee { animation: promoScroll 26s linear infinite; will-change: transform; }
        .pc-cell {
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            min-width: 36px; padding: 3px 6px; border-radius: 8px;
            background: rgba(255,255,255,.20); backdrop-filter: blur(2px);
        }
        .pc-cell span { font-size: 13px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
        .pc-cell small { font-size: 8px; text-transform: uppercase; letter-spacing: .07em; opacity: .9; margin-top: 2px; }
        /* Mobile-first safety: never allow a horizontal scrollbar. */
        html, body { overflow-x: hidden; }
        .sale-cell {
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            min-width: 68px; padding: 10px 8px; border-radius: 16px;
            background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 8px 20px -12px rgba(15,23,42,.25);
        }
        .sale-cell span { font-size: 26px; font-weight: 900; line-height: 1; color: #0f172a; font-variant-numeric: tabular-nums; }
        .sale-cell small { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: #64748b; font-weight: 800; margin-top: 4px; }
        /* Video reviews carousel: swipeable on mobile; hide the scrollbar chrome. */
        #video-reviews-track { scrollbar-width: none; -ms-overflow-style: none; }
        #video-reviews-track::-webkit-scrollbar { display: none; }

        /* Mobile: 4 compact cells in ONE row (never stack vertically). */
        @media (max-width: 639px) {
            .sale-cell { min-width: 0; width: 100%; padding: 8px 2px; border-radius: 12px; }
            .sale-cell span { font-size: 20px; }
            .sale-cell small { font-size: 8px; letter-spacing: 0; }
        }
        html.dark .sale-cell { background: #1e293b; border-color: #334155; }
        html.dark .sale-cell span { color: #f1f5f9; }

        /* ===== PROMO THEMES (Black Friday / Christmas / New Year / default) ===== */
        #promo-band { transition: background .3s ease; }
        #promo-band .promo-bg { position: absolute; inset: 0; }
        #promo-deco { position: absolute; inset: 0; pointer-events: none; }
        #promo-band.theme-default .promo-bg { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
        #promo-band.theme-black .promo-bg { background: linear-gradient(90deg,#0b0b12 0%,#3a0d16 45%,#7f1027 60%,#0b0b12 100%); }
        #promo-band.theme-christmas .promo-bg { background: linear-gradient(90deg,#064e3b 0%,#b91c1c 50%,#064e3b 100%); }
        #promo-band.theme-newyear .promo-bg { background: linear-gradient(90deg,#1e1b4b 0%,#6d28d9 45%,#b45309 72%,#1e1b4b 100%); }

        #promo-band.theme-black #promo-deco {
            background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.07) 0 10px, transparent 10px 22px);
        }
        #promo-band.theme-christmas #promo-deco {
            background-image: radial-gradient(circle, rgba(255,255,255,.75) 1.1px, transparent 1.7px);
            background-size: 20px 20px;
            animation: promoDrift 16s linear infinite;
        }
        #promo-band.theme-newyear #promo-deco {
            background-image: radial-gradient(circle, rgba(255,214,10,.85) 1.2px, transparent 1.8px), radial-gradient(circle, rgba(255,255,255,.5) 1px, transparent 1.5px);
            background-size: 30px 30px, 52px 52px;
            animation: promoTwinkle 3.2s ease-in-out infinite alternate;
        }
        @keyframes promoDrift { from { background-position: 0 0; } to { background-position: 40px 20px; } }
        @keyframes promoTwinkle { from { opacity: .35; } to { opacity: .9; } }

        /* Themed accents on the sale page */
        #sale-strip { position: absolute; top: 0; left: 0; right: 0; height: 6px; }
        #section-sale.theme-default #sale-strip { background: linear-gradient(45deg,#f09433,#dc2743,#bc1888); }
        #section-sale.theme-black #sale-strip { background: linear-gradient(90deg,#0b0b12,#7f1027,#dc2743,#7f1027,#0b0b12); }
        #section-sale.theme-christmas #sale-strip { background: linear-gradient(90deg,#064e3b,#b91c1c,#facc15,#b91c1c,#064e3b); }
        #section-sale.theme-newyear #sale-strip { background: linear-gradient(90deg,#1e1b4b,#6d28d9,#facc15,#6d28d9,#1e1b4b); }

        /* Every white rounded card on the site gets the same soft depth + hover lift */
        main .bg-white.rounded-2xl,
        main .bg-white.rounded-3xl {
            box-shadow: 0 12px 34px -16px rgba(15,23,42,.20), 0 2px 8px -3px rgba(15,23,42,.07);
            transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease;
        }
        main .bg-white.rounded-2xl:hover,
        main .bg-white.rounded-3xl:hover {
            transform: translateY(-4px);
            box-shadow: 0 22px 48px -20px rgba(204,35,102,.34), 0 4px 12px -4px rgba(15,23,42,.10);
            border-color: rgba(204,35,102,.35);
        }
        html.dark main .bg-white.rounded-2xl:hover,
        html.dark main .bg-white.rounded-3xl:hover {
            border-color: rgba(204,35,102,.55);
            box-shadow: 0 22px 48px -20px rgba(204,35,102,.28), 0 4px 12px -4px rgba(0,0,0,.45);
        }

        /* Gradient eyebrow headings in every section */
        main h2.uppercase.text-ig-pink,
        main h2.uppercase.text-ig-orange {
            background: linear-gradient(45deg, #f09433 0%, #dc2743 50%, #bc1888 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* Slightly tighter, more modern section headings */
        main section h3 { letter-spacing: -0.012em; }
        /* Handover letter: swap the cream "paper" for a warm dark tone so the
           lightened slate text stays readable in dark mode. */
        html.dark #handover-guidelines-card { background: linear-gradient(180deg, #2b2115 0%, #1e1710 100%) !important; border-color: #6b4d16 !important; }
        html.dark #handover-guidelines-card .border-amber-300 { border-color: #7a5b1a !important; }
        html.dark #handover-guidelines-card .bg-white { background-color: #33281a !important; }
        html.dark #handover-guidelines-card .marker-hl { background: linear-gradient(180deg, transparent 55%, rgba(240, 148, 51, 0.4) 55%); }

        /* Hero variant: slightly smaller cards so both neighbours stay fully
           visible inside the narrower hero column (same design, sized to fit). */
        .vr-deck.vr-deck--hero { --vr-card-w: clamp(150px, 30vw, 214px); }

        /* Post-checkout overlay: covers the instant between Stripe's redirect and the
           payment-confirmation modal, so there is no flash of the plain dashboard. */
        #checkout-finalizing { display: none; }
        html.checkout-finalizing #checkout-finalizing {
            display: flex;
            position: fixed;
            inset: 0;
            z-index: 200;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 24px;
            background: rgba(255, 255, 255, 0.96);
            -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
        }
        html.dark.checkout-finalizing #checkout-finalizing { background: rgba(15, 23, 42, 0.96); }
        html.dark.checkout-finalizing #checkout-finalizing p { color: #e2e8f0; }

        /* Privacy & data: the "delete account" tile must stay readable in dark mode. */
        html.dark .privacy-danger-card {
            background-color: rgba(239, 68, 68, 0.08) !important;
            border-color: rgba(248, 113, 113, 0.35) !important;
        }
        html.dark .privacy-danger-card p.text-slate-500 { color: #cbd5e1 !important; }

        /* ===== IN-SITE TOASTS — replace native browser alert boxes =====
           window.alert() renders in the browser chrome (next to the URL bar) and
           can't be styled, which looks like the site is broken. Everything we tell
           a customer is shown here instead: a card that belongs to the page. */
        #uv-toast-container {
            position: fixed;
            top: 12px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 300;
            display: flex;
            flex-direction: column;
            gap: 8px;
            width: min(94vw, 420px);
            pointer-events: none;
        }
        @media (min-width: 640px) {
            #uv-toast-container { left: auto; right: 16px; top: 16px; transform: none; }
        }
        .uv-toast {
            pointer-events: auto;
            display: flex;
            align-items: flex-start;
            gap: 10px;
            background: #fff;
            border: 1px solid #e2e8f0;
            border-left: 4px solid #10b981;
            border-radius: 14px;
            padding: 12px 12px 12px 14px;
            box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
            animation: uvToastIn 0.22s ease-out;
        }
        .uv-toast-error { border-left-color: #ef4444; }
        .uv-toast-info { border-left-color: #6366f1; }
        .uv-toast-icon { font-size: 16px; margin-top: 2px; color: #10b981; }
        .uv-toast-error .uv-toast-icon { color: #ef4444; }
        .uv-toast-info .uv-toast-icon { color: #6366f1; }
        .uv-toast-body { flex: 1; margin: 0; font-size: 13px; line-height: 1.45; color: #0f172a; font-weight: 600; }
        .uv-toast-close { flex: 0 0 auto; background: none; border: 0; font-size: 18px; line-height: 1; color: #94a3b8; cursor: pointer; padding: 0 2px; }
        .uv-toast-close:hover { color: #0f172a; }
        .uv-toast-out { opacity: 0; transform: translateY(-6px); transition: opacity 0.2s ease, transform 0.2s ease; }
        @keyframes uvToastIn {
            from { opacity: 0; transform: translateY(-8px); }
            to { opacity: 1; transform: translateY(0); }
        }
        html.dark .uv-toast { background: #1e293b; border-color: #334155; }
        html.dark .uv-toast-body { color: #e2e8f0; }
        html.dark .uv-toast-close { color: #94a3b8; }
        html.dark .uv-toast-close:hover { color: #e2e8f0; }

        /* ===== PROMO BAND — compact on phones =====
           The countdown is desktop-only (4 boxes do not fit beside the marquee on a
           phone, and stacking them made the band 180px tall). Phones get one tight
           row: marquee + Claim Offer + close. Full countdown lives on the Offers page. */
        #promo-countdown { display: none; }
        @media (min-width: 768px) {
            #promo-countdown.has-countdown { display: flex; }
        }
        @media (max-width: 767px) {
            #promo-row { padding-top: 8px; padding-bottom: 8px; gap: 6px; }
            #promo-row .promo-marquee span { font-size: 10.5px; letter-spacing: 0.02em; padding-right: 18px; }
            #promo-cta { padding: 6px 10px; font-size: 10.5px; }

            /* Remaining time stays visible on phones — but as one inline line
               ("01d 04h 45m 07s") instead of four stacked boxes. */
            #promo-countdown.has-countdown {
                display: flex; flex-direction: row; align-items: center; gap: 3px;
                padding: 3px 7px; border-radius: 999px;
                background: rgba(255, 255, 255, 0.20);
                border: 1px solid rgba(255, 255, 255, 0.28);
            }
            #promo-countdown #pc-label { display: none; }
            #promo-countdown .pc-cell {
                min-width: 0; padding: 0; border-radius: 0;
                background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
                flex-direction: row; align-items: baseline; gap: 0;
            }
            #promo-countdown .pc-cell span { font-size: 11px; letter-spacing: 0; }
            #promo-countdown .pc-cell span::after { font-size: 8px; opacity: 0.85; margin-left: 1px; }
            #promo-countdown .pc-cell:nth-of-type(1) span::after { content: 'd'; }
            #promo-countdown .pc-cell:nth-of-type(2) span::after { content: 'h'; }
            #promo-countdown .pc-cell:nth-of-type(3) span::after { content: 'm'; }
            #promo-countdown .pc-cell:nth-of-type(4) span::after { content: 's'; }
            #promo-countdown .pc-cell small { display: none; }
        }

        /* ===== VIDEO REVIEW DECK (overlapping swipe cards) =====
           Cards are stacked on top of one another; the neighbours peek out at the
           sides so visitors can tell the deck can be swiped / dragged left-right. */
        .vr-deck-wrap { position: relative; }
        .vr-deck-clip { overflow: hidden; padding: 10px 0 22px; }
        .vr-deck {
            --vr-card-w: clamp(176px, 44vw, 236px);
            position: relative;
            height: calc(var(--vr-card-w) * 16 / 9);
            touch-action: pan-y;
            -webkit-user-select: none;
            user-select: none;
        }
        .vr-deck-card {
            position: absolute;
            top: 0;
            left: 50%;
            display: block;
            width: var(--vr-card-w);
            aspect-ratio: 9 / 16;
            margin-left: calc(var(--vr-card-w) / -2);
            padding: 0;
            border: 1px solid rgba(15, 27, 45, 0.14);
            border-radius: 20px;
            overflow: hidden;
            background: #0f172a;
            box-shadow: 0 22px 44px rgba(15, 27, 45, 0.26);
            cursor: pointer;
            font: inherit;
            transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease, filter 0.4s ease;
            will-change: transform;
        }
        .vr-deck-card[data-pos="0"] { transform: translateX(0) scale(1); z-index: 30; opacity: 1; }
        .vr-deck-card[data-pos="1"] { transform: translateX(56%) scale(0.92); z-index: 20; opacity: 0.92; filter: brightness(0.86); }
        .vr-deck-card[data-pos="-1"] { transform: translateX(-56%) scale(0.92); z-index: 20; opacity: 0.92; filter: brightness(0.86); }
        .vr-deck-card[data-pos="2"] { transform: translateX(104%) scale(0.84); z-index: 10; opacity: 0.6; filter: brightness(0.7); }
        .vr-deck-card[data-pos="-2"] { transform: translateX(-104%) scale(0.84); z-index: 10; opacity: 0.6; filter: brightness(0.7); }
        .vr-deck-card[data-pos="far"] { transform: translateX(0) scale(0.76); z-index: 1; opacity: 0; pointer-events: none; }
        .vr-deck-card:focus-visible { outline: 3px solid #cc2366; outline-offset: 3px; }
        .vr-deck-media { position: absolute; inset: 0; display: block; background-color: #1e293b; background-size: cover; background-position: center; }
        .vr-deck-fallback {
            position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
            background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
            color: #fff; font-size: 44px; font-weight: 900;
        }
        .vr-deck-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.32) 46%, rgba(0,0,0,0.08) 100%); }
        .vr-deck-play {
            position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
            width: 54px; height: 54px; border-radius: 999px;
            display: flex; align-items: center; justify-content: center;
            background: rgba(255,255,255,0.95); color: #cc2366; font-size: 17px;
            box-shadow: 0 10px 24px rgba(0,0,0,0.35);
        }
        .vr-deck-meta { position: absolute; left: 0; right: 0; bottom: 0; display: block; padding: 12px 13px 13px; text-align: left; }
        .vr-deck-name { display: block; font-family: 'DM Sans', system-ui, sans-serif; font-size: 15px; font-weight: 700; color: #fff; line-height: 1.2; }
        .vr-deck-name .uv-verified { margin-left: 5px; }
        .vr-deck-sub { display: block; margin-top: 1px; font-size: 11px; color: rgba(255,255,255,0.72); }
        .vr-deck-cap { display: block; margin-top: 4px; font-size: 11px; color: rgba(255,255,255,0.88); line-height: 1.35; }
        /* Controls sit UNDER the deck — arrows flanking the dots, never on top of
           the peeking cards. */
        .vr-deck-controls {
            display: flex; align-items: center; justify-content: center;
            gap: 14px; margin-top: 12px;
        }
        .vr-deck-nav {
            flex: 0 0 auto;
            width: 34px; height: 34px; border-radius: 999px;
            display: flex; align-items: center; justify-content: center;
            background: #fff; border: 1px solid #e5e9f0; color: #0f1b2d;
            box-shadow: 0 6px 16px rgba(15, 27, 45, 0.12); cursor: pointer;
            transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
        }
        .vr-deck-nav:hover { border-color: #cc2366; color: #cc2366; transform: scale(1.06); }
        .vr-deck-dots { display: flex; align-items: center; justify-content: center; gap: 7px; }
        .vr-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: #cbd5e1; cursor: pointer; transition: width 0.25s ease, background 0.25s ease; }
        .vr-dot.is-active { width: 22px; background: #cc2366; }
        @media (max-width: 639px) {
            .vr-deck { --vr-card-w: clamp(150px, 52vw, 190px); }
            .vr-deck-controls { gap: 10px; margin-top: 10px; }
            .vr-deck-nav { width: 32px; height: 32px; }
        }
        html.dark .vr-deck-card { border-color: #1e3a52; box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5); }
        html.dark .vr-deck-nav { background: #1e293b; border-color: #334155; color: #e2e8f0; }
        html.dark .vr-deck-nav:hover { border-color: #ff8ab8; color: #ff8ab8; }
        html.dark .vr-dot { background: #334155; }
        html.dark .vr-dot.is-active { background: #ff8ab8; }

        /* Verified seal (green tick next to reviewer names) — inline SVG, so it stays
           crisp at every size and pixel density. */
        .uv-verified {
            display: inline-block;
            flex: none;
            vertical-align: -0.15em;
            overflow: visible;
            filter: drop-shadow(0 1px 1px rgba(4, 120, 87, 0.35));
        }
        .uv-verified use { pointer-events: none; }

        /* Inline US flag (see #usa-flag-symbol in the page shell) */
        .usa-flag {
            display: inline-block;
            flex: none;
            vertical-align: -0.15em;
            border-radius: 2px;
            box-shadow: 0 0 0 1px rgba(15, 27, 45, 0.14), 0 1px 2px rgba(15, 27, 45, 0.10);
        }
        .usa-flag use { pointer-events: none; }

        /* ===== COMPARISON TABLE → STACKED CARDS ON PHONES =====
           The "Why UptrendViral" comparison was a 3-column table forced to min-width 600px,
           so on a phone it could only be read by swiping sideways (and always looked cut
           off). Below 640px every row becomes its own card and each cell shows its column
           label above the value, using the data-label attributes in the template. */
        @media (max-width: 639px) {
            .uv-compare-wrap { overflow: visible; }
            .uv-compare, .uv-compare thead, .uv-compare tbody, .uv-compare tr, .uv-compare td {
                display: block;
                width: 100%;
            }
            .uv-compare thead { display: none; }
            .uv-compare tbody { display: block; padding: 12px; }
            .uv-compare tr {
                border: 1px solid #e2e8f0;
                border-radius: 14px;
                margin-bottom: 10px;
                padding: 4px 2px 8px;
                background: #fff;
            }
            .uv-compare tr:last-child { margin-bottom: 0; }
            .uv-compare td {
                border: 0 !important;
                padding: 8px 12px !important;
                background: transparent !important;
            }
            .uv-compare td[data-label]::before {
                content: attr(data-label);
                display: block;
                font-size: 9px;
                font-weight: 900;
                letter-spacing: .08em;
                text-transform: uppercase;
                color: #94a3b8;
                margin-bottom: 3px;
            }
            /* Feature name reads as the card title. */
            .uv-compare td[data-label="Feature"] {
                font-size: 15px;
                font-weight: 900;
                color: #0f172a;
                padding-bottom: 2px !important;
            }
            .uv-compare td[data-label="Feature"]::before { display: none; }
            .uv-compare td[data-label="UptrendViral"] { color: #059669; font-weight: 700; }
        }

        /* ===== VIDEO REVIEWS ARE VIEW-ONLY =====
           The server refuses requests that do not come from our own pages; these
           rules remove the browser-side download affordances as well (native
           download button, long-press "save video" sheet, drag-to-desktop). */
        .uv-no-download { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
        video::-internal-media-controls-download-button { display: none; }
        video::-webkit-media-controls-enclosure { overflow: hidden; }
        video::-webkit-media-controls-panel { -webkit-user-select: none; user-select: none; }
        /* Deck cards render the poster as a CSS background — no save-on-long-press. */
        .vr-deck-card, .vr-deck-card * { -webkit-touch-callout: none; }
        #video-review-player, #video-review-modal { -webkit-touch-callout: none; }

        /* ===== SUBMITTED-FORM CARD: compact on phones =====
           The answers grid shows 4 rows on a phone; the rest live in #form-details-extra and
           open with "Show all N answers". From 640px up the wrapper is transparent (contents)
           so the normal 2/3-column grid is unchanged on tablet/desktop. */
        #form-details-extra { display: none; }
        #form-details-extra.is-open { display: block; }
        @media (min-width: 640px) {
            #form-details-extra, #form-details-extra.is-open { display: contents; }
        }

        /* ===== GROWTH FORM: MOBILE FOCUS MODE =====
           While the customer is filling the growth form on a phone, the floating chat and the
           mobile manager card are hidden so nothing overlaps the 10 steps. The My Space tabs
           STAY visible (sticky under the header): the customer must always be able to jump to
           Hashtags / Chat / Support or back to Overview without hunting for a back arrow. */
        @media (max-width: 1023px) {
            body.gform-focus #my-space-tabs {
                display: flex !important;
                position: sticky;
                top: 56px;
                z-index: 30;
                background: #f8fafc;
                padding: 8px 0;
                margin-bottom: 2px;
                overflow-x: auto;
                flex-wrap: nowrap;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
            }
            body.gform-focus #my-space-tabs::-webkit-scrollbar { display: none; }
            body.gform-focus #my-space-tabs .mst-tab { flex: 0 0 auto; }
            body.gform-focus #mobile-space-card,
            body.gform-focus #chat-trigger,
            body.gform-focus #chat-widget { display: none !important; }
            /* Keep the step header clear of the back arrow on small screens. */
            body.gform-focus #gform-form-state > div:first-child { padding-top: 2px; }
        }
        html.dark body.gform-focus #my-space-tabs { background: #0b1220; }

        /* ===== PHONES: slightly tighter cards (growth form + add-profile) =====
           The growth form puts a card INSIDE a card, so on a phone the customer lost ~44 px of
           width to padding and every block looked oversized. These rules trim the padding,
           heading size and control height below 640 px only — desktop keeps the roomy version,
           and every control stays at least ~44 px tall so it is still easy to tap. */
        @media (max-width: 639px) {
            #growth-form-container > div { padding: 16px 14px; border-radius: 18px; }
            .gform-step > div.bg-white { padding: 14px; border-radius: 16px; }
            .gform-step h3 { font-size: 1rem; line-height: 1.35; }
            .gform-step .mt-5 { margin-top: 14px; }
            .gform-step button.py-4 { padding-top: 11px; padding-bottom: 11px; }
            #growth-form-container select.p-4,
            #growth-form-container input.p-4 { padding: 12px; }
            #growth-form-container h2 { font-size: 1.375rem; }
            #growth-form-container .mb-7 { margin-bottom: 18px; }
            /* Add-another-profile modal */
            #add-account-modal .relative.bg-white { padding: 16px; border-radius: 16px; }
            #add-account-modal #aa-avatar { width: 52px; height: 52px; }
            #add-account-modal .mb-4 { margin-bottom: 12px; }
        }

        /* ===== MY SPACE TABS (compact segmented bar) =====
           One short row inside a light track: small icon + label per tab. Phones scroll the row
           sideways; from 640px the tabs share the width. Colours are set HERE (not with hover:
           utilities) because the active tab is a pink gradient — a `hover:text-ig-pink` on it
           made the label pink-on-pink and effectively invisible. */
        #my-space-tabs { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; }
        #my-space-tabs::-webkit-scrollbar { display: none; }
        .mst-tab { color: #475569; background-color: transparent; white-space: nowrap; }
        .mst-tab:hover { background-color: #ffffff; color: #0f172a; }
        .mst-tab:focus-visible { outline: 2px solid #dc2743; outline-offset: 1px; }
        .mst-tab.bg-ig-gradient,
        .mst-tab.bg-ig-gradient:hover {
            color: #ffffff !important;
            background-image: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
            box-shadow: 0 6px 14px -9px rgba(220, 39, 67, 0.9);
        }
        html.dark #my-space-tabs { background-color: #111c2e !important; border-color: #1e293b !important; }
        html.dark .mst-tab { color: #cbd5e1; }
        html.dark .mst-tab:hover { background-color: rgba(255, 255, 255, 0.07); color: #ffffff; }
        html.dark .mst-tab.bg-ig-gradient,
        html.dark .mst-tab.bg-ig-gradient:hover { color: #ffffff !important; }

        /* ===== PHONES: MY SPACE AS CARDS =====
           Below 640 px the same six destinations are a 3 x 2 grid of cards instead of a pill row
           that had to be scrolled sideways (Plan / Support used to sit past the right edge with
           no visible scrollbar). From 640 px the pills return and this grid is hidden. While the
           growth form is open the compact sticky pill row is used instead, so the 10 steps keep
           the top of the screen. JS shows/hides BOTH navs with one `hidden` class. */
        #my-space-cards { display: none; }
        .mst-card {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            gap: 6px;
            min-height: 74px;
            padding: 10px 6px 9px;
            border: 1px solid #e2e8f0;
            border-radius: 14px;
            background-color: #ffffff;
            color: #334155;
            font-size: 10.5px;
            font-weight: 800;
            line-height: 1.15;
            text-align: center;
            box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
            transition: transform 0.12s ease, box-shadow 0.12s ease;
        }
        .mst-card:active { transform: scale(0.97); }
        .mst-card:focus-visible { outline: 2px solid #dc2743; outline-offset: 1px; }
        .mst-card .mst-card-ico {
            width: 30px; height: 30px;
            border-radius: 10px;
            display: inline-flex; align-items: center; justify-content: center;
            font-size: 13px;
            background-color: rgba(220, 39, 67, 0.10);
            color: #dc2743;
        }
        .mst-card .mst-card-label { display: block; }
        .mst-card.bg-ig-gradient {
            border-color: transparent;
            color: #ffffff;
            background-image: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
            box-shadow: 0 8px 18px -10px rgba(220, 39, 67, 0.9);
        }
        .mst-card.bg-ig-gradient .mst-card-ico { background-color: rgba(255, 255, 255, 0.22); color: #ffffff; }
        html.dark .mst-card { background-color: #111c2e; border-color: #1e293b; color: #cbd5e1; }
        html.dark .mst-card.bg-ig-gradient { color: #ffffff; }
        @media (max-width: 639px) {
            #my-space-cards:not(.hidden) { display: grid; }
            body:not(.gform-focus) #my-space-tabs { display: none !important; }
            body.gform-focus #my-space-cards { display: none !important; }
        }

