/*
 * GMDA-GCMS Landing Page
 * ------------------------------------------------------------------
 * Loaded only by home.html — never by the authenticated app shell, so
 * none of this affects the existing screens. Builds on the --gmda-*
 * tokens already defined in app.css (loaded first) rather than
 * redeclaring the palette.
 */

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

body.lp-body {
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Sticky footer: #main grows to fill whatever the header/footer don't use, so a
   short page (e.g. the login screen) still pins the footer to the bottom of the
   viewport instead of leaving it stranded right under a half-empty page. */
#main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.lp-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--gmda-primary);
    color: #fff;
    padding: 10px 16px;
    border-radius: 0 0 var(--gmda-radius-sm) 0;
    font-size: var(--gmda-fs-sm);
    font-weight: 600;
}
.lp-skip-link:focus {
    left: 0;
}

:focus-visible {
    outline: 2px solid var(--gmda-primary);
    outline-offset: 2px;
}

/* ---------- Header ---------- */
.lp-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(160%) blur(6px);
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.lp-header.is-scrolled {
    border-bottom-color: var(--gmda-gray-200);
    box-shadow: var(--gmda-shadow-sm);
}
.lp-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.lp-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gmda-gray-900);
}
.lp-brand-logo {
    height: 38px;
    width: auto;
    display: block;
    border-radius: 4px;
}
.lp-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.lp-brand-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--gmda-gray-900);
    letter-spacing: -0.01em;
}
.lp-brand-sub {
    font-size: 0.7rem;
    color: var(--gmda-gray-500);
    font-weight: 500;
}

.lp-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}
.lp-nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.lp-nav-links a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gmda-gray-700);
}
.lp-nav-links a:hover { color: var(--gmda-primary); }

.lp-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--gmda-radius-sm);
    border: 1px solid var(--gmda-gray-200);
    background: #fff;
    color: var(--gmda-gray-800);
}
.lp-menu-toggle:hover { background: var(--gmda-gray-50); }

.lp-mobile-menu {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 8px 24px 18px;
    border-bottom: 1px solid var(--gmda-gray-200);
    background: #fff;
}
.lp-mobile-menu a {
    padding: 11px 4px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gmda-gray-800);
    border-bottom: 1px solid var(--gmda-gray-100);
}
.lp-mobile-menu.is-open { display: flex; }

@media (max-width: 860px) {
    .lp-nav-links { display: none; }
    .lp-menu-toggle { display: inline-flex; }
}

/* ---------- Shared section rhythm ---------- */
.lp-section {
    padding: 84px 24px;
}
.lp-section-tight { padding: 64px 24px; }
.lp-section-alt { background: var(--gmda-gray-50); }
.lp-container {
    max-width: 1180px;
    margin: 0 auto;
}
.lp-container-narrow {
    max-width: 760px;
    margin: 0 auto;
}
.lp-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gmda-primary);
    margin-bottom: 10px;
}
.lp-section-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--gmda-gray-900);
    letter-spacing: -0.01em;
    text-wrap: balance;
}
.lp-section-sub {
    margin-top: 12px;
    font-size: 1.02rem;
    color: var(--gmda-gray-600);
    max-width: 62ch;
    line-height: 1.65;
}
.lp-section-head { margin-bottom: 40px; }
.lp-section-head.lp-center { text-align: center; }
.lp-section-head.lp-center .lp-section-sub { margin-left: auto; margin-right: auto; }

/* Hero entrance: a single, one-time, pure-CSS fade-up on first paint — never
   gated on JS/IntersectionObserver, so it can't leave content invisible for a
   crawler, print/PDF export, or a screenshot tool that never scrolls. The
   animation only ever plays FROM the visible end state, so a browser that
   doesn't run the keyframes at all still shows the content, just static. */
@keyframes lp-fade-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.lp-hero-eyebrow, .lp-hero-title, .lp-hero-sub, .lp-hero-actions, .lp-hero-note {
    animation: lp-fade-up 0.5s ease both;
}
.lp-hero-title { animation-delay: 0.05s; }
.lp-hero-sub { animation-delay: 0.1s; }
.lp-hero-actions { animation-delay: 0.15s; }
.lp-hero-note { animation-delay: 0.2s; }
@media (prefers-reduced-motion: reduce) {
    .lp-hero-eyebrow, .lp-hero-title, .lp-hero-sub, .lp-hero-actions, .lp-hero-note {
        animation: none;
    }
}

