/* landing.css — styles for index.html (landing page) */

/* ── Reset / base ───────────────────────────────────────────────────────────── */
/* landing page body scrolls — override main.css overflow:hidden */
body.landing-page {
    overflow-y: auto !important;
    overflow-x: hidden;
    min-height: 100vh;
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
}

/* ── Layout shell ───────────────────────────────────────────────────────────── */
.landing-wrap {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 12px 16px 24px;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-top: max(12px, env(safe-area-inset-top, 0px));
    padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: calc(100vh - 24px);
}

/* ── Compact Top Header & Action Buttons ────────────────────────────────────── */
.landing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0 8px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 8px;
    flex-wrap: nowrap;
}

.landing-header__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.landing-header__logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.landing-header__titles {
    display: flex;
    flex-direction: column;
}

.landing-header__title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    margin: 0;
}

.landing-header__subtitle {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.landing-header__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    flex: 1 1 auto;
    min-width: 0;
}

.landing-header__auth-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    min-width: 0;
}

.landing-header__nav-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.landing-btn-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 11px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.landing-btn-action--tree {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.25);
}

.landing-btn-action--tree:hover {
    background: #1d4ed8;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}

.landing-btn-action--route,
.landing-btn-action--about {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.landing-btn-action--route:hover,
.landing-btn-action--about:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

.landing-btn-action--login,
.landing-btn-action--logout {
    background: #ffffff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    cursor: pointer;
}

.landing-btn-action--login:hover,
.landing-btn-action--logout:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

.landing-user-badge {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    background: #f1f5f9;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Unified search ─────────────────────────────────────────────────────────── */
.landing-search-wrap {
    position: relative;
    margin-bottom: 12px;
}

.landing-search-field {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid #ccc;
    border-radius: 10px;
    padding: 0 14px;
    gap: 10px;
    transition: border-color 0.15s;
}

.landing-search-field:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.landing-search-field__icon {
    flex-shrink: 0;
    color: #aaa;
    pointer-events: none;
}

.landing-search-field__input {
    flex: 1;
    height: 46px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    color: #1a1a1a;
    -webkit-appearance: none;
}

.landing-search-field__input::placeholder {
    color: #aaa;
}

/* Typeahead dropdown ────────────────────────────────────────────────────────── */
.landing-search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 1000;
    overflow: hidden;
    max-height: 400px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.search-drop__section-label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}

.search-drop__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: none;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.1s;
}

.search-drop__item:last-child {
    border-bottom: none;
}

.search-drop__item:hover,
.search-drop__item:focus {
    background: #f5f7ff;
    outline: none;
}

.search-drop__item:active {
    background: #eef1ff;
}

/* Person avatar in dropdown */
.search-drop__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Uploaded photo covers the initials inside either avatar circle */
.search-drop__avatar,
.person-card__avatar {
    position: relative;
    overflow: hidden;
}

.avatar-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-drop__avatar--male    { background: #dbeafe; color: #1d4ed8; }
.search-drop__avatar--female  { background: #fce7f3; color: #be185d; }
.search-drop__avatar--neutral { background: #f0f0f0; color: #666; }

/* Place dot in dropdown */
.search-drop__place-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0fdf4;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.search-drop__place-dot::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #16a34a;
    border-radius: 50%;
}

.search-drop__text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.search-drop__name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-drop__sub {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Backdrop ────────────────────────────────────────────────────────────────── */
.sheet-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 199;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.sheet-backdrop.is-visible {
    display: block;
    opacity: 1;
}

/* ── People panel — base (shared) ────────────────────────────────────────────── */
.people-panel {
    position: fixed;
    z-index: 200;
    background: #fff;
    display: flex;
    flex-direction: column;
    /* Hidden state — translated off-screen */
    transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
    /* Mobile default: bottom sheet */
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 70vh;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.14);
    transform: translateY(100%);
    overflow: hidden;
}

.people-panel.is-open {
    transform: translateY(0);
}

/* Drag handle (mobile) */
.people-panel__handle {
    flex-shrink: 0;
    width: 40px;
    height: 4px;
    background: #d1d5db;
    border-radius: 2px;
    margin: 10px auto 6px;
}

.people-panel__header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px 12px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
    gap: 8px;
}

.people-panel__title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.people-panel__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    color: #888;
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    border-radius: 4px;
}

.people-panel__close:hover { color: #444; }

.people-panel__list {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 4px 0;
}

.people-panel__loading,
.people-panel__empty {
    padding: 28px 16px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

/* ── Desktop: right drawer ───────────────────────────────────────────────────── */
@media (min-width: 640px) {
    .people-panel {
        left: auto;
        top: 0;
        bottom: 0;
        right: 0;
        width: 360px;
        max-height: 100vh;
        border-radius: 0;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
        transform: translateX(100%);
    }

    .people-panel.is-open {
        transform: translateX(0);
    }

    /* Hide the mobile drag handle on desktop */
    .people-panel__handle {
        display: none;
    }
}

/* ── Person cards ───────────────────────────────────────────────────────────── */
.person-card {
    display: flex;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid #f2f2f2;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.12s;
    overflow: hidden;
}

.person-card:last-child { border-bottom: none; }

.person-card:hover  { background: #f8f8f8; }
.person-card:active { background: #f0f0f0; }

/* Left accent stripe — gender colour */
.person-card__accent {
    display: block;
    width: 4px;
    align-self: stretch;
    flex-shrink: 0;
    background: #ddd;
}

.person-card--male   .person-card__accent { background: #2563eb; }
.person-card--female .person-card__accent { background: #db2777; }

/* Avatar */
.person-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    margin: 10px 12px 10px 12px;
    background: #f0f0f0;
    color: #777;
}

.person-card__avatar--male    { background: #dbeafe; color: #1d4ed8; }
.person-card__avatar--female  { background: #fce7f3; color: #be185d; }
.person-card__avatar--neutral { background: #f0f0f0; color: #777; }

/* Card body */
.person-card__body {
    flex: 1;
    min-width: 0;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.person-card__name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.person-card__parentage {
    font-size: 12px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.person-card__location {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* Chevron arrow */
.person-card__arrow {
    color: #ccc;
    flex-shrink: 0;
    margin: 0 14px 0 8px;
}

/* ── Tabs ───────────────────────────────────────────────────────────────────── */
.landing-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 12px;
    padding-bottom: 2px;
}

.landing-tab {
    background: none;
    border: none;
    border-bottom: 2.5px solid transparent;
    margin-bottom: -3px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.landing-tab:hover {
    color: #0f172a;
}

.landing-tab.is-active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

/* Tab panel */
.landing-tab-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.landing-tab-panel[hidden] {
    display: none !important;
}

/* ── State accordion groups ─────────────────────────────────────────────────── */
.state-group {
    margin-bottom: 8px;
}

.state-group summary {
    list-style: none;
}

.state-group summary::-webkit-details-marker {
    display: none;
}

.state-group__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    transition: background 0.12s;
}

.state-group[open] > .state-group__header {
    border-radius: 8px 8px 0 0;
    border-bottom-color: #f0f0f0;
}

.state-group__header:hover {
    background: #fafafa;
}

.state-group__name {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    flex: 1;
}

.state-group__meta {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
}

.state-group__chevron {
    flex-shrink: 0;
    color: #aaa;
    transition: transform 0.2s;
}

.state-group[open] .state-group__chevron {
    transform: rotate(180deg);
}

/* Grid inside the accordion */
.state-group .location-grid {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 12px;
    margin-bottom: 0;
}

/* ── Location grid ──────────────────────────────────────────────────────────── */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    margin-bottom: 24px;
}

.location-tile {
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 8px 9px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.15s, background 0.12s;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.location-tile:hover,
.location-tile:focus-visible {
    border-color: #aaa;
    background: #fff;
    outline: none;
}

.location-tile:active {
    background: #efefef;
}

/* Active tile — panel is open for this location */
.location-tile.is-active {
    border-color: #2563eb;
    background: #eff6ff;
}

.location-tile__name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
}

.location-tile__count {
    font-size: 11px;
    color: #888;
}

/* Skeleton */
.location-tile--skeleton {
    pointer-events: none;
    background: #ebebeb;
    border-color: #ebebeb;
    animation: skeleton-pulse 1.4s ease-in-out infinite;
}

.location-tile--skeleton .location-tile__name,
.location-tile--skeleton .location-tile__count {
    background: #d8d8d8;
    border-radius: 4px;
    color: transparent;
    min-height: 12px;
}

.state-group--skeleton .state-group__header {
    pointer-events: none;
    animation: skeleton-pulse 1.4s ease-in-out infinite;
}

.state-group--skeleton .state-group__name,
.state-group--skeleton .state-group__meta {
    background: #d8d8d8;
    border-radius: 4px;
    color: transparent;
    min-height: 14px;
    min-width: 80px;
}

@keyframes skeleton-pulse {
    0%   { opacity: 1; }
    50%  { opacity: 0.5; }
    100% { opacity: 1; }
}

/* ── Error state ─────────────────────────────────────────────────────────────── */
.landing-error {
    padding: 20px 16px;
    text-align: center;
    color: #c00;
    font-size: 14px;
}

/* ── Map view ────────────────────────────────────────────────────────────────── */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
    flex: 1;
    display: flex;
    min-height: 480px;
    height: calc(100vh - 180px);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    position: relative;
}

#family-map {
    height: 100%;
    min-height: 480px;
    width: 100%;
    flex: 1;
}

/* Leaflet map layers control */
.leaflet-control-layers {
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12) !important;
    border: 1px solid #e5e7eb !important;
    font-family: inherit !important;
    font-size: 13px !important;
    padding: 8px 12px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(4px);
}

.leaflet-control-layers-base label,
.leaflet-control-layers-overlays label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    cursor: pointer;
    font-weight: 500;
}

.leaflet-control-layers-separator {
    margin: 6px 0 !important;
    border-top: 1px solid #e2e8f0 !important;
}

.leaflet-control-layers-overlays label:last-child {
    margin-bottom: 0;
}

/* Population Marker Styles */
.pop-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    border: 2px solid #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.pop-marker:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.45);
    z-index: 1000 !important;
}

.pop-marker--small {
    background: radial-gradient(circle, #3b82f6 0%, #1d4ed8 100%);
    font-size: 10px;
}

.pop-marker--medium {
    background: radial-gradient(circle, #f59e0b 0%, #d97706 100%);
    font-size: 11px;
}

.pop-marker--large {
    background: radial-gradient(circle, #ef4444 0%, #b91c1c 100%);
    font-size: 12px;
}

/* Population cluster custom styles */
.pop-cluster {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    border: 3px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 3px 10px rgba(0,0,0,0.35);
    transition: transform 0.2s ease;
}

.pop-cluster:hover {
    transform: scale(1.1);
}

.pop-cluster--tier1 {
    background: radial-gradient(circle, #2563eb, #1e40af);
}

.pop-cluster--tier2 {
    background: radial-gradient(circle, #d97706, #b45309);
}

.pop-cluster--tier3 {
    background: radial-gradient(circle, #dc2626, #991b1b);
}

/* Marriage Flow SVG & Curve Tooltips */
.marriage-flow-path {
    stroke-linecap: round;
    transition: stroke-width 0.2s ease, stroke 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
    pointer-events: stroke;
}

.marriage-flow-path:hover {
    stroke: #b91c1c !important;
    stroke-width: 5px !important;
    opacity: 1 !important;
}

.marriage-flow-arrow {
    fill: #ef4444;
    transition: fill 0.2s ease;
}

.marriage-flow-path:hover + .marriage-flow-arrow {
    fill: #b91c1c;
}

/* Self-loop marker */
.marriage-self-loop-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.15);
    border: 2px dashed #dc2626;
    animation: pulse-self-loop 2.5s infinite ease-in-out;
    pointer-events: none;
}

@keyframes pulse-self-loop {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.4;
    }
}

/* Marriage Flow Tooltip styling */
.marriage-flow-tooltip {
    background: #1f2937 !important;
    color: #f9fafb !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}

.marriage-flow-tooltip::before {
    border-top-color: #1f2937 !important;
}

/* Leaflet popup overrides */
.leaflet-popup-content-wrapper {
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.leaflet-popup-content {
    margin: 0;
    min-width: 140px;
}

.map-popup {
    padding: 10px 14px;
}

.map-popup__name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.map-popup__location-meta {
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 4px;
}

.map-popup__count {
    font-size: 12px;
    font-weight: 500;
    color: #2563eb;
    margin-bottom: 8px;
}

.map-popup__marriages {
    font-size: 11px;
    color: #dc2626;
    margin-bottom: 8px;
    background: #fee2e2;
    padding: 3px 6px;
    border-radius: 4px;
    display: inline-block;
}

.map-popup__btn {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: #2563eb;
    border: none;
    border-radius: 6px;
    padding: 5px 12px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.map-popup__btn:hover  { background: #1d4ed8; }
.map-popup__btn:active { background: #1e40af; }

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 580px) {
    .landing-wrap {
        padding: 10px 12px 18px;
    }

    .landing-header {
        flex-wrap: nowrap;
        gap: 6px;
        padding-bottom: 8px;
        align-items: flex-start;
    }

    .landing-header__brand {
        flex: 0 0 auto;
    }

    .landing-header__actions {
        gap: 4px;
        align-items: flex-end;
    }

    .landing-btn-action {
        padding: 6px 10px;
        font-size: 12px;
    }

    .location-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 6px;
    }

    .map-container {
        min-height: 400px;
        height: calc(100vh - 210px);
    }

    #family-map {
        min-height: 400px;
    }

    .landing-tab {
        padding: 8px 12px;
        font-size: 13px;
    }
}

@media (min-width: 600px) {
    /* On wider screens, open all state groups by default via the details[open] attribute
       set in JS (idx === 0 only). Users can close them manually. */
    .state-group {
        /* Nothing — JS controls open state */
    }
}

/* ── Landing Footer ──────────────────────────────────────────────────────────── */
.landing-footer {
    margin-top: auto;
    padding-top: 24px;
    padding-bottom: 8px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.landing-footer__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 12px;
    font-size: 13px;
}

.landing-footer__link {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.landing-footer__link:hover {
    color: #2563eb;
    text-decoration: underline;
}

.landing-footer__link--highlight {
    color: #2563eb;
    font-weight: 600;
}

.landing-footer__sep {
    color: #cbd5e1;
    font-size: 12px;
}

.landing-footer__copyright {
    font-size: 11.5px;
    color: #94a3b8;
}
