/*
 * TrackForge Article Base Stylesheet
 * ===================================
 * Single source of truth for standalone HTML articles.
 * Extracted directly from the Tailwind classes in:
 *   - frontend/src/pages/TrackForgeWhyPage.tsx
 *   - frontend/src/pages/TrackForgeBlackBoxPage.tsx
 *   - frontend/src/components/ShareBar.tsx
 *   - frontend/tailwind.config.js
 *
 * Usage in standalone HTML:
 *   <link rel="stylesheet" href="https://trackforge.studio/article-base.css">
 *   — or for local dev —
 *   <link rel="stylesheet" href="/path/to/frontend/public/article-base.css">
 *
 * DO NOT modify values here without updating the TSX source (and vice versa).
 * Tailwind equivalents are noted in comments for traceability.
 */

/* ─── Reset ─────────────────────────────────────────────────────────────────── */

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

/* ─── Page Foundation ───────────────────────────────────────────────────────── */
/* Source: TrackForgeWhyPage L820  style={{ background: '#0a0a0a', color: '#e5e7eb' }}
   Source: TrackForgeBlackBoxPage L1068  identical */

body {
  background: #0a0a0a;
  color: #e5e7eb;
  /* tailwind.config.js fontFamily.sans */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
  font-weight: 300;      /* font-light */
  font-size: 16px;
  line-height: 1.625;    /* leading-relaxed */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  padding: 0;
}

/* Source: TrackForgeWhyPage L825  ::selection { background: rgba(16,185,129,0.25) } */
::selection { background: rgba(16,185,129,0.25); }

/* Source: TrackForgeWhyPage L822-824  .serif-headline */
.serif-headline {
  font-family: Georgia, 'Times New Roman', serif !important;
}

/* tailwind.config.js fontFamily.mono */
.font-mono {
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
}


/* ─── Navigation ────────────────────────────────────────────────────────────── */
/* Source: SiteNav component — TrackForgeWhyPage L688-703, TrackForgeBlackBoxPage identical */

.tf-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;                                    /* px-6 py-4 */
  background: linear-gradient(to bottom, rgba(10,10,10,0.95), transparent);
}

/* Source: L692  text-white/80 text-[14px] font-light tracking-[0.06em] */
.tf-nav-brand {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-decoration: none;
  display: flex; align-items: center;
  transition: color 0.2s;
}
.tf-nav-brand:hover { color: rgba(255,255,255,1); }

/* Source: MiniEQ component — TrackForgeWhyPage L655-683 */
.eq-bars {
  display: inline-flex; align-items: flex-end; gap: 2px;
  height: 20px; margin-left: 8px;
}
.eq-bars span { width: 3px; border-radius: 1px; }
/* Colors from MiniEQ: green, green, yellow, yellow, red */
.eq-bars span:nth-child(1) { background: #22c55e; animation: eqBounce 0.80s ease-in-out infinite; animation-delay: 0.0s; }
.eq-bars span:nth-child(2) { background: #22c55e; animation: eqBounce 0.70s ease-in-out infinite; animation-delay: 0.1s; }
.eq-bars span:nth-child(3) { background: #eab308; animation: eqBounce 0.90s ease-in-out infinite; animation-delay: 0.2s; }
.eq-bars span:nth-child(4) { background: #eab308; animation: eqBounce 0.65s ease-in-out infinite; animation-delay: 0.3s; }
.eq-bars span:nth-child(5) { background: #ef4444; animation: eqBounce 0.75s ease-in-out infinite; animation-delay: 0.4s; }

@keyframes eqBounce {
  0%, 100% { height: 15%; }
  25% { height: 85%; }
  50% { height: 30%; }
  75% { height: 60%; }
}

/* Source: L696  text-white/35 text-[12px] tracking-[0.1em] uppercase */
.tf-nav-links {
  display: flex; align-items: center; gap: 24px;
}
.tf-nav-links a {
  color: rgba(255,255,255,0.35);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}
.tf-nav-links a:hover { color: rgba(255,255,255,0.7); }


/* ─── Hero ──────────────────────────────────────────────────────────────────── */
/* Source: SectionHero — TrackForgeWhyPage L216-247
   min-h-[60vh] flex flex-col items-center justify-center px-6 pt-24 pb-16 text-center relative overflow-hidden */

.hero {
  min-height: 60vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 96px 24px 64px;    /* pt-24=96px pb-16=64px px-6=24px */
  position: relative; overflow: hidden;
}

/* Radial glow — /why uses emerald, /black-box uses amber. Set per-article via inline style. */
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  /* Default: emerald. Override with style="--hero-glow: rgba(245,158,11,0.04)" for amber */
  background: radial-gradient(ellipse 70% 50% at 50% 30%, var(--hero-glow, rgba(16,185,129,0.05)) 0%, transparent 70%);
}
.hero > * { position: relative; }

/* Source: Label component — L62-65  text-[10px] uppercase tracking-[0.14em] text-emerald-400/70 mb-3 font-medium */
.label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(52,211,153,0.7);   /* emerald-400/70 = #34d399 at 70% */
  margin-bottom: 12px;           /* mb-3 */
  font-weight: 500;              /* font-medium */
}

/* Source: /why L223  text-[40px] sm:text-[56px] font-normal text-white/95 leading-tight tracking-[0.01em] mb-8 */
.hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 40px;
  font-weight: 400;
  color: rgba(255,255,255,0.95);
  line-height: 1.1;               /* leading-tight ~ 1.1 */
  letter-spacing: 0.01em;
  margin-bottom: 32px;            /* mb-8 */
  max-width: 48rem;
}
@media (min-width: 640px) { .hero h1 { font-size: 56px; } }

/* Source: /why L226-228  text-[18px] sm:text-[20px] text-white/60 font-light leading-relaxed mb-6 max-w-2xl mx-auto */
.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.625;
  max-width: 42rem;              /* max-w-2xl */
  margin-bottom: 24px;           /* mb-6 */
}
@media (min-width: 640px) { .hero-sub { font-size: 20px; } }

/* Source: /why L230-232  text-[16px] text-white/40 font-light leading-relaxed max-w-xl mx-auto */
.hero-secondary {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.625;
  max-width: 36rem;              /* max-w-xl */
}

/* Meta line (date, stats) */
.hero-meta {
  display: flex; gap: 24px; flex-wrap: wrap; justify-content: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
  margin-top: 48px;
}
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.meta-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(52,211,153,0.7); }

