/* ============================================
   Stesso NHS 2026 Landing Page
   Design System: Stesso V3
   ============================================ */

:root {
  --bg-primary: #0a0a0a;
  --bg-surface: #141414;
  --bg-surface-hover: #1a1a1a;
  --bg-elevated: #1e1e1e;

  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;

  --accent-primary: #3A00E5;
  --accent-primary-hover: #4A10F5;
  --accent-glow: rgba(58, 0, 229, 0.15);

  --border-subtle: #222222;
  --border-active: #3A00E5;

  --gradient-hero: linear-gradient(180deg, #0a0a0a 0%, #111118 50%, #0a0a0a 100%);
  --gradient-accent: linear-gradient(135deg, #3A00E5 0%, #4A10F5 100%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.03;
  background-image: url('assets/noise.svg');
  background-repeat: repeat;
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 9999;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.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;
}

/* ---- Typography ---- */
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text-primary);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

/* ---- Layout ---- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

@media (max-width: 768px) {
  section { padding: 56px 0; }
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 140px 0 80px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-prompt {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.hero-channel-content {
  min-height: 200px;
  margin-top: 32px;
}

.hero-headline {
  max-width: 800px;
  margin: 0 auto 24px;
}

.hero-subline {
  max-width: 640px;
  margin: 0 auto 24px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* hero-analogy moved to .analogy-callout section */

.hero-glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(58, 0, 229, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Stagger animations */
.stagger-1, .stagger-2, .stagger-3, .stagger-4 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-2 { transition-delay: 0.15s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.45s; }

.stagger-1.visible,
.stagger-2.visible,
.stagger-3.visible,
.stagger-4.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .hero { padding: 120px 0 56px; }
  .hero-subline { font-size: 1rem; }
  .hero-channel-content { min-height: 280px; }
}

/* ============================================
   CHANNEL SELECTOR
   ============================================ */
.channel-selector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.channel-selector-track {
  position: relative;
  display: inline-flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 4px;
  gap: 0;
}

.channel-selector-indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  width: calc(33.333% - 2.67px);
  background: var(--accent-primary);
  border-radius: 8px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 20px var(--accent-glow);
  z-index: 0;
}

.channel-btn {
  position: relative;
  z-index: 1;
  padding: 10px 28px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
  border-radius: 8px;
}

.channel-btn.active {
  color: var(--text-primary);
}

.channel-btn:hover:not(.active) {
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .channel-btn { padding: 10px 20px; font-size: 0.85rem; }
}

@media (max-width: 400px) {
  .channel-btn { padding: 8px 14px; font-size: 0.8rem; }
}

/* ============================================
   CHANNEL CONTENT TRANSITIONS
   ============================================ */
.channel-content {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.channel-content[hidden] {
  display: none;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  padding-top: 40px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.step-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent-primary);
  opacity: 0.3;
  line-height: 1;
  letter-spacing: -0.02em;
}

.step-title {
  margin-bottom: 8px;
}

.step-description {
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================
   DEMO SHOWCASE
   ============================================ */
.demo-showcase { padding-top: 40px; }

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.demo-card {
  display: block;
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.demo-card:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.demo-card--accent {
  border-color: rgba(58, 0, 229, 0.3);
  box-shadow: 0 0 60px var(--accent-glow), 0 0 120px rgba(58, 0, 229, 0.05);
}

.demo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--border-subtle);
}

.demo-card-body { padding: 24px; }

.demo-card-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-weight: 700;
}

.demo-card-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.demo-card-link {
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  transition: gap 0.2s ease;
}

.demo-card-link:hover { gap: 10px; }

/* Testimonial badge removed */

/* Per-channel credibility footnote */
.channel-credibility {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 768px) {
  .demo-grid {
    grid-template-columns: 1fr;
  }
  .demo-card-body { padding: 20px; }
}

/* ============================================
   VALUE PROPS (vertical layout with images)
   ============================================ */
.props-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.prop-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.prop-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  opacity: 0.5;
}

