/*
    The public pages of _PublicLayout (the landing page, design "F - Composite", and the Info pages that use it).
    Self-contained on purpose: site.css is the application's design system (14px root, grey body) and is not
    loaded here. Classes are prefixed lp-. Written with logical properties (inline-start/end), so Arabic and
    Urdu mirror by themselves; the few rules that do not are at the end under [dir="rtl"].
*/

@font-face {
    font-family: 'Work Sans';
    src: url('../fonts/WorkSans-VariableFont_wght.ttf');
    font-display: swap;
}

:root {
    --lp-blue: #00aeef;
    --lp-teal: #00ddd3;
    --lp-ink: #2c3e50;
    --lp-muted: #5a6c7d;
    --lp-sky: #e6f7fd;
    --lp-paper: #f8f9fa;
    --lp-line: #e9ecef;
    --lp-gradient: linear-gradient(45deg, var(--lp-blue) 0%, var(--lp-teal) 100%);
    --lp-width: 1200px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body.lp-body {
    margin: 0;
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    color: var(--lp-ink);
    background: #fff;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

.lp-body a { color: var(--lp-blue); transition: color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.lp-body a:hover { color: var(--lp-teal); }

.lp-wrap {
    max-width: var(--lp-width);
    margin: 0 auto;
    padding-inline: 24px;
}

/* ---------- Navigation ---------- */

.lp-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--lp-line);
}

.lp-nav .navbar {
    max-width: var(--lp-width);
    margin: 0 auto;
    padding: 14px 24px;
}

.lp-nav .navbar-brand img { height: 44px; }

.lp-nav-link {
    color: var(--lp-ink) !important;
    text-decoration: none;
    font-weight: 300;
    font-size: 1.05rem;
    padding: .6rem .8rem !important;
    border-radius: .25rem;
}

.lp-nav-link:hover,
.lp-nav-link:focus-visible,
.lp-nav-link.active {
    background: rgba(0, 174, 239, .1);
    color: var(--lp-blue) !important;
}

.lp-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.lp-login {
    color: var(--lp-ink) !important;
    text-decoration: none;
    padding: .5rem .8rem;
    border-radius: .25rem;
}

.lp-login:hover { color: var(--lp-blue) !important; }

.lp-nav .navbar-toggler {
    border-color: #ced4da;
}

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

/* Language picker: the flag of the current language, the list in two columns */

.lp-lang-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #ced4da;
    color: var(--lp-ink);
    border-radius: 50px;
    padding: 6px 10px 6px 8px;
    font-size: .875rem;
    font-family: inherit;
    line-height: 1;
}

.lp-lang-button:hover,
.lp-lang-button:focus-visible,
.lp-lang-button[aria-expanded="true"] {
    border-color: var(--lp-blue);
    color: var(--lp-blue);
}

.lp-lang-button .bi { font-size: .7rem; }

.lp-flag {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 3px;
    display: block;
    flex-shrink: 0;
}

.lp-flag-code {
    width: 22px;
    height: 16px;
    border-radius: 3px;
    background: var(--lp-sky);
    color: var(--lp-blue);
    font-size: .6rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lp-lang-current-code {
    font-weight: 600;
    font-size: .75rem;
    letter-spacing: .04em;
}

.lp-lang-menu.dropdown-menu {
    border: 1px solid var(--lp-line);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
    padding: 8px;
    max-width: calc(100vw - 32px);
    max-height: 75vh;
    overflow-y: auto;
}

.lp-lang-menu.show {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(11, auto);
    gap: 2px;
}

@media (max-width: 575.98px) {
    .lp-lang-menu.show {
        grid-auto-flow: row;
        grid-template-rows: none;
    }
}

.lp-lang-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--lp-ink);
    font-size: .9rem;
    font-weight: 300;
    padding: 7px 10px;
    border-radius: 8px;
    white-space: nowrap;
}

.lp-lang-menu .dropdown-item:hover,
.lp-lang-menu .dropdown-item:focus-visible {
    background: rgba(0, 174, 239, .1);
    color: var(--lp-ink);
}

.lp-lang-menu .dropdown-item.active {
    background: var(--lp-sky);
    color: var(--lp-ink);
    font-weight: 600;
}

/* ---------- Buttons ---------- */

.lp-btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    text-align: center;
}

