/* ─────────────────────────────────────────────────────────────────────────────────────────────────────────────
   The landing page (Components/Pages/LandingPage.razor) — the web host's public face, and in production all of it.
   It is rendered statically into a document of its own (App.razor), so this sheet is the ONLY one on the page:
   nothing from the app's design system is loaded, and nothing here reaches the app. Classes are lp-*.

   Mobile first. Direction-agnostic: every side is a logical property (inline-start / inline-end), so "/" (Hebrew,
   right to left) and "/en" are one layout mirrored, not two. Light and dark follow the reader's system. Hebrew is
   never letter-spaced; only Latin headlines are tightened.
   ───────────────────────────────────────────────────────────────────────────────────────────────────────────── */

:root {
    --lp-violet: #6c3be8;          /* the brand accent — AppBrand.AccentHex */
    --lp-violet-strong: #5528d6;
    --lp-violet-ink: #4a22c0;      /* violet TEXT on light surfaces: 7:1 on white */
    --lp-violet-soft: #f1ecff;
    --lp-violet-line: #ddd2ff;
    --lp-pink: #ff4f9a;
    --lp-bg: #fbfaff;
    --lp-surface: #ffffff;
    --lp-surface-2: #f5f2fd;
    --lp-ink: #16121f;
    --lp-ink-2: #463f5c;           /* 9:1 on the page */
    --lp-ink-3: #635c78;           /* 6:1 on the page */
    --lp-line: #e6e1f3;
    --lp-screen: #fbfaff;
    --lp-crown-bg: #fde68a;
    --lp-crown-fg: #3a2c00;
    --lp-shadow-sm: 0 1px 2px rgba(22, 18, 31, .06);
    --lp-shadow: 0 18px 40px -18px rgba(52, 26, 128, .28), 0 2px 6px rgba(22, 18, 31, .05);
    --lp-shadow-phone: 0 50px 90px -40px rgba(52, 26, 128, .6), 0 24px 48px -24px rgba(22, 18, 31, .35);
    --lp-radius: 20px;
    --lp-radius-lg: 28px;
    --lp-wrap: 1160px;
    --lp-gutter: 20px;
    --lp-font: "Rubik", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --lp-ease: cubic-bezier(.32, .72, 0, 1);
    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
    :root {
        --lp-violet-ink: #c1afff;
        --lp-violet-soft: #221a3d;
        --lp-violet-line: #3a2f63;
        --lp-bg: #0c0915;
        --lp-surface: #151121;
        --lp-surface-2: #1b162b;
        --lp-ink: #f5f2ff;
        --lp-ink-2: #cfc8e6;
        --lp-ink-3: #a59dbf;
        --lp-line: #2a2340;
        --lp-screen: #120f1d;
        --lp-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .4);
        --lp-shadow-phone: 0 50px 90px -40px rgba(0, 0, 0, .9), 0 24px 48px -24px rgba(0, 0, 0, .6);
    }
}

/* ── Base ─────────────────────────────────────────────────────────────────────────────────────────────── */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body.lp-body {
    margin: 0;
    background: var(--lp-bg);
    color: var(--lp-ink);
    font-family: var(--lp-font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

.lp { min-height: 100vh; display: flex; flex-direction: column; }
.lp main { flex: 1; }
.lp a { color: inherit; }
.lp h1, .lp h2, .lp h3 { margin: 0; line-height: 1.12; text-wrap: balance; }
.lp p { margin: 0; }
.lp :focus-visible { outline: 3px solid var(--lp-violet); outline-offset: 3px; border-radius: 8px; }
.lp [id] { scroll-margin-top: 84px; }

.lp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.lp-i {
    width: 24px; height: 24px; flex: none;
    fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

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

.lp-skip {
    position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
    padding: 10px 16px; border-radius: 10px; background: var(--lp-ink); color: var(--lp-bg);
    font-weight: 600; text-decoration: none; transition: top .2s var(--lp-ease);
}
.lp-skip:focus { top: 12px; }

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

.lp-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--lp-bg) 82%, transparent);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid color-mix(in srgb, var(--lp-line) 70%, transparent);
}
.lp-header-row { display: flex; align-items: center; gap: 16px; min-height: 64px; }

