.landing-page {
    --nisr-deep-blue: #2D51A1;
    --nisr-light-blue: #33A7DF;
    --nisr-green: #4BA847;
    --nisr-yellow: #EEE808;
    --nisr-orange: #F68D32;
    --nisr-sky-blue: #B2E6FA;
    --nisr-dark-grey: #383838;
    --nisr-black: #000000;
    --portal-navy: var(--nisr-deep-blue);
    --portal-navy-deep: #223f86;
    --portal-blue: var(--nisr-deep-blue);
    --portal-cyan: var(--nisr-light-blue);
    --portal-cyan-soft: #eefaff;
    --portal-rose: var(--nisr-orange);
    --portal-rose-soft: #fff4eb;
    --portal-ink: #10243f;
    --portal-muted: #64748b;
    --portal-soft: #f4f7fb;
    --portal-soft-2: #e9f1f8;
    --portal-line: #cfdeeb;
    --portal-card: #ffffff;
    --portal-radius: 14px;
    --portal-radius-lg: 20px;
    --portal-shadow: 0 1px 2px rgba(9, 35, 67, 0.05), 0 12px 32px rgba(9, 35, 67, 0.08);
    --portal-shadow-lift: 0 2px 4px rgba(9, 35, 67, 0.06), 0 22px 48px rgba(9, 35, 67, 0.14);
    --portal-ease: cubic-bezier(0.22, 0.9, 0.3, 1);
    background: var(--portal-soft);
    color: var(--portal-ink);
}

.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;
}

.landing-page a,
.landing-page button,
.landing-page input,
.landing-page textarea {
    font: inherit;
}

.landing-page :focus-visible {
    outline: 3px solid rgba(51, 167, 223, 0.42);
    outline-offset: 3px;
}

.hero-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(52rem 30rem at 108% -12%, rgba(51, 167, 223, 0.16), transparent 60%),
        radial-gradient(40rem 26rem at -14% 118%, rgba(75, 168, 71, 0.10), transparent 58%),
        radial-gradient(30rem 22rem at 88% 96%, rgba(45, 81, 161, 0.10), transparent 62%),
        linear-gradient(90deg, rgba(45, 81, 161, 0.045) 0 1px, transparent 1px 100%) 0 0 / 48px 48px,
        linear-gradient(180deg, #ffffff 0%, #ffffff 60%, #f3f8fc 100%);
    border-bottom: 1px solid var(--portal-line);
    min-height: calc(100svh - var(--header-height, 0px));
    padding: clamp(2.75rem, 5vw, 4.4rem) 0 clamp(3.4rem, 5.5vw, 4.6rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--nisr-deep-blue) 0%, var(--nisr-light-blue) 45%, var(--nisr-green) 72%, var(--nisr-yellow) 100%);
}

.hero-shell {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: minmax(30rem, 1fr) minmax(26rem, 0.9fr);
    gap: clamp(3.4rem, 6.5vw, 5.6rem);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 37rem;
    min-width: 0;
}

.hero-title {
    margin: 0 0 1.18rem;
    color: var(--portal-ink);
    display: grid;
    gap: 0.42rem;
    font-weight: 700;
    line-height: 1;
}

.hero-title-intro {
    font-size: clamp(2.45rem, 3.9vw, 3.95rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.hero-title-intro {
    color: var(--portal-navy);
    white-space: nowrap;
}

.hero-title-brand {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    gap: 0.04em;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    min-height: 1.04em;
    color: var(--nisr-deep-blue);
    font-size: clamp(2.55rem, 3.55vw, 3.65rem);
    line-height: 1.04;
    letter-spacing: 0;
    white-space: normal;
    isolation: isolate;
}

.hero-title-brand-text {
    display: inline-block;
    min-width: 0;
    max-width: 100%;
    background: linear-gradient(90deg, var(--nisr-deep-blue), var(--nisr-light-blue), var(--nisr-sky-blue), var(--nisr-deep-blue));
    background-size: 240% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: var(--nisr-deep-blue);
    overflow-wrap: normal;
    animation: heroBrandSweep 9s ease-in-out infinite;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
    .hero-title-brand-text {
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

.hero-title-brand::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.12em;
    height: 0.08em;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--nisr-deep-blue), var(--nisr-light-blue), var(--nisr-sky-blue));
    box-shadow: 0 10px 24px rgba(45, 81, 161, 0.2);
    transform-origin: left center;
    animation: heroUnderlinePulse 4.8s ease-in-out infinite;
}

.hero-title-signal {
    display: inline-flex;
    align-items: center;
    width: min(100%, 25.5rem);
    max-width: 100%;
    min-height: 2.05rem;
    margin-top: 0.45rem;
    padding: 0.48rem 0.82rem;
    border: 1px solid rgba(51, 167, 223, 0.28);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(178, 230, 250, 0.48), rgba(51, 167, 223, 0.1), rgba(45, 81, 161, 0.08));
    color: var(--nisr-deep-blue);
    box-shadow: 0 12px 26px rgba(45, 81, 161, 0.12);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.25;
    white-space: normal;
    transition: opacity 180ms ease, transform 180ms ease;
}

.hero-title-signal::before {
    content: "";
    width: 0.56rem;
    height: 0.56rem;
    margin-right: 0.5rem;
    border-radius: 999px;
    background: var(--nisr-light-blue);
    box-shadow: 0 0 0 5px rgba(51, 167, 223, 0.14);
}

