/* ==========================================================================
   LuminaPOS marketing pages.

   Global rather than scoped: the primitives are shared across components,
   LuminaMark is used from both layouts, and scoped CSS cannot reach a child
   component without ::deep on every selector.
   ========================================================================== */

/* --- layout primitives --------------------------------------------------- */

.lp-container {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
    position: relative;
    z-index: 1;
}

.lp-section {
    position: relative;
    padding-block: clamp(3.5rem, 9vw, 7rem);
    overflow: hidden;
}

.lp-section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }

.lp-section--tint {
    background: var(--platform-surface-alt);
    border-block: 1px solid var(--platform-border-soft);
}

.lp-section--ink {
    background: #14101A;
    color: #fff;
}

.lp-section--brand {
    background: linear-gradient(120deg, #6D0B3C 0%, var(--lp-crimson) 42%, var(--lp-violet) 100%);
    color: #fff;
}

.lp-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* --- aurora: layered mesh gradients behind a section --------------------- */

.lp-aurora::before,
.lp-aurora::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.lp-aurora::before {
    width: 46rem;
    height: 46rem;
    top: -22rem;
    right: -14rem;
    background: radial-gradient(circle, var(--lp-pink) 0%, rgba(255, 46, 126, 0) 68%);
}

.lp-aurora::after {
    width: 40rem;
    height: 40rem;
    bottom: -24rem;
    left: -16rem;
    background: radial-gradient(circle, var(--lp-violet) 0%, rgba(124, 58, 237, 0) 68%);
}

.lp-aurora--cool::before {
    background: radial-gradient(circle, var(--lp-cyan) 0%, rgba(6, 182, 212, 0) 68%);
}

.lp-aurora--cool::after {
    background: radial-gradient(circle, var(--lp-mint) 0%, rgba(16, 185, 129, 0) 68%);
}

/* --- type ---------------------------------------------------------------- */

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--lp-crimson);
    margin: 0 0 1rem;
}

.lp-eyebrow::before {
    content: "";
    width: 1.75rem;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--lp-pink), var(--lp-violet));
}

