:root {
    --ink: #11231c;
    --muted: #50625b;
    --surface: rgba(250, 247, 239, 0.8);
    --surface-strong: rgba(255, 251, 242, 0.92);
    --line: rgba(17, 35, 28, 0.12);
    --accent: #d76f2d;
    --accent-deep: #a34714;
    --mint: #bde0c5;
    --shadow: 0 22px 60px rgba(25, 34, 29, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(215, 111, 45, 0.28), transparent 32%),
        radial-gradient(circle at bottom right, rgba(89, 158, 122, 0.22), transparent 28%),
        linear-gradient(160deg, #f4efe2 0%, #e7efe8 55%, #f8f4ea 100%);
}

code {
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
}

.page-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 40px;
}

.hero,
.panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.hero {
    padding: 56px;
}

.hero::after,
.panel::after {
    content: '';
    position: absolute;
    inset: auto -10% -55% auto;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(189, 224, 197, 0.55), transparent 68%);
}

.eyebrow,
.section-kicker,
.label {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    color: var(--accent-deep);
}

h1,
h2 {
    margin: 0;
    line-height: 0.96;
}

h1 {
    max-width: 10ch;
    font-size: clamp(3.2rem, 8vw, 6.4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    max-width: 14ch;
}

.lede {
    max-width: 62ch;
    margin: 22px 0 0;
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: #fff7ef;
    background: linear-gradient(135deg, var(--accent) 0%, #cc4a29 100%);
    box-shadow: 0 12px 30px rgba(204, 74, 41, 0.25);
}

.button-secondary {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid var(--line);
}

main {
    display: grid;
    gap: 22px;
    margin-top: 22px;
}

.status-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 28px;
}

.status-grid article,
.telemetry,
.split-layout {
    position: relative;
    z-index: 1;
}

.status-grid article {
    padding: 22px;
    border-radius: var(--radius-md);
    background: var(--surface-strong);
    border: 1px solid rgba(17, 35, 28, 0.08);
}

.status-grid strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.status-grid p,
.split-layout p,
.telemetry p,
.steps,
.facts dd,
.site-footer {
    color: var(--muted);
    line-height: 1.7;
}

.split-layout,
.telemetry {
    display: grid;
    gap: 24px;
    padding: 34px;
}

.split-layout {
    grid-template-columns: 1.2fr 1fr;
}

.steps {
    margin: 0;
    padding-left: 20px;
}

.steps li+li {
    margin-top: 12px;
}

.facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}

.facts div {
    padding: 18px;
    border-radius: var(--radius-md);
    background: var(--surface-strong);
    border: 1px solid rgba(17, 35, 28, 0.08);
}

.facts dt {
    margin: 0 0 8px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-deep);
}

.facts dd {
    margin: 0;
    font-weight: 500;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding: 0 6px;
    font-size: 0.94rem;
}

.error-shell {
    display: grid;
    place-items: center;
    min-height: 100vh;
}

.error-panel {
    width: min(720px, 100%);
    padding: 48px;
}

@media (max-width: 920px) {
    .hero {
        padding: 32px;
    }

    .status-grid,
    .split-layout,
    .telemetry,
    .facts {
        grid-template-columns: 1fr;
    }

    .site-footer {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: no-preference) {

    .hero,
    .panel {
        animation: reveal 560ms ease both;
    }

    .panel:nth-of-type(2) {
        animation-delay: 100ms;
    }

    .panel:nth-of-type(3) {
        animation-delay: 180ms;
    }
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}