@import url('fonts.css');

:root {
    --navy: #112444;
    --red: #df1d31;
    --bg: #f0f3f8;
    --white: #fff;
    --muted: #53637a;
    --line: #dce3ec
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: Manrope, Arial, sans-serif;
    background: var(--bg);
    color: var(--navy)
}

a {
    color: inherit;
    text-decoration: none
}

button,
summary {
    font: inherit
}

.container {
    width: min(1200px, calc(100% - 64px));
    margin-inline: auto
}

.header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 20
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.brand img {
    display: block;
    width: 132px;
    height: auto
}

.desktop-nav {
    display: flex;
    gap: 24px;
    align-items: center
}

.desktop-nav a {
    font-size: 15px;
    font-weight: 600;
    padding: 24px 0;
    border-bottom: 3px solid transparent
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--red);
    border-color: var(--red)
}

details {
    position: relative
}

summary {
    cursor: pointer;
    list-style: none
}

summary::-webkit-details-marker {
    display: none
}

.language-menu summary {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 11px 16px;
    white-space: nowrap
}

.language-list,
.mobile-nav nav {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 170px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 6px;
    box-shadow: 0 12px 28px #11244418
}

.language-list a,
.mobile-nav nav a {
    display: block;
    padding: 12px;
    border-radius: 6px
}

.language-list a:hover,
.language-list a[aria-current],
.mobile-nav a:hover {
    background: var(--bg);
    color: var(--red)
}

.mobile-nav {
    display: none
}

.hero {
    background: linear-gradient(115deg, #112444, #203e65);
    color: white;
    padding: 76px 0 82px;
    border-bottom: 4px solid var(--red)
}

.eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--red)
}

.hero .eyebrow {
    color: #ffb5bd
}

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.12;
    margin: 20px 0
}

.hero p {
    max-width: 690px;
    font-size: 18px;
    line-height: 1.7;
    color: #e0e8f4
}

.content {
    padding-block: 44px 64px;
    display: grid;
    gap: 32px
}

.intro,
.notice,
article {
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 6px 20px #11244408
}

h2 {
    font-size: clamp(23px, 3vw, 32px);
    margin: 12px 0 20px
}

h3 {
    font-size: 21px;
    margin: 16px 0 10px
}

p {
    line-height: 1.75;
    color: var(--muted);
    margin: 0 0 14px
}

p:last-child {
    margin-bottom: 0
}

.cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px
}

.number {
    color: var(--red);
    font-weight: 800;
    font-size: 24px
}

.text-link {
    display: inline-block;
    color: var(--red);
    font-weight: 700;
    margin: 10px 20px 0 0
}

.notice {
    border-left: 4px solid var(--red)
}

.footer {
    background: var(--navy);
    color: white;
    padding: 30px 0
}

.footer-inner,
.footer nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between
}

.footer a {
    font-size: 14px;
    color: #dce3ec
}

a:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 4px
}

@media(max-width:1024px) {
    .container {
        width: calc(100% - 40px)
    }

    .desktop-nav {
        gap: 14px
    }

    .header-inner {
        gap: 14px
    }
}

@media(max-width:760px) {
    .desktop-nav {
        display: none
    }

    .mobile-nav {
        display: block
    }

    .mobile-nav summary {
        display: grid;
        gap: 5px;
        padding: 10px
    }

    .mobile-nav summary span {
        width: 24px;
        height: 2px;
        background: var(--navy)
    }

    .mobile-nav nav {
        width: 220px
    }

    .language-menu {
        margin-left: auto
    }

    .hero {
        padding: 48px 0
    }

    .cards {
        grid-template-columns: 1fr
    }

    .intro,
    .notice,
    article {
        padding: 22px
    }

    .content {
        gap: 22px;
        padding-block: 28px 40px
    }
}

@media(max-width:480px) {
    .container {
        width: calc(100% - 28px)
    }

    .brand img {
        width: 105px
    }

    .header-inner {
        min-height: 64px;
        gap: 8px
    }

    .language-menu summary {
        padding: 9px 11px;
        font-size: 13px
    }

    .hero p {
        font-size: 16px
    }
}