/*
 * landing.css — Shared landing design system
 * =========================================
 * Pairs with shared/web/landing/index.html. Brand tokens come from brand.css
 * (per-brand: --brand-primary-rgb, --brand-secondary-rgb, --brand-dark, etc).
 *
 * Naming: every selector prefixed with .lp- to avoid collision with shared
 * app styles. Theme is locked across sections (Page Theme Lock, design skill
 * Section 4.11). One accent color per brand (Color Consistency Lock).
 */

/* =============================================================
   0. REGION GATING — works at first paint, no JS race
   ============================================================= */

[data-only-region]                                          { display: none !important; }
[data-region="latam"]  [data-only-region~="latam"]         { display: revert !important; }
[data-region="us-can"] [data-only-region~="us-can"]        { display: revert !important; }
[data-region="eu-uk"]  [data-only-region~="eu-uk"]         { display: revert !important; }

/* =============================================================
   1. LAYOUT PRIMITIVES
   ============================================================= */

.lp-container     { max-width: 1280px; margin-inline: auto; padding-inline: 1.5rem; }
@media (min-width: 1024px) { .lp-container { padding-inline: 2.5rem; } }

.lp-narrow        { max-width: 760px; margin-inline: auto; }
.lp-text-center   { text-align: center; }

.lp-grid          { display: grid; gap: 2rem; }
.lp-grid-hero     { grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) {
    .lp-grid-hero { grid-template-columns: 1.15fr 1fr; gap: 4rem; }
}

/* =============================================================
   2. SECTION RHYTHM — generous, varied to break repetition
   ============================================================= */

.lp-hero        { padding-block: clamp(4.5rem, 9vw, 8rem) clamp(3.5rem, 6vw, 5rem); }
.lp-trust-band  { padding-block: 1.75rem; border-top: 1px solid var(--lp-line); }
.lp-strip       { padding-block: 2.75rem; border-block: 1px solid var(--lp-line); }
.lp-manifesto { padding-block: clamp(5rem, 10vw, 9rem); }
.lp-trinity   { padding-block: clamp(4rem, 8vw, 7rem); }
.lp-method    { padding-block: clamp(3rem, 6vw, 5.5rem); }
.lp-how       { padding-block: clamp(5rem, 10vw, 9rem); }
.lp-rails     { padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--lp-line); }
.lp-quote     { padding-block: clamp(4.5rem, 9vw, 8rem); }
.lp-erp       { padding-block: clamp(5rem, 9vw, 8rem); border-top: 1px solid var(--lp-line); }
.lp-faq       { padding-block: clamp(5rem, 10vw, 9rem); border-top: 1px solid var(--lp-line); }
.lp-cta       { padding-block: clamp(5.5rem, 11vw, 10rem); }

/* Hairline color resolves to brand-aware tone */
:root            { --lp-line: rgba(15, 23, 42, 0.08); }
.dark            { --lp-line: rgba(255, 255, 255, 0.06); }

/* =============================================================
   MOTION TOKENS — single source of truth for easing curves.
   Built-in cubic-beziers are too weak (Emil Kowalski rule). Strong
   custom curves give animations the punch that makes interfaces
   feel intentional.
   ============================================================= */

:root {
    /* Strong ease-out for UI entry, hover-in, popovers */
    --ease-out:     cubic-bezier(0.23, 1, 0.32, 1);
    /* Strong ease-in-out for on-screen morphing */
    --ease-in-out:  cubic-bezier(0.77, 0, 0.175, 1);
    /* iOS-like drawer curve, for slow elegant moves */
    --ease-drawer:  cubic-bezier(0.32, 0.72, 0, 1);
    /* Fast hover-out — paired with --ease-out enter for asymmetric snap */
    --dur-in:       240ms;
    --dur-out:      160ms;
    --dur-press:    140ms;
}

/* =============================================================
   3. TYPOGRAPHY — display sans, weight contrast, no gradient text
   ============================================================= */

.lp-eyebrow {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgb(var(--brand-primary-rgb));
    margin-bottom: 1.25rem;
}

.lp-display {
    font-family: 'Geist', 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--lp-ink);
    margin-block: 0 1.5rem;
}
.lp-display > span     { display: block; }
.lp-display__accent    { color: rgb(var(--brand-primary-rgb)); }

