/* Tinnoril Clinical Lab & Science Dossier Design System */
:root {
  --lab-slate: #0f172a;
  --lab-slate-light: #1e293b;
  --lab-slate-card: #0f172a;
  --lab-teal: #0d9488;
  --lab-teal-dark: #0f766e;
  --lab-cyan: #0ea5e9;
  --lab-cyan-light: #38bdf8;
  --lab-cyan-dark: #0284c7;
  --lab-blue: #2563eb;
  --lab-bg: #f8fafc;
  --lab-surface: #ffffff;
  --lab-border: #e2e8f0;
  --lab-border-light: #f1f5f9;
  --lab-text: #334155;
  --lab-text-muted: #64748b;
  --lab-heading: #0f172a;
  --lab-accent: #059669;
  --lab-gold: #d97706;
  --lab-gold-bg: #fef3c7;
  --lab-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  --lab-shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.12);
  --lab-radius: 12px;
  --lab-radius-lg: 18px;
  --lab-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --lab-mono: 'Space Grotesk', ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  font-family: var(--lab-font);
  background-color: var(--lab-bg);
  color: var(--lab-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.lab-top-ribbon {
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #38bdf8;
  padding: 8px 16px;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  text-transform: uppercase;
}

.lab-header {
  background: #ffffff;
  border-bottom: 1px solid var(--lab-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.lab-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lab-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--lab-heading);
}

.lab-brand-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.lab-brand-text {
  display: flex;
  flex-direction: column;
}

.lab-brand-title {
  font-family: var(--lab-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--lab-slate);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.lab-brand-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--lab-teal);
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.lab-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.lab-nav-links a {
  text-decoration: none;
  color: var(--lab-text);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.lab-nav-links a:hover {
  color: var(--lab-cyan-dark);
}

.lab-nav-btn {
  background: linear-gradient(135deg, #0ea5e9 0%, #0d9488 100%);
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700 !important;
  font-size: 0.8125rem !important;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.lab-nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
}

.lab-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.lab-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  padding: 48px 0 56px;
  border-bottom: 1px solid var(--lab-border);
}

.lab-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.lab-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfeff;
  color: #0891b2;
  border: 1px solid #cffafe;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.lab-badge-pulse {
  width: 8px;
  height: 8px;
  background: #06b6d4;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

.lab-hero h1 {
  font-family: var(--lab-mono);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--lab-slate);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.lab-abstract-card {
  background: #ffffff;
  border-left: 4px solid var(--lab-teal);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.lab-abstract-label {
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--lab-teal);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.lab-abstract-text {
  font-size: 0.9375rem;
  color: #1e293b;
  line-height: 1.6;
}

.lab-summary-table-wrap {
  background: #ffffff;
  border: 1px solid var(--lab-border);
  border-radius: var(--lab-radius);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--lab-shadow);
}

.lab-summary-table-header {
  background: #0f172a;
  color: #ffffff;
  padding: 10px 16px;
  font-family: var(--lab-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lab-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.lab-table th {
  background: #f8fafc;
  color: var(--lab-slate);
  font-weight: 700;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--lab-border);
  font-size: 0.8125rem;
}

.lab-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--lab-border-light);
  color: var(--lab-text);
}

.lab-table tr:last-child td {
  border-bottom: none;
}

.lab-table tr:nth-child(even) {
  background: #fafbfc;
}

.lab-hero-media {
  text-align: center;
  position: relative;
}

.lab-hero-img-wrap {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.6) 100%);
  border: 1px solid var(--lab-border);
  border-radius: var(--lab-radius-lg);
  padding: 32px 20px;
  box-shadow: var(--lab-shadow-lg);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}

.lab-hero-img {
  max-width: 280px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(15, 23, 42, 0.16));
  transition: transform 0.3s ease;
}

.lab-hero-img:hover {
  transform: translateY(-4px);
}

