:root {
    --bg: #0b1020;
    --panel: #0f1630;
    --text: #eaf0ff;
    --muted: #a9b6da;
    --line: rgba(255, 255, 255, .08);
    --accent: #7aa7ff;

    --radius: 18px;
    --max: 1120px;
}

* {
    box-sizing: border-box
}

section[id] {
    scroll-margin-top: 92px;
}

/* adjust to your sticky header height */
html {
    scroll-behavior: smooth;
}


html,
body {
    margin: 0;
    padding: 0
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: radial-gradient(1200px 600px at 20% 0%, rgba(122, 167, 255, .18), transparent 60%),
        radial-gradient(900px 500px at 90% 10%, rgba(160, 122, 255, .12), transparent 55%),
        var(--bg);
    color: var(--text);
}

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

.page {
    max-width: var(--max);
    margin: 0 auto;
    padding: 28px 18px 64px
}

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: rgba(11, 16, 32, .6);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 240px
}

.brand__mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(122, 167, 255, .18);
    border: 1px solid var(--line);
    font-weight: 700;
}

.brand__text {
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted)
}

.nav {
    display: flex;
    gap: 14px;
    flex: 1;
    flex-wrap: wrap
}

.nav__link {
    padding: 8px 10px;
    border-radius: 12px;
    color: var(--muted);
    transition: transform .18s ease, background .18s ease, color .18s ease;
}

.nav__link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
}

.nav__link.is-active {
    background: rgba(122, 167, 255, .14);
    color: var(--text);
}

.cta {
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(122, 167, 255, .18), rgba(122, 167, 255, .06));
    transition: transform .18s ease, filter .18s ease;
    white-space: nowrap;
}

.cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

.card {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    border-radius: var(--radius);
    padding: 18px;
}

.footer {
    border-top: 1px solid var(--line);
    padding: 28px 18px;
    max-width: var(--max);
    margin: 0 auto;
    color: var(--muted);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer__brand {
    color: var(--text);
    font-weight: 700;
    letter-spacing: .05em
}

.footer__links {
    display: flex;
    gap: 14px;
    align-items: flex-start
}

.footer__bottom {
    margin-top: 18px;
    border-top: 1px solid var(--line);
    padding-top: 14px;
    font-size: 13px
}

h1,
h2,
h3 {
    margin: 0 0 10px
}

p {
    margin: 0 0 12px;
    line-height: 1.6;
    color: var(--muted)
}

.grid {
    display: grid;
    gap: 14px
}

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

@media (max-width: 900px) {
    .grid.cols-3 {
        grid-template-columns: 1fr
    }
}

/* Allow sections inside a max-width container to bleed full viewport width */
.full-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Prevent accidental horizontal scroll from 100vw */
body {
    overflow-x: hidden;
}