:root            { --lp-ink: #0a0a0a; }
.dark            { --lp-ink: #fafafa; }

.lp-h2 {
    font-family: 'Geist', 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--lp-ink);
    margin-bottom: 1rem;
}
.lp-h2__sub      { color: rgb(100 116 139); font-size: 1.0625rem; line-height: 1.65; margin-bottom: 3.5rem; max-width: 56ch; }
.dark .lp-h2__sub{ color: rgb(148 163 184); }
.lp-text-center.lp-h2, .lp-text-center.lp-h2__sub { margin-inline: auto; }

.lp-h3 {
    font-family: 'Geist', 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(1.625rem, 3vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--lp-ink);
    margin-bottom: 0.75rem;
}
.lp-h3__sub      { color: rgb(100 116 139); font-size: 1rem; line-height: 1.7; margin-bottom: 3rem; max-width: 56ch; }
.dark .lp-h3__sub{ color: rgb(148 163 184); }
.lp-text-center.lp-h3, .lp-text-center.lp-h3__sub { margin-inline: auto; }

.lp-lede {
    font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
    line-height: 1.65;
    color: rgb(71 85 105);
    max-width: 60ch;
    margin-block: 0 1.75rem;
}
.dark .lp-lede   { color: rgb(203 213 225); }
.lp-text-center .lp-lede,
.lp-narrow .lp-lede { margin-inline: auto; }

.lp-prose p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgb(71 85 105);
    margin-block: 0 1.25rem;
}
.dark .lp-prose p{ color: rgb(203 213 225); }

/* =============================================================
   4. HERO
   ============================================================= */

.lp-hero__type   { position: relative; }

.lp-status {
    margin-block: -0.5rem 1.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgb(100 116 139);
    letter-spacing: 0;
}
.dark .lp-status { color: rgb(148 163 184); }

.lp-brand-name {
    font-weight: 700;
    color: var(--lp-ink);
}

/* HERO art — abstract IoP flow diagram. Not a fake screenshot. */
.lp-hero__art {
    position: relative;
    aspect-ratio: 5 / 4;
    border-radius: 28px;
    background:
        linear-gradient(160deg,
            rgb(var(--brand-primary-rgb) / 0.06) 0%,
            transparent 60%),
        radial-gradient(circle at 80% 20%,
            rgb(var(--brand-primary-rgb) / 0.08) 0%,
            transparent 50%);
    border: 1px solid var(--lp-line);
    overflow: hidden;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.dark .lp-hero__art {
    background:
        linear-gradient(160deg,
            rgb(var(--brand-primary-rgb) / 0.12) 0%,
            transparent 60%),
        radial-gradient(circle at 80% 20%,
            rgb(var(--brand-primary-rgb) / 0.18) 0%,
            transparent 50%);
}
.lp-hero__art::before {
    /* Faint dot grid texture */
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(rgb(15 23 42 / 0.045) 1px, transparent 1px);
    background-size: 16px 16px;
    pointer-events: none;
}
.dark .lp-hero__art::before {
    background-image: radial-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px);
}

.lp-flow {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0;
    z-index: 1;
}
.lp-flow__node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    background: rgb(255 255 255 / 0.85);
    border: 1px solid var(--lp-line);
    border-radius: 14px;
    text-align: center;
}
.dark .lp-flow__node {
    background: rgb(15 23 42 / 0.55);
    border-color: rgb(255 255 255 / 0.1);
}
.lp-flow__node i {
    font-size: 1.5rem;
    color: rgb(var(--brand-primary-rgb));
}
.lp-flow__node span {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgb(71 85 105);
}
.dark .lp-flow__node span { color: rgb(203 213 225); }

.lp-flow__line {
    height: 2px;
    background: linear-gradient(90deg,
        rgb(var(--brand-primary-rgb) / 0.25),
        rgb(var(--brand-primary-rgb) / 0.55));
    position: relative;
    overflow: visible;
    border-radius: 1px;
}
.lp-flow__line::after {
    /* Data packet — a small dot that travels along the line,
       leaving a brand-colored trail behind it. */
    content: '';
    position: absolute;
    top: -3px;
    left: -10%;
    width: 8px;
    height: 8px;
    background: rgb(var(--brand-primary-rgb));
    border-radius: 999px;
    box-shadow: 0 0 12px 2px rgb(var(--brand-primary-rgb) / 0.65),
                -16px 0 18px -4px rgb(var(--brand-primary-rgb) / 0.5);
    animation: lp-flow-packet 2.4s var(--ease-in-out) infinite;
}
.lp-flow__line--b::after { animation-delay: 1.2s; }
@keyframes lp-flow-packet {
    /* Start at 0.85 not 0.7: Emil rule — nothing appears from near-zero scale,
       it looks unnatural. 0.85 keeps the packet visible at the edges. */
    0%   { left: -10%; opacity: 0; transform: scale(0.85); }
    15%  { opacity: 1; transform: scale(1); }
    85%  { opacity: 1; transform: scale(1); }
    100% { left: 100%; opacity: 0; transform: scale(0.85); }
}

