:root {
    --ink: #0b3a46;
    --paper: #f7f3ea;
    --grid: #d6d1c9;
    --accent: #00C896;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    line-height: 1.6;
}

h1,
h2 {
    font-family: Orbitron, Inter, sans-serif;
    letter-spacing: .02em;
}

h1 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    margin: .2em 0;
}

h2 {
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.2;
    margin: 0;
    padding: 0;
}

main {
    margin: 0 auto;
}

p {
    margin: .5em 0 1em;
}

ul {
    margin: .25em 0 1em 1.25em;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    border: 1px solid var(--grid);
}

.table thead th {
    background: var(--accent);
    color: #093a2f;
    text-align: left;
    padding: .6rem;
    font-weight: 800;
}

.table td {
    border-top: 1px solid var(--grid);
    padding: .6rem;
}

blockquote {
    border-left: 4px solid var(--accent);
    padding: .2rem .9rem;
    margin: 1rem 0;
    background: #fff;
}

.cover {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--grid);
}

.cover-grid {
    position: absolute;
    inset: 0;
    opacity: .35;
    pointer-events: none;
}

.cover-inner {
    position: relative;
    z-index: 1;
    padding: 10vh 6vw 12vh;
    justify-items: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cover .subtitle {
    max-width: 50ch;
    opacity: .9;
}

.cover h2 {
    font-size: clamp(32px, 5vw, 56px);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.rocket-figure {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 1rem auto;
    max-width: 100%;
    width: 100%;
}

.rocket-figure img {
    max-width: 100%;
    height: auto;
    width: auto;
    max-height: 400px;
}

.phases {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    margin: 0;
    writing-mode: horizontal-tb;
}

.phases span {
    border: 2px solid var(--ink);
    border-radius: 12px;
    padding: .25rem .6rem;
    margin: .25rem;
    display: inline-block;
    background: #fff;
    flex-shrink: 0;
}

.logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-top: 2rem;
}

.page {
    background: #fff;
    margin: 0 2rem 1.5rem;
    border: 1px solid var(--grid);
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    box-shadow: 0 10px 0 rgba(11, 58, 70, .06);
}

.badges {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-top: .5rem;
}

.badges figure {
    margin: 0;
    text-align: center;
}

.badges figcaption {
    font-size: .8rem;
    margin-top: .25rem;
}

.badges figure picture {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0;
    width: 75px;
    height: 75px;
    text-align: center;
    border: solid 3px var(--ink);
    border-radius: 100%;
    overflow: hidden;
}

.badges figure img {
    width: auto;
    height: 100%;
}

.wide-figure {
    margin: 1rem 0;
    text-align: center;
}

.wide-figure img {
    width: 100%;
    height: auto;
    border: 1px solid var(--grid);
    border-radius: 12px;
    background: #fff;
}

.note {
    opacity: .85;
}

.form {
    display: grid;
    gap: .8rem;
    max-width: 520px;
    margin: 1rem 0;
}

.form label {
    display: grid;
    gap: .35rem;
    font-weight: 800;
    letter-spacing: .05em;
}

.form input {
    border: 2px solid var(--ink);
    border-radius: 12px;
    padding: .7rem 1rem;
    font-size: 1rem;
}

.form button {
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    font-weight: 800;
    letter-spacing: .06em;
    cursor: pointer;
}

.form button:hover {
    background: #06252d;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--grid);
    font-size: .9rem;
    opacity: .85;
}

@media (max-width: 920px) {
    .page {
        margin: 0 1rem 1rem;
    }

    .badges {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cover-inner {
        padding: 6vh 4vw 8vh;
    }

    .rocket-figure {
        flex-direction: column;
        gap: 1rem;
    }

    .phases {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .rocket-figure img {
        max-height: 300px;
    }

    .phases {
        gap: .5rem;
        font-size: .875rem;
    }

    .logo {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .cover-inner {
        padding: 4vh 3vw 6vh;
    }

    .rocket-figure img {
        max-height: 200px;
    }

    .phases span {
        font-size: .75rem;
        padding: .2rem .5rem;
    }

    .logo {
        max-width: 120px;
    }
}