/* =============================================================================
   LANDING SITE - shared styles for every public page using _Layout.cshtml
   (Home, About, Pricing, Contact, legal pages; nav + footer also on login/signup).

   Palette and type follow the app (sidenav.css, topbar.css, ui-modal.css,
   typography.css): indigo accent, Inter, #1a1f36 ink, #e6e8ef borders.

   - Colours/fonts come from css/theme.css (--ory-*). The --lp-* names below are
     short aliases of those tokens; change the brand in theme.css, not here.
   - Page content is scoped under .lp; nav = .lp-nav; footer = .lp-footer.
   - Pages opt in to the full-bleed hero by setting ViewData["BodyClass"] = "lp-body".
   Home-only pieces (product mock, bento) live in pages/landing-home.css.
   ============================================================================= */

:root {
    --lp-accent: var(--ory-accent);
    --lp-accent-hover: var(--ory-accent-hover);
    --lp-accent-soft: var(--ory-accent-soft);
    --lp-accent-ink: var(--ory-accent-ink);
    --lp-blue: var(--ory-blue);           /* logo blue, used in gradients */
    --lp-violet: var(--ory-violet);
    --lp-ink: var(--ory-ink);
    --lp-body: var(--ory-text);
    --lp-muted: var(--ory-muted);
    --lp-faint: var(--ory-faint);
    --lp-border: var(--ory-border);
    --lp-hairline: var(--ory-hairline);
    --lp-tint: var(--ory-canvas);
    --lp-red: var(--ory-danger);
    --lp-amber: var(--ory-warning);
    --lp-green: var(--ory-success);
    --lp-dark: var(--ory-dark);
    --lp-gradient: var(--ory-gradient);
    --lp-radius: var(--ory-radius-xl);
    --lp-radius-lg: var(--ory-radius-2xl);
    --lp-shadow-sm: var(--ory-shadow-sm);
    --lp-shadow: var(--ory-shadow);
    --lp-shadow-lg: var(--ory-shadow-lg);
    --lp-font: var(--ory-font);
}

.lp-body {
    padding-top: 0 !important;
    background: #fff;
}

.lp {
    font-family: var(--lp-font);
    color: var(--lp-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

    .lp h1, .lp h2, .lp h3, .lp h4, .lp p, .lp ul, .lp ol {
        margin: 0;
        padding: 0;
    }

    .lp ul, .lp ol {
        list-style: none;
    }

    .lp svg {
        flex-shrink: 0;
    }

.lp-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.lp-container-narrow {
    max-width: 880px;
}

/* =============================================================================
   NAV
   ============================================================================= */
.lp-nav.navbar {
    padding: .7rem 0 !important;
    background: rgba(255, 255, 255, .78) !important;
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    box-shadow: none !important;
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, background-color .2s ease;
    font-family: var(--lp-font);
}

    .lp-nav.navbar.navbar-scrolled {
        background: rgba(255, 255, 255, .9) !important;
        border-bottom-color: var(--lp-border);
    }

.lp-nav .navbar-brand img {
    max-width: 112px;
}

.lp-nav .navbar-nav .nav-item .nav-link {
    font-family: var(--lp-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--lp-body) !important;
    padding: .45rem .9rem !important;
    border-radius: 8px;
}

    .lp-nav .navbar-nav .nav-item .nav-link:hover {
        color: var(--lp-ink) !important;
        background: rgba(26, 31, 54, .04);
    }

    .lp-nav .navbar-nav .nav-item .nav-link.active {
        color: var(--lp-accent) !important;
    }

.lp-nav .btn {
    font-family: var(--lp-font);
    font-size: 14px;
    font-weight: 600;
    padding: .5rem 1rem;
    border-radius: 10px;
    box-shadow: none;
    transform: none;
    letter-spacing: 0;
    text-transform: none;
}

.lp-nav .btn-primary {
    background: var(--lp-accent);
    border-color: var(--lp-accent);
    color: #fff;
    box-shadow: 0 1px 2px rgba(var(--ory-accent-rgb), .25), inset 0 1px 0 rgba(255, 255, 255, .15);
}

    .lp-nav .btn-primary:hover,
    .lp-nav .btn-primary:focus {
        background: var(--lp-accent-hover);
        border-color: var(--lp-accent-hover);
        color: #fff;
        transform: none;
    }

.lp-nav .btn-outline-primary {
    background: transparent;
    border-color: transparent;
    color: var(--lp-ink);
}

    .lp-nav .btn-outline-primary:hover,
    .lp-nav .btn-outline-primary:focus {
        background: rgba(26, 31, 54, .05);
        border-color: transparent;
        color: var(--lp-ink);
        transform: none;
    }

@media (max-width: 991.98px) {
    .lp-nav .navbar-collapse {
        padding: 12px 0;
    }

    .lp-nav .navbar-collapse .d-flex {
        gap: 8px;
        margin-top: 8px;
    }
}

/* =============================================================================
   FOOTER
   ============================================================================= */
.lp-footer {
    position: relative;
    background: var(--lp-dark);
    color: rgba(255, 255, 255, .64);
    font-family: var(--lp-font);
    font-size: 14px;
    line-height: 1.6;
    overflow: hidden;
    isolation: isolate;
}

    .lp-footer::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: radial-gradient(ellipse 50% 80% at 0% 0%, rgba(var(--ory-accent-rgb), .22), transparent 60%);
    }

.lp-footer-main {
    display: grid;
    grid-template-columns: 1.6fr repeat(4, 1fr) 1.3fr;
    gap: 40px;
    padding: 72px 0 56px;
}

.lp-footer-brand img {
    height: 30px;
    width: auto;
    margin-bottom: 16px;
}

.lp-footer-brand p {
    max-width: 300px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, .6);
}

.lp-footer h6 {
    margin: 0 0 16px;
    font-family: var(--lp-font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
}

.lp-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-footer a {
    color: rgba(255, 255, 255, .68);
    text-decoration: none;
    transition: color .15s ease;
}

    .lp-footer a:hover {
        color: #fff;
    }

.lp-footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lp-social {
    display: flex;
    gap: 8px;
}

    .lp-social a {
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        background: rgba(255, 255, 255, .06);
        border: 1px solid rgba(255, 255, 255, .08);
        font-size: 15px;
    }

        .lp-social a:hover {
            background: rgba(255, 255, 255, .12);
        }

.lp-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 13px;
    color: rgba(255, 255, 255, .45);
}

@media (max-width: 991.98px) {
    .lp-footer-main {
        grid-template-columns: repeat(3, 1fr);
    }

    .lp-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .lp-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
        padding: 56px 0 40px;
    }

    .lp-footer-contact {
        grid-column: 1 / -1;
    }

    .lp-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* =============================================================================
   BUTTONS
   ============================================================================= */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--lp-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid transparent;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}

    .lp-btn:focus-visible {
        outline: none;
        box-shadow: 0 0 0 3px rgba(var(--ory-accent-rgb), .3);
    }

    .lp-btn svg {
        transition: transform .15s ease;
    }

    .lp-btn:hover svg {
        transform: translateX(2px);
    }

    .lp-btn:disabled,
    .lp-btn.disabled {
        opacity: .6;
        pointer-events: none;
    }