.lp-flow__caption {
    position: relative; z-index: 1;
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgb(100 116 139);
    line-height: 1.5;
    max-width: 36ch;
    margin-inline: auto;
}
.dark .lp-flow__caption { color: rgb(148 163 184); }

/* =============================================================
   5. BUTTONS — single contrast pair, no wrap, WCAG AA
   ============================================================= */

.lp-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-bottom: 2rem;
}
.lp-cta-row--center { justify-content: center; }

.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1;
    white-space: nowrap;
    transition: transform var(--dur-press) var(--ease-out),
                background-color 200ms ease,
                color 200ms ease,
                border-color 200ms ease;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
}
@media (hover: hover) and (pointer: fine) {
    .lp-btn:hover:not([disabled])  { transform: translateY(-1px); }
}
/* Press feedback — scale(0.97) so the button feels heard.
   Emil rule: buttons must respond to press with subtle compression. */
.lp-btn:active:not([disabled]) { transform: scale(0.97); }

.lp-btn--primary {
    background: var(--lp-ink);
    color: white;
}
.lp-btn--primary:hover:not([disabled]) { background: rgb(var(--brand-primary-rgb)); }
.dark .lp-btn--primary {
    background: rgb(var(--brand-primary-rgb));
    color: white;
}

.lp-btn--ghost {
    background: transparent;
    color: var(--lp-ink);
    border-color: var(--lp-line);
}
.lp-btn--ghost:hover:not([disabled]) {
    border-color: rgb(var(--brand-primary-rgb));
    color: rgb(var(--brand-primary-rgb));
}

.lp-btn--xl { padding: 1.1rem 2rem; font-size: 1rem; }

.lp-btn--disabled,
.lp-btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    background: rgb(var(--brand-primary-rgb) / 0.4);
    color: white;
}
.lp-btn--disabled:hover { transform: none; }

.lp-btn__soon {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgb(255 255 255 / 0.25);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    margin-left: 0.25rem;
}

/* =============================================================
   6. TRUST PILLS (hero)
   ============================================================= */

.lp-trust {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}
.lp-trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    border-radius: 999px;
    border: 1px solid var(--lp-line);
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgb(71 85 105);
}
.dark .lp-trust li { color: rgb(203 213 225); }
.lp-trust li i {
    color: rgb(var(--brand-primary-rgb));
    font-size: 0.95rem;
}

/* Trust band variant — out-of-hero, full-width horizontal strip */
.lp-trust--band {
    justify-content: center;
    gap: 0.5rem 1.25rem;
}
.lp-trust--band li {
    border: 0;
    padding: 0.25rem 0;
    font-size: 0.78125rem;
    color: rgb(100 116 139);
}
.dark .lp-trust--band li { color: rgb(148 163 184); }

/* =============================================================
   7. TRUST STRIP — stats, no card boxes
   ============================================================= */

.lp-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 3rem;
    margin: 0;
}
@media (min-width: 768px) { .lp-stats { grid-template-columns: repeat(3, 1fr); } }
.lp-stat { text-align: left; }
.lp-stat__num {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--lp-ink);
    line-height: 1;
}
.lp-stat__label {
    margin-top: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgb(100 116 139);
}
.dark .lp-stat__label { color: rgb(148 163 184); }

/* =============================================================
   8. TRINITY BENTO — varied backgrounds (Bento Background Diversity rule)
   ============================================================= */

.lp-bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 3rem;
}
@media (min-width: 768px) {
    .lp-bento {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: minmax(360px, auto);
    }
}

.lp-bento__cell {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--lp-line);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 340px;
}

/* Cell 1 — photo bg with overlay (real image, not fake-card) */
.lp-bento__cell--photo .lp-bento__media {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(0.85) brightness(0.55) contrast(1.1);
    z-index: 0;
}
.lp-bento__cell--photo::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgb(0 0 0 / 0.85));
    z-index: 0;
}
.lp-bento__cell--photo .lp-bento__body {
    color: white;
    position: relative; z-index: 1;
}
.lp-bento__cell--photo .lp-bento__title { color: white; }
.lp-bento__cell--photo .lp-bento__desc  { color: rgb(226 232 240); }
.lp-bento__cell--photo .lp-bento__icon  { color: white; }

