/* =============================================================================
 * OptinaLabs — Landing Page Stylesheet (styles2.css)
 *
 * Table of contents
 * ──────────────────
 *  1. Typography & base overrides
 *  2. Accessibility utilities
 *  3. Site header / nav
 *  4. Buttons
 *  5. Hero section
 *  6. Ticker strip
 *  7. Shared layout helpers
 *  8. How it works (steps)
 *  9. Products showcase
 * 10. Stats bar
 * 11. Features grid
 * 12. Pipeline section
 * 13. Pipeline canvas & info-card
 * 14. CTA section
 * 15. Footer
 * 16. Animations & scroll-reveal
 * 17. Responsive / breakpoints
 *
 * Note: CSS variables and reset are in base.css - this file contains
 * landing page specific styling only
 * =============================================================================
 */

/* ── Body override for landing page ── */
body {
    background: var(--off-white);
    color: var(--ink);
    font-family: 'Inter', 'DM Sans', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
    font-weight: 400;
}

/* Typography matching logo */
h1, h2, .display {
    font-family: 'Montserrat', system-ui, sans-serif;
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 800;
}
h3, h4 {
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ── Skip navigation — accessibility + SEO ── */
.skip-nav {
    position: absolute; top: -100px; left: 1rem;
    background: var(--blue); color: #fff;
    padding: 0.5rem 1rem; border-radius: 0 0 6px 6px;
    font-size: 0.875rem; text-decoration: none; font-weight: 500;
    transition: top 0.2s; z-index: 9999;
}
.skip-nav:focus { top: 0; }

/* ── HEADER / NAV ── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 1px 20px rgba(50,48,49,0.08); }
/* Signature gradient top-bar */
.site-header::before {
    content: ''; display: block;
    height: 2px;
    background: linear-gradient(90deg, var(--mauve) 0%, var(--slate) 50%, var(--mauve) 100%);
    opacity: 0.6;
}

.nav-inner {
    max-width: 1240px; margin: 0 auto;
    padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between;
    height: 62px;
}

/* Logo — wrapped in <a> inside <nav>, aria-label on nav */
.site-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800; font-size: 1.3rem;
    letter-spacing: -0.025em; text-decoration: none; color: var(--navy);
    display: flex; align-items: center; gap: 0.65rem;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
.site-logo-mark-img {
    width: 28px; height: 28px;
    flex-shrink: 0;
}
.site-logo-text {
    display: flex;
    align-items: baseline;
    gap: 2px;
}
.logo-main {
    font-weight: 800;
    color: var(--charcoal);
    letter-spacing: -0.02em;
}
.logo-sub {
    font-weight: 300;
    color: var(--stone);
    letter-spacing: 0.02em;
}

/* ── Hero logo lockup — large version in the hero, triggers nav handoff ── */
.hero-logo-lockup {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.75rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.1s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-logo-symbol {
    width: 82px; height: 82px;
    flex-shrink: 0;
    filter: drop-shadow(0 3px 12px rgba(95,91,107,0.14));
}
.hero-logo-words {
    display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
}
.hero-logo-words .lockup {
    display: flex; align-items: baseline; gap: 4px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.025em; line-height: 1;
}
.hero-logo-words .lockup .w-main {
    font-size: 3.25rem; font-weight: 800; color: var(--charcoal);
}
.hero-logo-words .lockup .w-sub {
    font-size: 3.25rem; font-weight: 300; color: var(--stone); letter-spacing: 0.02em;
}
.hero-logo-words .hero-tagline {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--sand); font-weight: 400; padding-left: 3px;
}

.nav-list {
    list-style: none; display: flex; align-items: center; gap: 0.25rem;
}
.nav-list a {
    color: var(--ink-mid); font-size: 0.875rem; font-weight: 400;
    text-decoration: none; padding: 0.4rem 0.75rem; border-radius: 6px;
    transition: background 0.15s, color 0.15s; display: block;
}
.nav-list a:hover { background: var(--blue-faint); color: var(--mauve); }
.nav-divider { width: 1px; height: 20px; background: var(--border); margin: 0 0.5rem; }
.btn-nav {
    background: rgba(95,91,107,0.08);
    color: var(--mauve);
    border: 1px solid rgba(95,91,107,0.24);
    font-size: 0.8125rem; font-weight: 600;
    padding: 0.5rem 1.125rem; border-radius: 7px;
    text-decoration: none;
    transition: background 0.18s, transform 0.12s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
    font-family: 'DM Sans', sans-serif;
}
.btn-nav:hover {
    background: var(--mauve);
    color: var(--white);
    border-color: var(--mauve);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(95,91,107,0.25);
}


/* =============================================================================
 * Globe Hero Section
 * #globe-hero
 *
 * Full-viewport dark section with the canvas rendered behind overlaid text.
 * The canvas is absolutely positioned to fill the section; the content sits
 * on top via z-index layering.
 * =============================================================================
 */

/* ── Section container ──────────────────────────────────────────────────────── */
#globe-hero {
    position: relative;
    min-height: 100vh;
    background: var(--navy);            /* deep navy — globe renders on top */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ── Globe canvas — fills the full section, sits behind text ─────────────── */
#globe-c {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;   /* let clicks pass through to content */
    z-index: 0;
}