.lp-btn-lg {
    font-size: 15px;
    padding: 14px 22px;
    border-radius: 12px;
}

.lp-btn-block {
    width: 100%;
}

.lp-btn-primary {
    background: var(--lp-accent);
    color: #fff !important;
    box-shadow: 0 1px 2px rgba(var(--ory-accent-rgb), .3), 0 6px 18px rgba(var(--ory-accent-rgb), .28), inset 0 1px 0 rgba(255, 255, 255, .18);
}

    .lp-btn-primary:hover {
        background: var(--lp-accent-hover);
        transform: translateY(-1px);
        box-shadow: 0 1px 2px rgba(var(--ory-accent-rgb), .3), 0 10px 24px rgba(var(--ory-accent-rgb), .34), inset 0 1px 0 rgba(255, 255, 255, .18);
    }

.lp-btn-ghost {
    background: #fff;
    color: var(--lp-ink) !important;
    border-color: var(--lp-border);
    box-shadow: var(--lp-shadow-sm);
}

    .lp-btn-ghost:hover {
        border-color: #cfd3df;
        background: #fbfbfd;
    }

.lp-btn-light {
    background: #fff;
    color: var(--lp-ink) !important;
}

    .lp-btn-light:hover {
        background: #eef0ff;
        transform: translateY(-1px);
    }

.lp-btn-outline-light {
    background: rgba(255, 255, 255, .06);
    color: #fff !important;
    border-color: rgba(255, 255, 255, .28);
}

    .lp-btn-outline-light:hover {
        background: rgba(255, 255, 255, .12);
        border-color: rgba(255, 255, 255, .5);
    }

/* =============================================================================
   TYPE & SMALL PIECES
   ============================================================================= */
.lp-overline {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--lp-accent);
    margin-bottom: 14px;
}

    .lp-overline.is-light {
        color: #a5b4fc;
    }

.lp-h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--lp-ink);
}

.lp-lead {
    margin-top: 16px !important;
    font-size: 18px;
    line-height: 1.6;
    color: var(--lp-muted);
}

.lp-head {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

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

.lp-chip {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    line-height: 1.4;
    white-space: nowrap;
}

    .lp-chip.is-accent {
        background: var(--lp-accent-soft);
        color: var(--lp-accent-ink);
    }

    .lp-chip.is-muted {
        background: var(--lp-hairline);
        color: var(--lp-muted);
    }

.lp-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--lp-accent);
    background: var(--lp-accent-soft);
}

/* =============================================================================
   SECTIONS
   ============================================================================= */
.lp-section {
    padding: 112px 0;
}

.lp-section-tight {
    padding: 24px 0 112px;
}

.lp-section-tint {
    background: var(--lp-tint);
    border-top: 1px solid var(--lp-hairline);
    border-bottom: 1px solid var(--lp-hairline);
}

/* =============================================================================
   HERO (home) + PAGE HERO (inner pages) - shared background & type
   ============================================================================= */
.lp-hero,
.lp-page-hero {
    position: relative;
    isolation: isolate;
}

.lp-hero {
    padding: 168px 0 96px;
}

.lp-page-hero {
    padding: 160px 0 72px;
    text-align: center;
}

.lp-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.lp-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(var(--ory-accent-rgb), .07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(var(--ory-accent-rgb), .07) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 30%, transparent 75%);
}

.lp-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .55;
}

.lp-glow-a {
    width: 620px;
    height: 620px;
    left: 50%;
    top: -260px;
    transform: translateX(-75%);
    background: radial-gradient(circle, rgba(99, 102, 241, .55), transparent 65%);
}

.lp-glow-b {
    width: 560px;
    height: 560px;
    left: 50%;
    top: -180px;
    transform: translateX(10%);
    background: radial-gradient(circle, rgba(37, 99, 235, .42), transparent 65%);
}

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 14px 5px 5px;
    margin-bottom: 28px;
    font-size: 13px;
    font-weight: 500;
    color: var(--lp-body) !important;
    background: rgba(255, 255, 255, .8);
    border: 1px solid var(--lp-border);
    border-radius: 999px;
    box-shadow: var(--lp-shadow-sm);
    text-decoration: none !important;
    transition: border-color .15s ease, box-shadow .15s ease;
}

a.lp-eyebrow:hover {
    border-color: #c7cbf8;
    box-shadow: 0 0 0 4px rgba(var(--ory-accent-rgb), .08);
}

.lp-eyebrow-tag {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--lp-gradient);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.lp-hero-title {
    font-size: clamp(40px, 6.6vw, 76px);
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -.045em;
    color: var(--lp-ink);
    text-wrap: balance;
}

.lp-page-title {
    max-width: 860px;
    margin: 0 auto !important;
    font-size: clamp(36px, 5.2vw, 60px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -.04em;
    color: var(--lp-ink);
    text-wrap: balance;
}

.lp-hero-sub {
    max-width: 640px;
    margin: 24px auto 0 !important;
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.55;
    color: var(--lp-muted);
    text-wrap: pretty;
}

.lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
}

.lp-hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin-top: 24px !important;
    font-size: 14px;
    color: var(--lp-muted);
}

    .lp-hero-meta li {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .lp-hero-meta svg {
        color: var(--lp-green);
    }

/* =============================================================================
   STATEMENT (dark band)
   ============================================================================= */
.lp-statement {
    position: relative;
    padding: 128px 0;
    background: var(--lp-dark);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.lp-statement-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 60% 70% at 15% 0%, rgba(var(--ory-accent-rgb), .45), transparent 60%),
        radial-gradient(ellipse 50% 60% at 90% 100%, rgba(37, 99, 235, .35), transparent 60%);
}

    .lp-statement-bg::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
            linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
        background-size: 56px 56px;
        -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent 80%);
        mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent 80%);
    }

.lp-statement-inner {
    max-width: 920px;
    text-align: center;
}

.lp-statement-quote {
    font-size: clamp(28px, 3.8vw, 44px);
    line-height: 1.18;
    font-weight: 600;
    letter-spacing: -.03em;
    color: #fff;
    text-wrap: balance;
}

.lp-statement-sub {
    max-width: 640px;
    margin: 24px auto 0 !important;
    font-size: 18px;
    color: rgba(255, 255, 255, .68);
}

/* =============================================================================
   PRICING CARDS (home + pricing page)
   ============================================================================= */
