/* ============================================================
   Passoria landing design layer
   Loaded after theme.min.css — owns the public/marketing look.
   All page-section classes are prefixed .lp- ; .pp- is the
   battery-passport artifact component and its variants.
   ============================================================ */

:root {
    /* Color tokens — derived from the brand logo:
       navy #000d75, azure #008ffe, mint #00ffa8 */
    --lp-ink: #04081f;
    --lp-navy-900: #060f4e;
    --lp-navy: #000d75;
    --lp-blue: #008ffe;
    --lp-blue-deep: #0069d9;
    --lp-green: #00c583;
    --lp-mint: #00ffa8;
    --lp-copper: #c2703d;
    --lp-copper-soft: #f7e9df;
    --lp-paper: #f4f7fd;
    --lp-card: #ffffff;
    --lp-text: #0e1430;
    --lp-text-2: #525d7a;
    --lp-line: #e2e8f4;
    --lp-line-dark: rgba(255, 255, 255, 0.08);
    --lp-text-on-dark: rgba(238, 244, 255, 0.75);

    /* Type */
    --lp-font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
    --lp-font-body: 'Plus Jakarta Sans', sans-serif;
    --lp-font-mono: 'IBM Plex Mono', ui-monospace, monospace;

    /* Shape */
    --lp-radius-md: 12px;
    --lp-radius-lg: 20px;
    --lp-shadow-card: 0 1px 2px rgba(4, 8, 31, 0.05), 0 12px 32px -16px rgba(4, 8, 31, 0.14);
    --lp-shadow-float: 0 24px 60px -20px rgba(3, 10, 60, 0.45);
}

/* ------------------------------------------------------------
   Brand re-mapping — the theme ships its own blue primary
   (#030db1); Passoria is navy/azure/mint. Applies to every
   landing-app page.
   ------------------------------------------------------------ */

html {
    /* Progressive anchor scrolling; offset clears the fixed header */
    scroll-behavior: smooth;
    scroll-padding-top: 5.5rem;
}

body {
    font-family: var(--lp-font-body);
    color: var(--lp-text);
    background-color: var(--lp-card);
}

.btn-primary {
    --bs-btn-bg: var(--lp-blue-deep);
    --bs-btn-border-color: var(--lp-blue-deep);
    --bs-btn-hover-bg: var(--lp-navy);
    --bs-btn-hover-border-color: var(--lp-navy);
    --bs-btn-active-bg: var(--lp-navy);
    --bs-btn-active-border-color: var(--lp-navy);
    background-color: var(--lp-blue-deep);
    border-color: var(--lp-blue-deep);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--lp-navy);
    border-color: var(--lp-navy);
}

.text-primary,
.dropdown-header.text-primary {
    color: var(--lp-blue-deep) !important;
}

.bg-primary {
    background-color: var(--lp-blue-deep) !important;
}

.bg-soft-primary {
    background-color: rgba(0, 143, 254, 0.1) !important;
}

a,
.link {
    color: var(--lp-blue-deep);
}

a:hover,
.link:hover {
    color: var(--lp-navy);
}

.nav-link,
.navbar .nav-link {
    color: var(--lp-text);
}

.nav-link:hover,
.nav-link.active,
.dropdown-item.active {
    color: var(--lp-blue-deep);
}

.dropdown-item.active {
    background-color: rgba(0, 143, 254, 0.08);
}

a:focus-visible,
.btn:focus-visible,
button:focus-visible {
    outline: 2px solid var(--lp-blue);
    outline-offset: 2px;
    box-shadow: none;
}

/* Header: glass bar that stays readable over the dark hero */
#header.navbar {
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(4, 8, 31, 0.06);
}

#header .btn-primary {
    border-radius: 999px;
    font-weight: 600;
}

/* User account menu: the invoker is an avatar, so drop the caret and
   anchor the panel to the right edge instead of letting it run off screen */
.lp-user-menu > .nav-link::after {
    display: none;
}

