/*
 * landing-v2.css
 * Sozuri public landing page — bold, modern, minimal
 * Matches v3 dashboard visual language: Poppins, #6366f1, glassmorphism
 */

:root {
    --accent: #6366f1;
    --accent-2: #8b5cf6;
    --accent-3: #a855f7;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --accent-gradient-soft: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(139,92,246,0.12) 100%);
    --coral: #f97316;
    --coral-2: #ef4444;
    --coral-gradient: linear-gradient(135deg, #f97316 0%, #ef4444 100%);

    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --bg-muted: #f1f5f9;
    --bg-light-gradient: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #ede9fe 100%);

    --ink: #0f172a;
    --ink-2: #1e293b;
    --ink-3: #334155;
    --ink-muted: #64748b;
    --ink-soft: #94a3b8;

    --dark: #0b1020;
    --dark-2: #0f172a;
    --dark-3: #1e293b;

    --border: rgba(15,23,42,0.08);
    --border-strong: rgba(15,23,42,0.16);
    --border-dark: rgba(255,255,255,0.08);

    --shadow-sm: 0 1px 2px rgba(15,23,42,0.04);
    --shadow-md: 0 8px 24px rgba(15,23,42,0.08);
    --shadow-lg: 0 20px 60px rgba(15,23,42,0.12);
    --shadow-accent: 0 10px 30px rgba(99,102,241,0.35);
    --shadow-accent-soft: 0 4px 15px rgba(99,102,241,0.22);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 999px;

    --nav-h: 64px;
    --util-h: 34px;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html { scroll-behavior: smooth; }

body.lv2 {
    margin: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
}

.lv2 img { max-width: 100%; display: block; }
.lv2 a { text-decoration: none; }
.lv2 a:not(.lv2-btn) { color: inherit; }
.lv2 button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }

.lv2 .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}
@media (max-width: 640px) { .lv2 .container { padding: 0 20px; } }

/* ============== UTILITY BAR ============== */
.lv2-util {
    height: var(--util-h);
    background: #0b1020;
    color: rgba(255,255,255,0.75);
    font-size: 12.5px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lv2-util .container { display: flex; justify-content: flex-end; gap: 22px; }
.lv2-util a { color: rgba(255,255,255,0.75); transition: color 0.2s var(--ease); }
.lv2-util a:hover { color: #fff; }
.lv2-util .lv2-lang {
    position: relative;
}
.lv2-util .lv2-lang button {
    color: rgba(255,255,255,0.75);
    font-size: 12.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.lv2-util .lv2-lang button:hover { color: #fff; }
.lv2-util .lv2-lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 6px;
    min-width: 140px;
    box-shadow: var(--shadow-lg);
    z-index: 60;
}
.lv2-util .lv2-lang-menu a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
}
.lv2-util .lv2-lang-menu a:hover { background: rgba(99,102,241,0.15); color: #fff; }

/* ============== NAV ============== */
.lv2-nav {
    position: sticky;
    top: 0;
    height: var(--nav-h);
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 50;
}
.lv2-nav .container {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}
.lv2-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.lv2-brand .lv2-brand-mark {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: #e0e7ff;
    display: grid; place-items: center;
    overflow: hidden;
    transition: background 0.2s var(--ease);
}
.lv2-brand:hover .lv2-brand-mark { background: #c7d2fe; }
.lv2-brand .lv2-brand-mark img { width: 24px; height: 24px; object-fit: contain; }
.lv2-brand .lv2-brand-mark svg { width: 18px; height: 18px; color: var(--accent); }

.lv2-nav-main {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}
.lv2-nav-item {
    position: relative;
}
.lv2-nav-item > button,
.lv2-nav-item > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-2);
    transition: all 0.2s var(--ease);
}
.lv2-nav-item > button:hover,
.lv2-nav-item > a:hover {
    color: var(--accent);
    background: rgba(99,102,241,0.06);
}
.lv2-nav-item .caret {
    width: 10px; height: 10px;
    transition: transform 0.2s var(--ease);
}
.lv2-nav-item[data-open="true"] .caret { transform: rotate(180deg); }

.lv2-nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mega menu */
.lv2-mega {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(15,23,42,0.10);
    padding: 14px;
    min-width: 480px;
    max-width: min(560px, calc(100vw - 32px));
    z-index: 60;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-4px);
    /* Close fast (~90ms) so it can't overlap the next menu opening */
    transition:
        opacity 0.09s var(--ease),
        transform 0.09s var(--ease),
        visibility 0s linear 0.09s;
    pointer-events: none;
}
/* Hover-bridge fills the gap between button and card so hover doesn't break */
.lv2-mega::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 12px;
}
/* Show menu via hover, keyboard focus, or data-open (click-to-pin) */
.lv2-nav-item:hover > .lv2-mega,
.lv2-nav-item:focus-within > .lv2-mega,
.lv2-nav-item[data-open="true"] > .lv2-mega {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
/* Caret rotation follows the menu state */
.lv2-nav-item:hover > button .caret,
.lv2-nav-item:focus-within > button .caret,
.lv2-nav-item[data-open="true"] > button .caret {
    transform: rotate(180deg);
}
/* Right-edge items anchor to their right edge so they don't overflow viewport */
.lv2-nav-item.lv2-nav-right > .lv2-mega {
    left: auto;
    right: 0;
}
.lv2-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.lv2-mega-col h5 {
    margin: 0 0 4px;
    padding: 0 8px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.lv2-mega-col a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--ink-2);
    transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.lv2-mega-col a:hover {
    background: var(--accent-gradient-soft);
    color: var(--accent);
}
.lv2-mega-col a .lv2-badge {
    font-size: 9.5px;
    padding: 1.5px 6px;
    border-radius: 999px;
    background: rgba(99,102,241,0.12);
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.02em;
}
.lv2-mega-col a .lv2-badge.waitlist {
    background: rgba(100,116,139,0.12);
    color: var(--ink-muted);
}
.lv2-mega.lv2-mega-single { min-width: 200px; padding: 8px; }
.lv2-mega.lv2-mega-single .lv2-mega-grid { grid-template-columns: 1fr; gap: 0; }
.lv2-mega.lv2-mega-single .lv2-mega-col a { padding: 8px 10px; }

/* Buttons */
.lv2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius-md);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1;
    transition: all 0.25s var(--ease);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
}
.lv2-btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: var(--shadow-accent-soft);
}
.lv2-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
    color: #fff;
}
.lv2-btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease);
}
.lv2-btn-primary:hover::before { transform: translateX(100%); }

.lv2-btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--border-strong);
}
.lv2-btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}
.lv2-btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.22);
}
.lv2-btn-outline-light:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.06);
    color: #fff;
    transform: translateY(-1px);
}
.lv2-btn-lg { padding: 16px 28px; font-size: 15.5px; }
.lv2-btn-sm { padding: 9px 16px; font-size: 13.5px; }

/* Mobile nav toggle */
.lv2-nav-toggle {
    display: none;
    width: 42px; height: 42px;
    align-items: center; justify-content: center;
    border-radius: 10px;
    color: var(--ink);
    background: rgba(99,102,241,0.08);
}
.lv2-nav-toggle:hover { background: rgba(99,102,241,0.16); color: var(--accent); }

