:root {
    --lp-maroon: #7a1720;
    --lp-maroon-dark: #451017;
    --lp-gold: #f5c65d;
    --lp-ink: #24191b;
    --lp-muted: #6d5c5f;
    --lp-cream: #fffaf4;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--lp-ink);
    font-family: "Poppins", sans-serif;
    background: var(--lp-cream);
    -webkit-font-smoothing: antialiased;
}

.landing-page {
    isolation: isolate;
    min-height: 100vh;
    min-height: 100svh;
    overflow-x: hidden;
    background:
        radial-gradient(
            circle at 85% 8%,
            rgba(245, 198, 93, 0.22),
            transparent 34%
        ),
        radial-gradient(
            circle at 8% 90%,
            rgba(122, 23, 32, 0.12),
            transparent 38%
        ),
        var(--lp-cream);
}

/*
|--------------------------------------------------------------------------
| Top navigation
|--------------------------------------------------------------------------
*/

.lp-nav {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(100% - 2rem, 1180px);
    margin: 0 auto;
    padding: 1.1rem 0;
}

.lp-nav-brand {
    display: inline-flex;
    gap: 0.65rem;
    align-items: center;
    color: var(--lp-maroon-dark);
    text-decoration: none;
}

.lp-nav-brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.lp-nav-brand strong {
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.lp-nav-brand small {
    display: block;
    color: var(--lp-muted);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lp-nav-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

/*
|--------------------------------------------------------------------------
| Buttons
|--------------------------------------------------------------------------
*/

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0.55rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    border-radius: 0.85rem;
    border: 1px solid transparent;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease;
}

.lp-btn:hover {
    transform: translateY(-2px);
}

.lp-btn:focus-visible {
    outline: 3px solid rgba(245, 198, 93, 0.85);
    outline-offset: 3px;
}

.lp-btn-primary {
    color: #fff;
    background: linear-gradient(
        135deg,
        var(--lp-maroon),
        var(--lp-maroon-dark)
    );
    box-shadow: 0 12px 22px rgba(122, 23, 32, 0.24);
}

.lp-btn-primary:hover {
    box-shadow: 0 16px 28px rgba(122, 23, 32, 0.3);
}

.lp-btn-outline {
    color: var(--lp-maroon);
    background: transparent;
    border-color: rgba(122, 23, 32, 0.3);
}

.lp-btn-outline:hover {
    border-color: var(--lp-maroon);
    background: rgba(122, 23, 32, 0.05);
}

.lp-btn-gold {
    color: var(--lp-maroon-dark);
    background: linear-gradient(135deg, var(--lp-gold), #f0c25a);
    box-shadow: 0 12px 22px rgba(199, 145, 43, 0.24);
}

.lp-btn-gold:hover {
    box-shadow: 0 16px 28px rgba(199, 145, 43, 0.32);
}

.lp-btn-lg {
    min-height: 54px;
    padding: 0.75rem 1.6rem;
    font-size: 1rem;
}

.lp-btn-sm {
    min-height: 38px;
    padding: 0.4rem 0.9rem;
    font-size: 0.82rem;
    border-radius: 0.7rem;
}

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

.lp-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 6vw, 4rem);
    align-items: center;
    width: min(100% - 2rem, 1180px);
    margin: 0 auto;
    padding: clamp(3rem, 8vh, 6rem) 0 clamp(3rem, 6vh, 5rem);
}

.lp-hero-copy .lp-eyebrow {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    margin: 0 0 1rem;
    padding: 0.4rem 0.75rem;
    color: var(--lp-maroon);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(122, 23, 32, 0.08);
    border: 1px solid rgba(122, 23, 32, 0.14);
    border-radius: 999px;
}

.lp-hero-copy h1 {
    margin: 0 0 1.1rem;
    color: var(--lp-maroon-dark);
    font-size: clamp(2.4rem, 5.4vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1.02;
}

.lp-hero-copy h1 .lp-accent {
    color: var(--lp-maroon);
}

.lp-hero-copy .lp-lead {
    max-width: 560px;
    margin: 0 0 1.6rem;
    color: var(--lp-muted);
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    line-height: 1.7;
}

.lp-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.6rem;
}