.lp-user-menu > .nav-link {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

/* The theme ships a blue soft-primary avatar; remap it to the brand azure */
.lp-user-menu .avatar-soft-primary .avatar-initials {
    color: var(--lp-blue-deep);
    background-color: rgba(0, 143, 254, 0.1);
}

.lp-user-menu .avatar-initials {
    font-size: 0.8125rem;
}

.lp-user-menu .dropdown-item-text {
    line-height: 1.35;
}

@media (min-width: 992px) {
    .lp-user-menu > .hs-sub-menu {
        left: auto;
        right: 0;
    }
}

/* Footer: dark ink to close the page */
footer.bg-light {
    background-color: var(--lp-ink) !important;
    color: var(--lp-text-on-dark);
}

footer.bg-light .border-bottom {
    border-color: var(--lp-line-dark) !important;
}

footer.bg-light .link {
    color: var(--lp-text-on-dark);
}

footer.bg-light .link:hover {
    color: var(--lp-mint);
}

/* ------------------------------------------------------------
   Shared landing primitives
   ------------------------------------------------------------ */

/* Sticky-footer filler: #content already stretches (custom.css);
   flex column + .lp-grow lets a page's last section absorb the
   leftover height instead of leaving a bare white band. */
#content {
    display: flex;
    flex-direction: column;
}

.lp-grow {
    flex: 1 0 auto;
}

/* Vertical padding only: these compose with .container, whose
   horizontal gutters must survive. */
.lp-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.lp-section-sm {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

@media (max-width: 991.98px) {
    .lp-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

.lp-paper {
    background-color: var(--lp-paper);
}

.lp-dark {
    background-color: var(--lp-ink);
    color: var(--lp-text-on-dark);
}

.lp-h,
.lp-display {
    font-family: var(--lp-font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.12;
    color: var(--lp-text);
}

.lp-dark .lp-h {
    color: #f3f6ff;
}

.lp-display {
    font-weight: 700;
    font-size: clamp(2.3rem, 4.1vw, 3.5rem);
    letter-spacing: -0.03em;
    line-height: 1.06;
}

.lp-h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.lp-h3 {
    font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.lp-lead {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--lp-text-2);
}

.lp-dark .lp-lead {
    color: var(--lp-text-on-dark);
}

/* Mono eyebrow — the machine-readable thread */
.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--lp-font-mono);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lp-blue-deep);
    margin-bottom: 1rem;
}

.lp-eyebrow-copper {
    color: var(--lp-copper);
}

.lp-eyebrow-mint {
    color: var(--lp-mint);
}

/* Check list */
.lp-check {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-check li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.85rem;
    line-height: 1.55;
    color: var(--lp-text-2);
}

.lp-check li strong {
    color: var(--lp-text);
}

.lp-check li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.14em;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 999px;
    background-color: rgba(0, 143, 254, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.5 8.5l2.5 2.5 4.5-5' stroke='%230069d9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 0.85rem;
    background-position: center;
    background-repeat: no-repeat;
}

.lp-dark .lp-check li {
    color: var(--lp-text-on-dark);
}

.lp-dark .lp-check li strong {
    color: #f3f6ff;
}

/* Callout */
.lp-callout {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    border: 1px solid var(--lp-line);
    border-left: 3px solid var(--lp-blue);
    background: var(--lp-card);
    border-radius: var(--lp-radius-md);
    padding: 1rem 1.25rem;
    color: var(--lp-text-2);
}

.lp-callout i {
    color: var(--lp-blue-deep);
    font-size: 1.1rem;
    line-height: 1.5;
}

.lp-callout-copper {
    border-left-color: var(--lp-copper);
}

.lp-callout-copper i {
    color: var(--lp-copper);
}

/* Buttons */
.lp-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--lp-blue), var(--lp-blue-deep));
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1.75rem;
    box-shadow: 0 8px 24px -8px rgba(0, 105, 217, 0.55);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lp-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgba(0, 105, 217, 0.6);
}

.lp-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: #eef4ff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 0.85rem 1.75rem;
    transition: background 0.15s ease, border-color 0.15s ease;
}

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

/* Scroll reveal */
.lp-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lp-reveal.is-visible {
    opacity: 1;
    transform: none;
}

.lp-reveal-d1 { transition-delay: 0.08s; }
.lp-reveal-d2 { transition-delay: 0.16s; }
.lp-reveal-d3 { transition-delay: 0.24s; }

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */

