/**
 * telbit-landing.css
 *
 * Scoped styles for the Telbit marketing landing page (TelbitLandingWidget).
 * Every selector is under `.tl-landing`. ALL colour/spacing/radius/shadow/type
 * comes from `--platform-*` tokens (consumed, never overridden) so the page is
 * visually continuous with PlatformAuthPagesWidget. RTL-safe via logical
 * properties only — no hardcoded left/right for layout. Headings use clamp().
 * Breakpoints: 1024px (tablet) and 767px (phone), matching platform-auth.css.
 */

.tl-landing {
    --tl-maxw: 1180px;
    --tl-pad: clamp(16px, 5vw, 48px);
    --tl-section-y: clamp(64px, 9vw, 140px);

    /* Soft, diffuse float shadow recipe (large blur, low alpha, primary-tinted) */
    --tl-shadow-soft: 0 24px 60px color-mix(in srgb, var(--platform-primary) 10%, transparent);
    --tl-shadow-float: 0 32px 80px color-mix(in srgb, var(--platform-primary) 12%, transparent);
    /* Lighter hairline so cards read soft */
    --tl-hairline: color-mix(in srgb, var(--platform-primary) 8%, var(--platform-border));

    font-family: var(--platform-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
    color: var(--platform-text-primary);
    background: var(--platform-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

.tl-landing *,
.tl-landing *::before,
.tl-landing *::after {
    box-sizing: border-box;
}

.tl-landing img {
    max-width: 100%;
    height: auto;
    display: block;
}

.tl-container {
    width: 100%;
    max-width: var(--tl-maxw);
    margin-inline: auto;
    padding-inline: var(--tl-pad);
}

/* Keep anchor-target headings clear of the sticky nav when jumped to */
.tl-landing #features,
.tl-landing #why,
.tl-landing #grow,
.tl-landing #pricing,
.tl-landing #faq {
    scroll-margin-block-start: 84px;
}
/* ── LINKS ───────────────────────────────────────────────────────── */
.tl-landing.tl-landing a {
    color: var(--platform-text-secondary);
    text-decoration-color: color-mix(in srgb, var(--platform-text-secondary) 45%, transparent);
}

/* .tl-landing a:visited {
    color: var(--platform-text-secondary) !important;
    text-decoration-color: color-mix(in srgb, var(--platform-text-secondary) 45%, transparent) !important;
} */

.tl-landing.tl-landing a:hover,
.tl-landing.tl-landing a:active {
    color: var(--platform-primary);
}

.tl-landing.tl-landing a:focus-visible {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--platform-primary) 20%, transparent);
}

/* ── Buttons ───────────────────────────────────────────────────────── */
.tl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: var(--platform-font-weight-bold, 700);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
    white-space: nowrap;
}

.tl-btn--lg {
    min-height: 54px;
    padding: 15px 30px;
    font-size: 1rem;
}

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

.tl-btn--primary, a.tl-btn--primary {
    background: var(--platform-primary);
    color: var(--platform-text-primary, #fff) !important;
    box-shadow: 0 18px 40px color-mix(in srgb, var(--platform-primary) 22%, transparent) !important;
}

.tl-btn--primary:hover, a.tl-btn--primary:hover
.tl-btn--primary:focus, a.tl-btn--primary:active
 {
    background: var(--platform-primary-dark) !important;
    color: var(--platform-text-primary, #fff) !important;
    transform: translateY(-2px);
}

.tl-btn--ghost {
    background: transparent;
    color: var(--platform-primary);
    border-color: color-mix(in srgb, var(--platform-primary) 40%, transparent);
}

.tl-btn--ghost:hover {
    background: color-mix(in srgb, var(--platform-primary) 8%, transparent);
    transform: translateY(-2px);
}

/* On dark gradient bands */
.tl-btn--on-dark {
    background: var(--platform-surface);
    color: var(--platform-primary);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
}

.tl-btn--on-dark:hover {
    transform: translateY(-2px);
    background: #fff;
}

/* ── Shared section primitives ─────────────────────────────────────── */
.tl-kicker {
    margin: 0 0 12px;
    color: var(--platform-primary);
    font-weight: var(--platform-font-weight-bold, 700);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tl-section-title {
    margin: 0 0 clamp(36px, 4.5vw, 56px);
    font-size: clamp(1.6rem, 2.4vw + 1rem, 2.6rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-weight: var(--platform-font-weight-bold, 700);
    color: var(--platform-text-primary);
}

.tl-center {
    text-align: center;
}

.tl-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--platform-primary) 7%, var(--platform-surface));
    border: 1px solid color-mix(in srgb, var(--platform-primary) 12%, transparent);
    color: var(--platform-primary);
    font-size: 0.85rem;
    font-weight: var(--platform-font-weight-bold, 700);
}

.tl-card {
    background: var(--platform-surface);
    border: 1px solid var(--tl-hairline);
    border-radius: var(--platform-radius-xxl, 32px);
    box-shadow: var(--tl-shadow-soft);
}

.tl-stars {
    color: var(--platform-warning, #F97342);
    display: inline-flex;
    gap: 2px;
    font-size: 0.85rem;
}

.tl-bullets {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tl-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--platform-text-secondary);
}

.tl-bullets li i {
    color: var(--platform-primary);
    margin-top: 4px;
    flex-shrink: 0;
}

/* Scroll-reveal */
.tl-landing [data-tl-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--tl-delay, 0ms);
}

