/* ═══════════════════════════════════════════════════════════════
   QuikCue — Autonomous Systems Studio
   Design: Dark, dramatic, monospace-accented, premium feel
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg:            #050505;
  --bg-elevated:   #0a0a0a;
  --bg-card:       #0d0d0d;
  --bg-card-hover: #111111;
  --bg-subtle:     #080808;

  --text:          #f0f0f0;
  --text-secondary:#a0a0a0;
  --text-muted:    #666666;
  --text-dim:      #333333;

  --accent:        #00ff9f;
  --accent-dim:    #00cc7f;
  --accent-glow:   rgba(0, 255, 159, 0.08);
  --accent-glow-strong: rgba(0, 255, 159, 0.15);

  --amber:         #f59e0b;
  --red:           #ef4444;

  --border:        #151515;
  --border-light:  #1a1a1a;
  --border-accent: #0a3d26;

  --mono:   'JetBrains Mono', 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  --sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --max-w:         1100px;
  --max-w-narrow:  780px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utility ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.accent { color: var(--accent); }

/* ── Fade-in animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in:nth-child(2) { transition-delay: 0.08s; }
.fade-in:nth-child(3) { transition-delay: 0.16s; }
.fade-in:nth-child(4) { transition-delay: 0.24s; }
.fade-in:nth-child(5) { transition-delay: 0.32s; }
.fade-in:nth-child(6) { transition-delay: 0.40s; }

/* ═══════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  transition: all 0.15s ease;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--bg-card);
}
.nav-cta {
  color: var(--accent) !important;
  border: 1px solid var(--border-accent) !important;
}
.nav-cta:hover {
  background: var(--accent-glow) !important;
  border-color: var(--accent-dim) !important;
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #050505;
}
.btn-primary:hover {
  background: #33ffb3;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 255, 159, 0.2);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}
.btn-large {
  padding: 1rem 2rem;
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding-top: 64px;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-title {
  font-family: var(--sans);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 255, 159, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   SECTIONS — Shared
   ═══════════════════════════════════════════ */
.section {
  padding: 8rem 0;
}
.section-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-dim);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--sans);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
}

/* ═══════════════════════════════════════════
   PROBLEM SECTION
   ═══════════════════════════════════════════ */
.section-problem {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: start;
}
.problem-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.problem-punchline {
  font-family: var(--mono);
  font-size: 1.1rem !important;
  font-weight: 700;
  color: var(--text) !important;
  margin-top: 2rem !important;
  padding-left: 1.25rem;
  border-left: 3px solid var(--accent);
}
.problem-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.problem-stat {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s ease;
}
.problem-stat:hover {
  border-color: var(--border-light);
}
.problem-stat-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: 10px;
}
.problem-stat-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.problem-stat-text strong {
  display: block;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

/* ═══════════════════════════════════════════
   CATEGORY / PILLARS
   ═══════════════════════════════════════════ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pillar:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.pillar:hover::before {
  opacity: 1;
}
.pillar-number {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 1.25rem;
}
.pillar-title {
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.pillar-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.pillar-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.pillar-list li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}
.pillar-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
}
.pillar-proof {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  line-height: 1.6;
}
.pillar-proof-label {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--accent-dim);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════
   LIVE FEED
   ═══════════════════════════════════════════ */
.section-live {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.section-live::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 255, 159, 0.03) 0%, transparent 60%);
  pointer-events: none;
}
.live-header {
  margin-bottom: 3rem;
}

.live-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.live-stat {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.live-stat-num {
  font-family: var(--mono);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
}
.live-stat-green { color: var(--accent); }
.live-stat-amber { color: var(--amber); }
.live-stat-red   { color: var(--red); }
.live-stat-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.live-feed {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.live-feed-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.live-feed-link {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--accent-dim);
  transition: color 0.15s;
}
.live-feed-link:hover { color: var(--accent); }

.live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  flex-shrink: 0;
}
.live-pulse::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: pulse 3s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(0.5); opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0; }
}

.live-feed-entries {
  padding: 0.5rem 0;
  max-height: 320px;
  overflow: hidden;
}
.live-entry {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.82rem;
  transition: background 0.15s;
}
.live-entry:hover {
  background: var(--bg-card-hover);
}
.live-entry-id {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-dim);
  min-width: 2.5rem;
}
.live-entry-badge {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}
.badge-shipped  { color: #050505; background: var(--accent); }
.badge-shipping { color: #050505; background: var(--amber); }
.badge-planned  { color: var(--text-muted); border: 1px solid var(--border-light); }

.live-entry-title {
  color: var(--text-secondary);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.live-feed-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, var(--bg-card));
  pointer-events: none;
}

.live-fomo {
  margin-top: 3rem;
  max-width: 640px;
}
.live-fomo p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.live-fomo-kicker {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--text) !important;
  font-size: 1rem !important;
}

