/* ══════════════════════════════════════════
   VIVACITY - DESIGN SYSTEM v2
   Dense. Industrial. Precise.
   ══════════════════════════════════════════ */

@font-face {
  font-family: 'GeistPixel';
  src: url('fonts/GeistPixel-Regular-VariableFont_ELSH.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg:    #080808;
  --bg-1:  #0F0F0F;
  --bg-2:  #141414;
  --bg-3:  #1A1A1A;

  --t-1:   #EDEDED;
  --t-2:   #888888;
  --t-3:   #444444;

  --accent: #E8E0D0;

  --border:   rgba(255,255,255,0.06);
  --border-2: rgba(255,255,255,0.12);

  --r:      8px;
  --r-lg:   16px;
  --r-pill: 999px;

  --font-pixel: 'GeistPixel', 'DM Mono', monospace;
  --font-mono:  'DM Mono', 'Space Mono', monospace;
  --font-sans:  'Space Grotesk', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--t-1);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

::selection { background: rgba(232,224,208,0.15); color: var(--t-1); }

/* ── Scroll reveal ── */
.reveal-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.reveal-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.content-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ═══════════════════════════════════════
   NAV
═══════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 48px;
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-logo {
  font-family: var(--font-pixel);
  font-size: 20px;
  font-weight: 700;
  color: var(--t-1);
  text-decoration: none;
  letter-spacing: -0.02em;
  margin-right: auto;
  font-variation-settings: 'ELSH' 100;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 24px;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--t-2);
  text-decoration: none;
  transition: color 120ms;
}

.nav-links a:hover { color: var(--t-1); }

.nav-sep {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--t-3);
  user-select: none;
}

.nav-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--t-2);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r);
  padding: 5px 12px;
  text-decoration: none;
  transition: color 120ms, border-color 120ms;
}

.nav-cta:hover {
  color: var(--t-1);
  border-color: var(--border-2);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 12px;
}

.nav-burger span {
  width: 18px; height: 1px;
  background: var(--t-2);
  display: block;
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  padding: 140px 32px 80px;
  background: var(--bg);
  position: relative;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 540px;
}

.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-1);
}

.hero-video-wrapper {
  width: 100%; height: 100%; position: relative;
}

.hero-video-meta {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(8,8,8,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  z-index: 10;
}

.h-video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: contrast(1.15) saturate(1.15);
  transform: scale(1.25);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.eyebrow-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--t-2);
  letter-spacing: 0.12em;
  border: 1px solid var(--border-2);
  border-radius: var(--r-pill);
  padding: 2px 10px;
}

.eyebrow-sep {
  color: var(--t-3);
}

.eyebrow-status {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--t-3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 6px; height: 6px;
  background: #39C868;
  border-radius: 50%;
  box-shadow: 0 0 10px #39C868;
}

.hero-h1 {
  font-family: var(--font-pixel);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  color: var(--t-1);
  line-height: 0.95;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
  font-variation-settings: 'ELSH' 100;
}

.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(14px);
  animation: heroLineIn 0.5s cubic-bezier(0.16,1,0.3,1) forwards;
  animation-delay: calc(var(--i) * 0.08s);
}

.hero-line--dim {
  color: rgba(255,255,255,0.4);
}

@keyframes heroLineIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-body {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--t-2);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 48px;
}

.hero-input-wrap {
  max-width: 640px;
}

.hero-input-box {
  display: flex;
  background: var(--bg-1);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  position: relative;
  transition: border-color 120ms;
}

.hero-input-box:focus-within {
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.03);
}

.hero-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--t-2);
  resize: none;
  outline: none;
  min-height: 54px;
  line-height: 1.5;
}

.hero-input::placeholder { color: var(--t-3); }

.hero-submit {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--t-3);
  padding: 0 16px;
  cursor: pointer;
  transition: all 120ms;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-submit:hover { color: var(--t-1); }
.hero-submit svg { width: 18px; height: 18px; }

.hero-suggestions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.suggestion-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--t-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.suggestion-pill {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  font-family: var(--font-pixel);
  font-size: 12px;
  color: var(--t-2);
  cursor: pointer;
  transition: all 120ms;
}

.suggestion-pill:hover {
  background: var(--bg-2);
  color: var(--t-1);
  border-color: rgba(255,255,255,0.2);
}

/* ═══════════════════════════════════════
   STATS STRIP
═══════════════════════════════════════ */
.stats-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-1);
  padding: 24px 0;
}

.stats-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-pixel);
  font-size: 24px;
  color: var(--t-1);
  font-variation-settings: 'ELSH' 100;
}