/* Cell 2 — accent solid */
.lp-bento__cell--accent {
    background: rgb(var(--brand-primary-rgb));
    color: white;
    border-color: rgb(var(--brand-primary-rgb));
}
.lp-bento__cell--accent .lp-bento__title { color: white; }
.lp-bento__cell--accent .lp-bento__desc  { color: rgb(255 255 255 / 0.85); }
.lp-bento__cell--accent .lp-bento__icon  { color: rgb(255 255 255 / 0.9); }

/* Cell 3 — pattern (vertical lines, brand-tinted) */
.lp-bento__cell--pattern {
    background:
        repeating-linear-gradient(90deg,
            rgb(var(--brand-primary-rgb) / 0.04) 0,
            rgb(var(--brand-primary-rgb) / 0.04) 1px,
            transparent 1px,
            transparent 8px),
        white;
}
.dark .lp-bento__cell--pattern {
    background:
        repeating-linear-gradient(90deg,
            rgb(var(--brand-primary-rgb) / 0.08) 0,
            rgb(var(--brand-primary-rgb) / 0.08) 1px,
            transparent 1px,
            transparent 8px),
        var(--brand-dark-card);
}

.lp-bento__body { padding: 1.75rem; }
.lp-bento__icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: rgb(var(--brand-primary-rgb));
    display: block;
}
.lp-bento__title {
    font-family: 'Geist', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.25;
    margin-bottom: 0.625rem;
    color: var(--lp-ink);
}
.lp-bento__desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgb(71 85 105);
}
.dark .lp-bento__desc { color: rgb(203 213 225); }

/* Trinity closing — wide soft pad */
.lp-closing {
    max-width: 740px;
    margin-inline: auto;
    padding: 2.5rem;
    border-radius: 20px;
    background: rgb(var(--brand-primary-rgb) / 0.06);
    border: 1px solid rgb(var(--brand-primary-rgb) / 0.18);
}
.dark .lp-closing {
    background: rgb(var(--brand-primary-rgb) / 0.1);
    border-color: rgb(var(--brand-primary-rgb) / 0.25);
}
.lp-closing__lead  { font-size: 1.0625rem; line-height: 1.65; margin-block: 0 1rem; color: var(--lp-ink); }
.lp-closing__follow{ font-size: 0.9375rem; line-height: 1.65; margin: 0; color: rgb(71 85 105); }
.dark .lp-closing__follow { color: rgb(203 213 225); }

/* =============================================================
   9. METHODOLOGY — 2-up
   ============================================================= */

.lp-method__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 1100px;
    margin-inline: auto;
}
@media (min-width: 900px) { .lp-method__grid { grid-template-columns: 1fr 1fr; } }

.lp-method__card {
    border-radius: 24px;
    padding: 2.25rem;
    border: 1px solid var(--lp-line);
    background: white;
}
.dark .lp-method__card { background: var(--brand-dark-card); }

.lp-method__card--live {
    background: linear-gradient(180deg,
        rgb(var(--brand-primary-rgb) / 0.04) 0%,
        white 60%);
    border-color: rgb(var(--brand-primary-rgb) / 0.2);
}
.dark .lp-method__card--live {
    background: linear-gradient(180deg,
        rgb(var(--brand-primary-rgb) / 0.12) 0%,
        var(--brand-dark-card) 60%);
}

.lp-method__title {
    font-family: 'Geist', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    margin-block: 1rem 0.625rem;
    color: var(--lp-ink);
}
.lp-method__subtitle { font-weight: 600; color: var(--lp-ink); margin-bottom: 0.625rem; }
.lp-method__desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgb(71 85 105);
    margin: 0;
}
.dark .lp-method__desc { color: rgb(203 213 225); }

.lp-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.lp-pill--solid {
    background: rgb(var(--brand-primary-rgb));
    color: white;
}
.lp-pill--outline {
    background: transparent;
    color: rgb(var(--brand-primary-rgb));
    border: 1px solid rgb(var(--brand-primary-rgb) / 0.4);
}

/* =============================================================
   10. HOW IT WORKS — no Step 1/2/3 labels, mono numerals only
   ============================================================= */

.lp-how__grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    counter-reset: lp-how;
}
@media (min-width: 768px) { .lp-how__grid { grid-template-columns: repeat(3, 1fr); } }