.lv2-drawer {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s var(--ease), visibility 0s linear 0.25s;
    overscroll-behavior: contain;
}
.lv2-drawer[data-open="true"] {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.25s var(--ease);
}
.lv2-drawer-panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: min(380px, 92vw);
    background: #fff;
    padding: 22px 20px 28px;
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0,0,0,0.25);
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
}
.lv2-drawer[data-open="true"] .lv2-drawer-panel {
    transform: translateX(0);
}
body.lv2-no-scroll { overflow: hidden; }
.lv2-drawer-panel .lv2-drawer-close {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: grid; place-items: center;
    color: var(--ink);
    margin-left: auto;
}
.lv2-drawer-group {
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}
.lv2-drawer-group > button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
}
.lv2-drawer-group a {
    display: block;
    padding: 10px 16px;
    font-size: 14.5px;
    color: var(--ink-2);
    border-radius: 8px;
}
.lv2-drawer-group a:hover { background: var(--accent-gradient-soft); color: var(--accent); }
.lv2-drawer-sub { display: none; padding-top: 4px; }
.lv2-drawer-group[data-open="true"] .lv2-drawer-sub { display: block; }
.lv2-drawer-group[data-open="true"] > button .caret { transform: rotate(180deg); }
.lv2-drawer-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.lv2-drawer-ctas .lv2-btn { width: 100%; }

@media (max-width: 1024px) {
    .lv2-nav .container { gap: 12px; }
    .lv2-nav-main { display: none; }
    .lv2-nav-cta .lv2-btn-outline,
    .lv2-nav-cta .lv2-btn-primary { display: none; }
    .lv2-nav-toggle { display: inline-flex; }
}
@media (max-width: 480px) {
    .lv2-brand span:last-child { display: none; }
}

/* ============== HERO ============== */
.lv2-hero {
    position: relative;
    background: radial-gradient(ellipse at 20% 0%, rgba(99,102,241,0.25) 0%, transparent 55%),
                radial-gradient(ellipse at 85% 30%, rgba(139,92,246,0.22) 0%, transparent 55%),
                linear-gradient(180deg, #0b1020 0%, #0f172a 60%, #0b1020 100%);
    color: #fff;
    padding: 92px 0 120px;
    overflow: hidden;
}
.lv2-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, transparent 75%);
    pointer-events: none;
}
.lv2-hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}
.lv2-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(99,102,241,0.14);
    border: 1px solid rgba(99,102,241,0.32);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c7d2fe;
}
.lv2-hero-eyebrow .lv2-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 10px #34d399;
}
.lv2-hero h1 {
    margin: 22px 0 20px;
    font-size: clamp(38px, 5.4vw, 68px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.025em;
}
.lv2-hero h1 .lv2-grad {
    background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 50%, #f0abfc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lv2-hero p.lv2-sub {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,0.72);
    max-width: 560px;
    margin: 0 0 32px;
}
.lv2-hero .lv2-cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.lv2-hero-trust {
    margin-top: 34px;
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.62);
    font-size: 13.5px;
}
.lv2-hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.lv2-hero-trust svg { width: 14px; height: 14px; color: #34d399; }

/* Conversation thread cards — frameless. The old phone bezel was decorative
   noise; the message bubbles themselves carry all the signal. */
.lv2-phone-stack {
    position: relative;
    display: flex;
    justify-content: center;
}
.lv2-phone {
    width: 100%;
    max-width: 360px;
    position: relative;
    background: transparent;
}
.lv2-phone-screen {
    background: #f5f7fb;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
.lv2-phone-header {
    background: #ffffff;
    color: var(--ink-muted);
    font-size: 10.5px;
    font-weight: 600;
    text-align: center;
    margin: -16px -14px 8px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    border-top-left-radius: 17px;
    border-top-right-radius: 17px;
    letter-spacing: 0.02em;
}
.lv2-phone-header strong {
    color: var(--ink);
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-right: 6px;
}
.lv2-phone-header span { color: var(--ink-soft); }
.lv2-bubble {
    max-width: 78%;
    padding: 10px 13px;
    border-radius: 18px;
    font-size: 12.5px;
    line-height: 1.4;
    box-shadow: 0 1px 1px rgba(0,0,0,0.04);
}
.lv2-bubble.in {
    background: #fff;
    color: var(--ink);
    align-self: flex-start;
    border-bottom-left-radius: 6px;
}
.lv2-bubble.out {
    background: var(--accent-gradient);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 6px;
}
.lv2-bubble.mpesa {
    background: #059669;
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 6px;
    font-weight: 500;
}
.lv2-bubble small { display: block; opacity: 0.75; font-size: 10px; margin-top: 3px; font-weight: 500; }
.lv2-bubble .lv2-ai-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}
/* Decorative back card from the bezel era — hidden now that the chrome is gone. */
.lv2-phone.lv2-phone-back { display: none; }
.lv2-hero-badge {
    position: absolute;
    left: -16px;
    top: 80px;
    background: rgba(255,255,255,0.95);
    color: var(--ink);
    padding: 10px 14px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
    animation: float 4s ease-in-out infinite;
    z-index: 999;
}
.lv2-hero-badge .icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--accent-gradient);
    color: #fff;
    display: grid; place-items: center;
}
.lv2-hero-badge .icon svg { width: 18px; height: 18px; }
.lv2-hero-badge strong { display: block; font-size: 13px; font-weight: 700; }
.lv2-hero-badge span { font-size: 11.5px; color: var(--ink-muted); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 960px) {
    .lv2-hero { padding: 60px 0 80px; }
    .lv2-hero .container { grid-template-columns: 1fr; gap: 60px; }
    .lv2-phone-stack { min-height: 520px; }
    .lv2-phone.lv2-phone-back { display: none; }
}