.lp-btn-primary {
    background: var(--lp-gradient);
    color: #fff !important;
    font-size: 1.05rem;
    padding: 13px 30px;
    box-shadow: 0 6px 20px rgba(0, 174, 239, .3);
}

.lp-btn-primary:hover,
.lp-btn-primary:focus-visible {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 174, 239, .4);
}

.lp-btn-lg {
    font-size: 1.15rem;
    padding: 15px 40px;
}

.lp-btn-sm {
    font-size: 1rem;
    padding: 10px 22px;
    box-shadow: 0 4px 14px rgba(0, 174, 239, .3);
}

.lp-btn-white {
    background: #fff;
    color: var(--lp-blue) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .2);
}

.lp-btn-white:hover,
.lp-btn-white:focus-visible {
    color: var(--lp-teal) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .3);
}

.lp-btn-outline-white {
    color: #fff !important;
    font-weight: 400;
    font-size: 1.05rem;
    padding: 14px 22px;
    border: 2px solid rgba(255, 255, 255, .7);
}

.lp-btn-outline-white:hover,
.lp-btn-outline-white:focus-visible {
    background: #fff;
    color: var(--lp-blue) !important;
}

.lp-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

/* ---------- Hero and product stage ---------- */

.lp-hero {
    background: var(--lp-gradient);
    color: #fff;
}

.lp-hero-inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 72px 24px 230px;
    text-align: center;
}

.lp-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, .5);
    color: #fff;
    border-radius: 50px;
    padding: 6px 16px;
    font-size: .85rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.lp-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 20px;
    text-wrap: balance;
}

.lp-hero-lead {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 36px;
    opacity: .95;
}

@media (max-width: 767.98px) {
    .lp-hero-inner { padding: 48px 16px 200px; }
    .lp-hero h1 { font-size: 2.3rem; }
    .lp-hero-lead { font-size: 1.1rem; }
}

.lp-stage {
    max-width: var(--lp-width);
    margin: -180px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.lp-stage-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 30px 70px rgba(0, 120, 170, .25);
    padding: 10px 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-stage-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 5px;
    border-radius: 999px;
    background: var(--lp-sky);
    margin: 0;
    list-style: none;
}

.lp-stage-tabs .nav-link {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 12px;
    border: 0;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    color: var(--lp-ink);
    background: transparent;
    transition: background-color .2s ease, color .2s ease;
}

.lp-stage-tabs .nav-link.active {
    background: var(--lp-blue);
    color: #fff;
}

.lp-stage-tabs .nav-link:not(.active):hover { color: var(--lp-blue); }

.lp-stage .tab-pane.active {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-shot {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    border: 1px solid var(--lp-line);
    overflow: hidden;
    background: repeating-linear-gradient(135deg, var(--lp-line) 0 12px, var(--lp-paper) 12px 24px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lp-muted);
    font-size: .9rem;
    text-align: center;
    padding: 24px;
}

.lp-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.lp-shot:has(img) { padding: 0; background: var(--lp-paper); }

.lp-stage-points {
    list-style: none;
    margin: 0;
    padding: 0 6px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px 24px;
    line-height: 1.4;
    font-size: .95rem;
}

.lp-stage-points li { display: flex; gap: 10px; }
.lp-stage-points strong { color: var(--lp-ink); }
.lp-stage-points span:not(.lp-num) { color: var(--lp-muted); }

.lp-num {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--lp-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: grid;
    place-items: center;
    margin-top: .05em;
}

/* ---------- Sections ---------- */

.lp-section { padding-block: 88px; }
.lp-section-features { padding-block: 88px 72px; }
.lp-band { background: var(--lp-sky); }

@media (max-width: 767.98px) {
    .lp-section, .lp-section-features { padding-block: 56px; }
}

.lp-eyebrow {
    color: var(--lp-blue);
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: .08em;
    font-weight: 600;
    margin-bottom: 6px;
}

.lp-h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0 0 16px;
    line-height: 1.2;
}

.lp-intro {
    font-weight: 300;
    color: var(--lp-muted);
    line-height: 1.7;
    margin: 0 0 36px;
    max-width: 720px;
}

@media (max-width: 767.98px) {
    .lp-h2 { font-size: 1.8rem; }
}

