/* ═══════════════════════════════════════════════════════
   PRAXIS — Visual storytelling design
   Pipeline demo + Liquid Glass + Desert Bloom palette
   ═══════════════════════════════════════════════════════ */

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

:root {
    --bg:      #FFFBF5;
    --bg-tint: #FFF6ED;
    --white:   #ffffff;
    --text:    #2D2B3D;
    --text-2:  #56526B;
    --text-3:  #9490A8;
    --accent:  #8B5CF6;
    --accent-2:#A78BFA;
    --accent-3:#F97066;
    --warm:    #F97066;
    --peach:   #FDE68A;
    --mint:    #6EE7B7;
    --glass-bg:   rgba(255,255,255,0.6);
    --glass-border:rgba(255,255,255,0.75);
    --glass-shadow:0 8px 32px rgba(45,43,61,0.06);
    --pill:    999px;
    --max-w:   1120px;
    --font:    'Inter', -apple-system, sans-serif;
    --mono:    'JetBrains Mono', monospace;
    --ease:    cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text-2);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
strong { color: var(--text); font-weight: 600; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

/* ═══════════ AMBIENT CANVAS ═══════════ */
#bg {
    position: fixed; inset: 0;
    width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}

/* ═══════════ LIQUID GLASS ═══════════ */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}
.glass-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, rgba(255,255,255,0.9) 40%, rgba(255,255,255,0.9) 60%, transparent 90%);
}

/* ═══════════ NAV ═══════════ */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100; padding: 12px 0;
    transition: all 0.4s;
}
.nav.scrolled {
    background: rgba(255,251,245,0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.nav-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
    display: flex; align-items: center;
}
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--text); }
.logo-mark {
    width: 34px; height: 34px; border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    color: #fff; font-weight: 700; font-size: 15px;
    display: flex; align-items: center; justify-content: center;
}
.logo-text { font-size: 17px; font-weight: 700; letter-spacing: 1px; }

