﻿.why-us-section {
    padding: 4rem 10px;
}

.why-us-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.why-us-header {
    margin-bottom: 3rem;
}

    .why-us-header h2 {
        font-size: 3rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

.why-us-subtitle {
    font-size: 1.1rem;
    color: #344054;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-us-card {
    background: #eff4ff;
    border: 1px solid #155dee;
    border-radius: 5px;
    padding: 2rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

    .why-us-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .why-us-card p {
        color: #344054;
        line-height: 1.6;
    }

.line-icon {
    width: 60px;
    fill: #155dee;
}

@media (max-width: 768px) {
    .why-us-header h2 {
        font-size: 2rem;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .why-us-card {
        padding: 1.5rem;
    }
}
/* Features Section */
.features-section {
    background: #eff4ff;
    padding: 4rem 0;
}

.features-header {
    padding: 0 10px;
    max-width: 1200px;
    margin: auto;
    margin-bottom: 3rem;
}

    .features-header h2 {
        text-align: center;
        font-size: 3rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

.features-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #344054;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    margin-bottom: 7rem;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12rem;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

    .feature-row.reverse {
        flex-direction: row-reverse;
    }

.feature-image {
    flex: 1 1 500px;
    min-width: 280px;
    padding: 0 3px;
}

    .feature-image img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    .feature-image.screenshot img {
        box-shadow: 0 4px 4px #155dee;
    }

    .feature-image.cutOff {
        position: relative;
    }

        .feature-image.cutOff::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            height: 4px;
            width: 100%;
            background: #155dee;
            box-shadow: 0 0 12px #155dee, 0 0 20px #4f46e5;
            border-radius: 2px;
        }

.feature-text {
    flex: 1 1 400px;
    min-width: 280px;
    padding: 0 10px;
}

    .feature-text h3 {
        font-size: 2.2rem;
        color: #155dee;
        margin: 0 0 1rem 0;
        padding: 0;
    }

    .feature-text p {
        font-size: 1.1rem;
        color: #344054;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

.learn-more-btn {
    display: inline-flex;
    width: auto;
    min-width: 0;
    text-decoration: none;
    align-items: center;
    gap: .5rem;
    border-radius: .25rem;
    border-width: 1px;
    border-style: dashed;
    border-color: #155dee;
    padding: .5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.4rem;
    color: #155dee;
    transition-property: background-color;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .15s;
}

    .learn-more-btn:hover {
        background-color: #D8E4FF;
    }

    .learn-more-btn svg {
        fill: #005fce;
        width: 18px;
        height: 18px;
    }
















.more-features-section {
    background: linear-gradient(to bottom, #ffffff, #eff4ff);
    padding: 4rem 10px;
    display: flex;
    justify-content: center;
}

.second-content-container {
    max-width: 1200px;
}

.more-features-header h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.more-features-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #344054;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.sidebar-alt-header {
    color: #155dee;
    display: none;
}

.fixed-side h3 {
    color: #101828;
    font-size: 2.2rem;
    padding: 0;
    margin: 0 0 20px 0;
}

.fixed-side p {
    color: #344054;
    font-size: 18px;
    line-height: 1.75rem;
    padding: 0;
    margin: 0;
}

.learn-more-btn-small {
    display: inline-flex;
    width: auto;
    min-width: 0;
    text-decoration: none;
    align-items: center;
    gap: .5rem;
    border-radius: .25rem;
    border-width: 1px;
    border-style: dashed;
    border-color: #155dee;
    padding: .2rem 0.6rem;
    font-size: 1rem;
    line-height: 1.4rem;
    color: #155dee;
    transition-property: background-color;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .15s;
    margin-top: 1rem;
}

    .learn-more-btn-small:hover {
        background-color: #D8E4FF;
    }

    .learn-more-btn-small svg {
        fill: #005fce;
        width: 14px;
        height: 14px;
    }

.scroll-section {
    display: flex;
}

.sidebar {
    align-self: start;
    position: sticky;
    top: 0;
}

.fixed-side {
    margin-top: 140px;
    width: 400px;
}

.scroll-side {
    margin-top: 70px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.scroll-side-text-box-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.scroll-side-text-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

.scroll-side-text {
    width: 80%;
}

.scroll-side-text-icon {
    background-color: #eff4ff;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #155dee;
    margin: 70px 0 10px 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}


    .scroll-side-text-icon svg {
        width: 30px;
        height: 30px;
        fill: #155dee;
    }

.scroll-side-text h4 {
    color: #101828;
    font-size: 24px;
    padding: 0;
    margin: 0 0 10px 0;
}

.scroll-side-text p {
    color: #344054;
    font-size: 16px;
    line-height: 1.5rem;
    padding: 0;
    margin: 0;
}














@media (max-width: 1150px) {
    .squiggly-line {
        width: 190vw;
        transform: rotate(10deg);
    }

    .main-right-image-cont {
        width: 50vw;
        margin: 0;
    }

    .main-left-image-cont {
        width: 40vw;
        margin: 0;
    }
}


@media (max-width: 1010px) {
    .squiggly-line {
        display: none;
    }

    .visual-panels {
        display: none;
    }
}

@media (max-width: 650px) {
    .visual-panels {
        flex-direction: column-reverse;
    }

    .main-left-image-cont {
        width: 80vw;
    }

    .main-right-image-cont {
        width: 100vw;
        margin: 80px 80px 40px 0;
    }
}

@media (max-width: 550px) {
    .feature-image.phone {
        width: 140%;
    }

    .trust-industries {
        display: flex;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 550px) {
    .text-section h1 {
        font-size: clamp(2.5rem, 6vw, 4rem);
        line-height: 1.2;
        margin-bottom: 1.5rem;
        font-weight: 700;
    }

    .subtitle {
        font-size: clamp(1rem, 2.5vw, 1.5rem);
    }

    .landing-hero-content .text-section p, .features-subtitle, .more-features-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .landing-hero-content .text-section h1 {
        font-size: 2.3rem;
        margin-top: 30px;
    }

    .features-header h2, .more-features-header h2 {
        font-size: 2.3rem;
    }
}

@media (max-width: 415px) {
    .visual-panels {
        flex-direction: column-reverse;
    }

    .main-left-image-cont {
        width: 100vw;
    }

    .main-right-image-cont {
        width: 130vw;
        margin: 80px 35vw 0px 0;
    }
}

@media (min-width: 950px) {
    .landing-hero {
        overflow: hidden;
    }
}

@media (max-width: 950px) {
    .sidebar {
        display: none;
    }

    .sidebar-alt-header {
        display: flex;
        font-size: 2.2rem;
        margin: 60px auto 0 auto;
        text-align: center;
        padding: 0;
    }

    main {
        overflow: hidden;
    }
}

@media (max-width: 610px) {
    .scroll-side-text-box-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .feature-row, .feature-row.reverse {
        flex-direction: column;
    }

    .feature-text h2 {
        font-size: 1.8rem;
    }

    .feature-text p {
        font-size: 1rem;
    }

    .feature-image {
        flex: 1 1 100px;
    }

    .features-container {
        gap: 10rem;
    }

    .feature-row {
        gap: 1rem;
    }
}
/* //////////////////////////////////// */
/* FOOTER SOCIAL MEDIA */
/* //////////////////////////////////// */

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

    .footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #155dee;
        transition: all 0.3s ease;
    }

        .footer-social a:hover {
            background-color: #163cc4;
            transform: scale(120%);
        }

    .footer-social svg {
        width: 20px;
        height: 20px;
        fill: #101828;
        transition: fill 0.3s ease;
    }

    .footer-social a:hover svg {
        fill: #fff);
    }

@media (max-width: 768px) {
    .footer-social {
        gap: 15px;
    }

        .footer-social a {
            width: 35px;
            height: 35px;
        }

        .footer-social svg {
            width: 18px;
            height: 18px;
        }
}



/* Glowing orb effect behind devices for depth */
.landing-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 70vh;
    background: radial-gradient(circle, rgba(21, 93, 238, 0.08) 0%, rgba(21,93,238,0) 70%);
    z-index: 0;
    animation: pulseGlow 6s infinite alternate ease-in-out;
}

.landing-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
    position: relative;
    z-index: 1; /* Keeps content above the glow */
}

.text-section {
    width: 100%;
    text-align: center;
}

    /* --- Entrance Animations for Text --- */
    .text-section > * {
        opacity: 0; /* Starting state for animation */
        animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    }

    .text-section h1 {
        font-size: 4rem;
        animation-delay: 0.1s;
    }

    .text-section .subtitle {
        animation-delay: 0.2s;
    }

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    animation-delay: 0.3s;
}

.hero-subtext {
    animation-delay: 0.4s;
}

/* --- Modern CTA Buttons --- */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #155dee 0%, #0d42b3 100%);
    color: white;
    padding: 0.875rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px; /* Modern pill shape */
    box-shadow: 0 4px 15px rgba(21, 93, 238, 0.25);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(21, 93, 238, 0.4);
        background: linear-gradient(135deg, #163cc4 0%, #0a308a 100%);
    }

    .cta-button.secondary {
        background: transparent;
        color: #155dee;
        border: 2px solid #155dee;
        box-shadow: none;
    }

        .cta-button.secondary:hover {
            background: rgba(21, 93, 238, 0.05);
            transform: translateY(-3px);
        }

/* --- Device Mockup Float Animations --- */
.main-left-image-cont {
    animation: floatLeftDevice 6s ease-in-out infinite;
    z-index: 2;
}

.main-right-image-cont {
    animation: floatRightDevice 7s ease-in-out infinite; /* Slightly different duration for organic feel */
    z-index: 1;
}

/* --- Keyframes --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatLeftDevice {
    0% {
        transform: translateY(20px) rotate(-3deg);
    }

    50% {
        transform: translateY(5px) rotate(-2deg);
    }

    100% {
        transform: translateY(20px) rotate(-3deg);
    }
}

@keyframes floatRightDevice {
    0% {
        transform: translateY(-20px) rotate(3deg);
    }

    50% {
        transform: translateY(-35px) rotate(4deg);
    }

    100% {
        transform: translateY(-20px) rotate(3deg);
    }
}

@keyframes pulseGlow {
    from {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Responsive adjustment for the new button container */
@media (max-width: 550px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .cta-button {
        width: 100%;
    }
}


/* --- Architecture Flowchart Section --- */
.architecture-section {
    padding: 4rem 10px;
    background-color: var(--bg-body, #f8fafc);
}

.architecture-header {
    text-align: center;
    margin-bottom: 3rem;
}

    .architecture-header h2 {
        font-size: 3rem;
        margin-bottom: 1rem;
        color: var(--brand-primary, #0f172a);
    }

.architecture-subtitle {
    font-size: 1.1rem;
    color: var(--text-main, #334155);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Two-column layout: diagram left, sticky panel right */
.architecture-body {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.flowchart-wrapper {
    flex: 1 1 0;
    position: relative;
    padding: var(--wrap-pad-y, 2rem) var(--wrap-pad-x, 1rem);
    overflow: visible;
    /* The diagram is sized against ITS OWN width, not the window's. Between about
       900px and 1100px the sticky panel takes 380px and squeezes the diagram to a
       fraction of the viewport, so a viewport media query reads "desktop" while the
       diagram is actually phone-sized. */
    container-type: inline-size;
}

.details-panel-sticky {
    flex: 0 0 380px;
    max-width: 100%;
    align-self: flex-start;
    position: sticky;
    top: 100px;
}

#svg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* --- ANIMATED ENERGY FLOW CSS --- */
.connection-track {
    fill: none;
    stroke: var(--line-track, #e2e8f0);
    stroke-width: 3;
    stroke-linejoin: round;
}

    .connection-track.active {
        stroke: #cbd5e1;
        stroke-width: 4;
    }

.connection-energy {
    fill: none;
    stroke: var(--brand-accent, #155dee);
    stroke-width: 3;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-dasharray: 10 15;
    filter: drop-shadow(0 0 4px rgba(21, 93, 238, 0.6));
    animation: flowAnimation 1s linear infinite;
    opacity: 0.3;
    transition: opacity 0.3s ease, stroke-width 0.3s ease;
}

    .connection-energy.active {
        opacity: 1;
        stroke-width: 4;
        filter: drop-shadow(0 0 8px #155dee);
        animation: flowAnimation 0.6s linear infinite;
    }

@keyframes flowAnimation {
    from {
        stroke-dashoffset: 25;
    }

    to {
        stroke-dashoffset: 0;
    }
}

/* Nodes Grid — Vertical Layout */
/*
  Row layout (top to bottom):
  Row 1: company → location → employee  (main chain top)
  Row 2: messaging (branching from employee)
  Row 3: templates → rosters → time  (main chain continued)
  Row 4: forms (branching from employee col)
  Row 5: leave → timesheets → summary  (final chain)

  4-column grid: cols 2-3 are the "center pair" for Rosters+Events and
  main-chain nodes (which span 2/4 and self-center). Col 1 = Messaging,
  Col 4 = Forms / Leave.
*/
/* Every dimension of a node is a variable so the size tiers further down only have
   to set values — the same set is reused by the container queries and by the
   media-query fallback, with no risk of the two drifting apart. */
.flowchart-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    --gap-x: 2rem;
    --gap-y: 3rem;
    --node-pad-y: 1.25rem;
    --node-pad-x: 0.75rem;
    --node-inner-gap: 0.6rem;
    --node-border: 2px;
    --node-radius: 8px;
    --icon-size: 28px;
    --title-fs: 0.9rem;
    --title-lh: 1.6;
    /* How many text lines the title always reserves. Only "Employee Mgmt" is long
       enough to wrap, and because grid rows stretch, that single wrap made its whole
       row taller than the rest. Holding the space keeps all twelve nodes identical. */
    --title-lines: 1;
    gap: var(--gap-y) var(--gap-x);
    position: relative;
    z-index: 2;
}

.node {
    background: var(--bg-surface, #ffffff);
    border: var(--node-border) solid var(--border-color, #cbd5e1);
    border-radius: var(--node-radius);
    padding: var(--node-pad-y) var(--node-pad-x);
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--node-inner-gap);
    transition: all 0.2s ease;
    /* Grid items default to min-width:auto, which lets a long label push the node
       wider than its column and knock the whole row out of alignment. */
    min-width: 0;
    overflow-wrap: break-word;
}

/* No node sets a width. The grid is eight columns and every node spans exactly
   two, so all twelve are identical at every screen size and the browser does the
   arithmetic. The main chain previously used a fixed 180px, which only matched a
   column by coincidence on a wide screen. */

    .node:hover {
        border-color: #155dee;
        box-shadow: 0 10px 25px -5px rgba(21, 93, 238, 0.25);
    }

    .node.active {
        border-color: #155dee;
        background: #eff6ff;
        box-shadow: 0 0 0 3px rgba(21, 93, 238, 0.2);
    }

    .node svg {
        width: var(--icon-size);
        height: var(--icon-size);
        stroke: var(--brand-primary, #0f172a);
        fill: none;
        transition: stroke 0.2s ease;
    }

    .node.active svg {
        stroke: #155dee;
    }

.node-title {
    font-weight: 600;
    font-size: var(--title-fs);
    line-height: var(--title-lh);
    min-height: calc(var(--title-lines) * var(--title-lh) * 1em);
    color: var(--brand-primary, #0f172a);
}

/*
  Layout (grid placement itself is set inline by the script in Landing.cshtml —
  see nodesWide there; only appearance is styled here):

  Messaging | Rosters       | Events | Forms / Leave
  ----------|---------------|--------|---------------
  Row 1     | Company       |        |
  Row 2     | Location      |        |
  Row 3 Msg | Employee      |        | Forms
  Row 4     | Templates     |        |
  Row 5     | Rosters       | Events |
  Row 6     | Time Tracking |        | Leave
  Row 7     | Timesheets    |        |
  Row 8     | Pay Summary   |        |
*/

.n-summary {
    background: #f8fafc;
}

.n-messaging {
    border-style: dashed;
    border-color: #8b5cf6;
}

    .n-messaging svg {
        stroke: #8b5cf6;
    }

.n-forms {
    border-color: #14b8a6;
}

    .n-forms svg {
        stroke: #14b8a6;
    }

.n-events {
    border-color: #06b6d4;
}

    .n-events svg {
        stroke: #06b6d4;
    }

.n-leave {
    border-color: #f59e0b;
}

    .n-leave svg {
        stroke: #f59e0b;
    }

/* These rules used to carry grid-column/grid-row as well, which was dead weight —
   the script sets placement inline and always won. A duplicate .n-events even
   claimed grid-row 9, contradicting the row-5 rule above it. Appearance only now. */

/* ── Size tiers ────────────────────────────────────────────────────────────
   Same arrangement and the same twelve nodes at every width; only the scale
   changes, so the diagram never reflows into a different diagram.

   These key off the DIAGRAM's width, not the window's. Two lines of title are
   reserved once the columns are tight enough for "Employee Mgmt" to wrap, which
   is what keeps every node exactly the same height. */

@container (max-width: 700px) {
    .flowchart-wrapper {
        --wrap-pad-y: 1.5rem;
        --wrap-pad-x: 0;
    }

    .flowchart-grid {
        --gap-y: 2.25rem;
        --gap-x: 0.75rem;
        --node-pad-y: 1rem;
        --node-pad-x: 0.4rem;
        --node-inner-gap: 0.45rem;
        --icon-size: 24px;
        --title-fs: 0.78rem;
        --title-lh: 1.25;
        --title-lines: 2;
    }
}

@container (max-width: 460px) {
    .flowchart-wrapper {
        --wrap-pad-y: 1.25rem;
        --wrap-pad-x: 0;
    }

    .flowchart-grid {
        --gap-y: 1.75rem;
        --gap-x: 0.5rem;
        --node-pad-y: 0.75rem;
        --node-pad-x: 0.3rem;
        --node-inner-gap: 0.35rem;
        --node-border: 1.5px;
        --node-radius: 6px;
        --icon-size: 20px;
        --title-fs: 0.7rem;
    }
}

/* Same two tiers keyed off the viewport, for browsers without container queries.
   Only the values are repeated, never the rules that consume them. */
@supports not (container-type: inline-size) {
    @media (max-width: 640px) {
        .flowchart-wrapper {
            --wrap-pad-y: 1.5rem;
            --wrap-pad-x: 0;
        }

        .flowchart-grid {
            --gap-y: 2.25rem;
            --gap-x: 0.75rem;
            --node-pad-y: 1rem;
            --node-pad-x: 0.4rem;
            --node-inner-gap: 0.45rem;
            --icon-size: 24px;
            --title-fs: 0.78rem;
            --title-lh: 1.25;
            --title-lines: 2;
        }
    }

    @media (max-width: 420px) {
        .flowchart-wrapper {
            --wrap-pad-y: 1.25rem;
            --wrap-pad-x: 0;
        }

        .flowchart-grid {
            --gap-y: 1.75rem;
            --gap-x: 0.5rem;
            --node-pad-y: 0.75rem;
            --node-pad-x: 0.3rem;
            --node-inner-gap: 0.35rem;
            --node-border: 1.5px;
            --node-radius: 6px;
            --icon-size: 20px;
            --title-fs: 0.7rem;
        }
    }
}

/* Stack the panel under the diagram before the diagram gets squeezed thin. At the
   old 900px this fired far too late: at ~920px the 380px panel left the diagram
   only ~470px, so its nodes were narrower than on a phone. */
@media (max-width: 1100px) {
    .architecture-body {
        flex-direction: column;
        align-items: stretch;
    }

    .flowchart-wrapper {
        width: 100%;
    }

    .details-panel-sticky {
        position: static;
    }
}

/* Details Panel */
.details-panel {
    width: 100%;
    background: var(--bg-surface, #ffffff);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color, #cbd5e1);
    display: none;
}

    .details-panel.visible {
        display: block;
        animation: panelFadeIn 0.3s ease-out forwards;
    }

@keyframes panelFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color, #cbd5e1);
}

.panel-title {
    font-size: 1.5rem;
    color: var(--brand-primary, #0f172a);
    margin: 0;
}

.panel-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-main, #334155);
    margin: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================================
   RosterMate Landing v2 — ground-up redesign
   All classes are lp- prefixed to avoid collisions with shared CSS.
   ============================================================ */

.lp {
    --lp-blue: #155dee;
    --lp-blue-deep: #0d42b3;
    --lp-indigo: #6366f1;
    --lp-sky: #38bdf8;
    --lp-ink: #101828;
    --lp-slate: #475467;
    --lp-mist: #667085;
    --lp-line: #e7ecf4;
    --lp-bg-soft: #f5f8ff;
    --lp-radius: 18px;
    --lp-shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
    --lp-shadow-md: 0 12px 32px -8px rgba(16, 24, 40, .12);
    --lp-shadow-lg: 0 32px 64px -16px rgba(16, 24, 40, .18);
    --lp-ease: cubic-bezier(.22, .8, .26, .99);
    font-family: 'Inter', sans-serif;
    color: var(--lp-ink);
    overflow: clip;
    background-color: #f8fafc;
}

    .lp *, .lp *::before, .lp *::after {
        box-sizing: border-box;
    }

    .lp .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .lp section {
        position: relative;
    }

/* ---------- shared type & atoms ---------- */

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--lp-blue);
    margin: 0 0 1rem;
}

.lp-h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 1.1rem;
}

.lp-accent {
    background: linear-gradient(110deg, var(--lp-blue), var(--lp-indigo));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-section-head {
    max-width: 820px;
    margin: 0 auto 3.5rem;
    text-align: center;
    padding: 0 1.25rem;
}

.lp-section-sub {
    font-size: 1.125rem;
    color: var(--lp-slate);
    line-height: 1.7;
    margin: 0;
}

.lp-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--lp-blue);
    text-decoration: none;
    margin-top: .35rem;
    transition: gap .25s var(--lp-ease), color .2s;
}

    .lp-link svg {
        width: 18px;
        height: 18px;
        transition: transform .25s var(--lp-ease);
    }

    .lp-link:hover {
        gap: .8rem;
        color: var(--lp-blue-deep);
    }

.lp-link-sm {
    font-size: .92rem;
}

.lp-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .95rem 2.1rem;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .25s var(--lp-ease), box-shadow .25s var(--lp-ease), background .25s, color .25s, border-color .25s;
    will-change: transform;
}

    .lp-btn svg {
        width: 20px;
        height: 20px;
        transition: transform .25s var(--lp-ease);
    }

    .lp-btn:hover svg {
        transform: translateX(4px);
    }

.lp-btn-primary {
    background: linear-gradient(135deg, var(--lp-blue) 0%, var(--lp-blue-deep) 100%);
    color: #fff;
    box-shadow: 0 8px 24px -6px rgba(21, 93, 238, .45);
}

    .lp-btn-primary:hover {
        box-shadow: 0 14px 34px -6px rgba(21, 93, 238, .55);
    }

.lp-btn-ghost {
    background: #fff;
    color: var(--lp-ink);
    border: 1.5px solid var(--lp-line);
    box-shadow: var(--lp-shadow-sm);
}

    .lp-btn-ghost:hover {
        border-color: var(--lp-blue);
        color: var(--lp-blue);
        transform: translateY(-2px);
    }

.lp-btn-light {
    background: #fff;
    color: var(--lp-blue-deep);
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .35);
}

    .lp-btn-light:hover {
        transform: translateY(-2px);
    }

.lp-btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .45);
}

    .lp-btn-outline:hover {
        border-color: #fff;
        transform: translateY(-2px);
    }

/* ============================================================
   HERO
   ============================================================ */

.lp-hero {
    padding: clamp(3.5rem, 7vw, 6rem) 1.25rem 0;
    background: linear-gradient(180deg, #fff 0%, #f6f9ff 100%);
}

.lp-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.lp-hero-grid {
    position: absolute;
    inset: -2px;
    background-image: linear-gradient(rgba(21, 93, 238, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 93, 238, .055) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 35%, transparent 78%);
    mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 35%, transparent 78%);
}

.lp-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    will-change: transform;
}

.lp-orb-a {
    width: 480px;
    height: 480px;
    top: -160px;
    left: -140px;
    background: radial-gradient(circle, rgba(21, 93, 238, .16), transparent 70%);
}

.lp-orb-b {
    width: 420px;
    height: 420px;
    top: 4%;
    right: -150px;
    background: radial-gradient(circle, rgba(99, 102, 241, .14), transparent 70%);
}

.lp-orb-c {
    width: 340px;
    height: 340px;
    top: 46%;
    left: 38%;
    background: radial-gradient(circle, rgba(56, 189, 248, .12), transparent 70%);
}

.lp-hero-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lp-hero-copy {
    text-align: center;
    max-width: 980px;
}

.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem 1.1rem;
    border-radius: 999px;
    background: rgba(21, 93, 238, .07);
    border: 1px solid rgba(21, 93, 238, .18);
    color: var(--lp-blue-deep);
    font-size: .88rem;
    font-weight: 600;
    margin: 0 0 1.6rem;
}

.lp-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lp-blue);
    box-shadow: 0 0 0 4px rgba(21, 93, 238, .15);
}

.lp-h1 {
    font-size: clamp(2.5rem, 6vw, 4.35rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.025em;
    margin: 0;
    perspective: 900px;
}

.lp-h1-accent {
    background: linear-gradient(110deg, var(--lp-blue) 20%, var(--lp-indigo) 60%, var(--lp-sky) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-word {
    display: inline-block;
    will-change: transform;
}

/* background-clip:text does not reach into inline-block children, so each
   split word inside the accent carries its own gradient */
.lp-h1-accent .lp-word {
    background: linear-gradient(110deg, var(--lp-blue) 10%, var(--lp-indigo) 70%, var(--lp-sky) 130%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-sub {
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    color: var(--lp-slate);
    line-height: 1.7;
    max-width: 860px;
    margin: 1.6rem auto 2.4rem;
}

.lp-hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.lp-ticks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .8rem 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: .98rem;
    font-weight: 500;
    color: var(--lp-slate);
}

.lp-tick {
    color: var(--lp-blue);
    font-weight: 900;
    margin-right: .3rem;
}

/* ---------- hero demo ---------- */

.lp-demo {
    width: 100%;
    /*    margin-top: clamp(2.5rem, 5vw, 4.5rem);*/
    padding-bottom: clamp(3rem, 6vw, 5.5rem);
    background-color: #f0f5ff;
}

.lp-demo-stage {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
}

.lp-window {
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(231, 236, 244, .9);
    border-radius: 22px;
    box-shadow: var(--lp-shadow-lg), 0 0 0 10px rgba(255, 255, 255, .35);
    overflow: hidden;
}

.lp-window-bar {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .85rem 1.2rem;
    border-bottom: 1px solid var(--lp-line);
    background: linear-gradient(180deg, #fbfdff, #f5f8ff);
}

.lp-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.lp-dot-r {
    background: #fda29b;
}

.lp-dot-y {
    background: #fedf89;
}

.lp-dot-g {
    background: #a6f4c5;
}

.lp-window-title {
    margin-left: .8rem;
    font-size: .86rem;
    font-weight: 600;
    color: var(--lp-mist);
}

.lp-live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    font-weight: 700;
    color: #027a48;
    background: #ecfdf3;
    border: 1px solid #abefc6;
    padding: .25rem .7rem;
    border-radius: 999px;
}

.lp-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #12b76a;
    animation: lp-pulse 1.8s ease-in-out infinite;
}

@keyframes lp-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(18, 183, 106, .45);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(18, 183, 106, 0);
    }
}

.lp-publish {
    margin-left: .8rem;
    border: 0;
    border-radius: 999px;
    padding: .42rem 1.15rem;
    font-family: inherit;
    font-size: .82rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--lp-blue), var(--lp-blue-deep));
    cursor: default;
    transition: background .3s;
}

    .lp-publish.is-published {
        background: linear-gradient(135deg, #12b76a, #027a48);
    }

.lp-roster {
    padding: 1.1rem 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.lp-roster-row {
    display: grid;
    grid-template-columns: 150px repeat(7, 1fr);
    gap: .5rem;
    align-items: stretch;
}

.lp-roster-head {
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--lp-mist);
}

    .lp-roster-head .lp-roster-day {
        text-align: center;
        padding: .3rem 0;
    }

    .lp-roster-head .lp-roster-name {
        display: flex;
        align-items: center;
    }

.lp-roster-name {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .88rem;
    font-weight: 600;
    color: var(--lp-ink);
    white-space: nowrap;
    overflow: hidden;
}

.lp-avatar {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .68rem;
    font-weight: 800;
    color: #fff;
    background: var(--av, var(--lp-blue));
}

.lp-avatar-sm {
    width: 34px;
    height: 34px;
    font-size: .72rem;
}

.lp-cell {
    position: relative;
    min-height: 44px;
    border-radius: 10px;
    background: #f6f8fc;
    border: 1px dashed #e3e9f3;
}

.lp-chip {
    position: absolute;
    inset: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #fff;
    box-shadow: 0 3px 8px -2px rgba(16, 24, 40, .25);
    will-change: transform;
    white-space: nowrap;
}

.lp-chip-blue {
    background: linear-gradient(135deg, #2970ff, #155dee);
}

.lp-chip-teal {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.lp-chip-violet {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.lp-conflict-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    z-index: 3;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    font-weight: 900;
    color: #fff;
    background: #f04438;
    border: 2px solid #fff;
    box-shadow: 0 3px 8px rgba(240, 68, 56, .4);
    opacity: 0;
}

    .lp-conflict-badge.is-resolved {
        background: #12b76a;
        box-shadow: 0 3px 8px rgba(18, 183, 106, .4);
    }

#lp-conflict-cell.is-conflict {
    border: 1.5px solid #fda29b;
    background: #fef3f2;
}

#lp-conflict-cell.is-resolved {
    border: 1.5px solid #abefc6;
    background: #f6fef9;
}

/* floating cards around the window */

.lp-float {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .75rem .95rem;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(8px);
    border: 1px solid var(--lp-line);
    border-radius: 14px;
    box-shadow: var(--lp-shadow-md);
    opacity: 0;
    will-change: transform;
}

.lp-float-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

    .lp-float-text strong {
        font-size: .84rem;
        font-weight: 700;
        color: var(--lp-ink);
    }

    .lp-float-text em {
        font-style: normal;
        font-size: .74rem;
        color: var(--lp-mist);
    }

.lp-float-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .lp-float-icon svg {
        width: 19px;
        height: 19px;
    }

.lp-fi-alert {
    background: #fef3f2;
    color: #d92d20;
}

.lp-float-conflict.is-resolved .lp-fi-alert {
    background: #ecfdf3;
    color: #12b76a;
}

.lp-fi-sync {
    background: #eff4ff;
    color: var(--lp-blue);
}

.lp-fi-bell {
    background: #f4f1ff;
    color: #7c3aed;
}

.lp-float-conflict {
    top: 14%;
    left: -70px;
}

.lp-float-sync {
    top: -26px;
    right: -56px;
}

.lp-float-toast {
    bottom: -24px;
    left: 6%;
}

.lp-cursor {
    position: absolute;
    z-index: 9;
    width: 22px;
    height: 22px;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(16, 24, 40, .35));
}