.lp-pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.lp-plan {
    display: flex;
    flex-direction: column;
    padding: 32px;
    border-radius: var(--lp-radius-lg);
    background: #fff;
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow-sm);
}

    .lp-plan.is-featured {
        background:
            linear-gradient(#fff, #fff) padding-box,
            var(--lp-gradient) border-box;
        border: 1.5px solid transparent;
        box-shadow: 0 24px 60px rgba(var(--ory-accent-rgb), .18);
    }

.lp-plan-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 28px;
}

    .lp-plan-top h3 {
        font-size: 18px;
        font-weight: 600;
        color: var(--lp-ink);
    }

.lp-plan-desc {
    margin-top: 6px !important;
    font-size: 14px;
    color: var(--lp-muted);
}

.lp-plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 24px 0;
}

.lp-amount {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1;
    color: var(--lp-ink);
}

.lp-per {
    font-size: 15px;
    color: var(--lp-muted);
}

.lp-plan-list {
    margin-top: 28px !important;
    padding-top: 24px !important;
    border-top: 1px solid var(--lp-hairline);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .lp-plan-list li {
        position: relative;
        padding-left: 28px;
        font-size: 14px;
        line-height: 1.5;
        color: var(--lp-body);
    }

        .lp-plan-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 1px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--lp-accent-soft);
        }

        .lp-plan-list li::after {
            content: "";
            position: absolute;
            left: 6.5px;
            top: 5px;
            width: 5px;
            height: 9px;
            border: solid var(--lp-accent);
            border-width: 0 1.8px 1.8px 0;
            transform: rotate(45deg);
        }

        .lp-plan-list li.is-strong {
            padding-left: 0;
            font-weight: 600;
            color: var(--lp-ink);
        }

            .lp-plan-list li.is-strong::before,
            .lp-plan-list li.is-strong::after {
                display: none;
            }

.lp-pricing-foot {
    margin-top: 32px !important;
    text-align: center;
}

    .lp-pricing-foot a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 15px;
        font-weight: 600;
        color: var(--lp-accent);
        text-decoration: none;
    }

        .lp-pricing-foot a:hover {
            color: var(--lp-accent-hover);
        }

/* =============================================================================
   FINAL CTA
   ============================================================================= */
.lp-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 64px;
    border-radius: 28px;
    background: var(--lp-dark);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.lp-cta-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 70% 120% at 100% 0%, rgba(124, 58, 237, .55), transparent 55%),
        radial-gradient(ellipse 70% 120% at 0% 100%, rgba(37, 99, 235, .55), transparent 55%),
        linear-gradient(120deg, #1e1b4b, #312e81);
}

.lp-cta-copy {
    max-width: 560px;
}

    .lp-cta-copy h2 {
        font-size: clamp(28px, 3.4vw, 40px);
        line-height: 1.12;
        font-weight: 700;
        letter-spacing: -.03em;
        color: #fff;
    }

    .lp-cta-copy p {
        margin-top: 14px !important;
        font-size: 18px;
        color: rgba(255, 255, 255, .72);
    }

.lp-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}

/* =============================================================================
   CARDS (About: use cases, industries)
   ============================================================================= */
.lp-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

    .lp-cards.is-4 {
        grid-template-columns: repeat(4, 1fr);
    }

.lp-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: var(--lp-radius-lg);
    background: #fff;
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow-sm);
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}

    .lp-card:hover {
        border-color: #d6d9e6;
        box-shadow: var(--lp-shadow);
        transform: translateY(-2px);
    }

    .lp-card h3 {
        margin: 18px 0 6px !important;
        font-size: 18px;
        font-weight: 600;
        letter-spacing: -.01em;
        color: var(--lp-ink);
    }

    .lp-card > p {
        font-size: 15px;
        line-height: 1.55;
        color: var(--lp-muted);
    }

.lp-card.is-cta {
    justify-content: center;
    background: var(--lp-tint);
}

    .lp-card.is-cta h3 {
        margin-top: 0 !important;
    }

.lp-card-action {
    margin-top: 20px;
}

.lp-band .lp-overline {
    margin-bottom: 8px;
}

.lp-checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px !important;
}

    .lp-checklist li {
        position: relative;
        padding-left: 24px;
        font-size: 14px;
        line-height: 1.5;
        color: var(--lp-body);
    }

        .lp-checklist li::before {
            content: "";
            position: absolute;
            left: 3px;
            top: 4px;
            width: 5px;
            height: 10px;
            border: solid var(--lp-accent);
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

/* Industry tiles (gradient, icon-led) */
.lp-industry {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 28px;
    border-radius: var(--lp-radius-lg);
    background: var(--lp-dark);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .lp-industry::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background:
            radial-gradient(ellipse 90% 70% at 100% 0%, var(--lp-industry-glow, rgba(var(--ory-accent-rgb), .6)), transparent 60%),
            linear-gradient(160deg, #1b1f3b, #0d1024);
    }

    .lp-industry::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background-image:
            linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
            linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
        background-size: 28px 28px;
        -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
        mask-image: linear-gradient(to bottom, #000, transparent 70%);
    }

    .lp-industry:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 40px rgba(13, 16, 36, .25);
    }

    .lp-industry .lp-icon {
        color: #fff;
        background: rgba(255, 255, 255, .1);
        border: 1px solid rgba(255, 255, 255, .14);
    }

    .lp-industry-label {
        margin-top: auto;
        padding-top: 32px;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, .6);
    }

    .lp-industry h3, .lp-industry h2.h3 {
        margin-top: 8px !important;
        font-size: 19px;
        line-height: 1.35;
        font-weight: 600;
        letter-spacing: -.01em;
        color: #fff;
    }

    .lp-industry.is-green { --lp-industry-glow: rgba(18, 161, 80, .5); }
    .lp-industry.is-amber { --lp-industry-glow: rgba(245, 158, 11, .45); }
    .lp-industry.is-blue { --lp-industry-glow: rgba(37, 99, 235, .6); }

/* =============================================================================
   TIMELINE (About: how it works)
   ============================================================================= */
.lp .lp-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

    .lp-timeline::before {
        content: "";
        position: absolute;
        left: 27px;
        top: 28px;
        bottom: 28px;
        width: 2px;
        background: repeating-linear-gradient(180deg, #c7cbf8 0 6px, transparent 6px 12px);
    }

.lp-tl-item {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 24px;
}

.lp-tl-num {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    color: var(--lp-accent);
    background: #fff;
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow);
}

.lp-tl-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 32px;
    padding: 28px;
    border-radius: var(--lp-radius-lg);
    background: #fff;
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow-sm);
}

    .lp-tl-body h3 {
        font-size: 19px;
        font-weight: 600;
        letter-spacing: -.01em;
        color: var(--lp-ink);
    }

    .lp-tl-body p {
        margin-top: 6px !important;
        font-size: 15px;
        color: var(--lp-muted);
    }

    .lp-tl-body .lp-checklist {
        margin-top: 0 !important;
        padding-left: 32px !important;
        border-left: 1px solid var(--lp-hairline);
    }