.lp-hero {
    position: relative;
    background:
        radial-gradient(ellipse 60% 55% at 78% 18%, rgba(0, 255, 168, 0.1), transparent),
        radial-gradient(ellipse 50% 60% at 12% 90%, rgba(0, 143, 254, 0.12), transparent),
        linear-gradient(160deg, var(--lp-ink) 0%, var(--lp-navy-900) 100%);
    color: var(--lp-text-on-dark);
    padding: 10rem 0 6.5rem;
    overflow: hidden;
}

.lp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 60% 20%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 80% at 60% 20%, #000 30%, transparent 75%);
    pointer-events: none;
}

.lp-hero > .container {
    position: relative;
}

.lp-hero .lp-display {
    color: #f3f6ff;
}

.lp-hero-grad {
    background: linear-gradient(92deg, var(--lp-mint) 0%, #2cd9c9 50%, #4fb1ff 110%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--lp-font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--lp-mint);
    background: rgba(0, 255, 168, 0.08);
    border: 1px solid rgba(0, 255, 168, 0.25);
    border-radius: 999px;
    padding: 0.45rem 1rem;
}

.lp-hero-badge i {
    font-size: 0.85rem;
}

.lp-hero-sub {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--lp-text-on-dark);
    max-width: 34rem;
}

/* Hero scan CTA: a real QR code linking to the public demo passport */
.lp-scan-cta {
    display: inline-flex;
    align-items: center;
    gap: 1.1rem;
    margin-top: 2.5rem;
    padding: 0.8rem 1.4rem 0.8rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--lp-line-dark);
    border-radius: var(--lp-radius-lg);
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.lp-scan-cta:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(0, 255, 168, 0.4);
    transform: translateY(-2px);
}

.lp-scan-cta-qr {
    flex-shrink: 0;
    display: block;
    background: #fff;
    border-radius: var(--lp-radius-md);
    padding: 0.45rem;
}

.lp-scan-cta-qr img {
    display: block;
    width: 5.25rem;
    height: 5.25rem;
}

.lp-scan-cta-label {
    display: block;
    font-family: var(--lp-font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lp-mint);
    margin-bottom: 0.3rem;
}

.lp-scan-cta-text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--lp-text-on-dark);
    max-width: 21rem;
}

/* ------------------------------------------------------------
   The passport artifact (.pp-card) and its stage variants
   ------------------------------------------------------------ */

.pp-card {
    position: relative;
    background: var(--lp-card);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow-card);
    overflow: hidden;
    max-width: 26.5rem;
    font-family: var(--lp-font-body);
    color: var(--lp-text);
}

.pp-card-float {
    box-shadow: var(--lp-shadow-float);
    transform: rotate(-1.5deg);
    transition: transform 0.3s ease;
}

.pp-card-float:hover {
    transform: rotate(0deg);
}

/* scan sheen sweeping across the hero passport */
.pp-card-scan::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(0, 255, 168, 0.14) 50%, transparent 60%);
    transform: translateX(-100%);
    animation: pp-scan 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pp-scan {
    0%, 55% { transform: translateX(-100%); }
    85%, 100% { transform: translateX(100%); }
}

.pp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--lp-line);
    background: linear-gradient(180deg, rgba(0, 143, 254, 0.05), transparent);
}

.pp-head-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--lp-font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--lp-text);
}

.pp-head-label .bi-stars,
.pp-head-label i {
    color: var(--lp-blue);
    font-size: 0.95rem;
}

.pp-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--lp-font-mono);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--lp-blue-deep);
    background: rgba(0, 143, 254, 0.1);
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
    white-space: nowrap;
}

.pp-chip-live::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--lp-green);
    animation: pp-pulse 2s ease-in-out infinite;
}

@keyframes pp-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 197, 131, 0.5); }
    50% { box-shadow: 0 0 0 5px rgba(0, 197, 131, 0); }
}

.pp-chip-warn {
    color: var(--lp-copper);
    background: var(--lp-copper-soft);
}

.pp-body {
    padding: 1.1rem 1.25rem;
}

.pp-id-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pp-id {
    font-family: var(--lp-font-mono);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.pp-id small {
    display: block;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--lp-text-2);
    margin-bottom: 0.2rem;
}

.pp-qr {
    flex-shrink: 0;
    width: 3.4rem;
    height: 3.4rem;
    border: 1px solid var(--lp-line);
    border-radius: 8px;
    padding: 0.3rem;
    background: #fff;
}