/* ── Content overlay — centred, layered above canvas ────────────────────── */
.globe-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 5rem;
    max-width: 900px;
}

/* Eyebrow pill — reuses existing .hero-eyebrow styles */
#globe-hero .hero-eyebrow {
    background: rgba(95,91,107,0.15);
    border: 1px solid rgba(95,91,107,0.30);
}

/* Title — brighter against dark bg */
#globe-hero .hero-title {
    color: #FFFFFF;
    text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

#globe-hero .hero-title em {
    color: var(--blue-light);
}
#globe-hero .hero-title em::after {
    background: var(--blue-light);
}

/* Description */
#globe-hero .hero-description {
    color: rgba(255,255,255,0.55);
}

/* Buttons — lighten secondary button for dark bg */
#globe-hero .btn-secondary {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.7);
}
#globe-hero .btn-secondary:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.35);
    color: #ffffff;
}

/* ── Scroll hint ─────────────────────────────────────────────────────────── */
.globe-scroll-hint {
    position: absolute;
    bottom: 60px;             /* sits above the ticker strip */
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    animation: globe-hint-bob 2.5s ease-in-out infinite;
}
@keyframes globe-hint-bob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(5px); }
}

/* ── Ticker override for dark background ─────────────────────────────────── */
#globe-hero .ticker-wrap {
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,0.06);
}
#globe-hero .ticker-item {
    color: rgba(255,255,255,0.28);
}
#globe-hero .ticker-item .sep {
    color: var(--blue-light);
}

/* ── Stage legend — small key at bottom-right ───────────────────────────── */
.globe-legend {
    position: absolute;
    bottom: 64px;
    right: 2rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.globe-legend-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.32);
}
.globe-legend-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}


/* =============================================================================
 * Globe Pipeline Section  (#globe-section)
 * =============================================================================
 */

/* ── Section wrapper ─────────────────────────────────────────────────────── */
.signal-band {
    --band-dot-size: 0.9px;
    --band-dot-gap: 24px;
    --band-dot-color: rgba(193,189,179,0.08);
    background:
            radial-gradient(circle at 1px 1px, var(--band-dot-color) var(--band-dot-size), transparent calc(var(--band-dot-size) + 0.2px)),
            linear-gradient(180deg, #2e2b2c 0%, #1f1d1e 100%);
    background-size:
            var(--band-dot-gap) var(--band-dot-gap),
            100% 100%;
    background-position:
            0 0,
            0 0;
    padding-bottom: 0rem;
}

#globe-section {
    background: transparent;
    position: relative;
}

#globe-scroll-driver {
    min-height: 0;
}

.globe-sticky {
    position: relative;
    min-height: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.12rem;
    padding: 2.85rem 2rem 0.35rem;
}

#globe-c {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.globe-pipe-host {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(420px, 56vh, 620px);
    padding: 0;
    z-index: 1;
}

#globe-section #pipe-wrap {
    position: relative;
    width: min(1405px, 96vw);
    height: clamp(450px, 59vh, 660px);
    min-height: 450px;
    border-radius: var(--radius);
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
}

