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

:root {
    --bg-primary: #fafaf9;
    --bg-secondary: #f5f5f4;
    --bg-card: #ffffff;
    --text-primary: #1c1917;
    --text-secondary: #78716c;
    --text-muted: #a8a29e;
    --accent: #dc2626;
    --accent-light: #fee2e2;
    --border: #e7e5e4;
    --border-light: #f5f5f4;
}

body {
    min-height: 100vh;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.15s;
}

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

.lang-toggle {
    display: flex;
    flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.lang-btn {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border: none;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: all 0.15s;
}

.lang-btn:not(:last-child) {
    border-right: 1px solid var(--border);
}

.lang-btn.active {
    background: var(--accent);
    color: #ffffff;
}

h1 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
    font-weight: 700;
}

h2 {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

p:last-child {
    margin-bottom: 0;
}

strong {
    color: var(--text-primary);
}

.section {
    margin-bottom: 2rem;
}

.section ul {
    margin: 0.25rem 0 0.75rem;
    padding-left: 1.25rem;
    color: var(--text-secondary);
}

.section li {
    margin-bottom: 0.25rem;
}

.section li:last-child {
    margin-bottom: 0;
}

.subtitle,
.lead {
    color: var(--text-secondary);
}

.subtitle {
    margin-bottom: 2.5rem;
}

.lead {
    font-size: 1.0625rem;
}

.updated {
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.mono {
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.875rem;
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text-secondary);
}

.hero {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.tag {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.features {
    display: grid;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-card);
}

.feature-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--accent-light);
    color: var(--accent);
}

.feature-title {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.contact-card {
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-card);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.contact-item:first-child {
    padding-top: 0;
}

.contact-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--accent-light);
    color: var(--accent);
}

.contact-label {
    margin-bottom: 0.25rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-value {
    color: var(--text-primary);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1rem;
    font-weight: 500;
}

.contact-value a,
.note a,
.section a {
    color: var(--accent);
    text-decoration: none;
}

.contact-value a:hover,
.note a:hover,
.section a:hover,
.footer-links a:hover {
    text-decoration: underline;
}

.note {
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.empty-contact {
    color: var(--text-muted);
    font-style: italic;
}

.updated + .section h2 {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
}

.updated ~ .section h2 {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
}

@media (max-width: 560px) {
    .container {
        padding: 2rem 1rem;
    }

    .topbar {
        align-items: flex-start;
    }

    h1 {
        font-size: 1.75rem;
    }

    footer {
        display: block;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 0.75rem 1.25rem;
        margin-top: 0.75rem;
    }
}
