/* ===========================
   CSS Variables & Reset
   =========================== */

:root {
    /* Dark palette — always dark, no light mode */
    --bg-base:        #09090f;
    --bg-surface:     #111118;
    --bg-raised:      #16161f;
    --border:         rgba(255, 255, 255, 0.07);
    --border-strong:  rgba(255, 255, 255, 0.14);

    /* Text */
    --text-primary:   #e8eaf0;
    --text-muted:     #8892a4;
    --text-faint:     #545d6b;

    /* Accent */
    --accent-green:   #4ade80;
    --accent-cyan:    #22d3ee;

    /* Typography */
    --font-mono:      'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    --font-system:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.65;

    /* Spacing */
    --section-padding: 96px;
    --container-max-width: 1080px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-system);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-primary);
    background-color: var(--bg-base);
    overflow-x: hidden;
}

/* ===========================
   Typography
   =========================== */

h1, h2, h3 {
    font-family: var(--font-mono);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.125rem; margin-bottom: 0.625rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
}

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

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.75;
}

a:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ===========================
   Layout
   =========================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: var(--section-padding) 0;
}

/* ===========================
   Global Header
   =========================== */

.sticky-top {
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header {
    background-color: var(--bg-base);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    gap: 1.5rem;
}

/* Logo: invert so black logo becomes white on dark bg.
   mix-blend-mode: screen makes the black background transparent. */
.header-logo {
    display: block;
    width: 140px;
    height: auto;
    filter: invert(1);
    mix-blend-mode: screen;
    flex-shrink: 0;
}

.header-logo-icon {
    display: none;
    width: 36px;
    height: 36px;
    filter: invert(1);
    mix-blend-mode: screen;
    flex-shrink: 0;
}

.label-short { display: none; }

.header-logo-link:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 4px;
    border-radius: 2px;
}

/* ===========================
   View Toggle (pill switcher)
   =========================== */

.view-toggle {
    display: flex;
    background-color: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 3px;
    gap: 0;
}

.toggle-btn {
    display: inline-block;
    padding: 0.4375rem 1.125rem;
    border: none;
    border-radius: 100px;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: var(--font-system);
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.22s ease, color 0.22s ease;
    white-space: nowrap;
    line-height: 1.4;
}

.toggle-btn.active {
    background-color: #ffffff;
    color: #09090f;
}

.toggle-btn:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

.login-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.4375rem 1.125rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #8892a4;
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.4;
    transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.login-btn:hover {
    background-color: #e8eaf0;
    border-color: #e8eaf0;
    color: #09090f;
}

.login-btn:focus-visible {
    outline: 2px solid #22d3ee;
    outline-offset: 2px;
}


/* ===========================
   Promo Banner
   =========================== */

.promo-banner {
    background-color: #0d1f14;
    border-bottom: 1px solid rgba(74, 222, 128, 0.2);
    padding: 0.6rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    max-height: 60px;
    transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease;
}

.promo-banner.is-hiding {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

.promo-banner-link {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent-green);
    letter-spacing: 0.01em;
}

.promo-banner-link:hover {
    opacity: 0.8;
}

.promo-banner-actions {
    position: absolute;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.promo-banner-dismiss {
    font-family: var(--font-system);
    font-size: 0.75rem;
    color: var(--text-muted);
    background: none;
    border: 1px solid var(--border-strong);
    border-radius: 4px;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.promo-banner-dismiss:hover {
    color: var(--text-primary);
    border-color: var(--text-faint);
}

.promo-banner-close {
    font-family: var(--font-system);
    font-size: 0.875rem;
    color: var(--text-muted);
    background: none;
    border: 1px solid var(--border-strong);
    border-radius: 4px;
    cursor: pointer;
    padding: 0.2rem 0.45rem;
    line-height: 1;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.promo-banner-close:hover {
    color: var(--text-primary);
    border-color: var(--text-faint);
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    padding: 110px 0 100px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.hero-container {
    max-width: 760px;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-green);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 1.75rem;
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 2.5rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-green);
    color: #09090f;
    padding: 0.875rem 2rem;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: var(--font-mono);
    border-radius: 6px;
    transition: opacity 0.2s ease, transform 0.2s ease;
    letter-spacing: 0.01em;
}

.cta-button:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    color: #09090f;
}

.cta-button:focus-visible {
    outline: 2px solid var(--accent-green);
    outline-offset: 3px;
}

/* ===========================
   Section Heading
   =========================== */

.section-heading {
    font-size: 1.75rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section-intro {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 2.5rem;
    line-height: 1.75;
}

/* ===========================
   Differentiators / Cards
   =========================== */

.differentiators {
    background-color: var(--bg-base);
    border-bottom: 1px solid var(--border);
}

.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background-color: var(--border);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.diff-card {
    background-color: var(--bg-surface);
    padding: 2.25rem;
    transition: background-color 0.2s ease;
}

.diff-card:hover {
    background-color: var(--bg-raised);
}

.diff-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.diff-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.diff-card p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ===========================
   Founder Section
   =========================== */

.founder-section {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border);
}

.founder-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 4rem;
    align-items: start;
}

.founder-photo-wrap {
    flex-shrink: 0;
}

.founder-photo {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    filter: grayscale(20%);
}

.founder-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.founder-name {
    font-size: 2rem;
    margin-bottom: 1.75rem;
    color: var(--text-primary);
}

.founder-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.founder-quote {
    border-left: 2px solid var(--accent-green);
    padding-left: 1.25rem;
    margin-top: 1.75rem;
    font-size: 1rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.75;
}

/* ===========================
   Callout Section (Candidates)
   =========================== */

.callout-section {
    background-color: var(--bg-base);
    border-bottom: 1px solid var(--border);
}

.callout-block {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 0;
}

.callout-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ===========================
   What This Looks Like (Candidates)
   =========================== */

.what-this-looks-like {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.process-point {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem 2.25rem;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    transition: background-color 0.2s ease;
}

.process-point:last-child {
    border-bottom: none;
}

.process-point:hover {
    background-color: var(--bg-raised);
}

.process-num {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--accent-green);
    padding-top: 0.2rem;
    flex-shrink: 0;
}

.process-point-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
    color: var(--text-primary);
}

.process-point-content p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ===========================
   Contact Section
   =========================== */

.contact-section {
    background-color: var(--bg-base);
}

.contact-alternatives {
    text-align: center;
    margin-top: 2rem;
}

.contact-alternatives p {
    font-size: 0.9375rem;
    color: var(--text-faint);
    margin-bottom: 0.5rem;
}

.contact-alternatives a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.contact-alternatives a:hover {
    color: var(--text-primary);
}

/* ===========================
   Footer
   =========================== */

.footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-logo {
    width: 120px;
    height: auto;
    display: block;
    filter: invert(1);
    mix-blend-mode: screen;
    opacity: 0.5;
}

.footer-email a {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.footer-email a:hover {
    color: var(--text-primary);
}

.copyright {
    font-size: 0.8125rem;
    color: var(--text-faint);
    margin-bottom: 0;
}