.lp-hero-note {
    margin: 0;
    color: var(--lp-muted);
    font-size: 0.78rem;
}

/*
|--------------------------------------------------------------------------
| Hero visual
|--------------------------------------------------------------------------
*/

.lp-hero-visual {
    position: relative;
    display: grid;
    place-items: center;
}

.lp-visual-card {
    position: relative;
    width: min(100%, 430px);
    padding: 0 0 0.6rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(122, 23, 32, 0.1);
    border-radius: 1.6rem;
    box-shadow: 0 30px 70px rgba(69, 16, 23, 0.16);
    transition:
        box-shadow 240ms ease,
        transform 240ms ease;
}

.lp-visual-card:hover {
    box-shadow: 0 40px 90px rgba(69, 16, 23, 0.22);
}

.lp-visual-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 6px;
    content: "";
    background: linear-gradient(
        90deg,
        var(--lp-maroon),
        var(--lp-gold),
        var(--lp-maroon-dark)
    );
}

.lp-visual-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.2rem 0.6rem;
    color: var(--lp-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lp-visual-dot {
    width: 8px;
    height: 8px;
    background: var(--lp-gold);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(245, 198, 93, 0.3);
}

/* Feature rows (now interactive tabs) */
.lp-visual-feature {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 1.2rem;
    border-top: 1px solid rgba(122, 23, 32, 0.06);
    border-left: 3px solid transparent;
    cursor: pointer;
    transition: background-color 160ms ease;
}

.lp-visual-feature:hover {
    background: rgba(245, 198, 93, 0.1);
}

.lp-visual-feature:focus-visible {
    outline: 3px solid rgba(245, 198, 93, 0.85);
    outline-offset: -3px;
}

.lp-visual-feature.is-active {
    border-left-color: var(--lp-maroon);
    background: rgba(255, 242, 209, 0.55);
}

.lp-visual-icon {
    display: grid;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    place-items: center;
    color: var(--lp-maroon);
    background: linear-gradient(135deg, #fff6e2, #ffe9b8);
    border-radius: 0.7rem;
    font-size: 1.05rem;
    transition: transform 180ms ease;
}

.lp-visual-feature.is-active .lp-visual-icon {
    transform: scale(1.06);
}

.lp-visual-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.lp-visual-copy strong {
    display: block;
    font-size: 0.86rem;
}

.lp-visual-copy small {
    display: block;
    color: var(--lp-muted);
    font-size: 0.7rem;
}

/* Neutral tag (replaces misleading status badges) */
.lp-visual-tag {
    flex: 0 0 auto;
    padding: 0.22rem 0.55rem;
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--lp-maroon);
    background: #fff2d1;
    border-radius: 999px;
}

/* Context panel under the active feature */
.lp-visual-panel {
    padding: 0.4rem 1.2rem 0.7rem;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition:
        max-height 240ms ease,
        opacity 200ms ease,
        padding 240ms ease;
}

.lp-visual-panel.is-open {
    max-height: 200px;
    opacity: 1;
    padding: 0.7rem 1.2rem;
}

.lp-panel-line {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--lp-muted);
    font-size: 0.74rem;
    line-height: 1.9;
}

.lp-panel-line i {
    color: var(--lp-maroon);
}

/* Sanction mini progress */
.lp-mini-progress {
    height: 8px;
    margin: 0.5rem 0;
    overflow: hidden;
    background: rgba(122, 23, 32, 0.1);
    border-radius: 999px;
}

.lp-mini-progress-fill {
    display: block;
    width: 64%;
    height: 100%;
    background: linear-gradient(90deg, var(--lp-maroon), var(--lp-gold));
    border-radius: 999px;
    animation: lp-progress 1.2s ease-out forwards;
    transform-origin: left;
}

@keyframes lp-progress {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* Reports mini bars */
.lp-mini-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 48px;
    margin: 0.5rem 0 0.4rem;
}

