:root {
    --bg: #080808;
    --bg-soft: #111111;
    --surface: #111111;
    --surface-strong: #151515;
    --text: #f4f1ea;
    --muted: #a9a39a;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.26);
    --shadow: none;
    --brand: #f2eee6;
    --brand-strong: #ffffff;
    --accent: #d91818;
    --accent-strong: #ff2f2f;
    --accent-soft: rgba(217, 24, 24, 0.18);
    --planned: #9f9a90;
    --font-display: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: var(--font-body);
    background: var(--bg);
}

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

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface-strong);
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-kicker {
    margin: 0 0 6px;
    color: #ff8d8d;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 500;
}

.site-header h1 {
    margin: 0;
    max-width: none;
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 300;
    letter-spacing: 0.01em;
}

.header-copy {
    max-width: 34ch;
    color: var(--muted);
    line-height: 1.6;
    text-align: right;
}

.topbar-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 0;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--brand-strong);
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.layout-shell {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.sidebar {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 18px;
}

.sidebar-logos,
.sidebar-panel,
.sidebar-nav,
.hero,
.roadmap {
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface-strong);
}

.sidebar-logos {
    padding: 18px;
    background: #0d0d0d;
}

.sidebar-nav {
    display: grid;
    gap: 8px;
    padding: 14px;
}

.sidebar-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 0;
    color: var(--muted);
    text-decoration: none;
    background: transparent;
    border: 1px solid transparent;
    font-weight: 300;
}

.sidebar-nav a:hover,
.sidebar-nav a.is-active {
    color: var(--brand-strong);
    background: #1a1a1a;
    border-color: rgba(217, 24, 24, 0.45);
}

.sidebar-panel {
    padding: 18px;
}

.main-content {
    display: grid;
    gap: 24px;
}

.hero {
    padding: 0;
    overflow: hidden;
}

.hero-copy,
.app-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 0;
}

.hero-copy {
    padding: 42px;
    position: relative;
    overflow: hidden;
    min-height: 100%;
    background: var(--surface-strong);
}

.hero-copy::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 8px;
    height: 100%;
    background: var(--accent);
    pointer-events: none;
}

.eyebrow,
.panel-label,
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.74rem;
    font-weight: 500;
    color: #ff8d8d;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--font-display);
    line-height: 1.02;
}

h2 {
    margin-top: 12px;
    max-width: 12ch;
    font-size: clamp(3rem, 7vw, 5.8rem);
    font-weight: 300;
    letter-spacing: 0.01em;
}

.lead,
.section-heading p,
.app-card p,
.panel-note {
    color: var(--muted);
    line-height: 1.6;
    font-size: 1rem;
}

.lead {
    max-width: 60ch;
    margin: 24px 0 0;
}

.hero-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-strip span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    color: #ddd5c8;
    font-size: 0.82rem;
    font-weight: 300;
}

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

.button,
.card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 400;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.card-link:hover {
    transform: none;
}

.button-primary {
    background: var(--accent);
    color: #fff5f5;
    border: 1px solid var(--accent);
}

.button-primary:hover {
    background: var(--accent-strong);
}

.button-secondary {
    color: var(--text);
    border: 1px solid var(--line);
    background: transparent;
}

.brand-mark {
    margin: 0;
    padding: 14px;
    border-radius: 0;
    border: 1px solid var(--line);
    background: #111111;
}

.brand-mark img {
    display: block;
    width: 100%;
    height: auto;
}

.sidebar-logos .brand-mark + .brand-mark {
    margin-top: 16px;
}

.stats {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.stats li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 0;
    background: #191919;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stats strong {
    font-size: 1.5rem;
    color: var(--brand-strong);
    font-weight: 300;
}

.stats span {
    color: var(--muted);
    text-align: right;
}

.panel-note {
    margin-top: 18px;
}

.section-heading {
    margin: 0;
}

.section-heading-compact {
    margin-top: 0;
}

.section-heading h2 {
    margin-top: 10px;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 300;
}

.section-heading p {
    max-width: 62ch;
    margin-top: 12px;
}

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

.app-card {
    padding: 24px;
    position: relative;
    overflow: hidden;
    background: var(--surface);
}

.app-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    pointer-events: none;
}

.app-card.is-live::after {
    background: var(--accent);
}

.app-card.is-planned::after {
    background: rgba(255, 255, 255, 0.16);
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 0;
    background: var(--planned);
    box-shadow: none;
}

.is-live .dot {
    background: var(--accent);
    box-shadow: none;
}

.app-card h3 {
    margin-top: 18px;
    font-size: 1.7rem;
    font-weight: 300;
}

.app-card p {
    margin: 14px 0 20px;
}

.card-link {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: #f0e8db;
}

.is-live .card-link {
    background: transparent;
    border-color: rgba(217, 24, 24, 0.45);
    color: #ffd7d7;
}

.card-link.is-disabled {
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--planned);
    background: transparent;
    cursor: default;
}

.roadmap {
    padding: 28px;
}

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

.roadmap-card {
    padding: 22px;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #181818;
}

.roadmap-step {
    display: inline-block;
    color: #ff8d8d;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    margin-bottom: 12px;
}

.roadmap-card h3 {
    font-size: 1.45rem;
    margin-bottom: 10px;
    font-weight: 300;
}

.roadmap-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.site-footer {
    padding: 26px 4px 0;
}

.footer-title {
    margin: 0;
    color: var(--brand-strong);
    font-family: var(--font-display);
    font-size: 1.08rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 400;
}

.footer-copy {
    margin: 8px 0 0;
    color: var(--muted);
}

@media (max-width: 900px) {
    .layout-shell,
    .app-grid,
    .roadmap-grid {
        grid-template-columns: 1fr;
    }

    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-copy {
        text-align: left;
        max-width: none;
    }

    .sidebar {
        position: static;
    }

    .hero-copy {
        padding: 32px 24px;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100% - 20px, 1180px);
        padding-top: 18px;
    }

    .hero-copy,
    .app-card,
    .roadmap,
    .site-header,
    .sidebar-logos,
    .sidebar-panel,
    .sidebar-nav,
    .hero {
        border-radius: 0;
    }

    h2 {
        max-width: none;
        font-size: clamp(2.4rem, 16vw, 4rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .button,
    .card-link {
        width: 100%;
    }

    .stats li {
        align-items: flex-start;
        flex-direction: column;
    }

    .stats span {
        text-align: left;
    }
}