/* ============== GENERIC SECTION ============== */
.lv2-section { padding: 110px 0; position: relative; }
.lv2-section-sm { padding: 70px 0; }
.lv2-section-tight { padding: 50px 0; }
@media (max-width: 768px) {
    .lv2-section { padding: 72px 0; }
    .lv2-section-sm { padding: 48px 0; }
}
.lv2-section-dark {
    background: linear-gradient(180deg, #0b1020 0%, #0f172a 100%);
    color: #fff;
}
.lv2-section-soft { background: var(--bg-light-gradient); }

.lv2-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 14px;
}
.lv2-section-dark .lv2-eyebrow { color: #c7d2fe; }
.lv2-h2 {
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 700;
    letter-spacing: -0.022em;
    line-height: 1.1;
    margin: 0 0 16px;
}
.lv2-section-dark .lv2-h2 { color: #fff; }
.lv2-lead {
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink-muted);
    max-width: 640px;
}
.lv2-section-dark .lv2-lead { color: rgba(255,255,255,0.68); }

.lv2-section-head { margin-bottom: 56px; text-align: center; }
.lv2-section-head .lv2-lead { margin: 0 auto; }
.lv2-section-head.lv2-left { text-align: left; }
.lv2-section-head.lv2-left .lv2-lead { margin: 0; }

/* ============== BUILD WHAT MATTERS ============== */
.lv2-bwm {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 50%, #db2777 100%);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 64px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(239,68,68,0.25);
}
.lv2-bwm::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255,255,255,0.12) 0%, transparent 40%);
    pointer-events: none;
}
.lv2-bwm > * { position: relative; }
.lv2-bwm .lv2-eyebrow { color: rgba(255,255,255,0.75); }
.lv2-bwm .lv2-h2 { color: #fff; }
.lv2-bwm p { font-size: 18px; color: rgba(255,255,255,0.88); margin: 0 0 28px; line-height: 1.55; }
.lv2-bwm .lv2-btn-primary { background: #fff; color: #ef4444; box-shadow: 0 4px 15px rgba(0,0,0,0.12); }
.lv2-bwm .lv2-btn-primary:hover { transform: translateY(-2px); background: #fff; color: #db2777; }
.lv2-bwm-art {
    aspect-ratio: 1;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: 28px;
    display: grid; place-items: center;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.18);
}
.lv2-stk {
    width: 100%;
    max-width: 260px;
    background: #fff;
    border-radius: 22px;
    padding: 20px;
    color: var(--ink);
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.lv2-stk .lv2-stk-logo {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: #059669;
    color: #fff;
    display: grid; place-items: center;
    margin: 0 auto 12px;
    font-weight: 700;
    font-size: 13px;
}
.lv2-stk h4 { margin: 0 0 6px; font-size: 15px; font-weight: 700; }
.lv2-stk .amount { font-size: 28px; font-weight: 700; color: #059669; margin: 8px 0; }
.lv2-stk .ref { font-size: 12px; color: var(--ink-muted); margin-bottom: 16px; }
.lv2-stk button {
    width: 100%;
    background: #059669;
    color: #fff;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
}

@media (max-width: 860px) {
    .lv2-bwm { padding: 40px 28px; grid-template-columns: 1fr; gap: 36px; }
}

/* ============== TOOLBOX GRID ============== */
.lv2-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 960px) { .lv2-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lv2-grid-3 { grid-template-columns: 1fr; } }
/* When the grid has 10 cards, the 10th hangs alone in the last row at 3-col — center it */
@media (min-width: 961px) {
    .lv2-grid-3 > article:last-child:nth-child(3n + 1) {
        grid-column: 2;
    }
}

.lv2-tile {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}
.lv2-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: var(--accent-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    pointer-events: none;
}
.lv2-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.lv2-tile:hover::after { opacity: 1; }
.lv2-tile-art {
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-md);
    background: var(--accent-gradient-soft);
    margin-bottom: 20px;
    display: grid; place-items: center;
    overflow: hidden;
    position: relative;
}
.lv2-tile .lv2-chip {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15,23,42,0.85);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
}
.lv2-tile .lv2-chip.lv2-chip-accent {
    background: var(--accent-gradient);
    color: #fff;
}
.lv2-tile h3 {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.lv2-tile p { color: var(--ink-muted); font-size: 14.5px; margin: 0 0 16px; line-height: 1.55; }
.lv2-tile-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--accent);
    transition: gap 0.2s var(--ease);
}
.lv2-tile-link:hover { gap: 10px; color: var(--accent); }
.lv2-tile.lv2-tile-hero {
    background: linear-gradient(135deg, #0f172a 0%, #4c1d95 100%);
    color: #fff;
    border-color: transparent;
}
.lv2-tile.lv2-tile-hero h3 { color: #fff; }
.lv2-tile.lv2-tile-hero p { color: rgba(255,255,255,0.72); }
.lv2-tile.lv2-tile-hero .lv2-tile-link { color: #c4b5fd; }
.lv2-tile.lv2-tile-hero .lv2-tile-art { background: linear-gradient(135deg, rgba(99,102,241,0.35) 0%, rgba(168,85,247,0.35) 100%); }

/* Tile art glyphs — pure CSS illustrations */
.lv2-art-sms { display: flex; flex-direction: column; gap: 6px; padding: 16px; justify-content: center; align-items: flex-start; width: 100%; }
.lv2-art-sms .b { padding: 8px 11px; border-radius: 14px; font-size: 11px; background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.lv2-art-sms .b.r { align-self: flex-end; background: var(--accent-gradient); color: #fff; }

.lv2-art-wa { background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%) !important; position: relative; }
.lv2-art-wa .w { padding: 8px 11px; border-radius: 12px; font-size: 11px; background: #25d366; color: #fff; margin: 6px; align-self: flex-end; max-width: 70%; }
.lv2-art-wa .w.l { background: #fff; color: var(--ink); align-self: flex-start; }

.lv2-art-ai { background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%) !important; color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; padding: 16px; }
.lv2-art-ai .pulse { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-gradient); display: grid; place-items: center; color: #fff; box-shadow: 0 0 30px rgba(99,102,241,0.6); animation: pulse 2s ease-in-out infinite; }
.lv2-art-ai .pulse svg { width: 24px; height: 24px; }
.lv2-art-ai span { color: rgba(255,255,255,0.85); font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 30px rgba(99,102,241,0.6); } 50% { box-shadow: 0 0 50px rgba(139,92,246,0.8); } }

.lv2-art-pay { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important; display: grid; place-items: center; padding: 18px; }
.lv2-art-pay .stk { background: #fff; border-radius: 14px; padding: 12px; width: 100%; max-width: 180px; text-align: center; box-shadow: 0 6px 18px rgba(0,0,0,0.08); }
.lv2-art-pay .stk .amt { font-size: 18px; font-weight: 700; color: #059669; margin: 4px 0; }
.lv2-art-pay .stk small { font-size: 10px; color: var(--ink-muted); }

.lv2-art-voice { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important; display: grid; place-items: center; padding: 16px; }
.lv2-art-voice .bars { display: flex; gap: 4px; align-items: flex-end; height: 60px; }
.lv2-art-voice .bars span { width: 6px; border-radius: 3px; background: var(--accent-gradient); animation: bars 1.4s ease-in-out infinite; }
.lv2-art-voice .bars span:nth-child(1) { height: 30%; animation-delay: 0s; }
.lv2-art-voice .bars span:nth-child(2) { height: 80%; animation-delay: 0.15s; }
.lv2-art-voice .bars span:nth-child(3) { height: 50%; animation-delay: 0.3s; }
.lv2-art-voice .bars span:nth-child(4) { height: 100%; animation-delay: 0.45s; }
.lv2-art-voice .bars span:nth-child(5) { height: 60%; animation-delay: 0.6s; }
.lv2-art-voice .bars span:nth-child(6) { height: 40%; animation-delay: 0.75s; }
@keyframes bars { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }

.lv2-art-otp { background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important; display: grid; place-items: center; padding: 16px; }
.lv2-art-otp .digits { display: flex; gap: 8px; }
.lv2-art-otp .digits span { width: 38px; height: 46px; background: #fff; border: 2px solid var(--accent); border-radius: 10px; display: grid; place-items: center; font-size: 20px; font-weight: 700; color: var(--accent); box-shadow: 0 4px 12px rgba(99,102,241,0.15); }

/* Bulk SMS — broadcast (no replies) */
.lv2-art-bulk { background: linear-gradient(135deg, #fef3f2 0%, #fee4e2 100%) !important; padding: 18px; align-items: stretch; flex-direction: column; justify-content: center; gap: 7px; display: flex; }
.lv2-art-bulk .b { background: #fff; padding: 8px 11px; border-radius: 12px; font-size: 11px; line-height: 1.35; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,0.05); position: relative; }
.lv2-art-bulk .b strong { color: var(--accent); display: block; font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; font-weight: 700; }
.lv2-art-bulk .b::after { content: '↗'; position: absolute; top: 8px; right: 10px; color: var(--accent); font-size: 11px; opacity: 0.6; }

/* Better WhatsApp tile art */
.lv2-art-wa { background: #efeae2 !important; background-image: radial-gradient(circle at 25% 25%, rgba(0,0,0,0.025) 1px, transparent 1.5px), radial-gradient(circle at 75% 75%, rgba(0,0,0,0.025) 1px, transparent 1.5px) !important; background-size: 30px 30px !important; padding: 14px; flex-direction: column; gap: 6px; display: flex; justify-content: center; }
.lv2-art-wa .w { padding: 7px 10px; border-radius: 10px; font-size: 11px; line-height: 1.35; max-width: 78%; box-shadow: 0 1px 1px rgba(0,0,0,0.05); }
.lv2-art-wa .w.cust { background: #d9fdd3; color: var(--ink); align-self: flex-end; border-bottom-right-radius: 3px; }
.lv2-art-wa .w.biz { background: #fff; color: var(--ink); align-self: flex-start; border-bottom-left-radius: 3px; }
.lv2-art-wa .w small { display: block; font-size: 8.5px; color: rgba(0,0,0,0.4); margin-top: 2px; text-align: right; }
.lv2-art-wa .w.biz strong { display: block; color: #008069; font-size: 9px; font-weight: 700; margin-bottom: 1px; }

/* Agentic AI — balance query conversation */
.lv2-art-ai { background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%) !important; color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 14px; align-items: stretch !important; }
.lv2-art-ai .b { padding: 7px 10px; border-radius: 10px; font-size: 10.5px; line-height: 1.35; max-width: 84%; }
.lv2-art-ai .b.cust { background: rgba(255,255,255,0.92); color: var(--ink); align-self: flex-end; border-bottom-right-radius: 3px; }
.lv2-art-ai .b.agent { background: var(--accent-gradient); color: #fff; align-self: flex-start; border-bottom-left-radius: 3px; }
.lv2-art-ai .b.agent strong { display: block; font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; margin-bottom: 1px; font-weight: 700; }

/* USSD menu screen */
.lv2-art-ussd { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important; padding: 16px; display: grid; place-items: center; }
.lv2-ussd-screen {
    background: #fff;
    color: #0f172a;
    font-family: ui-monospace, 'SF Mono', Menlo, monospace;
    font-size: 11px;
    line-height: 1.55;
    padding: 13px 14px;
    border-radius: 8px;
    width: 100%;
    max-width: 220px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}
.lv2-ussd-screen strong { display: block; font-size: 10.5px; letter-spacing: 0.04em; color: var(--accent); margin-bottom: 6px; font-weight: 700; }
.lv2-ussd-screen .menu { color: var(--ink); white-space: pre-line; font-size: 10.5px; }
.lv2-ussd-screen .input { margin-top: 8px; padding-top: 8px; border-top: 1px dashed rgba(0,0,0,0.1); display: flex; justify-content: space-between; align-items: center; font-size: 10px; color: var(--ink-muted); }
.lv2-ussd-screen .input .field { color: var(--accent); font-weight: 700; }

/* Voice IVR */
.lv2-art-voice { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 14px; align-items: stretch !important; }
.lv2-art-voice .ivr-line { background: #fff; padding: 7px 10px; border-radius: 10px; font-size: 10.5px; color: var(--ink); display: flex; gap: 8px; align-items: center; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.lv2-art-voice .ivr-line .num { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-gradient); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.lv2-art-voice .bars { display: flex; gap: 3px; align-items: flex-end; height: 22px; margin-left: auto; }
.lv2-art-voice .bars span { width: 3px; border-radius: 2px; background: var(--accent-gradient); animation: bars 1.4s ease-in-out infinite; }
.lv2-art-voice .bars span:nth-child(1) { height: 30%; animation-delay: 0s; }
.lv2-art-voice .bars span:nth-child(2) { height: 80%; animation-delay: 0.15s; }
.lv2-art-voice .bars span:nth-child(3) { height: 50%; animation-delay: 0.3s; }
.lv2-art-voice .bars span:nth-child(4) { height: 100%; animation-delay: 0.45s; }
.lv2-art-voice .bars span:nth-child(5) { height: 60%; animation-delay: 0.6s; }
@keyframes bars { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }

/* IoT — Arduino MO → Sozuri → webhook */
.lv2-art-iot {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%) !important;
    padding: 14px;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: stretch !important;
    gap: 8px;
}
.lv2-art-iot .iot-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    background: rgba(99,102,241,0.18);
    border: 1px solid rgba(99,102,241,0.32);
    color: #c7d2fe;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 8px 3px 6px;
    border-radius: 999px;
}
.lv2-art-iot .iot-tag svg { width: 11px; height: 11px; }
.lv2-art-iot .iot-msg {
    background: #fff;
    color: var(--ink);
    padding: 9px 11px;
    border-radius: 10px;
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    font-size: 10px;
    line-height: 1.45;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.lv2-art-iot .iot-hop {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.72);
    font-size: 10.5px;
    padding: 0 4px;
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}
.lv2-art-iot .iot-hop svg { width: 12px; height: 12px; color: var(--accent); flex-shrink: 0; }
.lv2-art-iot .iot-hop code { color: #c7d2fe; }
.lv2-art-iot .iot-hop em { color: #86efac; font-style: normal; font-weight: 600; }

/* Premium SMS — subscription / on-demand */
.lv2-art-prem { background: linear-gradient(135deg, #fdf4ff 0%, #fae8ff 100%) !important; padding: 16px; flex-direction: column; gap: 8px; display: flex; justify-content: center; align-items: stretch !important; }
.lv2-art-prem .b { background: #fff; padding: 9px 11px; border-radius: 12px; font-size: 10.5px; line-height: 1.4; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,0.05); position: relative; }
.lv2-art-prem .b strong { display: block; color: #a21caf; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 2px; font-weight: 700; }
.lv2-art-prem .pill { display: inline-block; background: linear-gradient(135deg, #a21caf 0%, #7e22ce 100%); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; margin-top: 4px; }
.lv2-art-prem .b.charge { background: var(--accent-gradient); color: #fff; }
.lv2-art-prem .b.charge strong { color: rgba(255,255,255,0.85); }

/* ============== CODE / DEV SECTION ============== */
.lv2-dev-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 960px) { .lv2-dev-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Role tabs */
.lv2-role-tabs {
    display: flex;
    gap: 2px;
    margin: 36px 0 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    overflow-x: auto;
    scrollbar-width: none;
}
.lv2-role-tabs::-webkit-scrollbar { display: none; }
.lv2-role-tab {
    padding: 14px 22px;
    color: rgba(255,255,255,0.55);
    font-size: 15px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
    white-space: nowrap;
    background: transparent;
}
.lv2-role-tab:hover { color: #fff; }
.lv2-role-tab[data-active="true"] {
    color: #fff;
    border-bottom-color: var(--accent);
}
.lv2-role-panel { display: none; }
.lv2-role-panel[data-active="true"] {
    display: block;
    animation: roleFade 0.4s var(--ease);
}
@keyframes roleFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.lv2-role-h3 {
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.18;
    color: #fff;
    margin: 0 0 14px;
}
.lv2-role-p {
    font-size: 17px;
    color: rgba(255,255,255,0.72);
    line-height: 1.55;
    margin: 0 0 22px;
    max-width: 480px;
}
.lv2-checklist {
    list-style: none;
    padding: 0;
    margin: 22px 0 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.lv2-checklist li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: rgba(255,255,255,0.78);
    font-size: 14.5px;
    line-height: 1.5;
}
.lv2-checklist li::before {
    content: '';
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat,
        linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    margin-top: 1px;
}

.lv2-phone-inline {
    display: flex;
    justify-content: center;
    padding: 8px 0;
}
.lv2-phone.lv2-phone-sm { max-width: 320px; }

/* WhatsApp variant — keep the recognisable doodle backdrop + green header pill,
   minus the phone bezel. */
.lv2-phone.lv2-phone-wa .lv2-phone-screen {
    background: #efeae2;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(0,0,0,0.025) 1px, transparent 1.5px),
        radial-gradient(circle at 75% 75%, rgba(0,0,0,0.025) 1px, transparent 1.5px);
    background-size: 40px 40px;
}
.lv2-phone-header.wa {
    background: #008069;
    color: #fff;
    /* Match the new thread-card padding so the green band reaches all card edges */
    margin: -16px -14px 10px;
    padding: 12px 14px 10px;
    border-bottom: 0;
    border-top-left-radius: 17px;
    border-top-right-radius: 17px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}
.lv2-phone-header.wa .avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: grid; place-items: center;
    font-weight: 700;
    color: #fff;
    font-size: 12px;
    flex-shrink: 0;
}
.lv2-phone-header.wa strong { color: #fff; font-size: 13px; }
.lv2-phone-header.wa span { color: rgba(255,255,255,0.75); font-size: 10.5px; font-weight: 500; }
.lv2-bubble.wa-in { background: #fff; color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.lv2-bubble.wa-out { background: #d9fdd3; color: var(--ink); align-self: flex-end; border-bottom-right-radius: 4px; }
.lv2-bubble.wa-in small, .lv2-bubble.wa-out small { color: rgba(15,23,42,0.45); }

.lv2-chip-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 26px;
}
.lv2-chip {
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 12.5px;
    font-weight: 500;
    color: rgba(255,255,255,0.78);
    transition: all 0.2s var(--ease);
    cursor: pointer;
}
.lv2-chip:hover, .lv2-chip[data-active="true"] {
    background: rgba(99,102,241,0.2);
    border-color: rgba(99,102,241,0.55);
    color: #fff;
}
.lv2-code {
    background: #0b1020;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.lv2-code-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
}
.lv2-code-head .dot { width: 11px; height: 11px; border-radius: 50%; }
.lv2-code-head .dot.r { background: #ef4444; }
.lv2-code-head .dot.y { background: #eab308; }
.lv2-code-head .dot.g { background: #22c55e; }
.lv2-code-head .lv2-code-title { margin-left: 8px; font-size: 12.5px; color: rgba(255,255,255,0.55); font-family: ui-monospace, monospace; }
.lv2-code-body {
    padding: 22px 26px;
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    font-size: 13px;
    line-height: 1.75;
    color: #e2e8f0;
    overflow-x: auto;
    white-space: pre;
}
.lv2-code-body .c { color: #64748b; font-style: italic; }
.lv2-code-body .k { color: #c4b5fd; }
.lv2-code-body .s { color: #86efac; }
.lv2-code-body .n { color: #fdba74; }
.lv2-code-body .p { color: #e2e8f0; }
.lv2-code-panel { display: none; }
.lv2-code-panel[data-active="true"] { display: block; }

/* ============== USE CASE SLIDER ============== */
.lv2-slider-wrap {
    position: relative;
    padding: 0 0 24px;
}
.lv2-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 2px 30px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}
.lv2-slider::-webkit-scrollbar { height: 6px; }
.lv2-slider::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 999px; }
.lv2-slider::-webkit-scrollbar-thumb { background: var(--accent-gradient); border-radius: 999px; }

.lv2-slide {
    flex: 0 0 380px;
    scroll-snap-align: start;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--ease);
}
.lv2-slide:hover {
    background: rgba(99,102,241,0.08);
    border-color: rgba(99,102,241,0.4);
    transform: translateY(-4px);
}
.lv2-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent-gradient);
}
.lv2-slide .lv2-tag {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(99,102,241,0.22);
    color: #c7d2fe;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.lv2-slide h3 {
    margin: 18px 0 10px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
    line-height: 1.25;
}
.lv2-slide .quote {
    font-size: 14.5px;
    color: rgba(255,255,255,0.72);
    line-height: 1.55;
    margin: 0 0 20px;
}
.lv2-slide .metric {
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
}
.lv2-slide .metric .big {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}
.lv2-slide .metric small { color: rgba(255,255,255,0.55); font-size: 12px; }
.lv2-slide-ctrls {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 18px;
}
.lv2-slide-ctrls button {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    display: grid; place-items: center;
    transition: all 0.2s var(--ease);
}
.lv2-slide-ctrls button:hover:not(:disabled) {
    background: var(--accent-gradient);
    border-color: transparent;
    transform: translateY(-2px);
}
.lv2-slide-ctrls button:disabled { opacity: 0.4; cursor: not-allowed; }

/* ============== LOGO MARQUEE ============== */
.lv2-logos {
    padding: 56px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-soft);
    overflow: hidden;
}
.lv2-logos-label {
    text-align: center;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 28px;
}
.lv2-marquee {
    display: flex;
    gap: 70px;
    animation: marquee 40s linear infinite;
    width: fit-content;
}
.lv2-marquee img {
    height: 36px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s var(--ease);
    flex-shrink: 0;
}
.lv2-marquee img:hover { opacity: 1; filter: none; transform: scale(1.05); }
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============== 4-FEATURE ROW ============== */
.lv2-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 1024px) { .lv2-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .lv2-grid-4 { grid-template-columns: 1fr; } }

.lv2-feat {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s var(--ease);
}
.lv2-feat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(99,102,241,0.32);
}
.lv2-feat-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--accent-gradient-soft);
    color: var(--accent);
    display: grid; place-items: center;
    margin-bottom: 18px;
}
.lv2-feat-icon svg { width: 24px; height: 24px; }
.lv2-feat h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.lv2-feat p { margin: 0; font-size: 14.5px; color: var(--ink-muted); line-height: 1.55; }

/* ============== RECOGNITION ============== */
.lv2-grid-3-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
@media (max-width: 900px) { .lv2-grid-3-cards { grid-template-columns: 1fr; } }
.lv2-rec {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--ease);
}
.lv2-rec:hover { border-color: rgba(99,102,241,0.4); transform: translateY(-4px); }
.lv2-rec .big {
    font-size: 54px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 12px;
}
.lv2-rec h4 { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: #fff; }
.lv2-rec p { margin: 0; font-size: 14px; color: rgba(255,255,255,0.66); line-height: 1.55; }

/* ============== CONVERSATIONAL SHOWCASE ============== */
.lv2-conv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
@media (max-width: 860px) { .lv2-conv-grid { grid-template-columns: 1fr; gap: 40px; } }
.lv2-conv-media {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--bg-soft);
    border: 1px solid var(--border);
}
.lv2-conv-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lv2-conv-media::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    box-shadow: inset 0 0 0 1px rgba(99,102,241,0.06);
    pointer-events: none;
}
.lv2-conv-quote {
    font-size: 22px;
    line-height: 1.4;
    font-style: italic;
    color: var(--ink);
    margin: 0 0 22px;
    font-weight: 500;
    border-left: 3px solid var(--accent);
    padding-left: 18px;
}
.lv2-conv-body { font-size: 16px; color: var(--ink-muted); line-height: 1.65; margin: 0 0 26px; max-width: 520px; }
.lv2-conv-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
}
@media (max-width: 520px) { .lv2-conv-list { grid-template-columns: 1fr; } }
.lv2-conv-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ink-2);
    font-size: 14px;
    line-height: 1.45;
}
.lv2-conv-list li svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 1px; }

/* ============== PRICING ============== */
.lv2-price-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.lv2-price-table {
    width: 100%;
    border-collapse: collapse;
}
.lv2-price-table th,
.lv2-price-table td {
    padding: 18px 24px;
    text-align: left;
    font-size: 14.5px;
    border-bottom: 1px solid var(--border);
}
.lv2-price-table thead th {
    background: var(--bg-soft);
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-muted);
    white-space: nowrap;
}
.lv2-price-table tbody tr:last-child td { border-bottom: 0; }
.lv2-price-table tbody tr { transition: background 0.18s var(--ease); }
.lv2-price-table tbody tr:hover { background: #f8faff; }
.lv2-price-table td.amt { font-weight: 600; color: var(--ink); }
.lv2-price-table td.rate { font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 500; }
.lv2-price-foot {
    padding: 18px 24px;
    background: var(--bg-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: var(--ink-muted);
}
.lv2-price-foot strong { color: var(--ink); font-weight: 600; }
.lv2-price-note { font-size: 13px; color: var(--ink-muted); text-align: center; margin: 20px 0 0; }
@media (max-width: 640px) {
    .lv2-price-table th,
    .lv2-price-table td { padding: 14px 14px; font-size: 13.5px; }
    .lv2-price-table thead th { font-size: 10.5px; }
}

/* ============== INTEGRATIONS ============== */
.lv2-int-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 860px) { .lv2-int-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .lv2-int-grid { grid-template-columns: 1fr; } }
.lv2-int-tile {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
    text-decoration: none;
    color: inherit;
}
.lv2-int-tile:hover {
    border-color: rgba(99,102,241,0.4);
    transform: translateY(-3px);
}
.lv2-int-logo {
    width: 56px;
    height: 56px;
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    padding: 10px;
}
.lv2-int-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lv2-int-tile h4 {
    margin: 0 0 6px;
    font-size: 16.5px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.005em;
}
.lv2-int-tile p {
    margin: 0;
    font-size: 13.5px;
    color: var(--ink-muted);
    line-height: 1.55;
}
.lv2-int-cat {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    width: 100%;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

/* ============== TRUST BAR ============== */
.lv2-trust-bar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 28px;
    display: flex;
    justify-content: space-around;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
    box-shadow: var(--shadow-sm);
}
.lv2-trust-bar .item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink-2);
    font-weight: 600;
    font-size: 14px;
}
.lv2-trust-bar .item .ico {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--accent-gradient-soft);
    color: var(--accent);
    display: grid; place-items: center;
}
.lv2-trust-bar .item .ico svg { width: 18px; height: 18px; }

/* ============== FINAL CTA ============== */
.lv2-final {
    padding: 100px 0;
    background: radial-gradient(ellipse at 30% 30%, rgba(99,102,241,0.2) 0%, transparent 55%),
                radial-gradient(ellipse at 70% 70%, rgba(168,85,247,0.18) 0%, transparent 55%),
                linear-gradient(180deg, #0b1020 0%, #0f172a 100%);
    color: #fff;
}
.lv2-final .container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}
.lv2-final-art {
    aspect-ratio: 1;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(99,102,241,0.18) 0%, rgba(168,85,247,0.18) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    display: grid; place-items: center;
    padding: 32px;
    position: relative;
    overflow: hidden;
}
.lv2-final-art::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.08) 0%, transparent 50%);
}
.lv2-final-art .silhouette {
    width: 100%;
    max-width: 340px;
    position: relative;
}
.lv2-final h2 {
    font-size: clamp(32px, 4.4vw, 56px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
    color: #fff;
}
.lv2-final p { font-size: 18px; color: rgba(255,255,255,0.72); margin: 0 0 32px; }
@media (max-width: 860px) {
    .lv2-final .container { grid-template-columns: 1fr; gap: 40px; }
    .lv2-final-art { aspect-ratio: 16/10; max-width: 420px; margin: 0 auto; }
}

/* ============== CTA STRIP ============== */
.lv2-strip {
    background: var(--accent-gradient);
    padding: 22px 0;
    color: #fff;
}
.lv2-strip .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.lv2-strip strong { font-size: 17px; font-weight: 600; }
.lv2-strip a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 700;
    padding: 6px 14px;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 999px;
    transition: all 0.2s var(--ease);
}
.lv2-strip a:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ============== FOOTER ============== */
.lv2-foot {
    background: #0b1020;
    color: rgba(255,255,255,0.7);
    padding: 72px 0 36px;
}
.lv2-foot-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}
@media (max-width: 860px) { .lv2-foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .lv2-foot-grid { grid-template-columns: 1fr; } }

.lv2-foot h5 {
    margin: 0 0 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
}
.lv2-foot ul { list-style: none; padding: 0; margin: 0; }
.lv2-foot ul li { margin-bottom: 10px; }
.lv2-foot ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: color 0.2s var(--ease);
}
.lv2-foot ul li a:hover { color: var(--accent); }
.lv2-foot-brand p { margin: 14px 0 20px; font-size: 14px; color: rgba(255,255,255,0.55); max-width: 260px; line-height: 1.6; }
.lv2-foot .brand-mark-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
}
.lv2-foot .brand-mark-light .m {
    width: 32px; height: 32px;
    border-radius: 10px;
    background: var(--accent-gradient);
    display: grid; place-items: center;
}
.lv2-foot-bottom {
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}
.lv2-foot-socials { display: flex; gap: 12px; }
.lv2-foot-socials a {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    display: grid; place-items: center;
    color: rgba(255,255,255,0.7);
    transition: all 0.2s var(--ease);
}
.lv2-foot-socials a:hover { background: var(--accent-gradient); color: #fff; transform: translateY(-2px); }

/* Accessibility */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0;
    margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

[x-cloak] { display: none !important; }

/* ============================================================
   PRODUCT PAGES — slim hero, step-cards, FAQ accordion, meta strip,
   inline callout. Shared across every /products/* page.
============================================================ */

/* Slim hero variant: less vertical padding for inner pages */
.lv2-hero.lv2-hero-sm { padding: 64px 0 84px; }
.lv2-hero.lv2-hero-sm h1 { font-size: clamp(34px, 4.6vw, 56px); }
.lv2-hero.lv2-hero-sm .lv2-phone-stack { min-height: 480px; }
@media (max-width: 960px) {
    .lv2-hero.lv2-hero-sm { padding: 48px 0 64px; }
    .lv2-hero.lv2-hero-sm .lv2-phone-stack { min-height: 480px; }
}

/* Breadcrumb chip above hero H1 (eyebrow style with link) */
.lv2-crumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin: 0 0 14px;
}
.lv2-crumb a {
    color: rgba(255,255,255,0.85);
    transition: color 0.15s var(--ease);
}
.lv2-crumb a:hover { color: #c7d2fe; }
.lv2-crumb svg { width: 11px; height: 11px; opacity: 0.55; }

/* Meta / spec strip below hero — small "tech sheet" of properties */
.lv2-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 22px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-soft);
}
@media (max-width: 720px) { .lv2-meta { grid-template-columns: repeat(2, 1fr); gap: 18px 0; } }
.lv2-meta-item {
    padding: 0 24px;
    border-left: 1px solid var(--border);
}
.lv2-meta-item:first-child { border-left: 0; }
@media (max-width: 720px) {
    .lv2-meta-item { padding: 6px 18px; border-left: 0; border-right: 1px solid var(--border); }
    .lv2-meta-item:nth-child(2n) { border-right: 0; }
}
.lv2-meta-item .label {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 6px;
}
.lv2-meta-item .value {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.005em;
    line-height: 1.3;
}
.lv2-meta-item .value code {
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    font-size: 13px;
    background: #fff;
    padding: 2px 7px;
    border-radius: 6px;
    border: 1px solid var(--border);
    color: var(--accent);
}

/* "How it works" — 3 numbered steps */
.lv2-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}
@media (max-width: 860px) { .lv2-steps { grid-template-columns: 1fr; } }
.lv2-step {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.lv2-step:hover {
    border-color: rgba(99,102,241,0.4);
    transform: translateY(-3px);
}
.lv2-step .num {
    width: 36px; height: 36px;
    border-radius: 12px;
    background: var(--accent-gradient-soft);
    color: var(--accent);
    display: grid; place-items: center;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.01em;
    margin-bottom: 18px;
    border: 1px solid rgba(99,102,241,0.18);
}
.lv2-step h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.005em;
}
.lv2-step p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-muted);
}
.lv2-step code {
    background: var(--bg-soft);
    color: var(--accent);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 12.5px;
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

/* FAQ accordion */
.lv2-faq { max-width: 760px; margin: 0 auto; }
.lv2-faq-item {
    border-bottom: 1px solid var(--border);
    padding: 4px 0;
}
.lv2-faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 18px 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    list-style: none;
}
.lv2-faq-item summary::-webkit-details-marker { display: none; }
.lv2-faq-item summary::after {
    content: '';
    width: 14px; height: 14px;
    border-right: 2px solid var(--ink-muted);
    border-bottom: 2px solid var(--ink-muted);
    transform: rotate(45deg);
    transition: transform 0.2s var(--ease);
    flex-shrink: 0;
}
.lv2-faq-item[open] summary::after { transform: rotate(-135deg); }
.lv2-faq-item[open] summary { color: var(--accent); }
.lv2-faq-item .answer {
    padding: 0 4px 22px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-muted);
}
.lv2-faq-item .answer p { margin: 0 0 12px; }
.lv2-faq-item .answer p:last-child { margin-bottom: 0; }
.lv2-faq-item .answer code {
    background: var(--bg-soft);
    color: var(--accent);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 13px;
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

/* Inline callout (e.g. "Coming soon" notes, gotchas, prerequisites) */
.lv2-callout {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 22px;
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    margin: 22px 0;
}
.lv2-callout .lv2-callout-icon {
    width: 32px; height: 32px;
    border-radius: 10px;
    background: var(--accent-gradient-soft);
    color: var(--accent);
    display: grid; place-items: center;
    flex-shrink: 0;
}
.lv2-callout .lv2-callout-icon svg { width: 16px; height: 16px; }
.lv2-callout strong { color: var(--ink); display: block; margin-bottom: 2px; font-weight: 600; font-size: 15px; }
.lv2-callout span { color: var(--ink-muted); font-size: 14px; line-height: 1.5; }
.lv2-callout.lv2-callout-warn { border-left-color: #f59e0b; }
.lv2-callout.lv2-callout-warn .lv2-callout-icon { background: rgba(245,158,11,0.12); color: #b45309; }
.lv2-callout.lv2-callout-dark {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
    border-left-color: var(--accent);
}
.lv2-callout.lv2-callout-dark strong { color: #fff; }
.lv2-callout.lv2-callout-dark span { color: rgba(255,255,255,0.72); }
.lv2-callout.lv2-callout-dark .lv2-callout-icon { background: rgba(99,102,241,0.18); color: #c7d2fe; }

/* Use case "thread" — a single phone-mockup conversation inline */
.lv2-thread-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}
.lv2-thread-row.lv2-thread-reverse { grid-template-columns: 1.2fr 1fr; }
.lv2-thread-row.lv2-thread-reverse .lv2-thread-copy { order: 2; }
@media (max-width: 860px) {
    .lv2-thread-row,
    .lv2-thread-row.lv2-thread-reverse { grid-template-columns: 1fr; gap: 40px; }
    .lv2-thread-row.lv2-thread-reverse .lv2-thread-copy { order: 0; }
}
.lv2-thread-copy h3 {
    margin: 0 0 14px;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--ink);
    line-height: 1.15;
}
.lv2-thread-copy p {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-muted);
}
.lv2-thread-copy .lv2-eyebrow { display: block; margin-bottom: 12px; }
.lv2-thread-copy ul {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.lv2-thread-copy ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ink-2);
    font-size: 14.5px;
    line-height: 1.5;
}
.lv2-thread-copy ul li::before {
    content: '';
    width: 18px; height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/10px no-repeat,
        var(--accent-gradient);
}

/* Pricing pointer block — used on every product page */
.lv2-pricing-pointer {
    background: var(--bg-light-gradient);
    border-radius: var(--radius-xl);
    padding: 36px 40px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    align-items: center;
    border: 1px solid var(--border);
}
@media (max-width: 720px) {
    .lv2-pricing-pointer { padding: 28px 24px; grid-template-columns: 1fr; }
}
.lv2-pricing-pointer h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--ink);
}
.lv2-pricing-pointer p { margin: 0; color: var(--ink-muted); font-size: 14.5px; }
.lv2-pricing-pointer .lv2-cta-row { justify-content: flex-end; }
@media (max-width: 720px) { .lv2-pricing-pointer .lv2-cta-row { justify-content: flex-start; } }