/* =============================================================================
   NEWSLETTER BAND
   ============================================================================= */
.lp-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 48px;
    border-radius: 24px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        var(--lp-gradient) border-box;
    border: 1.5px solid transparent;
    box-shadow: 0 20px 50px rgba(var(--ory-accent-rgb), .1);
}

    .lp-band h2 {
        font-size: clamp(22px, 2.4vw, 28px);
        line-height: 1.2;
        font-weight: 700;
        letter-spacing: -.02em;
        color: var(--lp-ink);
    }

    .lp-band p {
        margin-top: 8px !important;
        max-width: 620px;
        font-size: 15px;
        color: var(--lp-muted);
    }

/* =============================================================================
   PRICING PAGE: comparison table + FAQ
   ============================================================================= */
.lp-table-wrap {
    border-radius: var(--lp-radius-lg);
    border: 1px solid var(--lp-border);
    background: #fff;
    box-shadow: var(--lp-shadow-sm);
    overflow-x: auto;
}

.lp-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 14px;
}

    .lp-table th,
    .lp-table td {
        padding: 14px 20px;
        border-bottom: 1px solid var(--lp-hairline);
        text-align: center;
        vertical-align: middle;
    }

        .lp-table th:first-child,
        .lp-table td:first-child {
            text-align: left;
            color: var(--lp-body);
        }

    .lp-table thead th {
        position: sticky;
        top: 0;
        background: #fff;
        font-size: 15px;
        font-weight: 600;
        color: var(--lp-ink);
        border-bottom: 1px solid var(--lp-border);
    }

        .lp-table thead th.is-featured {
            color: var(--lp-accent);
        }

    .lp-table td.is-featured,
    .lp-table th.is-featured {
        background: #fafaff;
    }

    .lp-table tbody tr:last-child td {
        border-bottom: 0;
    }

    .lp-table .lp-group td {
        padding-top: 22px;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--lp-faint);
        background: #fff;
    }

.lp-yes,
.lp-no {
    display: inline-block;
    position: relative;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    vertical-align: middle;
}

.lp-yes {
    background: var(--lp-accent-soft);
}

    .lp-yes::after {
        content: "";
        position: absolute;
        left: 8px;
        top: 5px;
        width: 6px;
        height: 10px;
        border: solid var(--lp-accent);
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

.lp-no::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 10px;
    width: 10px;
    height: 2px;
    border-radius: 2px;
    background: #c1c7d3;
}

.lp-faq {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .lp-faq details {
        border-radius: var(--lp-radius);
        border: 1px solid var(--lp-border);
        background: #fff;
        transition: border-color .15s ease, box-shadow .15s ease;
    }

        .lp-faq details[open] {
            border-color: #c7cbf8;
            box-shadow: var(--lp-shadow);
        }

    .lp-faq summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 20px 24px;
        font-size: 16px;
        font-weight: 600;
        color: var(--lp-ink);
        cursor: pointer;
        list-style: none;
    }

        .lp-faq summary::-webkit-details-marker {
            display: none;
        }

        .lp-faq summary::after {
            content: "";
            width: 10px;
            height: 10px;
            flex: 0 0 10px;
            border: solid var(--lp-muted);
            border-width: 0 2px 2px 0;
            transform: rotate(45deg) translateY(-3px);
            transition: transform .2s ease;
        }

    .lp-faq details[open] summary::after {
        transform: rotate(-135deg) translateY(-3px);
    }

    .lp-faq details p {
        padding: 0 24px 22px !important;
        font-size: 15px;
        line-height: 1.65;
        color: var(--lp-muted);
    }

/* =============================================================================
   CONTACT PAGE
   ============================================================================= */
.lp-contact {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 24px;
    align-items: start;
}

.lp-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lp-info {
    display: flex;
    gap: 16px;
    padding: 24px;
    border-radius: var(--lp-radius-lg);
    background: #fff;
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow-sm);
}

    .lp-info h3 {
        font-size: 16px;
        font-weight: 600;
        color: var(--lp-ink);
    }

    .lp-info p {
        margin-top: 4px !important;
        font-size: 14px;
        line-height: 1.6;
        color: var(--lp-muted);
    }

    .lp-info a {
        color: var(--lp-accent);
        font-weight: 500;
        text-decoration: none;
    }

        .lp-info a:hover {
            text-decoration: underline;
        }

/* The shared contact form partial, restyled inside the contact page card */
.lp-form-card {
    padding: 12px 16px 8px;
    border-radius: var(--lp-radius-lg);
    background: #fff;
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow);
}

    .lp-form-card .contactus-page-form {
        background: none;
        box-shadow: none;
        border: 0;
        padding: 0;
        margin: 0;
        max-width: none;
    }

        .lp-form-card .contactus-page-form::before,
        .lp-form-card .contactus-page-form::after {
            content: none;
        }

    .lp-form-card .contact-card-body {
        max-width: none;
    }

    .lp-form-card .section-title {
        font-family: var(--lp-font);
        font-size: 22px;
        font-weight: 700;
        letter-spacing: -.02em;
        color: var(--lp-ink) !important;
    }

    .lp-form-card .text-center {
        text-align: left !important;
        padding-left: 1rem;
    }

    .lp-form-card .text-muted {
        color: var(--lp-muted) !important;
        font-size: 15px;
    }

    .lp-form-card .form-control-label {
        font-size: 13px;
        font-weight: 500;
        color: var(--lp-body);
        margin-bottom: 6px;
    }

    .lp-form-card .form-control {
        height: auto;
        padding: 11px 14px;
        font-family: var(--lp-font);
        font-size: 14px;
        color: var(--lp-ink);
        background: #fff;
        border: 1px solid var(--lp-border);
        border-radius: 10px;
        box-shadow: none;
        transition: border-color .15s ease, box-shadow .15s ease;
    }

        .lp-form-card .form-control:focus {
            border-color: #a5abf3;
            box-shadow: 0 0 0 3px rgba(var(--ory-accent-rgb), .12);
        }

        .lp-form-card .form-control::placeholder {
            color: var(--lp-faint);
        }

    .lp-form-card .btn-primary {
        font-family: var(--lp-font);
        font-size: 14px;
        font-weight: 600;
        text-transform: none;
        letter-spacing: 0;
        padding: 12px 22px !important;
        border-radius: 10px;
        background: var(--lp-accent);
        border-color: var(--lp-accent);
        box-shadow: 0 1px 2px rgba(var(--ory-accent-rgb), .3), 0 6px 18px rgba(var(--ory-accent-rgb), .25);
    }

        .lp-form-card .btn-primary:hover {
            background: var(--lp-accent-hover);
            border-color: var(--lp-accent-hover);
        }

/* =============================================================================
   LEGAL PAGES (Privacy / Terms / Cookies) - restyles the existing markup
   ============================================================================= */