.prop-phase {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.prop-headline {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.prop-description {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ============================================
   CREDIBILITY STRIP
   ============================================ */
.credibility {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-surface) 50%, var(--bg-primary) 100%);
  text-align: center;
}

.credibility-block {
  margin-bottom: 64px;
}

.credibility-block:last-child {
  margin-bottom: 0;
}

.credibility-heading {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.traction-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* traction-badge styles moved to pill section below */

.traction-check {
  color: var(--accent-primary);
  font-weight: 700;
  font-size: 0.85rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
}

.stat-item { text-align: center; }

.stat-number {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* team-pedigree replaced by logo-bar */

@media (max-width: 768px) {
  .traction-badges {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .stats-row { gap: 32px; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .stats-row { gap: 24px; }
  .stat-item { flex: 1; min-width: 80px; }
}

/* ============================================
   LEAD CAPTURE
   ============================================ */
.lead-capture { text-align: center; }

.lead-headline { margin-bottom: 8px; }

.lead-subline {
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.form-container {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.form-group { margin-bottom: 16px; }

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  border-color: var(--accent-primary);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder { color: var(--text-muted); }

.form-input.invalid {
  border-color: #e53e3e;
}

.form-error {
  display: block;
  font-size: 0.8rem;
  color: #e53e3e;
  margin-top: 4px;
  min-height: 0;
}

.form-button {
  width: 100%;
  padding: 16px;
  margin-top: 8px;
  background: var(--gradient-accent);
  border: none;
  border-radius: 10px;
  color: white;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.form-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 24px var(--accent-glow);
}

.form-button:active { transform: translateY(0); }

.form-button.loading {
  opacity: 0.7;
  pointer-events: none;
}

.form-confirmation {
  max-width: 520px;
  margin: 0 auto;
  padding: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  text-align: center;
}

.form-confirmation p {
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.form-error--general {
  text-align: center;
  margin-bottom: 8px;
}

.form-noscript {
  max-width: 520px;
  margin: 16px auto 0;
  padding: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  text-align: center;
}

.form-noscript a { color: var(--accent-primary); }

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text-primary);
}

/* ============================================
   HERO PILLS & CTA
   ============================================ */
.hero-pills {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-pill {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  white-space: nowrap;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 14px 32px;
  background: var(--gradient-accent);
  border: none;
  border-radius: 10px;
  color: white;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.hero-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 24px var(--accent-glow);
}

/* ============================================
   ANALOGY CALLOUT — Big Visual Moment
   ============================================ */
.analogy-callout {
  padding: 80px 0;
}

.analogy-callout .container {
  max-width: 1280px;
}

.analogy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  min-height: 400px;
}

.analogy-image {
  overflow: hidden;
}

.analogy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.analogy-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  padding: 24px;
  text-align: center;
}

.analogy-text-wrap {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.analogy-text {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
}

.analogy-text strong {
  color: var(--text-primary);
  font-style: normal;
}

@media (max-width: 768px) {
  .analogy-inner {
    grid-template-columns: 1fr;
  }
  .analogy-image-placeholder {
    min-height: 240px;
  }
  .analogy-text-wrap {
    padding: 32px;
  }
  .analogy-text {
    font-size: 1.1rem;
  }
}

/* ============================================
   STEP ICONS
   ============================================ */
.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(58, 0, 229, 0.1);
  border: 1px solid rgba(58, 0, 229, 0.15);
  border-radius: 12px;
  margin-bottom: 0;
}

.step-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-primary);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================
   PROP ICONS & ACCENT BORDER
   ============================================ */
.prop-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(58, 0, 229, 0.1);
  border: 1px solid rgba(58, 0, 229, 0.15);
  border-radius: 10px;
  margin-bottom: 12px;
}

.prop-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-primary);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prop-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
}

.prop-item:nth-child(even) {
  direction: rtl;
}

.prop-item:nth-child(even) > * {
  direction: ltr;
}

.prop-text {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.prop-image {
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  overflow: hidden;
}

.prop-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prop-image-placeholder {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  padding: 24px;
  font-weight: 600;
}

/* ---- Idealized UI Mockups ---- */
.mockup {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.mockup-frame {
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  transform: scale(0.95);
}

/* Acquire — Guide Library Grid */
.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mockup-guide-card {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
}

.mockup-guide-thumb {
  height: 48px;
  background: linear-gradient(135deg, rgba(58,0,229,0.3), rgba(58,0,229,0.1));
}

.mockup-guide-body {
  padding: 8px;
}

.mockup-guide-title {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 6px;
}

.mockup-guide-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.5rem;
  color: var(--text-muted);
}

.mockup-guide-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mockup-guide-dot--easy { background: #22c55e; }
.mockup-guide-dot--med { background: #eab308; }

/* Guide — Chat Conversation */
.mockup-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.7rem;
  line-height: 1.4;
  max-width: 85%;
}

.mockup-bubble--user {
  background: var(--accent-primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.mockup-bubble--ai {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.mockup-question {
  font-weight: 600;
  margin-bottom: 8px;
}

.mockup-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mockup-pill {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.6rem;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-secondary);
  background: transparent;
}

.mockup-pill--selected {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
}

.mockup-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.55rem;
  color: var(--text-muted);
}

.mockup-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.mockup-progress-fill {
  width: 20%;
  height: 100%;
  background: var(--accent-primary);
  border-radius: 2px;
}

/* Purchase — Materials & Products */
.mockup-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.mockup-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mockup-product {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
}

.mockup-product-icon {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(58,0,229,0.08);
  font-size: 1.2rem;
}

.mockup-product-body {
  padding: 8px 6px;
}

.mockup-product-name {
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 4px;
}

.mockup-product-price {
  font-size: 0.55rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.mockup-add-btn {
  display: inline-block;
  padding: 3px 8px;
  font-size: 0.5rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent-primary);
  border-radius: 4px;
}

/* Retain — Related Projects */
.mockup-related {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-related-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
}

.mockup-related-thumb {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(58,0,229,0.3), rgba(58,0,229,0.1));
}

.mockup-related-title {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-primary);
  flex: 1;
}

.mockup-related-arrow {
  font-size: 0.7rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .prop-item {
    grid-template-columns: 1fr;
  }
  .prop-item:nth-child(even) {
    direction: ltr;
  }
  .prop-image {
    min-height: 200px;
  }
  .prop-text {
    padding: 24px;
  }
}

/* ============================================
   LOGO BAR
   ============================================ */
.logo-bar {
  margin-bottom: 0;
}

.logo-bar-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.logo-bar-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  justify-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.logo-bar-logos img {
  height: 28px;
  width: auto;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.logo-bar-logos img:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .logo-bar-logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
  }
}

/* ============================================
   TRACTION PILLS (updated)
   ============================================ */
.traction-badge {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
}

/* ============================================
   STEP CARDS
   ============================================ */
.step-item {
  position: relative;
  padding: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page {
  padding: 120px 0 80px;
}

.contact-container {
  max-width: 640px;
}

.contact-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-subtitle {
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.contact-form .form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

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

.interest-pill {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.interest-pill:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}

.interest-pill.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: -8px;
  margin-bottom: 16px;
}

.form-divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 24px 0;
}

.reset-link {
  background: none;
  border: none;
  color: var(--accent-primary);
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- Contact page tabs ---- */
.contact-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 4px;
}

.contact-tab {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.contact-tab.active {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.contact-tab:hover:not(.active) {
  color: var(--text-secondary);
}

/* ---- Recent contacts list ---- */
.contact-card {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  margin-bottom: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease;
  font-family: inherit;
  color: var(--text-primary);
}

.contact-card:hover {
  border-color: var(--accent-primary);
}

.contact-card-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.contact-card-company {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contact-card-time {
  opacity: 0.6;
}

.contact-card-notes {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--accent-primary);
  opacity: 0.7;
}

.contact-loading {
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
}

.contact-error-msg {
  padding: 16px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
  color: #f87171;
  font-size: 0.9rem;
}

.contact-empty {
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
}

/* ---- Update contact panel ---- */
.update-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}

.update-header-name {
  font-size: 1.3rem;
  font-weight: 700;
}

.update-existing {
  margin-bottom: 0;
}

.update-dl {
  margin: 0;
}

.update-dl-row {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.update-dl-row:last-child {
  border-bottom: none;
}

.update-dl dt {
  width: 100px;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 2px;
}

.update-dl dd {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin: 0;
}

.update-empty {
  color: var(--text-muted);
  opacity: 0.4;
}

.update-notes-text {
  white-space: pre-wrap;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo { opacity: 0.6; }

.footer-event {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-contact {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-contact a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-contact a:hover { color: var(--text-primary); }

.footer-links {
  font-size: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--text-secondary); }

.footer-sep {
  margin: 0 8px;
  color: var(--border-subtle);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.6;
  margin-top: 4px;
}

/* ============================================
   SCROLL FADE-IN
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* CSS-only fallback for no-JS */
@keyframes fadeInFallback {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html:not(.js-enabled) .fade-in {
  animation: fadeInFallback 0.6s ease 2s forwards;
}

html:not(.js-enabled) .stagger-1,
html:not(.js-enabled) .stagger-2,
html:not(.js-enabled) .stagger-3,
html:not(.js-enabled) .stagger-4 {
  animation: fadeInFallback 0.6s ease 0.5s forwards;
}

html:not(.js-enabled) .channel-content[hidden] {
  display: block !important;
}

html:not(.js-enabled) .channel-selector { display: none; }