.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a {
    color: var(--text-3); font-size: 14px; font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
    display: block; width: 20px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════ CHIP ═══════════ */
.chip {
    display: inline-flex; align-items: center;
    padding: 6px 16px; border-radius: var(--pill);
    background: rgba(139,92,246,0.08);
    color: var(--accent);
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 16px;
}

/* ═══════════ HERO ═══════════ */
.hero {
    position: relative; z-index: 1;
    padding: 150px 32px 80px;
}
.hero-inner {
    max-width: var(--max-w); margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}
.hero-text h1 {
    font-size: clamp(32px, 4.2vw, 48px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 18px;
}
.hero-text p {
    font-size: 16px; color: var(--text-2);
    line-height: 1.75; margin-bottom: 28px;
    max-width: 460px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-fill {
    display: inline-flex; align-items: center;
    padding: 12px 26px; border-radius: var(--pill);
    background: linear-gradient(135deg, var(--accent), #7C3AED);
    color: #fff; font-size: 14px; font-weight: 600;
    transition: all 0.25s var(--ease);
    box-shadow: 0 4px 16px rgba(139,92,246,0.25);
}
.btn-fill:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(139,92,246,0.3); color: #fff; }

.btn-glass {
    display: inline-flex; align-items: center;
    padding: 12px 26px; border-radius: var(--pill);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    color: var(--text); font-size: 14px; font-weight: 600;
    transition: all 0.25s var(--ease);
}
.btn-glass:hover { background: rgba(255,255,255,0.75); color: var(--text); }

/* Product demo card */
.product-demo { padding: 0; }
.demo-header {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.demo-dots { display: flex; gap: 5px; }
.demo-dots span {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(0,0,0,0.08);
}
.demo-dots span:first-child { background: #ff5f57; }
.demo-dots span:nth-child(2) { background: #febc2e; }
.demo-dots span:nth-child(3) { background: #28c840; }
.demo-title { margin-left: auto; font-size: 12px; color: var(--text-3); font-weight: 500; }

.demo-body { padding: 18px; }
.chat-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    margin-bottom: 10px;
    font-size: 14px; color: var(--text-2);
    line-height: 1.6;
}
.patient-bubble { background: rgba(139,92,246,0.06); border-bottom-left-radius: 4px; }
.doctor-bubble { background: rgba(249,112,102,0.06); border-bottom-left-radius: 4px; }
.chat-who {
    display: block; font-size: 10px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--accent); margin-bottom: 4px;
}
.chat-who.doc { color: var(--accent-3); }

.demo-sep { height: 1px; background: rgba(0,0,0,0.05); margin: 14px 0; }

.soap-preview { margin-bottom: 14px; }
.soap-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.soap-badge {
    font-size: 11px; font-weight: 600;
    padding: 3px 10px; border-radius: var(--pill);
    background: rgba(108,92,231,0.08); color: var(--accent);
}
.soap-auto { font-size: 11px; color: var(--text-3); }
.soap-preview p { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.soap-preview strong { font-weight: 600; color: var(--accent); }

.tag-row { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
    font-size: 11px; font-family: var(--mono); font-weight: 500;
    padding: 4px 12px; border-radius: var(--pill);
    display: flex; align-items: center; gap: 5px;
}
.tag small { opacity: 0.5; font-size: 9px; }
.tag-green { background: rgba(85,239,196,0.15); color: #00B894; }
.tag-red { background: rgba(253,121,168,0.12); color: #E84393; }

/* Metrics */
.metrics-bar {
    max-width: var(--max-w); margin: 48px auto 0;
    position: relative; z-index: 1;
}
.metrics-inner {
    display: flex; align-items: center; justify-content: center;
    padding: 28px 20px;
}
.metric { flex: 1; text-align: center; }
.metric-val {
    font-family: var(--mono); font-weight: 500;
    font-size: 28px; color: var(--text);
}
.metric-unit { font-size: 16px; color: var(--accent); font-weight: 600; }
.metric-label {
    display: block; font-size: 12px; color: var(--text-3);
    margin-top: 4px; font-weight: 500;
}
.metric-div {
    width: 1px; height: 36px; flex-shrink: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.08), transparent);
}

/* ═══════════ SECTIONS ═══════════ */
.section { position: relative; z-index: 1; padding: 96px 0; }
.section-tinted { background: var(--bg-tint); }

.section-head {
    max-width: 560px;
    margin-bottom: 52px;
}
.section-head h2 {
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 12px;
}
.section-head p { font-size: 16px; color: var(--text-2); line-height: 1.7; }

/* ═══════════ NUMBER CARDS ═══════════ */
.num-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.num-card {
    padding: 40px 28px;
    text-align: center;
}
.num-val {
    font-family: var(--mono); font-weight: 500;
    font-size: 44px; color: var(--text);
    line-height: 1; margin-bottom: 10px;
}
.num-val span { font-size: 24px; color: var(--accent); }
.num-card p { font-size: 15px; color: var(--text-2); }

/* ═══════════════════════════════════════════════════════
   PIPELINE STORY — Scroll-pinned interactive demo
   ═══════════════════════════════════════════════════════ */
.pipeline-story {
    position: relative;
    z-index: 1;
    height: 420vh;
    background: var(--bg-tint);
}
.pipeline-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 40px;
}
.pipeline-sticky .section-head { margin-bottom: 24px; }

/* Progress nav */
.pipe-nav {
    position: relative;
    margin-bottom: 24px;
}
.pipe-track {
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 2px;
    background: rgba(0,0,0,0.06);
    border-radius: 2px;
    transform: translateY(-50%);
}
.pipe-fill {
    height: 100%; width: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-3));
    border-radius: 2px;
    transition: width 0.15s linear;
}
.pipe-dots {
    display: flex;
    justify-content: space-between;
    position: relative;
}
.pipe-dot {
    background: var(--white);
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: var(--pill);
    padding: 8px 18px;
    font-size: 13px; font-weight: 500;
    color: var(--text-3);
    cursor: default;
    transition: all 0.35s var(--ease);
    display: flex; align-items: center; gap: 8px;
}
.pipe-num {
    font-family: var(--mono);
    font-size: 11px; font-weight: 500;
    color: var(--text-3);
    transition: color 0.35s;
}
.pipe-dot.active {
    border-color: var(--accent);
    background: rgba(139,92,246,0.06);
    color: var(--text);
    box-shadow: 0 2px 12px rgba(139,92,246,0.12);
}
.pipe-dot.active .pipe-num { color: var(--accent); }

/* Demo viewport */
.pipe-viewport {
    border-radius: 20px;
    overflow: hidden;
    min-height: 380px;
}
.pipe-header {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    background: rgba(255,255,255,0.4);
}
.pipe-header-title {
    margin-left: auto;
    font-size: 12px; font-weight: 600; font-family: var(--mono);
    color: var(--accent);
    letter-spacing: 0.03em;
}

/* Stages */
.pipe-stage {
    display: none;
    padding: 28px 28px 32px;
}
.pipe-stage.active {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
    align-items: start;
    animation: stageIn 0.5s var(--ease) both;
}
@keyframes stageIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pipe-info h3 {
    font-size: 18px; font-weight: 700; color: var(--text);
    margin-bottom: 10px;
}
.pipe-info p {
    font-size: 14px; color: var(--text-2); line-height: 1.7;
    margin-bottom: 16px;
}
.pipe-stack {
    display: inline-block;
    font-family: var(--mono); font-size: 11px;
    color: var(--text-3); padding: 6px 14px;
    background: rgba(0,0,0,0.03);
    border-radius: var(--pill);
}

/* ── Stage 0: Waveform ── */
.waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 120px;
    padding: 20px;
    background: rgba(139,92,246,0.03);
    border-radius: 14px;
    border: 1px solid rgba(139,92,246,0.08);
}
.wave-bar {
    width: 3px;
    height: 6px;
    border-radius: 2px;
    background: var(--accent);
    opacity: 0.7;
    animation: waveAnim 0.8s ease-in-out infinite alternate;
}
@keyframes waveAnim {
    from { height: 6px; opacity: 0.3; }
    to   { height: var(--h, 30px); opacity: 0.85; }
}
.wave-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 12px;
}
.wave-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 600; color: var(--accent-3);
    font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.05em;
}
.wave-pulse {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent-3);
    animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}