/* ═══════════════════════════════════════════
   CLIENTS
   ═══════════════════════════════════════════ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.client-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.client-logo {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1rem;
}
.client-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.client-stats {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.client-stats span {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}
.client-stats span::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-dim);
  opacity: 0.5;
}

/* ═══════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════ */
.section-cta {
  padding: 10rem 0;
}
.cta-block {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-title {
  font-family: var(--sans);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.cta-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.cta-note {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.footer-logo {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-style: italic;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.footer-bottom span {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}
.footer-built {
  font-style: italic;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .pillars {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .clients-grid {
    grid-template-columns: 1fr;
  }
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .live-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .section {
    padding: 5rem 0;
  }
  .section-cta {
    padding: 6rem 0;
  }
}

@media (max-width: 640px) {
  .container { padding: 0 1.25rem; }
  nav { padding: 0 1.25rem; }
  .hero { padding: 0 1.25rem; min-height: 90vh; }
  .hero-title { font-size: clamp(2rem, 9vw, 3rem); }

  .nav-links a { font-size: 0.72rem; padding: 0.35rem 0.6rem; }

  .live-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .live-stat { padding: 1.25rem 0.75rem; }
  .live-stat-num { font-size: 1.8rem; }

  .live-entry {
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
  }
  .live-entry-id { display: none; }

  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }

  .footer-inner { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }

  .section { padding: 4rem 0; }
  .section-cta { padding: 5rem 0; }
}

@media (max-width: 380px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ═══════════════════════════════════════════
   /LIVE PAGE — Build Log
   ═══════════════════════════════════════════ */
.live-page {
  padding-top: 96px;
  padding-bottom: 6rem;
  min-height: 100vh;
}

/* Header */
.lp-header { margin-bottom: 3rem; }
.lp-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.25rem;
}
.lp-title {
  font-family: var(--sans);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 1rem;
}
.lp-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 560px;
}

/* Stats */
.lp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.lp-stat {
  text-align: center;
  padding: 1.5rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.lp-stat-num {
  font-family: var(--mono);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
}
.lp-stat-green { color: var(--accent); }
.lp-stat-amber { color: var(--amber); }
.lp-stat-red   { color: var(--red); }
.lp-stat-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Filters */
.lp-filters {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.lp-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 99px;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.lp-filter:hover {
  color: var(--text);
  border-color: var(--text-muted);
}
.lp-filter.active {
  background: var(--bg-card-hover);
  color: var(--text);
  border-color: var(--text-secondary);
}
.lp-filter-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.lp-filter-count {
  color: var(--text-dim);
  font-weight: 500;
}

/* Day group */
.lp-day { margin-bottom: 2.5rem; }
.lp-day-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.lp-day-date {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.lp-day-count {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  background: var(--bg-card);
  padding: 0.1rem 0.5rem;
  border-radius: 99px;
}

/* Ship card */
.lp-card {
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 0.4rem;
  transition: border-color 0.15s ease;
}
.lp-card:hover {
  border-color: var(--border-light);
}
.lp-card-active {
  border-left: 3px solid var(--amber);
}
.lp-card-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.lp-card-tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tag-color, var(--text-muted));
  background: color-mix(in srgb, var(--tag-color, #666) 12%, transparent);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}
.lp-card-title {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  flex: 1;
  min-width: 0;
  line-height: 1.45;
}
.lp-card-status {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  background: rgba(245, 158, 11, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  flex-shrink: 0;
  animation: pulse-text 2s ease-in-out infinite;
}
@keyframes pulse-text {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}
.lp-card-summary {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 0.5rem;
  padding-left: 0;
}

/* Oops section */
.lp-oops {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.lp-oops-header { margin-bottom: 1.5rem; }
.lp-oops-title {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.lp-oops-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.lp-oops-card {
  padding: 0.85rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  margin-bottom: 0.4rem;
}
.lp-oops-what {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.lp-oops-fix {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
}
.lp-oops-empty {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-dim);
  padding: 2rem;
}

/* Bottom CTA */
.lp-bottom-cta {
  text-align: center;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.lp-bottom-line {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.lp-bottom-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Loading */
.lp-loading {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-dim);
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.lp-loading-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-text 1.5s ease-in-out infinite;
}

/* Active nav link */
.nav-links a.active {
  color: var(--text);
  background: var(--bg-card);
}

/* ── Responsive: /live ── */
@media (max-width: 900px) {
  .lp-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .live-page { padding-top: 80px; }
  .lp-stats { gap: 0.5rem; }
  .lp-stat { padding: 1rem 0.5rem; }
  .lp-stat-num { font-size: 1.6rem; }
  .lp-filters { gap: 0.25rem; }
  .lp-filter { font-size: 0.65rem; padding: 0.35rem 0.6rem; }
  .lp-card-row { gap: 0.4rem; }
  .lp-card-tag { font-size: 0.58rem; }
  .lp-card-title { font-size: 0.82rem; }
  .lp-oops-card { padding: 0.75rem 0.85rem; }
}