/* ============================================================
   MARQUEE
   ============================================================ */

.lp-marquee {
    padding: 2.6rem 0 2.8rem;
    background: #f0f5ff;
    border-top: 1px solid var(--lp-line);
    border-bottom: 1px solid var(--lp-line);
}

.lp-marquee-label {
    text-align: center;
    font-size: .85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #6b90e6;
    margin: 0 1.25rem 1.5rem;
}

.lp-marquee-mask {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.lp-marquee-track {
    display: flex;
    width: max-content;
    animation: lp-marquee 48s linear infinite;
}

    .lp-marquee-track:hover {
        animation-play-state: paused;
    }

.lp-marquee-group {
    display: flex;
    gap: 1rem;
    padding-right: 1rem;
}

@keyframes lp-marquee {
    to {
        transform: translateX(-50%);
    }
}

.lp-mq-chip {
    display: inline-flex;
    align-items: center;
    padding: .65rem 1.5rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--lp-line);
    box-shadow: var(--lp-shadow-sm);
    font-size: .95rem;
    font-weight: 600;
    color: var(--lp-slate);
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s, border-color .2s, transform .2s var(--lp-ease), box-shadow .2s;
}

    .lp-mq-chip:hover {
        color: var(--lp-blue);
        border-color: rgba(21, 93, 238, .4);
        box-shadow: var(--lp-shadow-md);
    }