/* ---------- Hero ---------- */
.lp-hero {
    padding: 56px 24px 80px;
    background: linear-gradient(180deg, var(--gmda-primary-tint) 0%, #ffffff 78%);
}
.lp-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.lp-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gmda-primary);
    background: #fff;
    border: 1px solid var(--gmda-primary-light);
    padding: 5px 12px;
    border-radius: 999px;
}
.lp-hero-title {
    margin-top: 18px;
    font-size: 2.65rem;
    line-height: 1.14;
    font-weight: 700;
    color: var(--gmda-gray-900);
    letter-spacing: -0.015em;
    text-wrap: balance;
}
.lp-hero-sub {
    margin-top: 18px;
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--gmda-gray-600);
    max-width: 52ch;
}
.lp-hero-actions {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.lp-hero-actions .btn {
    padding: 11px 22px;
    font-weight: 600;
    font-size: 0.95rem;
}
.lp-hero-note {
    margin-top: 22px;
    font-size: 0.8rem;
    color: var(--gmda-gray-500);
    display: flex;
    align-items: center;
    gap: 7px;
}

.lp-hero-diagram {
    background: #fff;
    border: 1px solid var(--gmda-gray-200);
    border-radius: var(--gmda-radius-lg);
    box-shadow: var(--gmda-shadow-md);
    padding: 26px 22px;
}
.lp-hero-diagram-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gmda-gray-400);
    margin-bottom: 16px;
}
.lp-flow {
    display: flex;
    flex-direction: column;
}
.lp-flow-step {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding-bottom: 22px;
}
.lp-flow-step:last-child { padding-bottom: 0; }
.lp-flow-step::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 40px;
    bottom: 0;
    width: 2px;
    background: var(--gmda-gray-200);
}
.lp-flow-step:last-child::before { display: none; }
.lp-flow-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gmda-primary-tint);
    color: var(--gmda-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}
.lp-flow-icon svg { width: 19px; height: 19px; }
.lp-flow-step.is-final .lp-flow-icon {
    background: var(--gmda-primary);
    color: #fff;
}
.lp-flow-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gmda-gray-800);
}

