:root {
  --bg: #0a0a0f;
  --surface: #13131a;
  --surface2: #1c1c26;
  --border: rgba(255,255,255,0.08);
  --border2: rgba(255,255,255,0.14);
  --text: #f0eff8;
  --muted: #7b7a8e;
  --accent: #6c63ff;
  --accent2: #a78bfa;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --teal: #2dd4bf;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
::selection { background: var(--accent2); color: #fff; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); overflow-x: hidden; line-height: 1.5; }
a { color: inherit; text-decoration: none; }

.bg-grid { position: fixed; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; z-index: 0; opacity: 0.35; }
.progress-bar { position: fixed; top: 0; left: 0; height: 2px; background: var(--accent2); width: 0; transition: width 0.3s ease; z-index: 200; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 16px 40px; border-bottom: 1px solid var(--border); background: rgba(10,10,15,0.85); backdrop-filter: blur(12px); }
.nav-logo { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -0.5px; }
.nav-logo span { color: var(--accent2); }

/* SHARED */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 14px; font-weight: 600; padding: 14px 28px; border-radius: 100px; border: none; cursor: pointer; transition: all .2s; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border2); }
.btn-ghost:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.3); }

.hl-accent { color: var(--accent2); }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 140px 40px 60px; position: relative; z-index: 1; }
.hero-inner { max-width: 980px; text-align: center; }
.hero-eyebrow { font-family: var(--font-mono); font-size: 12px; color: var(--accent2); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 28px; opacity: 0; animation: fadeUp .6s ease .2s forwards; }
.hero-headline { font-family: var(--font-display); font-size: clamp(40px, 7vw, 88px); font-weight: 700; line-height: 1.02; letter-spacing: -2.5px; margin-bottom: 32px; }
.hero-headline .hl-line { display: block; opacity: 0; animation: fadeUp .7s ease forwards; }
.hero-headline .hl-line:nth-child(1) { animation-delay: .35s; }
.hero-headline .hl-line:nth-child(2) { animation-delay: .55s; }
.hero-headline .hl-line:nth-child(3) { animation-delay: .75s; }
.hero-sub { font-size: 17px; color: var(--muted); line-height: 1.7; max-width: 660px; margin: 0 auto 40px; opacity: 0; animation: fadeUp .6s ease .95s forwards; }
.hero-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; opacity: 0; animation: fadeUp .6s ease 1.1s forwards; }
.hero-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 64px; max-width: 880px; margin-left: auto; margin-right: auto; opacity: 0; animation: fadeUp .6s ease 1.3s forwards; }
.metric { text-align: center; }
.metric-num { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 44px); font-weight: 700; color: var(--text); letter-spacing: -1px; }
.metric-cap { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.5; max-width: 180px; margin-left: auto; margin-right: auto; }