.wave-time {
    font-family: var(--mono); font-weight: 500;
    color: var(--text-3);
}

/* ── Stage 1: Transcript ── */
.transcript {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.t-line {
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.6;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s, transform 0.4s var(--ease);
}
.t-line.visible {
    opacity: 1;
    transform: translateY(0);
}
.t-line[data-speaker="patient"] { background: rgba(139,92,246,0.05); }
.t-line[data-speaker="doctor"]  { background: rgba(249,112,102,0.05); }

.t-who {
    display: block;
    font-size: 10px; font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 4px;
}
.t-who.doc { color: var(--accent-3); }
.t-text { }
.t-cursor {
    display: inline-block;
    width: 2px; height: 14px;
    background: var(--accent);
    margin-left: 1px;
    vertical-align: text-bottom;
    animation: blink 0.6s step-end infinite;
}
@keyframes blink {
    50% { opacity: 0; }
}

/* ── Stage 2: Entities ── */
.entities {
    padding: 20px;
    background: rgba(0,0,0,0.015);
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.04);
}
.e-text {
    font-size: 14px;
    color: var(--text-2);
    line-height: 2;
}
.e-hl {
    background: transparent;
    color: inherit;
    padding: 2px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.4s var(--ease);
    position: relative;
}
.e-hl.active.e-sym {
    background: rgba(139,92,246,0.1);
    border-bottom-color: var(--accent);
    color: var(--text);
    border-radius: 3px;
    padding: 2px 4px;
}
.e-hl.active.e-neg {
    background: rgba(249,112,102,0.1);
    border-bottom-color: var(--accent-3);
    color: var(--text);
    border-radius: 3px;
    padding: 2px 4px;
    text-decoration: line-through;
    text-decoration-color: var(--accent-3);
}
.e-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}
.e-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-family: var(--mono); font-weight: 500;
    padding: 5px 12px; border-radius: var(--pill);
    background: rgba(110,231,183,0.15); color: #059669;
    opacity: 0; transform: translateY(8px);
    transition: all 0.35s var(--ease);
}
.e-tag.visible { opacity: 1; transform: translateY(0); }
.e-tag small { opacity: 0.5; font-size: 9px; }
.e-tag-neg {
    background: rgba(249,112,102,0.1);
    color: var(--accent-3);
}

