/* Early Beaver — landing page
   Palette is lifted from the app so the site and the product look like the same
   thing: the indigo night-sky gradient, the cream of the moon, orange accents. */

:root {
    --indigo-top: #495cae;
    --indigo-mid: #1a1c47;
    --indigo-deep: #111431;
    --cream: #f8f6ef;
    --orange: #ff9f43;
    --muted: rgba(248, 246, 239, 0.62);
    --faint: rgba(248, 246, 239, 0.38);
    --card: rgba(255, 255, 255, 0.06);
    --hairline: rgba(255, 255, 255, 0.10);
    --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--cream);
    background: var(--indigo-deep);
    /* Fixed so the gradient reads as one sky behind the whole page rather than
       restarting per section. */
    background-image: linear-gradient(
        to bottom,
        var(--indigo-top) 0%,
        var(--indigo-mid) 55%,
        var(--indigo-deep) 100%
    );
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* ---------- nav ---------- */

.navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    background: rgba(17, 20, 49, 0.55);
    border-bottom: 1px solid var(--hairline);
}

.nav-container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--cream);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.app-icon-nav {
    width: 30px;
    height: 30px;
    border-radius: 7px;
}

.nav-links { display: flex; gap: 22px; }

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-link:hover { color: var(--cream); }

/* ---------- hero ---------- */

main { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.hero {
    text-align: center;
    padding: 72px 0 88px;
}

.hero-mark {
    width: 168px;
    height: 168px;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(2.4rem, 7vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
}

.hero-sub {
    max-width: 30rem;
    margin: 0 auto;
    color: var(--muted);
    font-size: clamp(1rem, 2.4vw, 1.15rem);
}

.cta { margin-top: 34px; }

.badge {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 999px;
    background: rgba(255, 159, 67, 0.14);
    border: 1px solid rgba(255, 159, 67, 0.32);
    color: var(--orange);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ---------- pitch ---------- */

.pitch {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding-bottom: 92px;
}

.pitch-item {
    background: var(--card);
    border: 1px solid var(--hairline);
    border-radius: 18px;
    padding: 28px 26px;
}

.pitch-icon { font-size: 1.7rem; display: block; margin-bottom: 14px; }

.pitch-item h2 {
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.pitch-item p { color: var(--muted); font-size: 0.96rem; }

/* ---------- how it works ---------- */

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 40px;
}

.how { padding-bottom: 92px; }

.steps { list-style: none; max-width: 40rem; margin: 0 auto; }

.steps li {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--hairline);
}

.steps li:last-child { border-bottom: none; }

.step-num {
    flex: 0 0 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 159, 67, 0.16);
    color: var(--orange);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.steps h3 { font-size: 1.05rem; font-weight: 650; margin-bottom: 6px; }

.steps p { color: var(--muted); font-size: 0.96rem; }

/* ---------- closing ---------- */

.closing {
    text-align: center;
    padding: 0 0 104px;
}

.closing-mark { width: 92px; height: 92px; margin-bottom: 20px; opacity: 0.9; }

.closing h2 {
    font-size: clamp(1.7rem, 4.4vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.closing p { max-width: 32rem; margin: 0 auto; color: var(--muted); }

/* ---------- footer ---------- */

.footer {
    border-top: 1px solid var(--hairline);
    background: rgba(17, 20, 49, 0.5);
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 26px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    color: var(--faint);
    font-size: 0.88rem;
}

.footer-links { display: flex; gap: 20px; }

.footer-links a {
    color: var(--faint);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-links a:hover { color: var(--cream); }

/* ---------- small screens ---------- */

@media (max-width: 560px) {
    .nav-links { gap: 16px; }
    .nav-link { font-size: 0.86rem; }
    .hero { padding: 48px 0 64px; }
    .hero-mark { width: 132px; height: 132px; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- legal / prose pages ---------- */

.page {
    max-width: 46rem;
    margin: 0 auto;
    padding: 56px 24px 96px;
}

.page h1 {
    font-size: clamp(1.9rem, 5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.page .updated {
    color: var(--faint);
    font-size: 0.88rem;
    margin-bottom: 40px;
}

.page h2 {
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 38px 0 12px;
}

.page h3 {
    font-size: 1rem;
    font-weight: 650;
    margin: 24px 0 8px;
}

.page p,
.page li {
    color: var(--muted);
    font-size: 0.98rem;
    margin-bottom: 12px;
}

.page ul { padding-left: 22px; margin-bottom: 16px; }
.page li { margin-bottom: 8px; }

.page a { color: var(--orange); text-decoration: none; }
.page a:hover { text-decoration: underline; }

.page strong { color: var(--cream); font-weight: 600; }

.callout {
    background: var(--card);
    border: 1px solid var(--hairline);
    border-left: 3px solid var(--orange);
    border-radius: 12px;
    padding: 18px 20px;
    margin: 24px 0;
}

.callout p:last-child { margin-bottom: 0; }

.contact-box {
    background: var(--card);
    border: 1px solid var(--hairline);
    border-radius: 16px;
    padding: 26px;
    margin: 28px 0;
    text-align: center;
}

.contact-box a {
    font-size: 1.06rem;
    font-weight: 600;
}
