/* syntheogenesis.com — landing page.
 * Same design system as the in-app UI: Inter + JetBrains Mono, brand teal,
 * slate scale. Single file, no build step — uploads cleanly to Hostinger.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --gray-0: #FFFFFF;
    --gray-1: #FAFBFC;
    --gray-2: #F4F6F9;
    --gray-3: #ECEFF3;
    --gray-4: #E0E5EC;
    --gray-5: #CBD2DC;
    --gray-6: #94A0B0;
    --gray-7: #5B6878;
    --gray-8: #2E3744;
    --gray-9: #0E141B;

    --brand: #0E7C9A;
    --brand-deep: #0A5F77;
    --brand-light: #1FA3C7;
    --brand-50: #ECF7FB;
    --brand-100: #D4ECF3;
    --brand-200: #A7D8E7;
    --brand-ring: rgba(14, 124, 154, 0.22);

    --r-1: 4px;
    --r-2: 6px;
    --r-3: 8px;
    --r-4: 12px;

    --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', ui-monospace, Menlo, monospace;
}

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

html, body {
    background: var(--gray-0);
    color: var(--gray-8);
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--brand-100); color: var(--brand-deep); }

/* ============================================================== NAV */

.nav {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-3);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    color: var(--gray-9);
    letter-spacing: -0.01em;
}
.brand-mark {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    background: var(--brand-50);
    border-radius: var(--r-2);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-word { font-weight: 700; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 14px;
    color: var(--gray-7);
}
.nav-links a { transition: color 120ms ease; }
.nav-links a:hover { color: var(--gray-9); }
.nav-cta {
    padding: 7px 14px;
    border: 1px solid var(--brand);
    border-radius: var(--r-2);
    color: var(--brand) !important;
    font-weight: 600;
    transition: all 120ms ease;
}
.nav-cta:hover { background: var(--brand); color: var(--gray-0) !important; }

@media (max-width: 720px) {
    .nav { padding: 14px 18px; }
    .nav-links { gap: 14px; font-size: 13px; }
    .nav-links a:not(.nav-cta) { display: none; }
}

/* ============================================================ HERO */

.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 80px 32px 80px;
    position: relative;
}
@media (min-width: 980px) {
    .hero {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 64px;
        padding: 96px 48px 96px;
    }
}

.hero-inner { display: flex; flex-direction: column; gap: 22px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 5px 12px;
    background: var(--brand-50);
    color: var(--brand-deep);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
    border: 1px solid var(--brand-100);
}

h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--gray-9);
}
.hero-strike {
    background: linear-gradient(180deg, transparent 60%, var(--brand-100) 60%);
    padding: 0 4px;
}

.hero-lede {
    font-size: 17px;
    line-height: 1.65;
    color: var(--gray-7);
    max-width: 56ch;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--gray-6);
    font-family: var(--font-mono);
    margin-top: 6px;
}
.hero-meta .dot { opacity: 0.5; }

/* Hero pipeline — animated stagger entrance via CSS only */

.hero-pipeline {
    display: none;
    position: relative;
    min-height: 360px;
}
@media (min-width: 980px) {
    .hero-pipeline { display: block; }
}

.pipe-card {
    position: absolute;
    background: var(--gray-0);
    border: 1px solid var(--gray-3);
    border-radius: var(--r-4);
    padding: 16px 18px 18px;
    box-shadow: 0 8px 20px rgba(14, 20, 27, 0.06), 0 2px 4px rgba(14, 20, 27, 0.03);
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 180px;
    animation: pipeIn 600ms ease both;
    transition: transform 240ms ease, box-shadow 240ms ease;
}
.pipe-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(14, 20, 27, 0.10), 0 4px 8px rgba(14, 20, 27, 0.05);
}
@keyframes pipeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.pipe-card--1 { top: 0;     left: 0;    animation-delay: 80ms; }
.pipe-card--2 { top: 86px;  left: 80px; animation-delay: 200ms; border-left: 3px solid var(--brand); }
.pipe-card--3 { top: 172px; left: 0;    animation-delay: 320ms; }
.pipe-card--4 { top: 258px; left: 80px; animation-delay: 440ms; }

.pipe-num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--gray-6);
    font-weight: 600;
    letter-spacing: 0.04em;
}
.pipe-title { font-weight: 600; color: var(--gray-9); font-size: 14px; }
.pipe-detail { font-size: 12px; color: var(--gray-7); }

