:root {
    --bg: #050505;
    --panel: rgba(12, 12, 16, 0.88);
    --border: rgba(255, 255, 255, 0.1);
    --text: #f6f4f1;
    --muted: rgba(246, 244, 241, 0.7);
    --accent: #ffffff;
    --accent-soft: rgba(255, 255, 255, 0.08);
    --shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 28%),
        linear-gradient(180deg, #050505 0%, #08080a 42%, #040404 100%);
    font-family: "Roboto Flex", sans-serif;
    overflow-x: hidden;
}

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

.page-shell {
    width: min(980px, calc(100% - 28px));
    margin: 0 auto;
    padding: 26px 0 56px;
}

.topbar,
.hero,
.panel {
    border: 1px solid var(--border);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 24px;
    margin-bottom: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

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

.back-link {
    color: var(--muted);
}

.hero,
.panel {
    border-radius: 30px;
}

.hero {
    padding: 34px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: var(--accent-soft);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

h1 {
    margin: 18px 0 14px;
    font-size: clamp(2.1rem, 7vw, 4.7rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
    overflow-wrap: anywhere;
}

h2 {
    margin: 0 0 12px;
    font-size: 1.8rem;
    line-height: 1.05;
}

p,
li {
    color: var(--muted);
    line-height: 1.7;
}

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

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 18px;
    font-weight: 700;
}

.primary-button {
    border: 1px solid #ffffff;
    color: #000000;
    background: #ffffff;
}

.ghost-button {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
}

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

.panel {
    padding: 26px;
}

ul {
    margin: 0;
    padding-left: 18px;
}

li + li {
    margin-top: 10px;
}

code {
    padding: 2px 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-family: "JetBrains Mono", monospace;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 760px) {
    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero,
    .panel {
        padding: 22px;
    }

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

    .actions {
        flex-direction: column;
        align-items: stretch;
    }

    h1 {
        font-size: clamp(1.9rem, 11vw, 3.2rem);
    }
}
