:root {
    color-scheme: light dark;
    font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bg: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.6);
    --gradient: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #f472b6 100%);
    --text: #e2e8f0;
    --muted: #94a3b8;
    --border: rgba(148, 163, 184, 0.2);
    background-color: var(--bg);
    color: var(--text);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(ellipse at top, rgba(56, 189, 248, 0.25), transparent 60%),
        radial-gradient(ellipse at bottom, rgba(244, 114, 182, 0.18), transparent 55%),
        var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.page {
    max-width: min(1120px, 100%);
    width: 100%;
    backdrop-filter: blur(24px) saturate(120%);
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: clamp(2rem, 4vw, 3.5rem);
    box-shadow:
        0 30px 80px rgba(15, 23, 42, 0.55),
        0 12px 24px rgba(2, 6, 23, 0.35);
}

.page__header {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.badge {
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    color: var(--text);
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--text);
    opacity: 0.45;
}

.domain {
    font-weight: 600;
}

.page__content {
    margin-top: clamp(2rem, 4vw, 3.5rem);
}

.title {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    margin: 0;
    letter-spacing: -0.02em;
}

.lead {
    margin-top: 1.25rem;
    max-width: 580px;
    font-size: clamp(1.05rem, 2.5vw, 1.2rem);
    line-height: 1.65;
    color: var(--muted);
}

.cards {
    margin-top: clamp(2rem, 4vw, 3rem);
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
    position: relative;
    padding: 1.5rem;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.04);
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: transparent;
    transition: background 200ms ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(129, 140, 248, 0.4);
    box-shadow:
        inset 0 0 0 1px rgba(129, 140, 248, 0.25),
        0 18px 40px rgba(15, 23, 42, 0.45);
}

.card:hover::after {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(244, 114, 182, 0.12));
}

.card h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.subscribe {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    display: grid;
    gap: 0.75rem;
}

.subscribe__label {
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--muted);
}

.subscribe__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.subscribe__input {
    flex: 1 1 240px;
    min-width: 0;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: var(--text);
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.subscribe__input:focus {
    outline: none;
    border-color: rgba(129, 140, 248, 0.85);
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.25);
}

.subscribe__button {
    flex: 0 0 auto;
    border: none;
    border-radius: 999px;
    padding: 0.9rem 1.6rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--bg);
    background: var(--gradient);
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.subscribe__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(129, 140, 248, 0.35);
}

.subscribe__hint {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(148, 163, 184, 0.7);
}

.page__footer {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(148, 163, 184, 0.65);
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    padding-top: 1.5rem;
}

@media (max-width: 768px) {
    .page {
        padding: clamp(1.5rem, 5vw, 2.5rem);
    }

    .page__footer {
        flex-direction: column;
        gap: 0.75rem;
    }
}