#pipe-legend {
    display: none;
}

.pipe-legend-title {
    font: 600 8px "Montserrat", sans-serif;
    letter-spacing: 0.08em;
    color: rgba(193,189,179,0.75);
}

.pipe-legend-grid {
    display: grid;
    grid-template-columns: repeat(5, auto);
    gap: 8px 14px;
    align-items: start;
}

.pipe-legend-row {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.pipe-legend-swatch {
    position: relative;
    width: 12px;
    height: 10px;
    flex: 0 0 12px;
}

.pipe-legend-swatch::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background: var(--swatch-line);
}

.pipe-legend-swatch::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: var(--swatch-fill);
    border: 1px solid var(--swatch-stroke);
}

.pipe-legend-label {
    font: 500 9px "IBM Plex Mono", monospace;
    color: rgba(193,189,179,0.8);
    letter-spacing: 0.01em;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* ── Heading overlay — top-centre, above the equator ───────────────────── */
.globe-heading-block {
    position: relative;
    z-index: 2;
    width: min(760px, 92%);
    text-align: center;
    padding: 0;
}

.globe-heading-block .section-label {
    justify-content: center;
    color: rgba(193,189,179,0.75);
}
.globe-heading-block .section-label::before {
    background: rgba(193,189,179,0.75);
}

.globe-heading-block .section-title {
    color: #ffffff;
    font-size: clamp(1.75rem, 3.5vw, 2.8rem);
    margin-bottom: 0.55rem;
}

.globe-heading-block .section-intro {
    color: rgba(255,255,255,0.62);
    font-size: 0.875rem;
    max-width: 480px;
    margin: 0 auto;
}

@media (max-width: 960px) {
    .globe-sticky { padding: 2.6rem 1rem 0.3rem; gap: 0.2rem; }
    .globe-pipe-host {
        padding: 0;
        min-height: clamp(390px, 55vh, 560px);
    }
    #globe-section #pipe-wrap {
        width: min(97vw, 1100px);
        height: clamp(390px, 55vh, 560px);
        min-height: 390px;
    }
    #pipe-legend {
        right: 12px;
        bottom: 12px;
    }
    .pipe-legend-grid {
        grid-template-columns: repeat(2, auto);
        gap: 12px 20px;
    }
    .pipe-legend-label { font-size: 9px; }
    .globe-heading-block { width: min(760px, 96%); }
}

/* ── Stage legend — bottom-right ─────────────────────────────────────── */
.globe-legend {
    position: absolute;
    bottom: 2.5rem;
    right: 2rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.globe-legend-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.32);
    white-space: nowrap;
}

.globe-legend-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Progress bar + stage label — bottom-centre ─────────────────────── */
.globe-progress-wrap {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: min(320px, 60%);
}

.globe-progress-bar {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.10);
    border-radius: 1px;
    overflow: hidden;
}

#globe-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--blue-light);
    border-radius: 1px;
    transition: width 0.1s linear;
}

.globe-stage-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.32);
}

#globe-card {
    position: absolute;
    z-index: 10;
    width: 270px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.18s ease, transform 0.18s ease;

    background: rgba(8, 14, 32, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
    overflow: hidden;
}

#globe-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.gc-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 16px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.gc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.gc-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gc-stage {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 8.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    white-space: nowrap;
}

.gc-body {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0;
    padding: 10px 16px 13px;
    margin: 0;
}

.gc-body dt {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    padding: 4px 12px 4px 0;
    white-space: nowrap;
}

.gc-body dd {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10.5px;
    color: rgba(255,255,255,0.75);
    padding: 4px 0;
    margin: 0;
    line-height: 1.4;
}

.gc-body dt,
.gc-body dd {
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.gc-body dt:last-of-type,
.gc-body dd:last-of-type {
    border-bottom: none;
}

@media (max-width: 640px) {
    .globe-legend { display: none; }
    .globe-sticky { padding: 2.2rem 0.75rem 0.25rem; gap: 0.16rem; }
    .globe-pipe-host {
        padding: 0;
        min-height: clamp(340px, 50vh, 460px);
    }
    #globe-section #pipe-wrap {
        height: clamp(340px, 50vh, 460px);
        min-height: 340px;
    }
}

