/* Relay Digital — palette per Brand Guide v1, p12 */
@font-face {
    font-family: 'PP Neue Montreal';
    src: url('fonts/PPNeueMontreal-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Neue Montreal Mono';
    src: url('fonts/PPNeueMontrealMono-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --volt: #D9FF42;
    --blue: #0037FC;
    --white: #FFFFFF;
    --wash-grey: #DCE2E4;
    --stone-grey: #B9BFBF;
    --off-black: #131315;
    --black: #000000;

    --bg: var(--off-black);
    --fg: var(--white);
    --accent: var(--volt);

    --font-sans: 'PP Neue Montreal', ui-sans-serif, system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'PP Neue Montreal Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

body {
    background-color: var(--bg);
    color: var(--fg);
    font-family: var(--font-sans);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100svh;
    position: relative;
    animation: fade-in 0.5s ease-in both;
}

@keyframes fade-in {
    from { opacity: 0; }
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
}

.logo {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
    color: var(--fg);
}

.content-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 0.25rem 0;
    margin-top: 1.5rem;
}

.description {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--fg);
    line-height: 1.4;
    max-width: 62ch;
    letter-spacing: 0.3px;
    text-wrap: balance;
}

.footer {
    margin-top: 3rem;
    padding: 0;
    width: 100%;
    text-align: center;
}

/* Padding expands the hit area to meet WCAG 2.5.8 without changing how it looks;
   the negative margin cancels the visual offset. */
.email,
.footer-info a {
    display: inline-block;
    padding: 6px 8px;
    margin: -6px -8px;
}

.email {
    font-family: var(--font-mono);
    color: var(--accent);
    text-decoration: none;
    font-size: 0.68rem;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.email:hover {
    opacity: 0.8;
}

.email:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    opacity: 1;
}

.footer-info {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 0.6rem;
    letter-spacing: 0.3px;
    margin-top: 0.75rem;
    line-height: 1.5;
}

.footer-info a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-info a:hover {
    opacity: 0.8;
}

.footer-info a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    opacity: 1;
}

/* Responsive design */
@media (max-width: 768px) {
    .description {
        font-size: 0.85rem;
        padding: 0 1rem;
    }

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

@media (max-width: 480px) {
    .description {
        font-size: 0.8rem;
    }

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