.hero-title-signal::after {
    content: "";
    width: 2px;
    height: 1em;
    margin-left: 0.34rem;
    border-radius: 999px;
    background: var(--nisr-light-blue);
    animation: heroCaretBlink 900ms steps(2, end) infinite;
}

@keyframes heroBrandSweep {
    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes heroUnderlinePulse {
    0%,
    100% {
        transform: scaleX(0.84);
        opacity: 0.82;
    }

    50% {
        transform: scaleX(1);
        opacity: 1;
    }
}

@keyframes heroCaretBlink {
    0%,
    45% {
        opacity: 1;
    }

    46%,
    100% {
        opacity: 0.22;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-title-brand-text,
    .hero-title-brand::after,
    .hero-title-signal::after {
        animation: none;
    }

    .hero-title-signal {
        transition: none;
    }
}

.hero-desc {
    margin: 0 0 1.35rem;
    max-width: 35.5rem;
    color: var(--portal-muted);
    font-size: clamp(0.98rem, 1.16vw, 1.08rem);
    line-height: 1.6;
    font-weight: 400;
}

.hero-search-panel {
    width: min(100%, 36rem);
    display: grid;
    justify-items: start;
    gap: 0.62rem;
    padding-bottom: 0;
}

.hero-count {
    width: fit-content;
    margin: 0 0 0 1.05rem;
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    min-height: 2.15rem;
    padding: 0.38rem 0.72rem;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eaf6ff;
    box-shadow: 0 10px 22px rgba(15, 76, 129, 0.10);
}

.count-num {
    color: var(--portal-navy);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.count-label {
    color: var(--portal-navy);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
}

.search-bar {
    width: 100%;
    position: relative;
    display: flex;
    align-items: stretch;
    border-radius: var(--portal-radius);
    box-shadow: 0 16px 34px rgba(15, 76, 129, 0.14);
}

.search-wrap {
    flex: 1;
    min-width: 0;
    border: 1px solid #b4cce0;
    border-right: 0;
    border-radius: var(--portal-radius) 0 0 var(--portal-radius);
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.92rem 1rem;
    min-height: 3.65rem;
}

.search-wrap:focus-within {
    border-color: var(--portal-cyan);
    box-shadow: inset 0 0 0 1px var(--portal-cyan);
}

.search-icon {
    color: var(--portal-cyan);
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 auto;
}

.search-wrap input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--portal-ink);
    font-size: 1rem;
    font-weight: 500;
}

.search-wrap input::placeholder {
    color: #64748b;
    opacity: 0.86;
}

.search-bar button {
    border: 1px solid transparent;
    border-radius: 0 var(--portal-radius) var(--portal-radius) 0;
    min-width: 9.4rem;
    padding: 0 1.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--portal-navy), var(--portal-navy-deep));
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s var(--portal-ease), box-shadow 0.2s var(--portal-ease), background-color 0.2s ease;
}

.search-bar button:hover,
.search-bar button:focus-visible {
    background: linear-gradient(135deg, #3459ad, var(--portal-navy-deep));
    box-shadow: 0 12px 24px rgba(45, 81, 161, 0.3);
    transform: translateY(-1px);
}

.hero-visual {
    min-width: 0;
    display: flex;
    justify-content: flex-start;
}

.stat-card {
    width: min(100%, 31.5rem);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(168, 193, 216, 0.55);
    border-radius: var(--portal-radius-lg);
    box-shadow:
        0 1px 2px rgba(15, 76, 129, 0.06),
        0 24px 60px rgba(15, 76, 129, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.92) inset;
    transition: transform 0.35s var(--portal-ease), box-shadow 0.35s var(--portal-ease);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 2px 4px rgba(15, 76, 129, 0.07),
        0 34px 74px rgba(15, 76, 129, 0.18),
        0 1px 0 rgba(255, 255, 255, 0.92) inset;
}

.stat-card-banner {
    padding: 0.62rem 1rem;
    background: var(--portal-navy);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.35;
}

.stat-card h2 {
    margin: 0;
    padding: 1rem 1.18rem 0.82rem;
    color: #0f172a;
    font-size: clamp(1.28rem, 1.8vw, 1.72rem);
    line-height: 1.2;
    font-weight: 700;
    border-bottom: 1px solid var(--portal-line);
}

.gender-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 1px solid var(--portal-line);
}

.gender-item {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.95rem;
    align-items: center;
    min-width: 0;
    padding: 1.08rem 1.18rem;
    background: #ffffff;
}

.gender-item + .gender-item {
    border-left: 1px solid var(--portal-line);
}