.pp-qr svg {
    display: block;
    width: 100%;
    height: 100%;
}

.pp-rows {
    border-top: 1px dashed var(--lp-line);
}

.pp-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px dashed var(--lp-line);
    font-size: 0.85rem;
}

.pp-row dt {
    font-weight: 500;
    color: var(--lp-text-2);
    margin: 0;
}

.pp-row dd {
    font-family: var(--lp-font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--lp-text);
    margin: 0;
    text-align: right;
}

.pp-row dd .bi-check-circle-fill {
    color: var(--lp-green);
    margin-left: 0.3rem;
}

.pp-row dd .bi-exclamation-triangle-fill {
    color: var(--lp-copper);
    margin-left: 0.3rem;
}

/* State-of-health sparkline block */
.pp-soh {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius-md);
    background: var(--lp-paper);
}

.pp-soh-val {
    font-family: var(--lp-font-mono);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1;
    color: var(--lp-blue-deep);
}

.pp-soh-val small {
    display: block;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--lp-text-2);
    margin-top: 0.3rem;
}

.pp-soh svg {
    flex: 1;
    min-width: 0;
    height: 2.6rem;
}

/* Machine-readable strip — the passport signature */
.pp-mrz {
    font-family: var(--lp-font-mono);
    font-size: 0.68rem;
    line-height: 1.7;
    letter-spacing: 0.14em;
    color: rgba(14, 20, 48, 0.45);
    background: var(--lp-paper);
    border-top: 1px solid var(--lp-line);
    padding: 0.7rem 1.25rem;
    white-space: nowrap;
    overflow: hidden;
    user-select: none;
}

/* Rubber stamp (stage 1 — customs cleared) */
.pp-card-stamped .pp-body {
    padding-bottom: 3.6rem;
}

.pp-stamp {
    position: absolute;
    right: 1.1rem;
    bottom: 3.9rem;
    transform: rotate(-9deg);
    font-family: var(--lp-font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lp-navy);
    border: 2px solid var(--lp-navy);
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    opacity: 0.75;
    pointer-events: none;
}

/* Material-yield bars (stage 3 — intake manifest) */
.pp-yield {
    margin-top: 1rem;
}

.pp-yield-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-family: var(--lp-font-mono);
    font-size: 0.72rem;
    color: var(--lp-text-2);
}

.pp-yield-row .el {
    width: 2rem;
    font-weight: 600;
    color: var(--lp-text);
}

.pp-yield-row .track {
    flex: 1;
    height: 0.5rem;
    border-radius: 999px;
    background: rgba(4, 8, 31, 0.06);
    overflow: hidden;
}

.pp-yield-row .fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--lp-blue);
}

.pp-yield-row .fill-copper {
    background: var(--lp-copper);
}

.pp-yield-row .amt {
    width: 3.6rem;
    text-align: right;
}

/* Mini step list (stage 3 disassembly) */
.pp-steps {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    font-size: 0.8rem;
}

.pp-steps li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0;
    color: var(--lp-text-2);
}

.pp-steps .n {
    font-family: var(--lp-font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--lp-blue-deep);
    background: rgba(0, 143, 254, 0.1);
    border-radius: 999px;
    width: 1.3rem;
    height: 1.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ------------------------------------------------------------
   Deadline / countdown section
   ------------------------------------------------------------ */

.lp-deadline-card {
    background: var(--lp-card);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow-card);
    padding: 2rem;
}

.lp-count {
    display: flex;
    gap: 1.25rem;
    justify-content: space-between;
    text-align: center;
    margin: 1.25rem 0 1.5rem;
}

.lp-count-cell {
    flex: 1;
}

.lp-count-num {
    font-family: var(--lp-font-mono);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--lp-text);
    font-variant-numeric: tabular-nums;
}

.lp-count-label {
    font-family: var(--lp-font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lp-text-2);
    margin-top: 0.25rem;
}

.lp-risk {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-risk li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.6rem 0;
    color: var(--lp-text-2);
    line-height: 1.5;
}

.lp-risk i {
    color: var(--lp-copper);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

/* ------------------------------------------------------------
   Lifecycle stage sections
   ------------------------------------------------------------ */

.lp-stage-visual {
    display: flex;
    justify-content: center;
}

.lp-takeaway {
    font-family: var(--lp-font-display);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--lp-text);
}

