:root {
    color-scheme: dark;
    --bg-1: #07141f;
    --bg-2: #0f2c3b;
    --bg-3: #183d45;
    --surface: rgba(8, 19, 29, 0.72);
    --surface-strong: rgba(10, 27, 39, 0.9);
    --border: rgba(176, 221, 217, 0.18);
    --text: #ecf8f5;
    --muted: #bfd7d2;
    --accent: #9af3d6;
    --accent-strong: #58e1d6;
    --warning: #f6d58c;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    font-family: "Manrope", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(88, 225, 214, 0.24), transparent 32%),
        radial-gradient(circle at 80% 20%, rgba(154, 243, 214, 0.16), transparent 22%),
        linear-gradient(140deg, var(--bg-1), var(--bg-2) 50%, var(--bg-3));
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: 0;
    border-radius: 999px;
    filter: blur(12px);
}

body::before {
    top: 7rem;
    left: -4rem;
    width: 18rem;
    height: 18rem;
    background: rgba(88, 225, 214, 0.12);
}

body::after {
    right: 6%;
    bottom: 8%;
    width: 14rem;
    height: 14rem;
    background: rgba(246, 213, 140, 0.09);
}

.page-shell {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 3rem 0 4rem;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
    gap: 1.5rem;
    align-items: stretch;
}

.hero-copy,
.hero-panel,
.feature-card,
.cta-band {
    backdrop-filter: blur(14px);
    background: linear-gradient(180deg, rgba(12, 29, 42, 0.88), rgba(8, 18, 28, 0.78));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel {
    border-radius: 28px;
    padding: 2rem;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 28rem;
}

.eyebrow,
.panel-label,
.feature-label {
    margin: 0 0 0.9rem;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Fraunces", serif;
    font-weight: 700;
    line-height: 1.05;
}

h1 {
    max-width: 10ch;
    font-size: clamp(3.4rem, 7vw, 5.8rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.55rem;
}

.lead {
    max-width: 32rem;
    margin: 1.25rem 0 0;
    font-size: 1.35rem;
    line-height: 1.55;
    color: #f5fffc;
}

.body-copy,
.hero-panel p,
.feature-card p,
.cta-note {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
    margin-top: 2rem;
}

.support-link,
.cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 3.25rem;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease,
        color 180ms ease;
}

.support-link {
    color: #031c1a;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 18px 40px rgba(88, 225, 214, 0.2);
}

.support-link:hover,
.support-link:focus-visible,
.cta-link:hover,
.cta-link:focus-visible {
    transform: translateY(-1px);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 3.25rem;
    padding: 0.85rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(154, 243, 214, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-weight: 600;
}

.status-pill.is-live {
    border-color: rgba(154, 243, 214, 0.28);
    color: var(--accent);
}

.status-pill.is-down {
    border-color: rgba(246, 213, 140, 0.28);
    color: var(--warning);
}

.hero-panel {
    position: relative;
    overflow: hidden;
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: auto -4rem -4rem auto;
    width: 10rem;
    height: 10rem;
    background: radial-gradient(circle, rgba(154, 243, 214, 0.18), transparent 70%);
}

.panel-list {
    margin: 1.25rem 0 0;
    padding-left: 1.15rem;
    color: var(--text);
    line-height: 1.8;
}

.panel-list li + li {
    margin-top: 0.45rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.feature-card {
    border-radius: 24px;
    padding: 1.6rem;
}

.feature-card h3 {
    margin-top: 0.3rem;
}

.inline-contact {
    color: var(--accent);
    font-weight: 700;
}

.cta-band {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 1.5rem;
    align-items: center;
    border-radius: 30px;
    margin-top: 1.5rem;
    padding: 2rem;
}

.cta-card {
    padding: 1.5rem;
    border-radius: 24px;
    border: 1px solid rgba(154, 243, 214, 0.14);
    background: rgba(255, 255, 255, 0.04);
}

.cta-card .panel-label {
    margin-bottom: 0.75rem;
}

.cta-link {
    width: 100%;
    padding-inline: 1rem;
    color: var(--text);
    border: 1px solid rgba(154, 243, 214, 0.24);
    background: rgba(154, 243, 214, 0.08);
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    animation: reveal-up 700ms ease forwards;
}

.hero-panel.reveal {
    animation-delay: 120ms;
}

.feature-card:nth-child(1) {
    animation-delay: 140ms;
}

.feature-card:nth-child(2) {
    animation-delay: 220ms;
}

.feature-card:nth-child(3) {
    animation-delay: 300ms;
}

.cta-band.reveal {
    animation-delay: 320ms;
}

@keyframes reveal-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .hero,
    .cta-band,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        min-height: auto;
    }
}

@media (max-width: 780px) {
    .page-shell {
        width: min(100% - 1.25rem, 42rem);
        padding-top: 1rem;
    }

    .hero-copy,
    .hero-panel,
    .feature-card,
    .cta-band {
        padding: 1.4rem;
        border-radius: 22px;
    }

    h1 {
        font-size: clamp(2.8rem, 14vw, 4.4rem);
    }

    .lead {
        font-size: 1.1rem;
    }

    .hero-actions {
        align-items: stretch;
    }

    .support-link,
    .status-pill,
    .cta-link {
        width: 100%;
        justify-content: center;
    }
}
