:root {
    --accent: #FBBF24;
    --gray: #E5E7EB;
    --white: #FFFFFF;
    --text: #0B0F16;
    --muted: rgba(11, 15, 22, 0.62);
    --hairline: rgba(11, 15, 22, 0.10);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    letter-spacing: -0.01em;
}

.bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(800px 400px at 20% 15%, rgba(251,191,36,0.10), transparent 60%),
        radial-gradient(700px 380px at 80% 85%, rgba(229,231,235,0.85), transparent 60%);
    opacity: 1;
}

.wrap {
    min-height: 100%;
    display: grid;
    place-items: center;
    padding: 24px 18px;
}

.container {
    width: min(920px, 100%);
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 10px 2px;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    user-select: none;
}

.logo-img {
    height: 220px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hairline), transparent);
}

main {
    display: grid;
    gap: 16px;
    text-align: center;
    justify-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid rgba(229,231,235,0.9);
    border-radius: 999px;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(6px);
}

.dot {
    width: 8px; height: 8px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(251,191,36,0.14);
}

.eyebrow span {
    font-size: 16px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.02em;
}

h1 {
    margin: 0;
    font-size: clamp(28px, 3.5vw, 48px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.sub {
    margin: 0;
    max-width: 52ch;
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.6;
    color: var(--muted);
}

.ctaRow {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(11, 15, 22, 0.10);
    background: rgba(255,255,255,0.85);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
    cursor: pointer;
}

.btn:hover { transform: translateY(-1px); border-color: rgba(11, 15, 22, 0.16); }
.btn:active { transform: translateY(0px); }

.btnPrimary {
    background: var(--accent);
    border-color: rgba(251,191,36,0.55);
}

.links {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    justify-content: center;
    color: var(--muted);
    font-size: 14px;
}

.links a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 160ms ease, color 160ms ease;
}

.links a:hover {
    color: var(--text);
    border-color: rgba(11, 15, 22, 0.24);
}

footer {
    text-align: center;
    color: rgba(11, 15, 22, 0.45);
    font-size: 12px;
    padding-top: 20px;
    display: grid;
    gap: 8px;
    justify-items: center;
    margin-top: 6px;
}

#popupOverlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 15, 22, 0.4);
    backdrop-filter: blur(8px);
    display: none;
    place-items: center;
    z-index: 999;
    padding: 20px;
}

.popup-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    width: min(450px, 100%);
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    border: 1px solid var(--hairline);
}

.popup-input {
    width: 100%;
    padding: 14px 20px;
    border-radius: 999px;
    border: 1px solid var(--gray);
    background: #F9FAFB;
    font-size: 16px;
    margin-bottom: 12px;
    outline: none;
    transition: border-color 0.2s;
}

.popup-input:focus { border-color: var(--accent); }
.btn-full { width: 100%; border: none; font-family: inherit; }

.close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 20px;
}

.fadeIn { animation: fadeUp 520ms ease both; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .logo-img { height: 110px; }
    header { margin-bottom: 24px; }
}