/* ------------------------------------------------------------
   Features (dark bento)
   ------------------------------------------------------------ */

.lp-feature {
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--lp-line-dark);
    border-radius: var(--lp-radius-md);
    padding: 1.5rem;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.lp-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 255, 168, 0.35);
    transform: translateY(-3px);
}

.lp-feature > i {
    font-size: 1.5rem;
    color: var(--lp-mint);
}

.lp-feature h3 {
    font-family: var(--lp-font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: #f3f6ff;
    margin: 0.85rem 0 0.75rem;
}

.lp-feature ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.86rem;
}

.lp-feature li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.45rem;
    color: var(--lp-text-on-dark);
    line-height: 1.5;
}

.lp-feature li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 0.45rem;
    height: 1.5px;
    background: var(--lp-blue);
}

/* Trust strip inside dark section */
.lp-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 3rem;
    justify-content: center;
    align-items: center;
    border-top: 1px solid var(--lp-line-dark);
    margin-top: 3.5rem;
    padding-top: 2.25rem;
}

.lp-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--lp-font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lp-text-on-dark);
}

.lp-trust-item i {
    color: var(--lp-mint);
    font-size: 1rem;
}

/* ------------------------------------------------------------
   Why us
   ------------------------------------------------------------ */

.lp-why-card {
    height: 100%;
    background: var(--lp-card);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow-card);
    padding: 2rem;
}

.lp-why-card h3 {
    font-family: var(--lp-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* ------------------------------------------------------------
   Value props
   ------------------------------------------------------------ */

.lp-value {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    background: var(--lp-card);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius-md);
    padding: 1.75rem 1.25rem;
    box-shadow: var(--lp-shadow-card);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-value:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 143, 254, 0.4);
    box-shadow: 0 4px 8px rgba(4, 8, 31, 0.05), 0 18px 40px -18px rgba(4, 8, 31, 0.18);
}

.lp-value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 143, 254, 0.14), rgba(0, 255, 168, 0.18));
    color: var(--lp-blue-deep);
    font-size: 1.35rem;
}

.lp-value p {
    margin: 0;
    font-weight: 500;
    line-height: 1.45;
    color: var(--lp-text);
}

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

.lp-pilot {
    position: relative;
    background:
        radial-gradient(ellipse 65% 90% at 50% -10%, rgba(0, 255, 168, 0.12), transparent),
        linear-gradient(160deg, var(--lp-navy-900), var(--lp-ink));
    border-radius: calc(var(--lp-radius-lg) + 8px);
    border: 1px solid rgba(0, 255, 168, 0.16);
    color: var(--lp-text-on-dark);
    padding: 4rem 2rem;
    overflow: hidden;
}

.lp-pilot::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 36px 36px;
    -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 20%, transparent 70%);
    pointer-events: none;
}

.lp-pilot > * {
    position: relative;
}

.lp-pilot .lp-h {
    color: #f3f6ff;
}

.lp-pilot-benefits {
    display: inline-block;
    text-align: left;
}

/* ------------------------------------------------------------
   Sub-pages (blog, article, about, contact)
   ------------------------------------------------------------ */

/* Compact dark page header, same world as the landing hero */
.lp-page-hero {
    position: relative;
    background:
        radial-gradient(ellipse 55% 70% at 80% 0%, rgba(0, 255, 168, 0.09), transparent),
        linear-gradient(160deg, var(--lp-ink) 0%, var(--lp-navy-900) 100%);
    color: var(--lp-text-on-dark);
    padding: 8.5rem 0 3.75rem;
    overflow: hidden;
}

.lp-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 90% 100% at 60% 0%, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 90% 100% at 60% 0%, #000 30%, transparent 80%);
    pointer-events: none;
}

.lp-page-hero > .container {
    position: relative;
}

.lp-page-hero .lp-h {
    color: #f3f6ff;
}

.lp-page-hero .lp-lead {
    color: var(--lp-text-on-dark);
}

.lp-page-title {
    font-family: var(--lp-font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    color: #f3f6ff;
}

/* Extra depth so content can overlap upward (article cover image) */
.lp-page-hero-deep {
    padding-bottom: 9rem;
}

.lp-overlap {
    position: relative;
    margin-top: -6.5rem;
}

/* Tag chip (blog) */
.lp-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--lp-font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lp-blue-deep);
    background: rgba(0, 143, 254, 0.09);
    border: 1px solid rgba(0, 143, 254, 0.22);
    border-radius: 999px;
    padding: 0.32rem 0.75rem;
    transition: background 0.15s ease, border-color 0.15s ease;
}