.lp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.lp-brand-mark { width: 40px; height: 24px; fill: var(--lp-violet); flex: none; }
.lp-brand-name { font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; }
[dir="rtl"] .lp-brand-name { letter-spacing: 0; }

.lp-nav { display: none; gap: 28px; margin-inline: auto; }
.lp-nav a { color: var(--lp-ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.lp-nav a:hover { color: var(--lp-ink); }

.lp-header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.lp-lang {
    display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding-inline: 12px;
    border-radius: 999px; color: var(--lp-ink-2); text-decoration: none; font-weight: 500; font-size: .92rem;
}
.lp-lang .lp-i { width: 18px; height: 18px; }
.lp-lang:hover { background: var(--lp-surface-2); color: var(--lp-ink); }

.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding-inline: 22px; border-radius: 999px;
    background: var(--lp-violet); color: #fff; font-weight: 600; text-decoration: none;
    box-shadow: 0 8px 20px -8px rgba(108, 59, 232, .7);
    transition: transform .2s var(--lp-ease), box-shadow .2s var(--lp-ease), background .2s var(--lp-ease);
}
.lp-btn:hover { background: var(--lp-violet-strong); transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(108, 59, 232, .8); }
.lp-btn-small { min-height: 40px; padding-inline: 16px; font-size: .92rem; white-space: nowrap; }
/* A phone has the store badges right under the header, and no room for the brand, the language and a CTA in one row. */
@media (max-width: 519px) { .lp-header-actions .lp-btn-small { display: none; } }

@media (min-width: 900px) {
    .lp-nav { display: flex; }
    .lp-header-actions { margin-inline-start: 0; }
}

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

.lp-hero {
    position: relative; isolation: isolate; overflow: hidden;
    padding-block: 44px 36px;
}
.lp-hero::before {
    content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1;
    background:
        radial-gradient(40% 45% at 78% 22%, rgba(108, 59, 232, .20), transparent 70%),
        radial-gradient(34% 40% at 18% 30%, rgba(255, 79, 154, .14), transparent 70%),
        radial-gradient(40% 40% at 55% 85%, rgba(108, 59, 232, .10), transparent 70%);
    pointer-events: none;
}
[dir="rtl"] .lp-hero::before { transform: scaleX(-1); }

.lp-hero-grid { display: grid; gap: 48px; align-items: center; }

.lp-hero-copy { animation: lp-rise .7s var(--lp-ease) both; }

.lp-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 14px 6px 12px; border-radius: 999px;
    background: var(--lp-violet-soft); color: var(--lp-violet-ink);
    border: 1px solid var(--lp-violet-line);
    font-size: .88rem; font-weight: 600;
}
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-violet); box-shadow: 0 0 0 4px rgba(108, 59, 232, .18); animation: lp-pulse 2.4s ease-in-out infinite; }

.lp-hero h1 {
    margin-block: 20px 18px;
    font-size: clamp(2.3rem, 1.35rem + 4.1vw, 4.05rem);
    font-weight: 800;
    letter-spacing: -.028em;
    line-height: 1.04;
}
[dir="rtl"] .lp-hero h1 { letter-spacing: 0; line-height: 1.1; }

.lp-lead { max-width: 34em; font-size: clamp(1.05rem, .98rem + .4vw, 1.24rem); color: var(--lp-ink-2); line-height: 1.65; }

.lp-hero-note { margin-top: 14px !important; color: var(--lp-ink-3); font-size: .92rem; }

@media (min-width: 980px) {
    .lp-hero { padding-block: 72px 56px; }
    .lp-hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; }
}

/* ── Store badges ─────────────────────────────────────────────────────────────────────────────────────── */