/* ============================================================
   STATS
   ============================================================ */

.lp-stats {
    padding: clamp(3.5rem, 7vw, 5.5rem) 1.25rem;
    background-color: #f8fafc;
}

.lp-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.lp-stat {
    text-align: center;
    padding: 2rem 1.25rem;
    border-radius: var(--lp-radius);
    background: #fff;
    border: 1px solid var(--lp-line);
    box-shadow: var(--lp-shadow-sm);
    transition: transform .3s var(--lp-ease), box-shadow .3s;
}

    .lp-stat:hover {
        transform: translateY(-4px);
        box-shadow: var(--lp-shadow-md);
    }

.lp-stat-num {
    font-size: clamp(2.1rem, 3.4vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 .4rem;
    background: linear-gradient(120deg, var(--lp-blue), var(--lp-indigo));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-variant-numeric: tabular-nums;
}

.lp-stat-label {
    font-size: .95rem;
    color: var(--lp-slate);
    margin: 0;
    line-height: 1.5;
}

/* ============================================================
   SHOWCASE
   ============================================================ */

.lp-showcase {
    padding: clamp(3rem, 7vw, 5.5rem) 1.25rem;
}

.lp-show-row {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding: clamp(2rem, 4.5vw, 4rem) 0;
}

.lp-show-row-rev .lp-show-media {
    order: 2;
}

.lp-show-row-rev .lp-show-text {
    order: 1;
}

.lp-show-text h3 {
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.015em;
    margin: 0 0 1rem;
}

.lp-show-text p {
    font-size: 1.05rem;
    color: var(--lp-slate);
    line-height: 1.75;
    margin: 0 0 1.25rem;
}

.lp-frame {
    position: relative;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--lp-line);
    box-shadow: var(--lp-shadow-lg);
    overflow: hidden;
    will-change: transform;
}