.lp-section--ink .lp-eyebrow,
.lp-section--brand .lp-eyebrow { color: #fff; }

.lp-h1 {
    font-size: clamp(2.6rem, 7.5vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    font-weight: 800;
    margin: 0 0 1.25rem;
}

.lp-h2 {
    font-size: clamp(1.9rem, 4.6vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.032em;
    font-weight: 800;
    margin: 0 0 0.75rem;
}

.lp-grad {
    background: linear-gradient(100deg, var(--lp-pink), var(--lp-violet) 55%, var(--lp-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-section--ink .lp-grad,
.lp-section--brand .lp-grad {
    background: linear-gradient(100deg, #FFC4DA, #C9B6FF 55%, #8CE9F5);
    -webkit-background-clip: text;
    background-clip: text;
}

.lp-lead {
    color: var(--platform-muted);
    font-size: clamp(1.05rem, 1.9vw, 1.3rem);
    line-height: 1.5;
    max-width: 34rem;
    margin: 0 0 2rem;
}

.lp-section--ink .lp-lead,
.lp-section--brand .lp-lead { color: rgba(255, 255, 255, 0.8); }

.lp-head {
    margin-bottom: clamp(2rem, 4vw, 3rem);
    max-width: 44rem;
}

.lp-head .lp-lead { margin-bottom: 0; }

/* --- buttons ------------------------------------------------------------- */

.lp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.5rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms, box-shadow 160ms, background-color 160ms, color 160ms, border-color 160ms;
}

.lp-btn--solid {
    background: linear-gradient(100deg, var(--lp-crimson), var(--lp-violet));
    color: #fff;
    box-shadow: 0 10px 30px rgba(194, 30, 86, 0.3);
}

.lp-btn--solid:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(124, 58, 237, 0.36);
}

.lp-btn--ghost {
    background: var(--platform-surface);
    border-color: var(--platform-border);
    color: var(--platform-ink);
}

.lp-btn--ghost:hover {
    border-color: var(--lp-violet);
    color: var(--lp-violet);
    transform: translateY(-2px);
}

.lp-section--ink .lp-btn--solid,
.lp-section--brand .lp-btn--solid {
    background: #fff;
    color: var(--lp-crimson-deep);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

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

.lp-section--ink .lp-btn--ghost:hover,
.lp-section--brand .lp-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

.lp-logout-form {
    margin: 0;
    display: contents;
}

.lp-textlink {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--lp-crimson-deep);
}

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

/* Global because <NavLink> is a child component — MarketingNav's scoped
   stylesheet cannot reach the <a> it renders. */
.lp-nav-link {
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.94rem;
    color: var(--platform-muted);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.lp-nav-link:hover {
    color: var(--platform-ink);
    background: var(--platform-surface-alt);
}

.lp-nav-link.active {
    color: var(--lp-violet);
    background: rgba(124, 58, 237, 0.1);
}

/* --- brand mark ---------------------------------------------------------- */

.lp-mark-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.lp-mark { flex: none; }

/* The crescent's gradient fill is a per-instance url(#…) set in the markup —
   a paint server reference has to resolve to a real element, so each
   LuminaMark carries its own <defs> with a unique id. */
.lp-mark-arc { fill: var(--lp-violet); opacity: 0.5; }
.lp-mark-l   { fill: var(--platform-ink); }

.lp-wordmark {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.lp-wordmark-a { color: var(--platform-ink); }

.lp-wordmark-b {
    background: linear-gradient(100deg, var(--lp-crimson), var(--lp-violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-section--ink .lp-mark-l,
.lp-section--brand .lp-mark-l,
.lp-footer .lp-mark-l { fill: #fff; }

.lp-section--ink .lp-wordmark-a,
.lp-section--brand .lp-wordmark-a,
.lp-footer .lp-wordmark-a { color: #fff; }

.lp-section--brand .lp-wordmark-b,
.lp-section--ink .lp-wordmark-b,
.lp-footer .lp-wordmark-b {
    background: linear-gradient(100deg, #FFC4DA, #C9B6FF);
    -webkit-background-clip: text;
    background-clip: text;
}

/* --- hero ---------------------------------------------------------------- */

.lp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.lp-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.lp-tag {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    background: var(--platform-surface);
    border: 1px solid var(--platform-border);
    color: var(--platform-muted);
}

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

/* --- orbit art ----------------------------------------------------------- */

.lp-orbit {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 22px 50px rgba(124, 58, 237, 0.22));
}

.lp-orbit-ring { fill: none; stroke-width: 1.5; opacity: 0.45; }
.lp-orbit-node { stroke: #fff; stroke-width: 3.5; }
.lp-orbit-spark { opacity: 0.9; }

/* --- surface trio -------------------------------------------------------- */

.lp-trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(0.75rem, 2vw, 1.25rem);
}

.lp-surface {
    position: relative;
    display: grid;
    align-content: start;
    gap: 0.5rem;
    padding: 1.6rem 1.4rem;
    border-radius: 1.25rem;
    background: var(--platform-surface);
    border: 1px solid var(--platform-border);
    overflow: hidden;
    transition: transform 200ms, box-shadow 200ms;
}

.lp-surface::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--_g);
}

.lp-surface:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(28, 22, 32, 0.1);
}

.lp-surface > svg {
    width: 100%;
    max-width: 7.5rem;
    height: auto;
    margin-bottom: 0.85rem;
}

.lp-surface b {
    font-size: 1.08rem;
    letter-spacing: -0.015em;
}

.lp-surface span {
    color: var(--platform-muted);
    font-size: 0.92rem;
}

.lp-g-pink   { --_g: linear-gradient(90deg, var(--lp-pink), var(--lp-violet)); }
.lp-g-violet { --_g: linear-gradient(90deg, var(--lp-violet), var(--lp-indigo)); }
.lp-g-cyan   { --_g: linear-gradient(90deg, var(--lp-cyan), var(--lp-mint)); }
.lp-g-gold   { --_g: linear-gradient(90deg, var(--lp-gold), var(--lp-pink)); }
.lp-g-deep   { --_g: linear-gradient(120deg, #3A1150, var(--lp-crimson)); }

/* Glyph strokes inherit the tile's colour via currentColor. */
.lp-glyph { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lp-glyph-line { stroke: currentColor; stroke-width: 2.4; }
.lp-glyph-soft { stroke: currentColor; stroke-width: 2.4; opacity: 0.3; }
.lp-glyph-fill { fill: currentColor; stroke: none; }

.lp-ink-pink   { color: var(--lp-pink); }
.lp-ink-violet { color: var(--lp-violet); }
.lp-ink-cyan   { color: var(--lp-cyan); }
.lp-ink-mint   { color: var(--lp-mint); }
.lp-ink-gold   { color: var(--lp-gold); }
.lp-ink-indigo { color: var(--lp-indigo); }
.lp-ink-white  { color: #fff; }

@media (max-width: 860px) {
    .lp-trio { grid-template-columns: 1fr; }
    .lp-surface {
        grid-template-columns: 4rem 1fr;
        align-items: center;
        column-gap: 1.25rem;
    }
    .lp-surface > svg { grid-row: span 2; max-width: 4rem; margin-bottom: 0; }
}

/* --- flow ribbon --------------------------------------------------------- */

.lp-flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    list-style: none;
    margin: 0;
    padding: 0;
}

.lp-flow::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 2.1rem;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--lp-pink), var(--lp-violet) 40%, var(--lp-cyan) 70%, var(--lp-gold));
    opacity: 0.4;
}

.lp-act {
    position: relative;
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 0.3rem;
}

.lp-act-dot {
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    background: var(--_g);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.3);
    margin-bottom: 0.75rem;
}

.lp-act b {
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    letter-spacing: -0.022em;
}

.lp-act span {
    color: var(--platform-muted);
    font-size: 0.95rem;
    max-width: 16rem;
}

.lp-section--ink .lp-act span { color: rgba(255, 255, 255, 0.68); }

@media (max-width: 780px) {
    .lp-flow { grid-template-columns: 1fr; gap: 2rem; }
    .lp-flow::before {
        left: 2.1rem;
        right: auto;
        top: 1.2rem;
        bottom: 1.2rem;
        width: 3px;
        height: auto;
    }
    .lp-act {
        grid-template-columns: 4.2rem 1fr;
        justify-items: start;
        text-align: left;
        column-gap: 1.25rem;
    }
    .lp-act-dot { grid-row: span 2; margin-bottom: 0; }
}

/* --- bento mosaic -------------------------------------------------------- */

.lp-bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(0.75rem, 1.6vw, 1.1rem);
}

.lp-tile {
    position: relative;
    grid-column: span 2;
    display: grid;
    align-content: start;
    gap: 0.45rem;
    padding: 1.6rem 1.5rem;
    border-radius: 1.25rem;
    background: var(--platform-surface);
    border: 1px solid var(--platform-border);
    overflow: hidden;
    transition: transform 200ms, box-shadow 200ms, border-color 200ms;
}

.lp-tile::after {
    content: "";
    position: absolute;
    width: 12rem;
    height: 12rem;
    right: -5rem;
    top: -5rem;
    border-radius: 50%;
    background: var(--_g);
    opacity: 0.14;
    filter: blur(22px);
    pointer-events: none;
}

.lp-tile:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 22px 50px rgba(28, 22, 32, 0.12);
}

.lp-tile > svg {
    width: 2.6rem;
    height: 2.6rem;
    margin-bottom: 0.5rem;
}

.lp-tile b {
    font-size: 1.1rem;
    letter-spacing: -0.018em;
}

.lp-tile span {
    color: var(--platform-muted);
    font-size: 0.93rem;
    line-height: 1.45;
}

.lp-tile--wide { grid-column: span 3; }

.lp-tile--hero {
    grid-column: span 6;
    background: linear-gradient(120deg, #1B1424 0%, #3A1150 52%, #6D0B3C 100%);
    border-color: transparent;
    color: #fff;
    padding: clamp(1.75rem, 4vw, 2.75rem);
}

.lp-tile--hero b { font-size: clamp(1.5rem, 3.2vw, 2.2rem); letter-spacing: -0.03em; }
.lp-tile--hero span { color: rgba(255, 255, 255, 0.78); font-size: 1.02rem; max-width: 34rem; }
.lp-tile--hero::after { opacity: 0.55; width: 24rem; height: 24rem; right: -7rem; top: -9rem; }
.lp-tile--hero > svg { width: 3.2rem; height: 3.2rem; }

@media (max-width: 900px) {
    .lp-bento { grid-template-columns: repeat(4, 1fr); }
    .lp-tile,
    .lp-tile--wide { grid-column: span 2; }
    .lp-tile--hero { grid-column: span 4; }
}

@media (max-width: 620px) {
    .lp-bento { grid-template-columns: 1fr; }
    .lp-tile,
    .lp-tile--wide,
    .lp-tile--hero { grid-column: span 1; }
}

/* --- pocket control ------------------------------------------------------ */

.lp-pocket {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.lp-pocket-art {
    border-radius: 1.75rem;
    padding: clamp(1rem, 3vw, 2rem);
    background: var(--_g);
    box-shadow: 0 30px 70px rgba(124, 58, 237, 0.28);
}

.lp-pocket-art > svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 30rem;
}

.lp-caps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.75rem;
}

.lp-caps li {
    display: grid;
    grid-template-columns: 2rem 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.85rem;
    align-items: center;
}

.lp-caps svg {
    grid-row: span 2;
    width: 2rem;
    height: 2rem;
    align-self: start;
    margin-top: 0.15rem;
}

.lp-caps b {
    font-size: 1.02rem;
    letter-spacing: -0.015em;
}

.lp-caps span {
    color: var(--platform-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.lp-section--ink .lp-caps span { color: rgba(255, 255, 255, 0.7); }

@media (max-width: 940px) {
    .lp-pocket { grid-template-columns: 1fr; }
    .lp-pocket-art { max-width: 24rem; margin-inline: auto; }
}

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

/* --- counter swap -------------------------------------------------------- */

.lp-swap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(1rem, 3vw, 2.5rem);
    align-items: center;
}

.lp-swap-panel {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 0.35rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: 1.5rem;
}

.lp-swap-panel > svg {
    width: 100%;
    max-width: 16rem;
    height: auto;
    margin-bottom: 0.75rem;
}

.lp-swap-panel b { font-size: 1.2rem; letter-spacing: -0.02em; }
.lp-swap-panel span { font-size: 0.93rem; }

.lp-swap-panel--old {
    color: var(--platform-muted-soft);
    border: 1px dashed var(--platform-border);
    background: var(--platform-surface-alt);
}

.lp-swap-panel--old b { color: var(--platform-muted); }

.lp-swap-panel--old > svg {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.75;
}

.lp-swap-panel--new {
    background: var(--_g);
    color: #fff;
    box-shadow: 0 26px 60px rgba(6, 182, 212, 0.3);
}

.lp-swap-panel--new span { color: rgba(255, 255, 255, 0.85); }

.lp-swap-arrow {
    color: var(--lp-violet);
    width: 2.75rem;
}

.lp-swap-arrow > svg { width: 100%; height: auto; display: block; }

@media (max-width: 820px) {
    .lp-swap { grid-template-columns: 1fr; }
    .lp-swap-arrow { justify-self: center; transform: rotate(90deg); }
}

/* --- role lanes ---------------------------------------------------------- */

.lp-lanes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(0.85rem, 2vw, 1.25rem);
}

.lp-lane {
    position: relative;
    padding: 1.75rem 1.5rem;
    border-radius: 1.25rem;
    background: var(--platform-surface);
    border: 1px solid var(--platform-border);
    overflow: hidden;
    transition: transform 200ms, box-shadow 200ms;
}

.lp-lane::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--_g);
}

.lp-lane:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(28, 22, 32, 0.1);
}

.lp-lane-kicker {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--_g);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.lp-lane h3 {
    font-size: 1.3rem;
    letter-spacing: -0.025em;
    font-weight: 800;
    margin: 0 0 1rem;
}

.lp-lane ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.lp-lane li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.94rem;
    line-height: 1.4;
    color: var(--platform-muted);
}

.lp-lane li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: var(--_g);
}

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

/* --- claim strip --------------------------------------------------------- */

.lp-claims {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
}

.lp-claim b {
    display: block;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: linear-gradient(100deg, #FFC4DA, #C9B6FF 60%, #8CE9F5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-claim span {
    display: block;
    margin-top: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

@media (max-width: 780px) {
    .lp-claims { grid-template-columns: 1fr; gap: 2rem; }
}

/* --- alternating showcase rows ------------------------------------------- */

.lp-show {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.lp-show + .lp-show { margin-top: clamp(3rem, 7vw, 5.5rem); }
.lp-show--flip > *:first-child { order: 2; }

.lp-show h3 {
    font-size: clamp(1.5rem, 3.2vw, 2.1rem);
    letter-spacing: -0.028em;
    font-weight: 800;
    margin: 0 0 0.6rem;
}

.lp-show p {
    color: var(--platform-muted);
    font-size: 1.05rem;
    margin: 0;
    max-width: 26rem;
}

.lp-show-art {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 1.5rem;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--_g);
    box-shadow: 0 26px 60px rgba(28, 22, 32, 0.16);
}

.lp-show-art > svg { width: 72%; height: auto; }

@media (max-width: 860px) {
    .lp-show { grid-template-columns: 1fr; gap: 1.75rem; }
    .lp-show--flip > *:first-child { order: 0; }
}

/* --- CTA ----------------------------------------------------------------- */

.lp-cta {
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 1.25rem;
}

.lp-cta h2 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.4rem);
    letter-spacing: -0.035em;
    font-weight: 800;
    line-height: 1.03;
    max-width: 20ch;
}

/* --- motion -------------------------------------------------------------- */

@keyframes lp-drift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50%      { transform: translate3d(2rem, -1.5rem, 0) scale(1.08); }
}