.lp-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.lp-badge {
    display: inline-flex; align-items: center; gap: 12px;
    min-height: 58px; padding-inline: 16px 22px;
    border-radius: 14px; background: #0b0a10; color: #fff;
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .7);
    text-decoration: none;
    transition: transform .2s var(--lp-ease), box-shadow .2s var(--lp-ease);
}
a.lp-badge:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -14px rgba(0, 0, 0, .75); }
.lp-badge-logo { width: 26px; height: 26px; fill: currentColor; flex: none; }
.lp-badge-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; text-align: start; }
.lp-badge-kicker { font-size: .7rem; font-weight: 500; opacity: .82; letter-spacing: .02em; }
.lp-badge-store { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
.lp-badge.is-soon { cursor: default; }
.lp-badge.is-soon .lp-badge-kicker { color: #d9ccff; opacity: 1; }
@media (prefers-color-scheme: dark) {
    .lp-badge { background: #000; border-color: rgba(255, 255, 255, .28); }
}

/* ── The phone ────────────────────────────────────────────────────────────────────────────────────────── */

.lp-hero-visual { display: flex; justify-content: center; animation: lp-rise .8s .08s var(--lp-ease) both; }
.lp-showcase { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lp-showcase figcaption { max-width: 22rem; text-align: center; color: var(--lp-ink-3); font-size: .85rem; line-height: 1.5; }

.lp-phone {
    position: relative;
    width: min(318px, 82vw);
    aspect-ratio: 9 / 18.6;
    padding: 11px;
    border-radius: 48px;
    background: linear-gradient(160deg, #2a2340, #0d0a16 55%);
    box-shadow: var(--lp-shadow-phone), inset 0 0 0 1.5px rgba(255, 255, 255, .08);
    transform: rotate(-2.2deg);
}
[dir="rtl"] .lp-phone { transform: rotate(2.2deg); }
.lp-phone::before {
    content: ""; position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; z-index: 2;
    transform: translateX(-50%); border-radius: 999px; background: #07060b;
}
.lp-phone::after {
    content: ""; position: absolute; inset: 12% -18% 6%; z-index: -1; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(108, 59, 232, .45), transparent);
    filter: blur(20px);
}
.lp-phone-screen {
    height: 100%; overflow: hidden; border-radius: 38px;
    background: var(--lp-screen); color: var(--lp-ink);
    display: flex; flex-direction: column;
    font-size: 13px; line-height: 1.4;
}

/* The app's home screen, drawn in the phone at ~0.8 of its size (LandingPage.HomeScreen): the same parts, in the same
   order, with the app's own icons (landing-icons.svg) — a picture of the app, not a page of this site. */
.lp-home { position: relative; font-size: 11px; line-height: 1.3; }
.lp-home svg { width: 1em; height: 1em; flex: none; }

.lp-home-bar { display: flex; align-items: center; gap: 6px; padding: 46px 10px 8px; }
.lp-home-round {
    display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none;
    border: 1px solid var(--lp-line); background: var(--lp-surface); font-size: 15px; color: var(--lp-ink-2);
}
.lp-home-field { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.lp-home-field small { font-size: 8.5px; color: var(--lp-ink-3); }
.lp-home-field b { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; white-space: nowrap; }
.lp-home-field b svg { font-size: 11px; color: var(--lp-violet-ink); }

.lp-home-depts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 4px 10px 6px; }
.lp-home-dept { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.lp-home-dept-tile {
    display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 12px; font-size: 26px;
    color: var(--tint); background: color-mix(in srgb, var(--tint) 15%, var(--lp-surface));
}
.lp-home-dept-name { font-size: 8.5px; font-weight: 600; text-align: center; line-height: 1.15; color: var(--lp-ink-2); }

.lp-home-when { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; padding: 4px 10px 8px; }
.lp-home-chip {
    display: flex; align-items: center; gap: 5px; padding: 6px 6px; border-radius: 10px;
    border: 1px solid var(--lp-line); background: var(--lp-surface); box-shadow: var(--lp-shadow-sm);
}
.lp-home-chip > svg { font-size: 14px; color: var(--lp-violet-ink); }
.lp-home-chip > span { display: flex; flex-direction: column; min-width: 0; }
.lp-home-chip b { font-size: 10px; white-space: nowrap; }
.lp-home-chip small { font-size: 8px; color: var(--lp-ink-3); white-space: nowrap; }

.lp-home-row { padding: 2px 10px 12px; min-height: 0; }
.lp-home-rowhead { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.lp-home-rowhead b { font-size: 13px; font-weight: 800; }
.lp-home-rowhead span { font-size: 9px; font-weight: 600; color: var(--lp-violet-ink); white-space: nowrap; }
.lp-home-reason { margin: 2px 0 7px !important; font-size: 8.5px; color: var(--lp-ink-3); }

.lp-home-cards { display: flex; gap: 8px; overflow: hidden; }
.lp-home-card { flex: none; width: 46%; min-width: 0; }
.lp-home-img {
    position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden;
    background:
        radial-gradient(90% 70% at 20% 10%, rgba(255, 255, 255, .35), transparent 60%),
        linear-gradient(145deg, color-mix(in srgb, var(--tint) 60%, #fff), var(--tint));
}
.lp-home-img .lp-home-img-icon { width: 42%; height: 42%; color: #fff; opacity: .92; }
.lp-home-heart {
    position: absolute; top: 5px; inset-inline-start: 5px; display: grid; place-items: center;
    width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #1c1b18; font-size: 11px;
}
.lp-home-title {
    margin-top: 5px !important; font-size: 10.5px; font-weight: 800; line-height: 1.25;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.lp-home-meta { margin-top: 2px !important; font-size: 8.5px; color: var(--lp-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-home-meta span { margin-inline-start: 4px; }
.lp-home-fast {
    display: inline-flex; align-items: center; gap: 2px; margin-top: 3px; padding: 1px 6px; border-radius: 999px;
    background: var(--lp-crown-bg); color: var(--lp-crown-fg); font-size: 8px; font-weight: 700;
}
.lp-home-price { margin-top: 3px !important; font-size: 10.5px; font-weight: 800; }

/* Pinned over the bottom of the screen, as in the app: the rows run on underneath it, the way a home that scrolls does. */
.lp-home-tabs {
    position: absolute; inset-inline: 0; bottom: 0; z-index: 1;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 7px 4px 16px;
    border-top: 1px solid var(--lp-line); background: color-mix(in srgb, var(--lp-surface) 94%, transparent);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.lp-home-tabs span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 8.5px; color: var(--lp-ink-3); }
.lp-home-tabs svg { font-size: 18px; }
.lp-home-tabs .is-active { color: var(--lp-violet-ink); font-weight: 700; }

.lp-app-skeleton { display: grid; gap: 12px; padding: 22px 18px; }
.lp-app-skeleton span { height: 44px; border-radius: 14px; background: var(--lp-surface-2); }
.lp-app-skeleton span:first-child { height: 90px; }
.lp-app-skeleton .is-short { width: 60%; height: 16px; }

/* ── Numbers ──────────────────────────────────────────────────────────────────────────────────────────── */

.lp-stats {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
    margin: 44px 0 0; padding: 0;
}
.lp-stat {
    display: flex; flex-direction: column-reverse; gap: 2px;
    padding: 18px 20px; border-radius: var(--lp-radius);
    background: color-mix(in srgb, var(--lp-surface) 80%, transparent);
    border: 1px solid var(--lp-line); box-shadow: var(--lp-shadow-sm);
}
.lp-stat dd {
    margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 800; line-height: 1.1;
    font-variant-numeric: tabular-nums; color: var(--lp-violet-ink);
}
.lp-stat dt { color: var(--lp-ink-3); font-size: .9rem; font-weight: 500; }
@media (min-width: 820px) { .lp-stats { gap: 16px; } }

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

.lp-section { padding-block: 64px; }
.lp-section-tint { background: var(--lp-surface-2); border-block: 1px solid var(--lp-line); }

.lp-kicker {
    margin: 0; color: var(--lp-violet-ink); font-size: .85rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
}
[dir="rtl"] .lp-kicker { letter-spacing: 0; }
h2.lp-kicker { line-height: 1.6; }

.lp-title {
    margin-top: 10px !important; max-width: 20em;
    font-size: clamp(1.8rem, 1.25rem + 2vw, 2.7rem); font-weight: 800; letter-spacing: -.02em;
}
[dir="rtl"] .lp-title { letter-spacing: 0; }

@media (min-width: 980px) { .lp-section { padding-block: 96px; } }

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

.lp-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: lp-step; }
.lp-step {
    position: relative; counter-increment: lp-step;
    padding: 28px 24px 26px; border-radius: var(--lp-radius);
    background: var(--lp-surface); border: 1px solid var(--lp-line); box-shadow: var(--lp-shadow-sm);
}
.lp-step::after {
    content: counter(lp-step); position: absolute; top: 20px; inset-inline-end: 22px;
    font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--lp-violet-soft);
    -webkit-text-stroke: 1px var(--lp-violet-line);
}
.lp-step-icon, .lp-feature-icon {
    display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
    background: var(--lp-violet-soft); color: var(--lp-violet-ink);
}
.lp-step h3, .lp-feature h3 { margin-top: 18px !important; font-size: 1.2rem; font-weight: 700; }
.lp-step p, .lp-feature p { margin-top: 8px !important; color: var(--lp-ink-2); }
@media (min-width: 820px) { .lp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

/* ── Features ─────────────────────────────────────────────────────────────────────────────────────────── */

.lp-features { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 16px; }
.lp-feature {
    padding: 26px 24px; border-radius: var(--lp-radius);
    background: var(--lp-surface); border: 1px solid var(--lp-line); box-shadow: var(--lp-shadow-sm);
    transition: transform .25s var(--lp-ease), box-shadow .25s var(--lp-ease), border-color .25s var(--lp-ease);
}
.lp-feature:hover { transform: translateY(-3px); box-shadow: var(--lp-shadow); border-color: var(--lp-violet-line); }
@media (min-width: 640px) { .lp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .lp-features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

/* ── Download band ────────────────────────────────────────────────────────────────────────────────────── */

.lp-download { padding-block: 24px; }
.lp-download-inner {
    position: relative; overflow: hidden; isolation: isolate;
    padding: 52px 28px; border-radius: var(--lp-radius-lg); text-align: center;
    color: #fff;
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(255, 79, 154, .55), transparent 60%),
        radial-gradient(60% 80% at 0% 100%, rgba(62, 26, 170, .9), transparent 60%),
        linear-gradient(135deg, #5b2ee0, #7d43f5 55%, #9b4dff);
    box-shadow: 0 30px 60px -30px rgba(108, 59, 232, .75);
}
.lp-download-mark {
    position: absolute; z-index: -1; width: 420px; height: 243px; inset-inline-end: -90px; bottom: -70px;
    fill: rgba(255, 255, 255, .09); transform: rotate(-14deg);
}
.lp-download h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; }
[dir="rtl"] .lp-download h2 { letter-spacing: 0; }
.lp-download p { max-width: 34em; margin: 14px auto 0 !important; color: rgba(255, 255, 255, .9); font-size: 1.08rem; }
.lp-download .lp-badges { justify-content: center; }
@media (min-width: 980px) { .lp-download { padding-block: 40px; } .lp-download-inner { padding: 72px 48px; } }

/* ── Questions ────────────────────────────────────────────────────────────────────────────────────────── */

.lp-faq-wrap { max-width: 860px; }
.lp-faq { margin-top: 32px; border-top: 1px solid var(--lp-line); }
.lp-qa { border-bottom: 1px solid var(--lp-line); }
.lp-qa summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 64px; padding-block: 16px; cursor: pointer; list-style: none;
    font-size: 1.08rem; font-weight: 600;
}
.lp-qa summary::-webkit-details-marker { display: none; }
.lp-qa-icon { color: var(--lp-violet-ink); transition: transform .25s var(--lp-ease); }
.lp-qa[open] .lp-qa-icon { transform: rotate(45deg); }
.lp-qa p { padding-bottom: 20px; padding-inline-end: 40px; color: var(--lp-ink-2); }

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

.lp-footer { margin-top: 24px; padding-block: 44px 36px; border-top: 1px solid var(--lp-line); background: var(--lp-surface); }
.lp-footer-grid { display: grid; gap: 18px; }
.lp-footer-brand p { margin-top: 8px !important; color: var(--lp-ink-3); }
.lp-footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.lp-footer-nav a { color: var(--lp-ink-2); text-decoration: none; font-weight: 500; }
.lp-footer-nav a:hover { color: var(--lp-violet-ink); }
.lp-footer-fine { color: var(--lp-ink-3); font-size: .86rem; }
@media (min-width: 820px) {
    .lp-footer-grid { grid-template-columns: 1fr auto; align-items: center; }
    .lp-footer-fine { grid-column: 1 / -1; }
}

/* The legal documents' links under the landing page's own (and on the legal pages). */
.lp-footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; }
.lp-footer-legal a { color: var(--lp-ink-3); text-decoration: none; }
.lp-footer-legal a:hover { color: var(--lp-violet-ink); text-decoration: underline; }
@media (min-width: 820px) { .lp-footer-legal { grid-column: 1 / -1; } }

/* ── Legal pages (Components/Pages/LegalSitePage.razor), drawn with this sheet ────────────────────────── */

.lp-legal { padding-block: 24px 56px; max-width: 900px; }
.lp-legal-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 4px 18px; }
.lp-legal-tabs::-webkit-scrollbar { display: none; }
.lp-legal-page .lp-legal-tab {
    flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
    border-radius: 999px; border: 1px solid var(--lp-line); background: var(--lp-surface);
    color: var(--lp-ink-2); text-decoration: none; font-weight: 500; font-size: .92rem; white-space: nowrap;
}
.lp-legal-page .lp-legal-tab:hover { color: var(--lp-violet-ink); }
.lp-legal-page .lp-legal-tab.is-active { background: var(--lp-violet-soft); border-color: var(--lp-violet-line); color: var(--lp-violet-ink); font-weight: 600; }
.lp-legal h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); font-weight: 800; margin-bottom: 14px; }
.lp-legal-lede { color: var(--lp-ink-2); max-width: 62ch; margin-bottom: 24px; }
.lp-legal-cards { list-style: none; margin: 0; padding: 0; border: 1px solid var(--lp-line); border-radius: 18px; overflow: hidden; background: var(--lp-surface); }
.lp-legal-cards li + li { border-top: 1px solid var(--lp-line); }
.lp-legal-page .lp-legal-card { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; text-decoration: none; }
.lp-legal-page .lp-legal-card:hover { background: var(--lp-surface-2); }
.lp-legal-card-title { font-weight: 700; color: var(--lp-ink); }
.lp-legal-card-sub { color: var(--lp-ink-3); font-size: .92rem; }
.lp-legal .lp-legal-meta { color: var(--lp-ink-3); font-size: .86rem; margin-block: 16px; }
.lp-legal-doc { background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 22px; padding: clamp(18px, 4vw, 40px); line-height: 1.7; }
.lp-legal-doc .lp-legal-meta { margin-top: 0; }
.lp-legal-doc h2 { font-size: 1.22rem; font-weight: 700; margin: 30px 0 10px; }
.lp-legal-doc h3 { font-size: 1.04rem; font-weight: 700; margin: 20px 0 8px; }
.lp-legal-doc p { margin: 0 0 12px; }
.lp-legal-doc ul, .lp-legal-doc ol { margin: 0 0 12px; padding-inline-start: 1.4rem; }
.lp-legal-doc li { margin-bottom: 6px; }
.lp-legal-page .lp-legal-doc a { color: var(--lp-violet-ink); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.lp-legal-doc strong { font-weight: 700; }
.lp-legal-doc .tixo-legal-callout { display: flex; gap: 10px; margin: 12px 0 18px; padding: 14px 16px; border-radius: 14px; background: var(--lp-violet-soft); border-inline-start: 4px solid var(--lp-violet); }
.lp-legal-doc .tixo-legal-callout i { display: none; }
.lp-legal-doc .tixo-legal-callout p { margin: 0; font-weight: 500; }
@media print {
    .lp-header, .lp-legal-tabs, .lp-footer, .lp-skip { display: none; }
    .lp-legal-doc { border: 0; padding: 0; }
}

/* ── The error page (Components/Pages/Error.razor), drawn with this sheet ─────────────────────────────── */

.lp-error { padding-block: 18vh 12vh; text-align: center; }
.lp-error h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); font-weight: 800; }
.lp-error p { margin: 14px auto 28px !important; max-width: 30em; color: var(--lp-ink-2); }

/* ── Motion ───────────────────────────────────────────────────────────────────────────────────────────── */

@keyframes lp-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lp-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(108, 59, 232, .18); } 50% { box-shadow: 0 0 0 7px rgba(108, 59, 232, .06); } }

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