@font-face {
    font-family: 'Archivo Black';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/archivo-black-v23-latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/fonts/inter-v20-latin-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/inter-v20-latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/inter-v20-latin-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/inter-v20-latin-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/fonts/inter-v20-latin-800.woff2') format('woff2');
}

:root {
    --bg-color: #ffffff;
    --text-primary: #000000;
    --text-secondary: #444444;
    --accent-color: #c5221f;
    --border-color: #dadce0;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --max-width: 800px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
}

body.error-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: color 0.2s ease;
}

a:hover {
    color: #a50e0e;
    text-decoration: underline;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 24px;
}

.error-page .container {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

header {
    margin-bottom: 80px;
}

h1.brand-name,
div.brand-name {
    font-family: 'Archivo Black', sans-serif;
    font-size: 80px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: black;
    margin: 0;
    line-height: 1.4;
    text-transform: uppercase;
}

.brand-subtitles {
    margin-top: 16px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 500;
}

.founded-date {
    display: block;
    margin-top: 8px;
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.8rem;
    opacity: 0.8;
}

h2.section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 600;
    display: block;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-top: 0;
}

.ventures-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 100px;
}

.venture-item {
    display: block;
}

.venture-link {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: inline-block;
    letter-spacing: -0.02em;
}

.venture-link:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.venture-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 650px;
    font-weight: 300;
    line-height: 1.5;
}

.shareholders-section {
    margin-bottom: 100px;
}

.shareholder-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 60px;
}

.shareholder-img {
    width: 140px;
    height: 140px;
    border-radius: 4px;
    object-fit: cover;
    margin-right: 32px;
    background-color: #f1f3f4;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.shareholder-info {
    padding-top: 5px;
}

.shareholder-info h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.shareholder-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
    display: block;
    font-weight: 500;
}

.shareholder-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 600px;
    font-weight: 400;
}

.contact-section {
    margin-bottom: 80px;
    font-weight: 300;
    color: var(--text-secondary);
}

.contact-section a {
    font-weight: 500;
}

h1.error-code {
    font-family: 'Archivo Black', sans-serif;
    font-size: 40px;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1;
    margin-top: 0;
}

.error-message {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 300;
}

.error-page main {
    flex: 1;
    margin-top: 15px;
    margin-bottom: 60px;
}

footer {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    font-size: 0.8rem;
    color: #666666;
    line-height: 1.8;
}

.error-page footer {
    margin-top: auto;
}

.address-block {
    margin-top: 24px;
    display: block;
}

@media (max-width: 600px) {
    .container {
        padding: 40px 20px;
    }
    h1.brand-name,
    div.brand-name {
        font-size: 3.5rem;
    }
    .venture-link {
        font-size: 1.25rem;
    }
    .shareholder-card {
        flex-direction: column;
    }
    .shareholder-img {
        margin-right: 0;
        margin-bottom: 20px;
        width: 120px;
        height: 120px;
    }
}