.lp-aurora::before { animation: lp-drift 22s ease-in-out infinite; }
.lp-aurora::after  { animation: lp-drift 28s ease-in-out infinite reverse; }

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* marketing-slider.js also refuses to autoplay under this preference. */
    .lp-slider-track {
        scroll-behavior: auto !important;
    }
}

/* --- language switcher --------------------------------------------------- */

.lp-lang {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-right: 0.35rem;
}

.lp-lang-opt {
    color: var(--platform-muted);
    text-decoration: none;
    padding: 0.2rem 0.15rem;
}

.lp-lang-opt:hover {
    color: var(--platform-ink);
}

.lp-lang-opt.is-active {
    color: var(--platform-accent);
}

.lp-lang-sep {
    color: var(--platform-border);
    user-select: none;
}

.lp-menu-panel .lp-lang {
    margin: 0.35rem 0.7rem 0.15rem;
}

/* --- autoplay slider ------------------------------------------------------ */

.lp-slider {
    position: relative;
}

.lp-slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.lp-slider-track::-webkit-scrollbar {
    display: none;
}

.lp-slide {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start;
    padding: 0.25rem 0.25rem 0.5rem;
}

.lp-slide-head {
    text-align: center;
    max-width: 46rem;
    margin: 0 auto 1.75rem;
}

