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

:root {
    --fg: #e7ece8;
    --fg-muted: #9aa79e;
    --bg: #0a0c0a;
    --rule: #23281f;
    --accent: #0cc0df;
    --mono: ui-monospace, "SF Mono", "JetBrains Mono", "IBM Plex Mono", Menlo, Consolas, "Courier New", monospace;
}

html, body {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

html {
    font-size: clamp(12px, 1.2vw, 18px);
    background: var(--bg);
    color: var(--fg);
}

body {
    font-family: var(--mono);
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 2.5vh 4vw;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
    overflow: hidden;
}

.top {
    display: flex;
    justify-content: flex-end;
    font-size: 0.7rem;
    color: var(--fg);
    flex-shrink: 0;
    margin-bottom: 2vh;
    letter-spacing: 0.05em;
}

.top button {
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    transition: color 0.2s;
}

.top button:hover {
    color: var(--fg-muted);
}

.top button.is-active {
    color: var(--accent);
}

.top__sep {
    margin: 0 0.4rem;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 1.5vh;
    flex-shrink: 0;
    margin-bottom: 3vh;
}

.header__logo {
    width: auto;
    height: 6rem;
    object-fit: contain;
    margin-right: 1rem;
}

.header__subtitle {
    font-size: 0.75rem;
    color: var(--fg-muted);
    text-align: right;
    max-width: 30vw;
    line-height: 1.4;
}

main {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5vh 4vw;
    min-height: 0;
    flex-shrink: 1;
}

.section {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.section:last-child {
    grid-column: 1 / -1;
}

.section__title {
    font-size: 0.55rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fg);
    margin-bottom: 1.2vh;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 0.4vh;
    flex-shrink: 0;
}

.section__text {
    font-size: 0.8rem;
    color: var(--fg-muted);
}
header__logo
.link {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid #0cc0df4d;
    transition: border-color 0.2s;
}

.link:hover {
    border-bottom-color: var(--accent);
}

.rows {
    font-size: 0.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rows__row {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    padding: 0.5vh 0;
    border-bottom: 1px solid var(--rule);
}

.rows__row:last-child {
    border-bottom: none;
}

.rows__label {
    color: var(--fg);
    min-width: 5rem;
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.rows__value {
    color: var(--fg);
}

.footer {
    flex-shrink: 0;
    margin-top: 2vh;
    padding-top: 1.5vh;
    border-top: 1px solid var(--rule);
    font-size: 0.6rem;
    color: var(--fg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 0.03em;
}

.footer a {
    color: var(--fg-muted);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.footer a:hover {
    border-bottom-color: var(--accent);
}

@media (max-width: 64rem) {
    body {
        padding: 2vh 3vw;
    }

    main {
        grid-template-columns: 1fr;
        gap: 1.5vh;
    }

    .section:last-child {
        grid-column: 1;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5vh;
    }

    .header__subtitle {
        text-align: left;
        max-width: 100%;
        font-size: 0.7rem;
    }

    .header__title {
        font-size: clamp(2rem, 6vw, 4rem);
    }

    .rows {
        justify-content: flex-start;
    }

    .rows__row {
        padding: 0.3vh 0;
        gap: 1rem;
    }
}

@media (max-width: 40rem) {
    body {
        padding: 1.5vh 2vw;
    }

    .header__title {
        font-size: clamp(1.8rem, 5vw, 3rem);
    }

    .rows__row {
        flex-direction: column;
        gap: 0.1rem;
        padding: 0.3vh 0;
    }

    .rows__label {
        min-width: auto;
        font-size: 0.5rem;
    }

    .rows__value {
        font-size: 0.7rem;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3vh;
        font-size: 0.5rem;
    }

    .top {
        font-size: 0.6rem;
        margin-bottom: 1vh;
    }

    .section__title {
        font-size: 0.5rem;
        margin-bottom: 0.8vh;
    }
}