.lp-legal .privacy-banner {
    position: relative;
    isolation: isolate;
    padding: 160px 0 56px !important;
    background: transparent;
    text-align: center;
    font-family: var(--lp-font);
}

    .lp-legal .privacy-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background:
            radial-gradient(ellipse 50% 70% at 30% 0%, rgba(99, 102, 241, .22), transparent 70%),
            radial-gradient(ellipse 45% 60% at 75% 0%, rgba(37, 99, 235, .16), transparent 70%);
    }

.lp-legal .privacy-banner-inner {
    max-width: 760px;
    margin: 0 auto;
}

    .lp-legal .privacy-banner-inner h1 {
        margin-bottom: 14px;
        font-family: var(--lp-font);
        font-size: clamp(36px, 5vw, 56px);
        line-height: 1.05;
        font-weight: 700;
        letter-spacing: -.04em;
        color: var(--lp-ink) !important;
    }

    .lp-legal .privacy-banner-inner p {
        font-size: 16px;
        line-height: 1.65;
        color: var(--lp-muted);
    }

    .lp-legal .privacy-banner-inner .updated-date {
        display: inline-block;
        margin-bottom: 20px;
        padding: 4px 12px;
        font-size: 13px;
        border-radius: 999px;
        background: var(--lp-accent-soft);
        color: var(--lp-accent-ink);
    }

        .lp-legal .privacy-banner-inner .updated-date strong {
            font-weight: 600;
        }

.lp-legal .privacy-content-outer {
    background: var(--lp-tint);
    background-image: none;
    border-top: 1px solid var(--lp-hairline);
    font-family: var(--lp-font);
}

.lp-legal .privacy-layout {
    max-width: 1200px;
    padding: 56px 24px 96px;
    grid-template-columns: 260px 1fr;
    gap: 32px;
}

.lp-legal .sidebar-inner {
    padding: 20px;
    border-radius: var(--lp-radius-lg);
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow-sm);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.lp-legal .sidebar-title {
    gap: 8px;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--lp-accent);
}

    .lp-legal .sidebar-title svg {
        width: 16px;
        height: 16px;
    }

.lp-legal .privacy-sidebar nav {
    gap: 2px;
}

    .lp-legal .privacy-sidebar nav a {
        gap: 10px;
        padding: 7px 10px;
        border-radius: 8px;
        font-size: 13px;
        color: var(--lp-body);
    }

        .lp-legal .privacy-sidebar nav a span {
            min-width: 20px;
            margin-top: 1px;
            font-size: 11px;
            color: var(--lp-faint);
        }

        .lp-legal .privacy-sidebar nav a:hover {
            transform: none;
            color: var(--lp-ink);
            background: var(--lp-tint);
        }

        .lp-legal .privacy-sidebar nav a.is-active {
            color: var(--lp-accent-ink);
            background: var(--lp-accent-soft);
        }

            .lp-legal .privacy-sidebar nav a.is-active span {
                color: var(--lp-accent);
            }

.lp-legal .privacy-content {
    gap: 16px;
}

.lp-legal .policy-card {
    padding: 32px;
    border-radius: var(--lp-radius-lg);
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow-sm);
    scroll-margin-top: 96px;
}

    .lp-legal .policy-card .card-header {
        display: flex;
        gap: 16px;
        padding: 0 0 20px;
        margin-bottom: 20px;
        background: transparent;
        border-bottom: 1px solid var(--lp-hairline);
    }

.lp-legal .privacy-content-outer .icon-box {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    color: var(--lp-accent);
    background: var(--lp-accent-soft);
    box-shadow: none;
}

    .lp-legal .privacy-content-outer .icon-box svg {
        width: 20px;
        height: 20px;
    }

.lp-legal .privacy-content-outer .section-label {
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--lp-faint);
}

.lp-legal .policy-card h2 {
    font-family: var(--lp-font);
    font-size: 22px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--lp-ink);
}

.lp-legal .policy-card h3 {
    margin: 20px 0 8px;
    font-family: var(--lp-font);
    font-size: 17px;
    font-weight: 600;
    color: var(--lp-ink);
}

.lp-legal .policy-card p,
.lp-legal .policy-card li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--lp-body);
}

.lp-legal .policy-card a {
    color: var(--lp-accent);
    font-weight: 500;
}

.lp-legal .policy-card ul {
    padding-left: 20px;
}

.lp-legal .two-column-list {
    gap: 8px 40px;
    margin-top: 12px;
}

    .lp-legal .two-column-list li {
        color: var(--lp-body);
    }

/* Tables (cookie list, service providers) - scroll inside the card on phones */
.lp-legal .policy-table-wrap {
    margin: 12px 0 16px;
    overflow-x: auto;
    border: 1px solid var(--lp-border);
    border-radius: var(--ory-radius-lg);
}

.lp-legal .policy-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.55;
}

    .lp-legal .policy-table th,
    .lp-legal .policy-table td {
        padding: 10px 14px;
        text-align: left;
        vertical-align: top;
        border-bottom: 1px solid var(--lp-hairline);
        color: var(--lp-body);
    }

    .lp-legal .policy-table th {
        background: var(--lp-tint);
        font-weight: 600;
        color: var(--lp-ink);
        white-space: nowrap;
    }

    .lp-legal .policy-table tr:last-child td {
        border-bottom: 0;
    }

    .lp-legal .policy-table code {
        font-family: var(--ory-font-mono);
        font-size: 12.5px;
        color: var(--lp-ink);
        word-break: break-word;
    }

/* Callout for key consumer-law / summary notices */
.lp-legal .policy-note {
    margin: 16px 0;
    padding: 14px 16px;
    border-left: 3px solid var(--lp-accent);
    border-radius: var(--ory-radius);
    background: var(--lp-accent-soft);
}

    .lp-legal .policy-note p:last-child {
        margin-bottom: 0;
    }

@media (max-width: 991.98px) {
    .lp-legal .privacy-layout {
        grid-template-columns: 1fr;
        padding-top: 32px;
    }

    .lp-legal .privacy-sidebar {
        position: relative;
        top: 0;
    }

    .lp-legal .sidebar-inner {
        max-height: none;
    }

    .lp-legal .privacy-banner {
        padding: 128px 0 40px !important;
    }
}

@media (max-width: 767.98px) {
    .lp-legal .privacy-layout {
        padding: 24px 16px 64px;
    }

    .lp-legal .policy-card {
        padding: 22px;
    }

    .lp-legal .privacy-banner {
        padding: 112px 16px 32px !important;
    }
}

/* =============================================================================
   SCROLL REVEAL (only when JS adds .lp-anim)
   ============================================================================= */
.lp-anim .lp-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}

    .lp-anim .lp-reveal.is-visible {
        opacity: 1;
        transform: none;
    }