.lp-mini-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--lp-maroon), var(--lp-gold));
    border-radius: 4px 4px 0 0;
    animation: lp-bar-grow 0.7s ease-out backwards;
}

.lp-mini-bar:nth-child(2) {
    animation-delay: 0.06s;
}

.lp-mini-bar:nth-child(3) {
    animation-delay: 0.12s;
}

.lp-mini-bar:nth-child(4) {
    animation-delay: 0.18s;
}

.lp-mini-bar:nth-child(5) {
    animation-delay: 0.24s;
}

@keyframes lp-bar-grow {
    from {
        transform: scaleY(0);
        transform-origin: bottom;
    }
    to {
        transform: scaleY(1);
        transform-origin: bottom;
    }
}

/*
|--------------------------------------------------------------------------
| Features
|--------------------------------------------------------------------------
*/

.lp-section {
    width: min(100% - 2rem, 1180px);
    margin: 0 auto;
    padding: clamp(3rem, 6vh, 4.5rem) 0;
}

.lp-section-head {
    max-width: 680px;
    margin: 0 auto 2.2rem;
    text-align: center;
}

.lp-section-head h2 {
    margin: 0 0 0.6rem;
    color: var(--lp-maroon-dark);
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.lp-section-head p {
    margin: 0;
    color: var(--lp-muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

.lp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
}

.lp-feature {
    padding: 1.5rem;
    background: #fff;
    border: 1px solid rgba(122, 23, 32, 0.08);
    border-radius: 1.25rem;
    box-shadow: 0 12px 30px rgba(69, 16, 23, 0.06);
    transition:
        transform 200ms ease,
        box-shadow 200ms ease;
}

.lp-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(69, 16, 23, 0.12);
}

.lp-feature i {
    display: inline-grid;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    place-items: center;
    color: var(--lp-maroon);
    font-size: 1.25rem;
    background: linear-gradient(135deg, #fff6e2, #ffe9b8);
    border-radius: 0.9rem;
}

.lp-feature h3 {
    margin: 0 0 0.5rem;
    color: var(--lp-maroon-dark);
    font-size: 1.02rem;
    font-weight: 700;
}

.lp-feature p {
    margin: 0;
    color: var(--lp-muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

/*
|--------------------------------------------------------------------------
| CTA band
|--------------------------------------------------------------------------
*/

.lp-cta-band {
    width: min(100% - 2rem, 1180px);
    margin: 0 auto;
    padding: clamp(2rem, 5vh, 3.5rem) clamp(1.5rem, 4vw, 3.5rem);
    text-align: center;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(69, 16, 23, 0.96), rgba(122, 23, 32, 0.9)),
        url("../assets/images/PUPT-picture.jpg") center/cover;
    border-radius: 1.6rem;
    box-shadow: 0 26px 60px rgba(69, 16, 23, 0.3);
}

.lp-cta-band h2 {
    margin: 0 0 0.6rem;
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.lp-cta-band p {
    max-width: 560px;
    margin: 0 auto 1.4rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.94rem;
    line-height: 1.7;
}

/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
*/

.lp-footer {
    width: min(100% - 2rem, 1180px);
    margin: 0 auto;
    padding: 2rem 0 2.4rem;
    border-top: 1px solid rgba(122, 23, 32, 0.1);
    text-align: center;
}

/* Brand + university info stacked and centered */
.lp-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.9rem;
    color: var(--lp-maroon-dark);
}

.lp-footer-brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.lp-footer-brand strong {
    display: block;
    font-size: 1rem;
    line-height: 1.2;
}

.lp-footer-brand span {
    display: block;
    color: var(--lp-muted);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lp-footer-info {
    margin-bottom: 1rem;
    color: var(--lp-muted);
    font-size: 0.78rem;
    text-align: center;
}

.lp-footer-info strong {
    display: block;
    color: var(--lp-maroon-dark);
    margin-bottom: 0.1rem;
}

/* Links row: centered, matching auth-portal reference */
.lp-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.45rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.lp-footer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 32px;
    color: var(--lp-muted);
    font-size: 0.76rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: color 160ms ease;
}

.lp-footer-links a:hover {
    color: var(--lp-maroon);
}

.lp-footer-sep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0.7rem;
    color: rgba(122, 23, 32, 0.3);
}

.lp-footer-note {
    max-width: 560px;
    margin: 0 auto 0.6rem;
    color: var(--lp-muted);
    font-size: 0.74rem;
    line-height: 1.6;
}

.lp-footer-copy {
    margin: 0;
    color: rgba(109, 92, 95, 0.75);
    font-size: 0.72rem;
}

/*
|--------------------------------------------------------------------------
| Entrance reveal
|--------------------------------------------------------------------------
*/

/* Reveal effects are progressive enhancement:
   content is visible by default; only when JS confirms it can animate
   (html.js-anim) do elements start hidden and fade/slide in. This avoids
   a flash-of-invisible-content (FOUC) if JS is slow or disabled. */
[data-reveal],
[data-scroll-reveal] {
    opacity: 1;
    transform: none;
}

.js-anim [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
    transition-delay: calc(var(--reveal-i, 0) * 70ms);
}

.js-anim .landing-page.is-ready [data-reveal] {
    opacity: 1;
    transform: translateY(0);
}

/*
|--------------------------------------------------------------------------
| Ambient background glows (desktop only)
|--------------------------------------------------------------------------
*/

.landing-page::before,
.landing-page::after {
    content: "";
    position: fixed;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.5;
}

.landing-page::before {
    top: -10%;
    right: -8%;
    width: 520px;
    height: 520px;
    background: radial-gradient(
        circle,
        rgba(245, 198, 93, 0.35),
        transparent 70%
    );
    animation: lp-drift 18s ease-in-out infinite alternate;
}

.landing-page::after {
    bottom: -12%;
    left: -8%;
    width: 560px;
    height: 560px;
    background: radial-gradient(
        circle,
        rgba(122, 23, 32, 0.16),
        transparent 70%
    );
    animation: lp-drift 22s ease-in-out infinite alternate-reverse;
}

@keyframes lp-drift {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(30px, 20px, 0) scale(1.08);
    }
}

/*
|--------------------------------------------------------------------------
| Trust strip
|--------------------------------------------------------------------------
*/

.lp-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: min(100% - 2rem, 1180px);
    margin: 0 auto;
    padding: 0 0 clamp(2rem, 5vh, 3rem);
}

