/* --------------------------------------------- */
/* Core                                          */
/* --------------------------------------------- */

:root {
    --bg: #080d18;
    --bg-soft: #0f1728;
    --bg-card: rgba(255, 255, 255, 0.065);
    --bg-card-strong: rgba(255, 255, 255, 0.1);

    --text: #f7f9fc;
    --muted: #aeb8c8;
    --muted-strong: #d6deeb;

    --line: rgba(255, 255, 255, 0.13);
    --line-strong: rgba(255, 255, 255, 0.22);

    --accent: #7dd3fc;
    --accent-strong: #38bdf8;
    --accent-soft: rgba(125, 211, 252, 0.14);

    --surface: #ffffff;
    --dark-text: #111827;
    --dark-muted: #4b5563;

    --radius-lg: 30px;
    --radius-md: 20px;
    --radius-sm: 14px;

    --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.22);
    --shadow-strong: 0 28px 90px rgba(0, 0, 0, 0.34);

    --max-width: 1180px;
}


/* --------------------------------------------- */
/* Base reset                                    */
/* --------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    line-height: 1.6;
    background:
        radial-gradient(circle at 12% 8%, rgba(56, 189, 248, 0.18), transparent 28rem),
        radial-gradient(circle at 88% 12%, rgba(125, 211, 252, 0.12), transparent 26rem),
        radial-gradient(circle at 50% 95%, rgba(255, 255, 255, 0.055), transparent 34rem),
        var(--bg);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 75%);
}


/* --------------------------------------------- */
/* Defaults                                      */
/* --------------------------------------------- */

a {
    color: inherit;
    text-decoration: none;
}

img,
picture,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}


button.btn {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}


p,
h1,
h2,
h3 {
    margin-top: 0;
}

p {
    color: var(--muted);
}

ul {
    margin-top: 0;
}

::selection {
    background: rgba(125, 211, 252, 0.35);
}