.lp-frame-bar {
    display: flex;
    gap: .4rem;
    padding: .7rem .9rem;
    border-bottom: 1px solid var(--lp-line);
    background: #fbfdff;
}

    .lp-frame-bar span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #e4e9f2;
    }

.lp-frame img, .lp-frame picture {
    display: block;
    width: 100%;
    height: auto;
}

.lp-frame-phone {
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

    .lp-frame-phone img {
        filter: drop-shadow(0 30px 50px rgba(16, 24, 40, .22));
    }

/* ============================================================
   BENTO
   ============================================================ */

.lp-bento {
    padding: clamp(3.5rem, 7vw, 6rem) 1.25rem;
    background: #f8fafc;
}

.lp-bento-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.lp-card {
    position: relative;
    padding: 1.6rem 1.6rem 1.7rem;
    border-radius: var(--lp-radius);
    background: #fff;
    border: 1px solid var(--lp-line);
    box-shadow: var(--lp-shadow-sm);
    overflow: hidden;
    transition: transform .3s var(--lp-ease), box-shadow .3s, border-color .3s;
}

    .lp-card::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(21, 93, 238, .07), transparent 65%);
        opacity: 0;
        transition: opacity .35s;
        pointer-events: none;
    }

    .lp-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--lp-shadow-md);
        border-color: rgba(21, 93, 238, .25);
    }

        .lp-card:hover::after {
            opacity: 1;
        }

    .lp-card h3 {
        font-size: 1.18rem;
        font-weight: 800;
        letter-spacing: -.01em;
        margin: 1.2rem 0 .55rem;
    }

    .lp-card p {
        font-size: .97rem;
        color: var(--lp-slate);
        line-height: 1.65;
        margin: 0 0 .6rem;
    }