/* Product page — section-head left-aligned variant for content-heavy pages */
.lv2-section-head-tight { margin-bottom: 40px; }

/* ============================================================
   SOLUTIONS PAGES — story-driven layout, more whitespace
============================================================ */

/* Generous-padding section for solutions, where breathing room matters */
.lv2-section-spacious { padding: 140px 0; position: relative; z-index: 1; }
@media (max-width: 768px) { .lv2-section-spacious { padding: 88px 0; } }

/* Persona / customer intro block */
.lv2-persona {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.lv2-persona .lv2-eyebrow { display: block; margin-bottom: 22px; }
.lv2-persona h2 {
    font-size: clamp(36px, 4.4vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.022em;
    color: var(--ink);
    margin: 0 0 22px;
}
.lv2-persona h2 .grad {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lv2-persona p {
    font-size: 19px;
    line-height: 1.65;
    color: var(--ink-muted);
    margin: 0;
}
.lv2-persona-meta {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.lv2-persona-meta .item {
    text-align: center;
}
.lv2-persona-meta .item .value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}
.lv2-persona-meta .item .label {
    display: block;
    font-size: 12.5px;
    color: var(--ink-muted);
    margin-top: 8px;
    font-weight: 500;
}

/* Scene number badge — used inside .lv2-thread-copy to mark journey steps */
.lv2-scene-num {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.lv2-scene-num .num {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    display: grid; place-items: center;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.01em;
    box-shadow: var(--shadow-accent-soft);
}
.lv2-scene-num .label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

/* Outcome stat cards (used inside .lv2-section-dark) */
.lv2-outcomes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 56px;
}
@media (max-width: 720px) { .lv2-outcomes { grid-template-columns: 1fr; } }
.lv2-outcome {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    text-align: left;
}
.lv2-outcome .big {
    display: block;
    font-size: clamp(40px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: -0.022em;
    line-height: 1;
    background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 14px;
}
.lv2-outcome h4 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}
.lv2-outcome p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: rgba(255,255,255,0.68);
}

/* Pull-quote card for outcomes / customer testimonial */
.lv2-pullquote {
    background: linear-gradient(135deg, rgba(99,102,241,0.10) 0%, rgba(139,92,246,0.10) 100%);
    border: 1px solid rgba(99,102,241,0.22);
    border-radius: var(--radius-xl);
    padding: 48px 56px;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}
@media (max-width: 720px) { .lv2-pullquote { padding: 32px 24px; } }
.lv2-pullquote p {
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.4;
    color: #fff;
    font-style: italic;
    font-weight: 500;
    margin: 0 0 24px;
    letter-spacing: -0.01em;
}
.lv2-pullquote .who {
    font-size: 13.5px;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.02em;
}
.lv2-pullquote .who strong { color: #fff; font-weight: 600; }

/* ============================================================
   WHY / RESOURCES / COMPANY / INTEGRATIONS — final batch
============================================================ */

/* Big-stat hero band — "millions of messages a day" confidence */
.lv2-bigstats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.20);
    backdrop-filter: blur(8px);
}
@media (max-width: 720px) { .lv2-bigstats { grid-template-columns: repeat(2, 1fr); } }
.lv2-bigstat {
    padding: 32px 28px;
    border-left: 1px solid rgba(255,255,255,0.08);
}
.lv2-bigstat:first-child { border-left: 0; }
@media (max-width: 720px) {
    .lv2-bigstat:nth-child(odd) { border-left: 0; }
    .lv2-bigstat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.08); }
}
.lv2-bigstat .num {
    display: block;
    font-size: clamp(32px, 3.6vw, 44px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1;
    background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 50%, #f0abfc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}
.lv2-bigstat .lbl {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
    line-height: 1.4;
}

/* Pillar card — used for trust pillars, reliability features */
.lv2-pillar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.lv2-pillar:hover {
    border-color: rgba(99,102,241,0.32);
    transform: translateY(-3px);
}
.lv2-pillar .ico {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--accent-gradient);
    color: #fff;
    display: grid; place-items: center;
    margin-bottom: 22px;
    box-shadow: var(--shadow-accent-soft);
}
.lv2-pillar .ico svg { width: 24px; height: 24px; }
.lv2-pillar h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.012em;
    color: var(--ink);
}
.lv2-pillar p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-muted);
}
.lv2-pillar ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.lv2-pillar ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--ink-2);
    font-size: 14px;
}
.lv2-pillar ul li::before {
    content: '';
    flex-shrink: 0;
    margin-top: 4px;
    width: 12px; height: 12px;
    border-radius: 4px;
    background: var(--accent-gradient);
    opacity: 0.85;
}

