:root {
    --bg: #030b16;
    --bg-elevated: #071727;
    --bg-card: #0b2136;
    --border-subtle: #123149;
    --hopin: #1ac7c2;
    --hopin-soft: #15ada8;
    --text-main: #f5fbff;
    --text-muted: #9fb3c8;
    --accent-soft: rgba(26, 199, 194, 0.12);
    --error: #e74c3c;
    --success: #2ecc71;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #06162a 0, #020814 50%, #00040a 100%);
    color: var(--text-main);
}

a {
    color: inherit;
    text-decoration: none;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HEADER */

header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: linear-gradient(to bottom, rgba(3,11,22,0.96), rgba(3,11,22,0.8) 70%, transparent);
    border-bottom: 1px solid rgba(18,49,73,0.6);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    height: 34px;
    width: auto;
}

/* favicon hidden by default */
.brand-icon {
    display: none;
    width: 32px;
    height: 32px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 600;
    letter-spacing: 0.04em;
    font-size: 0.9rem;
}

.brand-tagline {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.9rem;
}

nav a {
    color: var(--text-muted);
}

nav a:hover {
    color: var(--text-main);
}

.nav-cta {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--hopin);
    color: #001014;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
}

.nav-cta:hover {
    background: var(--hopin-soft);
}

/* hide nav on narrow screens */
@media (max-width: 720px) {
    nav {
        display: none;
    }
}

/* MOBILE HEADER: favicon instead of banner */
@media (max-width: 640px) {
    .nav-inner {
        padding: 10px 16px;
        justify-content: flex-start;
        gap: 10px;
    }

    .brand-logo {
        display: none;
    }

    .brand-icon {
        display: block;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-tagline {
        font-size: 0.72rem;
        letter-spacing: 0.16em;
    }
}

/* LAYOUT */

main {
    flex: 1;
}

.section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 32px 20px 40px;
}

.section + .section {
    padding-top: 12px;
}

/* HERO */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    grid-template-areas:
        "main panel"
        "wait panel";
    gap: 36px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-main {
    grid-area: main;
}

.hero-right {
    grid-area: panel;
    display: flex;
    justify-content: center;
}

.hero-waitlist {
    grid-area: wait;
    margin-top: 18px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: rgba(3,15,30,0.9);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.hero-tag span.key {
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--hopin);
}

.hero h1 {
    font-size: clamp(2.1rem, 3vw + 1rem, 3rem);
    line-height: 1.1;
    margin: 0 0 14px;
}

.hero h1 span.highlight {
    color: var(--hopin);
}

.hero-lede {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 32rem;
    margin-bottom: 20px;
}

.hero-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* hero stack on mobile: text -> panel -> waitlist */
@media (max-width: 880px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "main"
            "panel"
            "wait";
        gap: 24px;
    }

    .hero-waitlist {
        margin-top: 0;
    }
}

/* WAITLIST */

.waitlist-card {
    margin-top: 18px;
    padding: 18px 18px 16px;
    border-radius: 14px;
    background: rgba(7, 23, 39, 0.95);
    border: 1px solid var(--border-subtle);
}

.waitlist-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.waitlist-text {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.waitlist-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.waitlist-form input[type="email"] {
    flex: 1 1 190px;
    padding: 8px 12px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid #1f3c57;
    background: #020c17;
    color: var(--text-main);
    font-size: 0.9rem;
    outline: none;
}

.waitlist-form input::placeholder {
    color: #58728f;
}

.waitlist-form input:focus {
    border-color: var(--hopin);
    box-shadow: 0 0 0 1px rgba(26,199,194,0.5);
}

.waitlist-form button {
    border-radius: 999px;
    border: none;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--hopin);
    color: #001014;
    cursor: pointer;
    white-space: nowrap;
}

.waitlist-form button:hover {
    background: var(--hopin-soft);
}

.privacy-note {
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.7;
    margin-top: 6px;
    line-height: 1.3;
}

.status {
    margin-top: 10px;
    font-size: 0.82rem;
}

.status.success {
    color: var(--success);
}

.status.error {
    color: var(--error);
}

@media (max-width: 600px) {
    .waitlist-form {
        flex-direction: column;
        align-items: stretch;
    }
    .waitlist-form button {
        width: 100%;
        text-align: center;
    }
}

/* HERO PANEL */

.hero-panel {
    width: 100%;
    max-width: 380px;
    padding: 18px 18px 16px;
    border-radius: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.panel-title {
    font-weight: 600;
}

.panel-pill {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--hopin);
    border: 1px solid #1a384b;
}

.journey-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
    padding: 10px;
    border-radius: 12px;
    background: #051728;
}

.journey-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.86rem;
}

.journey-meta {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.pill-small {
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid #24445d;
    background: #041220;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
    font-size: 0.78rem;
}

.metric-card {
    padding: 8px;
    border-radius: 10px;
    background: #041523;
    border: 1px dashed #193247;
}

.metric-label {
    color: var(--text-muted);
    margin-bottom: 4px;
}

.metric-value {
    font-weight: 600;
}

.panel-footer {
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

/* SECTION HEADERS */

.section-heading {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.section-title {
    font-size: 1.4rem;
    margin: 0 0 18px;
}

/* WHY GRID */

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.why-card {
    padding: 16px 16px 14px;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    font-size: 0.9rem;
}

.why-card h3 {
    margin: 0 0 6px;
    font-size: 0.98rem;
}

.why-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

@media (max-width: 960px) {
    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .why-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* STEPS */

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.step-card {
    padding: 14px 16px;
    border-radius: 14px;
    background: #06172a;
    border: 1px dashed #1c3950;
    font-size: 0.9rem;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--hopin);
    font-size: 0.75rem;
    margin-bottom: 8px;
}

.step-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.step-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .steps {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* IMPACT */

.impact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 18px;
}

.impact-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.impact-card {
    padding: 12px 12px 10px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    font-size: 0.86rem;
}

.impact-value {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.impact-label {
    color: var(--text-muted);
}

@media (max-width: 800px) {
    .impact-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* FOOTER */

footer.site-footer {
    border-top: 1px solid var(--border-subtle);
    margin-top: 32px;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 16px 20px 20px;
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-icon {
    color: var(--text-muted);
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-icon:hover {
    color: var(--hopin);
    transform: scale(1.1);
}
