:root {
    --bg: #0d1016;
    --bg-alt: #121722;
    --panel: #171d29;
    --panel-2: #1c2331;
    --border: #2b3344;

    --text: #edf1f7;
    --muted: #9aa6bd;

    --accent-blue: #62a8ff;
    --accent-green: #5ed37e;
    --accent-gold: #efbb42;
    --accent-pink: #ff6cab;
    --accent-purple: #b899ff;

    --shadow: 0 18px 50px rgba(0, 0, 0, 0.30);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top, rgba(98, 168, 255, 0.08), transparent 35%),
        linear-gradient(180deg, #0b0e14 0%, #0d1016 100%);
    color: var(--text);
    font-family:
        Inter,
        "Segoe UI",
        system-ui,
        sans-serif;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

code,
pre,
.site-logo,
.eyebrow,
.label,
.small-note {
    font-family:
        "IBM Plex Mono",
        "Consolas",
        "Courier New",
        monospace;
}

.wrap {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.narrow {
    width: min(760px, 100%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
    background: rgba(13, 16, 22, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
}

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

.site-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
}

.site-nav a:hover {
    color: var(--text);
}

.hero {
    padding: 72px 0 48px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent-blue);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(3.2rem, 10vw, 5.8rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.tagline {
    margin: 24px 0 18px;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    font-weight: 700;
    line-height: 1.35;
}

.tagline span {
    color: var(--accent-blue);
}

.lead {
    max-width: 62ch;
    margin: 0;
    color: var(--muted);
    font-size: 1.06rem;
}

.hero-points {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-points span {
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: #dce4f2;
    font-size: 0.92rem;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        background 0.15s ease;
}

.button:hover {
    transform: translateY(-2px);
    border-color: var(--accent-blue);
}

.button.primary {
    background: linear-gradient(135deg, var(--accent-blue), #7d8fff);
    border-color: transparent;
    color: #08101b;
}

.hero-poster img {
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.section {
    padding: 72px 0;
}

.section.alt {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section h2 {
    margin: 0 0 18px;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

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

.section-heading p {
    margin: 10px 0 0;
    max-width: 68ch;
    color: var(--muted);
}

blockquote {
    margin: 24px 0;
    padding: 18px 20px;
    border-left: 4px solid var(--accent-blue);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 14px 14px 0;
    color: #f3f6fb;
    font-size: 1.05rem;
}

.concept-cards {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.concept-card,
.mini-panel,
.example-box,
.poster-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}

.concept-card h3,
.mini-panel h3,
.example-box h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
}

.concept-card p,
.mini-panel p,
.example-box p {
    margin: 0;
    color: var(--muted);
}

.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

pre {
    margin: 16px 0 0;
    padding: 16px;
    background: #0d1220;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    overflow-x: auto;
    color: #eef4ff;
    line-height: 1.6;
}

.chain {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 14px;
    align-items: center;
    margin: 28px 0;
}

.step {
    padding: 18px 16px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--panel);
    text-align: center;
    box-shadow: var(--shadow);
}

.step.ing {
    border-color: rgba(94, 211, 126, 0.45);
}

.step.ed {
    border-color: rgba(239, 187, 66, 0.45);
}

.step.ish {
    border-color: rgba(255, 108, 171, 0.45);
}

.label {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.step strong {
    font-size: 1.15rem;
}

.arrow {
    font-size: 1.6rem;
    color: var(--muted);
    text-align: center;
}

.formula {
    margin-bottom: 30px;
    text-align: center;
}

.formula p {
    margin: 0;
}

.formula code {
    font-size: 1.1rem;
    color: var(--accent-purple);
}

.formula-note {
    margin-top: 8px !important;
    color: var(--muted);
    font-size: 0.95rem;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.quote-stack {
    display: grid;
    gap: 18px;
}

.big-quote {
    margin: 0;
    padding: 24px 26px;
    border-radius: 18px;
    border-left: none;
    border: 1px solid var(--border);
    background: var(--panel);
    font-size: clamp(1.15rem, 2.3vw, 1.55rem);
    font-weight: 700;
    line-height: 1.45;
}

.big-quote.accent {
    color: var(--accent-blue);
}

.declaration {
    margin: 0;
    padding-left: 1.2rem;
}

.declaration li {
    margin: 0 0 10px;
}

.small-note {
    margin-top: 24px;
    color: var(--muted);
    font-size: 0.92rem;
}

.poster-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.poster-card {
    padding: 14px;
}

.poster-card img {
    width: 100%;
    border-radius: 14px;
}

.poster-card figcaption {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.95rem;
}

.links-list {
    display: grid;
    gap: 12px;
}

.links-list a {
    padding: 16px 18px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text);
}

.links-list a:hover {
    border-color: var(--accent-blue);
}

.site-footer {
    padding: 28px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: 0.9rem;
}
.footer-links {
    display: flex;
    gap: 16px;
}

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

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


@media (max-width: 980px) {
    .hero-grid,
    .concept-cards,
    .three-col,
    .poster-grid {
        grid-template-columns: 1fr;
    }

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

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

    .arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 760px) {
    .header-inner {
        align-items: flex-start;
        padding: 14px 0;
        flex-direction: column;
    }

    .site-nav {
        gap: 14px;
    }

    .hero {
        padding-top: 44px;
    }

    .section {
        padding: 56px 0;
    }

    .footer-inner {
        flex-direction: column;
    }
}