/* ── HERO ── */
.hero {
    position: relative; min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: 0rem 2rem 7rem;
    background: var(--stone-2); overflow: hidden;
    --hero-center-shift: -22px;
}
/* Dot grid */
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: radial-gradient(circle, rgba(95,91,107,0.09) 1.2px, transparent 1.2px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 80% 75% at 50% 40%, black 20%, transparent 100%);
}
.hero-ring {
    position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
    border: 1px solid rgba(95,91,107,0.1);
    top: calc(50% + var(--hero-center-shift));
    left: 50%;
    transform: translate(-50%, -50%);
}
.hero-ring-1 { width: 720px; height: 720px; }
.hero-ring-2 { width: 460px; height: 460px; }

.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; transform: translateY(var(--hero-center-shift)); }

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: linear-gradient(135deg, rgba(95,91,107,0.08), rgba(193,189,179,0.12));
    border: 1px solid rgba(95,91,107,0.2);
    border-radius: 100px; padding: 0.35rem 0.9rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--mauve); margin-bottom: 2rem;
    opacity: 0; animation: fadeUp 0.7s 0.1s ease forwards;
    font-weight: 500;
}
.eyebrow-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--mauve);
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(95,91,107,0.4);
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.35;transform:scale(0.6)} }

.hero-title {
    font-size: clamp(5rem, 6.5vw, 6rem);
    font-weight: 900;
    max-width: 900px;
    color: var(--navy);
    opacity: 0;
    animation: fadeUp 0.8s 0.2s ease forwards;
    line-height: 1;
    letter-spacing: -0.03em;
}
.hero-title-main {
    font-size: clamp(2.5rem, 6vw, 5.25rem);
    display: block;
    line-height: 1;
    margin: -0em 0 -1em 0;
}
/* Italic accent word — elegant mauve underline */
.hero-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--navy), var(--mauve));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative; display: inline-block;
    line-height: 1;
    padding-bottom: 0.12em;
}
.hero-title em::after {
    content: ''; position: absolute; left: 0; bottom: 0px; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mauve), var(--stone));
    opacity: 0.4; border-radius: 2px;
}

.hero-subtext {
    max-width: 600px; margin-top: 1.5rem;
    font-size: 1.125rem; font-weight: 500; font-style: italic;
    color: var(--ink-mid); line-height: 1.6;
    opacity: 0; animation: fadeUp 0.8s 0.3s ease forwards;
}

.hero-description {
    max-width: 500px; margin-top: 1.75rem;
    font-size: 1.0625rem; font-weight: 300;
    color: var(--ink-mid); line-height: 1.8;
    opacity: 0; animation: fadeUp 0.8s 0.33s ease forwards;
}

.hero-actions {
    display: flex; align-items: center; gap: 0.875rem; margin-top: 2.75rem;
    opacity: 0; animation: fadeUp 0.8s 0.46s ease forwards;
}
.btn-primary {
    background: linear-gradient(135deg, var(--mauve) 0%, #4a4655 100%);
    color: var(--white); font-weight: 600;
    padding: 0.875rem 1.875rem; border-radius: 8px;
    font-size: 0.9375rem; text-decoration: none;
    transition: all 0.18s; border: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: 'DM Sans', sans-serif;
    box-shadow: 0 2px 12px rgba(95,91,107,0.25), 0 1px 3px rgba(95,91,107,0.15);
    position: relative;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #4a4655 0%, var(--mauve) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(95,91,107,0.35);
}
.btn-secondary {
    color: var(--ink-mid); font-size: 0.9375rem; font-weight: 500;
    text-decoration: none; padding: 0.875rem 1.25rem;
    border: 1.5px solid var(--border-med); border-radius: 8px;
    display: inline-flex; align-items: center; gap: 0.5rem;
    transition: all 0.18s; background: var(--white);
}
.btn-secondary:hover {
    border-color: var(--mauve);
    color: var(--mauve);
    background: var(--blue-faint);
    box-shadow: 0 4px 12px rgba(95,91,107,0.12);
}

/* ── Ticker ── */
.ticker-wrap {
    position: relative;
    margin-top: 66px;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    background: transparent;
    opacity: 0;
    animation: fadeIn 0.8s 0.25s ease forwards;
}
.ticker {
    --ticker-gap: 3rem;
    display: flex; gap: var(--ticker-gap); padding: 0.75rem 0;
    animation: ticker-scroll 32s linear infinite; width: max-content;
}
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - (var(--ticker-gap) / 2))); }
}
.ticker-item {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.6875rem; color: var(--ink-muted);
    letter-spacing: 0.1em; text-transform: uppercase;
    white-space: nowrap; font-family: 'IBM Plex Mono', monospace;
}
.ticker-item .sep { color: var(--mauve); opacity: 0.5; }

