:root {
    color-scheme: dark;
    --bg: #101415;
    --surface: #161c20;
    --surface-2: #0d1318;
    --text: #e0e3e5;
    --muted: #aab2b8;
    --line: rgba(255, 255, 255, 0.1);
    --cyan: #74f5ff;
    --gold: #f7a600;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, sans-serif;
}

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

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

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    background: rgba(16, 20, 21, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.brand span {
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 20px 96px;
}

.hero {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(116, 245, 255, 0.08), transparent 35%),
        linear-gradient(180deg, rgba(247, 166, 0, 0.08), transparent 45%),
        var(--surface-2);
    padding: 32px;
    margin-bottom: 28px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(116, 245, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(116, 245, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--gold);
    box-shadow: 0 0 12px rgba(247, 166, 0, 0.45);
}

.hero h1 {
    margin: 0 0 14px;
    font-family: "Hanken Grotesk", sans-serif;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.hero p {
    margin: 0 0 22px;
    max-width: 720px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button {
    background: var(--gold);
    color: #111;
    box-shadow: 0 0 24px rgba(247, 166, 0, 0.24);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--line);
}

.button:hover,
.button-secondary:hover {
    transform: translateY(-1px);
}

.grid {
    display: grid;
    gap: 18px;
    margin-bottom: 18px;
}

.grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.panel {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    padding: 24px;
}

.panel h2,
.panel h3 {
    margin: 0 0 14px;
    font-family: "Hanken Grotesk", sans-serif;
    line-height: 1.2;
}

.panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.list li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.7;
}

.list li:last-child {
    margin-bottom: 0;
}

.list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--cyan);
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill {
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-size: 14px;
}

.keyword-cloud {
    color: var(--muted);
    line-height: 2;
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.related-links a {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.page-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 900px) {
    .grid.two-col,
    .grid.three-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .topbar {
        padding: 12px 14px;
    }

    .brand span {
        font-size: 18px;
    }

    .topbar-actions {
        gap: 8px;
    }

    .page-shell {
        padding: 24px 14px 92px;
    }

    .hero {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .button,
    .button-secondary {
        width: 100%;
    }
}
