:root {
    --bg: #ffffff;
    --bg-soft: #fafafa;
    --bg-dark: #0a0a0f;
    --bg-dark-2: #0f1018;
    --surface: #ffffff;
    --surface-dark: #14151f;
    --border: #e5e7eb;
    --border-strong: #d4d4d8;
    --border-dark: #1f2030;
    --text: #0a0a0f;
    --text-on-dark: #fafafa;
    --text-muted: #71717a;
    --text-muted-dark: #9ca3af;
    --brand: #3b82f6;
    --brand-deep: #1d4ed8;
    --brand-soft: #eff6ff;
    --brand-glow: #60a5fa;
    --accent-violet: #8b5cf6;
    --accent-green: #10b981;
    --accent-green-soft: #d1fae5;
    --accent-amber: #f59e0b;
    --accent-amber-soft: #fef3c7;
    --accent-rose: #f43f5e;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.06);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.18);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.55;
    scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

::selection { background: var(--brand); color: #fff; }

/* ---- Nav ---- */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.01em;
    color: var(--text);
}

.brand-mark {
    display: block;
    height: 30px;
    width: auto;
}
.brand-mark.sm { height: 24px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
    color: var(--text);
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    transition: all 0.15s ease;
}
.nav-links .nav-cta:hover {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
}
.nav-cta .arrow { display: inline-block; transition: transform 0.15s ease; }
.nav-cta:hover .arrow { transform: translateX(2px); }

/* ---- Hero ---- */

.hero {
    position: relative;
    background: var(--bg-dark);
    color: var(--text-on-dark);
    overflow: hidden;
    padding: 100px 40px 120px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 50% at 75% 0%, rgba(59, 130, 246, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 15% 100%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted-dark);
    margin-bottom: 28px;
}
.hero-eyebrow .divider { opacity: 0.4; }

.dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-green);
}
.dot-live {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: pulse 2s infinite;
}
.dot-pulse { animation: pulse 2s infinite; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: clamp(40px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    font-weight: 700;
    margin: 0 0 24px;
}
.hero-title em {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(135deg, var(--brand-glow) 0%, var(--accent-violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.hero-lede {
    font-size: 18px;
    color: var(--text-muted-dark);
    max-width: 540px;
    margin: 0 0 36px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---- Buttons ---- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.18s ease;
    font-family: inherit;
}
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn .arrow { display: inline-block; transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
    background: linear-gradient(180deg, #ffffff 0%, #f4f4f5 100%);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.18);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.28);
}

.btn-ghost {
    background: transparent;
    color: var(--text-on-dark);
    border: 1px solid rgba(255, 255, 255, 0.16);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }

/* Buttons used on light sections invert */
.sample-cta .btn-primary,
.newsletter .btn-primary {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
    box-shadow: 0 4px 16px rgba(10, 10, 15, 0.18);
}
.sample-cta .btn-primary:hover,
.newsletter .btn-primary:hover {
    background: #000;
    box-shadow: 0 8px 24px rgba(10, 10, 15, 0.28);
}

/* ---- Hero sample card ---- */

.hero-sample {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
}
.hero-sample::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.4) 0%, rgba(139, 92, 246, 0.2) 50%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.sample-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted-dark);
    margin-bottom: 16px;
}

.sample-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.sample-ticker {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.sample-trial {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted-dark);
    margin-bottom: 12px;
}

.sample-body {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(250, 250, 250, 0.88);
    margin: 0 0 16px;
}
.sample-body strong { color: #fff; font-weight: 600; }

.sample-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted-dark);
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sample-funds {
    font-family: var(--font-mono);
    font-weight: 500;
    color: var(--accent-green);
}

/* ---- Alpha pills ---- */

.alpha-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.alpha-pill-best {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.alpha-pill-first {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2) 0%, rgba(96, 165, 250, 0.1) 100%);
    color: var(--brand-glow);
    border: 1px solid rgba(96, 165, 250, 0.3);
}
.alpha-pill-strong {
    background: rgba(245, 158, 11, 0.14);
    color: var(--accent-amber);
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.alpha-pill-watch {
    background: rgba(148, 163, 184, 0.14);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Light-mode alpha pill variants for bento/preview */
.bento-card .alpha-pill-best,
.preview-card .alpha-pill-best {
    background: var(--accent-green-soft);
    color: #065f46;
    border-color: rgba(16, 185, 129, 0.4);
}
.bento-card .alpha-pill-first,
.preview-card .alpha-pill-first {
    background: var(--brand-soft);
    color: var(--brand-deep);
    border-color: rgba(59, 130, 246, 0.3);
}
.bento-card .alpha-pill-strong,
.preview-card .alpha-pill-strong {
    background: var(--accent-amber-soft);
    color: #92400e;
    border-color: rgba(245, 158, 11, 0.3);
}
.bento-card .alpha-pill-watch,
.preview-card .alpha-pill-watch {
    background: #f1f5f9;
    color: #475569;
    border-color: #e2e8f0;
}

/* ---- Stats ---- */

.stats {
    max-width: 1280px;
    margin: -56px auto 0;
    position: relative;
    z-index: 5;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.stat {
    padding: 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-num {
    font-family: var(--font-mono);
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.04em;
    color: var(--text);
    line-height: 1;
}
.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.45;
}

/* ---- Section heads ---- */

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}
.section-num {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand);
    margin-bottom: 16px;
}
.section-head h2 {
    font-size: clamp(32px, 4.5vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    font-weight: 700;
    margin: 0 0 16px;
}
.section-head h2 em {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent-violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-head p {
    font-size: 17px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}

/* ---- Bento ---- */

.bento {
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 40px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.bento-card {
    grid-column: span 2;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}
.bento-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}
.bento-lg { grid-column: span 4; }
.bento-md { grid-column: span 6; }

.card-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand);
    margin-bottom: 14px;
}
.bento-card h3 {
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -0.015em;
    margin: 0 0 12px;
    font-weight: 600;
}
.bento-lg h3 { font-size: 26px; }
.bento-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.persona-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
}
.persona-chips span {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.alpha-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    color: var(--text);
}
.alpha-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ---- Sample / preview catalysts ---- */

.sample-section {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 120px 40px;
}

.catalyst-preview-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.preview-loading {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    padding: 40px;
    font-size: 14px;
}

.preview-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.preview-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}

