/* ============================================================
   PUBLIC LANDING PAGE
   Marketing site for logged-out visitors. Reuses the app's design
   tokens (main.css :root) so the palette matches automatically in
   light and dark; everything here is the marketing-specific layout.
   All classes are prefixed `lp-` to avoid colliding with the app shell.
   ============================================================ */

.lp-body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--color-text);
    background: var(--color-content-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.lp-body * {
    box-sizing: border-box;
}

.lp-main {
    display: block;
}

/* Anchor targets clear the fixed header when jumped/scrolled to. */
[id] {
    scroll-margin-top: 96px;
}

/* ───────────────────────────── HEADER ───────────────────────────── */
.lp-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    padding: 14px 0;
    transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease,
        border-color 0.25s ease;
    border-bottom: 1px solid transparent;
}

.lp-header.is-scrolled {
    background: color-mix(in srgb, var(--color-header-bg) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom-color: var(--color-border);
    padding: 8px 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.lp-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 48px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Launcher */
.lp-launcher {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lp-launcher__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-text);
}

.lp-launcher__logo img {
    width: 36px;
    height: 36px;
    display: block;
}

.lp-launcher__name {
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -0.01em;
}

/* Launcher toggle + four-square grid — identical to the in-app launcher
   (app-launcher__* in main.css): hollow multi-colour squares that rotate
   45° when the drawer is open. */
.lp-launcher__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: background 0.12s, color 0.12s;
}

.lp-launcher__toggle:hover {
    background: var(--color-card-hover-bg);
    color: var(--color-text);
}

.lp-launcher__grid {
    display: grid;
    grid-template-columns: repeat(2, 10px);
    grid-template-rows: repeat(2, 10px);
    gap: 3px;
    place-items: center;
}

.lp-launcher__dot {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    border: solid 2px var(--color-qs-teal);
    transition: transform 0.2s ease;
}

.lp-launcher__dot:nth-child(1) { border-color: var(--color-qs-teal); }
.lp-launcher__dot:nth-child(2) { border-color: var(--color-qs-teal-light); }
.lp-launcher__dot:nth-child(3) { border-color: var(--color-qs-blue); }
.lp-launcher__dot:nth-child(4) { border-color: var(--color-qs-coral); }

.lp-launcher.open .lp-launcher__dot {
    transform: rotate(45deg);
}

.lp-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-btn-contact {
    padding: 9px 20px;
    font-size: 15px;
    gap: 8px;
}

/* ── Language toggle (EN / FR) ── */
.lp-lang {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 2px;
    background: var(--color-card-bg);
}

.lp-lang__opt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--color-text-muted);
    border-radius: 999px;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
}

.lp-lang__opt:hover {
    color: var(--color-text);
}

.lp-lang__opt.is-active {
    color: #fff;
    background: var(--color-qs-teal);
}

/* ───────────────────────────── CONTACT MODAL ───────────────────────────── */
.lp-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.25s ease;
    overflow-y: auto;
}

/* When closed the backdrop carries the [hidden] attribute; the display:flex
   above would otherwise override the UA [hidden]{display:none}, leaving an
   invisible full-screen overlay that swallows every click on the page. */
.lp-modal-backdrop[hidden] {
    display: none;
}

.lp-modal-backdrop.is-open {
    opacity: 1;
}

.lp-modal {
    width: min(560px, 100%);
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    padding: 28px;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-modal-backdrop.is-open .lp-modal {
    transform: translateY(0) scale(1);
}

.lp-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.lp-modal__title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
}

.lp-modal__close {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--color-text-muted);
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.lp-modal__close:hover {
    background: var(--color-card-hover-bg);
    color: var(--color-text);
}

.lp-modal__lead {
    margin: 6px 0 20px;
    font-size: 14px;
    color: var(--color-text-muted);
}

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

.lp-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.lp-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lp-field__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
}

.lp-input {
    width: 100%;
    padding: 10px 12px;
    font: inherit;
    font-size: 14px;
    color: var(--color-text);
    background: var(--color-content-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-input:focus {
    outline: none;
    border-color: var(--color-qs-teal);
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.15);
}

.lp-input.is-invalid {
    border-color: var(--color-qs-coral);
}

.lp-textarea {
    resize: vertical;
    min-height: 110px;
}

.lp-form__status {
    margin: 0;
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 8px;
}

.lp-form__status.is-error {
    color: var(--color-qs-coral);
    background: rgba(255, 99, 71, 0.1);
}

.lp-form__status.is-success {
    color: var(--color-qs-teal);
    background: rgba(0, 128, 128, 0.1);
}

.lp-modal__foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
}

