/* Nexus marketing landing — minimal, content-first.
   Stack: plain CSS, no preprocessor, mobile-first. */

:root {
    --bg: #0a0a0c;
    --bg-elevated: #14141a;
    --text: #ededf0;
    --text-muted: #94949f;
    --accent: #a78bfa;          /* soft purple — Nexus mark */
    --accent-hover: #c4b5fd;
    --border: #2a2a35;
    --max-width: 960px;
    --content-width: 720px;
}

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

html, body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

code {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.92em;
    background: var(--bg-elevated);
    padding: 0.1em 0.4em;
    border-radius: 3px;
    color: var(--accent-hover);
}

a {
    color: var(--accent);
    text-decoration: none;
}
a:hover {
    color: var(--accent-hover);
}

/* ── Nav ────────────────────────────────────────────────── */

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.02em;
}

.nav-brand svg {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}
.nav-links a:hover {
    color: var(--text);
}

/* ── Hero ───────────────────────────────────────────────── */

.hero {
    max-width: var(--content-width);
    margin: 80px auto 64px;
    padding: 0 32px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
}
.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--bg);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.btn-secondary:hover {
    border-color: var(--text-muted);
    color: var(--text);
}

/* ── Features grid ──────────────────────────────────────── */

.features {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 64px 32px;
}

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

.feature h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.feature p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ── Bottom CTA ─────────────────────────────────────────── */

.cta-bottom {
    text-align: center;
    padding: 80px 32px 64px;
    border-top: 1px solid var(--border);
    margin-top: 32px;
}

.cta-bottom h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-bottom p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ── Form section (request-access, sign-in, thank-you) ──── */

.form-section {
    max-width: 480px;
    margin: 80px auto 64px;
    padding: 0 32px;
}

.form-section.centered {
    text-align: center;
}

.form-section h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.form-section .hero-sub {
    margin-bottom: 32px;
    text-align: left;
}

.form-section.centered .hero-sub {
    text-align: center;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.field input,
.field textarea {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.5;
    width: 100%;
    transition: border-color 0.15s;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.field textarea {
    resize: vertical;
    min-height: 80px;
}

.field-error {
    font-size: 12px;
    color: #f87171;
    margin-top: 4px;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.form .btn-primary {
    align-self: flex-start;
    margin-top: 8px;
}
