:root {
    --bg: #0a0f14;
    --panel: #0f1720;
    --panel-top: #16202b;
    --text: #d7e1ea;
    --muted: #8ea0b3;
    --line: #223140;
    --accent: #7ee787;
    --accent-soft: rgba(126, 231, 135, 0.14);
    --red: #ff5f56;
    --amber: #ffbd2e;
    --green: #27c93f;
    --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    font-size: 17px;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(126, 231, 135, 0.08), transparent 25%),
        radial-gradient(circle at bottom right, rgba(62, 166, 255, 0.08), transparent 28%),
        linear-gradient(180deg, #091018 0%, #05080d 100%);
}

.page {
    width: min(980px, calc(100% - 1.5rem));
    margin: 3rem auto;
    padding-bottom: 2rem;
}

.hero,
.panel,
.strip,
.notes {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(15, 23, 32, 0.92), rgba(11, 18, 25, 0.96));
    box-shadow: var(--shadow);
}

.hero {
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0, rgba(126, 231, 135, 0.05) 1px, transparent 1px),
        linear-gradient(transparent 0, rgba(126, 231, 135, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.eyebrow,
.label,
.strip-label {
    margin: 0 0 0.9rem;
    color: var(--accent);
    font-family: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 1rem;
    max-width: 10ch;
    font-size: clamp(2.6rem, 7vw, 5.4rem);
    line-height: 0.92;
    letter-spacing: -0.05em;
}

.lede,
.panel p,
.notes p {
    color: var(--muted);
    line-height: 1.7;
}

.lede {
    margin-bottom: 0;
    max-width: 44rem;
    font-size: 1.05rem;
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel {
    padding: 1.25rem;
    border-radius: 0.9rem;
}

.label {
    margin-bottom: 0.6rem;
}

.strip {
    padding: 1.1rem 1.25rem;
    border-radius: 0.9rem;
    margin-bottom: 1rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.tags span {
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--text);
    font-family: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.85rem;
}

.mono {
    color: var(--text);
    font-family: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

@media (max-width: 760px) {
    html {
        font-size: 15px;
    }

    .page {
        width: min(100% - 0.75rem, 980px);
        margin: 0.4rem auto;
    }

    .hero,
    .panel,
    .strip,
    .notes {
        padding: 1rem;
    }

    .panel-grid {
        grid-template-columns: 1fr;
    }
}