.lp-form__submit {
    gap: 8px;
}

.lp-form__submit[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

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

    .lp-modal {
        padding: 22px;
    }
}

/* ───────────────────────────── DRAWER ───────────────────────────── */
.lp-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lp-drawer-backdrop.is-open {
    opacity: 1;
}

.lp-drawer {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 120;
    height: 100%;
    width: min(380px, 88vw);
    background: var(--color-sidebar-bg);
    border-right: 1px solid var(--color-border);
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.18);
    transform: translateX(-105%);
    transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 22px;
}

.lp-drawer.is-open {
    transform: translateX(0);
}

.lp-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.lp-drawer__logo {
    width: 38px;
    height: 38px;
}

.lp-drawer__close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: transparent;
    color: var(--color-text);
    font-size: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s;
}

.lp-drawer__close:hover {
    background: var(--color-card-hover-bg);
    border-color: var(--accent);
}

.lp-drawer__links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.lp-drawer__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 14px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--color-text);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
    border: 1px solid transparent;
    transition: background 0.18s, border-color 0.18s, transform 0.18s;
}

.lp-drawer__link:hover {
    background: var(--color-card-hover-bg);
    border-color: var(--color-border);
    transform: translateX(4px);
}

.lp-drawer__link-index {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.08em;
    padding-top: 4px;
}

.lp-drawer__link-label {
    flex: 1;
}

.lp-drawer__link .ti {
    font-size: 20px;
    color: var(--color-text-muted);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.18s, transform 0.18s;
}

.lp-drawer__link:hover .ti {
    opacity: 1;
    transform: translateX(0);
    color: var(--accent);
}

.lp-drawer__foot {
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
}

.lp-drawer__login {
    width: 100%;
    gap: 8px;
    padding: 13px;
    font-size: 16px;
}

/* ───────────────────────────── HERO ───────────────────────────── */
.lp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px clamp(18px, 5vw, 48px) 90px;
    overflow: hidden;
    background:
        radial-gradient(1100px 600px at 80% -10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%),
        radial-gradient(900px 500px at 10% 20%, color-mix(in srgb, var(--color-qs-coral) 12%, transparent), transparent 55%),
        var(--color-content-bg);
}

.lp-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    z-index: 0;
    will-change: transform;
}

.lp-hero__blob--1 {
    width: 460px;
    height: 460px;
    top: -120px;
    right: -80px;
    background: radial-gradient(circle, var(--accent-light), transparent 70%);
}

.lp-hero__blob--2 {
    width: 400px;
    height: 400px;
    bottom: -140px;
    left: -100px;
    background: radial-gradient(circle, var(--color-qs-coral), transparent 70%);
    opacity: 0.35;
}

.lp-hero__content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.lp-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    color: var(--accent-strong);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

:root[data-theme="dark"] .lp-eyebrow { color: var(--accent-light); }

.lp-hero__title {
    margin: 0 0 22px;
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 700;
}

.lp-grad {
    background: linear-gradient(120deg, var(--accent), var(--color-qs-coral));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-hero__lead {
    margin: 0 auto 34px;
    max-width: 620px;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.6;
    color: var(--color-text-muted);
}

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

.lp-btn-lg {
    padding: 14px 30px;
    font-size: 17px;
    gap: 10px;
}

/* Floating module icons */
.lp-hero__float {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.lp-float-card {
    position: absolute;
    width: 84px;
    height: 84px;
    border-radius: 22px;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: lp-bob 6s ease-in-out infinite;
    will-change: transform;
}

.lp-float-card img {
    width: 46px;
    height: 46px;
}

.lp-float-card--a { top: 22%; left: 9%; animation-delay: 0s; }
.lp-float-card--b { top: 62%; left: 15%; animation-delay: 1.2s; }
.lp-float-card--c { top: 26%; right: 11%; animation-delay: 0.6s; }
.lp-float-card--d { top: 66%; right: 8%; animation-delay: 1.8s; }

@keyframes lp-bob {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-16px) rotate(2deg); }
}