@media (max-width: 720px) {
  .hero-metrics { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* REALITY BAND */
.reality-band { padding: 0 40px 60px; position: relative; z-index: 1; display: flex; justify-content: center; }
.reality-card { max-width: 820px; width: 100%; background: var(--surface); border: 1px solid var(--border2); border-left: 3px solid var(--amber); border-radius: 12px; padding: 24px 28px; }
.reality-label { font-family: var(--font-mono); font-size: 11px; color: var(--amber); letter-spacing: 0.12em; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.reality-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: pulseAmber 2s ease-in-out infinite; }
.reality-quote { font-size: 15px; line-height: 1.65; color: var(--text); margin-bottom: 12px; }
.reality-caption { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* PAIN */
.pain { padding: 80px 40px; position: relative; z-index: 1; display: flex; justify-content: center; }
.pain-inner { max-width: 1000px; width: 100%; text-align: center; }
.pain-headline { font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px); font-weight: 600; letter-spacing: -0.5px; line-height: 1.3; margin-bottom: 36px; max-width: 760px; margin-left: auto; margin-right: auto; }
.pain-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.pain-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 22px 20px; font-size: 14px; color: var(--text); line-height: 1.5; }
.pain-sub { font-size: 14px; color: var(--muted); max-width: 720px; margin: 0 auto; line-height: 1.65; }
@media (max-width: 720px) {
  .pain-cards { grid-template-columns: 1fr; }
}

/* VP SECTIONS */
.vp-section { padding: 100px 40px; position: relative; z-index: 1; display: flex; justify-content: center; }
.vp-grid { max-width: 1180px; width: 100%; display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.vp-section.vp-reverse .vp-grid { grid-template-columns: 1.2fr 1fr; }
.vp-section.vp-reverse .vp-copy { order: 2; }
.vp-section.vp-reverse .vp-demo { order: 1; }
.vp-copy { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; align-self: center; }
.vp-demo { opacity: 0; transform: translateY(20px); transition: opacity .7s ease .15s, transform .7s ease .15s; align-self: center; }
.vp-section.in-view .vp-copy, .vp-section.in-view .vp-demo { opacity: 1; transform: translateY(0); }
.vp-eyebrow { font-family: var(--font-mono); font-size: 11px; color: var(--accent2); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px; }
.vp-title { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; letter-spacing: -1.2px; line-height: 1.1; margin-bottom: 18px; }
.vp-body { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.vp-list { list-style: none; }
.vp-list li { position: relative; padding-left: 22px; font-size: 14px; color: var(--text); margin-bottom: 8px; line-height: 1.55; }
.vp-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent2); }

.demo-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 24px; position: relative; min-height: 320px; }
.demo-caption { font-size: 12px; color: var(--muted); margin-top: 14px; text-align: center; font-style: italic; }

@media (max-width: 900px) {
  .vp-grid, .vp-section.vp-reverse .vp-grid { grid-template-columns: 1fr; gap: 36px; }
  .vp-section.vp-reverse .vp-copy { order: 1; }
  .vp-section.vp-reverse .vp-demo { order: 2; }
}

