/* ==========================================================================
   OGM-LIGHTWEIGHT — ULTRA-CLEAN MONOCHROME DESIGN SYSTEM
   Palette: Hitam (#09090b), Abu-abu (#f4f4f5 / #71717a), Putih (#ffffff)
   Aesthetic: Vercel Light / Apple Minimalist / Linear Pure
   Domain: ogm-lightweight.svclabs.cloud
   ========================================================================== */

:root {
  /* Clean Monochrome Hitam - Abu - Putih Palette */
  --bg-white: #ffffff;
  --bg-gray-subtle: #fafafa;
  --bg-gray-alt: #f4f4f5;
  --bg-card: #ffffff;
  --bg-card-hover: #fafafa;
  --bg-dark-window: #09090b;
  
  --border-subtle: #e4e4e7;
  --border-hover: #d4d4d8;
  --border-focus: #09090b;

  --text-black: #09090b;
  --text-heading: #09090b;
  --text-body: #3f3f46;
  --text-muted: #71717a;
  --text-subtle: #a1a1aa;

  --emerald-success: #10b981;
  --emerald-light: #ecfdf5;
  --emerald-text: #047857;

  /* macOS Traffic Light Colors */
  --mac-red: #ff5f56;
  --mac-yellow: #ffbd2e;
  --mac-green: #27c93f;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Monaco, monospace;

  /* Fluid Typography Scale */
  --font-size-hero: clamp(1.75rem, 5vw + 0.8rem, 3.1rem);
  --font-size-section: clamp(1.35rem, 3vw + 0.6rem, 2.15rem);
  --font-size-subheading: clamp(0.88rem, 1.2vw + 0.6rem, 1.05rem);
  --font-size-card-title: clamp(1rem, 1.5vw + 0.5rem, 1.15rem);

  /* Radius & Shadows */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-macos: 0 12px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* --- Strict Reset & Global Guards --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-white);
  color: var(--text-black);
  font-family: var(--font-sans);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  background: var(--bg-white);
}

img, video, canvas, svg, iframe {
  max-width: 100%;
  height: auto;
}

pre, code {
  max-width: 100%;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
}

#bgCanvas { display: none; }

.ambient-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(9, 9, 11, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(9, 9, 11, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 15%, black 20%, transparent 80%);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 4rem 0;
  position: relative;
  z-index: 1;
}