.tl-landing [data-tl-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

/* ── 1. Nav ────────────────────────────────────────────────────────── */
.tl-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    background: transparent;
    border-block-end: 1px solid transparent;
}

.tl-nav.is-scrolled {
    background: color-mix(in srgb, var(--platform-surface) 92%, transparent);
    backdrop-filter: saturate(180%) blur(12px);
    box-shadow: var(--platform-shadow-sm, 0 2px 10px rgba(0, 0, 0, 0.06));
    border-block-end-color: var(--platform-border);
}

.tl-nav__inner {
    max-width: var(--tl-maxw);
    margin-inline: auto;
    padding: 14px var(--tl-pad);
    display: flex;
    align-items: center;
    gap: 18px;
}

.tl-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--platform-text-primary);
}

.tl-nav__logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.tl-nav__brand-name {
    font-weight: var(--platform-font-weight-bold, 700);
    font-size: 1.2rem;
}

.tl-nav__links {
    list-style: none;
    margin: 0;
    margin-inline-start: auto;
    padding: 0;
    display: flex;
    gap: 24px;
}

.tl-nav__link {
    color: var(--platform-text-secondary);
    text-decoration: none;
    font-weight: var(--platform-font-weight-medium, 500);
}

.tl-nav__link:hover {
    color: var(--platform-primary);
}

.tl-nav__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-inline-start: 8px;
}

.tl-lang {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding-inline: 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--platform-border) 70%, transparent);
    background: color-mix(in srgb, var(--platform-surface) 80%, transparent);
    color: var(--platform-text-secondary);
}

.tl-lang__select {
    border: 0;
    background: transparent;
    color: var(--platform-text-primary);
    font: inherit;
    outline: none;
    cursor: pointer;
}

.tl-nav__burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-inline-start: auto;
    border: 1px solid var(--platform-border);
    border-radius: 12px;
    background: var(--platform-surface);
    color: var(--platform-text-primary);
    font-size: 1.2rem;
    cursor: pointer;
}

/* Drawer */
.tl-drawer__backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(0, 0, 0, 0.45);
}

.tl-drawer {
    position: fixed;
    inset-block: 0;
    inset-inline-end: 0;
    z-index: 61;
    width: min(82vw, 320px);
    background: var(--platform-surface);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.18);
    padding: 84px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tl-drawer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tl-drawer__link {
    display: block;
    padding: 14px 8px;
    min-height: 48px;
    border-block-end: 1px solid var(--platform-border);
    color: var(--platform-text-primary);
    text-decoration: none;
    font-weight: var(--platform-font-weight-medium, 500);
}

/* ── Scroll-to-top floating button ─────────────────────────────────── */
.tl-fab {
    position: fixed;
    inset-block-end: clamp(16px, 3vw, 28px);
    inset-inline-end: clamp(16px, 3vw, 28px);
    z-index: 40; /* above page content, below the mobile drawer (60/61) and nav (50) */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--platform-primary);
    color: var(--platform-text-on-primary, #fff);
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 14px 32px color-mix(in srgb, var(--platform-primary) 32%, transparent);
    transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.tl-fab:hover {
    background: var(--platform-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px color-mix(in srgb, var(--platform-primary) 38%, transparent);
}

.tl-fab:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--platform-primary) 60%, transparent);
    outline-offset: 3px;
}

