:root {
    color-scheme: dark;
    --bg: #08101a;
    --bg-soft: #0c1624;
    --panel: rgba(12, 19, 31, 0.84);
    --panel-strong: rgba(16, 24, 40, 0.95);
    --line: rgba(145, 168, 255, 0.14);
    --line-strong: rgba(145, 168, 255, 0.22);
    --text: #f4f7ff;
    --muted: #aab7d1;
    --accent: #7b8cff;
    --accent-2: #69d8ff;
    --max: 1140px;
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: Inter, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(123, 140, 255, 0.22), transparent 22%),
        radial-gradient(circle at 90% 12%, rgba(105, 216, 255, 0.14), transparent 20%),
        linear-gradient(180deg, #09111c 0%, #07101a 100%);
    line-height: 1.6;
}

a {
    color: inherit;
}

.site-shell {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

.site-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(8, 14, 24, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.site-brand {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
}

.site-brand-mark {
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 800;
}

.site-brand-name {
    color: #e6eeff;
    font-size: 1.02rem;
    font-weight: 600;
}

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

.site-nav a {
    text-decoration: none;
    color: var(--muted);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.hero,
.section {
    padding: 48px 0;
}

.hero-grid,
.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    gap: 32px;
    align-items: start;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(155, 178, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: #dce8ff;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 18px;
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(1.7rem, 3.8vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.18rem;
}

.lead,
.section-heading p,
.hero-copy p,
.card p,
.endpoint-card p,
.intro-panel p {
    color: var(--muted);
}

.button-row,
.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
}

.button-primary {
    color: #08111c;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    box-shadow: 0 12px 30px rgba(105, 136, 255, 0.24);
}

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

.hero-panel,
.card,
.endpoint-card,
.intro-panel {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        var(--panel);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.hero-panel,
.intro-panel {
    padding: 24px;
}

.hero-panel-header {
    display: grid;
    gap: 4px;
    margin-bottom: 18px;
}

.hero-panel-kicker,
.status-chip {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(123, 140, 255, 0.14);
    color: #dce6ff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.price-pill {
    color: #dfe8ff;
    background: linear-gradient(180deg, rgba(104, 132, 214, 0.34), rgba(77, 101, 176, 0.24));
    border: 1px solid rgba(151, 176, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 6px 18px;
    margin-bottom: 18px;
    min-width: 132px;
    justify-content: center;
    border-radius: 12px;
}

.signal-grid,
.card-grid,
.mode-grid,
.endpoint-grid {
    display: grid;
    gap: 16px;
}

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

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

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

.signal-card,
.card,
.endpoint-card {
    padding: 22px;
}

.card,
.endpoint-card {
    display: flex;
    flex-direction: column;
}

.signal-card {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.signal-card h2 {
    margin-bottom: 8px;
    font-size: 1rem;
}

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

.card .section-actions,
.endpoint-card .section-actions {
    margin-top: auto;
    padding-top: 8px;
}

.section-accent {
    padding-bottom: 68px;
}

.simple-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.simple-list li + li {
    margin-top: 10px;
}

.offer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    color: var(--muted);
}

.offer-list li {
    position: relative;
    padding-left: 22px;
}

.offer-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(141, 170, 255, 0.88), rgba(105, 216, 255, 0.78));
    box-shadow: 0 0 12px rgba(105, 136, 255, 0.18);
}

.page-header {
    padding: 48px 0 24px;
}

.page-header h1 {
    margin-bottom: 14px;
}

.muted-link {
    color: #dce6ff;
}

.bot-card-title,
.endpoint-code {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.endpoint-code code {
    font-size: 0.92rem;
    color: #dde9ff;
}

.site-footer {
    padding: 0 0 44px;
}

.site-footer p {
    color: var(--muted);
}

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

@media (max-width: 680px) {
    .site-shell {
        width: min(var(--max), calc(100% - 22px));
    }

    .topbar-inner {
        min-height: 68px;
    }

    .hero,
    .section,
    .page-header {
        padding: 34px 0;
    }

    .signal-grid,
    .mode-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.3rem;
    }
}
