/* ============================================
   MIRORA AI DESIGN SYSTEM
   Blueprint & Engineering Aesthetic
   ============================================ */

/* CSS Custom Properties */
:root {
  /* Core palette */
  --ink: #0a0a0b;
  --paper: #fafaf9;
  --graphite: #18181b;
  --steel: #71717a;

  /* Accent */
  --signal: #f97316;
  --signal-muted: #ea580c;
  --trace: #3b82f6;

  /* Surfaces */
  --surface-1: #0a0a0b;
  --surface-2: #18181b;
  --surface-3: #27272a;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.24);

  /* Grid */
  --grid-line: rgba(255, 255, 255, 0.03);
  --grid-line-accent: rgba(249, 115, 22, 0.08);

  /* Typography */
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Type Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Transitions */
  --transition-fast: 100ms ease-out;
  --transition-default: 150ms ease-out;
  --transition-slow: 200ms ease-out;
}

/* Base Styles */
body {
  font-family: var(--font-sans);
  margin: 0;
  padding: 0;
  background-color: var(--ink);
  color: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  padding-top: 64px;
  background-image: linear-gradient(var(--border-subtle) 1px, transparent 1px);
  background-size: 100% 120px;
}

/* Consistent heading styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--paper);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

section h2 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-8);
  text-align: center;
}

.service-section h2 {
  text-align: left;
}

/* Consistent paragraph styles */
p {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--steel);
  font-weight: 400;
  margin-bottom: var(--space-6);
}

/* Consistent list styles */
ul, ol {
  font-family: var(--font-sans);
}

/* Consistent form element styles */
input, select, textarea, button {
  font-family: var(--font-sans);
}

/* Focus states */
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  background: var(--ink);
  border-bottom: 1px solid var(--border-subtle);
  height: 64px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-8);
  box-sizing: border-box;
}

/* Logo */
header h2 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 0;
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: var(--space-8);
  margin: 0;
  padding: 0;
}

nav li {
  position: relative;
}

nav a {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--steel);
  font-weight: 500;
  padding: var(--space-2) var(--space-4);
  transition: color var(--transition-default);
  position: relative;
}

nav a:hover {
  color: var(--paper);
}

nav a.active {
  color: var(--paper);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: var(--space-4);
  right: var(--space-4);
  height: 2px;
  background: var(--signal);
}

/* Dropdown menu */
nav li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  padding: var(--space-3) var(--space-4);
  z-index: 1000;
  min-width: 200px;
  margin-top: var(--space-2);
}

nav li:hover ul,
nav li ul:hover {
  display: block;
}

nav li ul li {
  margin: var(--space-2) 0;
  white-space: nowrap;
}

nav li ul li a {
  font-size: 10px;
  padding: var(--space-2) 0;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  max-width: 1280px;
  margin: var(--space-24) auto;
  padding: 0 var(--space-12);
}

h2 {
  font-family: var(--font-mono);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-8);
  text-align: center;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.highlight {
  color: var(--signal);
  font-weight: 600;
}

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

/* Section Divider */
.section-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: var(--space-16) 0;
}

/* Section Labels */
.section-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--steel);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.section-label .number {
  color: var(--signal);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-32) var(--space-12) var(--space-24);
  text-align: center;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  color: var(--signal);
  margin-bottom: var(--space-8);
}

.hero-frame {
  position: relative;
  display: inline-block;
  padding: var(--space-8) var(--space-12);
  margin-bottom: var(--space-6);
}

/* Corner marks */
.hero-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--signal);
}

.hero-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 32px;
  background: var(--signal);
}

.hero h1 {
  font-family: var(--font-sans);
  font-size: var(--text-5xl);
  font-weight: 600;
  line-height: 1.1;
  color: var(--paper);
  margin: 0;
}

.hero-lead {
  font-size: var(--text-xl);
  color: var(--steel);
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

.hero-cta {
  margin-bottom: var(--space-12);
}

.hero-stats {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  color: var(--steel);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.stat-divider {
  color: var(--border-default);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-block;
  background: var(--signal);
  color: var(--ink);
  border: none;
  border-radius: 2px;
  padding: 14px 28px;
  cursor: pointer;
  transition: background var(--transition-default), transform var(--transition-fast);
}

.btn-primary:hover {
  background: var(--signal-muted);
  transform: translateY(-1px);
}

.btn-primary:focus-visible {
  outline-offset: -2px;
}

.btn-secondary {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-block;
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--border-default);
  border-radius: 2px;
  padding: 14px 28px;
  cursor: pointer;
  transition: border-color var(--transition-default);
}

.btn-secondary:hover {
  border-color: var(--paper);
}

/* ============================================
   SERVICES GRID (About Section)
   ============================================ */

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6);
  margin: var(--space-12) 0;
}

.service-card {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  padding: var(--space-8);
  position: relative;
  transition: border-color var(--transition-default);
  flex: 0 1 280px;
  max-width: 320px;
}