.stat-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--t-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-div {
  color: var(--border-2);
  font-family: var(--font-mono);
}

/* ══════════════════════════════════════════
   BIG LOGO MARQUEE (Universities)
══════════════════════════════════════════ */
.logo-marquee-section {
  padding: 64px 0 80px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.logo-marquee-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--t-3);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.logo-marquee-mask {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.logo-marquee-inner {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marqueeScroll 50s linear infinite;
  gap: 96px;
  padding-left: 96px; /* spacing for looping */
}

.uni-logo {
  color: rgba(255,255,255,0.15); /* Very dim, like reference */
  white-space: nowrap;
  user-select: none;
  transition: color 300ms;
}

.uni-logo:hover {
  color: rgba(255,255,255,0.4);
}

/* Simulate the official university wordmarks using standard OS fonts */
.uni-stanford {
  font-family: 'Times New Roman', Times, serif;
  font-size: 64px;
  letter-spacing: -0.02em;
}

.uni-mit {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: 60px;
  letter-spacing: -0.01em;
}

.uni-oxford {
  font-family: 'Georgia', serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.uni-berkeley {
  font-family: 'Times New Roman', Times, serif;
  font-size: 64px;
  letter-spacing: 0.03em;
}

.uni-cambridge {
  font-family: 'Georgia', serif;
  font-size: 48px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.uni-eth {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 52px;
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════
   VIDEO SHOWCASE
═══════════════════════════════════════ */
.video-section {
  padding: 96px 0;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.section-h2 {
  font-family: var(--font-pixel);
  font-size: 36px;
  font-weight: 700;
  color: var(--t-1);
  letter-spacing: -0.01em;
  line-height: 1.0;
  margin-bottom: 8px;
  font-variation-settings: 'ELSH' 100;
}

.section-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--t-3);
  letter-spacing: 0.1em;
}

.section-link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--t-2);
  text-decoration: none;
  transition: color 120ms;
}
.section-link:hover { color: var(--t-1); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.video-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.2);
}

.video-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.vc-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vc-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--t-3);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 2px 8px;
}

.vc-sep { color: var(--t-3); font-size: 10px; }

.vc-title {
  font-family: var(--font-pixel);
  font-size: 12px;
  color: var(--t-1);
  font-variation-settings: 'ELSH' 80;
}

.vc-dur {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--t-3);
}

.video-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  background: var(--bg);
}

.video-wrap--svg {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vc-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.15) saturate(1.15);
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: rgba(0,0,0,0.4);
  transition: opacity 200ms;
}
.video-wrap:hover .video-overlay { opacity: 1; }

.vc-play-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform 120ms, background 120ms;
}
.vc-play-btn:hover {
  transform: scale(1.05);
  background: rgba(255,255,255,0.2);
}
.vc-play-btn svg { width: 16px; height: 16px; }

.video-card-bottom {
  padding: 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-1);
}

.vc-prompt-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--t-3);
}

.vc-prompt {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--t-2);
}

.ex-svg { width: 100%; height: 100%; }

.svg-play-btn {
  position: absolute;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t-1);
  opacity: 0;
  transition: opacity 180ms;
}
.video-card--svg:hover .svg-play-btn { opacity: 1; }


/* ═══════════════════════════════════════
   HOW IT WORKS / PIPELINE
═══════════════════════════════════════ */
.how-section {
  padding: 96px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-1);
}

.pipeline-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 16px;
  margin-top: 48px;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ps-num {
  font-family: var(--font-pixel);
  font-size: 20px;
  color: var(--t-3);
  font-variation-settings: 'ELSH' 100;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.ps-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--t-1);
  margin-bottom: 8px;
}

.ps-desc {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--t-2);
  line-height: 1.6;
}

.pipeline-connector {
  font-family: var(--font-mono);
  color: var(--t-3);
  font-size: 14px;
  margin-top: 8px;
}

.code-block-wrap {
  margin-top: 64px;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.code-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.code-lang {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--t-3);
  text-transform: uppercase;
}

.code-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--t-2);
}

.code-block {
  padding: 24px;
  overflow-x: auto;
}

.code-block code {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--t-2);
}