/* ---------- Icon tile (reused by feature/category/pillar cards) ---------- */
.lp-icon-tile {
    width: 42px;
    height: 42px;
    border-radius: var(--gmda-radius-md);
    background: var(--gmda-primary-tint);
    color: var(--gmda-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lp-icon-tile svg { width: 22px; height: 22px; }

/* ---------- Portal overview ---------- */
.lp-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.lp-overview-card {
    background: #fff;
    border: 1px solid var(--gmda-gray-200);
    border-radius: var(--gmda-radius-lg);
    padding: 22px 20px;
}
.lp-overview-card h3 {
    font-size: 1rem;
    margin: 12px 0 6px;
    color: var(--gmda-gray-900);
}
.lp-overview-card p {
    font-size: 0.875rem;
    color: var(--gmda-gray-600);
    line-height: 1.55;
    margin: 0;
}

/* ---------- Feature grid ---------- */
.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.lp-feature-card {
    background: #fff;
    border: 1px solid var(--gmda-gray-200);
    border-radius: var(--gmda-radius-lg);
    padding: 22px 20px;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.lp-feature-card:hover {
    box-shadow: var(--gmda-shadow-md);
    transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
    .lp-feature-card:hover { transform: none; }
}
.lp-feature-card h3 {
    font-size: 0.98rem;
    margin: 14px 0 6px;
    color: var(--gmda-gray-900);
}
.lp-feature-card p {
    font-size: 0.85rem;
    color: var(--gmda-gray-600);
    line-height: 1.55;
    margin: 0;
}

/* ---------- Case categories ---------- */
.lp-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.lp-category-card {
    background: #fff;
    border: 1px solid var(--gmda-gray-200);
    border-radius: var(--gmda-radius-lg);
    padding: 22px 20px;
    position: relative;
}
.lp-category-num {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gmda-gray-300);
    letter-spacing: 0.02em;
}
.lp-category-card h3 {
    font-size: 0.98rem;
    margin: 10px 0 8px;
    color: var(--gmda-gray-900);
}
.lp-category-card p {
    font-size: 0.85rem;
    color: var(--gmda-gray-600);
    line-height: 1.55;
    margin: 0;
}

/* ---------- Workflow timeline ---------- */
.lp-timeline {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    align-items: start;
}
.lp-timeline-step {
    position: relative;
    padding: 0 14px;
    text-align: left;
}
.lp-timeline-step::before {
    content: "";
    position: absolute;
    top: 21px;
    left: -10px;
    right: 10px;
    height: 2px;
    background: var(--gmda-gray-200);
}
.lp-timeline-step:first-child::before { display: none; }
.lp-timeline-num {
    position: relative;
    z-index: 1;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gmda-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-variant-numeric: tabular-nums;
}
.lp-timeline-step h3 {
    font-size: 0.9rem;
    margin: 14px 0 6px;
    color: var(--gmda-gray-900);
}
.lp-timeline-step p {
    font-size: 0.8rem;
    color: var(--gmda-gray-600);
    line-height: 1.5;
    margin: 0;
}
.lp-timeline-actor {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--gmda-primary);
    background: var(--gmda-primary-tint);
    padding: 2px 8px;
    border-radius: 999px;
}

@media (max-width: 900px) {
    .lp-timeline { grid-template-columns: 1fr; gap: 26px; }
    .lp-timeline-step::before {
        top: -14px;
        left: 20px;
        right: auto;
        width: 2px;
        height: 14px;
    }
}

/* ---------- Digital case file mock ---------- */
.lp-case-mock {
    background: #fff;
    border: 1px solid var(--gmda-gray-200);
    border-radius: var(--gmda-radius-lg);
    box-shadow: var(--gmda-shadow-md);
    overflow: hidden;
    max-width: 560px;
    margin: 0 auto;
}
.lp-case-mock-bar {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: var(--gmda-gray-50);
    border-bottom: 1px solid var(--gmda-gray-200);
}
.lp-case-mock-bar span {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--gmda-gray-300);
}
.lp-case-mock-head {
    padding: 18px 22px 14px;
    border-bottom: 1px solid var(--gmda-gray-100);
}
.lp-case-mock-num {
    font-family: "SF Mono", Consolas, monospace;
    font-size: 0.8rem;
    color: var(--gmda-gray-500);
}
.lp-case-mock-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gmda-gray-900);
    margin-top: 3px;
}
.lp-case-mock-meta {
    display: flex;
    gap: 22px;
    margin-top: 10px;
}
.lp-case-mock-meta div span:first-child {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gmda-gray-400);
    margin-bottom: 2px;
}
.lp-case-mock-meta div span:last-child {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gmda-gray-800);
}
.lp-case-mock-section {
    padding: 16px 22px;
    border-bottom: 1px solid var(--gmda-gray-100);
}
.lp-case-mock-section:last-child { border-bottom: none; }
.lp-case-mock-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gmda-gray-400);
    margin-bottom: 10px;
}
.lp-case-mock-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 16px;
}
.lp-case-mock-fields div span:first-child {
    display: block;
    font-size: 0.68rem;
    color: var(--gmda-gray-400);
}
.lp-case-mock-fields div span:last-child {
    font-size: 0.8rem;
    color: var(--gmda-gray-800);
    font-weight: 500;
}
.lp-case-mock-docs {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lp-case-mock-doc {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--gmda-gray-700);
}
.lp-case-mock-doc svg { width: 14px; height: 14px; color: var(--gmda-gray-400); flex-shrink: 0; }
.lp-case-mock-note {
    padding: 10px 12px;
    background: var(--gmda-gray-50);
    border-radius: var(--gmda-radius-sm);
    margin-bottom: 8px;
}
.lp-case-mock-note:last-child { margin-bottom: 0; }
.lp-case-mock-note-head {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gmda-primary);
    margin-bottom: 3px;
}
.lp-case-mock-note p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--gmda-gray-600);
    line-height: 1.5;
}
.lp-case-mock-chain {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gmda-gray-700);
}
.lp-case-mock-chain svg { width: 14px; height: 14px; color: var(--gmda-gray-300); }

/* ---------- Analytics preview ---------- */
.lp-analytics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 22px;
}
.lp-stat-tile {
    background: #fff;
    border: 1px solid var(--gmda-gray-200);
    border-radius: var(--gmda-radius-lg);
    padding: 18px 20px;
}
.lp-stat-tile .num {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--gmda-gray-900);
    font-variant-numeric: tabular-nums;
}
.lp-stat-tile .label {
    font-size: 0.78rem;
    color: var(--gmda-gray-500);
    margin-top: 2px;
}
.lp-charts-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 1fr;
    gap: 14px;
}
.lp-chart-card {
    background: #fff;
    border: 1px solid var(--gmda-gray-200);
    border-radius: var(--gmda-radius-lg);
    padding: 18px 20px;
}
.lp-chart-card h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gmda-gray-700);
    margin: 0 0 14px;
}
.lp-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 9px;
}
.lp-bar-row .bar-label {
    width: 84px;
    flex-shrink: 0;
    font-size: 0.72rem;
    color: var(--gmda-gray-600);
}
.lp-bar-row .bar-track {
    flex: 1;
    height: 8px;
    background: var(--gmda-gray-100);
    border-radius: 999px;
    overflow: hidden;
}
.lp-bar-row .bar-fill {
    height: 100%;
    background: var(--gmda-primary);
    border-radius: 999px;
}
.lp-bar-row .bar-val {
    font-size: 0.72rem;
    color: var(--gmda-gray-500);
    font-variant-numeric: tabular-nums;
    width: 28px;
    text-align: right;
}
.lp-donut-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}
.lp-donut-legend {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.lp-donut-legend span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.75rem;
    color: var(--gmda-gray-600);
}
.lp-donut-legend i {
    width: 8px; height: 8px; border-radius: 2px; display: inline-block;
}
.lp-aging-track {
    display: flex;
    height: 26px;
    border-radius: var(--gmda-radius-sm);
    overflow: hidden;
    margin-bottom: 10px;
}
.lp-aging-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}
.lp-aging-legend span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--gmda-gray-600);
}
.lp-aging-legend i { width: 8px; height: 8px; border-radius: 2px; }
.lp-analytics-caption {
    margin-top: 16px;
    font-size: 0.78rem;
    color: var(--gmda-gray-500);
    text-align: center;
}