.lab-assay-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  color: #38bdf8;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 16px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.lab-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 50%, #0f766e 100%);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 10px;
  font-family: var(--lab-mono);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
  transition: all 0.25s ease;
  width: 100%;
  max-width: 540px;
  text-align: center;
  margin: 12px 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lab-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.45);
  color: #ffffff;
}

.lab-cta-sub {
  font-size: 0.75rem;
  color: var(--lab-text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 4px;
}

.lab-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--lab-border);
}

.lab-section-alt {
  background: #ffffff;
}

.lab-section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.lab-section-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--lab-teal);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.lab-section-title {
  font-family: var(--lab-mono);
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--lab-heading);
  line-height: 1.25;
  margin-bottom: 12px;
}

.lab-section-desc {
  font-size: 1rem;
  color: var(--lab-text-muted);
}

.lab-pathways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.lab-pathway-card {
  background: #ffffff;
  border: 1px solid var(--lab-border);
  border-radius: var(--lab-radius);
  padding: 24px;
  box-shadow: var(--lab-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.lab-pathway-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0ea5e9, #0d9488);
}

.lab-pathway-card:hover {
  transform: translateY(-4px);
  border-color: var(--lab-cyan);
}

.lab-pathway-num {
  font-family: var(--lab-mono);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--lab-cyan-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.lab-pathway-title {
  font-family: var(--lab-mono);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--lab-slate);
  margin-bottom: 10px;
  line-height: 1.3;
}

.lab-pathway-text {
  font-size: 0.875rem;
  color: var(--lab-text);
  line-height: 1.6;
}

.lab-matrix-card {
  background: #ffffff;
  border: 1px solid var(--lab-border);
  border-radius: var(--lab-radius);
  overflow: hidden;
  box-shadow: var(--lab-shadow);
  margin-bottom: 24px;
}

.lab-matrix-header {
  background: #0f172a;
  color: #ffffff;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.lab-matrix-header-title {
  font-family: var(--lab-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #38bdf8;
}

.lab-matrix-header-badge {
  background: rgba(14, 165, 233, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.lab-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.lab-matrix-table th {
  background: #f1f5f9;
  color: var(--lab-slate);
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 2px solid var(--lab-border);
  text-align: left;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lab-matrix-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--lab-border-light);
  vertical-align: top;
}

.lab-matrix-table tr:hover {
  background: #f8fafc;
}

.lab-ing-name {
  font-weight: 700;
  color: var(--lab-slate);
  display: block;
}

.lab-ing-source {
  font-size: 0.75rem;
  color: var(--lab-text-muted);
  font-style: italic;
}

.lab-ing-dosage {
  font-family: var(--lab-mono);
  font-weight: 700;
  color: var(--lab-teal-dark);
}

.lab-evidence-badge {
  display: inline-block;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
}

.lab-pubmed-ref {
  font-size: 0.6875rem;
  color: #0284c7;
  display: block;
  margin-top: 4px;
}

.lab-timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.lab-timeline-card {
  background: #ffffff;
  border: 1px solid var(--lab-border);
  border-radius: var(--lab-radius);
  padding: 20px;
  box-shadow: var(--lab-shadow);
  border-top: 4px solid var(--lab-cyan);
}

.lab-timeline-phase {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--lab-cyan-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lab-timeline-title {
  font-family: var(--lab-mono);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--lab-slate);
  margin: 6px 0 10px;
}

.lab-timeline-desc {
  font-size: 0.8125rem;
  color: var(--lab-text);
  line-height: 1.55;
}

.lab-calc-box {
  background: #0f172a;
  color: #ffffff;
  border-radius: var(--lab-radius-lg);
  padding: 28px;
  margin: 40px 0;
  box-shadow: var(--lab-shadow-lg);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.lab-calc-title {
  font-family: var(--lab-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 8px;
}

.lab-calc-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 20px;
}

.lab-calc-controls {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: center;
}

.lab-calc-input-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.lab-calc-select {
  width: 100%;
  background: #1e293b;
  border: 1px solid #334155;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  outline: none;
}

.lab-calc-result-card {
  background: #1e293b;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 8px;
  padding: 14px;
  text-align: center;
}

.lab-calc-result-num {
  font-family: var(--lab-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: #38bdf8;
}

.lab-calc-result-lbl {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
}

.lab-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin: 40px 0 24px;
}

.lab-price-card {
  background: #ffffff;
  border: 1px solid var(--lab-border);
  border-radius: var(--lab-radius-lg);
  padding: 24px;
  box-shadow: var(--lab-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lab-price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--lab-shadow-lg);
}

.lab-price-card.featured {
  border: 2px solid #0ea5e9;
  box-shadow: 0 16px 36px -4px rgba(14, 165, 233, 0.2);
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.lab-card-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #38bdf8;
  border: 1px solid #38bdf8;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 9999px;
  white-space: nowrap;
}

.lab-price-card.featured .lab-card-ribbon {
  background: linear-gradient(90deg, #0284c7, #0d9488);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}

.lab-price-header {
  text-align: center;
  margin-top: 12px;
  margin-bottom: 16px;
}

.lab-pkg-title {
  font-family: var(--lab-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--lab-slate);
}

.lab-pkg-supply {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--lab-text-muted);
}

.lab-pkg-media {
  text-align: center;
  margin: 16px 0;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lab-pkg-img {
  max-height: 130px;
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.12));
  transition: transform 0.2s ease;
}

.lab-price-card:hover .lab-pkg-img {
  transform: scale(1.04);
}

.lab-price-box {
  text-align: center;
  margin: 16px 0;
}

.lab-price-main {
  font-family: var(--lab-mono);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--lab-slate);
  line-height: 1;
}

.lab-price-per {
  font-size: 0.75rem;
  color: var(--lab-text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 4px;
}

.lab-savings-tag {
  display: inline-block;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  margin-top: 8px;
}

.lab-price-card.featured .lab-savings-tag {
  background: #dcfce7;
  color: #15803d;
}

.lab-pkg-details {
  list-style: none;
  margin: 16px 0;
  font-size: 0.8125rem;
  color: var(--lab-text);
  flex-grow: 1;
}

.lab-pkg-details li {
  padding: 6px 0;
  border-bottom: 1px dashed var(--lab-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.lab-pkg-details li:last-child {
  border-bottom: none;
}

.lab-btn-buy {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  padding: 14px 20px;
  border-radius: 8px;
  font-family: var(--lab-mono);
  font-size: 0.9375rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  transition: all 0.2s ease;
  margin-top: auto;
}

.lab-price-card.featured .lab-btn-buy {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a;
  font-weight: 900;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.4);
}

.lab-btn-buy:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.lab-total-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--lab-text-muted);
  margin-top: 10px;
}

.lab-risk-box {
  background: #ffffff;
  border: 1px solid #fecaca;
  border-radius: var(--lab-radius);
  padding: 24px;
  margin: 32px 0;
  box-shadow: var(--lab-shadow);
}

.lab-risk-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.lab-risk-title {
  font-family: var(--lab-mono);
  font-size: 1.125rem;
  font-weight: 800;
  color: #991b1b;
}

.lab-risk-text {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
}

.lab-faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.lab-faq-item {
  background: #ffffff;
  border: 1px solid var(--lab-border);
  border-radius: var(--lab-radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.lab-faq-question {
  padding: 18px 22px;
  font-family: var(--lab-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--lab-slate);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  user-select: none;
  transition: background 0.2s ease;
}

.lab-faq-question:hover {
  background: #f8fafc;
}

.lab-faq-icon {
  font-size: 1.125rem;
  color: var(--lab-teal);
  transition: transform 0.25s ease;
  font-weight: 800;
}

.lab-faq-item.active .lab-faq-icon {
  transform: rotate(45deg);
}

.lab-faq-answer {
  padding: 0 22px 18px;
  font-size: 0.875rem;
  color: var(--lab-text);
  line-height: 1.65;
  display: none;
  border-top: 1px solid var(--lab-border-light);
  padding-top: 14px;
}

.lab-faq-item.active .lab-faq-answer {
  display: block;
}

.lab-badges-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  margin: 32px 0;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--lab-border);
  border-radius: var(--lab-radius);
}

.lab-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lab-badge-item img {
  height: 36px;
  width: auto;
}

.lab-badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lab-slate);
  line-height: 1.2;
}

.lab-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 48px 0 24px;
  border-top: 1px solid #1e293b;
  font-size: 0.8125rem;
}