.lp-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 1.5rem;
}

.lp-slider-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: var(--platform-border);
    cursor: pointer;
    transition: width 200ms, background 200ms;
}

.lp-slider-dot.active {
    width: 24px;
    background: var(--lp-crimson);
}

/* --- pricing -------------------------------------------------------------- */

.lp-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.lp-price-card {
    display: grid;
    align-content: start;
    gap: 0.45rem;
    padding: 1.6rem 1.4rem;
    border-radius: 1.25rem;
    background: var(--platform-surface);
    border: 1px solid var(--platform-border);
    position: relative;
    overflow: hidden;
}

.lp-price-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--lp-pink), var(--lp-violet));
}

.lp-price-card--hero::before {
    background: linear-gradient(90deg, var(--lp-crimson), var(--lp-violet), var(--lp-cyan));
}

.lp-price-name {
    font-weight: 700;
    font-size: 1.05rem;
}

.lp-price-amount {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.lp-price-amount small {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--platform-muted);
    letter-spacing: 0;
}

.lp-price-setup {
    font-size: 0.85rem;
    color: var(--platform-muted);
}

.lp-price-limits {
    margin: 0.35rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: var(--platform-muted);
}

.lp-price-limits li::before {
    content: "✓ ";
    color: var(--lp-mint);
    font-weight: 700;
}