.lp-card-4 {
    grid-column: span 4;
}

.lp-card-5 {
    grid-column: span 5;
}

.lp-card-7 {
    grid-column: span 7;
}

.lp-card-12 {
    grid-column: span 12;
}

/* vignette stage */

.lp-vig {
    position: relative;
    border-radius: 13px;
    background: var(--lp-bg-soft);
    border: 1px solid var(--lp-line);
    min-height: 132px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .6rem;
    overflow: hidden;
}

/* leave vignette */

.lp-leave-row {
    display: flex;
    align-items: center;
    gap: .8rem;
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 12px;
    padding: .8rem 1rem;
    box-shadow: var(--lp-shadow-sm);
    transition: background .4s, border-color .4s;
}

.lp-vig-leave.is-approved .lp-leave-row {
    background: #f6fef9;
    border-color: #abefc6;
}

.lp-leave-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    min-width: 0;
}

    .lp-leave-info strong {
        font-size: .92rem;
    }

    .lp-leave-info em {
        font-style: normal;
        font-size: .78rem;
        color: var(--lp-mist);
    }

.lp-leave-btn {
    margin-left: auto;
    flex: 0 0 auto;
    font-size: .8rem;
    font-weight: 700;
    color: #fff;
    background: var(--lp-blue);
    border-radius: 999px;
    padding: .4rem 1rem;
    transition: opacity .3s;
}

