:root {
    --bg: #08130d;
    --bg-soft: #0d1c14;
    --panel: rgba(12, 24, 18, 0.78);
    --panel-strong: rgba(15, 28, 20, 0.96);
    --line: rgba(255, 255, 255, 0.08);
    --text: #effcf5;
    --muted: #9ab8a8;
    --green: #74f0b6;
    --teal: #57d7d2;
    --gold: #e6cf78;
    --shadow: 0 28px 72px rgba(0, 0, 0, 0.42);
    --radius-lg: 28px;
    --radius-md: 20px;
    --content-width: 1140px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 14% 18%, rgba(116, 240, 182, 0.12), transparent 24%),
        radial-gradient(circle at 82% 14%, rgba(87, 215, 210, 0.14), transparent 24%),
        linear-gradient(180deg, #040a07 0%, var(--bg) 52%, #07110c 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 62px 62px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 92%);
}

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

.site-shell {
    width: min(calc(100% - 32px), var(--content-width));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 18px;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 22px;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(7, 16, 12, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--gold));
    box-shadow: 0 0 24px rgba(116, 240, 182, 0.56);
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-copy strong {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.brand-copy span,
.site-nav a,
.hero-text,
.section-heading p,
.panel-card p,
.link-card p,
.site-footer p {
    color: var(--muted);
}

.site-nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.site-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
    gap: 28px;
    align-items: center;
    min-height: calc(100vh - 180px);
    padding: 72px 0 46px;
}

.hero-copy,
.hero-panel,
.panel-card,
.section-band,
.link-card {
    border: 1px solid var(--line);
    background: var(--panel);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: 42px;
    border-radius: var(--radius-lg);
}

.hero h1 {
    margin: 12px 0;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.eyebrow {
    margin: 0;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.74rem;
    font-weight: 700;
}

.subtitle {
    margin: 0 0 18px;
    color: #d6fbe6;
    font-size: clamp(1.08rem, 2.5vw, 1.5rem);
}

.hero-text,
.section-heading p,
.panel-card p,
.link-card p {
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible,
.text-link:hover,
.text-link:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(135deg, var(--green), var(--teal));
    color: #07150f;
    box-shadow: 0 18px 42px rgba(116, 240, 182, 0.2);
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
}

.hero-panel {
    padding: 24px;
    border-radius: var(--radius-lg);
}

.status-stack {
    display: grid;
    gap: 16px;
}

.status-stack article,
.panel-card,
.link-card {
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
}

.status-stack article {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.status-stack span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
}

.status-stack strong {
    display: block;
    margin-top: 10px;
    font-size: 1.48rem;
}

.section {
    padding: 34px 0 18px;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 26px;
}

.section-heading h2 {
    margin: 10px 0 12px;
    font-size: clamp(2rem, 4vw, 3.05rem);
    line-height: 1.08;
}

.section-heading.compact {
    margin-bottom: 18px;
}

.panel-grid,
.link-grid {
    display: grid;
    gap: 18px;
}

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

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

.panel-card,
.link-card {
    padding: 24px;
}

.panel-kicker {
    margin: 0 0 12px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
}

.panel-card h3,
.link-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.42rem;
}

.section-band {
    padding: 30px;
    border-radius: var(--radius-lg);
}

.text-link {
    display: inline-flex;
    margin-top: 10px;
    color: var(--text);
    font-weight: 700;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 36px 0 42px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-links a {
    color: var(--muted);
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--text);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1040px) {
    .panel-grid,
    .link-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .topbar {
        position: static;
        border-radius: 24px;
        padding: 16px;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 36px;
    }

    .hero-copy,
    .hero-panel,
    .section-band {
        padding: 24px;
    }
}

@media (max-width: 640px) {
    .site-shell {
        width: min(calc(100% - 20px), var(--content-width));
    }
}
