:root {
    color-scheme: dark;
    --sb-bg:
        radial-gradient(circle at top left, #3348ff33, transparent 55%),
        radial-gradient(circle at bottom right, #7f3cff33, transparent 55%),
        black;
    --sb-panel: rgba(4, 8, 20, 0.85);
    --sb-panel-border: rgba(114, 137, 255, 0.45);
    --sb-text-primary: #ccc;
    --sb-text-primary-strong: #fff;
    --sb-text-muted: lightsteelblue;
    --sb-accent: #6c7bff;
    --sb-accent-strong: #3647ff;
    --sb-radius-lg: 28px;
    --sb-radius-pill: 999px;
    --sb-font: 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: var(--sb-font);
    background: var(--sb-bg);
    color: var(--sb-text-primary);
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.page {
    width: min(760px, 100%);
    display: grid;
    gap: 40px;
    padding: 56px 48px;
    border-radius: var(--sb-radius-lg);
    background: var(--sb-panel);
    border: 1px solid var(--sb-panel-border);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.35);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page::before,
.page::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.55;
}

.page::before {
    background: var(--sb-accent-strong);
    top: -140px;
    right: -100px;
}

.page::after {
    background: #7f3cff;
    bottom: -160px;
    left: -120px;
}

.headline,
.cta-section,
.footnote {
    position: relative;
    z-index: 1;
}

.headline {
    display: grid;
    gap: 16px;
    justify-items: center;
}

.eyebrow {
    margin: 0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--sb-text-muted);
}

a.eyebrow {
    text-decoration: none;
    cursor: pointer;
}

h1 {
    margin: 0;
    font-size: clamp(36px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.tagline {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: var(--sb-text-muted);
    text-align: center;
    max-width: 450px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.plan-table {
    position: relative;
    width: 100%;
    z-index: 1;
    margin-top: 8px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(11, 16, 35, 0.65);
    box-shadow: inset 0 0 30px rgba(20, 28, 56, 0.7);
    overflow: hidden;
}

.plan-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.plan-table th,
.plan-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.plan-table thead th {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sb-text-muted);
}

.plan-table tbody th {
    font-weight: 600;
    color: var(--sb-text-primary);
}

.plan-table tbody th.pro {
    font-weight: 600;
    color: var(--sb-text-primary-strong);
}

.plan-table tbody td {
    color: var(--sb-text-primary);
    text-align: center;
}

.plan-table tbody td:first-child {
    text-align: left;
}

.plan-table tbody tr:last-child th,
.plan-table tbody tr:last-child td {
    border-bottom: none;
}

.cta-section {
    display: grid;
    gap: 18px;
    justify-items: center;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 42px;
    border-radius: var(--sb-radius-pill);
    background: linear-gradient(
        135deg,
        var(--sb-accent),
        var(--sb-accent-strong)
    );
    color: var(--sb-text-primary);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    letter-spacing: 0.01em;
    box-shadow: 0 12px 30px rgba(54, 71, 255, 0.35);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 35px rgba(54, 71, 255, 0.45);
    filter: brightness(1.05);
}

.cta:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.35);
    outline-offset: 4px;
}

.cta-caption {
    margin: 0;
    max-width: 420px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--sb-text-muted);
}

.footnote {
    margin: 0;
    font-size: 13px;
    color: var(--sb-text-muted);
}

@media (max-width: 720px) {
    body {
        padding: 20px;
    }

    .page {
        padding: 40px 28px;
        gap: 32px;
    }

    .cta {
        width: 100%;
    }
}

@media (max-width: 520px) {
    body {
        padding: 12px;
    }

    .page {
        padding: 32px 16px;
        gap: 24px;
    }

    .plan-table {
        border-radius: 12px;
    }

    .plan-table table {
        font-size: 13px;
    }

    .plan-table th,
    .plan-table td {
        padding: 12px 8px;
    }

    .plan-table thead th {
        font-size: 11px;
    }

    .plan-table thead th:first-child {
        width: 60%;
    }

    .plan-table thead th:not(:first-child) {
        width: 20%;
    }

    .plan-table tbody th {
        font-size: 12px;
        line-height: 1.4;
    }
}
