:root {
    --font-sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    --text: #122033;
    --muted: #526277;
    --bg: #f3f6f9;
    --surface: #ffffff;
    --border: #d5dde7;
    --shadow: 0 10px 30px rgba(10, 30, 58, 0.08);
    --radius: 14px;
    --space-2xs: clamp(0.3rem, 0.2rem + 0.2vw, 0.45rem);
    --space-xs: clamp(0.5rem, 0.45rem + 0.2vw, 0.7rem);
    --space-sm: clamp(0.75rem, 0.65rem + 0.3vw, 1rem);
    --space-md: clamp(1rem, 0.85rem + 0.55vw, 1.4rem);
    --space-lg: clamp(1.6rem, 1.3rem + 1vw, 2.4rem);
    --space-xl: clamp(2.4rem, 1.8rem + 2vw, 4rem);
    --space-2xl: clamp(3.4rem, 2.5rem + 3vw, 6rem);
}

html {
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: radial-gradient(circle at top right, #eaf1f8 0%, var(--bg) 45%, #eef3f8 100%);
    line-height: 1.6;
    letter-spacing: 0.01em;
}

.skip-link {
    position: absolute;
    left: var(--space-sm);
    top: -200px;
    z-index: 2000;
    background: #0a4d8c;
    color: #fff;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus-visible {
    top: var(--space-sm);
}

:focus-visible {
    outline: 3px solid #0a4d8c;
    outline-offset: 3px;
}

.container {
    width: min(100% - 2rem, 1160px);
    margin-inline: auto;
}

.section {
    padding-block: var(--space-2xl);
}

.section h2,
.section-title {
    font-size: clamp(1.65rem, 1.35rem + 1.2vw, 2.5rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

h3 {
    font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.5rem);
    line-height: 1.3;
}

p,
li,
label,
input,
select,
textarea {
    font-size: clamp(1rem, 0.97rem + 0.1vw, 1.05rem);
}

p,
.section-intro,
.lead,
.hero-description,
.content-list-wrap {
    max-width: 70ch;
}

.hero {
    padding-top: clamp(7rem, 6rem + 3vw, 9rem);
    padding-bottom: var(--space-2xl);
    background: linear-gradient(155deg, #093a6d 0%, #0e568f 65%, #0f6cae 100%);
}

.hero-title {
    font-size: clamp(2rem, 1.4rem + 2.3vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: var(--space-md);
    letter-spacing: -0.03em;
}

.hero-subtitle {
    display: block;
    font-size: clamp(1.15rem, 1rem + 0.75vw, 1.7rem);
    font-weight: 450;
    opacity: 0.95;
    margin-top: var(--space-sm);
}

.hero-intro {
    margin-top: var(--space-sm);
    color: rgba(255, 255, 255, 0.92);
}

.hero-description p,
.hero-intro {
    margin-inline: auto;
}

.grid {
    display: grid;
    gap: clamp(0.85rem, 0.75rem + 0.7vw, 1.4rem);
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f8fbff 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--text);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(10, 30, 58, 0.1);
}

.card h3,
.card h4 {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--text);
}

.card h3::before,
.card h4::before {
    content: "";
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
    background: linear-gradient(145deg, #0a4d8c, #358ad2);
    flex: 0 0 0.72rem;
    opacity: 0.95;
}

.layer {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: var(--radius);
    padding: var(--space-md);
    backdrop-filter: blur(2px);
}

.layer .layer-icon {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
}

.content-list-wrap {
    padding: var(--space-lg);
}

.content-list {
    margin-top: var(--space-xs);
}

.content-list li {
    margin-bottom: var(--space-xs);
}

.callout {
    background: linear-gradient(165deg, #f5f9ff 0%, #ecf2fa 100%);
    border: 1px solid #b7c8dd;
    border-left: 6px solid #0a4d8c;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: var(--space-lg);
    max-width: 76ch;
    margin-inline: auto;
}

.callout .lead {
    margin: 0;
    text-align: left;
    color: #1f3046;
    font-weight: 500;
}

.section-dark .card,
.section-dark .card p,
.section-dark .card h4 {
    color: var(--text);
    opacity: 1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: #fff;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 3px solid #0a4d8c;
    outline-offset: 2px;
}

@media (max-width: 820px) {
    .hero {
        text-align: left;
    }

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

    .footer-content {
        gap: var(--space-md);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}