.lp-anim .lp-stagger > .lp-reveal:nth-child(2) { transition-delay: .07s; }
.lp-anim .lp-stagger > .lp-reveal:nth-child(3) { transition-delay: .14s; }
.lp-anim .lp-stagger > .lp-reveal:nth-child(4) { transition-delay: .21s; }
.lp-anim .lp-stagger > .lp-reveal:nth-child(5) { transition-delay: .28s; }
.lp-anim .lp-stagger > .lp-reveal:nth-child(6) { transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
    .lp-btn, .lp-card, .lp-industry {
        transition: none;
    }
}

/* =============================================================================
   RESPONSIVE (shared)
   ============================================================================= */
@media (max-width: 991.98px) {
    .lp-section { padding: 88px 0; }
    .lp-hero { padding: 136px 0 72px; }
    .lp-page-hero { padding: 136px 0 56px; }

    .lp-pricing {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .lp-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 48px 36px;
    }

    .lp-cards, .lp-cards.is-4 { grid-template-columns: repeat(2, 1fr); }

    .lp-tl-body { grid-template-columns: 1fr; }
    .lp-tl-body .lp-checklist {
        margin-top: 12px !important;
        padding: 16px 0 0 !important;
        border-left: 0;
        border-top: 1px solid var(--lp-hairline);
    }

    .lp-band {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px;
    }

    .lp-contact { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
    .lp-container { padding: 0 16px; }
    .lp-section { padding: 72px 0; }
    .lp-section-tight { padding: 8px 0 72px; }
    .lp-head { margin-bottom: 40px; }
    .lp-lead { font-size: 16px; }

    .lp-hero { padding: 120px 0 56px; }
    .lp-page-hero { padding: 112px 0 40px; }
    .lp-hero-actions .lp-btn { flex: 1 1 100%; }

    .lp-eyebrow { gap: 8px; font-size: 12px; white-space: nowrap; padding-right: 12px; }
    .lp-eyebrow-tag { font-size: 11px; padding: 3px 8px; }
    .lp-eyebrow > svg { display: none; }

    .lp-statement { padding: 88px 0; }

    .lp-plan { padding: 24px; }

    .lp-cta { padding: 36px 22px; border-radius: 22px; }
    .lp-cta-actions { width: 100%; }
    .lp-cta-actions .lp-btn { flex: 1 1 100%; }

    .lp-cards, .lp-cards.is-4 { grid-template-columns: 1fr; }
    .lp-card { padding: 22px; }
    .lp-industry { min-height: 200px; }

    .lp-timeline::before { left: 19px; }
    .lp-tl-item { grid-template-columns: 40px 1fr; gap: 14px; }
    .lp-tl-num { width: 40px; height: 40px; border-radius: 12px; font-size: 14px; }
    .lp-tl-body { padding: 22px; }

    .lp-band { padding: 26px 22px; }
    .lp-band .lp-btn { width: 100%; }

    .lp-info { padding: 20px; }
    .lp-form-card { padding: 4px 4px 0; }

    .lp-table { min-width: 0; font-size: 13px; }
    .lp-table th, .lp-table td { padding: 12px 6px; }
    .lp-table th:first-child, .lp-table td:first-child { padding-left: 14px; }
    .lp-table th:not(:first-child), .lp-table td:not(:first-child) { width: 64px; }
    .lp-table thead th { font-size: 12px; }
    .lp-table .lp-chip { font-size: 10px; padding: 3px 6px; white-space: normal; text-align: center; }
}

/* =============================================================================
   ILLUSTRATIONS (Views/Shared/_Illustration.cshtml)
   Every fill/stroke maps to a theme token, so a brand change recolours them.
   ============================================================================= */
.ill {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

    .ill .i-surface { fill: var(--ory-surface); }
    .ill .i-canvas { fill: var(--ory-canvas); }
    .ill .i-hair { fill: var(--ory-hairline); }
    .ill .i-border { fill: var(--ory-border); }
    .ill .i-ink { fill: var(--ory-ink); }
    .ill .i-accent { fill: var(--ory-accent); }
    .ill .i-soft { fill: var(--ory-accent-soft); }
    .ill .i-soft-2 { fill: var(--ory-accent-border); }
    .ill .i-ok { fill: var(--ory-success); }
    .ill .i-ok-soft { fill: var(--ory-success-soft); }
    .ill .i-warn { fill: var(--ory-warning); }
    .ill .i-bad { fill: var(--ory-danger); }
    .ill .i-shadow { fill: rgba(26, 31, 54, .08); }

    .ill .i-card { stroke: var(--ory-border); stroke-width: 1.5; }
    .ill .i-card-accent { stroke: var(--ory-accent-border); stroke-width: 1.5; }
    .ill .i-card-ok { stroke: var(--ory-success); stroke-width: 1.2; stroke-opacity: .5; }
    .ill .i-glass { fill-opacity: .94; }
    .ill .i-faint { opacity: .55; }
    .ill .i-faint-fill { fill-opacity: .55; }
    .ill .i-lift { filter: drop-shadow(0 8px 14px rgba(26, 31, 54, .10)); }

    .ill .i-line {
        fill: none;
        stroke: var(--ory-border-strong);
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

        .ill .i-line.is-accent { stroke: var(--ory-accent); }
        .ill .i-line.is-ink { stroke: var(--ory-ink); }
        .ill .i-line.is-white { stroke: #fff; }
        .ill .i-line.i-thin { stroke-width: 1.6; }
        .ill .i-dash { stroke-dasharray: 3 6; }
        .ill .i-line.i-hair-stroke { stroke-width: .55; }

    .ill .i-road { fill: none; stroke: var(--ory-surface); stroke-width: 7; }
    .ill .i-road-sm { fill: none; stroke: var(--ory-surface); stroke-width: 4; }

    .ill .i-placeholder {
        fill: var(--ory-accent-soft);
        stroke: var(--ory-accent-border);
        stroke-width: 1.5;
        stroke-dasharray: 4 4;
    }

    .ill .i-ring-track { fill: none; stroke: var(--ory-hairline); stroke-width: 5; }
    .ill .i-ring-ok {
        fill: none;
        stroke: var(--ory-success);
        stroke-width: 5;
        stroke-linecap: round;
        stroke-dasharray: 66 95;
    }

    .ill .i-pulse {
        fill: rgba(var(--ory-accent-rgb), .12);
        transform-box: fill-box;
        transform-origin: center;
        animation: ill-pulse 2.6s ease-out infinite;
    }

@keyframes ill-pulse {
    0% { transform: scale(.6); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Line art on dark tiles */
.ill-dark .i-line {
    stroke: rgba(255, 255, 255, .26);
    stroke-width: 2;
}

@media (prefers-reduced-motion: reduce) {
    .ill .i-pulse { animation: none; opacity: .6; }
}

/* ---------- Placements ---------- */
.lp-tl-body.has-art {
    grid-template-columns: 150px 1fr 1fr;
    align-items: center;
}

.lp-tl-art {
    width: 150px;
    padding: 10px;
    border-radius: var(--ory-radius-lg);
    background: var(--ory-canvas);
}

.lp-industry-art {
    position: absolute;
    top: 14px;
    right: 10px;
    width: 128px;
    pointer-events: none;
}

.lp-page-hero.is-split {
    text-align: left;
}

    .lp-page-hero.is-split .lp-split {
        display: grid;
        grid-template-columns: 1.05fr .95fr;
        gap: 48px;
        align-items: center;
    }

    .lp-page-hero.is-split .lp-page-title,
    .lp-page-hero.is-split .lp-hero-sub {
        margin-left: 0 !important;
    }

    .lp-page-hero.is-split .lp-hero-actions {
        justify-content: flex-start;
    }

@media (max-width: 991.98px) {
    .lp-tl-body.has-art { grid-template-columns: 1fr; }
    .lp-tl-art { width: 140px; }

    .lp-page-hero.is-split { text-align: center; }
    .lp-page-hero.is-split .lp-split { grid-template-columns: 1fr; gap: 32px; }
    .lp-page-hero.is-split .lp-page-title,
    .lp-page-hero.is-split .lp-hero-sub { margin-left: auto !important; }
    .lp-page-hero.is-split .lp-hero-actions { justify-content: center; }
    .lp-page-hero.is-split .lp-split-art { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 767.98px) {    .lp-industry-art { width: 96px; }
}

/* =============================================================================
   AUTH (Login, Sign up, Reset / Update password, Email confirmation, etc.)
   Split screen: form on the left, brand panel on the right (Views/Shared/_AuthAside).
   The page scripts rely on ids, .field-error / .visible and fa-eye icons - keep them.
   ============================================================================= */
.auth-body {
    background: var(--ory-surface);
}

.auth {
    position: relative;
    min-height: 100vh;
    padding-top: 64px;
    font-family: var(--ory-font);
    color: var(--ory-text);
    background: var(--ory-canvas);
    isolation: isolate;
    overflow: hidden;
}

    .auth::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background-image:
            linear-gradient(to right, rgba(var(--ory-accent-rgb), .07) 1px, transparent 1px),
            linear-gradient(to bottom, rgba(var(--ory-accent-rgb), .07) 1px, transparent 1px);
        background-size: 56px 56px;
        -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 20%, transparent 75%);
        mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 20%, transparent 75%);
    }

    .auth::after {
        content: "";
        position: absolute;
        left: 50%;
        top: -220px;
        z-index: -1;
        width: 900px;
        height: 560px;
        transform: translateX(-50%);
        background:
            radial-gradient(closest-side at 35% 50%, rgba(99, 102, 241, .28), transparent),
            radial-gradient(closest-side at 65% 50%, rgba(37, 99, 235, .2), transparent);
        filter: blur(40px);
        pointer-events: none;
    }

.auth-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 64px);
    padding: 48px 20px 64px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 40px;
    background: var(--ory-surface);
    border: 1px solid var(--ory-border);
    border-radius: var(--ory-radius-2xl);
    box-shadow: var(--ory-shadow-lg);
}

    .auth-card.is-wide {
        max-width: 500px;
    }

.auth-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 14px;
    color: var(--ory-accent);
    background: var(--ory-accent-soft);
}

    .auth-icon.is-ok { color: var(--ory-success-ink); background: var(--ory-success-soft); }
    .auth-icon.is-warn { color: var(--ory-warning-ink); background: var(--ory-warning-soft); }

.auth-title {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--ory-ink);
}