.lp-how__step {
    background: white;
    border: 1px solid var(--lp-line);
    border-radius: 24px;
    padding: 2rem 1.75rem;
    position: relative;
}
.dark .lp-how__step { background: var(--brand-dark-card); }

.lp-how__num {
    font-size: 0.875rem;
    font-weight: 700;
    color: rgb(var(--brand-primary-rgb));
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.lp-how__title {
    font-family: 'Geist', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.3;
    margin-block: 0 0.75rem;
    color: var(--lp-ink);
}
.lp-how__desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgb(71 85 105);
    margin: 0;
}
.dark .lp-how__desc { color: rgb(203 213 225); }

/* =============================================================
   11. PAYMENT RAILS
   ============================================================= */

.lp-rails__label {
    text-align: center;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgb(100 116 139);
    margin-bottom: 1.5rem;
}
.dark .lp-rails__label { color: rgb(148 163 184); }

.lp-rails__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.625rem;
}

.lp-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: white;
    border: 1px solid var(--lp-line);
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--lp-ink);
}
.dark .lp-chip { background: var(--brand-dark-card); }
.lp-chip i { color: rgb(var(--brand-primary-rgb)); font-size: 1rem; }

/* =============================================================
   12. DOGFOOD QUOTE
   ============================================================= */

.lp-quote figure { text-align: center; margin: 0; }
.lp-quote__mark {
    display: block;
    font-family: 'Geist', 'Inter', serif;
    font-size: 5rem;
    line-height: 0.8;
    color: rgb(var(--brand-primary-rgb) / 0.35);
    margin-bottom: 0.75rem;
    user-select: none;
}
.lp-quote__body {
    font-family: 'Geist', 'Inter', sans-serif;
    font-weight: 500;
    font-size: clamp(1.25rem, 2.2vw, 1.625rem);
    line-height: 1.45;
    letter-spacing: -0.015em;
    color: var(--lp-ink);
    margin: 0 0 1.5rem;
}
.lp-quote__attr {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgb(var(--brand-primary-rgb));
}
.lp-quote__line {
    display: block;
    width: 3px;
    height: 18px;
    background: rgb(var(--brand-primary-rgb));
    border-radius: 2px;
}

/* =============================================================
   13. FAQ — accordion, FAQPage schema friendly
   ============================================================= */

.lp-faq__list { display: flex; flex-direction: column; gap: 0; }
.lp-faq__item {
    border-block: 1px solid var(--lp-line);
    border-bottom: 0;
    padding-block: 1.25rem;
}
.lp-faq__item:last-child { border-bottom: 1px solid var(--lp-line); }

.lp-faq__item > summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: 'Geist', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.0625rem;
    line-height: 1.4;
    color: var(--lp-ink);
    padding-block: 0.5rem;
}
.lp-faq__item > summary::-webkit-details-marker { display: none; }
.lp-faq__item > summary::after {
    content: '\002B';
    font-family: ui-monospace, monospace;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    color: rgb(var(--brand-primary-rgb));
    transition: transform 200ms ease;
    flex-shrink: 0;
}
.lp-faq__item[open] > summary::after { content: '\2212'; }

.lp-faq__body {
    padding-block: 0.75rem 0.25rem;
}
.lp-faq__body p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgb(71 85 105);
    margin: 0;
    max-width: 65ch;
}
.dark .lp-faq__body p { color: rgb(203 213 225); }

.lp-faq__more {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: rgb(100 116 139);
}
.dark .lp-faq__more { color: rgb(148 163 184); }

/* =============================================================
   14. LINK STYLE
   ============================================================= */

.lp-link {
    color: rgb(var(--brand-primary-rgb));
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    font-weight: 500;
}
.lp-link:hover { text-decoration-thickness: 2px; }

/* =============================================================
   15. CTA section
   ============================================================= */

.lp-cta__note {
    margin-top: 1.25rem;
    font-size: 0.8125rem;
    color: rgb(100 116 139);
}
.dark .lp-cta__note { color: rgb(148 163 184); }

/* =============================================================
   16. SCROLL REVEAL — IntersectionObserver-driven
   ============================================================= */

/*
 * Reveal — opacity:0 only applies when .lp-anim class is present on <html>
 * (set by inline head script + re-asserted by landing.js because theme.js
 * removes its own .js class on DOMContentLoaded). Without JS the content
 * stays visible so crawlers see everything.
 */
