*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --ink: #0c1222;
    --ink-soft: #1a2540;
    --text: #e8edf7;
    --muted: #8b9ab8;
    --accent: #2dd4a8;
    --accent-deep: #0d9488;
    --accent-glow: rgba(45, 212, 168, 0.18);
    --border: rgba(255, 255, 255, 0.08);
    --surface: rgba(255, 255, 255, 0.04);
    --radius: 12px;
    --font: 'DM Sans', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--ink);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 72rem;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 2.5rem;
    overflow: hidden;
}

/* ── Background ── */

.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    position: fixed;
    width: 32rem;
    height: 32rem;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.bg-glow--left {
    top: -8rem;
    left: -10rem;
    background: var(--accent-glow);
}

.bg-glow--right {
    bottom: -12rem;
    right: -8rem;
    background: rgba(59, 130, 246, 0.12);
}

/* ── Header ── */

.header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 2rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: var(--text);
}

.logo__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
    color: var(--ink);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.logo__mark svg {
    width: 1.125rem;
    height: 1.125rem;
}

.logo__text {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo__text em {
    font-style: normal;
    font-weight: 400;
    color: var(--muted);
}

.badge {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.375rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--accent);
}

/* ── Hero ── */

.hero {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0 3.5rem;
    max-width: 40rem;
}

.eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.headline {
    font-size: clamp(2.25rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.headline__accent {
    background: linear-gradient(135deg, var(--accent) 0%, #5eead4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subhead {
    font-size: 1.0625rem;
    color: var(--muted);
    max-width: 32rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ── Notify form ── */

.notify {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    max-width: 28rem;
}

.notify input {
    flex: 1 1 12rem;
    min-width: 0;
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 0.9375rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.notify input::placeholder {
    color: var(--muted);
}

.notify input:focus {
    border-color: rgba(45, 212, 168, 0.4);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.notify button {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
    color: var(--ink);
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.15s;
}

.notify button:hover:not(:disabled) {
    opacity: 0.92;
    transform: translateY(-1px);
}

.notify button:disabled {
    opacity: 0.6;
    cursor: default;
}

.notify__hint {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: var(--muted);
}

/* ── Features ── */

.features {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 1rem;
    padding: 1rem 0 3rem;
}

.feature {
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    backdrop-filter: blur(8px);
}

.feature__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: rgba(45, 212, 168, 0.1);
    color: var(--accent);
    margin-bottom: 1rem;
}

.feature__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.feature h2 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.feature p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ── Footer ── */

.footer {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.8125rem;
    color: var(--muted);
}

.footer__links a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer__links a:hover {
    color: var(--accent);
}

/* ── Responsive ── */

@media (min-width: 768px) {
    .page {
        padding: 2rem 2.5rem 3rem;
    }

    .hero {
        padding: 3rem 0 4rem;
    }
}

@media (max-width: 480px) {
    .notify button {
        width: 100%;
    }
}