:root {
    color-scheme: dark;
    --bg: #080b10;
    --surface: #101722;
    --surface-2: #172131;
    --text: #edf4ff;
    --muted: #a8b6c7;
    --line: #263548;
    --accent: #27d7b6;
    --accent-2: #7aa7ff;
    --danger: #ff6b6b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(39, 215, 182, 0.16), transparent 32rem), var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
}

.site-header,
.site-footer {
    margin: 0 auto;
    max-width: 1180px;
    padding: 24px;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
}

.nav,
.actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
}

.nav a:hover {
    color: var(--text);
}

.page {
    margin: 0 auto;
    max-width: 1180px;
    padding: 24px;
}

.hero {
    display: grid;
    align-items: center;
    min-height: 56vh;
    padding: 72px 0;
}

.hero h1,
.section-heading h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    line-height: 1;
}

.lede {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1.7;
}

.eyebrow {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.button,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    padding: 0 18px;
    background: var(--accent);
    color: #03110e;
    cursor: pointer;
    font-weight: 800;
    text-decoration: none;
}

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

.button.small {
    min-height: 36px;
    padding: 0 12px;
}

.feature-grid,
.pricing-grid,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.feature-grid article,
.price-card,
.panel,
.stats-grid article,
.form-wrap,
.table-wrap {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(16, 23, 34, 0.86);
    padding: 24px;
}

.feature-grid p,
.price-card p,
.panel p,
.site-footer {
    color: var(--muted);
}

.price-card.featured {
    border-color: var(--accent);
}

.price {
    color: var(--accent-2);
    font-size: 1.7rem;
    font-weight: 800;
}

.section-heading {
    margin: 32px 0;
}

.form-wrap {
    max-width: 520px;
}

.form-wrap.wide {
    max-width: 720px;
}

form {
    display: grid;
    gap: 16px;
}

label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 700;
}

input,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #0b111a;
    color: var(--text);
    padding: 12px 14px;
    font: inherit;
}

.alert,
.notice {
    border-radius: 8px;
    padding: 12px 14px;
}

.alert {
    background: rgba(255, 107, 107, 0.12);
    color: #ffd1d1;
}

.notice {
    background: rgba(39, 215, 182, 0.12);
    color: #cbfff5;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 14px 10px;
    text-align: left;
}

th {
    color: var(--muted);
    font-size: 0.85rem;
    text-transform: uppercase;
}

.stats-grid strong {
    display: block;
    font-size: 2.4rem;
}

.stats-grid span {
    color: var(--muted);
}

@media (max-width: 720px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .page {
        padding: 16px;
    }
}