.preview-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.preview-ticker {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.preview-meta {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    gap: 6px;
    align-items: center;
}
.preview-meta .dot-sep { opacity: 0.4; }

.preview-summary {
    font-size: 14px;
    color: var(--text);
    line-height: 1.55;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.preview-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
}
.preview-funds {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--accent-green);
}

.sample-cta {
    margin-top: 48px;
    text-align: center;
}

/* ---- Newsletter ---- */

.newsletter {
    padding: 120px 40px;
}
.newsletter-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}
.newsletter-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand);
    margin-bottom: 16px;
}
.newsletter h2 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.025em;
    font-weight: 700;
    margin: 0 0 16px;
}
.newsletter h2 em {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent-violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.newsletter p {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0 0 28px;
    max-width: 460px;
}

.newsletter-quote {
    position: relative;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 32px 24px;
    margin: 0;
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1.5;
    font-style: italic;
    color: var(--text);
}
.newsletter-quote .quote-mark {
    position: absolute;
    top: 4px;
    left: 16px;
    font-size: 80px;
    line-height: 1;
    color: var(--brand);
    opacity: 0.3;
    font-style: normal;
}
.newsletter-quote cite {
    display: block;
    margin-top: 16px;
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 13px;
    color: var(--text-muted);
}

/* ---- Footer ---- */

footer {
    border-top: 1px solid var(--border);
    background: var(--bg);
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
}
.footer-meta {
    display: flex;
    gap: 24px;
    font-size: 12px;
    color: var(--text-muted);
    align-items: center;
    flex-wrap: wrap;
}
.footer-disclaimer { font-style: italic; }

/* ---- Catalysts page ---- */

.catalysts-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 56px 40px 80px;
}