.gender-icon {
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.gender-icon svg {
    width: 1.78rem;
    height: 1.78rem;
    display: block;
}

.gender-icon--male {
    background: #e0f2fe;
    color: var(--portal-blue);
}

.gender-icon--male svg {
    fill: var(--portal-blue);
}

.gender-icon--female {
    background: var(--portal-rose-soft);
    color: var(--portal-rose);
}

.gender-icon--female svg {
    fill: var(--portal-rose);
}

.gender-metric-copy {
    min-width: 0;
}

.pct {
    margin: 0;
    color: var(--portal-navy);
    font-size: clamp(1.9rem, 2.75vw, 2.72rem);
    line-height: 1;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.gender-label {
    margin: 0.22rem 0 0;
    color: var(--portal-muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: clamp(1.15rem, 2.4vw, 1.65rem);
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.35rem;
    height: 2.35rem;
    margin: 0;
    border: 1px solid #b7d4e9;
    border-radius: 999px;
    color: var(--portal-cyan);
    background: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    line-height: 1;
    box-shadow: 0 10px 20px rgba(9, 35, 67, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 2;
}

.scroll-cue svg {
    width: 1.05rem;
    height: 1.05rem;
}

.scroll-cue:hover,
.scroll-cue:focus-visible {
    transform: translateX(-50%) translateY(2px);
    box-shadow: 0 12px 24px rgba(9, 35, 67, 0.12);
}

.content-section {
    color: var(--portal-ink);
    background: #ffffff;
    padding: clamp(3.5rem, 7vw, 5.6rem) 0;
    border-bottom: 1px solid var(--portal-line);
}

.section-light:nth-of-type(even) {
    background: var(--portal-soft);
}

.section-shell {
    width: min(100%, 1380px);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.section-copy {
    min-width: 0;
}

.section-title {
    margin: 0 0 1rem;
    color: var(--portal-navy);
    font-size: clamp(2.15rem, 4vw, 3.85rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: 0;
}

.section-title span {
    color: var(--portal-cyan);
}

.section-desc {
    margin: 0;
    max-width: 40rem;
    color: var(--portal-muted);
    font-size: 1.04rem;
    line-height: 1.62;
}

.section-eyebrow {
    margin: 0 0 0.62rem;
    color: var(--portal-blue);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#indicators {
    background: #f8fafc;
}

.indicator-snapshot-layout {
    width: min(100%, 1280px);
    grid-template-columns: minmax(0, 5fr) minmax(34rem, 7fr);
    gap: clamp(2.5rem, 4.7vw, 4rem);
    align-items: start;
}

.indicator-snapshot-copy {
    max-width: 32rem;
}

.indicator-snapshot-copy .section-eyebrow {
    margin: 0 0 0.55rem;
    color: var(--portal-cyan);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    line-height: 1.2;
    text-transform: uppercase;
}

.indicator-snapshot-copy .section-title {
    margin-bottom: 1rem;
    color: var(--portal-navy);
    font-size: clamp(2.65rem, 4vw, 4.15rem);
    line-height: 1.06;
}

.indicator-snapshot-copy .section-title span {
    color: var(--portal-cyan);
}

.indicator-snapshot-copy .section-desc {
    max-width: 28rem;
    font-size: 1rem;
    line-height: 1.65;
}

.indicator-summary-grid {
    width: min(100%, 28rem);
    margin-top: 1.45rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
}

.indicator-summary-card {
    min-height: 5.25rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(203, 213, 225, 0.82);
    border-radius: var(--portal-radius);
    background: #ffffff;
    box-shadow: var(--portal-shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.25s var(--portal-ease), box-shadow 0.25s var(--portal-ease), border-color 0.25s ease;
}

.indicator-summary-card:hover {
    transform: translateY(-2px);
    border-color: rgba(51, 167, 223, 0.45);
    box-shadow: var(--portal-shadow-lift);
}

.indicator-summary-card strong {
    display: block;
    color: var(--portal-navy);
    font-size: 1.9rem;
    line-height: 1;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.indicator-summary-card span {
    display: block;
    margin-top: 0.4rem;
    color: var(--portal-muted);
    font-size: 0.78rem;
    line-height: 1.35;
    font-weight: 600;
}

.indicator-snapshot-copy .section-actions {
    margin-top: 1rem;
    gap: 0.95rem;
}

.section-actions {
    margin-top: 1.45rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.section-action {
    min-height: 2.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 0 1.2rem;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s var(--portal-ease), box-shadow 0.2s var(--portal-ease), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.section-action--primary {
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--portal-navy), var(--portal-navy-deep));
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(45, 81, 161, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.section-action--secondary {
    border: 1px solid #bdd3e5;
    background: #ffffff;
    color: var(--portal-navy);
}

.section-action:hover,
.section-action:focus-visible {
    transform: translateY(-2px);
}

.section-action--primary:hover,
.section-action--primary:focus-visible {
    background: linear-gradient(135deg, #3459ad, var(--portal-navy-deep));
    box-shadow: 0 16px 32px rgba(45, 81, 161, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.section-action--secondary:hover,
.section-action--secondary:focus-visible {
    border-color: var(--portal-cyan);
    background: var(--portal-cyan-soft);
    box-shadow: 0 8px 18px rgba(51, 167, 223, 0.16);
}

.section-action:active {
    transform: translateY(0);
}

.indicator-preview {
    min-width: 0;
}

.indicator-card,
.chat-board,
.dashboard-preview,
.feedback-shell {
    border: 1px solid var(--portal-line);
    border-radius: var(--portal-radius-lg);
    background: #ffffff;
    box-shadow: var(--portal-shadow);
    transition: transform 0.3s var(--portal-ease), box-shadow 0.3s var(--portal-ease);
}

.indicator-card:hover,
.chat-board:hover,
.dashboard-preview:hover {
    box-shadow: var(--portal-shadow-lift);
}

.indicator-snapshot-panel {
    overflow: hidden;
    border-color: rgba(203, 213, 225, 0.9);
    box-shadow:
        0 24px 56px rgba(15, 23, 42, 0.08),
        0 10px 24px rgba(15, 76, 129, 0.05);
}

.indicator-snapshot-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.28rem 1.5rem;
    background: #ffffff;
    border-bottom: 1px solid #eef2f7;
}

.indicator-snapshot-head .section-eyebrow {
    margin-bottom: 0.3rem;
}

.indicator-snapshot-head h3 {
    margin: 0;
    color: #1e293b;
    font-size: 1.16rem;
    line-height: 1.25;
}

.indicator-snapshot-head a {
    min-height: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
    color: var(--portal-cyan);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.indicator-snapshot-head a svg {
    width: 0.72rem;
    height: 0.72rem;
}

.indicator-snapshot-head a:hover,
.indicator-snapshot-head a:focus-visible {
    color: var(--portal-cyan);
    text-decoration: underline;
}

.sector-preview-grid {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    background: rgba(248, 250, 252, 0.62);
    border-bottom: 1px solid #eef2f7;
}

.sector-summary-card {
    min-height: 6.5rem;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.28rem;
    border: 1px solid rgba(203, 213, 225, 0.72);
    border-radius: var(--portal-radius);
    background: #ffffff;
    padding: 1rem 0.85rem;
    color: var(--portal-ink);
    text-decoration: none;
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.sector-summary-card:hover,
.sector-summary-card:focus-visible {
    border-color: rgba(0, 129, 204, 0.42);
    box-shadow: 0 14px 24px rgba(15, 76, 129, 0.08);
    transform: translateY(-2px);
}

.sector-summary-card span {
    color: #1e293b;
    font-size: 0.72rem;
    line-height: 1.28;
    font-weight: 700;
    max-width: 10rem;
}

.sector-summary-card strong {
    color: var(--portal-navy);
    font-size: 1.55rem;
    line-height: 1;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.sector-summary-card small {
    color: var(--portal-muted);
    font-size: 0.68rem;
    font-weight: 500;
}

.indicator-search {
    min-height: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--portal-cyan);
    background: #ffffff;
    border-bottom: 0;
    padding: 1.35rem 1.5rem 0.35rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.075em;
    line-height: 1.35;
    text-transform: uppercase;
}

.indicator-search-icon {
    width: 0.88rem;
    height: 0.88rem;
    color: currentColor;
    flex: 0 0 auto;
}

.indicator-list {
    padding: 0 1.5rem 1.35rem;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.indicator-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 4rem;
    gap: 1rem;
    align-items: center;
    min-height: 4.75rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.indicator-item:last-child {
    border-bottom: 0;
}

.indicator-item-body {
    min-width: 0;
}

.indicator-item h3 {
    margin: 0 0 0.35rem;
    color: #1e293b;
    font-size: 0.88rem;
    line-height: 1.34;
    font-weight: 700;
}

.indicator-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.85rem;
}

.indicator-meta span {
    color: #64748b;
    font-size: 0.7rem;
    line-height: 1.45;
    font-weight: 500;
}

.indicator-meta strong {
    color: #64748b;
    font-weight: 700;
}

.indicator-sparkline {
    width: 4rem;
    height: 2.5rem;
    display: block;
    flex: 0 0 auto;
    padding: 0.28rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #f8fafc;
    color: var(--portal-blue);
}

.sparkline-area {
    fill: currentColor;
    opacity: 0.1;
}

.sparkline-stroke {
    stroke: currentColor;
    stroke-width: 2.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sparkline-dot {
    fill: currentColor;
    stroke: #ffffff;
    stroke-width: 2;
}

.indicator-sparkline--2 {
    color: var(--portal-cyan);
}

.indicator-sparkline--3 {
    color: var(--portal-rose);
}

.indicator-sparkline--4 {
    color: #2563eb;
}

.ask-layout,
.dashboard-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.ask-input {
    width: min(100%, 34rem);
    margin-top: 1.9rem;
    border: 1px solid #b9cfe3;
    border-radius: var(--portal-radius);
    background: #ffffff;
    min-height: 3.35rem;
    display: flex;
    align-items: stretch;
    box-shadow: 0 12px 26px rgba(9, 35, 67, 0.08);
}

.ask-input:focus-within {
    border-color: var(--portal-cyan);
    box-shadow: 0 0 0 3px rgba(11, 145, 208, 0.12);
}

.ask-input input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--portal-ink);
    padding: 0 1rem;
    font-size: 1rem;
}

.ask-input input::placeholder {
    color: #75879a;
}

.ask-input button {
    width: 3.35rem;
    border: 0;
    border-left: 1px solid #d7e3ee;
    background: var(--portal-navy);
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
}

.ask-preview {
    min-width: 0;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 12rem;
    gap: 1rem;
    align-items: end;
}

.chat-board {
    overflow: hidden;
    min-height: 25rem;
}

.chat-board::before {
    content: "Ask Me response preview";
    display: block;
    padding: 0.72rem 0.95rem;
    background: #f3f7fb;
    border-bottom: 1px solid var(--portal-line);
    color: var(--portal-navy);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.chat-bubble {
    width: fit-content;
    max-width: calc(100% - 1.6rem);
    margin: 1rem 0.95rem 0.75rem auto;
    background: var(--portal-navy);
    color: #ffffff;
    border-radius: 8px;
    padding: 0.58rem 0.78rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.chat-board p {
    margin: 0 0.95rem 0.9rem;
    color: #35465b;
    font-size: 0.85rem;
    line-height: 1.55;
}

.chat-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
    margin: 0 0.95rem;
}

.chat-highlight {
    display: grid;
    gap: 0.2rem;
    padding: 0.7rem 0.75rem;
    border: 1px solid #e4edf5;
    border-radius: 12px;
    background: #f7fafc;
}

.chat-highlight strong {
    color: var(--portal-navy);
    font-size: 1.18rem;
    line-height: 1;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.chat-highlight-year {
    color: var(--portal-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.chat-highlight--delta {
    border-color: rgba(75, 168, 71, 0.35);
    background: rgba(75, 168, 71, 0.08);
}

.chat-highlight--delta strong {
    color: var(--nisr-green);
}

.chat-input-bar {
    margin: 0.95rem;
    min-height: 2.6rem;
    border: 1px solid #d5e3ef;
    border-radius: var(--portal-radius);
    display: flex;
    align-items: center;
    padding: 0 0.85rem;
    color: #72869d;
    font-size: 0.8rem;
    background: #f8fbfd;
}

.mini-chart-card {
    min-height: 13.2rem;
    border: 1px solid var(--portal-line);
    border-radius: var(--portal-radius);
    background: #ffffff;
    box-shadow: 0 16px 32px rgba(9, 35, 67, 0.1);
    padding: 2.1rem 0.85rem 0.9rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.45rem;
    position: relative;
}

.mini-chart-card::before {
    content: "Trend";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    min-height: 1.65rem;
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    background: #f3f7fb;
    border-bottom: 1px solid var(--portal-line);
    color: var(--portal-navy);
    font-size: 0.72rem;
    font-weight: 700;
}

.mini-chart-card .bar {
    width: 1.25rem;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(to top, var(--portal-blue) 0 56%, var(--portal-cyan) 56% 100%);
}

.mini-chart-card .bar:nth-child(1) {
    height: 7.4rem;
}

.mini-chart-card .bar:nth-child(2) {
    height: 8.2rem;
}

.mini-chart-card .bar:nth-child(3) {
    height: 7.8rem;
}

.mini-chart-card .bar:nth-child(4) {
    height: 9rem;
}

.mini-chart-card .bar:nth-child(5) {
    height: 8.6rem;
}

#dashboard .dashboard-preview {
    width: 100%;
    overflow: hidden;
}

.dashboard-snapshot-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
    padding: 1rem 1.1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
    border-bottom: 1px solid var(--portal-line);
}

.dashboard-snapshot-head .section-eyebrow {
    margin-bottom: 0.3rem;
}

.dashboard-snapshot-head h3 {
    margin: 0;
    color: var(--portal-ink);
    font-size: 1.18rem;
    line-height: 1.25;
}

.dashboard-snapshot-head a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    color: var(--portal-navy);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.dashboard-snapshot-head a:hover,
.dashboard-snapshot-head a:focus-visible {
    color: var(--portal-cyan);
    text-decoration: underline;
}

.dashboard-snapshot-stats {
    padding: 1rem 1.1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    background: #fbfdff;
    border-bottom: 1px solid var(--portal-line);
}

.dashboard-snapshot-stat {
    min-height: 5.35rem;
    padding: 0.78rem;
    border: 1px solid #d2e0ec;
    border-radius: var(--portal-radius);
    background: #ffffff;
}

.dashboard-snapshot-stat strong {
    display: block;
    color: var(--portal-navy);
    font-size: 1.45rem;
    line-height: 1;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.dashboard-snapshot-stat span {
    display: block;
    margin-top: 0.55rem;
    color: var(--portal-muted);
    font-size: 0.76rem;
    line-height: 1.35;
    font-weight: 700;
}

.dashboard-featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.48fr);
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--portal-line);
}

.dashboard-featured-card .section-eyebrow {
    margin-bottom: 0.35rem;
}

.dashboard-featured-card h4 {
    margin: 0 0 0.4rem;
    color: var(--portal-ink);
    font-size: 1.02rem;
    line-height: 1.28;
}

.dashboard-featured-card p,
.dashboard-featured-card small {
    margin: 0 0 0.3rem;
    color: var(--portal-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.dashboard-chart-preview {
    min-height: 10.5rem;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 0.55rem;
    padding: 1rem 1rem 0;
    border: 1px solid #d2e0ec;
    border-radius: var(--portal-radius);
    background:
        linear-gradient(#eef4f9 1px, transparent 1px) 0 0 / 100% 25%,
        linear-gradient(90deg, #eef4f9 1px, transparent 1px) 0 0 / 20% 100%,
        #ffffff;
}

.dashboard-chart-preview span {
    width: 1.35rem;
    min-height: 1.4rem;
    border-radius: 4px 4px 0 0;
    background: var(--portal-blue);
}

.dashboard-chart-preview span:nth-child(even),
.dashboard-chart-preview .is-cyan {
    background: var(--portal-cyan);
}

.dashboard-chart-preview .is-navy {
    background: var(--portal-blue);
}

/* Neutral "no data" bars (home.js renderDashboardBars fallback) — must beat the
   :nth-child(even) cyan rule, hence the span.is-empty specificity. */
.dashboard-chart-preview span.is-empty,
.dashboard-chart-preview span.is-empty:nth-child(even) {
    background: #dbe4ee;
}

.dashboard-table-preview {
    padding: 0.1rem 1.1rem 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.dashboard-table-preview div {
    min-height: 3.6rem;
    padding: 0.7rem 0.78rem;
    border: 1px solid #d2e0ec;
    border-radius: var(--portal-radius);
    background: #ffffff;
}

.dashboard-table-preview strong,
.dashboard-table-preview span {
    display: block;
}

.dashboard-table-preview strong {
    color: var(--portal-navy);
    font-size: 0.72rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dashboard-table-preview span {
    margin-top: 0.3rem;
    color: var(--portal-muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.section-dots {
    display: flex;
    justify-content: center;
    margin-top: 2.2rem;
    gap: 0.45rem;
}

.section-dots span {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--portal-cyan);
    opacity: 0.28;
}

.section-dots span:nth-child(2) {
    opacity: 1;
}

.feedback-section {
    background: #ffffff;
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    border-bottom: 1px solid var(--portal-line);
}

.feedback-shell {
    width: min(100% - 2.5rem, 58rem);
    margin: 0 auto;
    padding: clamp(1.4rem, 3vw, 2.4rem);
}

.feedback-shell h2 {
    margin: 0 0 0.55rem;
    color: var(--portal-navy);
    font-size: clamp(2rem, 3.3vw, 3rem);
    line-height: 1.12;
    text-align: center;
}

.feedback-shell p {
    margin: 0 auto 1.5rem;
    max-width: 43rem;
    text-align: center;
    color: var(--portal-muted);
    font-size: 1rem;
    line-height: 1.58;
}

.feedback-shell form {
    display: grid;
    grid-template-columns: 10rem minmax(0, 1fr);
    gap: 1rem 1.1rem;
    padding: clamp(1.4rem, 3vw, 2.2rem);
    border: 1px solid #d7e4ef;
    border-radius: var(--portal-radius-lg);
    background: #ffffff;
    box-shadow: var(--portal-shadow);
}

.feedback-shell label {
    align-self: center;
    color: var(--portal-navy);
    font-size: 0.93rem;
    font-weight: 700;
}

.feedback-shell input,
.feedback-shell textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid #c7d8e7;
    border-radius: 10px;
    background: #f8fbfd;
    color: var(--portal-ink);
    font-size: 0.95rem;
    min-height: 2.9rem;
    padding: 0.7rem 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.feedback-shell textarea {
    resize: vertical;
    min-height: 8.4rem;
}

.feedback-shell input:hover,
.feedback-shell textarea:hover {
    border-color: #9cc4e1;
    background: #ffffff;
}

.feedback-shell input:focus,
.feedback-shell textarea:focus {
    outline: none;
    border-color: var(--portal-cyan);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(51, 167, 223, 0.16);
}

.feedback-shell button {
    grid-column: 2;
    justify-self: start;
    min-height: 2.95rem;
    padding: 0 1.4rem;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--portal-navy), var(--portal-navy-deep));
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(45, 81, 161, 0.26);
    transition: transform 0.2s var(--portal-ease), box-shadow 0.2s var(--portal-ease), background-color 0.2s ease;
}

.feedback-shell button:hover,
.feedback-shell button:focus-visible {
    background: linear-gradient(135deg, #3459ad, var(--portal-navy-deep));
    box-shadow: 0 16px 30px rgba(45, 81, 161, 0.34);
    transform: translateY(-2px);
}

.feedback-shell button:active {
    transform: translateY(0);
}

.partners-footer {
    background: var(--portal-navy);
}

.partners-strip {
    width: 100%;
    margin: 0;
    padding: clamp(2.6rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem) clamp(2.6rem, 4.6vw, 3.7rem);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0)),
        #eaf2f8;
}

.partners-head {
    max-width: 50rem;
    margin: 0 auto;
    text-align: center;
}

.partners-eyebrow {
    margin: 0 0 0.6rem;
    color: var(--portal-cyan);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.partners-strip h3 {
    margin: 0;
    color: var(--portal-navy);
    font-size: clamp(1.8rem, 2.8vw, 2.75rem);
    line-height: 1.12;
    font-weight: 700;
}

.partners-intro {
    margin: 0.85rem auto 0;
    max-width: 43rem;
    color: var(--portal-muted);
    font-size: 0.98rem;
    line-height: 1.58;
}

.partners-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #9cc4e1, transparent);
    margin: 1.55rem auto 1.7rem;
    max-width: 38rem;
}

.partners-grid {
    width: min(100%, 58rem);
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.partner-card {
    min-width: 0;
    min-height: 8.4rem;
    border: 1px solid #d3e2ef;
    border-radius: var(--portal-radius);
    background: #ffffff;
    box-shadow: var(--portal-shadow);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s var(--portal-ease), box-shadow 0.3s var(--portal-ease);
}

.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--portal-shadow-lift);
}

.partner-card--nisr {
    background: var(--portal-navy);
    border-color: var(--portal-navy);
}

.partner-card--gmo {
    background: #fdfefe;
}

.partners-logo-link {
    width: 100%;
    min-height: 6.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: calc(var(--portal-radius) - 2px);
}

.partners-logo-link:hover,
.partners-logo-link:focus-visible {
    outline: 3px solid rgba(20, 151, 209, 0.34);
    outline-offset: 4px;
}

.partners-logo {
    width: auto;
    max-width: 100%;
    max-height: 3.65rem;
    object-fit: contain;
}

.partners-logo--nisr {
    max-width: min(100%, 16.5rem);
    max-height: 4.75rem;
}

.partners-logo--paris {
    max-height: 3.85rem;
}

.partners-logo--gmo {
    max-height: 4.3rem;
}

.footer-main {
    width: min(100%, 1380px);
    margin: 0 auto;
    color: #ffffff;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 4rem);
    padding: 3rem clamp(1.25rem, 4vw, 3rem) 2.6rem;
}

.footer-main h4 {
    margin: 0 0 0.85rem;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
}

.footer-main a {
    display: flex;
    min-height: 2.75rem;
    min-width: 2.75rem;
    align-items: center;
    width: fit-content;
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.35;
}

.footer-main a:hover,
.footer-main a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    background: var(--portal-navy);
    color: rgba(255, 255, 255, 0.84);
    text-align: center;
    padding: 1.05rem 1rem;
    font-size: 0.9rem;
    line-height: 1.45;
}

@media (max-width: 1180px) {
    .hero-shell,
    .section-shell {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .hero-desc {
        max-width: 48rem;
    }

    .stat-card {
        margin-left: 0;
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .indicator-preview {
        max-width: 58rem;
    }
}

@media (min-width: 901px) and (max-width: 1180px) {
    .indicator-snapshot-layout {
        grid-template-columns: minmax(22rem, 0.82fr) minmax(30rem, 1.18fr);
    }

    .indicator-snapshot-copy {
        max-width: 32rem;
    }
}

@media (max-width: 900px) {
    .hero-section {
        padding-top: 2.35rem;
        padding-bottom: 4.5rem;
    }

    .hero-title-intro,
    .hero-title-brand {
        font-size: clamp(2.2rem, 9vw, 3.55rem);
    }

    .hero-title-signal {
        min-height: 1.9rem;
        font-size: 0.82rem;
    }

    .gender-row,
    .indicator-preview,
    .ask-preview,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .gender-item + .gender-item {
        border-left: 0;
        border-top: 1px solid var(--portal-line);
    }

    .ask-preview {
        align-items: stretch;
    }

    .mini-chart-card {
        min-height: 10rem;
    }

    .indicator-summary-grid {
        max-width: 100%;
    }

    .sector-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-featured-card {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    html,
    body,
    main,
    .landing-page {
        max-width: 100%;
        overflow-x: hidden;
    }

    .landing-page *,
    .landing-page *::before,
    .landing-page *::after {
        box-sizing: border-box;
    }

    .hero-shell,
    .section-shell,
    .section-copy,
    .section-title,
    .section-desc,
    .indicator-preview,
    .indicator-snapshot-panel,
    .dashboard-snapshot-panel,
    .ask-layout,
    .ask-input,
    .ask-preview,
    .chat-board,
    .mini-chart-card,
    .partners-strip,
    .partners-grid {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .hero-section,
    .content-section,
    .feedback-section {
        padding-top: 1.95rem;
        padding-bottom: 2rem;
    }

    .hero-shell,
    .section-shell {
        padding-left: 1rem;
        padding-right: 1rem;
        gap: 1.25rem;
    }

    .hero-desc,
    .section-desc {
        font-size: 0.92rem;
        line-height: 1.48;
    }

    .hero-title {
        margin-bottom: 0.72rem;
    }

    .hero-title-intro,
    .hero-title-brand {
        font-size: clamp(2rem, 10.8vw, 2.45rem);
        line-height: 1.04;
    }

    .hero-title-brand {
        gap: 0.08em 0.18em;
        max-width: 100%;
        min-width: 0;
        white-space: normal;
    }

    .hero-title-signal {
        width: 100%;
        border-radius: var(--portal-radius);
    }

    .hero-desc {
        margin-bottom: 0.85rem;
    }

    .hero-search-panel {
        padding-bottom: 0;
    }

    .hero-count {
        width: fit-content;
        justify-content: center;
        margin: 0 auto;
        padding: 0.46rem 0.68rem;
    }

    .count-num {
        font-size: 1.18rem;
    }

    .count-label {
        font-size: 0.8rem;
    }

    .search-bar {
        flex-direction: column;
        box-shadow: 0 12px 26px rgba(15, 76, 129, 0.11);
        gap: 0.5rem;
    }

    .search-wrap {
        border-right: 1px solid #b8ccdd;
        border-radius: var(--portal-radius);
        min-height: 3.25rem;
        padding: 0.75rem 0.85rem;
    }

    .search-bar button {
        width: 100%;
        min-height: 2.9rem;
        border-radius: var(--portal-radius);
    }

    .stat-card h2 {
        padding: 0.7rem 0.85rem;
        font-size: 1rem;
    }

    .stat-card-banner {
        padding: 0.52rem 0.85rem;
        font-size: 0.68rem;
    }

    .gender-item {
        padding: 0.65rem 0.7rem;
        grid-template-columns: 2.25rem 1fr;
        gap: 0.52rem;
    }

    .gender-icon {
        width: 2.25rem;
        height: 2.25rem;
    }

    .gender-icon svg {
        width: 1.3rem;
        height: 1.3rem;
    }

    .pct {
        font-size: 1.55rem;
    }

    .gender-label {
        font-size: 0.76rem;
        margin-top: 0.08rem;
    }

    .gender-split {
        padding: 0.75rem 0.85rem 0.85rem;
    }

    .gender-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gender-item + .gender-item {
        border-top: 0;
        border-left: 1px solid var(--portal-line);
    }

    .scroll-cue {
        position: static;
        transform: none;
        margin: 0.3rem auto 0;
    }

    .scroll-cue:hover,
    .scroll-cue:focus-visible {
        transform: translateY(2px);
    }

    .indicator-summary-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
        margin-top: 1rem;
    }

    .indicator-summary-card {
        min-height: 4.7rem;
        padding: 0.72rem;
    }

    .indicator-summary-card strong {
        font-size: 1.55rem;
    }

    .indicator-summary-card span {
        font-size: 0.74rem;
    }

    .section-actions {
        margin-top: 1rem;
        gap: 0.55rem;
    }

    .section-action {
        flex: 1 1 100%;
        min-height: 2.95rem;
    }

    .indicator-snapshot-head {
        padding: 0.85rem;
        display: grid;
    }

    .indicator-snapshot-head a {
        min-height: 2.75rem;
        width: 100%;
        justify-content: center;
        border: 1px solid #bdd3e5;
        border-radius: var(--portal-radius);
    }

    .sector-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0.85rem;
        gap: 0.6rem;
    }

    .sector-summary-card {
        min-height: 5.45rem;
        padding: 0.7rem;
    }

    .sector-summary-card span {
        font-size: 0.72rem;
    }

    .sector-summary-card strong {
        font-size: 1.3rem;
    }

    .dashboard-snapshot-head {
        padding: 0.85rem;
        display: grid;
        grid-template-columns: 1fr;
    }

    .dashboard-snapshot-head a {
        width: 100%;
        justify-content: center;
        border: 1px solid #bdd3e5;
        border-radius: var(--portal-radius);
    }

    .dashboard-snapshot-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0.85rem;
        gap: 0.6rem;
    }

    .dashboard-snapshot-stat {
        min-height: 4.8rem;
        padding: 0.7rem;
    }

    .dashboard-snapshot-stat:last-child {
        grid-column: 1 / -1;
    }

    .dashboard-snapshot-stat strong {
        font-size: 1.25rem;
    }

    .dashboard-featured-card {
        padding: 0.85rem;
        gap: 0.8rem;
    }

    .dashboard-chart-preview {
        min-height: 8.25rem;
    }

    .dashboard-table-preview {
        grid-template-columns: 1fr;
        padding: 0.1rem 0.85rem 0.85rem;
        gap: 0.55rem;
    }

    .indicator-item {
        grid-template-columns: minmax(0, 1fr) 3.6rem;
        gap: 0.72rem;
        min-height: 5.8rem;
        padding: 0.9rem 0;
    }

    .indicator-sparkline {
        width: 3.6rem;
        height: 2.45rem;
    }

    .feedback-shell {
        width: calc(100% - 2rem);
    }

    .feedback-shell form {
        grid-template-columns: 1fr;
    }

    .feedback-shell button {
        grid-column: auto;
        width: 100%;
    }

    .partners-strip {
        padding-top: 2.35rem;
        padding-bottom: 2.2rem;
    }

    .partners-strip h3 {
        font-size: clamp(1.65rem, 8.4vw, 2.15rem);
    }

    .partners-intro {
        font-size: 0.92rem;
    }

    .partners-line {
        margin: 1.2rem auto 1.35rem;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .partner-card {
        min-height: 6.9rem;
        padding: 0.85rem 1rem;
    }

    .partners-logo-link {
        min-height: 5.2rem;
    }

    .partners-logo--nisr {
        max-width: min(100%, 14.5rem);
        max-height: 4.2rem;
    }

    .footer-main {
        gap: 1.1rem;
        padding-top: 2.1rem;
        padding-bottom: 1.9rem;
    }

    .footer-main h4 {
        margin-bottom: 0.35rem;
    }

    .footer-main a {
        width: 100%;
    }
}

/* ---------------------------------------------------------------------------
   Scroll-reveal + loading shimmer + count animation
   Elements opt in with [data-reveal]; JS adds .is-visible when they enter the
   viewport. Everything respects prefers-reduced-motion.
   --------------------------------------------------------------------------- */

[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.6s var(--portal-ease), transform 0.6s var(--portal-ease);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* Loading shimmer for live values (indicator counts, snapshot numbers). */
[data-indicator-count-value].is-loading,
[data-snapshot-total].is-loading,
[data-snapshot-sectors].is-loading,
[data-dashboard-total].is-loading,
[data-dashboard-sectors].is-loading {
    color: transparent !important;
    border-radius: 6px;
    background: linear-gradient(90deg, #e3edf6 25%, #f4f9fd 50%, #e3edf6 75%);
    background-size: 200% 100%;
    animation: skeleton-sweep 1.4s ease infinite;
}

@keyframes skeleton-sweep {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Hero gender split bar (live data visual, replaces the fake sparkline). */
.gender-split {
    display: grid;
    gap: 0.55rem;
    padding: 1.05rem 1.18rem 1.15rem;
    border-bottom: 1px solid var(--portal-line);
}

.gender-split-track {
    position: relative;
    height: 0.85rem;
    border-radius: 999px;
    background: #e7eef5;
    overflow: hidden;
    display: flex;
}

.gender-split-track::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(9, 35, 67, 0.05);
    pointer-events: none;
}

.gender-split-female,
.gender-split-male {
    height: 100%;
    transition: width 0.9s var(--portal-ease);
}

.gender-split-female {
    background: linear-gradient(90deg, var(--nisr-orange), #f9a35c);
}

.gender-split-male {
    background: linear-gradient(90deg, var(--nisr-deep-blue), var(--nisr-light-blue));
}

.gender-split-legend {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--portal-muted);
}

.gender-split-legend b {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--portal-ink);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.gender-split-dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    flex: none;
}

.gender-split-dot--female { background: var(--nisr-orange); }
.gender-split-dot--male { background: var(--nisr-deep-blue); }

.gender-split-note {
    margin: 0;
    color: var(--portal-muted);
    font-size: 0.74rem;
    line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
    .landing-page *,
    .landing-page *::before,
    .landing-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