.auth-sub {
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ory-muted);
}

    .auth-sub strong {
        color: var(--ory-ink);
        font-weight: 600;
        word-break: break-all;
    }

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.auth-label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.auth-label {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--ory-text);
}

.auth-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--ory-accent);
    text-decoration: none;
}

    .auth-link:hover {
        color: var(--ory-accent-hover);
        text-decoration: underline;
    }

.auth-input {
    position: relative;
    display: flex;
    align-items: center;
}

    .auth-input > svg {
        position: absolute;
        left: 13px;
        color: var(--ory-faint);
        pointer-events: none;
    }

    .auth-input input {
        width: 100%;
        height: 44px;
        padding: 0 14px 0 40px;
        font-family: var(--ory-font);
        font-size: 15px;
        color: var(--ory-ink);
        background: var(--ory-surface);
        border: 1px solid var(--ory-border);
        border-radius: var(--ory-radius-md);
        box-shadow: var(--ory-shadow-sm);
        outline: none;
        transition: border-color .15s ease, box-shadow .15s ease;
    }

        .auth-input input::placeholder {
            color: var(--ory-faint);
        }

        .auth-input input:focus {
            border-color: var(--ory-accent-border);
            box-shadow: 0 0 0 3px var(--ory-ring);
        }

    .auth-input.has-toggle input {
        padding-right: 44px;
    }

.auth-toggle {
    position: absolute;
    right: 4px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ory-faint);
    cursor: pointer;
}

    .auth-toggle:hover {
        color: var(--ory-text);
        background: var(--ory-hover);
    }

.auth-hint {
    margin: 0;
    font-size: 12px;
    color: var(--ory-faint);
}

/* Error text the scripts toggle with .visible */
.auth .field-error {
    display: none;
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--ory-danger) !important;
}

    .auth .field-error.visible {
        display: block;
    }

.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--ory-danger-ink);
    background: var(--ory-danger-soft);
    border: 1px solid rgba(208, 59, 59, .2);
    border-radius: var(--ory-radius-md);
}

    .auth-alert i {
        margin-top: 2px;
    }

.auth-submit {
    width: 100%;
    height: 46px;
    margin-top: 4px;
    font-size: 15px;
}

.auth-alt {
    margin: 24px 0 0;
    font-size: 14px;
    text-align: center;
    color: var(--ory-muted);
}

.auth-legal {
    margin: 16px 0 0;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    color: var(--ory-faint);
}

    .auth-legal a {
        color: var(--ory-muted);
        text-decoration: underline;
    }

.auth-divider {
    height: 1px;
    margin: 28px 0;
    background: var(--ory-hairline);
}

/* Selected plan (sign up) */
.auth-plan {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 12px 14px;
    border-radius: var(--ory-radius-md);
    background: var(--ory-accent-soft);
    border: 1px solid var(--ory-accent-border);
}

    .auth-plan.d-none {
        display: none !important;
    }

    .auth-plan .auth-plan-text {
        flex: 1;
        min-width: 0;
        font-size: 13px;
        line-height: 1.4;
        color: var(--ory-accent-ink);
    }

        .auth-plan .auth-plan-text strong {
            display: block;
            font-size: 14px;
            color: var(--ory-ink);
        }

    .auth-plan button {
        padding: 6px 10px;
        font-size: 12px;
        font-weight: 600;
        color: var(--ory-accent);
        background: var(--ory-surface);
        border: 1px solid var(--ory-accent-border);
        border-radius: 8px;
        cursor: pointer;
    }