.lp-scroll-hint {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--color-text-muted);
    font-size: 26px;
    text-decoration: none;
    animation: lp-nudge 1.8s ease-in-out infinite;
}

@keyframes lp-nudge {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* ───────────────────────────── SECTIONS ───────────────────────────── */
.lp-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(70px, 10vw, 130px) clamp(18px, 5vw, 48px);
}

.lp-section__head {
    max-width: 680px;
    margin: 0 auto clamp(40px, 6vw, 70px);
    text-align: center;
}

.lp-section__num {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 12px;
}

.lp-section__title {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4.5vw, 3rem);
    letter-spacing: -0.02em;
    font-weight: 700;
}

.lp-section__sub {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* ── Features ── */
.lp-features {
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 7vw, 90px);
}

.lp-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(30px, 6vw, 80px);
}

.lp-feature:nth-child(even) .lp-feature__media {
    order: 2;
}

.lp-feature__media {
    display: flex;
    justify-content: center;
    will-change: transform;
}

.lp-feature__icon {
    width: clamp(160px, 26vw, 280px);
    aspect-ratio: 1;
    border-radius: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg,
        color-mix(in srgb, var(--accent) 16%, var(--color-card-bg)),
        var(--color-card-bg));
    border: 1px solid var(--color-border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.10);
}

.lp-feature__icon img {
    width: 55%;
    height: 55%;
}

.lp-feature__kicker {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.lp-feature__body h3 {
    margin: 0 0 14px;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.lp-feature__body p {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.65;
    color: var(--color-text-muted);
}

/* ── About ── */
.lp-section--about {
    background:
        radial-gradient(800px 400px at 90% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 60%);
    max-width: none;
}

.lp-about {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(36px, 6vw, 80px);
    align-items: center;
}

.lp-about__text p {
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin: 0 0 18px;
}

.lp-about__text .lp-section__title {
    text-align: left;
}

.lp-about__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.lp-stat {
    padding: 28px 24px;
    border-radius: 20px;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    text-align: center;
    will-change: transform;
}

.lp-stat__num {
    display: block;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(120deg, var(--accent), var(--color-qs-coral));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-stat__label {
    display: block;
    margin-top: 6px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* ── Pricing ── */
.lp-pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.lp-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 28px;
    border-radius: 22px;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lp-plan:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.10);
    border-color: color-mix(in srgb, var(--accent) 40%, var(--color-border));
}

.lp-plan--featured {
    border-color: var(--accent);
    box-shadow: 0 24px 60px color-mix(in srgb, var(--accent) 22%, transparent);
    transform: scale(1.03);
}

.lp-plan--featured:hover {
    transform: scale(1.03) translateY(-6px);
}

.lp-plan__badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.lp-plan__name {
    margin: 0 0 12px;
    font-size: 1.3rem;
    font-weight: 700;
}

.lp-plan__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 6px;
}

.lp-plan__amount {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lp-plan__per {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.lp-plan__tag {
    margin: 0 0 22px;
    font-size: 0.98rem;
    color: var(--color-text-muted);
}

.lp-plan__feats {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.lp-plan__feats li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.lp-plan__feats .ti {
    color: var(--accent);
    font-size: 18px;
    flex: none;
}

.lp-plan__cta {
    width: 100%;
}

/* ── Contact CTA band ── */
.lp-cta-band {
    max-width: 960px;
    margin: 0 auto clamp(70px, 10vw, 120px);
    padding: clamp(48px, 7vw, 80px) clamp(24px, 5vw, 60px);
    border-radius: 28px;
    text-align: center;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--accent) 90%, #000),
        var(--accent));
    color: #fff;
    box-shadow: 0 30px 70px color-mix(in srgb, var(--accent) 35%, transparent);
}

.lp-cta-band h2 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: -0.02em;
}

.lp-cta-band p {
    margin: 0 0 28px;
    font-size: 1.15rem;
    opacity: 0.9;
}

.lp-cta-band__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* On the coloured band, restyle the buttons for contrast. */
.lp-cta-band .qs-button {
    background: #fff;
    color: var(--accent-strong);
    --corner-color: rgba(255, 255, 255, 0.7);
}

.lp-cta-band .qs-button-ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    --corner-color: rgba(255, 255, 255, 0.7);
}