.lp-vig-leave.is-approved .lp-leave-btn {
    opacity: 0;
    position: absolute;
}

.lp-leave-check {
    margin-left: auto;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    color: #12b76a;
    opacity: 0;
}

.lp-vig-leave.is-approved .lp-leave-check {
    opacity: 1;
}

/* payroll vignette */

.lp-pay-label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

    .lp-pay-label strong {
        font-size: .88rem;
        font-weight: 700;
    }

.lp-pay-status {
    font-style: normal;
    font-size: .78rem;
    font-weight: 600;
    color: var(--lp-mist);
}

    .lp-pay-status.is-done {
        color: #027a48;
    }

.lp-pay-bar {
    height: 9px;
    border-radius: 999px;
    background: #e7ecf4;
    overflow: hidden;
}

.lp-pay-fill {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--lp-blue), var(--lp-indigo));
}

.lp-pay-targets {
    display: flex;
    gap: .5rem;
}

    .lp-pay-targets span {
        font-size: .72rem;
        font-weight: 700;
        color: var(--lp-slate);
        background: #fff;
        border: 1px solid var(--lp-line);
        border-radius: 999px;
        padding: .22rem .7rem;
    }

/* chat vignette */

.lp-vig-chat {
    align-items: flex-start;
}

.lp-bubble {
    max-width: 85%;
    font-size: .84rem;
    font-weight: 500;
    line-height: 1.4;
    padding: .55rem .9rem;
    border-radius: 14px;
    will-change: transform;
}

