:root {
    --bg: #f6f7fb;
    --card: rgba(255, 255, 255, 0.82);
    --border: #e4e7ec;
    --primary: #0f172a;
    --primary-strong: #0a0f1f;
    --accent: #2563eb;
    --text: #0b1220;
    --muted: #6b7280;
    --shadow: 0 24px 60px rgba(15, 23, 42, 0.09);
}

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

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(60% 45% at 60% 10%, rgba(37, 99, 235, 0.08), transparent),
        linear-gradient(135deg, #f8f9fb 0%, #eef1f6 100%);
    color: var(--text);
}

.text-muted {
    color: var(--muted);
}

.page {
    max-width: 1140px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 3rem;
    position: relative;
}

.page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), transparent 40%);
    pointer-events: none;
}

.portal-hero {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid #e9ebf0;
    border-radius: 16px;
    padding: 0.85rem 1.25rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    margin-bottom: 1.25rem;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand-name {
    font-weight: 800;
    font-size: 1.08rem;
    letter-spacing: -0.2px;
}

.brand-tagline {
    font-size: 0.95rem;
    color: var(--muted);
}

.brand-cta .button.small {
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    font-size: 0.95rem;
}

.hero-gradient {
    background: linear-gradient(120deg, #1d4ed8, #22d3ee, #0010a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero {
    background: var(--card);
    border: 1px solid rgba(228, 231, 236, 0.8);
    border-radius: 24px;
    padding: 3rem 3rem 2.75rem;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 70% at 50% 0%, rgba(37, 99, 235, 0.08), transparent 55%);
    pointer-events: none;
}

.eyebrow {
    display: inline-flex;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary);
    background: #eef2ff;
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
}

h1 {
    font-size: 2.4rem;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.lede {
    font-size: 1.05rem;
    color: var(--muted);
    margin: 0 auto 1.75rem;
    max-width: 720px;
}

.lede.small {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button.primary {
    background: linear-gradient(135deg, #0f172a, #111827);
    color: #fff;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.button.ghost {
    background: rgba(255, 255, 255, 0.6);
    color: var(--text);
    border-color: #e5e7eb;
}

.button:hover {
    transform: translateY(-2px);
}

.panel {
    background: var(--card);
    border: 1px solid rgba(228, 231, 236, 0.8);
    border-radius: 20px;
    padding: 2.25rem;
    margin-top: 2rem;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
}

.panel h2 {
    margin: 0 0 1rem;
    font-size: 1.4rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.2rem;
    letter-spacing: -0.2px;
    font-weight: 800;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.feature {
    padding: 1.35rem 1.35rem;
    border: 1px solid rgba(228, 231, 236, 0.8);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.95));
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: start;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.feature h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    letter-spacing: -0.1px;
}

.feature p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #f1f5f9;
    color: var(--accent);
    display: grid;
    place-items: center;
    border: 1px solid #e4e7ec;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.2;
}

.notify {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.4rem;
    align-items: center;
}

.notify-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.notify-form label {
    font-weight: 600;
}

.input-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

input[type="email"] {
    flex: 1 1 220px;
    padding: 0.9rem 0.95rem;
    border-radius: 10px;
    border: 1px solid #cdd3da;
    font-size: 1rem;
    min-width: 0;
}

.notify-form button {
    padding: 0.95rem 1.2rem;
    border-radius: 10px;
    border: none;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease;
}

.notify-form button:hover {
    background: var(--primary-strong);
    transform: translateY(-1px);
}

.hint {
    margin: 0.25rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--muted);
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.5rem 1rem 0.75rem;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    align-items: center;
}

.footer-link {
    color: #f05a28;
    text-decoration: none;
    font-weight: 600;
}

.footer-link.muted {
    color: var(--muted);
    font-weight: 500;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-link.muted:hover {
    color: var(--primary);
}

.legal-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    line-height: 1.6;
}

.legal-card h1 {
    margin: 0 0 0.5rem;
    font-size: 1.8rem;
}

.legal-card h2 {
    margin: 1rem 0 0.35rem;
    font-size: 1.2rem;
}

.legal-card ul {
    padding-left: 1.2rem;
    margin: 0.35rem 0 0.75rem;
}

.legal-card li {
    margin: 0.2rem 0;
}

@media (max-width: 768px) {
    .page {
        padding: 2rem 1.25rem 1.5rem;
    }

    .hero,
    .panel {
        padding: 1.5rem;
    }

    .portal-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    h1 {
        font-size: 1.75rem;
    }

    .notify {
        grid-template-columns: 1fr;
    }

    .cta {
        flex-direction: column;
    }
}
