@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/InterVariable.woff2') format('woff2-variations'),
         url('fonts/InterVariable.woff2') format('woff2');
}

:root {
    --bg: #0a0d12;
    --bg-elevated: #11161d;
    --bg-card: rgba(20, 26, 35, 0.6);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(74, 124, 184, 0.5);
    --text: #e8ecf2;
    --text-muted: #8a93a3;
    --text-subtle: #5a6373;
    --accent: #4a7cb8;
    --accent-bright: #6a9ce0;
    --accent-glow: rgba(74, 124, 184, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.background-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.background-glow {
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 600px;
    background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 2rem 3rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 4rem;
    gap: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 44px;
    width: auto;
    display: block;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.back-link svg {
    width: 16px;
    height: 16px;
}

.back-link:hover {
    color: var(--text);
    border-color: var(--border-hover);
    background: rgba(20, 26, 35, 0.8);
}

.hero {
    padding: 4rem 0 5rem;
    max-width: 780px;
}

.eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent-bright);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
    padding: 0.4rem 0.875rem;
    background: var(--accent-glow);
    border: 1px solid rgba(74, 124, 184, 0.25);
    border-radius: 999px;
}

.headline {
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 1.75rem;
    color: var(--text);
}

.subline {
    font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.6;
    font-weight: 400;
}

.contact {
    padding: 2rem 0 5rem;
}

.contact-headline {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
    color: var(--text);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(8px);
}

.contact-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    background: rgba(20, 26, 35, 0.8);
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-subtle);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-value {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.005em;
}

.legal-page {
    padding: 1rem 0 4rem;
    max-width: 780px;
}

.legal-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.legal-section {
    margin-bottom: 2.5rem;
}

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

.legal-section h2 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.legal-section p,
.legal-section li {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.legal-section p + p {
    margin-top: 1rem;
}

.legal-section ul {
    margin: 0.75rem 0 1rem 1.25rem;
    padding: 0;
}

.legal-section ul li {
    margin-bottom: 0.375rem;
}

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

.legal-section a:hover {
    color: var(--text);
    text-decoration: underline;
}

.footer {
    margin-top: auto;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-subtle);
    flex-wrap: wrap;
}

.footer-divider {
    color: var(--text-subtle);
    opacity: 0.5;
}

.footer-link {
    color: var(--text-subtle);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

@media (max-width: 640px) {
    .container {
        padding: 2rem 1.25rem 2.5rem;
    }

    .header {
        padding-bottom: 2.5rem;
    }

    .hero {
        padding: 2rem 0 3.5rem;
    }

    .contact {
        padding: 1rem 0 3rem;
    }

    .legal-page {
        padding: 0.5rem 0 3rem;
    }

    .legal-title {
        margin-bottom: 2rem;
    }

    .back-link span {
        display: none;
    }

    .back-link {
        padding: 0.5rem;
    }
}
