:root {
    --bg-deep: #08121f;
    --bg-surface: rgba(15, 22, 37, 0.88);
    --bg-surface-strong: rgba(11, 17, 28, 0.94);
    --border-soft: rgba(255, 255, 255, 0.12);
    --gold: #ffd166;
    --mint: #8ef0c3;
    --cyan: #6ac7ff;
    --text-main: #f5f7fb;
    --text-muted: #afbdd4;
    --shadow-heavy: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top, rgba(106, 199, 255, 0.18), transparent 32%),
        linear-gradient(180deg, #0e1b2d 0%, #08121f 100%);
    color: var(--text-main);
    font-family: "Space Grotesk", sans-serif;
}

a {
    color: inherit;
}

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

.page-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 72px;
}

.top-nav,
.footer-nav,
.cta-row,
.mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.top-nav {
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 28px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: "Chakra Petch", sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.brand-cube {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: linear-gradient(135deg, var(--gold), #ff9d4d);
    box-shadow: 12px 8px 0 rgba(106, 199, 255, 0.55);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.nav-link,
.mini-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.nav-link:hover,
.mini-links a:hover {
    color: var(--text-main);
}

.hero-card,
.content-card,
.cta-card,
.related-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-heavy);
}

.hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px);
    gap: 24px;
    padding: 28px;
    border-radius: 30px;
    margin-bottom: 26px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--mint);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-card h1 {
    margin: 16px 0 14px;
    font-family: "Chakra Petch", sans-serif;
    font-size: clamp(38px, 6vw, 62px);
    line-height: 0.94;
    letter-spacing: -0.03em;
}

.hero-card p {
    margin: 0 0 16px;
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.7;
}

.cta-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

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

.cta-button {
    background: linear-gradient(135deg, #ffd166, #ffad49);
    color: #2d1600;
}

.secondary-button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-main);
}

.hero-image {
    height: 100%;
    min-height: 280px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-grid {
    display: grid;
    gap: 20px;
}

.content-card {
    padding: 28px;
    border-radius: 24px;
}

.content-card h2 {
    margin: 0 0 14px;
    font-size: 24px;
    letter-spacing: -0.02em;
}

.content-card h3 {
    margin: 20px 0 10px;
    font-size: 18px;
}

.content-card p,
.content-card li {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.75;
}

.content-card ul,
.content-card ol {
    margin: 0;
    padding-left: 20px;
}

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

.related-card {
    border-radius: 22px;
    padding: 22px;
}

.related-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.related-card p {
    margin: 0 0 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.bullet-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.bullet-pills span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 600;
}

.cta-card {
    margin-top: 24px;
    padding: 26px;
    border-radius: 26px;
}

.cta-card h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.cta-card p {
    margin: 0 0 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-nav {
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 900px) {
    .hero-card,
    .split-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .top-nav,
    .footer-nav {
        align-items: flex-start;
        flex-direction: column;
    }
}