.lp-trust-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    background: #fff;
    border: 1px solid rgba(122, 23, 32, 0.08);
    border-radius: 1.1rem;
    box-shadow: 0 10px 26px rgba(69, 16, 23, 0.05);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.lp-trust-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(69, 16, 23, 0.1);
}

.lp-trust-item > i {
    display: grid;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    place-items: center;
    color: var(--lp-maroon);
    font-size: 1.1rem;
    background: linear-gradient(135deg, #fff6e2, #ffe9b8);
    border-radius: 0.7rem;
}

.lp-trust-item strong {
    display: block;
    color: var(--lp-maroon-dark);
    font-size: 0.9rem;
}

.lp-trust-item span {
    display: block;
    color: var(--lp-muted);
    font-size: 0.76rem;
}

/*
|--------------------------------------------------------------------------
| How it works / steps
|--------------------------------------------------------------------------
*/

.lp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
}

.lp-step {
    position: relative;
    padding: 1.5rem 1.5rem 1.4rem 3.4rem;
    background: #fff;
    border: 1px solid rgba(122, 23, 32, 0.08);
    border-radius: 1.25rem;
    box-shadow: 0 12px 30px rgba(69, 16, 23, 0.06);
    transition:
        transform 200ms ease,
        box-shadow 200ms ease,
        border-color 200ms ease;
}

.lp-step:hover,
.lp-step:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(69, 16, 23, 0.12);
    border-color: rgba(245, 198, 93, 0.7);
}