.lp-bubble-in {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-bottom-left-radius: 4px;
}

.lp-bubble-out {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--lp-blue), var(--lp-blue-deep));
    color: #fff;
    border-bottom-right-radius: 4px;
}

.lp-bubble-sys {
    align-self: center;
    background: #ecfdf3;
    border: 1px solid #abefc6;
    color: #027a48;
    font-size: .76rem;
    font-weight: 700;
    border-radius: 999px;
    padding: .35rem .9rem;
}

/* access vignette */

.lp-perm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 10px;
    padding: .5rem .85rem;
}

    .lp-perm em {
        font-style: normal;
        font-size: .84rem;
        font-weight: 600;
    }

.lp-toggle {
    width: 38px;
    height: 21px;
    border-radius: 999px;
    background: #12b76a;
    position: relative;
    transition: background .3s;
}

.lp-toggle-off {
    background: #d0d5dd;
}

.lp-knob {
    position: absolute;
    top: 2.5px;
    left: 19.5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .3);
    transition: left .3s var(--lp-ease);
}

.lp-toggle-off .lp-knob {
    left: 2.5px;
}

/* setup vignette */

.lp-check-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .88rem;
    font-weight: 600;
    color: var(--lp-ink);
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 10px;
    padding: .5rem .85rem;
}

    .lp-check-item svg {
        width: 18px;
        height: 18px;
        color: #12b76a;
        flex: 0 0 auto;
    }

/* forms (AI) vignette + wide card */

.lp-card-forms {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
    align-items: center;
    background: linear-gradient(120deg, #0f1b3d 0%, #14254f 55%, #1b2f66 100%);
    border-color: rgba(255, 255, 255, .08);
}

    .lp-card-forms h3 {
        color: #fff;
        margin-top: .4rem;
    }

    .lp-card-forms p {
        color: #b3c3e8;
    }

    .lp-card-forms .lp-eyebrow {
        color: #8ab0ff;
    }

    .lp-card-forms .lp-link {
        color: #9ec1ff;
    }

        .lp-card-forms .lp-link:hover {
            color: #fff;
        }

    .lp-card-forms::after {
        background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%), rgba(99, 161, 255, .12), transparent 65%);
    }

.lp-vig-forms {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .12);
    align-items: flex-start;
}

.lp-ai-tag {
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .04em;
    color: #0f1b3d;
    background: linear-gradient(120deg, #9ec1ff, #c2b5ff);
    border-radius: 999px;
    padding: .3rem .85rem;
    will-change: transform;
}

.lp-form-field {
    width: var(--w, 80%);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 9px;
    padding: .5rem .8rem;
    transform-origin: left center;
}

    .lp-form-field em {
        font-style: normal;
        font-size: .8rem;
        font-weight: 600;
        color: #cdd9f6;
    }

/* ============================================================
   FLOW
   ============================================================ */

.lp-flow {
    padding: clamp(3.5rem, 7vw, 6rem) 1.25rem;
}

.lp-flow-line {
    max-width: 1100px;
    margin: 0 auto 2.2rem;
    height: 5px;
    border-radius: 999px;
    background: #e7ecf4;
    overflow: hidden;
}

.lp-flow-bar {
    display: block;
    height: 100%;
    width: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--lp-blue), var(--lp-indigo), var(--lp-sky));
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

.lp-flow-steps {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    list-style: none;
    padding: 0;
    counter-reset: none;
}

.lp-flow-step {
    padding: 1.5rem 1.4rem;
    border-radius: var(--lp-radius);
    background: #fff;
    border: 1px solid var(--lp-line);
    transition: transform .35s var(--lp-ease), box-shadow .35s, border-color .35s, opacity .35s;
    opacity: .45;
}

    .lp-flow-step.is-on {
        opacity: 1;
        transform: translateY(-4px);
        border-color: rgba(21, 93, 238, .3);
        box-shadow: var(--lp-shadow-md);
    }

.lp-flow-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-weight: 800;
    font-size: 1rem;
    color: var(--lp-blue);
    background: rgba(21, 93, 238, .08);
    border: 1px solid rgba(21, 93, 238, .18);
    transition: background .35s, color .35s;
}

.lp-flow-step.is-on .lp-flow-num {
    color: #fff;
    background: linear-gradient(135deg, var(--lp-blue), var(--lp-blue-deep));
}

.lp-flow-step h3 {
    font-size: 1.08rem;
    font-weight: 800;
    margin: .95rem 0 .5rem;
    letter-spacing: -.01em;
}

.lp-flow-step p {
    font-size: .93rem;
    color: var(--lp-slate);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   INDUSTRIES
   ============================================================ */

.lp-industries {
    padding: clamp(3.5rem, 7vw, 6rem) 1.25rem;
    background: #eff4ff;
}

.lp-ind-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.lp-ind-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.7rem 1.6rem;
    border-radius: var(--lp-radius);
    background: #fff;
    border: 1px solid var(--lp-line);
    text-decoration: none;
    color: var(--lp-ink);
    overflow: hidden;
    transition: transform .3s var(--lp-ease), box-shadow .3s, border-color .3s;
}

    .lp-ind-card::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(21, 93, 238, .07), transparent 65%);
        opacity: 0;
        transition: opacity .35s;
        pointer-events: none;
    }

    .lp-ind-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--lp-shadow-md);
        border-color: rgba(21, 93, 238, .3);
    }

        .lp-ind-card:hover::after {
            opacity: 1;
        }

