/*
 * PaletPilot landing page (Views/Home/Landing.cshtml), the marketing page a
 * visitor sees before signing in. Loaded after novawms.css and /theme.css.
 *
 * Only theme tokens (--nova-*) are used, never a fixed color, so the dark theme
 * works without extra rules. The Content-Security-Policy allows no inline
 * style: every visual lives here. Motion is limited to a soft reveal and three slow
 * loops (scan, flow, route), and only when the visitor has not asked for reduced motion.
 */

.landing-page {
    min-height: 100vh;
    margin: 0;
    overflow-x: clip;
    background: var(--nova-bg);
    color: var(--nova-text);
}

.lp-container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 var(--nova-space-4);
}

/* Header */

.lp-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--nova-frost-ground);
    -webkit-backdrop-filter: var(--nova-blur);
    backdrop-filter: var(--nova-blur);
    border-bottom: 1px solid transparent;
    transition: border-color var(--nova-duration) var(--nova-ease);
}

.lp-header.is-scrolled {
    border-bottom-color: var(--nova-hairline);
}

.lp-header-inner {
    display: flex;
    align-items: center;
    gap: var(--nova-space-4);
    min-height: 64px;
}

.lp-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--nova-text);
    text-decoration: none;
}

.lp-brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
}

.lp-brand-name {
    font-size: var(--nova-text-lg);
    font-weight: 700;
    letter-spacing: var(--nova-tracking-tight);
}

.lp-nav {
    display: flex;
    gap: var(--nova-space-4);
    margin: 0 auto;
}

.lp-nav a {
    color: var(--nova-text-muted);
    font-size: var(--nova-text-md);
    font-weight: 500;
    text-decoration: none;
    transition: color var(--nova-duration-fast) var(--nova-ease);
}

.lp-nav a:hover {
    color: var(--nova-text);
}

.lp-signin {
    margin-left: auto;
    border-radius: var(--nova-radius-pill);
    padding: 7px 18px;
    font-weight: 600;
}

/* Hero */

.lp-hero {
    position: relative;
    padding: 72px 0 96px;
    overflow: hidden;
}

.lp-hero-glow {
    position: absolute;
    top: -220px;
    left: 50%;
    width: 1100px;
    height: 720px;
    max-width: 140%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(closest-side, var(--nova-primary-wash), transparent);
    pointer-events: none;
}

.lp-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--nova-space-6);
}

.lp-eyebrow {
    display: inline-block;
    margin: 0 0 var(--nova-space-3);
    padding: 5px 14px;
    border-radius: var(--nova-radius-pill);
    background: var(--nova-primary-soft);
    color: var(--nova-primary-text);
    font-size: var(--nova-text-sm);
    font-weight: 600;
}

.lp-hero-title {
    margin: 0 0 var(--nova-space-3);
    font-size: clamp(2.5rem, 5.4vw, 4.25rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: var(--nova-tracking-title);
}

.lp-lead {
    max-width: 34rem;
    margin: 0 0 var(--nova-space-5);
    color: var(--nova-text-muted);
    font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
    line-height: 1.5;
}

.lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--nova-space-4);
    margin-bottom: var(--nova-space-5);
}

.lp-cta {
    border-radius: var(--nova-radius-pill);
    padding: 12px 30px;
    font-weight: 600;
}

.lp-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--nova-primary-text);
    font-weight: 600;
    text-decoration: none;
}

.lp-link:hover {
    text-decoration: underline;
}

.lp-surfaces {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-surfaces li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid var(--nova-border);
    border-radius: var(--nova-radius-pill);
    background: var(--nova-surface);
    color: var(--nova-text-muted);
    font-size: var(--nova-text-sm);
    font-weight: 500;
}

.lp-surfaces i {
    color: var(--nova-primary-text);
}

/* Hero visual: a phone that reads a pallet label. The final state (label read,
   chip shown) is the static one; the loop is added in the motion block below. */