.lp-price-tiers {
    margin: 0.35rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.4rem;
    font-size: 0.92rem;
}

.lp-price-tiers li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    border-bottom: 1px dashed var(--platform-border);
    padding-bottom: 0.35rem;
}

.lp-price-tiers li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.lp-price-tiers b {
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Device screenshots (signage product line)
   -------------------------------------------------------------------------- */

.lp-device {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    /* Device widths are fixed rem/vw values; without this a narrow grid track
       lets the bezel run under the section's overflow:hidden and get clipped. */
    max-width: 100%;
}

.lp-device figcaption {
    font-size: 0.9rem;
    color: var(--platform-muted);
    text-align: center;
    max-width: 18rem;
    line-height: 1.35;
}

.lp-device-bezel {
    position: relative;
    background: #1a1d26;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 24px 48px rgba(16, 18, 28, 0.28);
}

.lp-device-screen {
    overflow: hidden;
    background: #0b0d12;
    line-height: 0;
}

.lp-device-screen img {
    display: block;
    width: 100%;
    height: auto;
}

.lp-device--phone {
    width: min(14rem, 42vw);
}

.lp-device--phone .lp-device-bezel {
    border-radius: 1.65rem;
    padding: 0.55rem 0.4rem 0.7rem;
}

.lp-device--phone .lp-device-screen {
    border-radius: 1.2rem;
}

.lp-device-notch {
    display: block;
    width: 32%;
    height: 0.55rem;
    margin: 0 auto 0.35rem;
    border-radius: 999px;
    background: #0b0d12;
}

.lp-device--tablet {
    width: min(22rem, 70vw);
}

.lp-device--tablet .lp-device-bezel {
    border-radius: 1.25rem;
    padding: 0.7rem;
}

.lp-device--tablet .lp-device-screen {
    border-radius: 0.55rem;
}

.lp-device--browser {
    width: min(44rem, 100%);
}

.lp-device--browser .lp-device-bezel {
    border-radius: 0.85rem;
    padding: 0;
    overflow: hidden;
    background: #2a2e3a;
}

.lp-device-browser-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.75rem;
    background: #1a1d26;
}

