@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");

:root {
    --ground: #050608;
    --surface: #0f1419;
    --surface-raised: #161d26;
    --ink: #e8eef4;
    --ink-muted: #9aa8b5;
    --accent: #3ddc6e;
    --link: #5eb8ff;
    --font-display: "Press Start 2P", system-ui, sans-serif;
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --page-max: 720px;
    --page-pad: clamp(16px, 4vw, 28px);
    --section-gap: clamp(48px, 8vw, 96px);
    --radius-md: 10px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--ground);
    color: var(--ink);
    font: 17px/1.65 var(--font-body);
    padding: 0 var(--page-pad) 48px;
}

.wrap {
    width: 100%;
    max-width: var(--page-max);
    margin: 0 auto;
}

header.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 8px;
    gap: 16px;
    flex-wrap: wrap;
}

header.site-header .brand {
    font-family: var(--font-display);
    font-size: clamp(9px, 2.4vw, 11px);
    line-height: 1.5;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 0.02em;
    max-width: 55%;
}

header.site-header nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 3vw, 18px);
    flex-wrap: wrap;
}

header.site-header nav a {
    color: var(--ink-muted);
    text-decoration: none;
    font-size: 14px;
}

header.site-header nav a:hover,
header.site-header nav a:focus-visible {
    color: var(--accent);
}

main {
    padding-top: 12px;
}

h1 {
    font-family: var(--font-display);
    font-size: clamp(14px, 3.5vw, 18px);
    line-height: 1.45;
    color: var(--accent);
    margin: 16px 0 10px;
    letter-spacing: 0.02em;
}

h2 {
    font-size: clamp(18px, 3.5vw, 21px);
    font-weight: 700;
    margin: 36px 0 12px;
    color: var(--ink);
}

p {
    margin: 12px 0;
    color: var(--ink-muted);
    max-width: 65ch;
}

ul {
    padding-left: 0;
    list-style: none;
    margin: 14px 0;
}

li {
    margin: 8px 0;
    color: var(--ink-muted);
    padding-left: 1.1em;
    position: relative;
}

li::before {
    content: "·";
    position: absolute;
    left: 0;
    color: var(--accent);
}

a {
    color: var(--link);
}

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.meta {
    color: var(--ink-muted);
    font-size: 14px;
    margin-bottom: 12px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 15px;
}

th,
td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    background: var(--surface);
}

th {
    background: var(--surface-raised);
    color: var(--ink);
    font-weight: 600;
}

td {
    color: var(--ink-muted);
    border-top: 4px solid var(--ground);
}

.mail {
    display: inline-block;
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    font-size: 17px;
    font-weight: 600;
    margin: 10px 0;
    text-decoration: none;
    color: var(--accent);
}

.mail:hover,
.mail:focus-visible {
    background: var(--surface-raised);
}

.note {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 16px 18px 16px 22px;
    margin: 18px 0;
    color: var(--ink-muted);
    position: relative;
}

.note::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 4px;
    background: var(--accent);
    border-radius: 0 4px 4px 0;
}

dl {
    margin: 14px 0;
}

dt {
    font-weight: 600;
    margin-top: 18px;
    color: var(--ink);
}

dd {
    margin: 4px 0 0 0;
    color: var(--ink-muted);
}

footer.site-footer {
    margin-top: var(--section-gap);
    padding: 28px 0 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px 20px;
    color: var(--ink-muted);
    font-size: 13px;
}

footer.site-footer .footer-links {
    display: flex;
    gap: 18px;
}

footer.site-footer a {
    color: var(--ink-muted);
    text-decoration: none;
}

footer.site-footer a:hover,
footer.site-footer a:focus-visible {
    color: var(--accent);
}

footer.site-footer p {
    margin: 0;
    color: var(--ink-muted);
}

@media (max-width: 480px) {
    footer.site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