/* ── 2. Hero ───────────────────────────────────────────────────────── */
.tl-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(72px, 10vw, 152px);
    background:
        radial-gradient(ellipse 70% 60% at 75% 0%, color-mix(in srgb, var(--platform-primary) 12%, transparent), transparent 70%),
        radial-gradient(ellipse 60% 50% at 10% 20%, color-mix(in srgb, var(--platform-warning) 9%, transparent), transparent 65%),
        linear-gradient(180deg, color-mix(in srgb, var(--platform-primary-light) 32%, var(--platform-surface)) 0%, var(--platform-surface) 60%);
}

.tl-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.tl-hero__title {
    margin: 20px 0 0;
    font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: var(--platform-font-weight-bold, 700);
    color: var(--platform-text-primary);
}

.tl-hero__lede {
    margin: 18px 0 0;
    max-width: 38rem;
    font-size: clamp(1rem, 0.6vw + 0.9rem, 1.18rem);
    color: var(--platform-text-secondary);
    line-height: 1.8;
}

.tl-hero__actions {
    margin-block-start: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.tl-hero__trust {
    margin-block-start: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--platform-text-muted);
    font-size: 0.9rem;
}

.tl-hero__media {
    display: flex;
    justify-content: center;
}

.tl-hero__glow {
    position: absolute;
    inset-block-start: -25%;
    inset-inline-end: -15%;
    width: 65%;
    height: 150%;
    background: radial-gradient(circle, color-mix(in srgb, var(--platform-primary) 10%, transparent), transparent 62%);
    filter: blur(8px);
    pointer-events: none;
}

/* ── 3. Promo band ─────────────────────────────────────────────────── */
.tl-promo {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding-block: clamp(44px, 6vw, 72px);
    background:
        radial-gradient(ellipse 60% 120% at 85% 50%, color-mix(in srgb, var(--platform-warning) 60%, transparent), transparent 70%),
        linear-gradient(150deg, var(--platform-primary) 0%, color-mix(in srgb, var(--platform-warning) 72%, var(--platform-primary)) 100%);
}

.tl-promo__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.tl-promo__title {
    margin: 0;
    font-size: clamp(1.4rem, 2vw + 0.8rem, 2.1rem);
    font-weight: var(--platform-font-weight-bold, 700);
}

.tl-promo__text {
    margin: 8px 0 0;
    max-width: 46rem;
    color: color-mix(in srgb, #fff 92%, transparent);
    line-height: 1.7;
}

/* ── 4. Pains ──────────────────────────────────────────────────────── */
.tl-pains {
    background:
        radial-gradient(ellipse 80% 100% at 50% -10%, color-mix(in srgb, var(--platform-primary) 5%, transparent), transparent 60%),
        var(--platform-surface);
    padding-block: var(--tl-section-y);
}

.tl-pains__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 2.5vw, 32px);
}

.tl-pain {
    padding: clamp(28px, 3vw, 36px);
}

.tl-pain__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--platform-warning) 10%, var(--platform-surface));
    border: 1px solid color-mix(in srgb, var(--platform-warning) 14%, transparent);
    color: var(--platform-warning);
    font-size: 1.3rem;
}

.tl-pain__q {
    margin: 16px 0 0;
    font-size: 1.18rem;
    font-weight: var(--platform-font-weight-bold, 700);
    color: var(--platform-text-primary);
}

.tl-pain__a {
    margin: 12px 0 0;
    color: var(--platform-text-secondary);
}

.tl-pain__arrow {
    color: var(--platform-primary);
    margin-inline-end: 6px;
}

/* ── 5. Features ───────────────────────────────────────────────────── */
.tl-features {
    padding-block: var(--tl-section-y);
    background:
        radial-gradient(ellipse 60% 50% at 12% 8%, color-mix(in srgb, var(--platform-primary) 7%, transparent), transparent 60%),
        linear-gradient(180deg, color-mix(in srgb, var(--platform-primary-light) 22%, var(--platform-surface)), var(--platform-surface));
}

.tl-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 2.5vw, 32px);
}

.tl-feature {
    padding: clamp(28px, 3vw, 36px);
}

.tl-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--platform-primary) 9%, var(--platform-surface));
    border: 1px solid color-mix(in srgb, var(--platform-primary) 12%, transparent);
    color: var(--platform-primary);
    font-size: 1.4rem;
}

.tl-feature__title {
    margin: 18px 0 0;
    font-size: 1.18rem;
    font-weight: var(--platform-font-weight-bold, 700);
    color: var(--platform-text-primary);
}