/* Summary list (email confirmation) */
.auth-summary {
    margin: 0 0 24px;
    padding: 4px 16px;
    border-radius: var(--ory-radius-lg);
    border: 1px solid var(--ory-border);
    background: var(--ory-canvas);
}

    .auth-summary > div {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        padding: 12px 0;
        font-size: 14px;
        border-top: 1px solid var(--ory-hairline);
    }

        .auth-summary > div:first-child {
            border-top: 0;
        }

    .auth-summary dt {
        font-weight: 400;
        color: var(--ory-muted);
    }

    .auth-summary dd {
        margin: 0;
        font-weight: 600;
        color: var(--ory-ink);
        text-align: right;
        word-break: break-all;
    }

.auth-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .auth-actions .lp-btn {
        width: 100%;
        height: 46px;
    }

.auth-countdown {
    margin: 16px 0 0;
    font-size: 13px;
    text-align: center;
    color: var(--ory-faint);
}

    .auth-countdown strong {
        color: var(--ory-accent);
    }

@media (max-width: 575.98px) {
    .auth-main {
        align-items: flex-start;
        padding: 24px 16px 48px;
    }

    .auth-card {
        padding: 28px 22px;
        border-radius: var(--ory-radius-xl);
    }
}

@media (max-width: 479.98px) {
    .auth-row {
        grid-template-columns: 1fr;
    }

    .auth-title {
        font-size: 26px;
    }
}

/* =============================================================================
   NAV: Resources dropdown
   ============================================================================= */
.lp-nav-dd {
    position: relative;
}

.lp-nav-dd-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: .45rem .9rem;
    font-family: var(--ory-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--ory-text);
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

    .lp-nav-dd-toggle:hover,
    .lp-nav-dd.is-open .lp-nav-dd-toggle {
        color: var(--ory-ink);
        background: rgba(26, 31, 54, .04);
    }

    .lp-nav-dd-toggle:focus-visible {
        outline: none;
        box-shadow: 0 0 0 3px var(--ory-ring);
    }

    .lp-nav-dd-toggle svg {
        transition: transform .15s ease;
    }

.lp-nav-dd.is-open .lp-nav-dd-toggle svg {
    transform: rotate(180deg);
}

.lp-nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 1040;
    width: 320px;
    padding: 8px;
    background: var(--ory-surface);
    border: 1px solid var(--ory-border);
    border-radius: var(--ory-radius-xl);
    box-shadow: var(--ory-shadow-pop);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -4px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
}

.lp-nav-dd.is-open .lp-nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.lp-nav-menu a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px;
    border-radius: var(--ory-radius-md);
    text-decoration: none;
    color: var(--ory-text);
}

    .lp-nav-menu a:hover,
    .lp-nav-menu a:focus-visible {
        outline: none;
        background: var(--ory-hover);
    }

    .lp-nav-menu a strong {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 14px;
        font-weight: 600;
        color: var(--ory-ink);
    }

        .lp-nav-menu a strong svg {
            color: var(--ory-faint);
        }

    .lp-nav-menu a small {
        display: block;
        margin-top: 2px;
        font-size: 13px;
        color: var(--ory-muted);
    }

.lp-nav-menu-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--ory-accent);
    background: var(--ory-accent-soft);
}

/* Inside the collapsed mobile menu: render inline, no floating panel */
@media (max-width: 991.98px) {
    .lp-nav-dd-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .lp-nav-menu {
        position: static;
        width: auto;
        margin: 4px 0 8px;
        padding: 4px;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--ory-canvas);
    }

    .lp-nav-dd.is-open .lp-nav-menu {
        display: block;
        transform: none;
    }
}

/* =============================================================================
   SEO LANDING PAGES (/industries/*, /features/*)
   ============================================================================= */
.lp-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: var(--ory-muted);
    justify-content: center;
}

/* Nav grew two items; keep the sign-in / trial buttons on one line at tablet widths. */
.lp-nav .btn {
    white-space: nowrap;
}

    .lp-breadcrumbs li + li::before {
        content: "/";
        margin-right: 6px;
        color: var(--ory-faint);
    }

    .lp-breadcrumbs a {
        color: var(--ory-muted);
        text-decoration: none;
    }

        .lp-breadcrumbs a:hover {
            color: var(--ory-accent);
        }

h2.lp-statement-quote {
    margin: 0 0 12px;
}

.lp-checklist.is-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 24px;
    margin-top: 0 !important;
}

.lp-card-link {
    color: inherit;
    text-decoration: none;
}

    .lp-card-link:hover {
        color: inherit;
        text-decoration: none;
    }

    .lp-card-link h2.h3 {
        margin: 18px 0 6px;
        font-size: 18px;
        font-weight: 600;
        color: var(--ory-ink);
    }

.lp-card-more {
    margin-top: auto;
    padding-top: 16px;
    font-weight: 600;
    color: var(--ory-accent);
}

@media (max-width: 991.98px) {
    .lp-checklist.is-columns { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
    .lp-checklist.is-columns { grid-template-columns: 1fr; }
}

/* Card heading that links to a landing page; ::after stretches the click target over the whole card. */
.lp-tile, .lp-industry { position: relative; }

.lp-stretched {
    color: inherit;
    text-decoration: none;
}

    .lp-stretched:hover {
        color: inherit;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .lp-stretched::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
    }

/* App Store / Google Play links in the footer (shown once MobileApps is configured). */
.lp-store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.lp-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: var(--ory-radius-md);
    color: #fff;
    text-decoration: none;
    line-height: 1.1;
}

    .lp-store-badge:hover {
        color: #fff;
        border-color: rgba(255, 255, 255, .6);
        text-decoration: none;
    }

    .lp-store-badge i {
        font-size: 22px;
    }

    .lp-store-badge span {
        display: flex;
        flex-direction: column;
        font-size: 15px;
        font-weight: 600;
    }

    .lp-store-badge small {
        font-size: 10px;
        font-weight: 400;
        opacity: .8;
    }

/* Landing page overview text, buyer's guide cards and split-hero breadcrumbs. */
.lp-prose {
    max-width: 760px;
    margin: 0 auto;
}

    .lp-prose p {
        margin: 0 0 18px;
        font-size: 17px;
        line-height: 1.75;
        color: var(--ory-text);
    }

        .lp-prose p:last-child {
            margin-bottom: 0;
        }

.lp-cards.is-2 {
    grid-template-columns: repeat(2, 1fr);
}

.lp-guide-num {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--ory-accent);
}

    .lp-guide-num + h3 {
        margin-top: 8px !important;
    }

.lp-page-hero.is-split .lp-breadcrumbs ol {
    justify-content: flex-start;
}

@media (max-width: 991.98px) {
    .lp-page-hero.is-split .lp-breadcrumbs ol { justify-content: center; }
}

@media (max-width: 575.98px) {
    .lp-cards.is-2 { grid-template-columns: 1fr; }
}