.lp-anim .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.lp-anim .reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================================
   HERO ENTRY CHOREOGRAPHY — runs on load (no IntersectionObserver
   needed for above-fold content). Each child of .lp-hero__type
   enters in sequence so the hero feels alive at first paint.
   ============================================================= */

@keyframes lp-hero-enter {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Opacity-only entry — used for elements whose transform is owned
   by JS at runtime (hero art parallax tilt). animation-fill-mode:
   forwards on a transform keyframe sticks translateY(0) as the
   computed value forever, defeating inline transform. */
@keyframes lp-hero-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* UI durations under 300ms (Emil rule). Tight 60ms stagger between
   items — the cascade reads as choreography, not a slideshow. */
.lp-anim .lp-hero__type > * {
    opacity: 0;
    animation: lp-hero-enter 360ms var(--ease-out) forwards;
}
.lp-anim .lp-hero__type > .lp-eyebrow      { animation-delay:  80ms; }
.lp-anim .lp-hero__type > .lp-display      { animation-delay: 140ms; }
.lp-anim .lp-hero__type > .lp-lede         { animation-delay: 200ms; }
.lp-anim .lp-hero__type > .lp-cta-row      { animation-delay: 260ms; }

/* Hero diagram: opacity-only entry so JS-driven parallax tilt
   (rotateY/rotateX from cursor) is never overridden by a sticky
   transform: translateY(0) from forwards-fill animation state. */
.lp-anim .lp-hero__art {
    opacity: 0;
    animation: lp-hero-fade 420ms 220ms var(--ease-out) forwards;
}

/* Hero containers do not carry .reveal anymore. The lp-hero-enter
   choreography handles entry; cursor parallax sets inline transform.
   Kept the rule comment as a doctrine breadcrumb. */

/* =============================================================
   HOVER MICRO-PHYSICS — lift + cursor-driven SPOTLIGHT.
   The ::before pseudo follows the cursor via --mx / --my CSS
   variables set by landing.js. Linear / Vercel idiom for premium
   fintech feel. Honors prefers-reduced-motion below.
   ============================================================= */

.lp-bento__cell,
.lp-how__step,
.lp-method__card {
    position: relative;
    --mx: 50%;
    --my: 50%;
    isolation: isolate;
    /* Asymmetric timing — enter slow (decide), exit fast (system snaps). */
    transition: transform var(--dur-out) var(--ease-out),
                border-color var(--dur-out) ease,
                box-shadow var(--dur-out) var(--ease-out);
    will-change: transform;
}

.lp-bento__cell::before,
.lp-how__step::before,
.lp-method__card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(500px circle at var(--mx) var(--my),
                rgb(var(--brand-primary-rgb) / 0.35),
                transparent 50%);
    opacity: 0;
    transition: opacity var(--dur-out) var(--ease-out);
    pointer-events: none;
    z-index: 0;
}
/* Hover only on real pointers — touch devices misfire :hover on tap. */
@media (hover: hover) and (pointer: fine) {
    .lp-bento__cell:hover {
        transition-duration: var(--dur-in);
    }
    .lp-bento__cell:hover::before,
    .lp-how__step:hover::before,
    .lp-method__card:hover::before {
        opacity: 1;
        transition-duration: var(--dur-in);
    }
}

/* Glowing border-mask layered above content for hover-on glow */
.lp-bento__cell::after,
.lp-how__step::after,
.lp-method__card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
                rgb(var(--brand-primary-rgb) / 0),
                rgb(var(--brand-primary-rgb) / 0.6),
                rgb(var(--brand-primary-rgb) / 0));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--dur-out) var(--ease-out);
    pointer-events: none;
    z-index: 2;
}

/* Make sure body content sits above the spotlight layer */
.lp-bento__body,
.lp-how__step > *:not(::before),
.lp-method__card > *:not(::before) { position: relative; z-index: 1; }

/* Card hover lift + border-glow — gated behind real-pointer query
   so touch devices do not get stuck in the hover state on tap. */
@media (hover: hover) and (pointer: fine) {
    .lp-bento__cell:hover::after,
    .lp-how__step:hover::after,
    .lp-method__card:hover::after {
        opacity: 1;
        transition-duration: var(--dur-in);
    }
    .lp-bento__cell:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 50px -28px rgb(var(--brand-primary-rgb) / 0.55);
    }
    .lp-how__step:hover {
        transform: translateY(-4px);
        border-color: rgb(var(--brand-primary-rgb) / 0.45);
        box-shadow: 0 16px 36px -22px rgb(var(--brand-primary-rgb) / 0.45);
    }
    .lp-method__card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 36px -22px rgb(var(--brand-primary-rgb) / 0.5);
    }
}