.lp-device {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.lp-phone {
    padding: 10px;
    border-radius: 38px;
    background: var(--nova-text);
    box-shadow: var(--nova-shadow-pop);
}

.lp-phone-screen {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px 16px 16px;
    border-radius: 29px;
    background: var(--nova-surface);
    color: var(--nova-text);
    font-size: var(--nova-text-sm);
}

.lp-phone-title {
    font-size: var(--nova-text-lg);
    font-weight: 700;
    letter-spacing: var(--nova-tracking-tight);
}

.lp-label {
    position: relative;
    overflow: hidden;
    padding: 14px 12px;
    border: 1px dashed var(--nova-border-strong);
    border-radius: var(--nova-radius-md);
    background: var(--nova-surface);
    text-align: center;
}

.lp-label-caption {
    color: var(--nova-text-subtle);
    font-size: var(--nova-text-xs);
}

.lp-label-code {
    margin: 2px 0 10px;
    font-family: var(--nova-font-mono);
    font-size: var(--nova-text-lg);
    font-weight: 700;
}

.lp-scan-bars {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 3px;
    height: 64px;
}

.lp-bar {
    display: block;
    background: var(--nova-text);
}

.lp-bar-1 {
    width: 2px;
}

.lp-bar-2 {
    width: 4px;
}

.lp-bar-3 {
    width: 6px;
}

.lp-scanline {
    position: absolute;
    inset: 0;
    border-bottom: 2px solid var(--nova-primary);
    background: linear-gradient(to bottom, transparent, var(--nova-primary-soft));
    opacity: 0;
    pointer-events: none;
}

.lp-chip {
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--nova-radius-pill);
    background: var(--nova-success-soft);
    color: var(--nova-success);
    font-weight: 600;
}

.lp-counter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
    color: var(--nova-text-muted);
}

.lp-counter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--nova-text);
    font-family: var(--nova-font-mono);
    font-size: var(--nova-text-lg);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.lp-counter-window {
    display: block;
    height: 1.5rem;
    overflow: hidden;
}

.lp-counter-column {
    display: block;
}

.lp-counter-column span {
    display: block;
    height: 1.5rem;
    line-height: 1.5rem;
    text-align: right;
}

.lp-counter-total {
    color: var(--nova-text-subtle);
}

.lp-phone-button {
    padding: 11px;
    border-radius: var(--nova-radius-pill);
    background: var(--nova-primary);
    color: var(--nova-primary-contrast);
    font-weight: 600;
    text-align: center;
}

/* Sections */

.lp-section {
    padding: 88px 0;
}

.lp-section-tint {
    background: var(--nova-surface);
    border-top: 1px solid var(--nova-hairline);
    border-bottom: 1px solid var(--nova-hairline);
}

.lp-section-last {
    padding-bottom: 104px;
}

.lp-section-head {
    max-width: 44rem;
    margin: 0 auto var(--nova-space-6);
    text-align: center;
}

.lp-section-head h2 {
    margin: 0 0 var(--nova-space-2);
    font-size: clamp(1.875rem, 3.6vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: var(--nova-tracking-title);
}

.lp-section-head p {
    margin: 0;
    color: var(--nova-text-muted);
    font-size: var(--nova-text-lg);
    line-height: 1.5;
}

.lp-card {
    border: 1px solid var(--nova-hairline);
    border-radius: var(--nova-radius-card);
    background: var(--nova-surface);
    box-shadow: var(--nova-shadow-xs);
    transition:
        box-shadow var(--nova-duration-slow) var(--nova-ease),
        transform var(--nova-duration-slow) var(--nova-ease-out);
}

.lp-section-tint .lp-card {
    background: var(--nova-bg);
}

.lp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: var(--nova-space-3);
    border-radius: var(--nova-radius-sm);
    background: var(--nova-primary-soft);
    color: var(--nova-primary-text);
    font-size: 1.35rem;
}

.lp-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--nova-gap);
}

.lp-feature {
    padding: var(--nova-space-4);
}

.lp-feature:hover,
.lp-model:hover {
    box-shadow: var(--nova-shadow-card-hover);
}

.lp-feature h3,
.lp-model h3,
.lp-step h3 {
    margin: 0 0 var(--nova-space-2);
    font-size: var(--nova-text-lg);
    font-weight: 650;
    letter-spacing: var(--nova-tracking-tight);
}

.lp-feature p,
.lp-model p,
.lp-step p {
    margin: 0;
    color: var(--nova-text-muted);
    line-height: 1.55;
}

.lp-model-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--nova-gap);
}

.lp-model {
    padding: var(--nova-space-5);
}

.lp-model h3 {
    font-size: 1.5rem;
}

.lp-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: var(--nova-space-4) 0 0;
    padding: 0;
    list-style: none;
}

.lp-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
}

.lp-points i {
    color: var(--nova-success-solid);
    font-size: 1.1rem;
    line-height: 1.3;
}