/* ── SHARED LAYOUT ── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 2rem; }

.section-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--mauve); margin-bottom: 0.875rem;
    display: flex; align-items: center; gap: 0.625rem;
    font-weight: 500;
}
.section-label::before {
    content: ''; width: 18px; height: 2px;
    background: linear-gradient(90deg, var(--mauve), var(--stone));
    border-radius: 1px; flex-shrink: 0;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 800; color: var(--navy);
}
.section-intro {
    margin-top: 1rem; color: var(--ink-mid);
    font-size: 1rem; font-weight: 300; max-width: 480px; line-height: 1.8;
}

/* ── Separator between hero and process sections ── */
.section-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    width: fit-content;
    margin: 0 auto 0rem;
    opacity: 0.85;
}
.section-separator-line {
    display: block;
    height: 2px;
    width: 50rem;
    flex-shrink: 0;
    background: linear-gradient(90deg, rgba(95,91,107,0.04) 0%, rgba(95,91,107,0.22) 100%);
}
.section-separator-line:last-child {
    background: linear-gradient(90deg, rgba(95,91,107,0.22) 0%, rgba(95,91,107,0.04) 100%);
}
.section-separator-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(95,91,107,0.45);
    box-shadow: 0 0 0 3px rgba(95,91,107,0.10);
    flex-shrink: 0;
}

/* ── HOW IT WORKS ── */
.section-how { padding: 8rem 0; background: var(--white); }

.steps-list {
    display: grid; grid-template-columns: repeat(3,1fr);
    gap: 1.5rem; margin-top: 4rem;
    list-style: none;
}
.step-item {
    background: var(--white); padding: 2.25rem 2rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    position: relative; overflow: hidden;
    transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}