.c-kw { color: #C678DD; }
.c-op { color: #56B6C2; }
.c-str { color: #98C379; }
.c-num { color: #D19A66; }
.c-cm { color: #5C6370; font-style: italic; }


/* ═══════════════════════════════════════
   APP SHOT (Dense interface)
═══════════════════════════════════════ */
.appshot-section {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.browser-frame {
  margin-top: 48px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.browser-chrome {
  height: 36px;
  background: var(--bg-2);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
}

.chrome-dots {
  display: flex;
  gap: 6px;
}

.cdot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--bg-3);
}

.chrome-url-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--t-3);
  background: var(--bg-3);
  border-radius: var(--r);
  padding: 3px 12px;
}

.browser-panels {
  display: grid;
  grid-template-columns: 32% 68%;
  height: 480px;
  background: var(--bg-1);
}

.panel-left {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.panel-topbar {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  gap: 6px;
}

.panel-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--t-2);
  letter-spacing: 0.08em;
}

.panel-plus {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--t-3);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.panel-messages {
  flex: 1;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}

.msg {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
}

.msg-user {
  background: var(--bg-2);
  border-radius: var(--r);
  padding: 10px 12px;
  color: var(--t-2);
  align-self: flex-end;
  max-width: 90%;
  border: 1px solid var(--border);
}

.msg-system {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--t-3);
  display: flex;
  align-items: center;
  gap: 6px;
}

.msg-dot {
  width: 6px; height: 6px;
  background: var(--t-3);
  border-radius: 50%;
}

.pulsing {
  background: #39C868;
  box-shadow: 0 0 8px #39C868;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

.msg-done {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--t-1);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.msg-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--t-3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1px 6px;
}

.panel-input-wrap {
  padding: 12px;
  border-top: 1px solid var(--border);
}

.panel-input {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--t-2);
  outline: none;
}

.panel-right {
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.panel-video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.dph-btn {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--t-2);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 3px 8px;
  cursor: pointer;
}

.panel-video-area {
  flex: 1;
  background: #050505;
  border-bottom: 1px solid var(--border);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.math-svg { width: 100%; height: 100%; }
.svg-label { font-family: var(--font-mono); font-size: 11px; fill: var(--t-2); }
.svg-accent { fill: var(--accent); opacity: 0.85; }

.panel-scrubber-row {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 12px;
  background: var(--bg-1);
}

.vc-ctrl-sm {
  background: none; border: none; color: var(--t-2); cursor: pointer; font-size: 10px;
}

.scrubber-track {
  flex: 1;
  height: 2px;
  background: var(--bg-3);
  border-radius: var(--r-pill);
}

.scrubber-fill {
  height: 100%;
  background: var(--t-1);
  border-radius: var(--r-pill);
}

.scrubber-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--t-3);
}

.panel-ctrls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--t-3);
}
.panel-ctrls span:not(.ctrl-sep) { cursor: pointer; transition: color 120ms; }
.panel-ctrls span:not(.ctrl-sep):hover { color: var(--t-1); }


/* ══════════════════════════════════════════
   PRICING
══════════════════════════════════════════ */
.pricing-section {
  padding: 120px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 340px);
  gap: 48px;
  justify-content: center;
  margin-top: 64px;
}

.plan-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-1);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.plan-card--pro {
  background: var(--bg-2);
  border-color: var(--border-2);
}

.plan-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--t-3);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 2px 8px;
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 12px;
}

.plan-name {
  font-family: var(--font-pixel);
  font-size: 13px;
  color: var(--t-2);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  font-variation-settings: 'ELSH' 60;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price {
  font-family: var(--font-pixel);
  font-size: 28px;
  color: var(--t-1);
  letter-spacing: -0.02em;
  font-variation-settings: 'ELSH' 100;
}

.plan-price--sm {
  font-size: 16px;
  letter-spacing: 0;
}

.plan-period {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--t-3);
}

.plan-divider {
  width: 100%; height: 1px; background: var(--border); margin: 12px 0;
}

.plan-features {
  list-style: none;
  flex: 1;
  margin-bottom: 20px;
}

.plan-features li {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--t-2);
  line-height: 2.2;
}

.plan-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
  padding: 8px 16px;
  border-radius: var(--r);
  text-decoration: none;
  display: block;
  transition: border-color 120ms, color 120ms, opacity 120ms;
}

.plan-btn--ghost {
  color: var(--t-3);
  border: 1px solid var(--border);
}
.plan-btn--ghost:hover {
  border-color: var(--border-2);
  color: var(--t-2);
}

.plan-btn--primary {
  color: var(--bg);
  background: var(--t-1);
}
.plan-btn--primary:hover { opacity: 0.88; }

/* ═══════════════════════════════════════
   FAQ
═══════════════════════════════════════ */
.faq-section {
  padding: 96px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-1);
}

.faq-wrap { max-width: 720px; }

.faq-list { margin-top: 40px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--t-2);
  cursor: pointer;
  list-style: none;
  transition: color 120ms;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--t-1); }
details[open] .faq-q { color: var(--t-1); }