/* ── Stage 3: SOAP ── */
.soap-gen {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.soap-row {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    opacity: 0;
    transform: translateX(-16px);
    transition: all 0.5s var(--ease);
}
.soap-row.visible {
    opacity: 1;
    transform: translateX(0);
}
.soap-row:last-child { border-bottom: none; }
.soap-letter {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--mono); font-weight: 700; font-size: 15px;
    color: #fff;
}
.soap-row[data-letter="S"] .soap-letter { background: var(--accent); }
.soap-row[data-letter="O"] .soap-letter { background: #6366F1; }
.soap-row[data-letter="A"] .soap-letter { background: var(--accent-3); }
.soap-row[data-letter="P"] .soap-letter { background: #059669; }

.soap-body {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.7;
    padding-top: 6px;
}
.soap-code {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-3);
}
.soap-safety {
    color: var(--accent-3);
    font-weight: 600;
}

/* ═══════════ BENTO ═══════════ */
.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.bento-item {
    padding: 28px 24px;
    transition: transform 0.35s var(--ease);
}
.bento-item:hover { transform: translateY(-4px); }
.bento-wide { grid-column: span 2; }
.bento-item h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.bento-item p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ═══════════ TABLES ═══════════ */
.tables-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}
.table-block { padding: 24px; }
.table-block h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.table-block h3 span { font-weight: 400; color: var(--text-3); font-size: 13px; }

table { width: 100%; border-collapse: collapse; }
th {
    padding: 10px 14px; font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--text-3); text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
td {
    padding: 10px 14px; font-size: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    color: var(--text-2);
}
.row-best { background: rgba(85,239,196,0.08); }
.row-best td { color: var(--text); font-weight: 500; }
.row-best strong { color: #00B894; font-family: var(--mono); font-weight: 500; }

.findings-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.finding { padding: 24px; }
.finding h4 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.finding p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ═══════════ TECH ═══════════ */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.tech-tile { padding: 20px; transition: transform 0.25s var(--ease); }
.tech-tile:hover { transform: translateY(-3px); }
.tech-tile strong {
    display: block; font-size: 13px; font-weight: 600;
    color: var(--text); margin-bottom: 4px;
}
.tech-tile span { font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* ═══════════ TEAM ═══════════ */
.team-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.team-card {
    padding: 36px 24px; text-align: center;
    transition: transform 0.35s var(--ease);
}
.team-card:hover { transform: translateY(-4px); }

.av {
    width: 56px; height: 56px; margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    color: #fff; font-weight: 700; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
}
.av-2 { background: linear-gradient(135deg, var(--accent-3), var(--mint)); }
.av-3 { background: linear-gradient(135deg, var(--warm), var(--peach)); }

.team-card h3 { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.team-role { display: block; font-size: 13px; color: var(--accent); font-weight: 500; margin-bottom: 12px; }
.team-card p { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ═══════════ FOOTER ═══════════ */
.footer {
    position: relative; z-index: 1;
    padding: 48px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.footer-top {
    display: flex; align-items: center; gap: 24px;
    margin-bottom: 24px;
}
.footer-top p { font-size: 14px; color: var(--text-3); line-height: 1.5; }
.footer-sep { height: 1px; background: rgba(0,0,0,0.05); margin-bottom: 24px; }
.footer-bot {
    display: flex; justify-content: space-between;
    font-size: 13px; color: var(--text-3);
}

/* ═══════════ REVEAL ═══════════ */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    #bg { display: none; }
    .wave-bar { animation: none !important; }
    .t-cursor { animation: none !important; }
    .wave-pulse { animation: none !important; }
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .bento { grid-template-columns: 1fr; }
    .bento-wide { grid-column: span 1; }
    .tables-row, .findings-row, .team-row, .num-row { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .metrics-inner { flex-wrap: wrap; }
    .metric { min-width: 40%; }
    .metric-div { display: none; }
    .footer-bot { flex-direction: column; gap: 4px; }
    .footer-top { flex-direction: column; text-align: center; }

    .pipe-stage.active {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .pipe-dots { gap: 6px; }
    .pipe-dot { padding: 6px 12px; font-size: 12px; }
}

@media (max-width: 640px) {
    .nav-links {
        display: none; position: absolute;
        top: 56px; left: 0; right: 0;
        background: rgba(255,251,245,0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px 32px; gap: 16px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .nav-links.active { display: flex; }
    .nav-toggle { display: flex; }

    .hero { padding: 110px 20px 60px; }
    .hero-text h1 { font-size: 28px; }
    .section { padding: 64px 0; }
    .tech-grid { grid-template-columns: 1fr; }

    /* Pipeline mobile */
    .pipeline-story { height: 350vh; }
    .pipeline-sticky { padding: 70px 0 20px; }
    .pipe-dots { flex-wrap: wrap; gap: 4px; }
    .pipe-dot { padding: 5px 10px; font-size: 11px; }
    .pipe-dot span { display: none; }
    .pipe-viewport { min-height: auto; }
    .pipe-stage.active { padding: 18px 16px 24px; }
    .pipe-info h3 { font-size: 16px; }
}