/* Chips — payment rails. Tokenized timing + hover-gated. */
.lp-chip {
    transition: transform var(--dur-out) var(--ease-out),
                border-color var(--dur-out) ease,
                background-color var(--dur-out) ease,
                color var(--dur-out) ease;
}
@media (hover: hover) and (pointer: fine) {
    .lp-chip:hover {
        transform: translateY(-2px);
        border-color: rgb(var(--brand-primary-rgb) / 0.55);
        background-color: rgb(var(--brand-primary-rgb) / 0.06);
        transition-duration: var(--dur-in);
    }
}

/* Trust band pill micro-react */
.lp-trust--band li i { transition: transform var(--dur-out) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
    .lp-trust--band li:hover i {
        transform: scale(1.2) rotate(-4deg);
        transition-duration: var(--dur-in);
    }
}

/* =============================================================
   HERO PARALLAX TILT — diagram tilts in 3D toward cursor.
   --tilt-x / --tilt-y are set by landing.js on .lp-hero mousemove.
   ============================================================= */

.lp-hero {
    perspective: 1200px;
}
/* landing.js sets `transform: rotateY(...) rotateX(...)` inline on this
   element. Drawer curve over 380ms gives the iOS "alive" feel between
   mousemove targets. On mouseleave inline transform is cleared, CSS
   transitions back to identity. */
.lp-hero__art {
    transform-style: preserve-3d;
    transition: transform 380ms var(--ease-drawer);
    will-change: transform;
}

/* =============================================================
   MAGNETIC PRIMARY CTAs — small pull toward cursor.
   --mag-x / --mag-y set by landing.js on the button itself.
   Composes with the hover translateY without fighting it.
   ============================================================= */

/* Magnetic translate is set inline by landing.js (transform: translate(...) + optional scale(0.97) on press). CSS just provides the transition that smooths between frames. */
.lp-btn--primary {
    transition: transform var(--dur-press) var(--ease-out),
                background-color 200ms ease, color 200ms ease;
}

/* =============================================================
   BUTTON SHIMMER — diagonal sheen on hover for primary CTAs
   ============================================================= */

.lp-btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.lp-btn--primary::after {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 60%; height: 100%;
    background: linear-gradient(105deg,
        transparent 0%,
        rgb(255 255 255 / 0.25) 50%,
        transparent 100%);
    z-index: 0;
    /* 480ms not 700ms — sheen must finish before the user moves on. */
    transition: left 480ms var(--ease-out);
    pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
    .lp-btn--primary:hover:not([disabled])::after { left: 120%; }
}
.lp-btn--primary > * { position: relative; z-index: 1; }

/* =============================================================
   HERO BG — continuous slow gradient drift so the surface
   is never 100% static even after entry animations finish.
   ============================================================= */

.lp-hero {
    position: relative;
    overflow: hidden;
}
.lp-hero::before {
    content: '';
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 20% 30%,
                rgb(var(--brand-primary-rgb) / 0.18),
                transparent 40%),
                radial-gradient(circle at 80% 70%,
                rgb(var(--brand-secondary-rgb) / 0.12),
                transparent 45%);
    z-index: 0;
    pointer-events: none;
    /* linear, not ease-in-out: constant ambient motion. ease-in-out
       creates visible pulsing every cycle, which the eye picks up as
       a tick. linear stays beneath conscious attention. */
    animation: lp-hero-drift 22s linear infinite alternate;
    filter: blur(60px);
}
.lp-hero > .lp-container { position: relative; z-index: 1; }
@keyframes lp-hero-drift {
    0%   { transform: translate3d(-3%, -2%, 0) scale(1.05); }
    100% { transform: translate3d(3%, 2%, 0)  scale(1.15); }
}
.dark .lp-hero::before {
    background: radial-gradient(circle at 20% 30%,
                rgb(var(--brand-primary-rgb) / 0.28),
                transparent 40%),
                radial-gradient(circle at 80% 70%,
                rgb(var(--brand-secondary-rgb) / 0.18),
                transparent 45%);
}

/* =============================================================
   FLOW DIAGRAM — node breathing + pulse stronger
   ============================================================= */