.section-dark {
  background: var(--bg-gray-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.text-center { text-align: center; }
.text-black { color: var(--text-heading); }
.text-gray { color: var(--text-muted); }
.text-emerald { color: var(--emerald-text); }

/* --- Section Headings --- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  background: var(--bg-gray-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  max-width: 100%;
}

.section-heading {
  font-size: var(--font-size-section);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  word-break: break-word;
}

.section-subheading {
  font-size: var(--font-size-subheading);
  color: var(--text-body);
  max-width: 640px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
}

/* --- Navigation Bar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0.85rem 0;
  transition: var(--transition-normal);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  padding: 0.6rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-heading);
  max-width: 100%;
}

.brand-logo-icon {
  width: 30px;
  height: 30px;
  background: var(--text-heading);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.brand-title {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.domain-pill {
  font-size: 0.68rem;
  background: var(--bg-gray-alt);
  color: var(--text-body);
  border: 1px solid var(--border-subtle);
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-weight: 600;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-link {
  color: var(--text-body);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.82rem;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-heading);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* --- MONOCHROME BUTTONS (Hitam, Abu-abu, Putih) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
  font-family: var(--font-sans);
  max-width: 100%;
}

.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
}

/* Primary Button: Solid Black */
.btn-black {
  background: var(--text-heading);
  color: #ffffff;
  border: 1px solid var(--text-heading);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-black:hover {
  background: #27272a;
  border-color: #27272a;
  transform: translateY(-1px);
}

/* Secondary Button: Clean Light Gray */
.btn-gray {
  background: var(--bg-gray-alt);
  color: var(--text-heading);
  border: 1px solid var(--border-subtle);
}

.btn-gray:hover {
  background: #e4e4e7;
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

/* Outline Glass Button: Clean White */
.btn-glass {
  background: #ffffff;
  color: var(--text-black);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.btn-glass:hover {
  background: var(--bg-gray-subtle);
  border-color: var(--border-hover);
  color: var(--text-heading);
}

/* --- Hero Section --- */
.hero {
  padding: 6.5rem 0 3.5rem 0;
  min-height: auto;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  background: var(--bg-gray-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 1rem;
  max-width: 100%;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--emerald-success);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-title {
  font-size: var(--font-size-hero);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
  color: var(--text-heading);
}

.hero-desc {
  font-size: var(--font-size-subheading);
  color: var(--text-body);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

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

.stat-value {
  font-size: clamp(1.15rem, 1.8vw + 0.5rem, 1.5rem);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 0.15rem;
}

/* ==========================================================================
   MACOS WINDOW ORNAMENTS & ACCENTS (CLEAN CHARCOAL / BLACK & WHITE)
   ========================================================================== */

.macos-window {
  background: var(--bg-dark-window);
  border: 1px solid #27272a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-macos);
  max-width: 100%;
}

.macos-titlebar {
  background: #18181b;
  padding: 0.55rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #27272a;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.macos-traffic-lights {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mac-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.mac-dot-red { background: var(--mac-red); }
.mac-dot-yellow { background: var(--mac-yellow); }
.mac-dot-green { background: var(--mac-green); }

.macos-title {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: #a1a1aa;
  font-weight: 500;
}

.macos-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15rem;
  border-radius: var(--radius-sm);
  gap: 0.15rem;
  flex-wrap: wrap;
}

.term-tab-btn {
  background: transparent;
  border: none;
  color: #a1a1aa;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: var(--transition-fast);
}

.term-tab-btn:hover, .term-tab-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 600;
}

.terminal-body {
  padding: 0.85rem;
  min-height: 200px;
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 0.9vw + 0.45rem, 0.78rem);
  line-height: 1.6;
  color: #f4f4f5;
  background: #09090b;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.terminal-code {
  white-space: pre-wrap;
  word-break: break-all;
}

.terminal-footer {
  padding: 0.45rem 0.85rem;
  background: #18181b;
  border-top: 1px solid #27272a;
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #a1a1aa;
  font-family: var(--font-mono);
  flex-wrap: wrap;
  gap: 0.3rem;
}

/* --- CARDS & GRID --- */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-card);
  max-width: 100%;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.card-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-md);
  background: var(--bg-gray-alt);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.35rem;
}

.card-desc {
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.5;
  word-break: break-word;
}

.tool-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--text-heading);
  background: var(--bg-gray-alt);
  padding: 0.12rem 0.4rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.45rem;
  font-weight: 600;
  border: 1px solid var(--border-subtle);
}

/* --- WORKFLOW PIPELINE SECTION --- */
.workflow-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  max-width: 100%;
}

.workflow-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.workflow-play-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.workflow-diagram {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  position: relative;
  margin-bottom: 1.5rem;
}

.workflow-connector-line {
  position: absolute;
  top: 50%;
  left: 10%;
  width: 80%;
  height: 2px;
  background: var(--border-subtle);
  z-index: 0;
  transform: translateY(-50%);
}

.workflow-connector-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--text-heading);
  transition: width 0.35s ease;
}

.wf-step-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem;
  position: relative;
  z-index: 2;
  transition: var(--transition-normal);
  cursor: pointer;
  box-shadow: var(--shadow-card);
  max-width: 100%;
}

.wf-step-card:hover, .wf-step-card.active {
  transform: translateY(-2px);
  border-color: var(--text-heading);
}

.wf-step-card.completed {
  border-color: var(--emerald-success);
}

.wf-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-gray-alt);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.wf-step-card.active .wf-step-num {
  background: var(--text-heading);
  color: #ffffff;
  border-color: var(--text-heading);
}

.wf-step-card.completed .wf-step-num {
  background: var(--emerald-success);
  color: #ffffff;
  border-color: var(--emerald-success);
}

.wf-step-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text-heading);
}

.wf-step-desc {
  font-size: 0.78rem;
  color: var(--text-body);
  line-height: 1.45;
}

.wf-step-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-family: var(--font-mono);
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius-sm);
  background: var(--bg-gray-alt);
  color: var(--text-body);
  margin-top: 0.55rem;
  border: 1px solid var(--border-subtle);
  font-weight: 600;
}

.wf-inspector {
  background: #09090b;
  border: 1px solid #27272a;
  border-radius: var(--radius-md);
  padding: 0.85rem;
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 0.9vw + 0.45rem, 0.78rem);
  overflow-x: auto;
  color: #f4f4f5;
  -webkit-overflow-scrolling: touch;
}

