:root {
    color-scheme: dark;
    --bg: #09090f;
    --bg-elevated: rgba(18, 18, 28, 0.9);
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.16);
    --text: #f5f7ff;
    --text-muted: #a7adc4;
    --accent: #7c3aed;
    --accent-2: #22d3ee;
    --accent-3: #2563eb;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    --max-width: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(124, 58, 237, 0.3), transparent 28%),
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.18), transparent 26%),
        linear-gradient(180deg, #08080d 0%, #0b0c13 50%, #09090f 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.marketing-shell {
    width: min(calc(100% - 2rem), var(--max-width));
    margin: 0 auto;
    padding: 1.25rem 0 3rem;
}

.marketing-header,
.marketing-footer,
.hero-section,
.content-section,
.legal-hero,
.legal-content {
    backdrop-filter: blur(18px);
}

.marketing-header,
.marketing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    background: rgba(11, 12, 19, 0.72);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
}

.marketing-nav,
.footer-links,
.hero-actions,
.platform-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.brand__mark {
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.8rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.4);
}

.brand__text {
    font-size: 1.05rem;
}

.marketing-nav a:not(.button),
.footer-links a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.marketing-nav a:not(.button):hover,
.footer-links a:hover {
    color: var(--text);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--accent-3) 0%, var(--accent) 100%);
    box-shadow: 0 18px 30px rgba(37, 99, 235, 0.24);
}

.button--ghost {
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.02);
}

.hero-section,
.content-section,
.legal-hero,
.legal-content {
    border: 1px solid var(--border);
    background: rgba(11, 12, 19, 0.74);
    box-shadow: var(--shadow);
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 2rem;
    align-items: center;
    margin-top: 1.35rem;
    padding: 4.5rem 3rem;
    border-radius: 2rem;
    overflow: hidden;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #8be9fd;
}

.hero-copy h1,
.section-heading h2,
.legal-hero h1 {
    margin: 1rem 0 0;
    letter-spacing: -0.05em;
}

.hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 0.98;
}

.hero-subtitle,
.section-heading p,
.feature-card p,
.step-card p,
.legal-hero p,
.legal-section p,
.legal-section li,
.footer-copy,
.footer-meta {
    color: var(--text-muted);
    line-height: 1.7;
}

.hero-subtitle {
    max-width: 42rem;
    margin: 1.4rem 0 0;
    font-size: 1.08rem;
}

.hero-actions {
    margin-top: 2rem;
}

.platform-badges {
    margin-top: 1.6rem;
}

.platform-badges span {
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: #d7dbef;
    font-size: 0.92rem;
}

.hero-panel {
    position: relative;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-panel__glow {
    position: absolute;
    inset: 12% 16%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.35), rgba(37, 99, 235, 0.02) 72%);
    filter: blur(36px);
}

.hero-panel__card {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    padding: 1.4rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border-strong);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.hero-panel__label,
.feature-card__eyebrow,
.step-card__number {
    color: #91a4ff;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.hero-panel__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.hero-panel__row span {
    color: var(--text-muted);
}

.hero-panel__row strong {
    font-size: 1rem;
}

.hero-panel__footer {
    padding-top: 1rem;
    color: #d8ddf7;
}

.content-section,
.legal-hero,
.legal-content {
    margin-top: 1.35rem;
    border-radius: 1.75rem;
    padding: 2.2rem;
}

.section-heading {
    max-width: 50rem;
}

.section-heading h2,
.legal-hero h1 {
    font-size: clamp(2rem, 5vw, 3.1rem);
}

.feature-grid,
.steps-grid {
    display: grid;
    gap: 1.15rem;
    margin-top: 1.8rem;
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.step-card,
.legal-section {
    padding: 1.35rem;
    border-radius: 1.35rem;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
}

.feature-card h3,
.step-card h3,
.legal-section h2 {
    margin: 0.85rem 0 0;
    font-size: 1.18rem;
    letter-spacing: -0.03em;
}

.legal-layout {
    margin-top: 1.35rem;
}

.legal-content {
    display: grid;
    gap: 1rem;
}

.legal-section ul {
    margin: 1rem 0 0;
    padding-left: 1.15rem;
}

.footer-copy {
    margin: 0.6rem 0 0;
    max-width: 24rem;
}

.footer-meta {
    font-size: 0.95rem;
}

@media (max-width: 960px) {
    .hero-section,
    .feature-grid,
    .steps-grid,
    .marketing-footer {
        grid-template-columns: 1fr;
    }

    .marketing-header,
    .marketing-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    .marketing-shell {
        width: min(calc(100% - 1rem), var(--max-width));
        padding-top: 0.6rem;
    }

    .hero-section,
    .content-section,
    .legal-hero,
    .legal-content,
    .marketing-header,
    .marketing-footer {
        padding: 1.4rem;
        border-radius: 1.3rem;
    }

    .hero-section {
        gap: 1.5rem;
    }

    .marketing-nav {
        width: 100%;
    }

    .marketing-nav .button {
        width: 100%;
    }
}