.lp-step-num {
    position: absolute;
    top: 1.4rem;
    left: 1.2rem;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--lp-maroon);
    font-size: 0.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff6e2, #ffe9b8);
    border-radius: 0.7rem;
}

.lp-step h3 {
    margin: 0 0 0.5rem;
    color: var(--lp-maroon-dark);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lp-step p {
    margin: 0;
    color: var(--lp-muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

/*
|--------------------------------------------------------------------------
| AI-assisted review
|--------------------------------------------------------------------------
*/

.lp-ai {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: min(100% - 2rem, 1180px);
    margin: 0 auto;
    padding: 1.1rem 1.4rem;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.96),
        rgba(255, 242, 209, 0.7)
    );
    border: 1px solid rgba(245, 198, 93, 0.55);
    border-radius: 1.2rem;
    box-shadow: 0 12px 30px rgba(69, 16, 23, 0.07);
}

.lp-ai-icon {
    display: grid;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    place-items: center;
    color: var(--lp-maroon-dark);
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--lp-gold), #f0c25a);
    border-radius: 0.9rem;
}

.lp-ai-copy h2 {
    margin: 0 0 0.3rem;
    color: var(--lp-maroon-dark);
    font-size: 1.05rem;
    font-weight: 700;
}

.lp-ai-copy p {
    margin: 0;
    color: var(--lp-muted);
    font-size: 0.85rem;
    line-height: 1.65;
}

/*
|--------------------------------------------------------------------------
| CTA arrow
|--------------------------------------------------------------------------
*/

.lp-cta-arrow .lp-arrow {
    display: inline-block;
    margin-left: 0.15rem;
    transition: transform 180ms ease;
}

.lp-cta-arrow:hover .lp-arrow {
    transform: translateX(4px);
}

/*
|--------------------------------------------------------------------------
| Pointer glow (decorative, desktop only)
|--------------------------------------------------------------------------
*/

.lp-glow {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    width: 420px;
    height: 420px;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(245, 198, 93, 0.16),
        rgba(122, 23, 32, 0.04) 42%,
        transparent 70%
    );
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(0.6);
    transition: opacity 500ms ease;
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    .lp-glow.is-visible {
        opacity: 1;
    }
}

/*
|--------------------------------------------------------------------------
| Sticky frosted-glass header
|--------------------------------------------------------------------------
*/

.lp-nav {
    position: sticky;
    top: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition:
        background-color 260ms ease,
        box-shadow 260ms ease,
        padding 260ms ease,
        backdrop-filter 260ms ease;
}

