:root {
    --deepwave-nav-height: 60px;
    --deepwave-bg: #eef7fa;
    --deepwave-panel: #ffffff;
    --deepwave-panel-2: #dff0f5;
    --deepwave-ink: #132638;
    --deepwave-muted: #496172;
    --deepwave-line: rgba(129, 213, 235, 0.22);
    --deepwave-cyan: #36d7f4;
    --deepwave-green: #41c986;
    --deepwave-amber: #e1b43a;
    --deepwave-coral: #ef6b5a;
    --deepwave-white: #ffffff;
}

html {
    font-size: 15px;
    min-height: 100%;
    position: relative;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    background: var(--deepwave-bg);
    color: var(--deepwave-ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
}

a {
    color: inherit;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem #071018, 0 0 0 0.25rem var(--deepwave-cyan);
}

.deepwave-nav {
    align-items: center;
    background: rgba(249, 252, 253, 0.94);
    border-bottom: 1px solid var(--deepwave-line);
    display: flex;
    gap: 18px;
    height: var(--deepwave-nav-height);
    justify-content: space-between;
    left: 0;
    padding: 0 18px;
    position: sticky;
    right: 0;
    top: 0;
    z-index: 3000;
}

.deepwave-nav-brand {
    align-items: center;
    color: #102536;
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 900;
    gap: 10px;
    letter-spacing: 0;
    text-decoration: none;
}

.deepwave-nav-brand:hover {
    color: #102536;
}

.deepwave-nav-brand img {
    border-radius: 9px;
    height: 34px;
    width: 34px;
}

.deepwave-nav-brand span {
    white-space: nowrap;
}

.deepwave-nav-links {
    align-items: center;
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    min-width: 0;
    overflow-x: auto;
}

.deepwave-nav-links a {
    border: 1px solid transparent;
    border-radius: 8px;
    color: #29485c;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 10px;
    text-decoration: none;
    white-space: nowrap;
}

.deepwave-nav-badge {
    background: #e4f6fa;
    border: 1px solid #9ed3df;
    border-radius: 999px;
    color: #067fa4;
    display: inline-block;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .02em;
    margin-left: 4px;
    padding: 2px 5px;
    text-transform: uppercase;
    vertical-align: 1px;
}

.deepwave-nav-links a:hover {
    background: rgba(8, 127, 165, 0.10);
    border-color: rgba(8, 127, 165, 0.24);
    color: #102536;
}

.deepwave-nav-primary {
    background: rgba(8, 127, 165, 0.12);
    border-color: rgba(8, 127, 165, 0.35);
    color: #102536;
}

.deepwave-nav-primary:hover {
    background: rgba(8, 127, 165, 0.20);
}

.deepwave-main {
    min-height: calc(100vh - var(--deepwave-nav-height));
}

.deepwave-ad-slot {
    align-items: center;
    background: rgba(245, 251, 253, 0.96);
    border-top: 1px solid var(--deepwave-line);
    color: #19384c;
    display: grid;
    gap: 6px;
    justify-content: center;
    min-height: 70px;
    padding: 10px 16px;
    position: relative;
    text-align: center;
}

.deepwave-ad-label {
    color: #5d7282;
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.deepwave-ad-slot .adsbygoogle {
    min-height: 64px;
    min-width: min(728px, calc(100vw - 32px));
}

.deepwave-sponsor-slot {
    align-items: center;
    display: flex;
    gap: 14px;
}

.deepwave-sponsor-slot span {
    font-size: 13px;
    font-weight: 800;
}

.deepwave-sponsor-slot a {
    background: #087fa5;
    border-radius: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    padding: 8px 12px;
    text-decoration: none;
}

.deepwave-ad-slot-researchmapanchorslot,
.deepwave-ad-slot-skypulseslot {
    background: rgba(248, 252, 253, 0.88);
    border: 1px solid rgba(8, 127, 165, 0.20);
    bottom: 14px;
    box-shadow: 0 12px 30px rgba(12, 38, 54, 0.18);
    left: 50%;
    min-height: 66px;
    padding: 7px 10px;
    position: fixed;
    transform: translateX(-50%);
    width: min(728px, calc(100vw - 34px));
    z-index: 3500;
}

.deepwave-ad-slot-skypulseslot {
    margin: 10px auto 86px;
    min-height: 76px;
    width: min(728px, calc(100vw - 28px));
}

.deepwave-footer {
    align-items: center;
    background: rgba(249, 252, 253, 0.94);
    border-top: 1px solid var(--deepwave-line);
    color: var(--deepwave-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 700;
    gap: 16px;
    justify-content: center;
    min-height: 44px;
    padding: 8px 16px;
    text-align: center;
}

.deepwave-footer a {
    color: #087fa5;
    text-decoration: none;
}

.deepwave-page {
    margin: 0 auto;
    max-width: 980px;
    padding: 56px 20px;
}

.page-kicker {
    color: #087fa5;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.deepwave-page h1 {
    color: #102536;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    letter-spacing: 0;
    margin: 0 0 18px;
}

.deepwave-page h2 {
    color: #16364d;
    font-size: 1.25rem;
    font-weight: 900;
    margin: 34px 0 10px;
}

.deepwave-page p,
.deepwave-page li {
    color: #29485c;
    font-size: 1rem;
    line-height: 1.65;
}

.deepwave-page a {
    color: #087fa5;
    font-weight: 800;
}

.contact-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 26px;
}

.contact-card {
    background: #ffffff;
    border: 1px solid rgba(8, 127, 165, 0.18);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(14, 45, 60, 0.08);
    display: grid;
    gap: 6px;
    padding: 18px;
    text-decoration: none;
}

.contact-card span {
    color: #496172;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-card strong {
    color: #102536;
    font-size: 1rem;
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    .deepwave-nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        height: auto;
        min-height: var(--deepwave-nav-height);
        padding: 10px 12px;
        position: sticky;
    }

    .deepwave-nav-links {
        justify-content: flex-start;
        width: 100%;
    }

    .deepwave-footer {
        column-gap: 12px;
        row-gap: 8px;
    }

    .deepwave-sponsor-slot {
        align-items: stretch;
        flex-direction: column;
    }

    .deepwave-ad-slot-researchmapanchorslot,
    .deepwave-ad-slot-skypulseslot {
        bottom: 6px;
        width: calc(100vw - 16px);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}
