/* =========================================================
   WandA — Landing Page
   ========================================================= */

:root {
    color-scheme: dark;

    /* Brand */
    --color-bg: #080808;
    --color-bg-soft: #101010;
    --color-surface: #151515;

    --color-text: #f5f5f5;
    --color-text-muted: #a6a6a6;

    --color-accent: #d7ff3f;
    --color-accent-soft: rgba(215, 255, 63, 0.14);

    --color-border: rgba(255, 255, 255, 0.10);

    /* Layout */
    --container-width: 1200px;
    --page-padding: clamp(1.25rem, 4vw, 4rem);

    /* Typography */
    --font-sans:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    /* Effects */
    --radius: 999px;
    --transition: 180ms ease;
}


/* =========================================================
   Reset
   ========================================================= */

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

html {
    min-height: 100%;
    background: var(--color-bg);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(215, 255, 63, 0.035),
            transparent 34rem
        ),
        var(--color-bg);

    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button,
a {
    font: inherit;
}

a {
    color: inherit;
}


/* =========================================================
   Accessibility
   ========================================================= */

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1000;

    padding: 0.75rem 1rem;

    background: var(--color-accent);
    color: #080808;

    border-radius: 0.5rem;

    font-weight: 700;
    text-decoration: none;

    transform: translateY(-150%);
    transition: transform var(--transition);
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}


/* =========================================================
   Utility
   ========================================================= */

.container {
    width: min(
        calc(100% - (var(--page-padding) * 2)),
        var(--container-width)
    );

    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;

    overflow: hidden;
    clip: rect(0, 0, 0, 0);

    white-space: nowrap;
    border: 0;
}


/* =========================================================
   Header
   ========================================================= */

.site-header {
    position: absolute;
    inset: 0 0 auto;

    z-index: 20;

    padding-block: 2rem;
}

.brand {
    display: inline-block;

    color: var(--color-text);

    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.06em;

    text-decoration: none;
}

.brand span {
    color: var(--color-accent);
}


/* =========================================================
   Hero
   ========================================================= */

.hero {
    position: relative;

    display: grid;
    place-items: center;

    min-height: 100svh;

    overflow: hidden;
    isolation: isolate;
}

.hero__content {
    position: relative;
    z-index: 5;

    padding-block: 8rem;

    text-align: center;
}


/* =========================================================
   Hero typography
   ========================================================= */

.eyebrow {
    margin: 0 0 1.25rem;

    color: var(--color-accent);

    font-size: 0.75rem;
    font-weight: 800;

    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;

    color: var(--color-text);

    font-size: clamp(
        5rem,
        18vw,
        13rem
    );

    font-weight: 850;
    line-height: 0.8;

    letter-spacing: -0.085em;
}

.hero__line {
    width: clamp(3rem, 10vw, 7rem);
    height: 2px;

    margin: clamp(2rem, 5vw, 3.5rem) auto;

    background: var(--color-accent);
}

.hero__message {
    margin: 0;

    color: var(--color-text);

    font-size: clamp(
        1.4rem,
        3vw,
        2rem
    );

    font-weight: 650;
    letter-spacing: -0.025em;
}

.hero__description {
    width: min(100%, 34rem);

    margin: 1rem auto 0;

    color: var(--color-text-muted);

    font-size: 1rem;
}


/* =========================================================
   Decorative background
   ========================================================= */

.hero__background {
    position: absolute;
    inset: 0;

    z-index: -1;

    pointer-events: none;
}

.hero__orb {
    position: absolute;

    width: min(50vw, 42rem);
    aspect-ratio: 1;

    border-radius: 50%;

    filter: blur(100px);

    opacity: 0.07;
}

.hero__orb--one {
    top: 5%;
    left: 20%;

    background: var(--color-accent);
}

.hero__orb--two {
    right: 10%;
    bottom: 0;

    background: #ffffff;

    opacity: 0.035;
}

.hero__grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 5rem 5rem;

    mask-image:
        radial-gradient(
            ellipse at center,
            black 0%,
            transparent 72%
        );

    opacity: 0.35;
}


/* =========================================================
   Footer
   ========================================================= */

.site-footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    z-index: 10;

    padding-block: 1.5rem;

    color: var(--color-text-muted);

    font-size: 0.75rem;
    text-align: center;

    letter-spacing: 0.04em;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 600px) {

    .site-header {
        padding-block: 1.5rem;
    }

    .hero__content {
        padding-block: 7rem 6rem;
    }

    .hero h1 {
        font-size: clamp(
            4.5rem,
            24vw,
            8rem
        );
    }

    .hero__description {
        max-width: 20rem;

        font-size: 0.95rem;
    }

    .hero__grid {
        background-size: 3rem 3rem;
    }
}


/* =========================================================
   Reduced Motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}