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

:root {
    --navy:   #050d1a;
    --deep:   #071428;
    --mid:    #0a2044;
    --accent: #1f6feb;
    --glow:   #3b9eff;
    --pale:   #c8deff;
    --white:  #eef4ff;
    --muted:  #5a7da8;
    --border: rgba(31,111,235,.25);
}

html { scroll-behavior: smooth; }

body {
    background: var(--navy);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── Background mesh ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
            radial-gradient(ellipse 80% 60% at 15% 10%, rgba(31,111,235,.18) 0%, transparent 60%),
            radial-gradient(ellipse 60% 50% at 85% 80%, rgba(10,32,68,.9) 0%, transparent 55%),
            radial-gradient(ellipse 40% 35% at 50% 50%, rgba(31,111,235,.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Grid overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
            linear-gradient(rgba(31,111,235,.04) 1px, transparent 1px),
            linear-gradient(90deg, rgba(31,111,235,.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* ── Layout ── */
.page {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ── Nav ── */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 4rem;
    opacity: 0;
    animation: fadeDown .8s .2s ease forwards;
}

.logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -.02em;
    color: var(--white);
    text-decoration: none;
}

.logo span { color: var(--glow); }

.nav-tag {
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: .35rem .9rem;
    border-radius: 999px;
}

/* ── Content Section ── */
.content {
    flex: 1;
    max-width: 780px;
    width: 100%;
    margin: 0 auto;
    padding: 5rem 2rem 6rem;
    opacity: 0;
    animation: fadeUp .8s .4s ease forwards;
}

.section-label {
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--glow);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .7rem;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border), transparent);
}

h1 {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    line-height: 1.0;
    letter-spacing: -.04em;
    margin-bottom: 1.5rem;
}

h1 em {
    font-style: normal;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--accent);
}

.lead {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--pale);
    opacity: .75;
    max-width: 620px;
    margin-bottom: 3.5rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--border);
}

/* ── Body content styles ── */
.body-content h2 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    letter-spacing: -.03em;
    margin: 2.8rem 0 .9rem;
    color: var(--white);
}

.body-content h2:first-child { margin-top: 0; }

.body-content p {
    font-size: .98rem;
    line-height: 1.8;
    color: var(--pale);
    opacity: .7;
    margin-bottom: 1.2rem;
}

.body-content ul, .body-content ol {
    margin: 1rem 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .65rem;
}
.body-content ul {
    list-style: none;
}

.body-content ul li, .body-content ol li {
    font-size: .96rem;
    line-height: 1.65;
    color: var(--pale);
    opacity: .7;
    padding-left: 1.2rem;
    position: relative;
}

.body-content ol li {
    margin-left: 0.7rem;
}

.body-content ul li::before {
    content: '✦';
    position: absolute;
    left: 0;
    font-size: .55rem;
    color: var(--glow);
    top: .35em;
}

.body-content a {
    color: var(--pale);
    text-decoration: dotted;
}

.body-content a:hover {
    color: var(--white);
    text-decoration: underline;
}

.body-content a:visited {
    color: var(--pale);
}

/* ── Callout card ── */
.callout {
    margin: 2.5rem 0;
    padding: 1.6rem 2rem;
    background: rgba(31,111,235,.07);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 0 10px 10px 0;
}

.callout p {
    margin: 0;
    font-size: .96rem;
    line-height: 1.7;
    color: var(--pale);
    opacity: .85 !important;
}

/* ── Footer ── */
footer {
    text-align: center;
    padding: 2rem;
    font-size: .75rem;
    color: var(--muted);
    letter-spacing: .05em;
    border-top: 1px solid var(--border);
}

footer a {
    text-decoration: none;
    color: var(--muted);
}

footer a:visited{
    text-decoration: none;
    color: var(--muted);
}

footer a:hover {
    text-decoration: underline;
    color: #fff;
}



/* ── Animations ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 700px) {
    nav { padding: 1.5rem 1.5rem; }
    .content { padding: 3rem 1.5rem 5rem; }
}

@media (max-width: 420px) {
    nav .nav-tag { display: none; }
}