/* DEMO 1 - REVISION DIFF */
.rev-diff-card { display: flex; flex-direction: column; gap: 22px; padding: 24px; }
.rev-diff-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.rev-diff-title { display: flex; align-items: center; gap: 10px; }
.rev-tag { font-family: var(--font-mono); font-size: 11px; padding: 4px 10px; border-radius: 100px; letter-spacing: .06em; }
.rev-tag-prev { background: rgba(123,122,142,.12); color: var(--muted); border: 1px solid var(--border); }
.rev-tag-curr { background: rgba(108,99,255,.14); color: var(--accent2); border: 1px solid rgba(108,99,255,.35); }
.rev-diff-sep { color: var(--muted); font-size: 14px; }
.rev-diff-stats { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.rev-stat-changes { color: var(--accent2); }
.rev-stat-resolved b { color: var(--green); font-weight: 600; transition: color .3s; }
.rev-stat-resolved.is-complete { color: var(--green); }
.rev-stat-dot { opacity: .6; }
.rev-stat-untouched { color: var(--muted); }

.rev-diff-pipeline { position: relative; display: flex; align-items: stretch; flex-wrap: wrap; gap: 6px; padding: 16px 4px; min-height: 140px; }
.rev-scan { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: linear-gradient(to bottom, transparent, rgba(167,139,250,.6), transparent); box-shadow: 0 0 14px rgba(167,139,250,.5); opacity: 0; transition: left 2.4s linear, opacity .3s; pointer-events: none; }
.rev-scan.active { opacity: 1; }

.rev-node { position: relative; flex: 1 1 110px; min-width: 100px; background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; transition: all .35s ease; }
.rev-node[data-state="unchanged"] { opacity: .55; }
.rev-node[data-state="changed"][data-resolved="false"] { border-color: rgba(248,113,113,.35); background: rgba(248,113,113,.04); opacity: .8; }
.rev-node[data-state="changed"][data-resolved="true"] { border-color: var(--accent2); background: rgba(108,99,255,.07); box-shadow: 0 0 0 2px rgba(167,139,250,.18); opacity: 1; }
.rev-node-title { font-size: 13px; font-weight: 600; color: var(--text); }
.rev-node-tag { display: inline-block; align-self: flex-start; font-family: var(--font-mono); font-size: 9px; padding: 2px 7px; border-radius: 100px; letter-spacing: .04em; transition: opacity .25s; }
.rev-tag-untouched { background: rgba(123,122,142,.12); color: var(--muted); border: 1px solid var(--border); }
.rev-tag-issue { background: rgba(248,113,113,.12); color: var(--red); border: 1px solid rgba(248,113,113,.3); }
.rev-tag-resolved { background: rgba(52,211,153,.12); color: var(--green); border: 1px solid rgba(52,211,153,.3); display: none; }
.rev-node[data-state="changed"][data-resolved="true"] .rev-tag-issue { display: none; }
.rev-node[data-state="changed"][data-resolved="true"] .rev-tag-resolved { display: inline-block; }

.rev-link { display: flex; align-items: center; color: var(--muted); font-size: 14px; }

.rev-diff-detail { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; font-family: var(--font-mono); font-size: 12px; }
.rev-detail-node { color: var(--accent2); font-weight: 600; }
.rev-detail-key { color: var(--muted); }
.rev-detail-from { color: var(--red); text-decoration: line-through; }
.rev-detail-arrow { color: var(--muted); }
.rev-detail-to { color: var(--green); font-weight: 600; }

@media (max-width: 720px) {
  .rev-diff-pipeline { flex-direction: column; align-items: stretch; }
  .rev-link { justify-content: center; transform: rotate(90deg); }
  .rev-node { flex: 1 1 auto; }
  .rev-scan { display: none; }
}

/* DEMO 2 - CASCADE */
.cascade-card { padding: 20px; min-height: 0; position: relative; overflow: hidden; }
.cascade-stage { position: relative; width: 100%; aspect-ratio: 480 / 280; }
.cascade-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.c-edge { stroke: #3a3a48; stroke-width: 1.5; transition: stroke .4s, stroke-width .4s; }
.c-edge.c-edge-active { stroke: var(--amber); stroke-width: 2.5; filter: drop-shadow(0 0 4px rgba(251,191,36,.6)); }
.c-edge-quiet { opacity: .35; stroke-dasharray: 4 4; }
.c-node { position: absolute; width: 25%; min-width: 0; background: var(--surface2); border: 1px solid var(--border2); border-radius: 10px; padding: 8px 10px; transition: all .35s; }
.c-node-source { border-color: var(--accent2); box-shadow: 0 0 0 2px rgba(167,139,250,.15); }
.c-node-quiet { opacity: .35; }
.c-node-label { font-size: 12px; font-weight: 500; color: var(--text); }
.c-node-badge { display: inline-block; font-family: var(--font-mono); font-size: 9px; padding: 2px 7px; border-radius: 10px; background: var(--surface); color: var(--muted); border: 1px solid var(--border); margin-top: 6px; opacity: 0; transition: opacity .35s; }
.c-node-source .c-node-badge { background: rgba(167,139,250,.12); color: var(--accent2); border-color: rgba(167,139,250,.3); opacity: 1; }
.c-badge-review.is-on { opacity: 1; background: rgba(251,191,36,.12); color: var(--amber); border-color: rgba(251,191,36,.35); }
.c-badge-quiet { opacity: .5 !important; }
.c-node.is-impacted { border-color: var(--amber); box-shadow: 0 0 0 2px rgba(251,191,36,.18); }
.c-node-source.is-pulse { animation: pulseAmber 1.2s ease-in-out 2; }

/* DEMO 3 - COMPLIANCE */
.compliance-card { padding: 0; overflow: hidden; height: 640px; flex-shrink: 0; display: flex; flex-direction: column; }
.demo-tabs { display: flex; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.demo-tab { flex: 1; background: transparent; border: none; color: var(--muted); font-family: var(--font-mono); font-size: 12px; padding: 14px; cursor: pointer; transition: all .2s; border-bottom: 2px solid transparent; letter-spacing: .05em; }
.demo-tab:hover { color: var(--text); }
.demo-tab.active { color: var(--accent2); border-bottom-color: var(--accent2); }
.tab-pane { display: none; padding: 22px 24px; flex: 1; flex-direction: column; }
.tab-pane.active { display: flex; }
.comp-search { display: flex; align-items: center; gap: 10px; background: var(--surface2); border: 1px solid var(--border2); border-radius: 10px; padding: 12px 14px; font-family: var(--font-mono); font-size: 13px; margin-bottom: 18px; }
.comp-search-icon { opacity: .6; }
.comp-search-text { color: var(--text); }
.comp-search-cursor { color: var(--accent2); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.mini-pipeline { display: flex; align-items: stretch; gap: 6px; flex-wrap: wrap; padding: 10px 0 6px; height: 280px; overflow: hidden; align-content: flex-start; flex-shrink: 0; }
.tab-pane[data-pane="check"] .demo-caption { margin-top: auto; }
.tab-pane[data-pane="req"] .demo-caption { margin-top: auto; }
.node-card { flex: 1 1 130px; min-width: 120px; background: var(--surface2); border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 12px; transition: all .35s; position: relative; }
.node-card-title { font-size: 12px; font-weight: 600; color: var(--text); }
.node-card-meta { font-size: 11px; color: var(--muted); margin-top: 4px; font-family: var(--font-mono); }
.node-card-spec { color: var(--text); }
.node-card-badges { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; min-height: 0; }
.pipe-arrow { display: flex; align-items: center; color: var(--muted); font-size: 14px; }
.node-card.gate { border-color: var(--accent2); background: rgba(167,139,250,.06); animation: slideInLeft .5s ease both; }
.node-card.violation-red { border-color: var(--red); box-shadow: 0 0 0 2px rgba(248,113,113,.15); }
.node-card.violation-amber { border-color: var(--amber); box-shadow: 0 0 0 2px rgba(251,191,36,.15); }
.node-card.compliant { border-color: var(--green); }
.violation-badge { display: inline-block; font-family: var(--font-mono); font-size: 9px; padding: 2px 6px; border-radius: 6px; line-height: 1.4; }
.violation-badge.red { background: rgba(248,113,113,.12); color: var(--red); border: 1px solid rgba(248,113,113,.3); }
.violation-badge.amber { background: rgba(251,191,36,.12); color: var(--amber); border: 1px solid rgba(251,191,36,.3); }
.violation-badge.green { background: rgba(52,211,153,.12); color: var(--green); border: 1px solid rgba(52,211,153,.3); }

/* TAB B - REQUIREMENTS */
.req-input-wrap { background: var(--surface2); border: 1px solid var(--border2); border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; }
.req-input-label { font-family: var(--font-mono); font-size: 10px; color: var(--accent2); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.req-input { font-size: 14px; color: var(--text); min-height: 22px; }
.req-recs-label, .req-active-label { font-family: var(--font-mono); font-size: 10px; color: var(--accent2); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.req-recs { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; height: 280px; overflow-y: auto; flex-shrink: 0; }
.req-card { display: flex; gap: 12px; align-items: flex-start; padding: 11px 13px; background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; animation: fadeUp .4s ease both; }
.req-card-spec { border-left: 3px solid var(--teal); }
.req-card-compliance { border-left: 3px solid var(--accent2); }
.req-card-body { flex: 1; min-width: 0; }
.req-card-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.req-card-name { font-size: 13px; font-weight: 600; color: var(--text); }
.req-card-type { font-family: var(--font-mono); font-size: 9px; padding: 2px 6px; border-radius: 4px; letter-spacing: .06em; text-transform: uppercase; }
.req-card-type-spec { background: rgba(45,212,191,.12); color: var(--teal); border: 1px solid rgba(45,212,191,.3); }
.req-card-type-compliance { background: rgba(167,139,250,.12); color: var(--accent2); border: 1px solid rgba(167,139,250,.3); }
.req-card-rationale { font-size: 11px; color: var(--muted); margin-top: 5px; line-height: 1.45; }
.req-add-btn { font-family: var(--font-mono); font-size: 10px; padding: 6px 10px; border-radius: 6px; background: rgba(108,99,255,.12); color: var(--accent2); border: 1px solid rgba(108,99,255,.3); cursor: pointer; transition: all .2s; flex-shrink: 0; }
.req-add-btn:hover:not(:disabled) { background: var(--accent); color: #fff; border-color: var(--accent); }
.req-add-btn:disabled { background: rgba(52,211,153,.1); color: var(--green); border-color: rgba(52,211,153,.3); cursor: default; }
.req-active { background: var(--surface2); border: 1px dashed var(--border2); border-radius: 10px; padding: 12px; height: 90px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.req-active-empty { font-size: 12px; color: var(--muted); font-style: italic; text-align: center; padding: 6px 0; }
.req-active-item { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 6px 10px; background: var(--surface); border: 1px solid rgba(52,211,153,.25); border-radius: 6px; animation: fadeUp .3s ease both; }
.req-active-check { color: var(--green); font-size: 13px; }
.req-active-tag { font-family: var(--font-mono); font-size: 9px; padding: 1px 5px; border-radius: 3px; letter-spacing: .04em; text-transform: uppercase; flex-shrink: 0; }
.req-active-tag-spec { background: rgba(45,212,191,.12); color: var(--teal); border: 1px solid rgba(45,212,191,.3); }
.req-active-tag-compliance { background: rgba(167,139,250,.12); color: var(--accent2); border: 1px solid rgba(167,139,250,.3); }

/* DEMO 4 - TYPEWRITER PIPELINE */
.type-card { display: flex; flex-direction: column; gap: 16px; }
.type-input-wrap { background: var(--surface2); border: 1px solid var(--border2); border-radius: 10px; padding: 12px 14px; }
.type-input-label { font-family: var(--font-mono); font-size: 10px; color: var(--accent2); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.type-input { font-size: 14px; color: var(--text); min-height: 22px; line-height: 1.5; }
.type-input::after { content: '|'; color: var(--accent2); animation: blink 1s steps(1) infinite; margin-left: 2px; }
.type-input.done::after { content: ''; }
.type-pipeline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 80px; padding: 10px; background: rgba(255,255,255,.02); border: 1px dashed var(--border); border-radius: 10px; }
.type-node { background: var(--surface2); border: 1.5px solid var(--accent2); border-radius: 10px; padding: 10px 14px; font-size: 12px; color: var(--text); animation: fadeUp .4s ease both; min-width: 90px; text-align: center; }
.type-node.gate { border-color: var(--amber); color: var(--amber); }
.type-edge { color: var(--muted); animation: fadeUp .4s ease both; }

/* TEAM */
.team { padding: 100px 40px 80px; position: relative; z-index: 1; display: flex; justify-content: center; }
.team-inner { max-width: 880px; width: 100%; text-align: center; }
.team-headline { font-family: var(--font-display); font-size: clamp(24px, 3.2vw, 36px); font-weight: 700; letter-spacing: -0.8px; margin-bottom: 36px; }
.team-logos { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; margin-bottom: 28px; }
.team-logo-wrap { display: flex; align-items: center; justify-content: center; padding: 18px 28px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); transition: all .25s; cursor: default; overflow: hidden; }
.team-logo-wrap:hover { transform: translateY(-3px); border-color: var(--border2); box-shadow: 0 8px 28px rgba(108,99,255,.15); }
.team-logo-img { display: block; height: 32px; width: auto; object-fit: contain; transition: filter .25s, opacity .25s; }
.team-logo-nvidia { filter: brightness(0) invert(1); opacity: .85; }
.team-logo-siemens { filter: brightness(0) invert(1); opacity: .85; transform: scale(2); }
.team-logo-opencv { filter: brightness(0) invert(1); opacity: .85; transform: scale(1.5); }
.team-logo-wrap:hover .team-logo-img { opacity: 1; filter: none; }
.team-sub { font-size: 14px; color: var(--muted); line-height: 1.7; max-width: 640px; margin: 0 auto; }

@media (max-width: 540px) {
  .team-logos { flex-direction: column; gap: 18px; }
}

/* FOOTER */
.footer-cta { padding: 80px 40px 100px; border-top: 1px solid var(--border); position: relative; z-index: 1; display: flex; justify-content: center; background: linear-gradient(180deg, transparent, rgba(108,99,255,.04)); }
.footer-inner { max-width: 760px; width: 100%; text-align: center; }
.footer-headline { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -1.2px; margin-bottom: 16px; line-height: 1.1; }
.footer-sub { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 32px; }
.footer-cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.footer-meta { font-family: var(--font-mono); font-size: 11px; color: var(--muted); padding-top: 24px; border-top: 1px solid var(--border); }

/* MOBILE RESPONSIVE OVERRIDES */
@media (max-width: 720px) {
  /* Nav: tighter padding */
  .nav { padding: 12px 18px; }

  /* Hero */
  .hero { padding: 110px 20px 40px; min-height: auto; }
  .hero-headline { letter-spacing: -1.5px; }
  .hero-sub { font-size: 15px; line-height: 1.6; margin-bottom: 32px; }
  .hero-cta-row .btn { width: 100%; justify-content: center; }
  .hero-metrics { margin-top: 44px; gap: 20px; }
  .metric-cap { font-size: 11px; }

  /* Reality + pain */
  .reality-band { padding: 0 18px 40px; }
  .reality-card { padding: 20px 18px; }
  .reality-quote { font-size: 14px; }
  .pain { padding: 56px 18px; }
  .pain-cards { gap: 10px; margin-bottom: 22px; }

  /* VP sections */
  .vp-section { padding: 56px 18px; }
  .vp-grid, .vp-section.vp-reverse .vp-grid { gap: 28px; }
  .vp-title { letter-spacing: -0.6px; }
  .demo-card { padding: 18px; min-height: 0; border-radius: 14px; }

  /* Demo 1 — iteration card stats wrap cleanly */
  .rev-diff-card { padding: 18px; gap: 16px; }
  .rev-diff-stats { font-size: 10px; gap: 6px; row-gap: 4px; }
  .rev-diff-detail { font-size: 11px; padding: 10px 12px; gap: 6px; }

  /* Demo 2 — cascade: taller aspect ratio so labels/badges fit */
  .cascade-card { padding: 14px; }
  .cascade-stage { aspect-ratio: 480 / 360; }
  .c-node { padding: 6px 8px; border-radius: 8px; }
  .c-node-label { font-size: 10px; line-height: 1.2; }
  .c-node-badge { font-size: 8px; padding: 1px 5px; margin-top: 4px; }

  /* Demo 3 — compliance card: drop fixed height, stack mini-pipeline vertically */
  .compliance-card { height: auto; }
  .demo-tab { padding: 16px 8px; min-height: 44px; font-size: 11px; letter-spacing: .03em; }
  .tab-pane { padding: 18px 16px; }
  .comp-search { font-size: 12px; padding: 10px 12px; }
  .mini-pipeline { flex-direction: column; align-items: stretch; height: auto; gap: 4px; }
  .mini-pipeline .node-card { flex: 1 1 auto; }
  .mini-pipeline .pipe-arrow { justify-content: center; transform: rotate(90deg); padding: 2px 0; }

  /* Demo 3 Tab B — requirements: cap recs height differently on mobile */
  .req-recs { height: auto; max-height: 360px; }
  .req-active { height: auto; min-height: 80px; max-height: 180px; }
  .req-card { padding: 10px; }
  .req-card-name { font-size: 12px; }
  .req-add-btn { padding: 12px 14px; min-height: 44px; }

  /* Demo 4 — typewriter pipeline */
  .type-pipeline { gap: 5px; padding: 8px; }
  .type-node { padding: 8px 12px; font-size: 11px; min-width: 70px; }

  /* Team + footer */
  .team { padding: 64px 18px 56px; }
  .team-logos { gap: 18px; }
  .team-logo-wrap { padding: 14px 22px; }
  .footer-cta { padding: 56px 18px 72px; }
  .footer-cta-row { flex-direction: column; gap: 10px; }
  .footer-cta-row .btn { width: 100%; justify-content: center; }
}

/* WAITLIST MODAL */
.waitlist-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(5,5,10,0.78); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity .25s ease; }
.waitlist-overlay.is-open { display: flex; opacity: 1; }
.waitlist-modal { position: relative; width: 100%; max-width: 460px; background: var(--surface); border: 1px solid var(--border2); border-radius: 16px; padding: 32px 28px 28px; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(108,99,255,.15); animation: fadeUp .35s ease; max-height: calc(100vh - 48px); overflow-y: auto; }
.waitlist-close { position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; border-radius: 50%; background: transparent; border: none; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; transition: color .2s, background .2s; display: flex; align-items: center; justify-content: center; }
.waitlist-close:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.waitlist-eyebrow { font-family: var(--font-mono); font-size: 11px; color: var(--accent2); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 10px; }
.waitlist-title { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -.6px; margin-bottom: 10px; line-height: 1.2; }
.waitlist-sub { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 22px; }
.waitlist-form { display: flex; flex-direction: column; gap: 14px; }
.waitlist-field { display: flex; flex-direction: column; gap: 6px; }
.waitlist-label { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.waitlist-label em { color: var(--accent2); font-style: normal; }
.waitlist-optional { color: var(--muted); opacity: .7; }
.waitlist-form input, .waitlist-form textarea { font-family: var(--font-body); font-size: 14px; color: var(--text); background: var(--surface2); border: 1px solid var(--border2); border-radius: 8px; padding: 10px 12px; outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.waitlist-form input:focus, .waitlist-form textarea:focus { border-color: var(--accent2); box-shadow: 0 0 0 3px rgba(108,99,255,.15); }
.waitlist-form input:invalid:not(:placeholder-shown) { border-color: rgba(248,113,113,.4); }
.waitlist-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.waitlist-error { font-size: 13px; color: var(--red); padding: 8px 10px; background: rgba(248,113,113,.08); border: 1px solid rgba(248,113,113,.25); border-radius: 8px; }
.waitlist-submit { margin-top: 6px; justify-content: center; }
.waitlist-submit:disabled { opacity: .6; cursor: wait; }
.waitlist-success-state { text-align: center; padding: 12px 0 6px; }
.waitlist-success-check { width: 56px; height: 56px; border-radius: 50%; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.4); color: var(--green); font-size: 28px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.waitlist-success-close { margin-top: 10px; }

@media (max-width: 540px) {
  .waitlist-modal { padding: 28px 20px 22px; border-radius: 14px; }
  .waitlist-title { font-size: 21px; }
}

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseAmber { 0%, 100% { box-shadow: 0 0 0 0 rgba(251,191,36,.5); } 50% { box-shadow: 0 0 0 8px rgba(251,191,36,0); } }
@keyframes pulseRed { 0%, 100% { box-shadow: 0 0 0 0 rgba(248,113,113,.5); } 50% { box-shadow: 0 0 0 8px rgba(248,113,113,0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
