:root {
    --ink: #0a0c14;
    --paper: #f7f6f1;
    --accent: #6fffe9;
    --accent-strong: #3b7dff;
    --soft: #c1c7ff;
    --glow: rgba(111, 255, 233, 0.2);
    --card: rgba(9, 12, 21, 0.72);
    --edge: rgba(255, 255, 255, 0.1);
    --grid: rgba(255, 255, 255, 0.06);
}

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

body {
    font-family: "Space Grotesk", sans-serif;
    color: var(--paper);
    background: radial-gradient(circle at 10% 20%, #0f172a, #02030a 55%);
    min-height: 100vh;
}

.atmosphere {
    position: relative;
    padding: 3rem clamp(1.5rem, 5vw, 5rem);
    overflow: hidden;
}

.atmosphere::before,
.atmosphere::after {
    content: "";
    position: absolute;
    inset: auto;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 125, 255, 0.5), transparent 60%);
    filter: blur(50px);
    z-index: 0;
}

.atmosphere::before {
    top: -120px;
    right: -140px;
}

.atmosphere::after {
    bottom: -160px;
    left: -120px;
}

.site-header,
.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.logo {
    font-family: "Newsreader", serif;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

nav a {
    color: var(--paper);
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}

nav a:hover {
    opacity: 0.7;
}

nav .cta {
    border: 1px solid var(--soft);
    padding: 0.5rem 1.4rem;
    border-radius: 999px;
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    padding: 3.5rem;
    background: rgba(8, 10, 18, 0.75);
    border: 1px solid var(--grid);
    border-radius: 32px;
    backdrop-filter: blur(16px);
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-text p {
    max-width: 520px;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(247, 246, 241, 0.85);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    color: var(--soft);
    margin-bottom: 1rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    border-radius: 999px;
    padding: 0.9rem 1.8rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
    background: linear-gradient(120deg, var(--accent), var(--accent-strong));
    color: #05060b;
    box-shadow: 0 10px 30px rgba(107, 255, 233, 0.3);
}

.btn.ghost {
    border: 1px solid var(--edge);
    color: var(--paper);
}

.btn:hover {
    transform: translateY(-2px);
}

.hero-panel {
    border: 1px solid var(--grid);
    border-radius: 24px;
    padding: 2rem;
    background: rgba(6, 8, 16, 0.8);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: space-between;
}

.orbital {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 1px dashed var(--edge);
    display: grid;
    place-items: center;
    position: relative;
}

.pulse {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 25px var(--accent);
    animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}

.panel-copy span {
    font-size: 0.9rem;
    color: var(--soft);
}

.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
    position: relative;
    z-index: 2;
}

.metrics article {
    border: 1px solid var(--grid);
    border-radius: 20px;
    padding: 1.8rem;
    background: rgba(4, 7, 12, 0.8);
}

.metrics h3 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
    position: relative;
    z-index: 2;
}

.grid-intro h2 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.grid-cards article {
    border: 1px solid var(--grid);
    background: var(--card);
    border-radius: 20px;
    padding: 1.8rem;
}

.grid-cards ul {
    margin-top: 1rem;
    list-style: none;
    color: rgba(247, 246, 241, 0.8);
}

.grid-cards li::before {
    content: "•";
    color: var(--accent);
    margin-right: 0.5rem;
}

.labs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 3rem;
    margin: 2rem 0;
    border-radius: 28px;
    border: 1px solid var(--grid);
    background: rgba(6, 8, 15, 0.85);
    position: relative;
    z-index: 2;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.pillars div {
    border: 1px solid var(--edge);
    border-radius: 16px;
    padding: 1rem;
}

.labs-panel {
    border: 1px solid var(--grid);
    border-radius: 20px;
    padding: 1.5rem;
    background: rgba(2, 4, 10, 0.8);
}

.labs-panel ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.labs-panel li {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.labs-panel li:last-child {
    border-bottom: none;
}

.labs-panel span {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.story {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin: 3rem 0 4rem;
    position: relative;
    z-index: 2;
}

.story-card,
.story-cta {
    border: 1px solid var(--grid);
    border-radius: 24px;
    padding: 2rem;
    background: rgba(8, 10, 19, 0.85);
}

.story-card ol {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.story-card span {
    font-weight: 600;
}

.story-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.site-footer {
    border-top: 1px solid var(--grid);
    padding-top: 1.5rem;
    margin-top: 3rem;
}

@media (max-width: 600px) {
    .site-header,
    .site-footer {
        flex-direction: column;
        text-align: center;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero,
    .labs {
        padding: 2rem;
    }
}