.wf-inspector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.45rem;
  margin-bottom: 0.45rem;
  border-bottom: 1px solid #27272a;
  color: #a1a1aa;
  flex-wrap: wrap;
  gap: 0.3rem;
}

/* --- KNOWLEDGE GRAPH EXPLORER --- */
.graph-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.graph-viewport {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  height: 380px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  max-width: 100%;
}

#graphCanvas {
  width: 100%;
  height: 100%;
}

.graph-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  max-width: 100%;
}

.node-detail-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-heading);
  word-break: break-word;
}

.node-traits-list {
  list-style: none;
  margin-top: 0.65rem;
}

.node-traits-list li {
  padding: 0.35rem 0.55rem;
  background: var(--bg-gray-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  word-break: break-all;
}

/* --- CALCULATOR & GAUGE --- */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.35rem;
  box-shadow: var(--shadow-card);
  max-width: 100%;
}

.range-group {
  margin-bottom: 1rem;
}

.range-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--text-body);
}

input[type="range"] {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--border-subtle);
  outline: none;
  -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text-heading);
  cursor: pointer;
  transition: var(--transition-fast);
}

.gauge-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 0;
}

.radial-svg {
  width: 130px;
  height: 130px;
}

.radial-bg {
  fill: none;
  stroke: var(--border-subtle);
  stroke-width: 8;
}

.radial-meter {
  fill: none;
  stroke: var(--text-heading);
  stroke-width: 8;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 0.35s ease;
}

.gauge-text {
  font-size: 1.65rem;
  font-weight: 800;
  fill: var(--text-heading);
}

/* --- SECRET REDACTOR PLAYGROUND --- */
.redactor-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.35rem;
  box-shadow: var(--shadow-card);
  max-width: 100%;
}

.redactor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

textarea.redactor-textarea {
  width: 100%;
  max-width: 100%;
  height: 110px;
  background: var(--bg-gray-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  color: var(--text-heading);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  resize: none;
  outline: none;
  box-sizing: border-box;
}

textarea.redactor-textarea:focus {
  border-color: var(--text-heading);
}

.redacted-preview {
  height: 110px;
  max-width: 100%;
  background: #09090b;
  border: 1px solid #27272a;
  border-radius: var(--radius-md);
  padding: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--emerald-success);
  white-space: pre-wrap;
  word-break: break-all;
  overflow-y: auto;
  box-sizing: border-box;
}

.secret-pill-btn {
  background: var(--bg-gray-alt);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  cursor: pointer;
  transition: var(--transition-fast);
  font-weight: 500;
}

.secret-pill-btn:hover {
  border-color: var(--text-heading);
  color: var(--text-heading);
  background: #e4e4e7;
}

/* --- BENCHMARK MATRIX TABLE --- */
.benchmark-table-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-card);
  max-width: 100%;
}

.bm-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  text-align: left;
}

.bm-table th, .bm-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8rem;
}

.bm-table th {
  background: var(--bg-gray-alt);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-heading);
}

.bm-highlight-row {
  background: rgba(9, 9, 11, 0.02);
}

/* --- FOOTER --- */
.footer {
  background: #09090b;
  color: #f4f4f5;
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 1.5rem 0;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.footer-brand-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
  color: #ffffff;
}

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid #27272a;
  font-size: 0.75rem;
  color: #a1a1aa;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .workflow-diagram { grid-template-columns: 1fr 1fr; }
  .workflow-connector-line { display: none; }
  .graph-container { grid-template-columns: 1fr; }
  .calc-grid, .redactor-grid { grid-template-columns: 1fr; gap: 1.15rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-actions .btn-glass { display: none; }
  .hero { padding: 4.5rem 0 2rem 0; min-height: auto; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
  .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .stat-value { font-size: 1.2rem; }
  .workflow-diagram { grid-template-columns: 1fr; }
  .workflow-box, .redactor-box, .calc-card, .graph-sidebar { padding: 1rem; }
  .section { padding: 2.75rem 0; }
  .graph-viewport { height: 300px; }
}

@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .stat-label { font-size: 0.6rem; }
  .brand-title { font-size: 0.88rem; }
  .domain-pill { font-size: 0.62rem; padding: 0.1rem 0.3rem; }
  .terminal-body { padding: 0.65rem; font-size: 0.68rem; }
  .wf-inspector { padding: 0.65rem; font-size: 0.68rem; }
}

@media (max-width: 360px) {
  .hero-stats { grid-template-columns: 1fr; }
  .domain-pill { display: none; }
}