/* Pillar color variants — for splash across pages */
.lv2-pillar.is-emerald .ico { background: linear-gradient(135deg, #10b981 0%, #059669 100%); box-shadow: 0 4px 15px rgba(16,185,129,0.25); }
.lv2-pillar.is-emerald ul li::before { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.lv2-pillar.is-coral .ico { background: linear-gradient(135deg, #f97316 0%, #ef4444 100%); box-shadow: 0 4px 15px rgba(239,68,68,0.25); }
.lv2-pillar.is-coral ul li::before { background: linear-gradient(135deg, #f97316 0%, #ef4444 100%); }
.lv2-pillar.is-amber .ico { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); box-shadow: 0 4px 15px rgba(245,158,11,0.25); }
.lv2-pillar.is-amber ul li::before { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.lv2-pillar.is-pink .ico { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); box-shadow: 0 4px 15px rgba(236,72,153,0.25); }
.lv2-pillar.is-pink ul li::before { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }
.lv2-pillar.is-teal .ico { background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%); box-shadow: 0 4px 15px rgba(20,184,166,0.25); }
.lv2-pillar.is-teal ul li::before { background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%); }

/* Vertical timeline — used for changelog and about */
.lv2-timeline {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding-left: 28px;
}
.lv2-timeline::before {
    content: '';
    position: absolute;
    left: 6px; top: 8px; bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, rgba(99,102,241,0.5) 0%, rgba(99,102,241,0.1) 100%);
    border-radius: 2px;
}
.lv2-tl-item {
    position: relative;
    padding: 0 0 36px 24px;
}
.lv2-tl-item::before {
    content: '';
    position: absolute;
    left: -28px; top: 6px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 1px var(--border);
}
.lv2-tl-item:last-child { padding-bottom: 0; }
.lv2-tl-item .meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.lv2-tl-item .date {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-muted);
    letter-spacing: 0.02em;
}
.lv2-tl-item .tag {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(99,102,241,0.12);
    color: var(--accent);
}
.lv2-tl-item .tag.is-emerald { background: rgba(16,185,129,0.14); color: #047857; }
.lv2-tl-item .tag.is-amber { background: rgba(245,158,11,0.14); color: #b45309; }
.lv2-tl-item .tag.is-pink { background: rgba(236,72,153,0.14); color: #be185d; }
.lv2-tl-item h4 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.lv2-tl-item p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink-muted);
}

/* Status rows — used on /status page */
.lv2-status {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.lv2-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
}
.lv2-status-row:last-child { border-bottom: 0; }
.lv2-status-row .name { font-size: 15px; font-weight: 600; color: var(--ink); }
.lv2-status-row .sub { font-size: 13px; color: var(--ink-muted); margin-top: 2px; }
.lv2-status-row .pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    background: rgba(16,185,129,0.12);
    color: #047857;
    white-space: nowrap;
}
.lv2-status-row .pill::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.18);
    animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,0.18); }
    50% { box-shadow: 0 0 0 6px rgba(16,185,129,0.10); }
}
.lv2-status-row .pill.is-amber { background: rgba(245,158,11,0.12); color: #b45309; }
.lv2-status-row .pill.is-amber::before { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,0.18); }