@keyframes lp-flow-node-breathe {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-2px); }
}
.lp-anim .lp-flow__node {
    animation: lp-flow-node-breathe 4s var(--ease-in-out) infinite;
}
.lp-anim .lp-flow__node--2 { animation-delay: 0.6s; }
.lp-anim .lp-flow__node--3 { animation-delay: 1.2s; }

/* =============================================================
   SCROLL PROGRESS BAR — thin top accent line, CSS-only via the
   modern scroll-driven animations API where supported.
   ============================================================= */

.lp-scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg,
        rgb(var(--brand-primary-rgb)),
        rgb(var(--brand-secondary-rgb)));
    z-index: 100;
    pointer-events: none;
    transition: width 100ms linear;
}
@supports (animation-timeline: scroll()) {
    .lp-scroll-progress {
        width: 100%;
        transform-origin: 0 50%;
        transform: scaleX(0);
        animation: lp-scroll-grow linear;
        animation-timeline: scroll(root);
        transition: none;
    }
    @keyframes lp-scroll-grow { to { transform: scaleX(1); } }
}

/* =============================================================
   REDUCED-MOTION — kills every loop + entry animation
   ============================================================= */

@media (prefers-reduced-motion: reduce) {
    .lp-anim .reveal           { opacity: 1; transform: none; transition: none; }
    .lp-anim .lp-hero__type > *,
    .lp-anim .lp-hero__art     { opacity: 1; animation: none; }
    .lp-anim .lp-flow__node    { animation: none; }
    .lp-flow__line::after      { animation: none; opacity: 0; }
    .lp-bento__cell,
    .lp-how__step,
    .lp-method__card,
    .lp-chip,
    .lp-btn--primary           { transition: none; }
    .lp-bento__cell::before,
    .lp-bento__cell::after,
    .lp-how__step::before,
    .lp-how__step::after,
    .lp-method__card::before,
    .lp-method__card::after,
    .lp-btn--primary::after    { display: none; }
    .lp-bento__cell:hover,
    .lp-how__step:hover,
    .lp-method__card:hover,
    .lp-chip:hover             { transform: none; box-shadow: none; }
    .lp-hero__art              { transform: none !important; transition: none; }
    .lp-btn--primary           { transform: none !important; }
    .lp-hero::before           { animation: none; }
    .lp-scroll-progress        { display: none; }
    .fx-card,
    .fx-cta                    { transform: none !important; transition: none; box-shadow: none; }
    .fx-card::before           { display: none; }
}

/* =============================================================
   BEHAVIOR-ONLY EFFECT CLASSES — apply to brand index pages
   ============================================================= */
/* .fx-card: cursor spotlight + lift on hover (additive, does not
   override Tailwind background/padding/radius set on the same el). */
.fx-card {
    position: relative;
    --mx: 50%;
    --my: 50%;
    transition: transform .3s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow .3s ease;
}
.fx-card > * { position: relative; z-index: 1; }
.fx-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity .25s ease;
    background: radial-gradient(420px circle at var(--mx) var(--my),
                rgb(var(--brand-primary-rgb) / 0.18), transparent 55%);
    pointer-events: none;
    z-index: 0;
}
@media (hover: hover) and (pointer: fine) {
    .fx-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 40px -16px rgb(var(--brand-primary-rgb) / 0.32);
    }
    .fx-card:hover::before { opacity: 1; }
}

/* .fx-cta: magnetic CTA — JS sets inline transform, this just
   eases the snap-back and isolates the compositor layer. */
.fx-cta {
    will-change: transform;
    transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Smooth scroll on anchor jumps (skill 5: storytelling/feedback).
   Reduced motion override below kills it. */
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

/* View-transition theme toggle wipe — origin set inline by theme.js
   from button click coords. Baseline 2024 (Chrome 111+, Safari 18+).
   No fallback needed; older browsers just skip the animation. */
::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: .42s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
::view-transition-old(root) {
    animation-name: theme-wipe-out;
}
::view-transition-new(root) {
    animation-name: theme-wipe-in;
}
@keyframes theme-wipe-out {
    to {
        clip-path: circle(0% at var(--theme-wipe-x, 50%) var(--theme-wipe-y, 50%));
    }
}
@keyframes theme-wipe-in {
    from {
        clip-path: circle(0% at var(--theme-wipe-x, 50%) var(--theme-wipe-y, 50%));
    }
    to {
        clip-path: circle(150% at var(--theme-wipe-x, 50%) var(--theme-wipe-y, 50%));
    }
}
