/*
 * The public landing page (ADR 046). Standalone on purpose: no build step, no
 * panel theme, no icon font. --lp-primary / --lp-accent are set inline from the
 * operator's colours in admin/landing. Logical properties throughout, so the
 * same rules read correctly in RTL (ar) and LTR (en).
 */

:root {
    --lp-primary: #3fa9e5;
    --lp-accent: #00246c;
    --lp-ink: #0d1b3d;
    --lp-ink-soft: #4a5878;
    --lp-line: #e3e9f4;
    --lp-surface: #ffffff;
    --lp-muted: #f4f7fc;
    --lp-on-brand: rgba(255, 255, 255, 0.82);
    --lp-radius: 16px;
    --lp-radius-sm: 12px;
    --lp-radius-pill: 999px;
    --lp-shadow: 0 16px 40px rgba(13, 27, 61, 0.08);
    --lp-shadow-sm: 0 4px 14px rgba(13, 27, 61, 0.06);
    --lp-gutter: 20px;
    --lp-max: 1120px;
    --lp-header-h: 68px;
    --lp-section-y: clamp(4.5rem, 8vw, 6.5rem);
    --lp-heading-gap: 2.75rem;
    --lp-text-sm: 0.875rem;
    --lp-text-md: 1rem;
    --lp-text-lg: 1.125rem;
    --lp-title-sm: 1.1875rem;
    --lp-title: clamp(1.75rem, 3vw, 2.375rem);
    --lp-hero-title: clamp(1.85rem, 4vw, 3.15rem);
    color-scheme: light;
}

@media (min-width: 768px) {
    :root { --lp-gutter: 32px; }
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--lp-header-h) + 12px); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/*
 * Hero copy and art stay invisible until GSAP runs, so the entrance does not
 * flash fully painted and then jump. The class is added in the head only when
 * the visitor has not asked for reduced motion, and removed if the script
 * never starts. Below-the-fold sections are hidden by GSAP itself.
 */
@media (prefers-reduced-motion: no-preference) {
    html.lp-motion { scroll-behavior: auto; }

    html.lp-motion .lp-hero-copy .lp-heading > *,
    html.lp-motion .lp-hero-copy .lp-btn,
    html.lp-motion .lp-hero-media > img,
    html.lp-motion .lp-art-card,
    html.lp-motion .lp-art-pin {
        opacity: 0;
        visibility: hidden;
    }

    /* GSAP owns the pin float and the hover lift, so the CSS copies do not fight it. */
    html.lp-motion .lp-art-pin { animation: none; }

    html.lp-motion .lp-btn:hover,
    html.lp-motion .lp-card:hover { transform: none; }
}

.lp-progress {
    position: fixed;
    inset-block-start: 0;
    inset-inline-start: 0;
    z-index: 80;
    inline-size: 100%;
    block-size: 3px;
    background: var(--lp-primary);
    transform: scaleX(0);
    transform-origin: inline-start;
    pointer-events: none;
}

body {
    margin: 0;
    font-family: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--lp-ink);
    background: var(--lp-surface);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.lp-menu-open { overflow: hidden; }

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

a { color: inherit; }

h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 700; }

p { margin: 0; }

:focus-visible { outline: 3px solid var(--lp-primary); outline-offset: 3px; border-radius: 6px; }

.lp-skip {
    position: absolute;
    inset-inline-start: 12px;
    inset-block-start: 12px;
    z-index: 100;
    padding: 8px 14px;
    border-radius: var(--lp-radius-sm);
    background: #fff;
    color: var(--lp-ink);
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-160%);
}

.lp-skip:focus { transform: none; }

.lp-container {
    width: 100%;
    max-width: var(--lp-max);
    margin-inline: auto;
    padding-inline: var(--lp-gutter);
}

.lp-narrow { max-width: 820px; }

/* ── Icons ─────────────────────────────────────────────────────────────── */