.tl-feature__text {
    margin: 10px 0 0;
    color: var(--platform-text-secondary);
}

/* ── 7. Built to grow with you ─────────────────────────────────────── */
.tl-grow {
    padding-block: var(--tl-section-y);
    background:
        radial-gradient(ellipse 60% 50% at 88% 8%, color-mix(in srgb, var(--platform-primary) 7%, transparent), transparent 60%),
        linear-gradient(180deg, color-mix(in srgb, var(--platform-primary-light) 22%, var(--platform-surface)), var(--platform-surface));
}

.tl-grow__lede {
    margin: -20px auto clamp(36px, 4.5vw, 56px);
    max-width: 44rem;
    color: var(--platform-text-secondary);
    line-height: 1.8;
}

/* 5 cards in a 3 + 2 layout: a 6-track grid lets each card span 2 tracks, so
   the trailing two cards (4 & 5) can be offset by one track and sit centered
   under the top row of three — no awkward orphan. */
.tl-grow__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(20px, 2.5vw, 32px);
}

.tl-grow__grid > * {
    grid-column: span 2;
}

.tl-grow__grid > :nth-child(4) {
    grid-column: 2 / span 2;
}

.tl-grow__grid > :nth-child(5) {
    grid-column: 4 / span 2;
}

/* ── 6. Showcase ───────────────────────────────────────────────────── */
.tl-showcase {
    padding-block: var(--tl-section-y);
    background: var(--platform-surface);
}

.tl-show-row + .tl-show-row {
    margin-block-start: clamp(56px, 8vw, 112px);
}

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

.tl-show-row {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    margin-block-start: clamp(40px, 6vw, 80px);
}

.tl-show-row:first-of-type {
    margin-block-start: 0;
}

.tl-show-row--reverse {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.tl-show-row--reverse .tl-show-row__media {
    order: 2;
}

.tl-show-row__title {
    margin: 0;
    font-size: clamp(1.4rem, 2vw + 0.8rem, 2rem);
    font-weight: var(--platform-font-weight-bold, 700);
    color: var(--platform-text-primary);
}

.tl-show-row__text {
    margin: 14px 0 0;
    color: var(--platform-text-secondary);
    line-height: 1.8;
}

/* ── Mockup frames ─────────────────────────────────────────────────── */
.tl-mockup {
    margin: 0;
    width: 100%;
    max-width: 100%;
    border-radius: var(--platform-radius-xl, 24px);
    overflow: hidden;
    background: var(--platform-surface);
    border: 1px solid var(--tl-hairline);
    box-shadow: var(--tl-shadow-float);
    transition: transform 0.3s ease;
}

@media (hover: hover) and (min-width: 1025px) {
    .tl-mockup--browser:hover {
        transform: translateY(-6px);
    }
}

.tl-mockup__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 34px;
    padding-inline: 16px;
    background: color-mix(in srgb, var(--platform-surface-elevated) 70%, var(--platform-surface));
    border-block-end: 1px solid color-mix(in srgb, var(--platform-border) 60%, transparent);
}

.tl-mockup__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--platform-text-muted) 32%, transparent);
}

.tl-mockup__screen {
    /*
     * Height follows the screenshot (FA ~1600×925, EN ~1380×768).
     * Avoid a fixed aspect-ratio + object-fit:cover — that side-crops
     * wider EN captures and pins the panel menu flush to the frame.
     */
    padding: 0;
    background: color-mix(in srgb, var(--platform-surface-elevated) 70%, #0f1220);
    line-height: 0;
    overflow: hidden;
}

.tl-mockup__screen img {
    display: block;
    width: 100%;
    height: auto;
}

/* Phone frame (hero) */
.tl-mockup--phone {
    width: 280px;
    max-width: 80vw;
    border-radius: 26px;
    border: 3px solid #232e41;
    background: #232e41;
    box-shadow: 0 30px 70px color-mix(in srgb, var(--platform-primary) 26%, transparent);
    position: relative;
    padding: 5px;
    padding-block-start: 22px;
}

.tl-mockup__notch {
    position: absolute;
    inset-block-start: 8px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 10px;
    background: #0a0a10;
    border-radius: 999px;
    z-index: 2;
    pointer-events: none;
}

[dir="rtl"] .tl-mockup__notch {
    transform: translateX(50%);
}

.tl-mockup__screen--phone {
    /*
     * Height follows the PNG (FA 832×1800, EN 768×1636).
     * No fixed aspect-ratio + object-fit:cover — that side-crops EN
     * and pins the storefront chrome flush to the phone frame.
     */
    border-radius: 16px;
    overflow: hidden;
    background: #0f1220;
    line-height: 0;
}

.tl-mockup__screen--phone img {
    display: block;
    width: 100%;
    height: auto;
}

/* ── 8. Proof ──────────────────────────────────────────────────────── */
/* White surface — keeps the white→wash rhythm after the lavender grow wash. */
.tl-proof {
    padding-block: var(--tl-section-y);
    background:
        radial-gradient(ellipse 80% 100% at 50% -10%, color-mix(in srgb, var(--platform-primary) 5%, transparent), transparent 60%),
        var(--platform-surface);
}

.tl-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-block-end: clamp(40px, 6vw, 72px);
}