.lp-note {
    max-width: 44rem;
    margin: var(--nova-space-4) auto 0;
    color: var(--nova-text-subtle);
    font-size: var(--nova-text-md);
    text-align: center;
}

.lp-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--nova-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-step {
    position: relative;
    padding-top: var(--nova-space-3);
}

.lp-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: var(--nova-space-3);
    border-radius: 50%;
    background: var(--nova-primary);
    color: var(--nova-primary-contrast);
    font-weight: 700;
}

.lp-final {
    padding: 72px var(--nova-space-4);
    border-radius: var(--nova-radius-xl);
    background: var(--nova-primary);
    color: var(--nova-primary-contrast);
    text-align: center;
    box-shadow: var(--nova-shadow-card);
}

.lp-final h2 {
    margin: 0 0 var(--nova-space-2);
    font-size: clamp(1.875rem, 3.6vw, 2.75rem);
    font-weight: 700;
    letter-spacing: var(--nova-tracking-title);
}

.lp-final p {
    margin: 0 0 var(--nova-space-5);
    font-size: var(--nova-text-lg);
    opacity: 0.9;
}

.lp-final-button {
    border-radius: var(--nova-radius-pill);
    padding: 12px 34px;
    background: var(--nova-surface);
    color: var(--nova-primary-text);
    font-weight: 650;
}

.lp-final-button:hover {
    background: var(--nova-surface);
    color: var(--nova-primary-text);
    box-shadow: var(--nova-shadow-pop);
}

/* Terminal section */

.lp-terminal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--nova-gap);
}

/* Flow strip: six steps on one line; the pallet of the animation walks above them. */

.lp-flow {
    position: relative;
    padding-top: 34px;
}

.lp-flow-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 26px;
    container-type: inline-size;
    pointer-events: none;
}

.lp-flow-pallet {
    position: absolute;
    top: 0;
    left: -13px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--nova-primary);
    color: var(--nova-primary-contrast);
    font-size: 0.85rem;
    box-shadow: var(--nova-shadow-sm);
    opacity: 0;
    transform: translateX(8.3333cqw);
}

.lp-flow-line {
    position: absolute;
    top: 55px;
    left: calc(100% / 12);
    right: calc(100% / 12);
    height: 2px;
    background: var(--nova-border);
}

.lp-flow-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--nova-space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-flow-step {
    padding: 0 var(--nova-space-1);
    text-align: center;
}

.lp-flow-dot {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: var(--nova-space-3);
    border: 1px solid var(--nova-border);
    border-radius: 50%;
    background: var(--nova-surface);
    color: var(--nova-primary-text);
    font-size: 1.2rem;
}

.lp-flow-dot::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 2px solid var(--nova-primary);
    border-radius: 50%;
    opacity: 0;
}

.lp-flow-step h3 {
    margin: 0 0 4px;
    font-size: var(--nova-text-md);
    font-weight: 650;
    letter-spacing: var(--nova-tracking-tight);
}

.lp-flow-step p {
    margin: 0;
    color: var(--nova-text-muted);
    font-size: var(--nova-text-sm);
    line-height: 1.45;
}

/* Map section: the copy and a drawn rack map with a route. */

.lp-map-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: var(--nova-space-6);
}

.lp-map-copy h2 {
    margin: 0 0 var(--nova-space-3);
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: var(--nova-tracking-title);
}

.lp-map-copy > p {
    margin: 0;
    color: var(--nova-text-muted);
    font-size: var(--nova-text-lg);
    line-height: 1.5;
}

.lp-map-copy .lp-points {
    margin-top: var(--nova-space-4);
}

.lp-map-card {
    padding: var(--nova-space-3);
}

.lp-map-svg {
    display: block;
    width: 100%;
    height: auto;
}

.lp-map-floor {
    fill: var(--nova-map-floor);
}

.lp-map-cell {
    fill: var(--nova-map-rack);
    stroke: var(--nova-map-rack-line);
    stroke-width: 1;
}

.lp-map-cell-e {
    fill: var(--nova-map-empty);
    stroke: var(--nova-map-empty-line);
}

.lp-map-cell-p {
    fill: var(--nova-map-partial);
    stroke: var(--nova-map-partial);
}

.lp-map-cell-f {
    fill: var(--nova-map-full);
    stroke: var(--nova-map-full);
}

.lp-map-door {
    fill: var(--nova-border-strong);
}