.lp-icon {
    display: inline-block;
    inline-size: 1.25em;
    block-size: 1.25em;
    flex: none;
    background-color: currentColor;
    -webkit-mask: var(--lp-icon) center / contain no-repeat;
    mask: var(--lp-icon) center / contain no-repeat;
}

/* ── Operator bar ──────────────────────────────────────────────────────── */

.lp-operator-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    align-items: center;
    justify-content: center;
    padding: 8px var(--lp-gutter);
    font-size: 14px;
    background: var(--lp-ink);
    color: #fff;
    text-align: center;
}

.lp-operator-bar.is-preview { background: #b45309; }

.lp-operator-bar a { font-weight: 600; }

.lp-announce {
    padding: 10px var(--lp-gutter);
    background: var(--lp-primary);
    color: #fff;
    font-weight: 600;
    text-align: center;
}

.lp-announce a { color: inherit; text-underline-offset: 3px; }

/* ── Header ────────────────────────────────────────────────────────────── */

/*
 * The background lives on ::before, NOT on the header: a filter on the header
 * itself becomes the containing block of its position:fixed descendants, which
 * squeezed the mobile menu into the header's 68px. Solid, not blurred — the
 * bar should read as a surface, not as glass.
 */
.lp-header {
    position: sticky;
    inset-block-start: 0;
    z-index: 50;
    border-block-end: 1px solid transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lp-header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, 0.96);
}

.lp-header.is-scrolled { border-color: var(--lp-line); box-shadow: var(--lp-shadow-sm); }

.lp-header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    min-block-size: var(--lp-header-h);
}

.lp-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    color: var(--lp-ink);
    min-width: 0;
}

.lp-brand img { inline-size: 40px; block-size: 40px; object-fit: contain; }

.lp-brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lp-nav { margin-inline-start: auto; }

.lp-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
}

.lp-nav ul a {
    display: block;
    padding: 8px 12px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    color: var(--lp-ink-soft);
    transition: color 0.15s, background 0.15s;
}

.lp-nav ul a:hover,
.lp-nav ul a.is-current { color: var(--lp-ink); background: var(--lp-muted); }

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

.lp-lang {
    display: inline-flex;
    padding: 3px;
    border-radius: 999px;
    background: var(--lp-muted);
    border: 1px solid var(--lp-line);
}

.lp-lang a {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: var(--lp-ink-soft);
}

