:root {
    --site-bg: #f7fbfb;
    --site-ink: #12202a;
    --site-text: #25353e;
    --site-muted: #60727b;
    --site-primary: #12b7b1;
    --site-line: rgba(18, 32, 42, 0.1);
    --site-hero-shell-top: 22px;
    --site-header-row-top: 8px;
    --site-header-row-bottom: 24px;
}

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

body {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

.institutional-shell,
.section-shell,
.shell {
    width: min(calc(100% - 56px), 1360px);
    margin: 0 auto;
}

.institutional-shell,
.hero__inner {
    padding-top: var(--site-hero-shell-top);
}

.institutional-header,
.header {
    padding-top: var(--site-header-row-top);
    padding-bottom: var(--site-header-row-bottom);
}

.brand-mark,
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #11181f;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.brand-mark__icon,
.brand__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #10161d 0%, #15242b 100%);
    box-shadow: 0 10px 24px rgba(16, 22, 29, 0.18);
}

.brand-mark__icon span,
.brand__icon span {
    color: #19c5bf;
    font-size: 1.3rem;
    line-height: 1;
}

.brand-mark__text,
.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-mark__text strong,
.brand__text strong {
    color: #081117;
    font-size: 1.14rem;
}

.brand-mark__text small,
.brand__text small {
    margin-top: 4px;
    color: rgba(8, 17, 23, 0.72);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.institutional-nav,
.nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.institutional-nav__links,
.nav__links {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(8, 17, 23, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 28px rgba(18, 32, 42, 0.08);
}

.institutional-nav__links a,
.nav__links a {
    padding: 10px 16px;
    border-radius: 999px;
    color: #12202a;
    font-weight: 800;
    font-size: 1.02rem;
}

.institutional-nav__links a:hover,
.nav__links a:hover {
    background: rgba(20, 184, 177, 0.12);
    color: #0f8f92;
}

.institutional-nav__dropdown,
.nav__dropdown {
    position: relative;
    padding-bottom: 14px;
    margin-bottom: -14px;
}

.institutional-nav__trigger,
.nav__trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #12202a;
    font-weight: 800;
    font-size: 1.02rem;
}

.institutional-nav__trigger::after,
.nav__trigger::after {
    content: "v";
    font-size: 0.8rem;
    color: #0f8f92;
}

.institutional-nav__dropdown:hover .institutional-nav__trigger,
.institutional-nav__dropdown:focus-within .institutional-nav__trigger,
.nav__dropdown:hover .nav__trigger,
.nav__dropdown:focus-within .nav__trigger {
    background: rgba(20, 184, 177, 0.12);
    color: #0f8f92;
}

.institutional-nav__menu,
.nav__menu {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    min-width: 220px;
    padding: 10px;
    border: 1px solid rgba(8, 17, 23, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 34px rgba(18, 32, 42, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.institutional-nav__menu a,
.nav__menu a {
    display: block;
    border-radius: 12px;
}

.institutional-nav__dropdown:hover .institutional-nav__menu,
.institutional-nav__dropdown:focus-within .institutional-nav__menu,
.nav__dropdown:hover .nav__menu,
.nav__dropdown:focus-within .nav__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.institutional-cta,
.cta {
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    background: #162029;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
}

.institutional-cta:hover,
.cta:hover {
    background: #0e151b;
}

.mobile-toggle {
    display: none;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 24px rgba(18, 32, 42, 0.12);
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
    border-radius: 999px;
}

.institutional-footer__inner,
.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--site-line);
}

.institutional-footer__inner p,
.footer__inner p {
    margin: 0;
    color: var(--site-muted);
    font-weight: 700;
}

.institutional-footer__nav,
.footer__nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.institutional-footer__nav a,
.footer__nav a {
    color: var(--site-text);
    font-weight: 700;
}

.mobile-drawer,
.drawer {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: none;
    background: rgba(4, 10, 14, 0.42);
    backdrop-filter: blur(8px);
}

.mobile-drawer.is-open,
.drawer.is-open {
    display: block;
}

.mobile-drawer__panel,
.drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(92vw, 380px);
    height: 100%;
    padding: 22px;
    background: linear-gradient(180deg, #0f171d 0%, #152129 100%);
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.24);
}

.mobile-drawer__top,
.drawer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
}

.mobile-drawer__close,
.drawer__close {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.4rem;
}

.mobile-drawer__nav,
.drawer__nav {
    display: grid;
    gap: 10px;
}

.mobile-drawer__nav a,
.drawer__nav a {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 0 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-weight: 800;
}

.mobile-drawer__group,
.drawer__group {
    display: grid;
    gap: 10px;
    padding: 8px 0 2px;
}

.mobile-drawer__group strong,
.drawer__group strong {
    padding: 0 18px;
    color: #8af0ea;
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mobile-drawer__group a,
.drawer__group a {
    margin-left: 14px;
}

.mobile-drawer__cta,
.drawer__cta {
    width: 100%;
    margin-top: 22px;
}

@media (min-width: 1600px) {
    .institutional-shell,
    .section-shell,
    .shell {
        width: min(calc(100% - 72px), 1480px);
    }
}

@media (max-width: 720px) {
    :root {
        --site-hero-shell-top: 16px;
        --site-header-row-top: 0px;
        --site-header-row-bottom: 14px;
    }

    .institutional-shell,
    .section-shell,
    .shell {
        width: min(calc(100% - 28px), 1360px);
    }

    .brand-mark__icon,
    .brand__icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .brand-mark__text strong,
    .brand__text strong {
        font-size: 1rem;
    }

    .institutional-footer__inner,
    .footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .institutional-footer__nav,
    .footer__nav {
        flex-direction: column;
        gap: 12px;
    }
}
