/* ============================================================
   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 */
    --lp-ink: #0b1512;
    --lp-pine-900: #0c2b21;
    --lp-pine-700: #114634;
    --lp-teal: #0d9488;
    --lp-teal-deep: #0b7a70;
    --lp-emerald: #10b981;
    --lp-mint: #5eead4;
    --lp-lime: #84cc16;
    --lp-copper: #c2703d;
    --lp-copper-soft: #f7e9df;
    --lp-paper: #f5f9f7;
    --lp-card: #ffffff;
    --lp-text: #14201b;
    --lp-text-2: #55655e;
    --lp-line: #e2ebe6;
    --lp-line-dark: rgba(255, 255, 255, 0.08);
    --lp-text-on-dark: rgba(240, 250, 246, 0.72);

    /* 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(11, 21, 18, 0.05), 0 12px 32px -16px rgba(11, 21, 18, 0.14);
    --lp-shadow-float: 0 24px 60px -20px rgba(4, 32, 24, 0.45);
}

/* ------------------------------------------------------------
   Brand re-mapping — the theme ships a blue primary (#030db1);
   Passoria is teal/green. 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-teal);
    --bs-btn-border-color: var(--lp-teal);
    --bs-btn-hover-bg: var(--lp-teal-deep);
    --bs-btn-hover-border-color: var(--lp-teal-deep);
    --bs-btn-active-bg: var(--lp-teal-deep);
    --bs-btn-active-border-color: var(--lp-teal-deep);
    background-color: var(--lp-teal);
    border-color: var(--lp-teal);
}

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

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

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

.bg-soft-primary {
    background-color: rgba(13, 148, 136, 0.1) !important;
}

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

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

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

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

.dropdown-item.active {
    background-color: rgba(13, 148, 136, 0.08);
}

a:focus-visible,
.btn:focus-visible,
button:focus-visible {
    outline: 2px solid var(--lp-teal);
    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(11, 21, 18, 0.06);
}

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

/* 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;
}

.lp-section {
    padding: 6rem 0;
}

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

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

.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: #f2faf6;
}

.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-teal);
    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(13, 148, 136, 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='%230d9488' 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: #f2faf6;
}

/* Callout */
.lp-callout {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    border: 1px solid var(--lp-line);
    border-left: 3px solid var(--lp-teal);
    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-teal);
    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-teal), var(--lp-emerald));
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1.75rem;
    box-shadow: 0 8px 24px -8px rgba(13, 148, 136, 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(13, 148, 136, 0.6);
}

.lp-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: #e8f6f0;
    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(94, 234, 212, 0.13), transparent),
        radial-gradient(ellipse 50% 60% at 12% 90%, rgba(16, 185, 129, 0.1), transparent),
        linear-gradient(160deg, var(--lp-ink) 0%, var(--lp-pine-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: #f2faf6;
}

.lp-hero-grad {
    background: linear-gradient(92deg, var(--lp-mint) 0%, var(--lp-emerald) 55%, var(--lp-lime) 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(94, 234, 212, 0.08);
    border: 1px solid rgba(94, 234, 212, 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;
}

/* ------------------------------------------------------------
   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(94, 234, 212, 0.16) 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(13, 148, 136, 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-teal);
    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-teal-deep);
    background: rgba(13, 148, 136, 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-emerald);
    animation: pp-pulse 2s ease-in-out infinite;
}

@keyframes pp-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    50% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 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-emerald);
    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-teal-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(20, 32, 27, 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-teal-deep);
    border: 2px solid var(--lp-teal-deep);
    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(11, 21, 18, 0.06);
    overflow: hidden;
}

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

.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-teal-deep);
    background: rgba(13, 148, 136, 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(94, 234, 212, 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: #f2faf6;
    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-teal);
}

/* 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(13, 148, 136, 0.4);
    box-shadow: 0 4px 8px rgba(11, 21, 18, 0.05), 0 18px 40px -18px rgba(11, 21, 18, 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(13, 148, 136, 0.12), rgba(16, 185, 129, 0.2));
    color: var(--lp-teal-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(94, 234, 212, 0.16), transparent),
        linear-gradient(160deg, var(--lp-pine-900), var(--lp-ink));
    border-radius: calc(var(--lp-radius-lg) + 8px);
    border: 1px solid rgba(94, 234, 212, 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: #f2faf6;
}

.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(94, 234, 212, 0.11), transparent),
        linear-gradient(160deg, var(--lp-ink) 0%, var(--lp-pine-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: #f2faf6;
}

.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: #f2faf6;
}

/* 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-teal-deep);
    background: rgba(13, 148, 136, 0.09);
    border: 1px solid rgba(13, 148, 136, 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-teal-deep);
    background: rgba(13, 148, 136, 0.16);
    border-color: rgba(13, 148, 136, 0.4);
}

.lp-tag-on-dark {
    color: var(--lp-mint);
    background: rgba(94, 234, 212, 0.08);
    border-color: rgba(94, 234, 212, 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(13, 148, 136, 0.35);
    box-shadow: 0 4px 8px rgba(11, 21, 18, 0.05), 0 20px 44px -18px rgba(11, 21, 18, 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-teal-deep);
}

.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: #f2faf6;
}

.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-teal-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(13, 148, 136, 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-teal);
    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);
}

.lp-figure img {
    width: 100%;
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow-float);
}

/* 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(13, 148, 136, 0.1);
    color: var(--lp-teal);
    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(94, 234, 212, 0.14), transparent),
        linear-gradient(160deg, var(--lp-pine-900), var(--lp-ink));
    border: 1px solid rgba(94, 234, 212, 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: #f2faf6;
}

/* 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-teal-deep);
    background: transparent;
    border: 1px solid rgba(13, 148, 136, 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-teal-deep);
    background: rgba(13, 148, 136, 0.08);
    border-color: var(--lp-teal);
}

/* 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-teal);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 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;
    }
}