.lp-lang a[aria-current] { background: #fff; color: var(--lp-ink); box-shadow: var(--lp-shadow-sm); }

.lp-menu-toggle {
    display: none;
    margin-inline-start: auto;
    inline-size: 44px;
    block-size: 44px;
    border: 1px solid var(--lp-line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.lp-menu-toggle span {
    display: block;
    inline-size: 20px;
    block-size: 2px;
    border-radius: 2px;
    background: var(--lp-ink);
    transition: transform 0.2s, opacity 0.2s;
}

.lp-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lp-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.lp-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
    .lp-menu-toggle { display: inline-flex; }

    .lp-nav {
        position: fixed;
        inset: var(--lp-header-h) 0 0 0;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 20px var(--lp-gutter) 32px;
        background: #fff;
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    }

    .lp-nav.is-open { visibility: visible; opacity: 1; transform: none; }

    .lp-nav ul { flex-direction: column; gap: 2px; }

    .lp-nav ul a { padding: 14px 12px; font-size: 18px; border-radius: 12px; }

    .lp-nav-actions { flex-direction: column; align-items: stretch; }

    .lp-nav-actions .lp-lang { align-self: flex-start; }

    .lp-nav-actions .lp-btn { justify-content: center; }
}

/* ── Buttons ───────────────────────────────────────────────────────────── */

.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 28px; }

.lp-actions:empty { display: none; }

.lp-actions-center { justify-content: center; }

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-block-size: 48px;
    padding: 12px 24px;
    border-radius: var(--lp-radius-pill);
    border: 1.5px solid transparent;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.lp-btn:active { transform: translateY(1px); }

.lp-bg-brand .lp-btn:focus-visible { outline-color: #fff; }

.lp-btn-sm { min-block-size: 40px; padding: 8px 18px; font-size: 15px; }

.lp-btn-primary { background: var(--lp-primary); color: #fff; box-shadow: 0 10px 24px color-mix(in srgb, var(--lp-primary) 35%, transparent); }

.lp-btn-outline { border-color: var(--lp-line); color: var(--lp-ink); background: #fff; }

.lp-btn-light { background: #fff; color: var(--lp-accent); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }

.lp-btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; background: rgba(255, 255, 255, 0.06); }

.lp-btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }

/* On a plain background the light/ghost pair would vanish — map them back. */
.lp-bg-plain .lp-btn-light,
.lp-bg-muted .lp-btn-light { background: var(--lp-primary); color: #fff; }

.lp-bg-plain .lp-btn-ghost,
.lp-bg-muted .lp-btn-ghost { border-color: var(--lp-line); color: var(--lp-ink); background: #fff; }

/* ── Sections ──────────────────────────────────────────────────────────── */

.lp-section { padding-block: var(--lp-section-y); position: relative; }

.lp-bg-muted { background: var(--lp-muted); }

.lp-bg-brand {
    color: #fff;
    background:
        radial-gradient(70% 55% at 100% 0%, color-mix(in srgb, var(--lp-primary) 22%, transparent), transparent 62%),
        var(--lp-accent);
    overflow: hidden;
}

.lp-heading { max-width: 40rem; margin-block-end: var(--lp-heading-gap); }

.lp-heading-center { margin-inline: auto; text-align: center; }

.lp-heading-start { margin-block-end: 0; }

.lp-eyebrow {
    display: inline-block;
    margin-block-end: 14px;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-primary);
    background: color-mix(in srgb, var(--lp-primary) 12%, transparent);
}

.lp-bg-brand .lp-eyebrow { color: #fff; background: rgba(255, 255, 255, 0.14); }

.lp-title { font-size: var(--lp-title); letter-spacing: -0.015em; }

h1.lp-title { font-size: var(--lp-hero-title); letter-spacing: -0.02em; }

.lp-subtitle { margin-block-start: 16px; font-size: var(--lp-text-lg); color: var(--lp-ink-soft); max-width: 38rem; }

.lp-heading-center .lp-subtitle { margin-inline: auto; }

.lp-bg-brand .lp-subtitle { color: var(--lp-on-brand); }

.lp-body { margin-block-start: 18px; color: var(--lp-ink-soft); font-size: 17px; }

.lp-body-center { text-align: center; max-width: 680px; margin: -24px auto 40px; }

/* ── Hero ──────────────────────────────────────────────────────────────── */

.lp-section-hero { padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem); }

.lp-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: clamp(32px, 6vw, 72px);
}

.lp-hero-media img { border-radius: var(--lp-radius); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3); inline-size: 100%; }

.lp-hero-art { position: relative; display: grid; gap: 14px; padding: 12px; max-width: 420px; margin-inline: auto; }

.lp-art-card {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 6px 14px;
    padding: 16px 18px;
    border-radius: var(--lp-radius);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.lp-art-card i { grid-row: span 2; inline-size: 48px; block-size: 48px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); }

.lp-art-card b { block-size: 12px; inline-size: 70%; border-radius: 6px; background: rgba(255, 255, 255, 0.55); }

.lp-art-card em { grid-row: span 2; block-size: 30px; inline-size: 64px; border-radius: 999px; background: rgba(255, 255, 255, 0.22); }

.lp-art-card::after { content: ''; grid-column: 2; block-size: 10px; inline-size: 45%; border-radius: 6px; background: rgba(255, 255, 255, 0.28); }

.lp-art-card.is-picked {
    background: #fff;
    transform: translateX(calc(var(--lp-dir, 1) * -18px)) scale(1.03);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

[dir='rtl'] .lp-art-card.is-picked { --lp-dir: -1; }

.lp-art-card.is-picked i { background: color-mix(in srgb, var(--lp-primary) 30%, #fff); }
.lp-art-card.is-picked b { background: var(--lp-ink); opacity: 0.8; }
.lp-art-card.is-picked em { background: var(--lp-primary); }
.lp-art-card.is-picked::after { background: var(--lp-line); }

.lp-art-name {
    align-self: end;
    font-size: 15px;
    font-weight: 700;
    color: var(--lp-ink);
    line-height: 1.2;
}

.lp-art-price {
    grid-row: span 2;
    block-size: 30px;
    inline-size: 64px;
    border-radius: 999px;
    background: var(--lp-primary);
}

.lp-art-pin {
    position: absolute;
    inset-block-start: -18px;
    inset-inline-end: -6px;
    display: grid;
    place-items: center;
    inline-size: 58px;
    block-size: 58px;
    border-radius: 18px;
    font-size: 28px;
    color: var(--lp-accent);
    background: #fff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    animation: lp-float 5s ease-in-out infinite;
}

@keyframes lp-float {
    50% { transform: translateY(-8px); }
}

/* ── Cards and grids ───────────────────────────────────────────────────── */

.lp-grid { display: grid; gap: 20px; }

.lp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

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

.lp-card {
    padding: 28px;
    border-radius: var(--lp-radius);
    background: #fff;
    border: 1px solid var(--lp-line);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.lp-card:hover { transform: translateY(-3px); box-shadow: var(--lp-shadow); border-color: transparent; }

.lp-card h3 { font-size: 19px; margin-block-start: 18px; }

.lp-card p { margin-block-start: 8px; color: var(--lp-ink-soft); }

.lp-card-icon {
    display: inline-grid;
    place-items: center;
    inline-size: 52px;
    block-size: 52px;
    border-radius: 14px;
    font-size: 26px;
    color: var(--lp-primary);
    background: color-mix(in srgb, var(--lp-primary) 12%, transparent);
}

.lp-card-lead {
    border-inline-start: 3px solid var(--lp-primary);
    background: color-mix(in srgb, var(--lp-primary) 5%, #fff);
}

/* ── Steps ─────────────────────────────────────────────────────────────── */

.lp-steps-wrap { position: relative; }

.lp-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    counter-reset: step;
    position: relative;
    z-index: 1;
}

/*
 * The vertical timeline. A spine runs down the middle (landing.js draws it as
 * curved arrows, node to node) and the cards alternate sides of it, each one a
 * little lower than the last. Only the cards' width and placement change here —
 * their look is the ordinary .lp-step below.
 *
 * On a phone the spine moves to the inline-start edge and every card sits on
 * its other side.
 */
[data-lp-step-arrows] .lp-steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

[data-lp-step-arrows] .lp-step { inline-size: calc(50% - 104px); }

[data-lp-step-arrows] .lp-step:nth-child(odd) { margin-inline-end: auto; }

[data-lp-step-arrows] .lp-step:nth-child(even) { margin-inline-start: auto; }

@media (min-width: 641px) {
    [data-lp-step-arrows] .lp-step + .lp-step { margin-block-start: -64px; }
}

@media (max-width: 640px) {
    [data-lp-step-arrows] .lp-steps { gap: 40px; }

    [data-lp-step-arrows] .lp-step,
    [data-lp-step-arrows] .lp-step:nth-child(odd),
    [data-lp-step-arrows] .lp-step:nth-child(even) {
        inline-size: auto;
        margin-inline: 64px 0;
    }
}

.lp-step-arrows {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    z-index: 0;
    overflow: visible;
    pointer-events: none;
}

/*
 * One dotted route, grey; the same dots in blue on top, uncovered by the mask
 * as the page scrolls. Zero-length dashes with round caps are true dots.
 */
.lp-step-arrow-track,
.lp-step-arrow-path {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 0 11;
}

.lp-step-arrow-track { stroke: #c8d0dd; }

/* Deeper than the brand blue, leaning toward the navy accent, so filled reads as filled. */
.lp-step-arrow-path { stroke: color-mix(in srgb, var(--lp-primary) 55%, var(--lp-accent)); }

/* The mask's own stroke: white reveals, and it grows along the route. */
.lp-step-arrow-reveal {
    fill: none;
    stroke: #fff;
    stroke-width: 14;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.lp-step-arrow-tip { opacity: 0; transition: opacity 0.25s ease; }

.lp-step-arrow-tip.is-moving { opacity: 1; }

.lp-step-arrow-head {
    fill: var(--lp-accent);
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linejoin: round;
    paint-order: stroke;
    filter: drop-shadow(0 3px 6px color-mix(in srgb, var(--lp-accent) 45%, transparent));
}

.lp-step-arrow-halo { fill: color-mix(in srgb, var(--lp-primary) 20%, transparent); }

/* A node on the spine, level with its card's icon: a ring that fills when the arrow arrives. */
.lp-step-node-ring {
    fill: #fff;
    stroke: color-mix(in srgb, var(--lp-primary) 45%, var(--lp-line));
    stroke-width: 2;
    transition: stroke 0.35s ease;
}

.lp-step-node-dot {
    fill: var(--lp-line);
    transition: fill 0.35s ease;
}

.lp-step-node.is-reached .lp-step-node-ring { stroke: var(--lp-primary); }

.lp-step-node.is-reached .lp-step-node-dot { fill: var(--lp-primary); }

.lp-step-node-halo {
    fill: color-mix(in srgb, var(--lp-primary) 16%, transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.lp-step-node.is-reached .lp-step-node-halo { opacity: 1; }

.lp-step-marker,
.lp-step-number { transition: box-shadow 0.35s ease, color 0.35s ease; }

.lp-step.is-reached .lp-step-marker {
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--lp-primary) 18%, transparent),
        0 10px 24px color-mix(in srgb, var(--lp-accent) 30%, transparent);
}

.lp-step.is-reached .lp-step-number { color: color-mix(in srgb, var(--lp-primary) 45%, transparent); }

.lp-step {
    position: relative;
    z-index: 1;
    padding: 28px;
    border-radius: var(--lp-radius);
    background: #fff;
    border: 1px solid var(--lp-line);
}

.lp-step-marker {
    display: inline-grid;
    place-items: center;
    inline-size: 52px;
    block-size: 52px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent));
}

.lp-step-number {
    position: absolute;
    inset-block-start: 20px;
    inset-inline-end: 24px;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    color: var(--lp-line);
}

.lp-step h3 { font-size: 19px; margin-block-start: 18px; }

.lp-step p { margin-block-start: 8px; color: var(--lp-ink-soft); }

/* ── Split ─────────────────────────────────────────────────────────────── */

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

.lp-split.is-text-only { grid-template-columns: minmax(0, 760px); justify-content: center; }

.lp-split-image-start .lp-split-media { order: -1; }

.lp-split-media img { border-radius: var(--lp-radius); box-shadow: var(--lp-shadow); inline-size: 100%; }

.lp-checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }

.lp-checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }

.lp-checks .lp-icon { color: var(--lp-primary); font-size: 22px; margin-block-start: 1px; }

.lp-split.is-text-only .lp-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ── Stats ─────────────────────────────────────────────────────────────── */

.lp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin: 0; }

.lp-stat { display: flex; flex-direction: column-reverse; padding: 28px; text-align: center; border-radius: var(--lp-radius); background: #fff; border: 1px solid var(--lp-line); }

.lp-bg-brand .lp-stat { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); }

.lp-stat dd { margin: 0; font-size: clamp(32px, 4vw, 44px); font-weight: 700; color: var(--lp-primary); }

.lp-bg-brand .lp-stat dd { color: #fff; }

.lp-stat dt { color: var(--lp-ink-soft); font-weight: 500; }

.lp-bg-brand .lp-stat dt { color: rgba(255, 255, 255, 0.8); }

/* ── Apps ──────────────────────────────────────────────────────────────── */

.lp-apps.has-image { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }

.lp-apps.has-image .lp-grid-2 { grid-template-columns: 1fr; }

.lp-apps-media img { border-radius: var(--lp-radius); margin-inline: auto; }

.lp-app-card { display: flex; flex-direction: column; }

.lp-app-card.is-captain .lp-card-icon {
    color: var(--lp-accent);
    background: color-mix(in srgb, var(--lp-accent) 10%, transparent);
}

.lp-phone {
    inline-size: 148px;
    margin-block-end: 22px;
    margin-inline: auto;
    padding: 10px;
    border-radius: 26px;
    border: 3px solid var(--lp-ink);
    background: #fff;
    box-shadow: var(--lp-shadow-sm);
}

.lp-phone-screen {
    display: grid;
    gap: 8px;
    align-content: center;
    min-block-size: 196px;
    padding: 14px 12px;
    border-radius: 16px;
    background: var(--lp-muted);
}

.lp-phone-screen.is-list span,
.lp-phone-path {
    display: block;
    block-size: 16px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--lp-line);
}

.lp-phone-screen.is-list span.is-on {
    border-color: transparent;
    box-shadow: var(--lp-shadow-sm);
    background:
        linear-gradient(var(--lp-primary), var(--lp-primary)) calc(100% - 10px) center / 36px 8px no-repeat,
        #fff;
}

[dir='rtl'] .lp-phone-screen.is-list span.is-on {
    background:
        linear-gradient(var(--lp-primary), var(--lp-primary)) 10px center / 36px 8px no-repeat,
        #fff;
}

.lp-phone-screen.is-route {
    place-items: center;
    align-content: center;
}

.lp-phone-pin {
    inline-size: 18px;
    block-size: 18px;
    border-radius: 50% 50% 50% 0;
    background: var(--lp-accent);
    transform: rotate(-45deg);
}

.lp-phone-path {
    inline-size: 3px;
    block-size: 72px;
    border: 0;
    border-radius: 99px;
    background: color-mix(in srgb, var(--lp-primary) 70%, #fff);
}

.lp-app-head { display: flex; align-items: center; gap: 14px; }

.lp-app-head h3 { margin: 0; }

.lp-app-image { inline-size: 100%; block-size: auto; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 16px; margin-block-end: 24px; background: var(--lp-muted); }

.lp-app-card > p { flex: 1; margin-block: 14px 20px; }

.lp-stores { display: flex; flex-wrap: wrap; gap: 10px; }

.lp-store {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    min-block-size: 50px;
    border-radius: 12px;
    color: #fff;
    background: var(--lp-ink);
    text-decoration: none;
    transition: transform 0.15s, background 0.15s;
}

.lp-store:hover { transform: translateY(-1px); background: #000; }

.lp-store .lp-icon { font-size: 24px; }

.lp-store span { display: flex; flex-direction: column; line-height: 1.2; }

.lp-store small { font-size: 11px; opacity: 0.8; }

.lp-store b { font-size: 16px; }

/* ── Testimonials ──────────────────────────────────────────────────────── */

.lp-quote { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }

.lp-quote blockquote { margin: 0; font-size: 17px; }

.lp-quote blockquote::before { content: '“'; display: block; font-size: 56px; line-height: 0.6; color: var(--lp-primary); margin-block-end: 8px; }

.lp-quote figcaption { display: flex; align-items: center; gap: 12px; }

.lp-quote figcaption img,
.lp-avatar { inline-size: 44px; block-size: 44px; border-radius: 50%; object-fit: cover; }

.lp-avatar { display: grid; place-items: center; font-weight: 700; color: var(--lp-primary); background: color-mix(in srgb, var(--lp-primary) 14%, transparent); }

.lp-quote figcaption span { display: flex; flex-direction: column; line-height: 1.35; }

.lp-quote small { color: var(--lp-ink-soft); }

/* ── FAQ ───────────────────────────────────────────────────────────────── */

.lp-faq { display: grid; gap: 12px; }

.lp-faq details { border-radius: var(--lp-radius-sm); background: #fff; border: 1px solid var(--lp-line); transition: box-shadow 0.2s; }

.lp-faq details[open] { box-shadow: var(--lp-shadow-sm); }

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

.lp-faq summary:focus-visible { outline-offset: -3px; }

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

.lp-faq summary::after {
    content: '+';
    flex: none;
    display: grid;
    place-items: center;
    inline-size: 30px;
    block-size: 30px;
    border-radius: 50%;
    font-size: 20px;
    color: var(--lp-primary);
    background: color-mix(in srgb, var(--lp-primary) 12%, transparent);
    transition: transform 0.2s;
}

.lp-faq details[open] summary::after { transform: rotate(45deg); }

.lp-faq details p { padding: 0 24px 22px; color: var(--lp-ink-soft); }

/* ── CTA ───────────────────────────────────────────────────────────────── */

.lp-cta .lp-heading { margin-block-end: 0; }

/* ── Contact ───────────────────────────────────────────────────────────── */

.lp-contact-form { max-inline-size: 760px; margin-inline: auto; display: grid; gap: 22px; scroll-margin-block-start: 110px; }
.lp-contact-recipient { display: flex; align-items: center; gap: 10px; margin: 0; overflow-wrap: anywhere; }
.lp-contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lp-form-field { display: grid; gap: 8px; min-inline-size: 0; }
.lp-form-field label { font-weight: 600; }
.lp-form-field input, .lp-form-field textarea { inline-size: 100%; min-inline-size: 0; border: 1px solid var(--lp-line); border-radius: 12px; padding: 12px 14px; font: inherit; color: var(--lp-ink); background: #fff; }
.lp-form-field textarea { resize: vertical; }
.lp-form-field :is(input, textarea):focus { outline: 2px solid var(--lp-primary); outline-offset: 2px; }
.lp-form-field [aria-invalid] { border-color: #b42318; }
.lp-contact-form > .lp-btn { justify-self: start; cursor: pointer; font: inherit; }
.lp-form-notice { padding: 14px 18px; border-radius: 12px; margin: 0; }
.lp-form-notice p { margin: 0; }
.lp-form-notice.is-success { color: #166534; background: #f0fdf4; }
.lp-form-notice.is-error { color: #9f1239; background: #fff1f2; }

.lp-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

.lp-contact-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }

.lp-contact-card .lp-card-icon { margin-block-end: 10px; }

.lp-contact-card small { color: var(--lp-ink-soft); }

.lp-contact-card b { font-size: 17px; overflow-wrap: anywhere; }

/* ── Text ──────────────────────────────────────────────────────────────── */

.lp-prose { display: grid; gap: 16px; font-size: 17px; color: var(--lp-ink-soft); }

/* ── Footer ────────────────────────────────────────────────────────────── */

.lp-footer {
    --lp-footer-gold: #c7af5c;
    padding-block: 48px 20px;
    border-block-start: 2px solid var(--lp-footer-gold);
    background: #0e1723;
    color: #e5e7eb;
}

.lp-footer-grid {
    direction: ltr;
    width: 88%;
    max-width: 1408px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 340px) minmax(0, 1fr);
    align-items: start;
    gap: 40px;
}

.lp-footer-brand { display: flex; align-items: center; min-block-size: 140px; }

.lp-footer-brand img { inline-size: 120px; block-size: 120px; object-fit: contain; }

.lp-footer a { text-decoration: none; transition: color 0.15s; }

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

.lp-footer a:focus-visible { outline-color: var(--lp-footer-gold); }

.lp-footer-legal { display: grid; gap: 24px; padding-block-start: 10px; text-align: center; }

.lp-footer-legal h2 { color: var(--lp-footer-gold); font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase; }

.lp-footer-rule { position: relative; block-size: 1px; background: linear-gradient(90deg, transparent, #c7af5c40, transparent); }

.lp-footer-rule::after {
    content: '';
    position: absolute;
    inset-block-start: -2px;
    inset-inline-start: calc(50% - 3px);
    inline-size: 5px;
    block-size: 5px;
    border: 1px solid #c7af5c80;
    background: #0e1723;
    transform: rotate(45deg);
}

.lp-footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 10px; font-size: 18px; font-weight: 700; line-height: 1.4; }

.lp-footer-links > * + *::before { content: '·'; color: #79808a; margin-inline-end: 10px; }

.lp-footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; padding-block-start: 2px; }

.lp-footer-contact-link { display: inline-flex; align-items: center; gap: 22px; max-inline-size: 100%; font-size: 20px; font-weight: 700; }

.lp-footer-contact-link bdi { overflow-wrap: anywhere; }

.lp-footer-contact-link .lp-icon { flex: 0 0 22px; font-size: 22px; color: var(--lp-footer-gold); }

.lp-social { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; margin-block-start: 14px; }

.lp-social > a,
.lp-social > span {
    display: grid;
    place-items: center;
    inline-size: 36px;
    block-size: 36px;
    border-radius: 9px;
    font-size: 22px;
    color: #fff;
    box-shadow: 0 3px 10px #0003;
    transition: transform 0.15s, filter 0.15s;
}

.lp-social .lp-social-linkedin { background: #0a66c2; }
.lp-social .lp-social-instagram { background: radial-gradient(circle at 25% 110%, #feda75 0%, #fa7e1e 28%, #d62976 55%, #962fbf 78%, #4f5bd5 100%); }
.lp-social .lp-social-facebook { background: #1877f2; }
.lp-social .lp-social-x { background: #111; border: 1px solid #ffffff40; }
.lp-social .lp-social-tiktok { background: #111; box-shadow: -2px 0 #25f4ee, 2px 0 #fe2c55; }
.lp-social .lp-social-youtube { background: #f00; }
.lp-social > a:hover { color: #fff; filter: brightness(1.15); transform: translateY(-2px); }

/* ── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 1100px) and (min-width: 961px) {
    .lp-nav ul a { padding-inline: 8px; font-size: var(--lp-text-sm); }
}

@media (max-width: 960px) {
    .lp-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .lp-hero,
    .lp-split,
    .lp-apps.has-image { grid-template-columns: 1fr; }

    .lp-split-image-start .lp-split-media { order: 0; }

    .lp-footer-grid { width: 100%; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }

    .lp-footer-links { font-size: 16px; }

    .lp-footer-contact-link { font-size: 16px; gap: 12px; }
}

@media (max-width: 640px) {
    .lp-contact-fields { grid-template-columns: 1fr; }
    .lp-grid-3,
    .lp-grid-2,
    .lp-split.is-text-only .lp-checks { grid-template-columns: 1fr; }

    .lp-card,
    .lp-step,
    .lp-stat { padding: 22px; }

    .lp-heading { margin-block-end: 2rem; }

    .lp-actions .lp-btn { flex: 1 1 auto; }

    .lp-hero-art { max-width: none; }

    .lp-footer { padding-block: 32px; }

    .lp-footer-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 28px; }

    .lp-footer-brand { min-block-size: auto; }

    .lp-footer-legal { inline-size: min(100%, 340px); padding-block-start: 0; }

    .lp-footer-contact { align-items: center; }

    .lp-social { justify-content: center; margin-block-start: 4px; }

    .lp-brand { font-size: 17px; }
}

@media (max-width: 380px) {
    :root { --lp-gutter: 16px; --lp-hero-title: 1.8rem; }

    .lp-art-card { padding: 14px; gap: 6px 10px; }

    .lp-art-card.is-picked { transform: none; }
}
