:root {
    color: #121212;
    font-family: "Source Sans Pro", "Open Sans", "Segoe UI", system-ui, sans-serif;
    background-color: #f9f5ef;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #f3eae2;
}

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

header {
    background: #a5100c;
    color: #fff;
    padding: 12px 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 4px solid #8f0c09;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo svg {
    width: 48px;
    height: 48px;
}

.logo-text {
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.header-actions button {
    border: none;
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    min-width: 24px;
    cursor: pointer;
}

.icon-button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
}

.language-switch {
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    padding: 6px 18px;
}

.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 5vw;
}

.panel {
    max-width: 520px;
    width: min(95vw, 520px);
    background: #fff9f3;
    border: 1px solid #e0d3cd;
    border-radius: 12px;
    padding: 40px 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.panel h1 {
    margin-top: 0;
    font-size: 2rem;
    color: #9d1f1f;
    margin-bottom: 18px;
    font-weight: 600;
}

.panel-headline {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6d1a1a;
    margin-bottom: 20px;
}

.panel p {
    color: #4b3a34;
    line-height: 1.5;
    margin-bottom: 32px;
}

.login-actions {
    display: flex;
    flex-direction: column;
    margin-bottom: 26px;
    gap: 14px;
}

.login-btn {
    border: 2px solid #a5100c;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 1rem;
    background: #fff;
    color: #a5100c;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.login-btn span {
    font-size: 0.95rem;
}

.login-btn:hover {
    background: #a5100c;
    color: #fff;
}

.login-btn::after {
    content: '\2192';
    font-size: 1.3rem;
}

.login-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #6d1a1a;
}

.panel small {
    display: block;
    margin-top: 24px;
    color: #3b2c26;
}

.panel small a {
    color: #a5100c;
    text-decoration: none;
    font-weight: 600;
}

.hero-note {
    margin-top: 18px;
    font-size: 0.95rem;
    color: #4a3b34;
}

footer {
    background: #2d0705;
    color: #f5e7dd;
    padding: 40px 5vw;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
    font-size: 0.95rem;
}

.footer-grid h2 {
    margin-top: 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #d9cfc4;
}

.footer-grid li + li {
    margin-top: 6px;
}

.footer-grid a {
    color: inherit;
    text-decoration: none;
}

.to-top {
    margin-bottom: 24px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        gap: 14px;
    }

    .panel {
        padding: 36px 24px;
    }
}
