:root {
    --bg: #0d1220;
    --panel: #151c2e;
    --panel-2: #1b2438;
    --border: #2b3652;
    --text: #edf1f7;
    --muted: #9da8ba;
    --accent: #c49a68;
    --accent-light: #e0bc8b;
    --good: #55c58a;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(
            circle at top,
            #18233b 0,
            var(--bg) 42%
        );
    color: var(--text);
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

.site-header {
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(13,18,32,.88);
}

.header-inner,
.site-main,
.footer-inner,
.footer-copy {
    width: min(1100px, calc(100% - 32px));
    margin-inline: auto;
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.brand-main {
    color: var(--accent-light);
    font-weight: 800;
    letter-spacing: 4px;
    font-size: 18px;
}

.brand-sub {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 16px;
}

.nav a,
.footer-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
}

.nav a:hover,
.footer-nav a:hover {
    color: var(--text);
}

.site-main {
    padding-block: 32px 56px;
}

.hero {
    padding: 40px 0 34px;
    max-width: 760px;
}

.eyebrow {
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    margin: 8px 0 12px;
    font-size: clamp(38px, 9vw, 68px);
    line-height: .98;
    letter-spacing: -2px;
}

.hero p {
    max-width: 650px;
    color: var(--muted);
    font-size: 18px;
    margin: 0;
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 14px;
}

.section-title h2 {
    margin: 0;
    font-size: 21px;
}

.section-title span {
    color: var(--muted);
    font-size: 13px;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.mission-card {
    display: flex;
    flex-direction: column;
    min-height: 190px;
    padding: 20px;
    background: linear-gradient(
        145deg,
        var(--panel-2),
        var(--panel)
    );
    border: 1px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    transition:
        transform .15s ease,
        border-color .15s ease;
}

.mission-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.mission-number {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.mission-card h3 {
    margin: 16px 0 3px;
    font-size: 24px;
}

.mission-subtitle {
    color: var(--accent-light);
    font-weight: 600;
}

.mission-description {
    color: var(--muted);
    margin: 10px 0 18px;
    font-size: 14px;
}

.mission-meta {
    margin-top: auto;
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.meta {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 9px;
    color: var(--muted);
    font-size: 11px;
}

.page {
    max-width: 760px;
    margin: 20px auto;
}

.page h1 {
    font-size: 36px;
    line-height: 1.1;
}

.page h2 {
    margin-top: 32px;
}

.page p {
    color: #c4ccda;
}

.panel {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 17px;
    border-radius: 10px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #111827;
    font-weight: 800;
    text-decoration: none;
}

.search-form {
    display: flex;
    gap: 8px;
    margin: 20px 0;
}

.search-form input {
    flex: 1;
    min-width: 0;
    min-height: 46px;
    padding: 10px 13px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #0d1424;
    color: var(--text);
    font-size: 16px;
}

.search-form button {
    border: 1px solid var(--accent);
    border-radius: 10px;
    background: var(--accent);
    color: #111827;
    padding: 0 18px;
    font-weight: 800;
}

.result {
    display: block;
    padding: 15px;
    margin-top: 9px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
}

.result strong {
    display: block;
}

.result small {
    color: var(--muted);
}

.contact-email {
    font-size: 18px;
    color: var(--accent-light);
}

.site-footer {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 22px 0 30px;
    color: var(--muted);
    font-size: 13px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.footer-nav {
    display: flex;
    gap: 14px;
}

.footer-copy {
    margin-top: 12px;
}

@media (min-width: 650px) {
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {

    .header-inner {
    min-height: 60px;
    padding-block: 12px;
}

/*
|--------------------------------------------------------------------------
| Mobile app-style navigation
|--------------------------------------------------------------------------
*/

.nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 1000;

    width: 100%;
    height: 72px;

    display: flex;
    align-items: stretch;
    justify-content: space-around;

    gap: 0;

    background: rgba(13, 18, 32, .97);
    border-top: 1px solid var(--border);

    box-shadow:
        0 -6px 20px rgba(0, 0, 0, .18);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav a {
    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 4px;

    color: var(--muted);
    text-decoration: none;

    font-size: 11px;
    font-weight: 700;

    transition:
        color .15s ease,
        transform .15s ease;
}

.nav a:hover {
    color: var(--text);
}

.nav-icon {
    display: block;

    font-size: 22px;
    line-height: 1;
}

.nav-label {
    display: block;
    line-height: 1;
}

.nav a:active {
    transform: scale(.94);
}

/*
|--------------------------------------------------------------------------
| Keep page content above the fixed navigation
|--------------------------------------------------------------------------
*/

.site-main {
    padding-bottom: 96px;
}

.site-footer {
    padding-bottom: 96px;
}

/*
|--------------------------------------------------------------------------
| Homepage
|--------------------------------------------------------------------------
*/

.hero {
    padding-top: 25px;
}

.hero h1 {
    font-size: 45px;
}

/*
|--------------------------------------------------------------------------
| Search
|--------------------------------------------------------------------------
*/

.search-form {
    flex-direction: column;
}

.search-form button {
    min-height: 46px;
}

/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
*/

.footer-inner {
    flex-direction: column;
}
