:root {
    --ep-grad-a: #667eea;
    --ep-grad-b: #764ba2;
    --ep-ink: #0f172a;
    --ep-muted: #64748b;
    --ep-surface: #ffffff;
    --ep-surface-2: #f8fafc;
    --ep-border: rgba(15, 23, 42, 0.08);
    --ep-white: rgba(255,255,255,0.92);
    --ep-white-2: rgba(255,255,255,0.14);
}

/* =========================
   Shell (Layout / Navbar)
   ========================= */
.exo-2-logo {
    font-family: 'Exo 2', sans-serif;
    letter-spacing: 1px;
}

.ep-main {
    padding-top: 56px;
}

.ep-nav {
    background-color: var(--ep-grad-a);
}

.ep-nav-offcanvas {
    background-color: var(--ep-grad-a);
}

.ep-nav-logo {
    height: 30px;
    width: auto;
    border-radius: 6px;
}

/* Bootstrap toggler icon (scoped to Ephemr navbar only) */
.ep-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,0.9%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* =========================
   Ephemr Landing
   ========================= */
.ep-hero {
    background: radial-gradient(1200px 600px at 20% 20%, rgba(255,255,255,0.18), transparent 60%), linear-gradient(135deg, var(--ep-grad-a) 0%, var(--ep-grad-b) 100%);
    color: white;
    padding: 84px 0 56px 0;
    position: relative;
    overflow: hidden;
}

    .ep-hero::after {
        content: "";
        position: absolute;
        left: -120px;
        bottom: -140px;
        width: 420px;
        height: 420px;
        background: rgba(255,255,255,0.12);
        border-radius: 999px;
        filter: blur(2px);
    }

.ep-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.92);
    font-size: 0.95rem;
}

.ep-title {
    letter-spacing: 2px;
    font-weight: 800;
    line-height: 1.0;
    font-size: clamp(2.6rem, 5vw, 4rem);
}

.ep-lead {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.92);
    max-width: 56ch;
}

.ep-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
    color: rgba(255,255,255,0.92);
    font-size: 0.95rem;
}

.ep-btn-outline-on-hero {
    border-color: rgba(255,255,255,0.40);
    color: rgba(255,255,255,0.92);
}

    .ep-btn-outline-on-hero:hover {
        border-color: rgba(255,255,255,0.55);
        color: rgba(255,255,255,0.92);
    }

.ep-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: rgba(255,255,255,0.86);
    font-size: 0.95rem;
}

.ep-trust-item {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
    padding: 8px 10px;
    border-radius: 12px;
}

/* phone mock */
.ep-phone {
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.20);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.ep-phone-header {
    display: flex;
    gap: 8px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.14);
}

.ep-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.35);
}

.ep-phone-body {
    padding: 14px;
}

.ep-chat-card {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 18px;
    padding: 14px;
}

.ep-avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.ep-chat-title {
    font-weight: 700;
    line-height: 1.1;
}

.ep-chat-sub {
    color: rgba(255,255,255,0.72);
    font-size: 0.9rem;
}

.ep-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.16);
    color: rgba(255,255,255,0.88);
}

.ep-bubble {
    max-width: 92%;
    padding: 10px 12px;
    border-radius: 14px;
    margin-top: 10px;
    line-height: 1.35;
}

.ep-bubble-them {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.14);
}

.ep-bubble-me {
    margin-left: auto;
    background: rgba(15, 23, 42, 0.22);
    border: 1px solid rgba(255,255,255,0.14);
}

.ep-meta {
    margin-top: 6px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.72);
}

.ep-typing {
    margin-top: 12px;
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.72);
    font-size: 0.9rem;
}

.ep-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ep-mini {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px;
    padding: 12px;
    color: rgba(255,255,255,0.90);
}

    .ep-mini i {
        font-size: 1.1rem;
    }

.ep-mini-title {
    font-weight: 700;
}

.ep-mini-sub {
    color: rgba(255,255,255,0.72);
    font-size: 0.9rem;
}

/* sections */
.ep-section {
    padding: 56px 0;
    background: transparent;
}

.ep-section-alt {
    background: var(--ep-surface-2);
}

.ep-h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 800;
    color: var(--ep-ink);
}

.ep-h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ep-ink);
}

.ep-text {
    color: var(--ep-muted);
    line-height: 1.65;
    max-width: 70ch;
}

.ep-card {
    background: var(--ep-surface);
    border: 1px solid var(--ep-border);
    border-radius: 18px;
    padding: 20px;
}

.ep-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ep-step {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--ep-border);
    background: #fff;
}

.ep-step-icon {
    font-size: 1.25rem;
    line-height: 1;
    color: #4f46e5;
}

.ep-step-title {
    font-weight: 800;
    color: var(--ep-ink);
}

.ep-step-sub {
    color: var(--ep-muted);
    margin-top: 2px;
}

.ep-usecases {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ep-usecase {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--ep-border);
    background: #fff;
}

    .ep-usecase i {
        font-size: 1.15rem;
        color: #4f46e5;
        margin-top: 2px;
    }

.ep-usecase-title {
    font-weight: 800;
    color: var(--ep-ink);
}

.ep-usecase-sub {
    color: var(--ep-muted);
}

.ep-divider {
    height: 1px;
    background: rgba(15,23,42,0.08);
    margin: 16px 0;
}

.ep-fineprint {
    color: var(--ep-muted);
    font-size: 0.95rem;
}

.ep-feature {
    background: #fff;
    border: 1px solid var(--ep-border);
    border-radius: 18px;
    padding: 18px;
    height: 100%;
}

.ep-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79,70,229,0.10);
    color: #4f46e5;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.ep-feature-title {
    font-weight: 800;
    color: var(--ep-ink);
}

.ep-feature-text {
    color: var(--ep-muted);
    margin-top: 6px;
    line-height: 1.6;
}

.ep-cta {
    background: linear-gradient(135deg, rgba(102,126,234,0.10), rgba(118,75,162,0.10));
    border: 1px solid var(--ep-border);
    border-radius: 22px;
    padding: 24px;
}

.ep-cta-note {
    color: var(--ep-muted);
    font-size: 0.95rem;
}

@media (max-width: 991.98px) {
    .ep-hero {
        padding: 64px 0 44px 0;
    }

    .ep-mini-grid {
        grid-template-columns: 1fr;
    }
}