.lab-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.lab-footer-col h4 {
  font-family: var(--lab-mono);
  font-size: 0.875rem;
  color: #f8fafc;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lab-footer-links {
  list-style: none;
}

.lab-footer-links li {
  margin-bottom: 8px;
}

.lab-footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.lab-footer-links a:hover {
  color: #38bdf8;
}

.lab-disclaimer-box {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  margin-bottom: 24px;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #64748b;
}

.lab-copyright {
  text-align: center;
  font-size: 0.75rem;
  color: #475569;
  border-top: 1px solid #1e293b;
  padding-top: 16px;
}

.lab-page-header {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 48px 0;
  border-bottom: 1px solid #334155;
  text-align: center;
}

.lab-page-header h1 {
  font-family: var(--lab-mono);
  font-size: 2rem;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 10px;
}

.lab-page-header p {
  color: #cbd5e1;
  font-size: 0.9375rem;
  max-width: 680px;
  margin: 0 auto;
}

.lab-breadcrumbs {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 14px;
}

.lab-breadcrumbs a {
  color: #38bdf8;
  text-decoration: none;
}

.lab-content-body {
  background: #ffffff;
  border: 1px solid var(--lab-border);
  border-radius: var(--lab-radius);
  padding: 36px;
  margin: 40px auto;
  box-shadow: var(--lab-shadow);
  max-width: 960px;
}