/* Status Tags */
.status-tag {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 2px;
}

.status-live {
  color: var(--ink);
  background: #22c55e;
}

.status-dev {
  color: var(--ink);
  background: #eab308;
}

.status-coming {
  color: var(--ink);
  background: var(--signal);
}

/* Legacy support */
.coming-soon-tag {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: var(--signal);
  padding: 4px 8px;
  border-radius: 2px;
}

/* Section subtitles */
.section-subtitle {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--steel);
  text-align: center;
  margin-bottom: var(--space-8);
  margin-top: calc(-1 * var(--space-6));
}

.section-header-secondary {
  margin-top: var(--space-16);
}

/* Tech stack in service sections */
.tech-stack {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
}

.tech-stack h3 {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
  color: var(--steel);
}

.tech-stack p {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--signal);
  margin-bottom: 0;
}

/* Top-left corner mark */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--signal);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 32px;
  background: var(--signal);
}

.service-card:hover {
  border-color: var(--border-default);
}

.service-card h3 {
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--paper);
  margin: var(--space-4) 0 var(--space-3);
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--steel);
  margin-bottom: var(--space-4);
}

.card-link {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--signal);
  text-decoration: none;
  transition: color var(--transition-default);
}

.card-link:hover {
  color: var(--signal-muted);
}

/* ============================================
   SERVICE SECTIONS (Detail Pages)
   ============================================ */

.service-section {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  margin: var(--space-16) auto;
  max-width: 1000px;
  position: relative;
}

/* Top-left corner mark */
.service-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--signal);
}

.service-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 48px;
  background: var(--signal);
}

.service-container {
  padding: var(--space-12) var(--space-8);
}

.service-section h2 {
  font-family: var(--font-mono);
  color: var(--paper);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-2);
  text-align: left;
}

.tagline {
  font-family: var(--font-mono);
  color: var(--signal);
  font-size: var(--text-sm);
  margin-bottom: var(--space-8);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.benefits h3 {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
  color: var(--steel);
}

.benefits ul {
  list-style-type: none;
  padding: 0;
  margin-top: var(--space-4);
}

.benefits li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-3);
  color: var(--steel);
  line-height: 1.7;
  font-size: var(--text-base);
}

.benefits li:before {
  content: "●";
  color: var(--signal);
  position: absolute;
  left: 0;
  font-size: 8px;
  top: 0.5em;
}

.cta-button {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  background: var(--signal);
  color: var(--ink);
  padding: 14px 28px;
  border-radius: 2px;
  text-decoration: none;
  margin-top: var(--space-8);
  transition: background var(--transition-default), transform var(--transition-fast);
}

.cta-button:hover {
  background: var(--signal-muted);
  transform: translateY(-1px);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--ink);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-8) 0;
  text-align: center;
}

.footer-text,
footer {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--steel);
  letter-spacing: 0.05em;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  margin: var(--space-16) auto;
  max-width: 1000px;
  position: relative;
}

/* Top-left corner mark */
.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--signal);
}

.contact-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 48px;
  background: var(--signal);
}

.contact-container {
  padding: var(--space-12) var(--space-8);
}

.contact-section h2 {
  text-align: left;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  margin-top: var(--space-8);
}

.contact-info h3 {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
  color: var(--steel);
}

.contact-info p {
  font-size: var(--text-base);
}

.contact-details {
  list-style: none;
  padding: 0;
  margin-top: var(--space-6);
}

.contact-details li {
  margin-bottom: var(--space-3);
  color: var(--steel);
  font-size: var(--text-sm);
}

.contact-details li strong {
  color: var(--paper);
  font-weight: 500;
}

.contact-form {
  background: var(--surface-3);
  border: 1px solid var(--border-subtle);
  padding: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-group label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: var(--space-2);
  color: var(--steel);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  transition: border-color var(--transition-default);
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--signal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--steel);
}

.submit-button {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--signal);
  color: var(--ink);
  padding: 14px 28px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--transition-default), transform var(--transition-fast);
}

.submit-button:hover {
  background: var(--signal-muted);
  transform: translateY(-1px);
}

/* Make contact section responsive */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    margin-bottom: var(--space-8);
  }
}

/* Highlight effect for auto-populated fields */
.highlight-field {
  animation: highlight-pulse 1.5s ease;
  border-color: var(--signal) !important;
}