.step-item:hover {
    border-color: var(--blue-border);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.step-item::before {
    content: ''; position: absolute; top: 0; left: 0; bottom: 0;
    width: 3px; background: var(--blue);
    transform: scaleY(0); transform-origin: top;
    transition: transform 0.25s ease;
}
.step-item:hover::before { transform: scaleY(1); }
.step-ordinal {
    font-family: 'Montserrat', sans-serif; font-weight: 800;
    font-size: 4.5rem; line-height: 1; letter-spacing: -0.04em;
    color: var(--blue-pale); position: absolute; top: 0.75rem; right: 1.25rem;
    user-select: none; pointer-events: none; aria-hidden: true;
}
.step-icon-wrap {
    width: 40px; height: 40px; border-radius: 8px;
    background: var(--blue-pale); border: 1px solid var(--blue-border);
    display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.step-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.625rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.01em;
}
.step-item p  { color: var(--ink-muted); font-size: 0.9rem; line-height: 1.7; font-weight: 300; }

/* ── PROMPT DEMO ── */
.section-demo { padding: 0 0 8rem; background: var(--white); }

.demo-figure {
    background: var(--white); border: 1.5px solid var(--border-med);
    border-radius: 14px; overflow: hidden; max-width: 820px; margin: 0 auto;
    box-shadow: var(--shadow);
}
.demo-toolbar {
    display: flex; align-items: center; gap: 1rem;
    padding: 0.875rem 1.5rem; border-bottom: 1px solid var(--border);
    background: var(--off-white);
}
.demo-dots { display: flex; gap: 6px; }
.demo-dots span {
    width: 10px; height: 10px; border-radius: 50%;
}
.demo-dots span:nth-child(1) { background: #FFB34A; }
.demo-dots span:nth-child(2) { background: #5DCC7D; }
.demo-dots span:nth-child(3) { background: #4A9EF5; }
.demo-input-wrap {
    flex: 1; display: flex; align-items: center; gap: 0.75rem;
    background: var(--white); border: 1.5px solid var(--border-med);
    border-radius: 6px; padding: 0.6rem 0.875rem; min-height: 44px;
}
.demo-cursor {
    display: inline-block; width: 2px; height: 1em;
    background: var(--blue); vertical-align: middle;
    animation: blink 1.1s step-start infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.demo-typed { font-family:'IBM Plex Mono',monospace; font-size:0.875rem; color:var(--ink); display:inline-block; min-width:2px; vertical-align:middle; }
.demo-label { font-family:'IBM Plex Mono',monospace; font-size:0.6875rem; color:var(--ink-faint); letter-spacing:0.1em; text-transform:uppercase; }

.demo-submit {
    background: var(--blue); border: none; border-radius: 6px;
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background 0.15s; flex-shrink: 0;
}
.demo-submit:hover { background: var(--blue-hover); }

/* Products output grid */
.products-grid {
    display: grid; grid-template-columns: repeat(3,1fr);
    grid-auto-rows: 248px;
}
.product-article {
    background: var(--white); padding: 1.5rem 1.25rem;
    transition: background 0.18s;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}
.product-article:nth-child(3n)     { border-right: none; }
.product-article:nth-last-child(-n+3) { border-bottom: none; }
.product-article:hover { background: var(--blue-faint); }

.product-header { display:flex; justify-content:space-between; align-items:flex-start; gap:0.5rem; margin-bottom:0.5rem; min-height: 2.5rem; }
.product-name  {
    font-family:'DM Sans',sans-serif; font-size:0.9375rem; font-weight:600; color:var(--navy); line-height:1.3;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.product-score { font-family:'IBM Plex Mono',monospace; font-size:1rem; font-weight:500; color:var(--blue); flex-shrink:0; }
.product-score small { font-size:0.6875rem; color:var(--ink-faint); font-weight:400; }
.product-desc  {
    font-size:0.8125rem; color:var(--ink-muted); line-height:1.55; margin-bottom:1rem;
    min-height: calc(1.55em * 4);
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden;
}

.product-tags { display:flex; gap:0.375rem; flex-wrap:wrap; list-style:none; }
.tag {
    font-family:'IBM Plex Mono',monospace; font-size:0.6rem; font-weight:500;
    letter-spacing:0.07em; padding:0.2rem 0.5rem; border-radius:4px;
    text-transform:uppercase; border:1px solid transparent;
}
.tag-go        { background:rgba(15,110,70,0.09); color:#0a6b42; border-color:rgba(15,110,70,0.18); }
.tag-core      { background:rgba(15,110,70,0.09); color:#0a6b42; border-color:rgba(15,110,70,0.18); }
.tag-expansion { background:var(--blue-pale); color:var(--blue); border-color:var(--blue-border); }
.tag-speculative{ background:rgba(180,120,0,0.09); color:#8a6000; border-color:rgba(180,120,0,0.18); }
.tag-modify    { background:rgba(180,120,0,0.09); color:#8a6000; border-color:rgba(180,120,0,0.18); }
.tag-kill      { background:rgba(190,40,40,0.09); color:#991a1a; border-color:rgba(190,40,40,0.18); }

.conf-bar  { height:2px; background:var(--border-med); border-radius:1px; margin-top:auto; overflow:hidden; }
.conf-fill { height:100%; background:var(--blue); border-radius:1px; }

/* ── STATS ── */
.section-stats {
    background: transparent;
    padding-bottom: 0.75rem;
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4,1fr);
}
.section-stats .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}
.stat-item {
    padding: 3rem 2.5rem;
    border-right: 1px solid rgba(255,255,255,0.07);
}
.stat-item:last-child { border-right: none; }
.stat-number {
    font-family:'Montserrat',sans-serif; font-size:4rem; font-weight:800;
    color:var(--white); letter-spacing:-0.04em; line-height:1; margin-bottom:0.5rem;
    display: block;
}
.stat-number span { color: var(--blue-light); }
.stat-desc { font-size:1rem; color:rgba(255,255,255,0.38); font-weight:300; line-height:1.65; }

/* ── FEATURES ── */
.section-features { padding: 8rem 0; background: var(--off-white); }

.features-grid {
    display: grid; grid-template-columns: repeat(3,1fr);
    gap: 1.25rem; margin-top: 4rem;
}
.feature-article {
    background: var(--white); padding: 2rem;
    border: 1.5px solid var(--border); border-radius: var(--radius);
    transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}
.feature-article:hover {
    border-color: var(--blue-border);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.feature-icon-wrap {
    width: 40px; height: 40px; border-radius: 8px;
    background: var(--blue-pale); border: 1px solid var(--blue-border);
    display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.feature-article h3 { font-size:1rem; font-weight:600; color:var(--navy); margin-bottom:0.5rem; }
.feature-article p  { font-size:0.875rem; color:var(--ink-muted); line-height:1.7; font-weight:300; }

/* ── PIPELINE ── */
.section-pipeline { padding: 8rem 0; background: var(--white); }

.pipeline-layout {
    display: grid; grid-template-columns: 1fr; gap: 3rem;
    align-items: start; margin-top: 4rem;
}
.pipeline-steps { list-style: none; }
.pipeline-step {
    display: flex; gap: 1.5rem; align-items: flex-start;
    padding: 1.5rem 0; border-bottom: 1px solid var(--border);
}
.pipeline-step:last-child { border-bottom: none; }
.pipeline-step-num { font-family:'IBM Plex Mono',monospace; font-size:0.75rem; color:var(--blue); min-width:24px; padding-top:2px; font-weight:500; }
.pipeline-step h3 { font-size:0.9375rem; font-weight:600; color:var(--navy); margin-bottom:0.25rem; }
.pipeline-step p  { font-size:0.875rem; color:var(--ink-muted); font-weight:300; line-height:1.65; }

.pipeline-visual {
    background: var(--off-white); border: 1.5px solid var(--border-med);
    border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm);
}
.pipeline-node {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.8125rem 1rem; background: var(--white);
    border: 1px solid var(--border); border-radius: 7px; margin-bottom: 0.5rem;
}
.node-dot  { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.node-label { font-size: 0.875rem; color: var(--ink-mid); font-weight: 400; flex: 1; }
.node-value { font-family:'IBM Plex Mono',monospace; font-size:0.75rem; color:var(--ink-faint); }
.pipeline-arrow { text-align:center; color:var(--ink-faint); font-size:0.875rem; margin:0.2rem 0; }

/* ── CTA ── */
.section-cta {
    padding: 10rem 0 8rem; text-align: center;
    background: var(--navy); position: relative; overflow: hidden;
}
.section-cta::before {
    content: none;
}
.section-cta::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black, transparent);
}
.section-cta .container { position: relative; z-index: 1; }

.cta-grid-ring-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}
.cta-grid-ring {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
    width: 1800px;
    max-width: 90vw;
    height: 660px;
    opacity: 0.2;
}
.cta-headline {
    position: relative;
    z-index: 1;
    font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800;
    color: var(--white); max-width: 720px; margin: 0 auto 1.5rem;
}
.cta-headline em { font-style: italic; color: var(--blue-light); }

.cta-description {
    color: rgba(255,255,255,0.45); font-size: 1.0625rem; font-weight: 300;
    max-width: 420px; margin: 0 auto 2.75rem; line-height: 1.8;
}
.cta-actions { display:flex; align-items:center; justify-content:center; gap:1rem; }
.btn-cta {
    background: var(--blue); color: var(--white); font-weight: 600;
    padding: 0.875rem 1.875rem; border-radius: 8px; font-size: 0.9375rem;
    text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
    transition: all 0.18s; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif;
    box-shadow: 0 2px 12px rgba(95,91,107,0.20), 0 1px 3px rgba(95,91,107,0.12);
    position: relative;
}
.btn-cta:hover {
    background: var(--off-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(95,91,107,0.28);
}
.btn-cta-outline {
    color: rgba(255,255,255,0.55); font-size: 0.9375rem; font-weight: 400;
    text-decoration: none; padding: 0.9375rem 1.5rem;
    border: 1.5px solid rgba(255,255,255,0.15); border-radius: 8px;
    display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.18s;
}
.btn-cta-outline:hover { border-color: rgba(255,255,255,0.35); color: var(--white); }

/* ── FOOTER ── */
.site-footer {
    background: var(--navy); border-top: 1px solid rgba(255,255,255,0.06);
    padding: 2.25rem 2rem;
}
.footer-inner {
    max-width: 1240px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
}
.footer-brand { font-family:'Montserrat',sans-serif; font-weight:800; font-size:1rem; color:var(--white); letter-spacing:-0.02em; }
.footer-brand span { color: var(--blue-light); }

.footer-nav { list-style: none; display: flex; gap: 1.5rem; }
.footer-nav a { font-size:0.8125rem; color:rgba(255,255,255,0.35); text-decoration:none; transition:color 0.2s; }
.footer-nav a:hover { color:var(--white); }

.footer-copy { font-size:0.8125rem; color:rgba(255,255,255,0.25); }

/* ── Animations ── */
@keyframes fadeUp { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:none} }
@keyframes fadeIn  { from{opacity:0} to{opacity:1} }

.reveal {
    opacity: 0; transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@keyframes pulsePip { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.3;transform:scale(0.6)} }


/* ── ISO PIPELINE CANVAS ── */
.pipe-iso-aside {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
}
#pipe-wrap {
    position: relative;
    width: 100%;
    height: 820px;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(180deg, #faf9f7 0%, #f3f1ee 100%);
    border: 1.5px solid rgba(50,48,49,0.12);
    box-shadow: 0 8px 28px rgba(50,48,49,0.09);
}
#pipe-c { display: block; width: 100%; height: 100%; }
#pipe-c.hovering { cursor: grab; }
#pipe-c.dragging { cursor: grabbing !important; }

#pipe-card {
    position: absolute; pointer-events: none;
    width: 190px;
    background: rgba(252,253,255,0.985);
    border: 1px solid rgba(50,48,49,0.18);
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(50,48,49,0.13);
    opacity: 0; transition: opacity 0.15s ease;
    z-index: 20; overflow: hidden;
}
#pipe-card.visible { opacity: 1; }
.pc-header {
    padding: 9px 12px 8px;
    border-bottom: 1px solid rgba(50,48,49,0.06);
    display: flex; align-items: baseline; gap: 6px;
    background: var(--blue-pale);
}
.pc-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px; font-weight: 700; color: var(--navy);
    letter-spacing: -0.01em;
}
.pc-stage {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 7.5px; letter-spacing: 0.1em;
    color: var(--blue); text-transform: uppercase;
}
.pc-body { padding: 8px 12px 10px; }
.pc-row {
    display: grid; grid-template-columns: 62px 1fr;
    gap: 2px; padding: 3px 0;
    border-bottom: 1px solid rgba(50,48,49,0.04);
    align-items: baseline;
}
.pc-row:last-child { border-bottom: none; }
.pc-label { font-family: 'IBM Plex Mono', monospace; font-size: 7.5px; letter-spacing: 0.08em; color: var(--stone); text-transform: uppercase; }
.pc-val   { font-family: 'IBM Plex Mono', monospace; font-size: 9px; color: var(--charcoal); }

/* ── Responsive ── */
@media(max-width:960px){
    .steps-list { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .products-grid { grid-template-columns: 1fr 1fr; }
    .pipeline-layout { grid-template-columns: 1fr; gap: 3rem; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
    .stat-item:last-child { border-bottom: none; }
    .products-grid { grid-auto-rows: 270px; }
}
@media(max-width:640px){
    .hide-mobile { display: none; }
    .features-grid,.products-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn-primary,.btn-secondary { justify-content: center; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
}

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
