@font-face {
    font-family: 'OCR-A';
    src: url('assets/ocr-a.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #000000;
    --ink: #ffffff;
    --accent: #ff5f00;
    --muted: #6a6a6a;
}

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

html, body {
    width: 100%;
    height: 100%;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem 18vh;
    gap: clamp(0.75rem, 2.5vh, 2rem);
    text-align: center;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.logo {
    width: clamp(80px, 18vh, 200px);
    height: auto;
    display: block;
}

.wordmark {
    font-family: 'OCR-A', 'OCR A Std', 'Courier New', monospace;
    font-weight: 400;
    font-size: clamp(1.25rem, 5vh, 3rem);
    letter-spacing: 0.08em;
    line-height: 1.15;
    color: var(--accent);
    text-transform: uppercase;
}

.lede {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--ink);
    max-width: 36ch;
}

.nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    font-family: 'OCR-A', 'OCR A Std', 'Courier New', monospace;
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav a {
    color: var(--ink);
    text-decoration: none;
    padding: 0.4em 0.2em;
    border-bottom: 1px solid var(--muted);
    transition: color 0.15s ease, border-color 0.15s ease;
}

.nav a::before {
    content: '→ ';
    color: var(--accent);
}

.nav a:hover,
.nav a:focus-visible {
    color: var(--accent);
    border-bottom-color: var(--accent);
    outline: none;
}

.button {
    display: inline-block;
    font-family: 'OCR-A', 'OCR A Std', 'Courier New', monospace;
    font-size: clamp(0.95rem, 2.2vh, 1.25rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bg);
    background: var(--accent);
    padding: clamp(0.65rem, 1.6vh, 1rem) 1.75rem;
    text-decoration: none;
    border: 2px solid var(--accent);
    transition: background 0.15s ease, color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.button:hover,
.button:focus-visible {
    background: var(--bg);
    color: var(--accent);
    outline: none;
}

.back {
    font-family: 'OCR-A', 'OCR A Std', 'Courier New', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
}

.back:hover,
.back:focus-visible {
    color: var(--ink);
    outline: none;
}

footer {
    padding: 1.5rem;
    text-align: center;
    font-family: 'OCR-A', 'OCR A Std', 'Courier New', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    color: var(--muted);
    text-transform: uppercase;
}