@keyframes highlight-pulse {
  0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(249, 115, 22, 0); }
  100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1024px) {
  .hero h1 {
    font-size: var(--text-4xl);
  }

  section {
    padding: 0 var(--space-8);
  }

  .service-container {
    padding: var(--space-8) var(--space-6);
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 64px;
  }

  .hero {
    padding: var(--space-16) var(--space-6) var(--space-12);
  }

  .hero h1 {
    font-size: var(--text-3xl);
  }

  .hero-frame {
    padding: var(--space-6) var(--space-8);
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-2);
  }

  .stat-divider {
    display: none;
  }

  .services-grid {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    flex: 0 1 auto;
    width: 100%;
    max-width: 100%;
  }

  section {
    margin: var(--space-16) auto;
    padding: 0 var(--space-6);
  }

  header {
    padding: 0 var(--space-4);
  }

  header h2 {
    font-size: var(--text-base);
  }

  nav ul {
    gap: var(--space-4);
  }

  nav a {
    padding: var(--space-2);
    font-size: 10px;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: var(--text-2xl);
  }

  .hero-lead {
    font-size: var(--text-base);
  }

  .btn-primary,
  .btn-secondary,
  .cta-button,
  .submit-button {
    padding: 12px 20px;
    width: 100%;
    text-align: center;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

/* About Page - Compact Hero */
.hero-compact {
    padding: var(--space-24) 0 var(--space-16);
    min-height: auto;
}

/* About Sections */
.about-section {
    padding: var(--space-16) var(--space-6);
    border-bottom: 1px solid var(--border-subtle);
    max-width: 100%;
    margin: 0 auto;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-section h2 {
    font-family: var(--font-mono);
    font-size: var(--text-2xl);
    font-weight: 500;
    margin: var(--space-4) 0 var(--space-6);
    color: var(--paper);
    text-align: left;
}

.about-section p {
    color: var(--steel);
    line-height: 1.8;
}

/* Deployment Grid */
.deployment-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.deployment-option {
    padding: var(--space-6);
    border: 1px solid var(--border-subtle);
    position: relative;
    flex: 0 1 240px;
    max-width: 280px;
}

.deployment-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--signal);
}

.deployment-option h3 {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--signal);
    margin-bottom: var(--space-3);
}

.deployment-option p {
    font-size: var(--text-sm);
    color: var(--steel);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Founder Stats */
.founder-stats {
    grid-template-columns: repeat(4, 1fr);
}

.founder-stats .deployment-option {
    text-align: center;
}

.founder-stats .deployment-option h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

@media (max-width: 768px) {
    .founder-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* About CTA Section */
.about-cta {
    padding: var(--space-16) var(--space-6);
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
}

.about-cta .cta-text {
    font-family: var(--font-mono);
    font-size: var(--text-lg);
    color: var(--paper);
    margin-bottom: var(--space-6);
}

/* Dependency Matrix Table */
.matrix-container {
    overflow-x: auto;
    margin-top: var(--space-6);
}

.dependency-matrix {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: var(--text-sm);
}

.dependency-matrix th,
.dependency-matrix td {
    padding: var(--space-3) var(--space-2);
    text-align: center;
    border: 1px solid var(--grid);
}

.dependency-matrix th {
    background: var(--ink);
    color: var(--paper);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dependency-matrix td:first-child {
    text-align: left;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.02);
}

.dependency-matrix tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.matrix-legend {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--graphite);
    margin-top: var(--space-4);
    text-align: center;
}


@media (max-width: 768px) {
    .dependency-matrix {
        font-size: var(--text-xs);
    }

    .dependency-matrix th,
    .dependency-matrix td {
        padding: var(--space-2) var(--space-1);
    }
}

/* ============================================
   ARCHITECTURE PAGE ENHANCEMENTS
   ============================================ */

/* Port Tags */
.port-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    color: var(--signal);
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    padding: 2px 8px;
    border-radius: 2px;
    margin-top: var(--space-3);
}

/* Matrix Section Headers */
.matrix-section td {
    background: var(--surface-2) !important;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--signal);
    text-align: left !important;
    padding: var(--space-3) var(--space-4) !important;
    border-top: 2px solid var(--border-default);
}

/* Status Colors */
.status-prod {
    color: #22c55e;
}

.status-dev {
    color: #eab308;
}

.status-planned {
    color: var(--steel);
}

/* Pipeline Cards */
.pipeline-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.pipeline-card {
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    padding: var(--space-6);
    position: relative;
}

.pipeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--signal);
}

.pipeline-card h3 {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--paper);
    margin-bottom: var(--space-3);
}

.pipeline-flow {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--signal);
    margin-bottom: var(--space-2);
    line-height: 1.5;
}

.pipeline-desc {
    font-size: var(--text-sm);
    color: var(--steel);
    margin-bottom: 0;
}

/* Build Priority Table Enhancements */
.build-priority td:nth-child(2) {
    font-family: var(--font-mono);
    color: var(--signal);
    font-weight: 500;
}

.build-priority td:nth-child(3) {
    white-space: nowrap;
}

.build-priority td:nth-child(4) {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--steel);
}

/* Tool Cards */
.tool-card {
  background: var(--surface-2);
  transition: border-color var(--transition-default);
}

.tool-card:hover {
  border-color: var(--signal);
}

.tool-link {
  display: inline-block;
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--signal);
  text-decoration: none;
  transition: color var(--transition-default);
}

.tool-link:hover {
  color: var(--paper);
}