.lp-device-browser-bar > span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #5c6472;
}

.lp-device-browser-bar > span:nth-child(1) { background: #ff5f57; }
.lp-device-browser-bar > span:nth-child(2) { background: #febc2e; }
.lp-device-browser-bar > span:nth-child(3) { background: #28c840; }

.lp-device-browser-url {
    flex: 1;
    margin-left: 0.5rem;
    padding: 0.28rem 0.65rem;
    border-radius: 0.4rem;
    background: #0b0d12;
    color: #9aa3b5;
    font-size: 0.72rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp-device--browser .lp-device-screen {
    border-radius: 0;
}

.lp-device--tv {
    width: min(48rem, 100%);
}

.lp-device--tv .lp-device-bezel {
    border-radius: 0.85rem;
    padding: 0.55rem 0.55rem 1.1rem;
    background: linear-gradient(180deg, #2a2e3a, #14161e);
}

.lp-device--tv .lp-device-screen {
    border-radius: 0.35rem;
}

.lp-device-tv-bar {
    display: block;
    width: 18%;
    height: 0.35rem;
    margin: 0.15rem auto 0.45rem;
    border-radius: 999px;
    background: #0b0d12;
}

.lp-device--tv .lp-device-bezel::after {
    content: "";
    display: block;
    width: 28%;
    height: 0.45rem;
    margin: 0.45rem auto 0;
    border-radius: 0 0 0.35rem 0.35rem;
    background: #2a2e3a;
}

/* Signage hero stage: TV dominant, phone secondary (not a floating badge). */
.lp-signage-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.lp-signage-stage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 0.75rem;
}

.lp-signage-stage-tv {
    width: 100%;
}

.lp-signage-stage-phone {
    width: min(9.5rem, 28vw);
    margin-bottom: 0.5rem;
}

.lp-signage-lanes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.lp-signage-lane {
    padding: 1.35rem 1.4rem;
    border-radius: 1rem;
    background: var(--platform-surface, #fff);
    border: 1px solid var(--platform-border);
}

.lp-signage-lane b {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 0.45rem;
}

.lp-signage-lane p {
    margin: 0;
    color: var(--platform-muted);
    line-height: 1.45;
}

.lp-signage-lane--accent {
    border-color: transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, var(--lp-pink), var(--lp-violet)) border-box;
    border: 1px solid transparent;
}

.lp-signage-setup {
    display: grid;
    gap: 2.5rem;
}

.lp-signage-setup-step {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr);
    gap: 1.5rem;
    align-items: end;
}

.lp-signage-setup-phone {
    justify-self: center;
}

.lp-signage-design {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.lp-signage-sync {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1.4fr) auto;
    gap: 1rem;
    align-items: end;
    justify-content: center;
}

.lp-signage-sync .lp-device--phone {
    width: min(11rem, 28vw);
}

.lp-signage-sync-arrow {
    font-size: 1.75rem;
    color: var(--lp-violet);
    padding-bottom: 2.5rem;
    font-weight: 700;
}

.lp-signage-home {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: center;
}

.lp-signage-home-visual {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: end;
}

.lp-signage-home-visual .lp-device--phone {
    width: min(8.5rem, 26vw);
}

@media (max-width: 900px) {
    .lp-signage-hero,
    .lp-signage-design,
    .lp-signage-home,
    .lp-signage-lanes,
    .lp-signage-setup-step {
        grid-template-columns: 1fr;
    }

    .lp-signage-stage {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .lp-signage-stage-phone {
        margin-top: -2.5rem;
        margin-left: auto;
        margin-right: 8%;
    }

    .lp-signage-sync {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .lp-signage-sync-arrow {
        transform: rotate(90deg);
        padding: 0;
    }

    .lp-signage-home-visual {
        grid-template-columns: 1fr;
        justify-items: center;
    }
}

/* --------------------------------------------------------------------------
   Lumina Signage: product-line chrome, system map, board types, gallery
   -------------------------------------------------------------------------- */

/* Badge that marks a section as the second product line rather than a feature. */
.lp-product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0.35rem 0.85rem 0.35rem 0.6rem;
    border: 1px solid var(--platform-border);
    border-radius: 999px;
    background: var(--platform-surface);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--platform-ink);
}

.lp-product-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: linear-gradient(120deg, var(--lp-pink), var(--lp-violet));
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.16);
}

.lp-nav-link--product { color: var(--platform-ink); }

.lp-cta-note {
    margin: -0.35rem 0 0;
    font-size: 0.95rem;
    opacity: 0.85;
    max-width: 46ch;
}

/* --- system map: design → publish → screens ------------------------------ */

.lp-sysmap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-sysmap-node {
    display: grid;
    align-content: start;
    gap: 0.6rem;
    padding: 1.6rem 1.4rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
}

.lp-sysmap-node::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--_g, linear-gradient(90deg, var(--lp-pink), var(--lp-violet)));
}