.lp-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--lp-sky);
    color: var(--lp-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.lp-icon-sm { width: 40px; height: 40px; font-size: 17px; margin-bottom: 0; }
.lp-icon-xs { width: 36px; height: 36px; font-size: 16px; margin-bottom: 0; background: #fff; }

/* Capabilities */

.lp-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.lp-feature {
    background: var(--lp-paper);
    border-radius: .5rem;
    padding: 24px;
}

.lp-card-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.lp-card-text {
    font-weight: 300;
    color: var(--lp-muted);
    line-height: 1.6;
}

/* How it works */

.lp-how {
    display: flex;
    gap: 56px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.lp-how-intro { flex: 1 1 300px; min-width: 0; }
.lp-how-intro .lp-eyebrow { margin-bottom: 8px; }
.lp-how-intro .lp-h2 { font-size: 2.5rem; line-height: 1.15; }
.lp-how-intro p { font-size: 1.1rem; color: var(--lp-muted); line-height: 1.8; margin: 0; }

@media (max-width: 767.98px) {
    .lp-how-intro .lp-h2 { font-size: 2rem; }
}

.lp-steps {
    flex: 1.4 1 420px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lp-step { display: flex; gap: 20px; padding-bottom: 28px; }
.lp-step:last-child { padding-bottom: 0; }

.lp-step-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.lp-step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--lp-gradient);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-step-line {
    flex: 1;
    width: 2px;
    background: linear-gradient(180deg, var(--lp-blue), var(--lp-teal));
    margin-top: 6px;
    opacity: .4;
}

.lp-step:last-child .lp-step-line { display: none; }

.lp-step-title { font-weight: 600; font-size: 1.2rem; margin: 8px 0 6px; }
.lp-step-text { color: var(--lp-muted); line-height: 1.7; font-weight: 300; }

.lp-how-cta { margin-top: 64px; }
.lp-how-cta .lp-btn-primary { box-shadow: 0 8px 24px rgba(0, 174, 239, .35); }

/* Value and use cases: icon + two lines */

.lp-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.lp-list-grid-wide { gap: 24px 32px; }

@media (max-width: 400px) {
    .lp-list-grid { grid-template-columns: 1fr; }
}

.lp-item { display: flex; align-items: center; gap: 14px; }
.lp-item-title { font-weight: 500; }
.lp-item-title-plain { color: var(--lp-ink); }
.lp-item-text { font-weight: 300; color: var(--lp-muted); font-size: .9rem; line-height: 1.5; }

.lp-notlisted {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
}

.lp-notlisted p {
    font-weight: 300;
    color: var(--lp-muted);
    margin: 0;
    flex: 1 1 460px;
    line-height: 1.6;
}

.lp-notlisted strong { color: var(--lp-ink); font-weight: 600; }

/* Assistant */

.lp-assistant {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    align-items: center;
}

.lp-assistant-copy { flex: 1 1 340px; min-width: 0; }
.lp-assistant-copy .lp-intro { margin-bottom: 20px; }

.lp-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0, 174, 239, .45);
    color: var(--lp-ink);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: .85rem;
}

.lp-pill .bi { color: var(--lp-blue); }

.lp-chat {
    flex: 1 1 380px;
    min-width: 0;
    margin: 0;
    background: #fff;
    border: 1px solid rgba(0, 174, 239, .2);
    box-shadow: 0 16px 32px rgba(0, 120, 170, .12);
    border-radius: 1.25rem;
    padding: 20px 24px;
    font-size: .9rem;
}

.lp-chat figcaption {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--lp-muted);
    margin-bottom: 14px;
}

.lp-chat-log { display: flex; flex-direction: column; gap: 8px; }

.lp-chat-log p {
    margin: 0;
    max-width: 88%;
    padding: .7rem 1rem;
    line-height: 1.45;
}

.lp-chat-user {
    align-self: flex-end;
    border-radius: 1rem 1rem .25rem 1rem;
    background: var(--lp-blue);
    color: #fff;
}

.lp-chat-bot {
    align-self: flex-start;
    border-radius: 1rem 1rem 1rem .25rem;
    background: var(--lp-sky);
    color: var(--lp-ink);
}

.lp-footnote {
    font-size: .9rem;
    font-weight: 300;
    color: var(--lp-muted);
    margin: 32px 0 0;
}

.lp-footnote a, .lp-link { font-weight: 600; text-decoration: none; }

/* Enterprise */