.tl-stat {
    text-align: center;
    padding: 28px 14px;
    border-radius: var(--platform-radius-xl, 24px);
    background: var(--platform-surface);
    border: 1px solid var(--tl-hairline);
    box-shadow: var(--tl-shadow-soft);
}

.tl-stat__num {
    display: block;
    font-size: clamp(1.5rem, 2vw + 1rem, 2.4rem);
    font-weight: var(--platform-font-weight-bold, 700);
    color: var(--platform-primary);
    line-height: 1.1;
    direction: ltr;
}

.tl-stat__label {
    display: block;
    margin-block-start: 6px;
    color: var(--platform-text-muted);
    font-size: 0.9rem;
}

.tl-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tl-testimonial {
    padding: clamp(28px, 3vw, 36px);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tl-testimonial__quote {
    margin: 0;
    color: var(--platform-text-secondary);
    line-height: 1.8;
    font-size: 1.02rem;
}

.tl-testimonial__by {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-block-start: auto;
}

.tl-testimonial__avatar,
.tl-testimonial__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    flex-shrink: 0;
    background: linear-gradient(145deg, var(--platform-primary), var(--platform-warning));
    color: #fff;
    font-weight: var(--platform-font-weight-bold, 700);
}

.tl-testimonial__logo {
    object-fit: cover;
    background: transparent;
    border: 1px solid var(--tl-hairline);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--platform-primary) 8%, transparent);
}

.tl-testimonial__name {
    display: block;
    color: var(--platform-text-primary);
}

.tl-testimonial__role {
    display: block;
    color: var(--platform-text-muted);
    font-size: 0.85rem;
}

/* ── 9. Pricing ────────────────────────────────────────────────────── */
/* Soft lavender wash — alternates against the white proof section above. */
.tl-pricing {
    padding-block: var(--tl-section-y);
    background:
        radial-gradient(ellipse 60% 50% at 12% 8%, color-mix(in srgb, var(--platform-primary) 7%, transparent), transparent 60%),
        linear-gradient(180deg, color-mix(in srgb, var(--platform-primary-light) 22%, var(--platform-surface)), var(--platform-surface));
}

.tl-pricing__wrap {
    display: flex;
    justify-content: center;
}

.tl-price-card {
    width: 100%;
    max-width: 560px;
    text-align: center;
    padding: clamp(32px, 4.5vw, 56px);
    border-radius: var(--platform-radius-xxl, 32px);
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--platform-primary) 7%, transparent), transparent 60%),
        var(--platform-surface);
    border: 1px solid color-mix(in srgb, var(--platform-primary) 18%, var(--platform-border));
    box-shadow: var(--tl-shadow-float);
}

.tl-price-card__title {
    margin: 18px 0 0;
    font-size: clamp(1.5rem, 2vw + 1rem, 2.3rem);
    font-weight: var(--platform-font-weight-bold, 700);
}

.tl-price-card__sub {
    margin: 12px 0 0;
    color: var(--platform-text-secondary);
}

.tl-price-card__amount {
    margin-block: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.tl-price-card__free {
    font-size: clamp(2.6rem, 5vw + 1rem, 4rem);
    font-weight: var(--platform-font-weight-bold, 700);
    color: var(--platform-primary);
    line-height: 1;
}

.tl-price-card__period {
    color: var(--platform-text-muted);
    font-weight: var(--platform-font-weight-medium, 500);
}

.tl-price-card__list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: start;
    max-width: 340px;
    margin-inline: auto;
}

.tl-price-card__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--platform-text-secondary);
}