.lp-sysmap-node > svg {
    width: 100%;
    max-width: 7.5rem;
    height: auto;
    margin-bottom: 0.35rem;
}

.lp-sysmap-node b {
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.lp-sysmap-node span {
    color: #cfc9d6;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Decorative rail between stages: three dots that drift toward the next node. */
.lp-sysmap-rail {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding-inline: 0.35rem;
}

.lp-sysmap-rail > span {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    animation: lp-sysmap-drift 1.8s ease-in-out infinite;
}

.lp-sysmap-rail > span:nth-child(2) { animation-delay: 0.2s; }
.lp-sysmap-rail > span:nth-child(3) { animation-delay: 0.4s; }

@keyframes lp-sysmap-drift {
    0%, 100% { opacity: 0.25; transform: translateX(-2px); }
    50%      { opacity: 1;    transform: translateX(2px); }
}

@media (prefers-reduced-motion: reduce) {
    .lp-sysmap-rail > span { animation: none; opacity: 0.6; }
}

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

    .lp-sysmap-rail {
        justify-content: center;
        flex-direction: column;
        padding-block: 0.35rem;
    }

    @keyframes lp-sysmap-drift {
        0%, 100% { opacity: 0.25; transform: translateY(-2px); }
        50%      { opacity: 1;    transform: translateY(2px); }
    }
}

/* --- what goes on a screen ----------------------------------------------- */

.lp-boards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1.1rem;
}

.lp-board-card {
    display: grid;
    align-content: start;
    gap: 0.5rem;
    padding: 1.5rem 1.35rem;
    border: 1px solid var(--platform-border-soft);
    border-radius: 1.1rem;
    background: var(--platform-surface);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lp-board-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(28, 22, 32, 0.1);
}

.lp-board-card > svg {
    width: 100%;
    max-width: 6.5rem;
    height: auto;
    margin-bottom: 0.4rem;
}

.lp-board-card b {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--platform-ink);
}

.lp-board-card span {
    color: var(--platform-muted);
    font-size: 0.94rem;
    line-height: 1.5;
}

/* --- design studio: iPad beside the browser ------------------------------ */

.lp-signage-studio {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    min-width: 0;
    gap: clamp(1.25rem, 4vw, 2.5rem);
    align-items: center;
    justify-items: center;
}

.lp-signage-studio-web { width: 100%; }