/* CTA buttons in hero */
/* Source: /why L237-244  px-7 py-3 bg-emerald-500/10 border border-emerald-500/25 ... */
.btn-primary {
  padding: 12px 28px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 8px;
  color: rgba(52,211,153,0.8);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover {
  border-color: rgba(16,185,129,0.5);
  background: rgba(16,185,129,0.15);
  color: rgba(52,211,153,1);
}

.btn-secondary {
  padding: 12px 28px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7);
}


/* ─── Share Bar ─────────────────────────────────────────────────────────────── */
/* Source: ShareBar.tsx L68-86 */

.share-bar {
  display: flex; align-items: center; gap: 8px;   /* gap-2 */
}
.share-bar-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.2);                   /* text-white/20 */
  margin-right: 4px;                              /* mr-1 */
  user-select: none;
}
/* Source: L68-69  w-[34px] h-[34px] rounded-full border border-white/10 text-white/30 */
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.3);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}
/* Source: hover:text-white/70 hover:border-white/25 hover:bg-white/[0.04] */
.share-btn:hover {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}
.share-btn svg { width: 14px; height: 14px; }


/* ─── Section Layout ────────────────────────────────────────────────────────── */
/* Source: SectionWrap — L96-103  w-full mx-auto px-6 py-20 max-w-3xl */

.section {
  max-width: 48rem;              /* max-w-3xl */
  margin: 0 auto;
  padding: 80px 24px;            /* py-20 px-6 */
}
.section.wide {
  max-width: 56rem;              /* max-w-4xl */
}

/* Thin divider between sections */
/* Source: /why L833, L843-845 — border-white/6 */
.divider {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 24px;
}
.divider-line {
  border-top: 1px solid rgba(255,255,255,0.06);   /* border-white/6 */
}


/* ─── Typography ────────────────────────────────────────────────────────────── */

/* Section label — same as .label */
/* Source: /why L313  text-[10px] uppercase tracking-[0.14em] text-emerald-400/70 mb-3 font-medium */
/* (Also used for amber callout labels with color override) */

/* Section heading */
/* Source: /why L314  serif-headline text-[28px] sm:text-[34px] font-normal text-white/90 leading-snug mb-8 */
h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  line-height: 1.275;             /* leading-snug */
  margin-bottom: 32px;            /* mb-8 */
}
@media (min-width: 640px) { h2 { font-size: 34px; } }

h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

/* Body paragraph */
/* Source: /why L319-320  text-[16px] text-white/60 leading-relaxed mb-5 */
.body-text {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.625;
  margin-bottom: 20px;            /* mb-5 */
}
/* Source: /why various — strong tags use text-white/80, not-italic, inherit weight */
.body-text strong {
  color: rgba(255,255,255,0.8);
  font-weight: 400;
}
.body-text em {
  color: rgba(255,255,255,0.8);
  font-style: italic;
}