/* ---------- Record chain (notesheet & document mgmt) ---------- */
.lp-chain {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--gmda-gray-200);
    border-radius: var(--gmda-radius-lg);
    padding: 22px 24px;
    margin-bottom: 30px;
}
.lp-chain-node {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gmda-gray-800);
    white-space: nowrap;
}
.lp-chain-node svg { width: 16px; height: 16px; color: var(--gmda-primary); }
.lp-chain-arrow { color: var(--gmda-gray-300); flex-shrink: 0; }
.lp-chain-arrow svg { width: 16px; height: 16px; }
@media (max-width: 900px) {
    .lp-chain { flex-direction: column; align-items: flex-start; }
    .lp-chain-arrow { transform: rotate(90deg); align-self: center; }
}

.lp-record-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.lp-record-card {
    background: #fff;
    border: 1px solid var(--gmda-gray-200);
    border-radius: var(--gmda-radius-lg);
    padding: 20px;
}
.lp-record-card h3 {
    font-size: 0.92rem;
    margin: 12px 0 6px;
}
.lp-record-card p {
    font-size: 0.82rem;
    color: var(--gmda-gray-600);
    line-height: 1.5;
    margin: 0;
}

/* ---------- Transparency pillars ---------- */
.lp-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.lp-pillar {
    text-align: left;
    padding: 4px 0;
}
.lp-pillar h3 {
    font-size: 0.95rem;
    margin: 14px 0 6px;
    color: var(--gmda-gray-900);
}
.lp-pillar p {
    font-size: 0.83rem;
    color: var(--gmda-gray-600);
    line-height: 1.55;
    margin: 0;
}

/* ---------- CTA ---------- */
.lp-cta {
    background: var(--gmda-primary);
    padding: 68px 24px;
}
.lp-cta-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.lp-cta h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    text-wrap: balance;
}
.lp-cta p {
    color: rgba(255,255,255,0.82);
    margin-top: 12px;
    font-size: 1rem;
    line-height: 1.6;
}
.lp-cta .btn {
    margin-top: 26px;
    padding: 12px 26px;
    font-weight: 600;
    font-size: 0.95rem;
    background: #fff;
    color: var(--gmda-primary);
    border: none;
}
.lp-cta .btn:hover { background: var(--gmda-gray-100); }

/* ---------- Footer ---------- */
.lp-footer {
    background: var(--gmda-gray-900);
    color: var(--gmda-gray-400);
    padding: 56px 24px 26px;
}
.lp-footer-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.lp-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.lp-footer-brand img {
    height: 32px;
    border-radius: 4px;
}
.lp-footer-brand-name {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}
.lp-footer p {
    font-size: 0.83rem;
    line-height: 1.6;
    max-width: 40ch;
    margin: 0;
}
.lp-footer-heading {
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.lp-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.lp-footer-links a {
    font-size: 0.85rem;
    color: var(--gmda-gray-400);
}
.lp-footer-links a:hover { color: #fff; }
.lp-footer-bottom {
    max-width: 1180px;
    margin: 0 auto;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.78rem;
}
.lp-footer-bottom a {
    color: var(--gmda-gray-300);
    font-weight: 600;
}
.lp-footer-bottom a:hover { color: #fff; }

@media (max-width: 980px) {
    .lp-hero-inner { grid-template-columns: 1fr; }
    .lp-overview-grid, .lp-features-grid, .lp-categories-grid,
    .lp-record-grid, .lp-pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-analytics-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-charts-grid { grid-template-columns: 1fr; }
    .lp-footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .lp-overview-grid, .lp-features-grid, .lp-categories-grid,
    .lp-record-grid, .lp-pillars-grid, .lp-analytics-grid { grid-template-columns: 1fr; }
    .lp-hero-title { font-size: 2rem; }
    .lp-section { padding: 56px 20px; }
    .lp-case-mock-fields { grid-template-columns: 1fr 1fr; }
}
