
:root {
    --nav-height: 56px;
    --footer-height: 74px;
}

body {
    font-family: var(--font-body);
}

/* --- NAV --- */
.nav {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(720px, calc(100% - 2rem));
    height: var(--nav-height);
    background: rgba(22, 22, 22, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
    z-index: 100;
}

.nav-wordmark {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: -0.02em;
}

.nav-wordmark img {
    vertical-align: center;
    margin-top: -4px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0.25rem;
    align-items: center;
    padding-right: 0;
}

.nav-links a {
    color: var(--color-muted);
    font-size: 0.875rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
    color: var(--color-text);
    background: rgba(255,255,255,0.06);
}

.nav-links .nav-cta {
    color: var(--color-bg);
    background: var(--color-accent);
    font-weight: 600;
}

.nav-links .nav-cta:hover {
    background: var(--color-accent-dim);
    color: var(--color-bg);
}

/* --- PAGE LAYOUT --- */
.page {
    padding-top: calc(var(--nav-height) + 2.5rem);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-content {
    flex: 1;
}

/* --- HERO --- */
.hero {
    max-width: 860px;
    margin: 6rem auto 4rem;
    padding: 0 1.5rem;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.hero h1 em {
    font-style: normal;
    color: var(--color-accent);
}

.hero p {
    font-size: 1.125rem;
    color: var(--color-muted);
    max-width: 520px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- REVEAL INPUT --- */
.input-reveal {
    display: flex;
    gap: 0.5rem;
}

.input-reveal input {
    flex: 1;
}

.input-reveal button {
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 0.6rem;
    color: var(--color-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0 1rem;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
    white-space: nowrap;
}

.input-reveal button:hover {
    border-color: var(--color-muted);
    color: var(--color-text);
}

/* --- SECTIONS --- */
.section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

/* --- FOOTER --- */
.footer {
    border-top: 1px solid var(--color-border);
    padding: 2rem 1.5rem;
    text-align: center;
    color: var(--color-muted);
    font-size: 0.85rem;
    height: var(--footer-height);
}

/* --- AUTH FORM --- */
.auth-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--nav-height) - var(--footer-height) - 4rem);
    padding: 2rem 1rem;
}

.auth-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 1.25rem;
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
}

.auth-card h1 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.auth-card p.subtitle {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