.lp-ind-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(21, 93, 238, .08);
    border: 1px solid rgba(21, 93, 238, .15);
    margin-bottom: 1.1rem;
    transition: transform .3s var(--lp-ease);
}

    .lp-ind-icon svg {
        width: 22px;
        height: 22px;
        fill: var(--lp-blue);
    }

.lp-ind-card:hover .lp-ind-icon {
    transform: scale(1.08) rotate(-4deg);
}

.lp-ind-card h3 {
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -.01em;
    margin: 0 0 .55rem;
}

.lp-ind-card p {
    font-size: .94rem;
    color: var(--lp-slate);
    line-height: 1.65;
    margin: 0 0 1.1rem;
    flex: 1;
}

.lp-ind-cta {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .9rem;
    font-weight: 700;
    color: var(--lp-blue);
    transition: gap .25s var(--lp-ease);
}

    .lp-ind-cta svg {
        width: 16px;
        height: 16px;
    }

.lp-ind-card:hover .lp-ind-cta {
    gap: .75rem;
}

/* ============================================================
   WHY
   ============================================================ */

.lp-why {
    padding: clamp(3.5rem, 7vw, 6rem) 1.25rem;
    padding-bottom: 0;
}

.lp-why-grid {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.lp-why-card {
    padding: 1.9rem 1.7rem;
    border-radius: var(--lp-radius);
    background: #fff;
    border: 1px solid var(--lp-line);
    box-shadow: var(--lp-shadow-sm);
    transition: transform .3s var(--lp-ease), box-shadow .3s;
}

    .lp-why-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--lp-shadow-md);
    }

.lp-why-num {
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .1em;
    color: var(--lp-blue);
    opacity: .8;
}

.lp-why-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.01em;
    margin: .9rem 0 .6rem;
}

.lp-why-card p {
    font-size: .96rem;
    color: var(--lp-slate);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   FINAL CTA
   ============================================================ */

.lp-cta {
    padding: clamp(2rem, 5vw, 4rem) 1.25rem 0;
}

.lp-cta-panel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
    border-radius: 28px;
    background: linear-gradient(125deg, #0d2a6e 0%, var(--lp-blue-deep) 45%, var(--lp-blue) 100%);
    box-shadow: 0 40px 80px -24px rgba(13, 66, 179, .45);
    overflow: hidden;
}

.lp-cta-orbs span {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

    .lp-cta-orbs span:first-child {
        width: 380px;
        height: 380px;
        top: -160px;
        right: -100px;
        background: radial-gradient(circle, rgba(56, 189, 248, .35), transparent 70%);
    }

    .lp-cta-orbs span:last-child {
        width: 320px;
        height: 320px;
        bottom: -140px;
        left: -80px;
        background: radial-gradient(circle, rgba(139, 92, 246, .3), transparent 70%);
    }

.lp-cta-panel h2 {
    position: relative;
    color: #fff;
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
    margin: 0 0 1rem;
}

.lp-cta-panel > p {
    position: relative;
    color: #c8d8fb;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto 2rem;
}

.lp-cta-actions {
    position: relative;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.lp-cta-note {
    position: relative;
    margin: 1.6rem 0 0;
    font-size: .88rem;
    color: #9db9f5;
}

.lp-waves {
    background: transparent;
}

    .lp-waves .footer-waves {
        margin-top: 70px;
    }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .lp-stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-card-4, .lp-card-5, .lp-card-7 {
        grid-column: span 1;
    }

    .lp-card-12 {
        grid-column: span 2;
    }

    .lp-ind-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-flow-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-flow-line {
        display: none;
    }

    .lp-flow-step {
        opacity: 1;
    }
}

@media (max-width: 860px) {
    .lp-show-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .lp-show-row-rev .lp-show-media {
        order: 0;
    }

    .lp-show-row-rev .lp-show-text {
        order: 1;
    }

    .lp-show-text {
        text-align: left;
    }

    .lp-why-grid {
        grid-template-columns: 1fr;
    }

    .lp-card-forms {
        grid-template-columns: 1fr;
    }

    .lp-float-conflict {
        left: -8px;
    }

    .lp-float-sync {
        right: -8px;
        top: -18px;
    }
}

@media (max-width: 640px) {
    .lp-roster-row {
        grid-template-columns: 92px repeat(5, 1fr);
    }

    .lp-d6, .lp-d7 {
        display: none;
    }

    .lp-emp {
        display: none;
    }

    .lp-roster-name {
        justify-content: center;
    }

    .lp-chip {
        font-size: .55rem;
        letter-spacing: -.03em;
    }

    .lp-window-title {
        display: none;
    }

    .lp-stats-inner {
        grid-template-columns: 1fr 1fr;
        gap: .8rem;
    }

    .lp-stat {
        padding: 1.4rem .9rem;
    }

    .lp-bento-grid {
        grid-template-columns: 1fr;
    }

    .lp-card-12 {
        grid-column: span 1;
    }

    .lp-ind-grid {
        grid-template-columns: 1fr;
    }

    .lp-flow-steps {
        grid-template-columns: 1fr;
    }

    .lp-ticks {
        flex-direction: column;
        align-items: center;
        gap: .55rem;
    }

    .lp-float {
        display: none;
    }

    .lp-float-toast {
        display: flex;
        bottom: -18px;
        left: 2%;
    }
}

@media (max-width: 425px) {
    .lp-roster-row {
        grid-template-columns: 92px repeat(3, 1fr);
    }

    .lp-d5 {
        display: none;
    }

    .lp-d4 {
        display: none;
    }
}

/* ============================================================
MOTION SAFETY
============================================================ */

@media (prefers-reduced-motion: reduce) {
    .lp-marquee-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
    }

    .lp-live-dot {
        animation: none;
    }

    .lp *, .lp *::before, .lp *::after {
        transition-duration: .01ms !important;
    }

    .lp-float, .lp-conflict-badge {
        opacity: 1;
    }

    .lp-flow-bar {
        transform: scaleX(1);
    }

    .lp-flow-step {
        opacity: 1;
    }
}