/* ───────────────────────────── FOOTER ───────────────────────────── */
.lp-footer {
    border-top: 1px solid var(--color-border);
    background: var(--color-footer-bg);
}

.lp-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 34px clamp(18px, 5vw, 48px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.lp-footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-footer__logo {
    width: 28px;
    height: 28px;
}

.lp-footer__name {
    font-weight: 700;
}

.lp-footer__links {
    display: flex;
    gap: 26px;
}

.lp-footer__links a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.98rem;
    transition: color 0.15s;
}

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

.lp-footer__legal {
    display: flex;
    flex-direction: column;
    text-align: right;
    gap: 2px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ───────────────────────────── LEGAL PAGE ───────────────────────────── */
.lp-legal {
    max-width: 800px;
    margin: 0 auto;
    padding: 140px clamp(18px, 5vw, 48px) 90px;
}

.lp-legal__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 26px;
}

.lp-legal__back:hover {
    text-decoration: underline;
}

.lp-legal__title {
    margin: 0 0 6px;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -0.02em;
}

.lp-legal__updated {
    margin: 0 0 40px;
    color: var(--color-text-muted);
}

.lp-legal h2 {
    margin: 34px 0 12px;
    font-size: 1.35rem;
}

.lp-legal p {
    margin: 0 0 16px;
    line-height: 1.7;
    color: var(--color-text-muted);
}

.lp-legal a {
    color: var(--accent);
}

/* ───────────────────────────── SCROLL REVEAL ───────────────────────────── */
[data-reveal] {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

[data-reveal][data-reveal-dir="left"] { transform: translateX(-48px); }
[data-reveal][data-reveal-dir="right"] { transform: translateX(48px); }

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none;
    }
    .lp-float-card,
    .lp-scroll-hint {
        animation: none;
    }
}

/* ───────────────────────────── RESPONSIVE ───────────────────────────── */
@media (max-width: 860px) {
    .lp-feature {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    .lp-feature:nth-child(even) .lp-feature__media {
        order: 0;
    }
    .lp-feature__kicker { display: inline-block; }
    .lp-about {
        grid-template-columns: 1fr;
    }
    .lp-about__text .lp-section__title { text-align: center; }
    .lp-about__text { text-align: center; }
    .lp-pricing {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }
    .lp-plan--featured {
        transform: none;
    }
    .lp-plan--featured:hover {
        transform: translateY(-6px);
    }
    .lp-hero__float {
        display: none;
    }
    .lp-footer__inner {
        flex-direction: column;
        text-align: center;
    }
    .lp-footer__legal {
        text-align: center;
    }
}

@media (max-width: 560px) {
    .lp-launcher__name {
        display: none;
    }
    .lp-btn-contact span,
    .lp-btn-contact {
        font-size: 14px;
        padding: 8px 14px;
    }
}

/* ============================================================
   LAUNCH LANDING — additions
   Header nav, trust bar, feature bullet lists, secondary module
   grid, two-column pricing and the FAQ accordion. Same tokens as
   above so light/dark keep working with no extra work.
   ============================================================ */

/* Icon + label spacing. .qs-button is an inline-flex container, so the literal
   space between <i> and the label collapses away — every landing CTA pairs an
   icon with text, so set the gap once here. */
.lp-body .qs-button,
.lp-body .qs-button-ghost {
    gap: 8px;
}

/* ── Skip link (keyboard + screen readers) ── */
.lp-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    padding: 10px 16px;
    background: var(--accent);
    color: #fff;
    border-radius: 0 0 10px 0;
    text-decoration: none;
    font-weight: 600;
}

.lp-skip:focus {
    left: 0;
}

/* ── Desktop section nav ── */
.lp-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.lp-nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.97rem;
    font-weight: 500;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.lp-nav a:hover {
    color: var(--color-text);
    border-bottom-color: var(--accent);
}

.lp-header__login {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.97rem;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}

.lp-header__login:hover {
    background: var(--color-card-hover-bg);
    color: var(--accent);
}