.faq-chevron {
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23444444' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  background-size: 16px;
  transition: transform 0.2s ease;
}
details[open] .faq-chevron { transform: rotate(180deg); }

.faq-a {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--t-3);
  line-height: 1.8;
  padding-bottom: 16px;
  max-width: 600px;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
  background: var(--bg);
  overflow: hidden;
}

.footer-cols {
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-logo {
  font-family: var(--font-pixel);
  font-size: 28px;
  color: var(--t-1);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  font-variation-settings: 'ELSH' 100;
}

.footer-desc {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--t-3);
  line-height: 1.6;
  margin-bottom: 8px;
  max-width: 200px;
}

.footer-copy {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--t-3);
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-links a {
  color: var(--t-3);
  transition: color 120ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  color: var(--t-1);
}

.fcol-head {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--t-3);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.fcol-links {
  display: flex;
  flex-direction: column;
}

.fcol-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--t-3);
  text-decoration: none;
  line-height: 2.4;
  transition: color 120ms;
}
.fcol-links a:hover { color: var(--t-2); }

.footer-wordmark {
  font-family: var(--font-pixel);
  font-size: clamp(72px, 14vw, 180px);
  color: rgba(237,237,237,0.03);
  letter-spacing: -0.03em;
  line-height: 0.85;
  user-select: none;
  pointer-events: none;
  margin: 32px -32px 0;
  font-variation-settings: 'ELSH' 100;
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; gap: 32px; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .pipeline-grid { grid-template-columns: 1fr; gap: 24px; }
  .pipeline-connector { display: none; }
}

@media (max-width: 768px) {
  .content-wrap { padding: 0 20px; }

  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 48px; left: 0; right: 0;
    background: rgba(8,8,8,0.98);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    z-index: 99;
  }
  .nav-links.open .nav-sep { display: none; }

  .hero { padding: 96px 20px 40px; }
  .stats-inner { flex-wrap: wrap; gap: 16px; }
  .stat-div { display: none; }

  .video-grid { grid-template-columns: 1fr; }

  .browser-panels { grid-template-columns: 1fr; height: auto; }
  .panel-right { display: none; }
  .panel-left { height: 350px; }

  .logo-marquee-inner { gap: 48px; padding-left: 48px; }
  .uni-stanford { font-size: 54px; }
  .uni-mit { font-size: 51px; }
  .uni-oxford { font-size: 42px; }
  .uni-berkeley { font-size: 54px; }
  .uni-cambridge { font-size: 42px; }
  .uni-eth { font-size: 45px; }

  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-col--brand { grid-column: span 2; }
}

@media (max-width: 480px) {
  .content-wrap { padding: 0 16px; }
  .hero-h1 { font-size: 42px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .plan-card--pro { order: -1; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-col--brand { grid-column: span 1; }
  .footer-wordmark { margin: 24px -16px 0; }
  .br-desk { display: none; }
}

/* ═══════════════════════════════════════
   COOKIE BANNER
═══════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 600px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 9999;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  animation: cookieSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

@keyframes cookieSlideUp {
  0% { opacity: 0; transform: translate(-50%, 20px); }
  100% { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
}

.cookie-banner.hidden {
  display: none !important;
}

.cb-text {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--t-2);
}

.cb-strong {
  font-weight: 600;
  color: var(--t-1);
}

.cb-text a {
  color: var(--t-1);
  text-decoration: underline;
}

.cb-btn {
  background: var(--t-1);
  color: var(--bg);
  border: none;
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.cb-actions {
  display: flex;
  gap: 12px;
}

.cb-btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--t-2);
}

.cb-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  color: var(--t-1);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 48px)); }
}

/* ══════════════════════════════════════════
   MOBILE MENU & NEON BUTTONS
══════════════════════════════════════════ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99; /* Below nav which should be 100 */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active .mobile-menu-inner {
  transform: translateY(0);
}

.mm-link {
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--t-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

.mm-link:hover { color: var(--t-1); }



/* Video Loading Shimmer */
.video-wrap {
  position: relative;
  background: var(--bg-1);
  overflow: hidden;
}

.video-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
  z-index: 1;
}

.vc-video, .ex-svg {
  position: relative;
  z-index: 2; /* Overlaps shimmer once painted */
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
}

/* Video Lightbox */
#lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
#lightbox video {
  max-width: 90%;
  max-height: 90%;
  border-radius: var(--r-md);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  outline: none;
}
.close-lightbox {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 10000;
  padding: 8px;
}
.close-lightbox:hover { opacity: 0.7; }

/* Pointer on videos to hint they are clickable */
.h-video, .vc-video { cursor: pointer; }