.lp-map-target {
    fill: none;
    stroke: var(--nova-primary);
    stroke-width: 2.5;
}

.lp-map-route {
    fill: none;
    stroke: var(--nova-warning-bright);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lp-map-dot {
    fill: var(--nova-warning-bright);
    stroke: var(--nova-surface);
    stroke-width: 2;
    transform: translate(226px, 60px);
}

/* Footer */

.lp-footer {
    border-top: 1px solid var(--nova-hairline);
    padding: var(--nova-space-5) 0 var(--nova-space-6);
}

.lp-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--nova-space-4);
}

.lp-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lp-footer-tagline,
.lp-copyright {
    color: var(--nova-text-subtle);
    font-size: var(--nova-text-sm);
}

.lp-footer-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--nova-space-3);
}

.lp-copyright {
    flex-basis: 100%;
}

.lp-nav a:focus-visible,
.lp-link:focus-visible,
.lp-brand:focus-visible {
    outline: none;
    border-radius: var(--nova-radius-xs);
    box-shadow: var(--nova-focus-ring);
}

/* Motion: only when the visitor has not asked for reduced motion; with reduced
   motion nothing below applies and every visual shows its final, readable state.
   Only transform and opacity move (the route line draws with its dash offset).
   landing.js adds html.lp-js and toggles .is-live on a .lp-anim block while it is
   on screen, so a loop that cannot be seen is paused. */

@media (prefers-reduced-motion: no-preference) {
    .lp-js .lp-reveal {
        opacity: 0;
        transform: translateY(18px);
        transition:
            opacity 700ms var(--nova-ease-out),
            transform 700ms var(--nova-ease-out);
    }

    .lp-js .lp-reveal.is-visible {
        opacity: 1;
        transform: none;
    }

    .lp-card.lp-reveal:hover {
        transform: translateY(-3px);
    }

    .lp-js .lp-anim:not(.is-live) *,
    .lp-js .lp-anim:not(.is-live) *::after {
        animation-play-state: paused;
    }

    /* Hero: the scan line sweeps the label, then "read" and the counter tick (8 s). */

    .lp-scanline {
        animation: lp-scan-sweep 8s var(--nova-ease) infinite;
    }

    .lp-chip {
        animation: lp-chip-in 8s var(--nova-ease) infinite;
    }

    .lp-counter-column {
        animation: lp-count-tick 8s var(--nova-ease) infinite;
    }

    /* Flow: a pallet walks the six steps and each step lights up when it arrives (9 s). */

    .lp-flow-pallet {
        animation: lp-pallet-walk 9s var(--nova-ease) infinite;
    }

    .lp-flow-dot {
        animation: lp-step-lift 9s var(--nova-ease) infinite;
    }

    .lp-flow-dot::after {
        animation: lp-step-ring 9s var(--nova-ease) infinite;
    }

    .lp-flow-step-2 .lp-flow-dot,
    .lp-flow-step-2 .lp-flow-dot::after {
        animation-delay: -7.56s;
    }

    .lp-flow-step-3 .lp-flow-dot,
    .lp-flow-step-3 .lp-flow-dot::after {
        animation-delay: -6.12s;
    }

    .lp-flow-step-4 .lp-flow-dot,
    .lp-flow-step-4 .lp-flow-dot::after {
        animation-delay: -4.68s;
    }

    .lp-flow-step-5 .lp-flow-dot,
    .lp-flow-step-5 .lp-flow-dot::after {
        animation-delay: -3.24s;
    }

    .lp-flow-step-6 .lp-flow-dot,
    .lp-flow-step-6 .lp-flow-dot::after {
        animation-delay: -1.8s;
    }

    /* Map: the route draws itself and a dot travels along it to the shelf (9 s). */

    .lp-map-route {
        stroke-dasharray: 1 1;
        stroke-dashoffset: 1;
        animation: lp-route-draw 9s linear infinite;
    }

    .lp-map-dot {
        animation: lp-dot-travel 9s linear infinite;
    }

    .lp-map-target {
        animation: lp-target-glow 9s var(--nova-ease) infinite;
    }
}

@keyframes lp-scan-sweep {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }

    4% {
        opacity: 1;
        transform: translateY(-100%);
    }

    38% {
        opacity: 1;
        transform: translateY(0);
    }

    42%,
    100% {
        opacity: 0;
        transform: translateY(0);
    }
}