.lp-nav.is-scrolled {
    background: rgba(255, 250, 244, 0.82);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 8px 26px rgba(69, 16, 23, 0.08);
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

/*
|--------------------------------------------------------------------------
| Scroll reveal (below-fold sections)
|--------------------------------------------------------------------------
*/

.js-anim [data-scroll-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.js-anim [data-scroll-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/*
|--------------------------------------------------------------------------
| Feature preview polish (window chrome + active glow)
|--------------------------------------------------------------------------
*/

.lp-visual-card {
    box-shadow:
        0 30px 70px rgba(69, 16, 23, 0.16),
        0 0 0 1px rgba(122, 23, 32, 0.04);
}

.lp-visual-head {
    border-bottom: 1px solid rgba(122, 23, 32, 0.06);
}

.lp-visual-feature.is-active {
    box-shadow: inset 3px 0 0 0 var(--lp-maroon);
}

.lp-visual-tag {
    transition:
        color 180ms ease,
        background-color 180ms ease;
}

.lp-visual-feature.is-active .lp-visual-tag {
    color: #fff;
    background: var(--lp-maroon);
}

.lp-panel-line {
    font-weight: 500;
}

/*
|--------------------------------------------------------------------------
| Button pressed state + refined focus
|--------------------------------------------------------------------------
*/

.lp-btn:active {
    transform: translateY(0) scale(0.985);
}

.lp-btn:focus-visible,
.lp-visual-feature:focus-visible,
.lp-footer-links a:focus-visible,
.lp-nav-brand:focus-visible {
    outline: 3px solid rgba(245, 198, 93, 0.9);
    outline-offset: 3px;
}

/*
|--------------------------------------------------------------------------
| Trust + step card accent polish
|--------------------------------------------------------------------------
*/

.lp-trust-item,
.lp-step {
    position: relative;
    overflow: hidden;
}

.lp-trust-item::after,
.lp-step::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    content: "";
    background: linear-gradient(180deg, var(--lp-maroon), var(--lp-gold));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 220ms ease;
}

.lp-trust-item:hover::after,
.lp-step:hover::after,
.lp-step:focus-within::after {
    transform: scaleY(1);
}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 860px) {
    .lp-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .lp-hero-copy .lp-eyebrow {
        justify-content: center;
    }

    .lp-hero-copy .lp-lead {
        margin-right: auto;
        margin-left: auto;
    }

    .lp-hero-cta,
    .lp-hero-note {
        justify-content: center;
    }

    .lp-hero-visual {
        order: 2;
        margin-top: 0.5rem;
    }

    .lp-visual-card {
        width: min(100%, 440px);
    }

    .lp-features,
    .lp-trust,
    .lp-steps {
        grid-template-columns: 1fr;
    }

    .lp-trust {
        padding-bottom: 1.75rem;
    }

    .lp-ai {
        flex-direction: column;
        text-align: center;
    }

    .lp-ai-copy p {
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 520px) {
    .lp-nav {
        /* Keep the brand on one line; no action button to wrap around. */
        justify-content: center;
        padding-top: 0.85rem;
        padding-bottom: 0.85rem;
    }

    .lp-nav.is-scrolled {
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
    }

    .lp-hero {
        padding-top: 1.75rem;
        padding-bottom: 2.5rem;
        gap: 1.75rem;
    }

    .lp-hero-copy h1 {
        font-size: clamp(1.9rem, 9vw, 2.3rem);
        letter-spacing: -0.05em;
    }

    .lp-hero-copy .lp-eyebrow {
        font-size: 0.66rem;
        padding: 0.35rem 0.6rem;
        text-align: center;
    }

    .lp-hero-copy .lp-lead {
        font-size: 0.9rem;
    }

    .lp-hero-cta {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .lp-hero-cta .lp-btn {
        width: 100%;
        min-height: 50px;
        font-size: 0.95rem;
    }

    .lp-hero-note {
        font-size: 0.74rem;
        line-height: 1.6;
    }

    .lp-visual-card {
        width: 100%;
    }

    .lp-trust {
        padding-bottom: 1.5rem;
        gap: 0.8rem;
    }

    .lp-trust-item {
        padding: 0.85rem 1rem;
    }

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

    .lp-step {
        padding: 1.4rem 1.3rem 1.3rem 3.2rem;
    }

    .lp-ai {
        padding: 1rem 1.1rem;
    }

    .lp-cta-band {
        padding: 1.75rem 1.25rem;
        margin-top: 2.25rem;
        margin-bottom: 2.25rem;
    }

    .lp-cta-band h2 {
        font-size: 1.5rem;
    }

    .lp-cta-band .lp-btn {
        width: 100%;
    }

    .lp-footer {
        padding-top: 1.5rem;
        padding-bottom: 2rem;
    }

    .lp-footer-links {
        flex-direction: column;
        gap: 0.35rem;
    }

    .lp-footer-sep {
        display: none;
    }

    .lp-glow {
        display: none;
    }
}

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

    .landing-page::before,
    .landing-page::after {
        animation: none;
    }

    [data-reveal],
    [data-scroll-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .lp-glow {
        display: none;
    }

    .lp-feature,
    .lp-btn,
    .lp-step,
    .lp-trust-item,
    .lp-visual-card,
    .lp-cta-arrow .lp-arrow,
    .lp-nav {
        transition: none;
    }

    .lp-mini-progress-fill,
    .lp-mini-bar {
        animation: none;
    }
}