/* Secondary/subtitle text */
/* Source: /why L229-231  text-[16px] text-white/40 */
.subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  line-height: 1.625;
  margin-bottom: 20px;
  max-width: 48rem;
}

/* Lead-in paragraph (first para of a section, slightly larger) */
/* Source: /why L226-228  text-[18px] sm:text-[20px] text-white/60 font-light */
.lead {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.625;
  margin-bottom: 24px;
}
@media (min-width: 640px) { .lead { font-size: 20px; } }


/* ─── Pull Quote ────────────────────────────────────────────────────────────── */
/* Source: PullQuote — /why L70-77
   my-16 py-10 border-t border-b border-white/8 text-center px-6
   p: text-[22px] sm:text-[26px] font-light text-white/90 leading-relaxed max-w-2xl tracking-[0.01em] */

.pullquote {
  margin: 64px 0;                 /* my-16 */
  padding: 40px 24px;             /* py-10 px-6 */
  border-top: 1px solid rgba(255,255,255,0.08);    /* border-white/8 */
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.pullquote p {
  font-size: 22px;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  line-height: 1.625;
  max-width: 42rem;
  margin: 0 auto;
  letter-spacing: 0.01em;
}
@media (min-width: 640px) { .pullquote p { font-size: 26px; } }


/* ─── Callouts ──────────────────────────────────────────────────────────────── */
/* Source: AmberCallout — /why L78-86  border-l-4 border-amber-500/70 bg-amber-500/5 rounded-r-xl p-6 my-8
   Source: GreenCallout — /why L88-94  border-l-4 border-emerald-500/60 bg-emerald-500/5 rounded-r-xl p-6 my-8
   Source: RedCallout — /black-box L93-98  border-l-4 border-red-500/50 bg-red-500/5 rounded-r-xl p-6 my-8 */

.callout {
  border-radius: 0 12px 12px 0;   /* rounded-r-xl */
  padding: 24px;                   /* p-6 */
  margin: 32px 0;                  /* my-8 */
}
.callout.amber {
  border-left: 4px solid rgba(245,158,11,0.7);    /* border-amber-500/70 */
  background: rgba(245,158,11,0.05);               /* bg-amber-500/5 */
}
.callout.green {
  border-left: 4px solid rgba(16,185,129,0.6);    /* border-emerald-500/60 */
  background: rgba(16,185,129,0.05);               /* bg-emerald-500/5 */
}
.callout.red {
  border-left: 4px solid rgba(239,68,68,0.5);     /* border-red-500/50 */
  background: rgba(239,68,68,0.05);                /* bg-red-500/5 */
}

/* Callout labels — follow same label pattern but in callout accent color */
/* Source: /why L336  text-[10px] uppercase tracking-[0.14em] text-amber-400/70 mb-4 font-medium */
.callout-label {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;             /* mb-4 */
}
.callout-label.amber { color: rgba(251,191,36,0.7); }   /* amber-400/70 */
.callout-label.green { color: rgba(52,211,153,0.7); }   /* emerald-400/70 */
.callout-label.red   { color: rgba(248,113,113,0.7); }  /* red-400/70 */

/* Body text inside callouts */
/* Source: /why L349-350  text-[13px] text-white/40, text-[13px] text-amber-200/50 */
.callout .body-text {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  max-width: 700px;
  margin-bottom: 0;
}
.callout .body-text + .body-text { margin-top: 12px; }


/* ─── Cards ─────────────────────────────────────────────────────────────────── */
/* Source: /why L492  bg-white/[0.025] border border-white/8 rounded-xl p-6 */

.card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;             /* rounded-xl */
  padding: 24px;                   /* p-6 */
}
.card:hover {
  background: rgba(255,255,255,0.04);  /* hover:bg-white/[0.04] */
}

/* Stat grid (case study numbers) */
/* Source: /why L337-348  grid grid-cols-1 sm:grid-cols-3 gap-6 mb-5 */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-bottom: 20px;
}
/* Source: /why L343  text-[32px] font-light text-amber-400/90 leading-none mb-2 */
.stat-value {
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 8px;
}
/* Source: /why L344  text-[13px] text-white/40 leading-relaxed */
.stat-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.625;
}


/* ─── Tables ────────────────────────────────────────────────────────────────── */
/* Source: /why L378-395  overflow-x-auto rounded-xl border border-white/8
   th: bg-white/[0.03] border-b border-white/8 px-5 py-3 text-[10px] uppercase tracking-[0.12em] text-white/40
   td: px-5 py-4 text-white/80 font-mono text-[13px] */

.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  margin: 24px 0;
}
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 12px 20px;
  text-align: left;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}