@keyframes lp-chip-in {
    0%,
    40% {
        opacity: 0;
        transform: translateY(6px) scale(0.96);
    }

    46%,
    88% {
        opacity: 1;
        transform: none;
    }

    95%,
    100% {
        opacity: 0;
        transform: none;
    }
}

/* 24 -> 25 once per read, then rolls on to the second 24 so the loop restarts unseen. */
@keyframes lp-count-tick {
    0%,
    44% {
        transform: translateY(0);
    }

    50%,
    92% {
        transform: translateY(-33.3333%);
    }

    98%,
    100% {
        transform: translateY(-66.6667%);
    }
}

@keyframes lp-pallet-walk {
    0% {
        opacity: 0;
        transform: translateX(8.3333cqw);
    }

    3%,
    7% {
        opacity: 1;
        transform: translateX(8.3333cqw);
    }

    19%,
    23% {
        opacity: 1;
        transform: translateX(25cqw);
    }

    35%,
    39% {
        opacity: 1;
        transform: translateX(41.6667cqw);
    }

    51%,
    55% {
        opacity: 1;
        transform: translateX(58.3333cqw);
    }

    67%,
    71% {
        opacity: 1;
        transform: translateX(75cqw);
    }

    83%,
    90% {
        opacity: 1;
        transform: translateX(91.6667cqw);
    }

    96%,
    100% {
        opacity: 0;
        transform: translateX(91.6667cqw);
    }
}

@keyframes lp-step-lift {
    0%,
    17%,
    100% {
        transform: scale(1);
    }

    3%,
    13% {
        transform: scale(1.08);
    }
}

@keyframes lp-step-ring {
    0%,
    17%,
    100% {
        opacity: 0;
    }

    3%,
    13% {
        opacity: 1;
    }
}

@keyframes lp-route-draw {
    0%,
    3% {
        opacity: 1;
        stroke-dashoffset: 1;
    }

    60%,
    88% {
        opacity: 1;
        stroke-dashoffset: 0;
    }

    96% {
        opacity: 0;
        stroke-dashoffset: 0;
    }

    100% {
        opacity: 0;
        stroke-dashoffset: 1;
    }
}

@keyframes lp-dot-travel {
    0% {
        opacity: 0;
        transform: translate(65px, 168px);
    }

    3% {
        opacity: 1;
        transform: translate(65px, 168px);
    }

    22.3% {
        transform: translate(65px, 77px);
    }

    56.4% {
        transform: translate(226px, 77px);
    }

    60%,
    88% {
        opacity: 1;
        transform: translate(226px, 60px);
    }

    96%,
    100% {
        opacity: 0;
        transform: translate(226px, 60px);
    }
}

@keyframes lp-target-glow {
    0%,
    57% {
        opacity: 0;
    }

    62%,
    88% {
        opacity: 1;
    }

    96%,
    100% {
        opacity: 0;
    }
}

/* Responsive */

/* Packages (Platform → Paketler ve fiyatlar) */

.lp-package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--nova-gap);
    align-items: stretch;
}

.lp-package {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: var(--nova-space-5);
}

.lp-package h3 {
    margin: 0 0 var(--nova-space-2);
    font-size: 1.5rem;
    font-weight: 650;
    letter-spacing: var(--nova-tracking-tight);
}

.lp-package-recommended {
    border-color: var(--nova-primary);
    box-shadow: var(--nova-shadow-card);
}

.lp-package-badge {
    position: absolute;
    top: calc(var(--nova-space-3) * -1);
    left: var(--nova-space-5);
    padding: 3px 12px;
    border-radius: var(--nova-radius-pill);
    background: var(--nova-primary);
    color: var(--nova-primary-contrast);
    font-size: var(--nova-text-sm);
    font-weight: 650;
}

.lp-package-text {
    margin: 0 0 var(--nova-space-3);
    color: var(--nova-text-muted);
    line-height: 1.5;
}

.lp-package-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    margin-bottom: var(--nova-space-2);
}

.lp-package-amount {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: var(--nova-tracking-title);
}

.lp-package-note {
    color: var(--nova-text-muted);
    font-size: var(--nova-text-md);
}

.lp-package-ask {
    color: var(--nova-primary-text);
    font-size: var(--nova-text-lg);
    font-weight: 650;
}

.lp-package-duration {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--nova-text-muted);
    font-size: var(--nova-text-md);
}

.lp-package .lp-points {
    flex: 1 1 auto;
}