/* --- device gallery: both product lines on real hardware ----------------- */

.lp-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2.25rem);
    align-items: end;
    justify-items: center;
}

/* The TV is the widest surface, so it takes the full row under the others. */
.lp-gallery-tv {
    grid-column: 1 / -1;
    width: min(42rem, 100%);
}

.lp-gallery-tablet { width: min(19rem, 100%); }

@media (max-width: 900px) {
    .lp-signage-studio { grid-template-columns: minmax(0, 1fr); }

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

    .lp-gallery-phone { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .lp-gallery { grid-template-columns: 1fr; }
    .lp-gallery-tablet { width: min(16rem, 100%); }
}

/* ---------------------------------------------------------------------------
   Signage: kit, update loop, security, FAQ.
   Reuses the lp-glyph line-art vocabulary and the lp-g-* gradient accents from
   the system map, so the new sections read as the same family rather than as
   bolted-on blocks.
   --------------------------------------------------------------------------- */

.lp-kit,
.lp-secure {
    list-style: none;
    margin: 2.5rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1.25rem;
}

.lp-kit-item,
.lp-secure-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 1.5rem 1.25rem 1.25rem;
    border: 1px solid var(--platform-border);
    border-radius: 1rem;
    background: var(--platform-surface, #fff);
    overflow: hidden;
}

/* The gradient hairline is the only colour each card carries — the glyph picks
   up the same hue through lp-ink-*, so the accent reads as one decision. */
.lp-kit-item::before,
.lp-secure-item::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--_g);
}

.lp-kit-item > svg,
.lp-secure-item > svg {
    width: 100%;
    max-width: 6.5rem;
    height: auto;
    margin-bottom: 0.35rem;
}

.lp-kit-item b,
.lp-secure-item b {
    font-size: 1.02rem;
    letter-spacing: -0.01em;
}

.lp-kit-item span,
.lp-secure-item span {
    color: var(--platform-muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.lp-fineprint {
    margin: 1.25rem 0 0;
    color: var(--platform-muted);
    font-size: 0.86rem;
}

/* ---- Update loop ---- */

.lp-loop {
    margin-top: 2.5rem;
}

.lp-loop-track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.25rem;
}

.lp-loop-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 1.5rem 1.25rem 1.25rem;
    border: 1px solid var(--platform-border);
    border-radius: 1rem;
    background: var(--platform-surface, #fff);
    overflow: hidden;
}

.lp-loop-step::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--_g);
}

.lp-loop-step > svg {
    width: 100%;
    max-width: 5.5rem;
    height: auto;
}

.lp-loop-step b {
    font-size: 1.02rem;
    letter-spacing: -0.01em;
}

.lp-loop-step span {
    color: var(--platform-muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.lp-loop-return {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin: 1.5rem 0 0;
    color: var(--platform-muted);
    font-size: 0.92rem;
    text-align: center;
}

.lp-loop-return-icon {
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: var(--lp-violet);
}

/* ---- FAQ ---- */

.lp-faq {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 52rem;
    margin-inline: auto;
}

.lp-faq-item {
    border: 1px solid var(--platform-border);
    border-radius: 0.85rem;
    background: var(--platform-surface, #fff);
    overflow: hidden;
}

.lp-faq-item summary {
    cursor: pointer;
    padding: 1rem 1.15rem;
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

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

/* The marker is drawn rather than a glyph so it can rotate on open without
   depending on a font that may not be present. */
.lp-faq-item summary::after {
    content: "";
    flex: 0 0 auto;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid var(--platform-muted);
    border-bottom: 2px solid var(--platform-muted);
    transform: rotate(45deg) translate(-0.1rem, -0.1rem);
    transition: transform 0.18s ease;
}

.lp-faq-item[open] summary::after {
    transform: rotate(-135deg) translate(-0.1rem, -0.1rem);
}

.lp-faq-item summary:focus-visible {
    outline: 2px solid var(--lp-violet);
    outline-offset: -2px;
}

.lp-faq-item p {
    margin: 0;
    padding: 0 1.15rem 1.1rem;
    color: var(--platform-muted);
    line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
    .lp-faq-item summary::after { transition: none; }
}

@media (max-width: 640px) {
    .lp-kit,
    .lp-secure,
    .lp-loop-track {
        grid-template-columns: 1fr;
    }
}