td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.8);
}
tr:nth-child(even) td { background: rgba(255,255,255,0.015); }
td.mono {
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
td.right { text-align: right; }


/* ─── Chart Containers ──────────────────────────────────────────────────────── */

.chart-wrap {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}
.chart-title {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(52,211,153,0.7);     /* emerald-400/70 — matches label style */
  margin-bottom: 16px;
}
.chart-canvas { max-height: 320px; }


/* ─── Bar Charts ────────────────────────────────────────────────────────────── */

.bar-group {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
}
.bar-row {
  display: grid;
  grid-template-columns: 140px 1fr 80px;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.bar-row-label {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-align: right;
}
.bar-track {
  height: 24px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  overflow: hidden;
}
.bar-fill { height: 100%; border-radius: 4px; transition: width 0.6s ease-out; }
.bar-fill.red    { background: linear-gradient(90deg, rgba(239,68,68,0.8), rgba(239,68,68,0.5)); }
.bar-fill.amber  { background: linear-gradient(90deg, rgba(245,158,11,0.8), rgba(245,158,11,0.5)); }
.bar-fill.green  { background: linear-gradient(90deg, rgba(16,185,129,0.8), rgba(16,185,129,0.5)); }
.bar-fill.blue   { background: linear-gradient(90deg, rgba(59,130,246,0.8), rgba(59,130,246,0.5)); }
.bar-value {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
  .bar-row { grid-template-columns: 100px 1fr 60px; gap: 8px; }
  .bar-row-label { font-size: 10px; }
}


/* ─── Compare Grid ──────────────────────────────────────────────────────────── */

.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.compare-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 24px;
}
.compare-card h4 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
  font-weight: 500;
}
.compare-stat {
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.compare-detail {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}


/* ─── Method Steps ──────────────────────────────────────────────────────────── */
/* Source: /why L560-576  numbered feature cards with emerald circles */

.method-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.method-step {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 24px;
}
/* Source: /why L563-566  w-8 h-8 rounded-full bg-emerald-500/15 border border-emerald-500/30 text-emerald-400/80 text-[11px] font-mono */
.method-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  color: rgba(52,211,153,0.8);
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 12px;
}
.method-step h4 {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
}
.method-step p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}


/* ─── Pills / Tags ──────────────────────────────────────────────────────────── */
/* Source: /why L571  px-2 py-0.5 rounded-full border border-emerald-500/20 bg-emerald-500/8 text-emerald-400/70 text-[10px] */

.source-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.pill {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
  color: rgba(255,255,255,0.5);
}
.pill .pill-count {
  color: rgba(52,211,153,0.8);
  font-weight: 500;
  margin-left: 6px;
}


/* ─── Footnote ──────────────────────────────────────────────────────────────── */

.footnote {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin-top: 12px;
  line-height: 1.5;
}


/* ─── Footer ────────────────────────────────────────────────────────────────── */
/* Source: SiteFooter — /why L708-723  border-t border-white/5 py-8 px-6 */

.tf-footer {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 32px 24px;
}
.tf-footer-inner {
  max-width: 56rem;
  margin: 0 auto;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 16px;
}
/* Source: L712  text-white/20 text-[11px] tracking-[0.08em] */
.tf-footer-copy {
  color: rgba(255,255,255,0.2);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.tf-footer-links {
  display: flex; align-items: center; gap: 20px;
  font-size: 11px;
  letter-spacing: 0.08em;
}
/* Source: L716  text-white/25 hover:text-white/55 */
.tf-footer-links a {
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color 0.2s;
}
.tf-footer-links a:hover { color: rgba(255,255,255,0.55); }


/* ─── Utilities ─────────────────────────────────────────────────────────────── */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Semantic colors for inline use */
.text-red    { color: rgba(248,113,113,0.9); }   /* red-400/90 */
.text-amber  { color: rgba(251,191,36,0.9); }    /* amber-400/90 */
.text-green  { color: rgba(52,211,153,0.9); }    /* emerald-400/90 */
.text-blue   { color: rgba(96,165,250,0.9); }    /* blue-400/90 */
.text-white  { color: rgba(255,255,255,0.95); }

/* Animation */
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.anim { animation: fadeUp 0.45s ease-out both; animation-delay: calc(var(--i, 0) * 0.06s); }
@media (prefers-reduced-motion: reduce) { .anim { animation: none; opacity: 1; } }


/* ─── Mobile ────────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .compare-grid { grid-template-columns: 1fr; }
  .method-steps { grid-template-columns: 1fr; }
  .hero-meta { gap: 12px; font-size: 11px; }
  .tf-nav-links a.hide-mobile { display: none; }
}