a.lp-tag:hover {
    color: var(--lp-blue-deep);
    background: rgba(0, 143, 254, 0.16);
    border-color: rgba(0, 143, 254, 0.4);
}

.lp-tag-on-dark {
    color: var(--lp-mint);
    background: rgba(0, 255, 168, 0.08);
    border-color: rgba(0, 255, 168, 0.25);
}

/* Blog list card */
.lp-article-card {
    display: block;
    background: var(--lp-card);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow-card);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lp-article-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 143, 254, 0.35);
    box-shadow: 0 4px 8px rgba(4, 8, 31, 0.05), 0 20px 44px -18px rgba(4, 8, 31, 0.2);
}

.lp-article-card .lp-article-media {
    display: block;
    height: 100%;
    min-height: 220px;
}

.lp-article-card img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

/* Summary clamped so the card stays shorter than the image is wide —
   keeps the cover crop landscape on side-by-side layouts */
.lp-article-summary {
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 575.98px) {
    /* Stacked layout: fixed landscape ratio instead of stretching */
    .lp-article-card .lp-article-media,
    .lp-article-card img {
        min-height: 0;
    }

    .lp-article-card img {
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

.lp-article-card h2 {
    font-size: 1.5rem;
    line-height: 1.35;
}

.lp-article-card .card-title-link {
    font-family: var(--lp-font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
    font-size: 1.35rem;
    line-height: 1.25;
    color: var(--lp-text);
    text-decoration: none;
}

.lp-article-card .card-title-link:hover {
    color: var(--lp-blue-deep);
}

/* Vertical article card - 3-up rows ("From the blog" on the homepage) */
.lp-article-card-v {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--lp-card);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow-card);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lp-article-card-v:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 143, 254, 0.35);
    box-shadow: 0 4px 8px rgba(4, 8, 31, 0.05), 0 20px 44px -18px rgba(4, 8, 31, 0.2);
}

.lp-article-card-v .lp-article-media-v {
    display: block;
}

.lp-article-card-v .lp-article-media-v img {
    width: 100%;
    /* Override the height presentational attribute so aspect-ratio applies */
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.lp-article-card-v .lp-article-body-v {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
    flex: 1;
}

.lp-article-card-v .lp-article-date-v {
    font-family: var(--lp-font-mono);
    font-size: 0.8rem;
    color: var(--lp-text-2);
}

.lp-article-card-v .card-title-link {
    font-family: var(--lp-font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--lp-text);
    text-decoration: none;
}

.lp-article-card-v .card-title-link:hover {
    color: var(--lp-blue-deep);
}

.lp-article-card-v .lp-article-summary {
    color: var(--lp-text-2);
    font-size: 0.95rem;
}

.lp-byline {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.lp-byline img {
    width: 2.4rem;
    height: 2.4rem;
    min-height: 0;
    border-radius: 999px;
    object-fit: cover;
}

.lp-byline .name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--lp-text);
    line-height: 1.3;
}

.lp-byline .date {
    font-family: var(--lp-font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lp-text-2);
}

.lp-page-hero .lp-byline .name {
    color: #f3f6ff;
}

.lp-page-hero .lp-byline .date {
    color: var(--lp-text-on-dark);
}

/* Article prose */
.lp-prose {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--lp-text);
}

.lp-prose h2,
.lp-prose h3,
.lp-prose h4 {
    font-family: var(--lp-font-display);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--lp-text);
    margin: 2.25rem 0 0.85rem;
}

.lp-prose h2 { font-size: 1.6rem; }
.lp-prose h3 { font-size: 1.3rem; }
.lp-prose h4 { font-size: 1.1rem; }

.lp-prose p {
    margin-bottom: 1.15rem;
}

