:root {
  --bg-primary: #090d16;
  --bg-secondary: #0f172a;
  --bg-tertiary: #1e293b;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.3);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-primary: #6366f1;
  --accent-hover: #4f46e5;
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --cyan-accent: #06b6d4;
  --cyan-gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --emerald-accent: #10b981;
  --amber-accent: #f59e0b;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 35px rgba(99, 102, 241, 0.25);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(99, 102, 241, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(168, 85, 247, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 70%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Scroll progress bar */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent-gradient);
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* Navigation bar */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--text-primary);
}

.nav-cta {
  background: var(--accent-gradient);
  color: white;
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.45);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Article Hero Header */
.article-hero {
  padding: 4.5rem 0 2.5rem;
  text-align: center;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #a5b4fc;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-accent);
  box-shadow: 0 0 10px var(--emerald-accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.article-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 950px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(180deg, #ffffff 30%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.article-title span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.article-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Hero Media Card */
.hero-image-wrapper {
  margin: 2.5rem 0 3.5rem;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-glow), var(--shadow-subtle);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-overlay-hud {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.hud-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hud-stat-value {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: #a5b4fc;
}

/* Affiliate Live Status Banner */
.affiliate-alert-banner {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  margin-bottom: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.alert-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.alert-icon {
  font-size: 1.5rem;
  background: rgba(99, 102, 241, 0.2);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.alert-text h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.alert-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.alert-btn {
  background: var(--accent-gradient);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}

.alert-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Section Common Styling */
.section-wrapper {
  margin-bottom: 5rem;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Audio Architecture Pipeline Explorer */
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
  position: relative;
}

.pipeline-step {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
  transition: var(--transition);
}

.pipeline-step:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.15);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan-accent);
  background: rgba(6, 182, 212, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.step-tech {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.step-latency {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--emerald-accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Filter Bar & Controls */
.filter-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  background: var(--bg-card);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border-color: rgba(99, 102, 241, 0.4);
}

.view-toggle {
  display: flex;
  background: var(--bg-tertiary);
  padding: 0.25rem;
  border-radius: var(--radius-sm);
}

.toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.toggle-btn.active {
  background: var(--accent-primary);
  color: white;
}

/* Comparison Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-subtle);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.comparison-table th {
  background: rgba(30, 41, 59, 0.75);
  padding: 1.1rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.comparison-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.table-brand-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-cell-badge {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #a5b4fc;
}

.brand-cell-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.brand-cell-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.latency-pill {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: inline-block;
}

.btn-table-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(99, 102, 241, 0.15);
  color: #c7d2fe;
  border: 1px solid rgba(99, 102, 241, 0.35);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-table-cta:hover {
  background: var(--accent-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.btn-table-cta.featured {
  background: var(--accent-gradient);
  color: white;
  border: none;
}

/* Platform Cards Grid View */
.platform-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.platform-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.platform-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.platform-card.featured {
  border-color: rgba(99, 102, 241, 0.4);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.featured-ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-gradient);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(168, 85, 247, 0.4);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: #a5b4fc;
}

.card-title-group h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
}

.card-title-group p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.card-description {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.score-bars {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.score-bar-bg {
  width: 140px;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: 9999px;
  background: var(--accent-gradient);
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.chip {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
  margin-top: auto;
}

.price-tag {
  display: flex;
  flex-direction: column;
}

.price-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.price-val {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.card-cta-btn {
  background: var(--accent-primary);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.card-cta-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.card-cta-btn.featured {
  background: var(--accent-gradient);
}

/* Interactive ROI Calculator */
.calculator-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-subtle);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.slider-group {
  margin-bottom: 2rem;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.slider-label {
  font-weight: 600;
  font-size: 0.95rem;
}

.slider-output {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.15);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-sm);
}

.custom-range {
  width: 100%;
  height: 8px;
  border-radius: 9999px;
  background: var(--bg-tertiary);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.6);
  cursor: pointer;
  transition: transform 0.1s;
}

.custom-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.roi-results-box {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: var(--shadow-glow);
}

.roi-metric-highlight {
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.metric-eyebrow {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.metric-big-num {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  color: #34d399;
  line-height: 1;
}

.metric-savings-pct {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.roi-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.9rem;
}

.roi-breakdown-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

.roi-breakdown-row span:last-child {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
}

/* Visual Image Spotlights inside Article */
.editorial-spotlight {
  margin: 3.5rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.editorial-spotlight img {
  width: 100%;
  height: auto;
  display: block;
}

.spotlight-caption {
  padding: 1rem 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px solid var(--border-color);
}

/* Interactive Checklist */
.checklist-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  user-select: none;
}

.checklist-item:last-child {
  border-bottom: none;
}

.checklist-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition);
}

.checklist-item.checked .checklist-checkbox {
  background: var(--accent-primary);
}

.checklist-item.checked .checklist-checkbox::after {
  content: '✓';
  color: white;
  font-size: 0.85rem;
  font-weight: 800;
}

.checklist-content h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.checklist-item.checked .checklist-content h4 {
  text-decoration: line-through;
  color: var(--text-muted);
}

.checklist-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
  padding: 3.5rem 0 2rem;
  margin-top: 6rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-disclosure {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-size: 0.82rem;
  line-height: 1.6;
}

/* Responsive adjustments */
/* ==========================================================================
   Responsive Breakpoints & Mobile Optimization
   ========================================================================== */

@media (max-width: 900px) {
  .calculator-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .nav-menu {
    display: none;
  }
  
  .article-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  /* Navigation Bar */
  .site-nav {
    padding: 0.65rem 1rem;
  }
  
  .nav-brand {
    font-size: 1rem;
    gap: 0.5rem;
  }
  
  .brand-icon {
    width: 28px;
    height: 28px;
  }

  .brand-icon svg {
    width: 16px;
    height: 16px;
  }

  .nav-cta {
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  /* Page Container & Layout Spacing */
  .container {
    padding: 0 1rem;
  }

  .section-wrapper {
    padding: 2.5rem 0;
  }

  .section-header {
    margin-bottom: 1.75rem;
  }

  .section-title {
    font-size: clamp(1.4rem, 5.5vw, 1.85rem);
    line-height: 1.25;
  }

  .section-desc {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  /* Hero Section */
  .article-hero {
    padding: 2rem 0 1.5rem;
  }

  .badge-tag {
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
    margin-bottom: 0.85rem;
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
    text-align: center;
  }

  .article-title {
    font-size: clamp(1.6rem, 6.5vw, 2.15rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    padding: 0 0.25rem;
  }

  .article-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    padding: 0 0.25rem;
  }

  .article-meta {
    gap: 0.5rem 0.85rem;
    font-size: 0.75rem;
    justify-content: center;
  }

  .meta-item svg {
    width: 14px;
    height: 14px;
  }

  /* Hero Visual & HUD Metrics */
  .hero-image-wrapper {
    margin: 1.5rem 0 2rem;
    border-radius: var(--radius-lg);
  }

  .hero-image-wrapper img {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    display: block;
    width: 100%;
    height: auto;
  }

  .hero-overlay-hud {
    position: static;
    background: rgba(15, 23, 42, 0.95);
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 0.85rem 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
  }

  .hud-stat {
    text-align: left;
  }

  .hud-stat-label {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    color: #94a3b8;
    line-height: 1.3;
  }

  .hud-stat-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: #22d3ee;
  }

  /* Affiliate Alert Banner */
  .affiliate-alert-banner {
    padding: 1rem 1.15rem;
    margin-bottom: 2.25rem;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 0.85rem;
  }

  .alert-content {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .alert-text h4 {
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .alert-text p {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .alert-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  /* Pipeline Grid */
  .pipeline-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .pipeline-step {
    padding: 1.15rem;
  }

  /* Filter Controls & Toggle */
  .filter-container {
    padding: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .filter-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .view-toggle {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .toggle-btn {
    flex: 1;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.5rem;
  }

  /* Comparison Table */
  .table-responsive {
    border-radius: var(--radius-md);
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table th {
    padding: 0.75rem 0.85rem;
    font-size: 0.8rem;
  }

  .comparison-table td {
    padding: 0.75rem 0.85rem;
    font-size: 0.82rem;
  }

  .btn-table-cta {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
  }

  /* Platform Cards View */
  .platform-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .platform-card {
    padding: 1.25rem;
  }

  /* Editorial Spotlight */
  .editorial-spotlight {
    margin: 2rem 0;
    border-radius: var(--radius-md);
  }

  .spotlight-caption {
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.45;
  }

  /* ROI Calculator */
  .calculator-card {
    padding: 1.25rem;
    gap: 1.5rem;
    border-radius: var(--radius-lg);
  }

  .slider-group {
    margin-bottom: 1.25rem;
  }

  .slider-label {
    font-size: 0.82rem;
  }

  .slider-output {
    font-size: 0.85rem;
  }

  .roi-results-box {
    padding: 1.25rem;
    border-radius: var(--radius-md);
    gap: 1.25rem;
  }

  .metric-big-num {
    font-size: 2.2rem;
  }

  .roi-breakdown-list {
    font-size: 0.82rem;
    gap: 0.6rem;
  }

  /* Checklist Section */
  .checklist-item {
    padding: 1rem;
    gap: 0.75rem;
  }

  .checklist-content h4 {
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .checklist-content p {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
    align-items: center;
  }

  .footer-disclosure {
    font-size: 0.75rem;
    line-height: 1.5;
    margin-top: 1.25rem;
  }
}

@media (max-width: 480px) {
  .site-nav {
    padding: 0.55rem 0.75rem;
  }

  .nav-brand span {
    font-size: 0.88rem;
  }

  .nav-cta {
    padding: 0.4rem 0.7rem;
    font-size: 0.72rem;
  }

  .article-title {
    font-size: 1.65rem;
  }

  .hero-overlay-hud {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .hud-stat-value {
    font-size: 1.1rem;
  }
}