.lp-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.lp-card {
    background: #fff;
    border-radius: .75rem;
    padding: 28px;
}

.lp-card p { margin: 0 0 14px; }
.lp-card-note { font-size: .9rem; font-weight: 300; color: var(--lp-muted); }

/* Closing call to action */

.lp-final { text-align: center; }
.lp-final .lp-h2 { margin-bottom: 8px; }
.lp-final .lp-intro { margin: 0 auto 28px; }
.lp-final-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lp-final-actions .lp-btn-primary { box-shadow: 0 8px 24px rgba(0, 174, 239, .35); }

.lp-quiet-link {
    color: var(--lp-muted) !important;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 300;
}

.lp-quiet-link:hover { color: var(--lp-blue) !important; }

/* ---------- Inner pages (Pricing, Privacy, Info/Blog, Terms, ...): one header and one sheet for all ---------- */

/* The gradient header with the title and a line below it, centred. */
.lp-page-hero {
    background: var(--lp-gradient);
    color: #fff;
    text-align: center;
    padding: 64px 0 88px;
}

.lp-page-hero h1 { font-size: 2.5rem; font-weight: 700; margin: 0 0 1rem; }
.lp-page-hero p { font-size: 1.2rem; font-weight: 300; opacity: .95; max-width: 640px; margin: 0 auto; }

@media (max-width: 767.98px) {
    .lp-page-hero { padding: 48px 0 72px; }
    .lp-page-hero h1 { font-size: 2rem; }
    .lp-page-hero p { font-size: 1rem; }
}

