@font-face {
    font-family: 'Space Grotesk';
    src: url('/fonts/space-grotesk-latin.woff2') format('woff2');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('/fonts/space-grotesk-latin-ext.woff2') format('woff2');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('/fonts/space-grotesk-cyrillic.woff2') format('woff2');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #0b0f19;
    color: #e2e8f0;
    line-height: 1.7;
    padding: 2rem 1rem;
}

.container {
    max-width: 820px;
    margin: 0 auto;
    background: #111827;
    border-radius: 28px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.5);
    padding: 3rem 2.5rem;
    border: 1px solid #1e293b;
    transition: box-shadow 0.25s ease;
}

@media (max-width: 600px) {
    body {
        padding: 1rem 0.75rem;
    }
    .container {
        padding: 2rem 1.25rem;
        border-radius: 20px;
    }
}

/* ---------- Header ---------- */
.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.25rem;
}

.brand-name {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #f1f5f9;
}

.brand-name .o1 { color: #3bb5c4; font-size: 1.9rem; }
.brand-name .o2 { color: #3bb5c4; font-size: 1.7rem; }
.brand-name .o3 { color: #3bb5c4; font-size: 1.4rem; }

.subhead {
    font-size: 0.95rem;
    color: #64748b;
    margin-top: 0.1rem;
    margin-bottom: 2rem;
    border-left: 4px solid #3bb5c4;
    padding-left: 1rem;
}

.subhead a {
    color: #3bb5c4;
    text-decoration: none;
    font-weight: 500;
}

.subhead a:hover {
    text-decoration: underline;
}

/* ---------- Typography ---------- */
h1 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-top: 1.2rem;
    margin-bottom: 0.4rem;
    color: #f1f5f9;
}

.last-updated {
    display: inline-block;
    font-size: 0.85rem;
    color: #94a3b8;
    background: #1e293b;
    padding: 0.2rem 1rem;
    border-radius: 40px;
    margin-bottom: 2rem;
    font-weight: 500;
}

h2 {
    font-size: 1.4rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    margin-top: 2.4rem;
    margin-bottom: 0.6rem;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

h2 .emoji {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1rem;
    color: #cbd5e1;
}

ul,
ol {
    margin: 0.6rem 0 1.2rem 1.6rem;
    color: #cbd5e1;
}

li {
    margin-bottom: 0.3rem;
}

strong {
    color: #f1f5f9;
    font-weight: 600;
}

a {
    color: #3bb5c4;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

hr {
    border: none;
    border-top: 2px solid #1e293b;
    margin: 2.4rem 0 1.6rem;
}

/* ---------- Highlight box ---------- */
.highlight-box {
    background: #1e293b;
    border-radius: 16px;
    padding: 1.4rem 1.8rem;
    margin: 1.8rem 0;
    border-left: 4px solid #3bb5c4;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

/* ---------- Contact card ---------- */
.contact-card {
    background: #0f172a;
    border-radius: 16px;
    padding: 1.4rem 1.8rem;
    margin-top: 1.8rem;
    border: 1px solid #1e293b;
}

.contact-card p {
    margin-bottom: 0.2rem;
}

.contact-card .label {
    font-weight: 600;
    color: #f1f5f9;
}

/* ---------- Footer ---------- */
.footer-note {
    margin-top: 3rem;
    padding-top: 1.6rem;
    border-top: 2px solid #1e293b;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
}

.footer-note a {
    color: #94a3b8;
    font-weight: 500;
}

.footer-note a:hover {
    color: #3bb5c4;
    text-decoration: underline;
}

/* ---------- Print ---------- */
@media print {
    body {
        background: #fff;
        color: #0b1120;
        padding: 0.2in;
    }
    .container {
        box-shadow: none;
        padding: 0;
        border: none;
        background: #fff;
    }
    h1, h2, strong, .brand-name, .contact-card .label {
        color: #0b1120;
    }
    p, li, ul, ol {
        color: #1e293b;
    }
    .highlight-box {
        background: #f4f6f8;
        border-left-color: #0b1120;
    }
    .contact-card {
        border-color: #ccc;
        background: #fafafa;
    }
    .last-updated {
        background: #f1f5f9;
        color: #94a3b8;
    }
}