.tl-price-card__list i {
    color: var(--platform-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.tl-price-card__note {
    margin: 16px 0 0;
    color: var(--platform-text-muted);
    font-size: 0.9rem;
}

/* ── 10. FAQ ───────────────────────────────────────────────────────── */
/* White surface — alternates against the lavender pricing wash above. */
.tl-faq {
    padding-block: var(--tl-section-y);
    background:
        radial-gradient(ellipse 80% 100% at 50% -10%, color-mix(in srgb, var(--platform-primary) 5%, transparent), transparent 60%),
        var(--platform-surface);
}

.tl-faq__wrap {
    max-width: 820px;
}

.tl-faq__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tl-faq__item {
    background: var(--platform-surface);
    border: 1px solid var(--tl-hairline);
    border-radius: var(--platform-radius-xl, 24px);
    box-shadow: var(--tl-shadow-soft);
    overflow: hidden;
}

.tl-faq__item.is-open {
    border-color: color-mix(in srgb, var(--platform-primary) 35%, transparent);
}

.tl-faq__heading {
    margin: 0;
}

.tl-faq__q {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: var(--platform-font-weight-bold, 700);
    color: var(--platform-text-primary);
    text-align: start;
    cursor: pointer;
}

.tl-faq__chevron {
    color: var(--platform-primary);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.tl-faq__item.is-open .tl-faq__chevron {
    transform: rotate(180deg);
}

.tl-faq__a {
    padding: 0 22px 20px;
    color: var(--platform-text-secondary);
    line-height: 1.8;
}

.tl-faq__a p {
    margin: 0;
}

.tl-faq__a--enter {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* ── 11. Final CTA ─────────────────────────────────────────────────── */
.tl-cta {
    position: relative;
    overflow: hidden;
    padding-block: clamp(72px, 10vw, 140px);
    text-align: center;
    color: #fff;
    background:
        radial-gradient(ellipse 50% 80% at 12% 0%, color-mix(in srgb, var(--platform-warning) 16%, transparent), transparent 60%),
        linear-gradient(135deg, var(--platform-primary) 0%, color-mix(in srgb, var(--platform-primary) 50%, var(--platform-primary-dark)) 100%);
}

.tl-cta__inner {
    position: relative;
    z-index: 1;
}

.tl-cta__title {
    margin: 0;
    font-size: clamp(1.8rem, 3vw + 1rem, 3rem);
    font-weight: var(--platform-font-weight-bold, 700);
}

.tl-cta__text {
    margin: 16px auto 28px;
    max-width: 44rem;
    color: color-mix(in srgb, #fff 90%, transparent);
    font-size: 1.1rem;
    line-height: 1.7;
}

.tl-cta__glow {
    position: absolute;
    inset-block-end: -40%;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 100%;
    background: radial-gradient(circle, color-mix(in srgb, #fff 18%, transparent), transparent 60%);
    pointer-events: none;
}

/* ── 12. Footer ────────────────────────────────────────────────────── */
.tl-footer {
    background: var(--platform-surface);
    border-block-start: 1px solid var(--platform-border);
    padding-block: clamp(40px, 6vw, 72px);
}

.tl-footer__top {
    display: grid;
    grid-template-columns: 1.6fr repeat(4, 1fr);
    gap: 32px;
}

.tl-footer__brand {
    max-width: 320px;
}

.tl-footer__logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.tl-footer__name {
    display: block;
    margin-block-start: 8px;
    font-size: 1.2rem;
    color: var(--platform-text-primary);
}

.tl-footer__tag {
    margin: 10px 0 0;
    color: var(--platform-text-muted);
    line-height: 1.7;
}

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

.tl-footer__heading {
    margin: 0 0 6px;
    font-size: 0.95rem;
    font-weight: var(--platform-font-weight-bold, 700);
    color: var(--platform-text-primary);
}

.tl-footer__col a,
.tl-footer__link-btn {
    color: var(--platform-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
}

.tl-footer__col a:hover,
.tl-footer__link-btn:hover {
    color: var(--platform-primary);
}

/* Legal links rendered as buttons (open the slide-overs) — look like links */
.tl-footer__link-btn {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    min-height: 24px;
    font-family: inherit;
    font-weight: var(--platform-font-weight-medium, 500);
    text-align: start;
    cursor: pointer;
}

.tl-footer__link-btn:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--platform-primary) 60%, transparent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ── Legal slide-over content (Rules / Licences) ───────────────────── */
.tl-legal {
    font-family: var(--platform-font-family, inherit);
    color: var(--platform-text-secondary);
    line-height: 1.8;
}

.tl-legal__intro {
    margin: 0 0 24px;
    color: var(--platform-text-muted);
    font-size: 0.95rem;
}

.tl-legal__rules {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: tl-rule;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tl-legal__rules li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tl-legal__rules li i {
    color: var(--platform-primary);
    margin-block-start: 5px;
    flex-shrink: 0;
}

.tl-legal__blocks {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tl-legal__block {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: var(--platform-radius-lg, 16px);
    background: color-mix(in srgb, var(--platform-primary-light) 28%, var(--platform-surface));
    border: 1px solid var(--tl-hairline);
}

.tl-legal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 14px;
    background: color-mix(in srgb, var(--platform-primary) 12%, transparent);
    color: var(--platform-primary);
    font-size: 1.2rem;
}

.tl-legal__title {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: var(--platform-font-weight-bold, 700);
    color: var(--platform-text-primary);
}

.tl-legal__text {
    margin: 0;
    font-size: 0.92rem;
    color: var(--platform-text-secondary);
}

.tl-footer__contact p {
    margin: 0;
    color: var(--platform-text-secondary);
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tl-footer__contact i {
    color: var(--platform-primary);
}

.tl-footer__bottom {
    margin-block-start: 36px;
    padding-block-start: 24px;
    border-block-start: 1px solid var(--platform-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.tl-footer__badges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.tl-footer__badges img {
    height: 48px;
    width: auto;
    object-fit: contain;
    opacity: 0.95;
}

.tl-footer__copyright {
    margin: 0;
    color: var(--platform-text-muted);
    font-size: 0.9rem;
}

/* ════════════════════════════════════════════════════════════════════
   Responsive — tablet ≤1024px
   ════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .tl-features__grid,
    .tl-pains__grid,
    .tl-testimonials {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Grow: 2-col tablet on a 6-track grid (each card spans 3); the 5th card
       centers across the bottom row. */
    .tl-grow__grid > *,
    .tl-grow__grid > :nth-child(4),
    .tl-grow__grid > :nth-child(5) {
        grid-column: span 3;
    }

    .tl-grow__grid > :nth-child(5) {
        grid-column: 2 / span 3;
    }

    .tl-hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tl-hero__copy {
        max-width: 640px;
        margin-inline: auto;
    }

    .tl-hero__lede {
        margin-inline: auto;
    }

    .tl-hero__actions,
    .tl-hero__trust {
        justify-content: center;
    }

    .tl-footer__top {
        grid-template-columns: 1fr 1fr;
    }

    .tl-footer__brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

/* ════════════════════════════════════════════════════════════════════
   Responsive — phone ≤767px
   ════════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
    .tl-nav__links,
    .tl-nav__actions {
        display: none;
    }

    .tl-nav__burger {
        display: inline-flex;
    }

    .tl-features__grid,
    .tl-pains__grid,
    .tl-testimonials {
        grid-template-columns: 1fr;
    }

    /* Grow: single column on phone — every card spans the full 6-track grid. */
    .tl-grow__grid > *,
    .tl-grow__grid > :nth-child(4),
    .tl-grow__grid > :nth-child(5) {
        grid-column: 1 / -1;
    }

    .tl-stats {
        grid-template-columns: 1fr 1fr;
    }

    .tl-show-row,
    .tl-show-row--reverse {
        grid-template-columns: 1fr;
    }

    /* Always stack image then text on mobile, regardless of row direction */
    .tl-show-row__media,
    .tl-show-row--reverse .tl-show-row__media {
        order: 0;
    }

    .tl-promo__inner {
        flex-direction: column;
        text-align: center;
    }

    .tl-promo__text {
        margin-inline: auto;
    }

    .tl-hero__actions .tl-btn,
    .tl-cta .tl-btn,
    .tl-promo .tl-btn {
        width: 100%;
    }

    .tl-footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .tl-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 380px) {
    .tl-footer__top {
        grid-template-columns: 1fr;
    }
}

/* ── Reduced motion ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .tl-landing [data-tl-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .tl-btn,
    .tl-fab,
    .tl-mockup,
    .tl-faq__chevron {
        transition: none !important;
    }

    .tl-btn:hover,
    .tl-fab:hover,
    .tl-mockup--browser:hover {
        transform: none !important;
    }
}
