:root {
    --bg: #050815;
    --surface: #0d1024;
    --surface-soft: #151935;
    --accent: #6366f1;
    --accent-soft: rgba(99, 102, 241, 0.15);
    --accent-strong: #4f46e5;
    --text: #f9fafb;
    --text-muted: #9ca3af;
    --border-subtle: rgba(148, 163, 184, 0.35);
    --danger: #ef4444;
    --radius-xl: 1.5rem;
    --radius-lg: 1rem;
    --radius-md: 0.75rem;
    --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.6);

    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
        "Segoe UI", sans-serif;
}

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

html,
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    outline: none;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
    text-decoration: none;
    white-space: nowrap;
}
.button-primary {
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
    color: #fff;
    box-shadow: 0 16px 40px rgba(79, 70, 229, 0.6);
}
.button-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 50px rgba(79, 70, 229, 0.7);
}
.button-outline {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.5);
    color: var(--text);
}
.button-outline:hover {
    border-color: rgba(148, 163, 184, 0.9);
    background: rgba(15, 23, 42, 0.7);
}
.button-ghost {
    background: rgba(15, 23, 42, 0.7);
    color: var(--text);
    border-color: transparent;
}
.button-ghost:hover {
    background: rgba(15, 23, 42, 1);
}
.button-full {
    width: 100%;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0, #e5e7eb 0, #9ca3af 30%, #111827 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}
.logo-text {
    font-weight: 600;
    letter-spacing: 0.03em;
}

.section {
    padding: 4rem 0;
}
.section-alt {
    background: radial-gradient(circle at top, #020617 0, #020617 70%, #000 100%);
}

h1, h2, h3 {
    margin: 0 0 0.75rem;
}
h2 {
    font-size: 1.7rem;
}
h3 {
    font-size: 1.2rem;
}

p {
    margin: 0 0 0.75rem;
    line-height: 1.6;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 50;
    padding: 0.75rem 0;
    display: none;
}
.cookie-banner.active {
    display: block;
}
.cookie-banner-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.cookie-banner p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Utility */
.accent {
    color: var(--accent);
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}
.card {
    background: var(--surface-soft);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border-subtle);
}
.card p {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}