/* Role/career card */
.lv2-role-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
    text-decoration: none;
    color: inherit;
}
.lv2-role-card:hover {
    border-color: rgba(99,102,241,0.32);
    transform: translateY(-2px);
}
.lv2-role-card .role-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.lv2-role-card .role-meta {
    font-size: 13.5px;
    color: var(--ink-muted);
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.lv2-role-card .role-meta span { display: inline-flex; align-items: center; gap: 5px; }
.lv2-role-card .arrow {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--accent-gradient-soft);
    color: var(--accent);
    display: grid; place-items: center;
    transition: background 0.2s var(--ease);
}
.lv2-role-card:hover .arrow { background: var(--accent-gradient); color: #fff; }
.lv2-role-card .arrow svg { width: 16px; height: 16px; }

/* Compare table */
.lv2-compare {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.lv2-compare table { width: 100%; border-collapse: collapse; }
.lv2-compare thead th {
    background: var(--bg-soft);
    padding: 20px 24px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-muted);
    border-bottom: 1px solid var(--border);
}
.lv2-compare thead th:first-child { width: 32%; }
.lv2-compare thead th.us {
    color: var(--accent);
    background: linear-gradient(180deg, rgba(99,102,241,0.06) 0%, rgba(99,102,241,0.02) 100%);
}
.lv2-compare tbody td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 14.5px;
    color: var(--ink-2);
    vertical-align: top;
}
.lv2-compare tbody td:first-child { font-weight: 600; color: var(--ink); }
.lv2-compare tbody td.us { background: linear-gradient(180deg, rgba(99,102,241,0.04) 0%, rgba(99,102,241,0.01) 100%); }
.lv2-compare tbody tr:last-child td { border-bottom: 0; }
.lv2-compare svg.yes { color: #059669; }
.lv2-compare svg.no { color: #94a3b8; }
@media (max-width: 720px) {
    .lv2-compare thead th, .lv2-compare tbody td { padding: 14px 12px; font-size: 13px; }
    .lv2-compare thead th:first-child { width: 38%; }
}

/* Integration-page hero logo */
.lv2-int-hero-logo {
    width: 96px; height: 96px;
    border-radius: 24px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: grid; place-items: center;
    padding: 18px;
    margin-bottom: 22px;
}
.lv2-int-hero-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lv2-int-hero-logo.is-light {
    background: #fff;
    border: 1px solid var(--border);
}

/* ============================================================
   TRY-AN-SMS BAND — sits between hero and BWM. Designed to be
   noticeable but not crowd the hero. One row, generous spacing.
============================================================ */
.lv2-trysms {
    padding: 56px 0 64px;
    background:
        radial-gradient(circle at 0% 50%, rgba(99,102,241,0.06) 0%, transparent 55%),
        radial-gradient(circle at 100% 50%, rgba(139,92,246,0.06) 0%, transparent 55%),
        #ffffff;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1;
}
.lv2-trysms-card {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    align-items: center;
    padding: 0 24px;
}
@media (max-width: 860px) {
    .lv2-trysms { padding: 44px 0 52px; }
    .lv2-trysms-card { grid-template-columns: 1fr; gap: 26px; text-align: center; }
}
.lv2-trysms-card .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--accent-gradient-soft);
    border: 1px solid rgba(99,102,241,0.22);
    color: var(--accent);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.lv2-trysms-card .badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.18);
    animation: pulseDot 2s ease-in-out infinite;
}
.lv2-trysms-card h2 {
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.2;
    color: var(--ink);
    margin: 0 0 8px;
}
.lv2-trysms-card p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-muted);
    max-width: 380px;
}
@media (max-width: 860px) { .lv2-trysms-card p { margin: 0 auto; } }