.lab-content-body h2 {
  font-family: var(--lab-mono);
  font-size: 1.375rem;
  color: var(--lab-slate);
  margin: 28px 0 12px;
  border-bottom: 2px solid var(--lab-border-light);
  padding-bottom: 6px;
}

.lab-content-body h3 {
  font-size: 1.125rem;
  color: var(--lab-teal-dark);
  margin: 20px 0 8px;
}

.lab-content-body p {
  margin-bottom: 14px;
  line-height: 1.7;
}

.lab-content-body ul, .lab-content-body ol {
  margin: 12px 0 18px 24px;
  line-height: 1.7;
}

.lab-content-body li {
  margin-bottom: 6px;
}

@media (max-width: 992px) {
  .lab-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .lab-pathways-grid, .lab-pricing-grid, .lab-timeline-grid {
    grid-template-columns: 1fr;
  }
  .lab-calc-controls {
    grid-template-columns: 1fr;
  }
  .lab-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .lab-header-inner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .lab-nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }
  .lab-hero h1 {
    font-size: 1.75rem;
  }
  .lab-content-body {
    padding: 20px;
  }

  .lab-table, .lab-matrix-table {
    display: block;
    width: 100%;
  }

  .lab-table thead, .lab-matrix-table thead {
    display: none !important;
  }

  .lab-table tbody, .lab-matrix-table tbody {
    display: block;
    width: 100%;
  }

  .lab-table tr, .lab-matrix-table tr {
    display: block;
    background: #ffffff;
    border: 1px solid var(--lab-border);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  }

  .lab-table td, .lab-matrix-table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    text-align: right;
    font-size: 0.8125rem;
    width: 100%;
  }

  .lab-table td:last-child, .lab-matrix-table td:last-child {
    border-bottom: none;
  }

  .lab-table td::before, .lab-matrix-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--lab-slate);
    text-align: left;
    margin-right: 12px;
    flex-shrink: 0;
    font-size: 0.75rem;
    text-transform: uppercase;
  }
}