/* ========================================================== BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: var(--r-2);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.005em;
    transition: all 180ms cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid transparent;
}
.btn-primary {
    background: linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: var(--gray-0);
    border-color: var(--brand-deep);
    box-shadow: 0 1px 2px rgba(10, 95, 119, 0.20), inset 0 1px 0 rgba(255,255,255,0.16);
}
.btn-primary:hover {
    background: linear-gradient(180deg, var(--brand-deep) 0%, #07485A 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(14, 124, 154, 0.25), inset 0 1px 0 rgba(255,255,255,0.16);
}
.btn-ghost {
    background: var(--gray-0);
    color: var(--gray-9);
    border-color: var(--gray-4);
    box-shadow: 0 1px 2px rgba(14, 20, 27, 0.04);
}
.btn-ghost:hover {
    border-color: var(--gray-6);
    box-shadow: 0 4px 12px rgba(14, 20, 27, 0.08);
}
.btn-lg { padding: 14px 26px; font-size: 15px; }

/* ============================================================= BAND */

.band {
    padding: 88px 32px;
}
.band-inner {
    max-width: 1180px;
    margin: 0 auto;
}
.band-narrow {
    max-width: 760px;
}
.band--soft { background: var(--gray-1); border-top: 1px solid var(--gray-3); border-bottom: 1px solid var(--gray-3); }
.band--cta  { background: linear-gradient(180deg, var(--brand-50) 0%, var(--gray-1) 100%); border-top: 1px solid var(--brand-100); text-align: center; }
.band--cta .hero-cta { justify-content: center; }

.kicker {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gray-2);
    color: var(--gray-7);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

h2 {
    font-size: clamp(28px, 3.6vw, 36px);
    font-weight: 700;
    color: var(--gray-9);
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 14px;
}

.lede { font-size: 16px; color: var(--gray-7); line-height: 1.65; max-width: 62ch; margin-bottom: 28px; }

/* ============================================================ CARDS */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 32px;
}
.card {
    background: var(--gray-0);
    border: 1px solid var(--gray-3);
    border-radius: var(--r-4);
    padding: 22px 24px;
    box-shadow: 0 1px 2px rgba(14, 20, 27, 0.04);
    transition: all 200ms ease;
}
.card:hover {
    transform: translateY(-2px);
    border-color: var(--brand-200);
    box-shadow: 0 12px 24px rgba(14, 20, 27, 0.06), 0 2px 4px rgba(14, 20, 27, 0.03);
}
.card h3 { font-size: 16px; font-weight: 600; color: var(--gray-9); margin-bottom: 6px; }
.card p { color: var(--gray-7); font-size: 14px; line-height: 1.6; }

/* ============================================================ HOW LIST */

.how-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}
.how-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding: 20px 22px;
    background: var(--gray-0);
    border: 1px solid var(--gray-3);
    border-radius: var(--r-4);
}
.how-num {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 16px;
    color: var(--brand);
    background: var(--brand-50);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-2);
}
.how-list h3 { font-size: 16px; font-weight: 600; color: var(--gray-9); margin-bottom: 4px; }
.how-list p { color: var(--gray-7); font-size: 14px; line-height: 1.65; }

/* ============================================================ TABLE */

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 24px;
    border: 1px solid var(--gray-3);
    border-radius: var(--r-3);
    overflow: hidden;
    background: var(--gray-0);
    font-size: 14px;
}
.data-table th, .data-table td {
    text-align: left;
    padding: 11px 16px;
    border-bottom: 1px solid var(--gray-3);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table th {
    background: var(--gray-1);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-7);
    font-weight: 600;
}

.callout {
    margin-top: 24px;
    padding: 16px 18px;
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    border-left: 3px solid var(--brand);
    border-radius: var(--r-3);
    font-size: 14px;
    color: var(--gray-8);
    line-height: 1.65;
}
.callout strong { color: var(--gray-9); font-weight: 700; }

/* ============================================================ CITE */

.cite-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}
.cite-list li {
    padding: 14px 18px;
    background: var(--gray-1);
    border-left: 2px solid var(--gray-4);
    border-radius: var(--r-2);
    font-size: 14px;
    color: var(--gray-8);
    line-height: 1.6;
}
.cite-list strong { color: var(--gray-9); font-weight: 700; }
.cite-list em { color: var(--gray-7); font-style: italic; }

/* ============================================================ MISC */

.muted { color: var(--gray-6); font-size: 13px; }
.launch-note { margin-top: 16px; }
.launch-note code {
    font-family: var(--font-mono);
    font-size: 12px;
    background: var(--gray-2);
    padding: 2px 6px;
    border-radius: var(--r-1);
}

/* ========================================================== FOOTER */

.footer {
    padding: 36px 32px;
    background: var(--gray-1);
    border-top: 1px solid var(--gray-3);
}
.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--gray-7);
}
.footer .brand-word { color: var(--gray-9); font-weight: 700; }
.footer-meta { font-family: var(--font-mono); font-size: 12px; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { transition: color 120ms ease; }
.footer-links a:hover { color: var(--brand-deep); }
