:root {
    --blue: #1952db;
    --navy: #11234a;
    --ink: #131720;
    --white: #fff;
    --line: #d9e1ef;
}
body { background: var(--white); color: var(--ink); word-break: keep-all; }
a { text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid #3676ff; outline-offset: 4px; }
.wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 5; padding: 8px 16px; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.header { border-bottom: 1px solid var(--line); }
.bar, .foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.bar { min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); font-size: 23px; font-weight: 800; letter-spacing: -.06em; }
.brand i { width: 26px; height: 25px; border: 7px solid var(--blue); border-radius: 55% 55% 5% 55%; transform: skew(-9deg); }
nav { display: flex; align-items: center; gap: 32px; }
nav a, .nav-action, .menu { padding-block: 10px; font-size: 15px; font-weight: 650; }
nav a:hover, .nav-action:hover, .foot a:hover { text-decoration: underline; text-underline-offset: 5px; }
.menu { border: 1px solid var(--line); border-radius: 8px; background: white; padding-inline: 14px; color: var(--navy); }
.nav-action { border: 0; background: transparent; color: inherit; padding-inline: 0; }
.apply-link { display: inline-block; padding: 8px 13px; border-radius: 7px; background: var(--blue); color: var(--white); font-weight: 700; }
.apply-link:hover { background: var(--navy); }
.apply-link-light { background: var(--white); color: var(--navy); }
.apply-link-light:hover { background: #e1e9ff; }
main .apply-link { margin-top: 12px; }
.auth .apply-link + p { margin-top: 12px; }
@media (min-width: 761px) and (max-width: 1000px) {
    nav { gap: 16px; }
}
@media (max-width: 760px) {
    .wrap { width: calc(100% - 40px); }
    .bar { flex-wrap: wrap; min-height: 64px; padding-block: 10px; gap: 8px; }
    nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 6px; }
    nav a, .nav-action { display: block; width: 100%; text-align: left; }
}