.lv2-trysms-form {
    display: flex;
    gap: 10px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 4px 24px rgba(15,23,42,0.06);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.lv2-trysms-form:focus-within {
    border-color: var(--accent);
    box-shadow: 0 4px 24px rgba(99,102,241,0.18);
}
.lv2-trysms-form input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
    min-width: 0;
}
.lv2-trysms-form input::placeholder { color: var(--ink-soft); }
.lv2-trysms-form button {
    background: var(--accent-gradient);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 12px 22px;
    font-weight: 600;
    font-size: 14.5px;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
    box-shadow: var(--shadow-accent-soft);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.lv2-trysms-form button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: var(--shadow-accent);
}
.lv2-trysms-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.lv2-trysms-form button svg { width: 16px; height: 16px; }
.lv2-trysms-form .spinner {
    width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: trysms-spin 0.8s linear infinite;
}
@keyframes trysms-spin { to { transform: rotate(360deg); } }

.lv2-trysms-msg {
    margin-top: 12px;
    font-size: 13.5px;
    line-height: 1.5;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.lv2-trysms-msg.is-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}
.lv2-trysms-msg.is-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}
.lv2-trysms-msg svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.lv2-trysms-msg a { color: inherit; font-weight: 700; text-decoration: underline; }
.lv2-trysms-disclaimer {
    margin-top: 10px;
    font-size: 12px;
    color: var(--ink-soft);
}