.page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 32px;
}
.page-head .section-num { margin-bottom: 10px; }
.page-head h1 {
    margin: 0 0 6px;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.02em;
    font-weight: 700;
}
.page-head h1 em {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent-violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-sub {
    margin: 0;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 13px;
}

.legend {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.catalyst-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.catalyst-table thead th {
    background: var(--bg-soft);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.08em;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.catalyst-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.catalyst-table tbody tr:last-child td { border-bottom: 0; }
.catalyst-table tbody tr:hover { background: var(--bg-soft); }

.catalyst-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.catalyst-table .ticker a {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}
.catalyst-table .ticker a:hover { color: var(--brand); }
.catalyst-table .summary {
    color: var(--text-muted);
    min-width: 280px;
    max-width: 460px;
    line-height: 1.5;
}
.catalyst-table .loading {
    text-align: center;
    color: var(--text-muted);
    padding: 60px;
}

.data-note {
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

/* ---- Pricing ---- */

.pricing-section {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 120px 40px;
}

.pricing-grid {
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}

.pricing-card-featured {
    border-color: transparent;
    background:
        linear-gradient(var(--surface), var(--surface)) padding-box,
        linear-gradient(135deg, var(--brand) 0%, var(--accent-violet) 100%) border-box;
    border: 1.5px solid transparent;
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.12);
}

.pricing-tag {
    position: absolute;
    top: -12px;
    right: 24px;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent-violet) 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.pricing-tier {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand);
    font-weight: 600;
}

.pricing-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.pricing-amount {
    font-family: var(--font-mono);
    font-size: 42px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text);
    line-height: 1;
}
.pricing-unit {
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-pitch {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
    flex: 1;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.45;
}
.pricing-features .bullet-dot {
    width: 5px;
    height: 5px;
    flex-shrink: 0;
}

.pricing-card .btn-block {
    margin-top: 4px;
}

/* Ghost button on a light pricing card needs dark text */
.pricing-card .btn-ghost {
    color: var(--text);
    border-color: var(--border-strong);
    background: transparent;
}
.pricing-card .btn-ghost:hover {
    background: var(--bg-soft);
    border-color: var(--text);
}

/* Featured card: invert ghost so it pops; primary already styled */
.pricing-card-featured .btn-primary {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
    box-shadow: 0 4px 16px rgba(10, 10, 15, 0.18);
}
.pricing-card-featured .btn-primary:hover {
    background: #000;
    box-shadow: 0 8px 24px rgba(10, 10, 15, 0.28);
}

/* ---- Sign-up page ---- */

.signup-body {
    background: var(--bg-dark);
    color: var(--text-on-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.nav-on-dark {
    background: rgba(10, 10, 15, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-on-dark .brand { color: var(--text-on-dark); }
.nav-on-dark .nav-links a { color: var(--text-muted-dark); }
.nav-on-dark .nav-links a:hover { color: var(--text-on-dark); }

.signup-page {
    position: relative;
    flex: 1;
    padding: 64px 40px 96px;
    overflow: hidden;
}

.signup-inner {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 72px;
    align-items: center;
}

.signup-pitch { color: var(--text-on-dark); }

.signup-title {
    font-size: clamp(36px, 5.2vw, 60px);
    line-height: 1.04;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin: 16px 0 20px;
}
.signup-title em {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(135deg, var(--brand-glow) 0%, var(--accent-violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.signup-lede {
    font-size: 17px;
    color: var(--text-muted-dark);
    max-width: 500px;
    margin: 0 0 32px;
    line-height: 1.6;
}

.signup-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.signup-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(250, 250, 250, 0.88);
}
.bullet-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-glow), var(--accent-violet));
    flex-shrink: 0;
}

/* ---- Sign-up card ---- */

.signup-card {
    background: var(--surface);
    color: var(--text);
    border-radius: 18px;
    padding: 36px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.signup-price-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}
.signup-price-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}
.signup-price-line {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.signup-price {
    font-family: var(--font-mono);
    font-size: 34px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text);
    line-height: 1;
}
.signup-price-unit {
    font-size: 14px;
    color: var(--text-muted);
}

.signup-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.signup-field-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.signup-field input {
    font-family: inherit;
    font-size: 15px;
    padding: 12px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.signup-field input::placeholder { color: #a1a1aa; }
.signup-field input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.signup-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
}
.signup-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--brand);
    flex-shrink: 0;
}
.signup-check a {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 14px 22px;
    font-size: 15px;
    margin-top: 4px;
}

/* Override: on signup card (light surface on dark page), primary button is dark */
.signup-card .btn-primary {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
    box-shadow: 0 4px 16px rgba(10, 10, 15, 0.18);
}
.signup-card .btn-primary:hover {
    background: #000;
    box-shadow: 0 8px 24px rgba(10, 10, 15, 0.28);
}

.signup-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 4px 0;
}
.signup-divider::before,
.signup-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.signup-signin {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}
.signup-signin a {
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
}
.signup-signin a:hover { text-decoration: underline; }

.signup-plan-switch {
    margin: 20px 0 0;
    font-size: 13px;
    color: var(--text-muted-dark);
}
.signup-plan-switch a {
    color: var(--brand-glow);
    font-weight: 600;
    margin-left: 6px;
}
.signup-plan-switch a:hover { text-decoration: underline; }

.signup-google-wrap {
    display: flex;
    justify-content: center;
    margin: 4px 0 2px;
    min-height: 40px; /* reserve space so the layout doesn't jump while GSI loads */
}

.signup-terms-note {
    margin: 14px 0 4px;
    font-size: 11.5px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}
.signup-terms-note a {
    color: var(--brand);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    font-weight: 500;
}
.signup-terms-note a:hover { color: var(--brand-deep); }

.signup-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.5;
}

/* ---- Welcome / post-checkout page ---- */

.welcome-page {
    position: relative;
    flex: 1;
    padding: 96px 40px 96px;
    overflow: hidden;
}
.welcome-inner {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-on-dark);
}
.welcome-check {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-glow) 0%, var(--accent-violet) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 40px rgba(96, 165, 250, 0.35);
}
.welcome-check svg { width: 28px; height: 28px; stroke: #fff; }
.welcome-title {
    font-size: clamp(36px, 5.2vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin: 0 0 16px;
}
.welcome-title em {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(135deg, var(--brand-glow) 0%, var(--accent-violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.welcome-lede {
    font-size: 17px;
    color: var(--text-muted-dark);
    max-width: 500px;
    margin: 0 auto 36px;
    line-height: 1.6;
}
.welcome-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer when sitting on a dark page */
.footer-on-dark {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-on-dark .footer-brand { color: var(--text-on-dark); }
.footer-on-dark .footer-meta { color: var(--text-muted-dark); }

/* ---- Responsive ---- */

@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-sample { max-width: 460px; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: none; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
    .bento-grid { grid-template-columns: repeat(4, 1fr); }
    .bento-card { grid-column: span 2; }
    .bento-lg { grid-column: span 4; }
    .bento-md { grid-column: span 4; }
    .catalyst-preview-grid { grid-template-columns: repeat(2, 1fr); }
    .newsletter-inner { grid-template-columns: 1fr; }
    .signup-inner { grid-template-columns: 1fr; gap: 48px; max-width: 560px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
}

@media (max-width: 720px) {
    .nav { padding: 14px 20px; }
    .nav-links { gap: 14px; font-size: 13px; }
    .nav-links a:not(.nav-cta) { display: none; }
    .hero { padding: 64px 20px 80px; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { justify-content: center; }
    .stats { grid-template-columns: 1fr; padding: 0 20px; }
    .stat { border-right: none !important; border-bottom: 1px solid var(--border); }
    .stat:last-child { border-bottom: none; }
    .stat-num { font-size: 28px; }
    .bento, .sample-section, .newsletter, .pricing-section { padding: 72px 20px; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card,
    .bento-lg,
    .bento-md { grid-column: span 1; }
    .catalyst-preview-grid { grid-template-columns: 1fr; }
    .section-head { margin-bottom: 40px; }
    .catalysts-main { padding: 32px 16px 56px; }
    .catalyst-table thead th,
    .catalyst-table tbody td { padding: 10px; }
    .footer-inner { padding: 20px; }
    .signup-page { padding: 40px 20px 64px; }
    .signup-card { padding: 24px; }
    .signup-title { font-size: 36px; }
}
