:root {
    /* Soft, darker palette with a gentle plum/indigo ambience and lavender accent */
    --bg-0: #0e0e10;
    /* onyx */
    --bg-1: #15101f;
    /* deep indigo/plum */
    --bg-2: #1b1229;
    /* plum */
    --txt-0: #e6e7ea;
    /* near-white text */
    --txt-dim: #b4b7bf;
    /* dimmed text */
    --accent: #c084fc;
    /* lavender accent */
    --accent-2: #22d3ee;
    /* cyan accent (very subtle, used in shader) */

    --maxw: 64rem;
    /* content max width */
    --radius: 14px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* Reset + base */
* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /* no scroll as requested */
    background: radial-gradient(1200px 800px at 70% 20%, var(--bg-2) 0%, var(--bg-1) 50%, var(--bg-0) 100%);
    color: var(--txt-0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* Full-bleed WebGL background canvas */
#bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
}

/* Content shell */
.shell {
    position: relative;
    z-index: 1;
    min-height: 100svh;
    padding: 6vh clamp(16px, 3vw, 32px);
    display: grid;
    place-items: center;
    place-content: center;
    gap: clamp(16px, 2.2vh, 28px);
}

.stack {
    width: min(var(--maxw), 92vw);
    margin: 0 auto;
    text-align: center;
    display: grid;
    gap: clamp(12px, 1.8vh, 18px);
}

.eyebrow {
    font: 600 clamp(12px, 1.6vw, 14px)/1 Inter, system-ui, sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--txt-dim);
    opacity: 0.9;
    text-wrap: balance;
}

h1 {
    font-family: "Space Grotesk", Inter, system-ui, sans-serif;
    font-weight: 600;
    font-size: clamp(32px, 7.5vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.02em;
    margin: 0;
    background: linear-gradient(180deg, #ffffff, #cfd3da 65%, #a9b0bc);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(0 6px 24px rgba(192, 132, 252, 0.08));
    text-wrap: balance;
}

.subhead {
    margin: 0 auto;
    font-size: clamp(14px, 2.2vw, 18px);
    line-height: 1.55;
    color: var(--txt-dim);
    max-width: 60ch;
    text-wrap: pretty;
}

.cta {
    justify-self: center;
    margin-top: clamp(6px, 1vh, 10px);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid rgba(192, 132, 252, 0.28);
    background:
        radial-gradient(120% 220% at 20% 0%, rgba(192, 132, 252, 0.18) 0, rgba(192, 132, 252, 0.06) 45%, rgba(34, 211, 238, 0.04) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
    color: #f6f6f9;
    font: 600 14px/1 Inter, system-ui, sans-serif;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 10px 30px rgba(0, 0, 0, 0.20),
        0 0 0 0 rgba(192, 132, 252, 0.0);
    transition: box-shadow 220ms ease, transform 220ms ease, border-color 220ms ease, background-color 220ms ease, color 220ms ease;
    will-change: transform;
}

.cta::after {
    content: "→";
    font-size: 16px;
    translate: 0 0;
    transition: translate 220ms ease;
}

.cta:hover {
    transform: translateY(-1px);
    border-color: rgba(192, 132, 252, 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.20),
        0 14px 40px rgba(0, 0, 0, 0.28),
        0 0 0 8px rgba(192, 132, 252, 0.06);
}

.cta:hover::after {
    translate: 3px 0;
}

.cta:active {
    transform: translateY(0);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 10px 28px rgba(0, 0, 0, 0.24),
        0 0 0 4px rgba(192, 132, 252, 0.08);
}

.cta:focus-visible {
    outline: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 10px 28px rgba(0, 0, 0, 0.24),
        0 0 0 10px rgba(192, 132, 252, 0.18);
}

/* Subtle glass highlight behind content */
.glass {
    position: absolute;
    inset: 0;
    margin: auto;
    width: min(88vw, 900px);
    height: min(48vh, 420px);
    border-radius: 32px;
    background:
        radial-gradient(120% 120% at 10% 0%, rgba(192, 132, 252, 0.06) 0, rgba(192, 132, 252, 0.02) 45%, rgba(34, 211, 238, 0.02) 100%);
    filter: blur(40px);
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
}

/* Reduced motion: keep everything still but preserve look */
@media (prefers-reduced-motion: reduce) {
    .cta {
        transition: none;
    }

    .cta:hover::after {
        translate: 0 0;
    }
}