:root {
    --bg: #08151f;
    --panel: rgba(255, 255, 255, 0.035);
    --panel-border: rgba(153, 201, 229, 0.16);
    --text: #eef8ff;
    --muted: #9ec0d5;
    --accent: #45d8af;
    --accent-strong: #1ca889;
    --accent-2: #5fb8f2;
    --font-main: "Manrope", "Inter", sans-serif;
    --font-display: "Space Grotesk", "Manrope", sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    color: var(--text);
    background: radial-gradient(circle at 15% 0%, #14314a 0%, #0a1a26 45%, #060f16 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Soft ambient glows, lighter/airier than a dense dashboard */
.ambient {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.ambient-a {
    width: 34rem;
    height: 34rem;
    top: -12rem;
    left: -10rem;
    background: rgba(69, 216, 175, 0.16);
}

.ambient-b {
    width: 30rem;
    height: 30rem;
    right: -10rem;
    bottom: -8rem;
    background: rgba(95, 184, 242, 0.12);
}

.wrap {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header.top {
    text-align: center;
    margin-bottom: 2.5rem;
}

.logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    color: var(--muted);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.logo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(69, 216, 175, 0.7);
}

.eyebrow {
    margin: 0 0 0.5rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.7rem;
    color: #fff;
}

.tagline {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Flow: a simple row of cards with static arrows between them. */
.flow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1.5rem 0 1rem;
}

.flow-arrow {
    flex-shrink: 0;
    color: var(--accent);
    font-size: 1.4rem;
    line-height: 1;
    opacity: 0.7;
}

.stage {
    position: relative;
    z-index: 1;
    width: 220px;
    background: var(--panel);
    backdrop-filter: blur(14px);
    border: 1px solid var(--panel-border);
    border-radius: 20px;
    padding: 1.25rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-height: 260px;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.stage:hover {
    transform: translateY(-4px);
    border-color: rgba(69, 216, 175, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.stage-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.82rem;
    color: #04211a;
    background: linear-gradient(140deg, var(--accent), var(--accent-2));
    flex-shrink: 0;
}

.stage h2 {
    font-family: var(--font-display);
    margin: 0;
    font-size: 1.05rem;
    color: #fff;
    font-weight: 700;
}

.stage .who {
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 700;
}

.stage p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.45;
    flex: 1;
}

.stage-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.pill {
    background: rgba(69, 216, 175, 0.1);
    border: 1px solid rgba(69, 216, 175, 0.3);
    color: var(--accent);
    padding: 0.32rem 0.62rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.pill:hover {
    background: rgba(69, 216, 175, 0.2);
    border-color: var(--accent);
    transform: translateY(-1px);
}

footer.bottom {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--panel-border);
    font-size: 0.85rem;
    color: var(--muted);
}

footer.bottom a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

footer.bottom a:hover {
    color: #fff;
}

footer.bottom .sep {
    margin: 0 0.7rem;
    color: rgba(158, 192, 213, 0.3);
}

@media (max-width: 900px) {
    .flow {
        flex-direction: column;
        max-width: 380px;
        margin: 0 auto;
        gap: 0.6rem;
        padding: 1rem 0;
    }

    .stage {
        width: 100%;
        height: auto;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }
}