/* ── Hero price/proof note ── */
.lp-hero__note {
    margin: 22px auto 0;
    max-width: 640px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* ── Trust bar ── */
.lp-trust {
    max-width: 1200px;
    margin: 0 auto clamp(30px, 6vw, 60px);
    padding: 0 clamp(18px, 5vw, 48px);
}

.lp-trust__list {
    list-style: none;
    margin: 0;
    padding: 18px clamp(16px, 3vw, 30px);
    border-radius: 18px;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px clamp(18px, 3vw, 38px);
}

.lp-trust__list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.lp-trust__list .ti {
    color: var(--accent);
    font-size: 18px;
}

/* ── Feature bullet lists ── */
.lp-feature__list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-feature__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1rem;
    color: var(--color-text);
    text-align: left;
}

.lp-feature__list .ti {
    color: var(--accent);
    font-size: 18px;
    flex: none;
    margin-top: 2px;
}

/* ── Secondary modules grid ── */
.lp-modgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lp-mod {
    padding: 26px 22px;
    border-radius: 18px;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-mod:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--accent) 40%, var(--color-border));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.lp-mod img {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
}

.lp-mod h3 {
    margin: 0 0 8px;
    font-size: 1.12rem;
}

.lp-mod p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.55;
    color: var(--color-text-muted);
}

/* ── About: CTA under the narrative ── */
.lp-about__cta {
    margin: 26px 0 0;
}

/* ── Pricing: two published options ── */
.lp-pricing--two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 880px;
    margin: 0 auto;
}

.lp-plan__note {
    margin: 12px 0 0;
    font-size: 0.86rem;
    color: var(--color-text-muted);
    text-align: center;
}

.lp-pricing__foot {
    max-width: 780px;
    margin: clamp(30px, 5vw, 46px) auto 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.lp-pricing__foot .ti {
    color: var(--accent);
    font-size: 18px;
    flex: none;
    margin-top: 2px;
}

/* ── FAQ accordion (native <details>, no JS needed) ── */
.lp-faq {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-faq__item {
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: var(--color-card-bg);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.lp-faq__item[open] {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--color-border));
}

.lp-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    list-style: none;
}

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

.lp-faq__item summary:hover {
    color: var(--accent);
}

.lp-faq__item summary .ti {
    color: var(--accent);
    font-size: 20px;
    flex: none;
    transition: transform 0.2s ease;
}

.lp-faq__item[open] summary .ti {
    transform: rotate(45deg);
}

.lp-faq__a {
    padding: 0 22px 20px;
}

.lp-faq__a p {
    margin: 0;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* ── Footer: link columns above the legal line ── */
.lp-footer__top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 46px clamp(18px, 5vw, 48px) 10px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: clamp(24px, 4vw, 60px);
}

.lp-footer__pitch {
    margin: 14px 0 12px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    max-width: 380px;
}

.lp-footer__contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

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

.lp-footer__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-footer__heading {
    margin: 0 0 4px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.lp-footer__col a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.96rem;
    transition: color 0.15s;
}

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

/* The bottom strip now holds only the legal line, under the link columns. */
.lp-footer__top + .lp-footer__inner {
    justify-content: center;
    border-top: 1px solid var(--color-border);
    margin-top: 30px;
}

.lp-footer__top + .lp-footer__inner .lp-footer__legal {
    text-align: center;
    flex-direction: row;
    gap: 6px 18px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ── Legal page: lists ── */
.lp-legal ul {
    margin: 0 0 16px;
    padding-left: 22px;
    color: var(--color-text-muted);
}

.lp-legal li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* ── Responsive ── */
@media (max-width: 1080px) {
    .lp-nav {
        display: none;
    }
    .lp-modgrid {
        grid-template-columns: repeat(2, 1fr);
    }
    .lp-footer__top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .lp-pricing--two {
        grid-template-columns: 1fr;
        max-width: 440px;
    }
    .lp-feature__list li {
        text-align: left;
    }
    .lp-feature__list {
        max-width: 460px;
        margin-inline: auto;
    }
    .lp-header__login {
        display: none;
    }
}

@media (max-width: 560px) {
    .lp-modgrid {
        grid-template-columns: 1fr;
    }
    .lp-footer__top {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .lp-footer__pitch {
        margin-inline: auto;
    }
    .lp-footer__col {
        align-items: center;
    }
    .lp-trust__list {
        justify-content: flex-start;
    }
    .lp-btn-contact span {
        display: none;
    }
}