.lp-package-cta {
    margin-top: var(--nova-space-4);
    border-radius: var(--nova-radius-pill);
    font-weight: 600;
}

/* Contact */

.lp-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--nova-gap);
    align-items: start;
}

.lp-contact-grid-single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 40rem;
    margin: 0 auto;
}

.lp-contact-details,
.lp-contact-form {
    padding: var(--nova-space-5);
}

.lp-contact-details dl {
    display: grid;
    gap: var(--nova-space-1);
    margin: 0;
}

.lp-contact-details dt {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: var(--nova-space-3);
    color: var(--nova-text-muted);
    font-size: var(--nova-text-md);
    font-weight: 600;
}

.lp-contact-details dt:first-child {
    margin-top: 0;
}

.lp-contact-details dt i {
    color: var(--nova-primary-text);
}

.lp-contact-details dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.lp-contact-details a {
    color: var(--nova-primary-text);
    text-decoration: none;
}

.lp-contact-details a:hover {
    text-decoration: underline;
}

.lp-link-inline {
    display: inline-block;
    margin-left: 8px;
    font-size: var(--nova-text-md);
}

.lp-contact-form h3 {
    margin: 0 0 var(--nova-space-3);
    font-size: var(--nova-text-lg);
    font-weight: 650;
}

.lp-field {
    margin-bottom: var(--nova-space-3);
}

.lp-field label {
    display: block;
    margin-bottom: 4px;
    color: var(--nova-text-muted);
    font-size: var(--nova-text-md);
    font-weight: 600;
}

.lp-field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--nova-space-3);
}

/* The honeypot stays out of sight and out of the tab order; only a bot fills it. */
.lp-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lp-contact-privacy {
    margin: 0 0 var(--nova-space-3);
    color: var(--nova-text-subtle);
    font-size: var(--nova-text-md);
}

.lp-contact-error {
    margin-bottom: var(--nova-space-3);
    padding: var(--nova-space-2) var(--nova-space-3);
    border-radius: var(--nova-radius-sm);
    background: var(--nova-danger-soft);
    color: var(--nova-danger);
    font-size: var(--nova-text-md);
}

.lp-contact-submit {
    border-radius: var(--nova-radius-pill);
    padding: 10px 28px;
    font-weight: 600;
}

.lp-contact-success {
    text-align: center;
}

.lp-contact-success i {
    color: var(--nova-success-solid);
    font-size: 2.5rem;
}

.lp-contact-success p {
    margin: 0 0 var(--nova-space-3);
    color: var(--nova-text-muted);
}

@media (max-width: 991.98px) {
    .lp-nav {
        display: none;
    }

    .lp-hero {
        padding: 48px 0 64px;
    }

    .lp-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--nova-space-5);
    }

    .lp-map-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--nova-space-5);
    }

    .lp-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Six steps no longer fit on one line: a grid of three, no walking pallet
       (the steps still light up one after the other). */
    .lp-flow {
        padding-top: 0;
    }

    .lp-flow-track,
    .lp-flow-line {
        display: none;
    }

    .lp-flow-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: var(--nova-space-5);
    }
}

@media (max-width: 767.98px) {
    .lp-signin {
        margin-left: auto;
    }

    .lp-section {
        padding: 64px 0;
    }

    .lp-model-grid,
    .lp-feature-grid,
    .lp-terminal-grid,
    .lp-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .lp-model {
        padding: var(--nova-space-4);
    }

    .lp-final {
        padding: 48px var(--nova-space-3);
    }

    .lp-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    /* One column: the dot on the left, the words next to it. */
    .lp-flow-steps {
        grid-template-columns: minmax(0, 1fr);
        row-gap: var(--nova-space-4);
    }

    .lp-flow-step {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: var(--nova-space-3);
        padding: 0;
        text-align: left;
    }

    .lp-flow-dot {
        grid-row: 1 / span 2;
        margin-bottom: 0;
    }
}

@media (max-width: 575.98px) {
    .lp-container {
        padding: 0 var(--nova-space-3);
    }

    .lp-cta {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 991.98px) {
    .lp-package-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 32rem;
        margin: 0 auto;
        row-gap: var(--nova-space-5);
    }

    .lp-contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 575.98px) {
    .lp-field-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .lp-package,
    .lp-contact-details,
    .lp-contact-form {
        padding: var(--nova-space-4);
    }

    .lp-package-badge {
        left: var(--nova-space-4);
    }

    .lp-contact-submit {
        width: 100%;
    }
}
