:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-alt: #eef2f7;
    --ink: #102038;
    --ink-soft: #4f5f75;
    --brand: #0f3b7a;
    --brand-2: #2f7be8;
    --ring: rgba(47, 123, 232, 0.35);
    --radius: 20px;
    --shadow: 0 18px 42px rgba(8, 21, 48, 0.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--ink);
    background: linear-gradient(160deg, #f7f9fd 0%, #edf3fb 100%);
}

h1,
h2,
h3,
h4 {
    font-family: "Fraunces", Georgia, serif;
    margin: 0;
}

p {
    color: var(--ink-soft);
}

a {
    color: inherit;
}

.ilsg-container {
    width: min(1160px, calc(100vw - 2.25rem));
    margin: 0 auto;
}

.ilsg-topbar {
    background: #0c1b33;
    color: #dfe8fa;
    font-size: 0.9rem;
}

.ilsg-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    gap: 1rem;
}

.ilsg-topbar-links {
    display: flex;
    gap: 1rem;
}

.ilsg-topbar p {
    margin: 0;
    color: #dfe8fa;
}

.ilsg-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    background: rgba(247, 249, 253, 0.88);
    border-bottom: 1px solid rgba(16, 32, 56, 0.1);
}

.ilsg-nav-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ilsg-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
}

.ilsg-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-grid;
    place-items: center;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(145deg, var(--brand), var(--brand-2));
}

.ilsg-brand-text {
    max-width: 260px;
    font-weight: 700;
    line-height: 1.2;
}

.ilsg-nav-toggle {
    display: none;
    border: 1px solid rgba(16, 32, 56, 0.2);
    background: #fff;
    border-radius: 10px;
    padding: 0.55rem 0.85rem;
    font-weight: 700;
}

.ilsg-primary-nav {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.ilsg-menu {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.ilsg-menu a {
    text-decoration: none;
    font-weight: 700;
    color: #253954;
}

.ilsg-nav-cta,
.ilsg-button {
    text-decoration: none;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(130deg, var(--brand), var(--brand-2));
    color: #f6f9ff;
    padding: 0.7rem 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: inline-block;
}

.ilsg-button.is-secondary {
    background: #fff;
    color: var(--brand);
    border: 1px solid rgba(15, 59, 122, 0.3);
}

.ilsg-hero-band {
    padding: 3.6rem 0 2.2rem;
}

.ilsg-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 1.7rem;
}

.ilsg-hero-grid h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.05;
    margin-bottom: 0.8rem;
}

.ilsg-hero-grid p {
    max-width: 52ch;
    font-size: 1.08rem;
}

.ilsg-hero-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 0.7rem;
    box-shadow: var(--shadow);
}

.ilsg-hero-card img {
    width: 100%;
    display: block;
    border-radius: 16px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.ilsg-actions {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.ilsg-stats {
    padding-bottom: 0.6rem;
}

.ilsg-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.ilsg-stat-grid article {
    background: var(--surface);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 1rem;
    text-align: center;
}

.ilsg-stat-grid strong {
    display: block;
    font-size: 1.6rem;
    color: var(--brand);
}

.ilsg-section {
    padding: 2rem 0;
}

.ilsg-section-head {
    margin-bottom: 1rem;
}

.ilsg-section-head h2 {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    margin-bottom: 0.4rem;
}

.ilsg-section-head.with-link {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.ilsg-section-head.with-link a {
    color: var(--brand);
    font-weight: 700;
}

.ilsg-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ilsg-feature,
.ilsg-panel,
.ilsg-news-grid article {
    background: var(--surface);
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(15, 59, 122, 0.08);
}

.ilsg-feature {
    text-decoration: none;
}

.ilsg-feature h3,
.ilsg-news-grid h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.ilsg-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ilsg-news-grid time {
    display: block;
    font-size: 0.88rem;
    color: var(--ink-soft);
    margin-bottom: 0.5rem;
}

.ilsg-cta {
    padding: 3rem 0;
}

.ilsg-cta .ilsg-container {
    background: linear-gradient(135deg, #102f62, #2b73d8);
    border-radius: 20px;
    padding: 2rem;
}

.ilsg-cta h2,
.ilsg-cta p {
    color: #f0f6ff;
}

.ilsg-page-main {
    min-height: 55vh;
}

.ilsg-page-hero {
    padding: 2.8rem 0 1.2rem;
}

.ilsg-page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    margin-bottom: 0.5rem;
}

.ilsg-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.ilsg-panel ol {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--ink-soft);
}

.ilsg-form {
    display: grid;
    gap: 0.8rem;
}

.ilsg-form label {
    display: grid;
    gap: 0.3rem;
    font-weight: 600;
}

.ilsg-form input,
.ilsg-form textarea {
    width: 100%;
    border: 1px solid rgba(16, 32, 56, 0.2);
    border-radius: 10px;
    padding: 0.65rem;
    font: inherit;
}

.ilsg-form input:focus,
.ilsg-form textarea:focus {
    outline: 2px solid var(--ring);
    border-color: var(--brand-2);
}

.ilsg-footer {
    margin-top: 2.2rem;
    background: #101d33;
    color: #d9e5f8;
}

.ilsg-footer-grid {
    padding: 2.2rem 0;
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 1.2rem;
}

.ilsg-footer h3 {
    font-family: "Manrope", "Segoe UI", sans-serif;
    margin-bottom: 0.6rem;
}

.ilsg-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.35rem;
}

.ilsg-footer p {
    color: #d9e5f8;
}

.ilsg-footer-base {
    border-top: 1px solid rgba(217, 229, 248, 0.2);
    text-align: center;
    padding: 0.8rem 1rem;
}

.ilsg-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.reveal-up {
    opacity: 0;
    transform: translateY(24px);
    transition: transform 650ms ease, opacity 650ms ease;
    transition-delay: var(--delay, 0ms);
}

.reveal-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .ilsg-nav-toggle {
        display: inline-block;
    }

    .ilsg-primary-nav {
        position: absolute;
        right: 1rem;
        top: 78px;
        width: min(340px, calc(100vw - 2rem));
        background: #fff;
        border-radius: 14px;
        padding: 0.9rem;
        box-shadow: var(--shadow);
        display: none;
        flex-direction: column;
        align-items: stretch;
    }

    .ilsg-primary-nav.is-open {
        display: flex;
    }

    .ilsg-menu {
        flex-direction: column;
    }

    .ilsg-hero-grid,
    .ilsg-stat-grid,
    .ilsg-card-grid,
    .ilsg-news-grid,
    .ilsg-two-col,
    .ilsg-footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .ilsg-topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.6rem 0;
    }

    .ilsg-container {
        width: calc(100vw - 1.25rem);
    }

    .ilsg-cta .ilsg-container {
        padding: 1.3rem;
    }
}