.lp-prose a {
    color: var(--lp-blue-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(0, 105, 217, 0.4);
}

.lp-prose a:hover {
    text-decoration-color: currentColor;
}

.lp-prose img {
    max-width: 100%;
    border-radius: var(--lp-radius-md);
    margin: 1.5rem 0;
}

.lp-prose blockquote {
    border-left: 3px solid var(--lp-blue);
    background: var(--lp-paper);
    border-radius: 0 var(--lp-radius-md) var(--lp-radius-md) 0;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    color: var(--lp-text-2);
}

.lp-prose ul,
.lp-prose ol {
    margin-bottom: 1.15rem;
    padding-left: 1.4rem;
}

.lp-prose li {
    margin-bottom: 0.4rem;
}

.lp-prose code,
.lp-prose pre {
    font-family: var(--lp-font-mono);
    font-size: 0.88em;
    background: var(--lp-paper);
    border-radius: 6px;
}

.lp-prose code {
    padding: 0.15em 0.4em;
}

.lp-prose pre {
    padding: 1rem 1.25rem;
    overflow-x: auto;
    border: 1px solid var(--lp-line);
}

/* Topic-cluster navigation under article bodies */
.lp-cluster-nav {
    border: 1px solid rgba(4, 8, 31, 0.08);
    border-radius: var(--lp-radius-lg);
    padding: 1.75rem 2rem;
    background: rgba(4, 8, 31, 0.02);
}

.lp-cluster-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lp-cluster-nav li {
    padding: 0.35rem 0;
}

.lp-cluster-nav a {
    text-decoration: none;
}

.lp-cluster-nav a:hover {
    text-decoration: underline;
}

.lp-cluster-nav-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.lp-tag-pillar {
    font-weight: 600;
}

.lp-figure img {
    width: 100%;
    /* Keep the width/height presentational attributes (CLS space reservation)
       from fixing the rendered height when CSS scales the width */
    height: auto;
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow-float);
}

/* Article video embed (YouTube version of the article) */
.lp-video-frame {
    aspect-ratio: 16 / 9;
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow-float);
    overflow: hidden;
    /* Painted behind the iframe while it lazy-loads */
    background: var(--lp-ink);
}

.lp-video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.lp-video-caption {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Icon chip (contact info, about values) */
.lp-icon-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 10px;
    background: rgba(0, 143, 254, 0.1);
    color: var(--lp-blue-deep);
    font-size: 1.15rem;
    flex-shrink: 0;
}

/* Quote card (about) */
.lp-quote-card {
    position: relative;
    background:
        radial-gradient(ellipse 70% 80% at 20% 0%, rgba(0, 255, 168, 0.11), transparent),
        linear-gradient(160deg, var(--lp-navy-900), var(--lp-ink));
    border: 1px solid rgba(0, 255, 168, 0.16);
    border-radius: var(--lp-radius-lg);
    padding: 2.5rem;
    overflow: hidden;
}

.lp-quote-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 36px 36px;
    -webkit-mask-image: radial-gradient(ellipse 90% 90% at 30% 0%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 90% at 30% 0%, #000 20%, transparent 75%);
    pointer-events: none;
}

.lp-quote-card > * {
    position: relative;
}

.lp-quote-card p {
    font-family: var(--lp-font-display);
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: #f3f6ff;
}

/* Outline button for light backgrounds */
.lp-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--lp-blue-deep);
    background: transparent;
    border: 1px solid rgba(0, 105, 217, 0.45);
    border-radius: 999px;
    padding: 0.85rem 1.75rem;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.lp-btn-outline:hover {
    color: var(--lp-blue-deep);
    background: rgba(0, 105, 217, 0.08);
    border-color: var(--lp-blue);
}

/* Forms (contact) */
.lp-form .form-control {
    font-family: var(--lp-font-body);
    font-size: 0.95rem;
    color: var(--lp-text);
    background: var(--lp-card);
    border: 1px solid var(--lp-line);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lp-form .form-control::placeholder {
    color: var(--lp-text-2);
    opacity: 0.75;
}

.lp-form .form-control:focus {
    border-color: var(--lp-blue);
    box-shadow: 0 0 0 3px rgba(0, 143, 254, 0.15);
}

.lp-form-card {
    background: var(--lp-card);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow-card);
    padding: 2rem;
}

/* ------------------------------------------------------------
   Motion safety
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .pp-card-scan::after,
    .pp-chip-live::before {
        animation: none;
    }

    .lp-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .lp-btn-primary,
    .lp-feature,
    .pp-card-float {
        transition: none;
    }
}