/* The content, on a white sheet that rises over the bottom of the header. */
.lp-page-card {
    max-width: var(--lp-width);
    margin: -48px auto 72px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.lp-page-card-narrow { max-width: 900px; }

.lp-sheet {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .lp-page-card-narrow .lp-sheet { padding: 40px 48px; }
}

.lp-coming-soon {
    min-height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-weight: 300;
    color: var(--lp-muted);
    text-align: center;
}
/* The rules of site.css the plan cards use (that stylesheet is not loaded on these pages). */
.lp-body .jmNoBorder { border: none; }
.lp-body .jmPlanRecommended { border: 2px solid darkgoldenrod !important; }
.lp-body .jmPlanRecommendedBadge { background-color: darkgoldenrod; }
.lp-body .jmIntervalSwitch { width: 4rem !important; height: 2rem; cursor: pointer; }
.lp-body .jmIntervalSwitch:checked { background-color: var(--lp-blue); border-color: var(--lp-blue); }
.lp-body .jmIntervalSwitch:focus { box-shadow: 0 0 0 .25rem rgba(0, 174, 239, .5); }
.lp-body .jmIntervalLabel:hover { background: none; }

/* ---------- Sign-in and registration (_AuthLayout: Account/Login, Account/Register) ---------- */

.lp-auth-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.lp-auth-nav {
    max-width: var(--lp-width);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    flex-wrap: wrap;
}

.lp-auth-nav .navbar-brand img { height: 44px; }

.lp-auth-prompt {
    color: var(--lp-muted);
    font-size: .95rem;
    font-weight: 300;
}

@media (max-width: 575.98px) {
    .lp-auth-prompt { display: none; }
    .lp-auth-nav { flex-wrap: nowrap; padding-inline: 16px; }
    .lp-auth-nav .navbar-brand img { height: 34px; }
    .lp-auth-nav .lp-nav-actions { flex-wrap: nowrap; gap: 8px; }
}

.lp-btn-outline-blue {
    color: var(--lp-blue) !important;
    font-size: 1rem;
    padding: 8px 22px;
    border: 2px solid var(--lp-blue);
}

.lp-btn-outline-blue:hover,
.lp-btn-outline-blue:focus-visible {
    background: var(--lp-blue);
    color: #fff !important;
}

.lp-auth-main {
    flex: 1;
    background: var(--lp-sky);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 56px 24px 80px;
}

@media (max-width: 575.98px) {
    .lp-auth-main { padding: 32px 16px 56px; }
}

.lp-auth { width: 100%; max-width: 460px; }

.lp-auth-head { text-align: center; margin-bottom: 24px; }
.lp-auth-head h1 { font-size: 2rem; font-weight: 700; margin: 0 0 8px; line-height: 1.2; }
.lp-auth-head p { margin: 0; color: var(--lp-muted); font-weight: 300; }

.lp-auth-alert {
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: .95rem;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.lp-auth-alert p { margin: 0; }
.lp-auth-alert ul { margin: 0; padding-inline-start: 18px; }
.lp-auth-alert-error { background: #fdecef; color: #9b1c2e; }

.lp-auth-alert-info {
    background: #fff;
    border: 1px solid rgba(0, 174, 239, .35);
    color: var(--lp-ink);
}

.lp-auth-alert-info > .bi { color: var(--lp-blue); margin-top: 2px; }

.lp-auth-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 120, 170, .12);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (max-width: 575.98px) {
    .lp-auth-card { padding: 24px 20px; }
}

.lp-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: .875rem;
    font-weight: 500;
    color: var(--lp-muted);
    margin: 0;
}

.lp-input,
.lp-input-group {
    font-family: inherit;
    font-size: 1rem;
    color: var(--lp-ink);
    border: 1px solid #ced4da;
    border-radius: 12px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.lp-input { padding: 12px 14px; outline: none; width: 100%; }
.lp-input::placeholder { color: #adb5bd; }

.lp-input:focus,
.lp-input-group:focus-within {
    border-color: var(--lp-blue);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, .18);
}

.lp-input-group { display: flex; align-items: stretch; overflow: hidden; }
.lp-input-group .lp-input { border: 0; border-radius: 0; box-shadow: none; flex: 1; min-width: 0; background: transparent; }

.lp-input-group button {
    border: 0;
    border-inline-start: 1px solid var(--lp-line);
    background: var(--lp-paper);
    color: var(--lp-muted);
    padding: 0 14px;
    font-size: 1rem;
}

.lp-input-group button:hover,
.lp-input-group button:focus-visible { color: var(--lp-blue); }

.lp-invalid,
.lp-invalid:focus,
.lp-input-group.lp-invalid:focus-within { border-color: #e74c3c; }

.lp-field-error { color: #c0392b; font-weight: 400; }

.lp-forgot { display: flex; justify-content: flex-end; margin-top: -6px; }

.lp-text-button {
    border: 0;
    background: none;
    padding: 0;
    font-family: inherit;
    font-size: .875rem;
    color: var(--lp-blue);
}

.lp-text-button:hover,
.lp-text-button:focus-visible { color: var(--lp-teal); }

.lp-submit {
    margin-top: 8px;
    background: var(--lp-gradient);
    color: #fff;
    border: 0;
    font-family: inherit;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 14px 24px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0, 174, 239, .35);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.lp-submit:hover:not(:disabled),
.lp-submit:focus-visible:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 174, 239, .45);
}

.lp-submit:disabled { opacity: .55; cursor: not-allowed; }

.lp-auth-switch { text-align: center; font-size: .875rem; color: var(--lp-muted); }
.lp-auth-switch a { font-weight: 600; text-decoration: none; }

.lp-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #adb5bd;
    font-size: .85rem;
    margin-top: 4px;
}

.lp-divider::before,
.lp-divider::after { content: ""; flex: 1; height: 1px; background: var(--lp-line); }

.lp-btn-ghost {
    background: #fff;
    color: var(--lp-ink);
    border: 1px solid #ced4da;
    font-family: inherit;
    font-weight: 500;
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.lp-btn-ghost:hover,
.lp-btn-ghost:focus-visible { border-color: var(--lp-blue); color: var(--lp-blue); }

.lp-btn-ghost-sm { font-size: .95rem; padding: 10px 20px; font-weight: 400; }

.lp-btn-send {
    background: var(--lp-gradient);
    color: #fff;
    border: 0;
    font-family: inherit;
    font-weight: 600;
    font-size: .95rem;
    padding: 10px 22px;
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(0, 174, 239, .3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lp-strength { display: flex; gap: 4px; margin-top: 4px; }
.lp-strength span { flex: 1; height: 4px; border-radius: 2px; background: var(--lp-line); transition: background-color .2s ease; }

.lp-rules {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
    font-size: .8rem;
    font-weight: 300;
    color: var(--lp-muted);
}

.lp-rules li { display: flex; align-items: center; gap: 6px; }
.lp-rules li.lp-ok { color: var(--lp-blue); }

.lp-terms { text-align: center; font-size: .8rem; color: #adb5bd; font-weight: 300; line-height: 1.5; }
.lp-terms a { color: var(--lp-muted); }

/* The password reset dialog (a Bootstrap modal dressed as the design) */
.lp-modal .modal-content {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .25);
    padding: 28px;
    gap: 14px;
}

.lp-modal .modal-header,
.lp-modal .modal-body,
.lp-modal .modal-footer { padding: 0; border: 0; }

.lp-modal .modal-title { font-size: 1.3rem; font-weight: 600; color: var(--lp-ink); }
.lp-modal .modal-body p { margin: 0 0 12px; color: var(--lp-muted); font-weight: 300; line-height: 1.6; }
.lp-modal .modal-footer { gap: 10px; margin-top: 4px; }
.lp-modal .modal-footer > * { margin: 0; }
.modal-backdrop.show { background: rgb(44, 62, 80); opacity: .45; }

.lp-auth-footer {
    padding-block: 18px !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: .9rem;
}

.lp-auth-footer .lp-copyright a { color: #fff; }
.lp-auth-footer nav { display: flex; gap: 24px; }

/* ---------- Documents (Info/Privacy, inside .lp-sheet): sections the navbar links to ---------- */

.lp-doc { line-height: 1.75; }

.lp-doc section {
    padding-block: 28px;
    border-bottom: 1px solid var(--lp-line);
}

.lp-doc section:first-child { padding-top: 0; }
.lp-doc section:last-of-type { border-bottom: 0; }

.lp-doc h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 14px;
    line-height: 1.25;
}

.lp-doc p { color: var(--lp-muted); font-weight: 300; margin: 0 0 12px; }

.lp-doc ul {
    margin: 0 0 12px;
    padding-inline-start: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-doc li {
    position: relative;
    padding-inline-start: 28px;
    font-weight: 300;
}

.lp-doc li::before {
    content: "";
    position: absolute;
    inset-inline-start: 6px;
    top: .7em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lp-gradient);
}

.lp-doc-actions { margin-top: 36px; display: flex; justify-content: flex-end; }

/* A page's own navbar links (section NavLinks): one line each, a little more compact than the landing page's. */
@media (min-width: 1200px) {
    [data-lp-spy] .lp-nav-link {
        white-space: nowrap;
        font-size: .92rem;
        padding: .45rem .5rem !important;
    }

    .navbar-expand-xl .navbar-brand { margin-inline-end: 1rem !important; }
}

@media (max-width: 1199.98px) {
    .navbar-expand-xl .navbar-collapse { padding-top: 12px; }
    .navbar-expand-xl .lp-nav-actions { padding: 8px 0 4px; }
}
/* ---------- Footer ---------- */

.lp-footer {
    background: var(--lp-ink);
    color: rgba(255, 255, 255, .75);
}

.lp-footer .lp-wrap { padding-block: 48px 24px; }
.lp-footer-brand { padding-bottom: 28px; }
.lp-footer-brand img { height: 36px; margin-bottom: 14px; }
.lp-footer-brand p { line-height: 1.6; margin: 0; max-width: 460px; font-weight: 300; }

.lp-footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.lp-footer-col { display: flex; flex-direction: column; gap: 8px; }
.lp-footer-col-title { color: #fff; font-weight: 600; margin-bottom: 2px; }

.lp-footer a {
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
}

.lp-footer a:hover { color: var(--lp-teal); }

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

.lp-round {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lp-eu {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: .9rem;
    font-weight: 300;
    line-height: 1.6;
}

.lp-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .9rem;
}

.lp-footer-bottom .lp-copyright a { color: #fff; }
.lp-footer-bottom nav { display: flex; gap: 24px; }

/* ---------- Reveal on scroll (wwwroot/js/landing.js arms it; without the script everything shows) ---------- */

.lp-reveal-armed [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}

.lp-reveal-armed [data-reveal].lp-revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .lp-reveal-armed [data-reveal] { opacity: 1; transform: none; transition: none; }
    .lp-btn:hover, .lp-btn:focus-visible { transform: none !important; }
}

/* ---------- Right to left: what logical properties do not cover ---------- */

[dir="rtl"] .lp-chat-user { border-radius: 1rem 1rem 1rem .25rem; }
[dir="rtl"] .lp-chat-bot { border-radius: 1rem 1rem .25rem 1rem; }
[dir="rtl"] .lp-link .bi-arrow-right { display: inline-block; transform: scaleX(-1); }
