:root {
  /* ==========================================================================
     Rank Kiwi Design System — Global Tokens (Single Source of Truth)
     ========================================================================== */

  /* 1. Typography Families */
  --font-display: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* 2. Standardized Font Weights */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* 3. Global Restrained Type Scale (Sort Feed Benchmark Standard) */
  --font-size-display: clamp(28px, 3.2vw, 36px);
  --font-size-h1: clamp(23px, 2.5vw, 30px);
  --font-size-h2: clamp(18px, 1.8vw, 23px);
  --font-size-h3: 16px;
  --font-size-h4: 14.5px;
  --font-size-lead: 15px;
  --font-size-body: 14px;
  --font-size-body-sm: 13px;
  --font-size-label: 12.5px;
  --font-size-caption: 11px;

  /* Legacy Scale Aliases for Compatibility */
  --text-xs: 11px;
  --text-sm: 12.5px;
  --text-base: 14px;
  --text-lg: 16px;
  --text-xl: 18px;
  --text-2xl: 22px;
  --text-3xl: 26px;
  --text-4xl: 30px;
  --text-5xl: clamp(28px, 3.2vw, 36px);

  /* 4. Line Heights */
  --line-tight: 1.15;
  --line-heading: 1.25;
  --line-snug: 1.38;
  --line-normal: 1.55;
  --line-relaxed: 1.65;

  /* 5. Spacing Scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* 6. Section Vertical Rhythm */
  --section-padding-hero: 44px 0 28px;
  --section-padding: 48px 0;
  --section-padding-compact: 32px 0;

  /* 7. Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* 8. Containers */
  --container-width: 1140px;
  --container-narrow: 880px;
  --container-prose: 740px;
  --container-padding: 24px;

  /* 9. Button Metrics */
  --button-height: 40px;
  --button-height-sm: 34px;
  --button-radius: var(--radius-sm);

  /* 10. Borders & Shadows */
  --border: 1px solid #e3e8e0;
  --border-strong: 1px solid #cdd6c8;
  --border-accent: 1px solid #d2f2b2;
  --shadow-sm: 0 1px 3px rgba(17, 24, 39, 0.05);
  --shadow: 0 4px 14px rgba(17, 24, 39, 0.06);
  --shadow-lg: 0 12px 28px -6px rgba(17, 24, 39, 0.08);

  /* 11. Brand Color System (Rank Kiwi Primary Green Standard) */
  --brand-primary: #01370b;
  --brand-primary-hover: #084a14;
  --brand-accent: #cbf990;
  --brand-accent-hover: #baf378;
  --brand-accent-dim: #e4f9c5;
  --brand-soft: #f2faea;
  --brand-border: #d2f2b2;
  --brand-border-strong: rgba(1, 55, 11, 0.2);

  /* Preserved Palette & Semantic Mappings */
  --ink: #111827;
  --ink-secondary: #374151;
  --muted: #475345;
  --caption: #64748b;
  --line: #e3e8e0;
  --line-strong: #cdd6c8;
  --paper: #ffffff;
  --wash: #f8faf6;
  --warm: #fcfdfb;
  --warm-gold: #cbf990;
  --warm-gold-border: rgba(1, 55, 11, 0.15);
  --kiwi-green: #cbf990;
  --kiwi-green-hover: #baf378;
  --kiwi-wash: #f2faea;
  --kiwi-border: #d2f2b2;
  --kiwi-dark: #01370b;
  --kiwi-dark-hover: #084a14;
  --green: #01370b;
  --green-hover: #084a14;
  --green-light: #f2faea;
  --accent-lime: #cbf990;
  --accent-lime-dim: #e4f9c5;

  /* Semantic Feedback Colors */
  --color-success: #166534;
  --color-success-text: #166534;
  --color-success-bg: #f0fdf4;
  --color-success-border: #bbf7d0;
  --color-error: #991b1b;
  --color-error-text: #991b1b;
  --color-error-bg: #fef2f2;
  --color-error-border: #fee2e2;
  --color-warning: #9a3412;
  --color-warning-text: #9a3412;
  --color-warning-bg: #fffbeb;
  --color-warning-border: #fde68a;

  /* 12. Data Visualization Chart Palette (Rank Kiwi Controlled Spectrum) */
  --chart-series-1: #01370b;
  --chart-series-2: #2b7a1e;
  --chart-series-3: #52a13f;
  --chart-series-4: #8ecf7c;
  --chart-series-5: #cbf990;
  --chart-neutral: #94a3b8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100vw;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: var(--line-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--kiwi-dark);
  outline-offset: 2px;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Containers */
.wrap {
  width: min(var(--container-width), calc(100% - 48px));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(var(--container-narrow), calc(100% - 48px));
  margin-inline: auto;
}

.wrap-prose {
  width: min(var(--container-prose), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 14px;
  top: -80px;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  z-index: 100;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Typography Scale (Desktop Targets & Sort Feed Visual Benchmark)
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: var(--font-size-caption);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2b7a1e;
  box-shadow: 0 0 0 3px rgba(43, 122, 30, 0.15);
}

h1, h2, h3, h4, p {
  margin-top: 0;
}

h1 {
  font-size: var(--font-size-h1);
  line-height: var(--line-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: var(--font-size-display);
  line-height: var(--line-tight);
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

h2 {
  font-size: var(--font-size-h2);
  line-height: var(--line-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}

h3 {
  font-size: var(--font-size-h3);
  line-height: var(--line-snug);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 6px;
}

h4 {
  font-size: var(--font-size-h4);
  line-height: var(--line-snug);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

p {
  color: var(--ink-secondary);
}

.hero-text, .hero-lead, .lede {
  font-size: var(--font-size-lead);
  line-height: var(--line-normal);
  color: var(--muted);
  max-width: 680px;
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--button-height);
  padding: 0 18px;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.2s, border-color 0.2s, transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.06);
}

.button:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.1);
}

.button span {
  font-weight: 500;
  opacity: 0.85;
  margin-left: 5px;
}

.button-small {
  min-height: var(--button-height-sm);
  padding: 0 14px;
  font-size: var(--font-size-label);
}

.button-quiet {
  background: #ffffff;
  border-color: var(--line-strong);
  color: var(--ink);
  box-shadow: none;
}

.button-quiet:hover {
  background: var(--wash);
  border-color: #bcc6b7;
  box-shadow: var(--shadow-sm);
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.15s;
}

.text-button b {
  font-size: 14px;
  transition: transform 0.2s;
}

.text-button:hover {
  color: var(--green);
}

.text-button:hover b {
  transform: translateX(3px);
}

/* ==========================================================================
   Header & Navbar (Compact Sort Feed Density Standard)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 58px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.04);
}

.site-header .nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-logo {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 500;
}

.nav-links .button {
  display: none;
}

.nav-links > a:not(.button) {
  color: var(--ink-secondary);
  transition: color 0.15s;
  padding: 4px 0;
}

.nav-links > a:not(.button):hover {
  color: var(--ink);
}

.nav-links > a.active {
  color: var(--kiwi-dark);
  font-weight: 600;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  border-radius: 6px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
  transition: transform 0.2s, opacity 0.2s;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding: 80px 0 48px;
  text-align: center;
}

.hero-copy {
  max-width: 820px;
  margin: 0 auto;
}

.hero .eyebrow {
  justify-content: center;
}

.hero h1 {
  max-width: 780px;
  margin: 0 auto 20px;
}

.hero .hero-text {
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 32px;
}

.trust-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-list li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3b872b;
}

.hero-media-wrap {
  margin-top: 44px;
  margin-bottom: 32px;
}

.product-visual-stage {
  padding: 24px 26px;
  border-radius: 20px;
  background: var(--kiwi-green);
  border: 1px solid rgba(1, 55, 11, 0.12);
  box-shadow: 0 14px 36px -8px rgba(1, 55, 11, 0.15);
  max-width: 840px;
  margin: 0 auto;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
}

.hero-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(1, 55, 11, 0.08);
}

.hero-platforms-simple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

.hero-platforms-simple .platform-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--ink);
}

.hero-platforms-simple .platform-item img {
  display: inline-block;
}

.shot-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

/* ==========================================================================
   Sections General
   ========================================================================== */

.section {
  padding: 72px 0;
}

:target,
#how-it-works,
#features,
#creator-outliers,
#platforms,
#outlier-score,
#content-details,
#pricing,
#privacy,
#faq {
  scroll-margin-top: 80px;
}

.section-intro {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
}

.centered {
  text-align: center;
  margin-inline: auto;
}

.centered .eyebrow {
  justify-content: center;
}

/* ==========================================================================
   How It Works
   ========================================================================== */

.steps-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 48px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step {
  position: relative;
  padding: 18px 22px;
  border-radius: 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--line);
  background: #ffffff;
  cursor: pointer;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: background 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.step:hover {
  background: #fafdf7;
  border-left-color: #aed988;
  transform: translateX(3px);
}

.step.active {
  background: var(--kiwi-wash);
  border-color: var(--kiwi-border);
  border-left: 4px solid var(--kiwi-dark);
  box-shadow: 0 6px 20px rgba(1, 55, 11, 0.09);
  transform: translateX(6px);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--muted);
  background: var(--wash);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.step.active .step-num {
  color: #ffffff;
  background: var(--kiwi-dark);
  border-color: var(--kiwi-dark);
}

.step h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.25s ease;
}

.step.active h3 {
  color: var(--kiwi-dark);
  font-weight: 800;
}

.step p {
  margin: 6px 0 0 38px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  transition: color 0.25s ease;
}

.step.active p {
  color: var(--ink-secondary);
}

.step-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(1, 55, 11, 0.08);
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

.step-progress-bar {
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: var(--kiwi-dark);
  border-radius: 3px;
}

.step.active .step-progress-bar {
  animation: stepProgress 3.8s linear forwards;
}

@keyframes stepProgress {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

.screenshot-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.carousel-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1400 / 910;
  overflow: hidden;
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px -4px rgba(1, 55, 11, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.28s ease, border-color 0.28s ease;
}

.carousel-container:hover {
  border-color: rgba(1, 55, 11, 0.22);
  box-shadow: 0 16px 40px -8px rgba(1, 55, 11, 0.14), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 450ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.carousel-image.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.carousel-dots-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.carousel-dot-btn {
  position: relative;
  width: 22px;
  height: 6px;
  border-radius: 9999px;
  background: rgba(1, 55, 11, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.carousel-dot-btn::after {
  content: '';
  position: absolute;
  top: -12px;
  bottom: -12px;
  left: -8px;
  right: -8px;
}

.carousel-dot-btn:hover {
  background: rgba(1, 55, 11, 0.4);
}

.carousel-dot-btn.active {
  background: var(--kiwi-dark);
  width: 38px;
}

/* ==========================================================================
   Features (4 Cards Only)
   ========================================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.feature-card > b {
  color: var(--green);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.feature-card h3 {
  margin: 10px 0 6px;
  font-size: 15px;
}

.feature-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   Dual Showcase: Instagram & YouTube Outliers
   ========================================================================== */

.dual-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.showcase-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.showcase-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 12px 30px -8px rgba(1, 55, 11, 0.08);
}

.showcase-card-header {
  margin-bottom: 16px;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  background: var(--kiwi-wash);
  border: 1px solid var(--kiwi-border);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--kiwi-dark);
  margin-bottom: 10px;
}

.platform-badge img {
  display: inline-block;
  object-fit: contain;
}

.showcase-card-header h3 {
  font-size: 15.5px;
  margin: 0 0 5px;
  color: var(--ink);
}

.showcase-card-header p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.showcase-card .screenshot-container {
  margin-top: auto;
}

/* ==========================================================================
   Platforms Section (After Features)
   ========================================================================== */

.platform-section {
  background: #fafcfa;
  padding: 64px 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 800px;
  margin: 0 auto;
}

.platform-card {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.platform-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.platform-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.platform-icon img {
  width: auto;
  max-height: 30px;
  object-fit: contain;
}

.platform-card h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.platform-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   Outlier Score Section
   ========================================================================== */

.outlier-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 56px;
  padding: 64px 0;
}

.outlier-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.score-card {
  padding: 22px 20px;
  border: 1px solid #d4e3c9;
  border-radius: var(--radius);
  background: var(--green-light);
}

.score-row {
  display: grid;
  grid-template-columns: 60px 1fr 90px;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(23, 36, 16, 0.08);
}

.score-row:first-child {
  padding-top: 0;
}

.score-row b {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.score-bar {
  height: 6px;
  border-radius: 8px;
  background: rgba(23, 36, 16, 0.1);
  overflow: hidden;
}

.score-bar span {
  display: block;
  height: 100%;
  border-radius: 8px;
  background: #7ca85a;
}

.score-row.strong .score-bar span {
  background: #4a822b;
}

.score-row.outlier .score-bar span {
  background: var(--green);
}

.score-row p {
  margin: 0;
  text-align: right;
  font-size: 12.5px;
}

/* ==========================================================================
   Content Details Showcase
   ========================================================================== */

.content-details-section {
  padding: 64px 0;
}

.content-details-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.content-details-copy h2 {
  margin-bottom: 10px;
}

.content-details-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   Pricing Section (Symmetrical, Clean & Light)
   ========================================================================== */

.pricing-section {
  padding: 64px 0;
  text-align: center;
}

.pricing-intro {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 30px;
}

.pricing-sub {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.pricing-card {
  max-width: 400px;
  margin: 0 auto;
  padding: 30px 26px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e3e8e0;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(1, 55, 11, 0.04);
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--kiwi-wash);
  border: 1px solid var(--kiwi-border);
  color: var(--kiwi-dark);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  margin: 8px 0 20px;
}

.pricing-price .amount {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}

.pricing-price .period {
  font-size: 13px;
  color: var(--muted);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--ink);
}

.pricing-features li svg {
  width: 15px;
  height: 15px;
  color: var(--kiwi-dark);
  background: var(--kiwi-green);
  border-radius: 50%;
  padding: 2px;
  flex-shrink: 0;
}

/* ==========================================================================
   Privacy Section
   ========================================================================== */

.privacy-section {
  padding: 72px 0;
  background: #ffffff;
}

.privacy-sub {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 24px;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.privacy-card {
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--wash);
}

.privacy-card h3 {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.privacy-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.privacy-action {
  margin-top: 8px;
}

/* ==========================================================================
   FAQ Section (Accordion, 1-3 sentences)
   ========================================================================== */

.faq-section {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 56px;
}

.accordion {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  padding: 15px 0;
  font-size: 14.5px;
  font-weight: 700;
  list-style: none;
  color: var(--ink);
  transition: color 0.15s;
}

summary:hover {
  color: var(--green);
}

summary::-webkit-details-marker {
  display: none;
}

summary span {
  color: var(--green);
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  transition: transform 0.2s;
  flex-shrink: 0;
}

details[open] summary span {
  transform: rotate(45deg);
}

details p {
  margin: 0;
  padding: 0 28px 15px 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 56px auto 64px;
  padding: 52px 28px;
  border: 1px solid var(--kiwi-border);
  border-radius: var(--radius-lg);
  background: var(--kiwi-wash);
  box-shadow: var(--shadow-sm);
}

.final-cta .brand-logo.large {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px -4px rgba(1, 55, 11, 0.16);
  border: 1px solid rgba(203, 249, 144, 0.45);
  background: #ffffff;
}

.final-cta h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  color: var(--ink);
}

.final-cta > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
  max-width: 480px;
  margin: 0 0 20px;
  line-height: 1.5;
}

.final-cta small {
  margin-top: 14px;
  color: var(--muted);
  font-size: var(--font-size-label);
}

/* ==========================================================================
   Footer (Standardized 5-Column Architecture)
   ========================================================================== */

.site-footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand-col p {
  max-width: 290px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.social-icon-link {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--wash);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-secondary);
  transition: all 0.18s ease;
}

.social-icon-link:hover {
  background: var(--kiwi-green);
  border-color: var(--kiwi-border);
  color: var(--kiwi-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(85, 165, 30, 0.2);
}

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

.footer-grid > div:not(.footer-brand-col) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
}

.footer-grid > div > b {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-grid a:hover {
  color: var(--green);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
}

.footer-heart {
  color: #ef4444;
  display: inline-block;
  margin: 0 2px;
  will-change: transform;
  animation: pulse-heart 1.5s infinite;
}

@keyframes pulse-heart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

.author-link {
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

.author-link:hover {
  color: var(--kiwi-dark);
}

/* ==========================================================================
   Documentation Styles (/docs/)
   ========================================================================== */

.docs-wrapper {
  padding: 40px 0 80px;
}

.docs-header-bar {
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}

.docs-header-bar h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.docs-header-bar p {
  color: var(--muted);
  font-size: 16.5px;
  margin: 0;
}

.docs-container {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  padding-right: 12px;
}

.docs-sidebar::-webkit-scrollbar {
  width: 4px;
}

.docs-sidebar::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 4px;
}

.docs-nav-group {
  margin-bottom: 24px;
}

.docs-nav-title {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 10px;
}

.docs-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.docs-nav-link {
  display: block;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}

.docs-nav-link:hover,
.docs-nav-link.active {
  color: var(--ink);
  background: var(--wash);
  font-weight: 600;
}

.docs-content {
  min-width: 0;
  max-width: 780px;
}

.docs-article {
  padding-bottom: 56px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 92px;
}

.docs-article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.docs-article h2 {
  font-size: clamp(19px, 2.2vw, 25px);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.docs-lead {
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
  font-weight: 500;
}

.docs-article h3 {
  font-size: 15px;
  margin: 20px 0 6px;
  letter-spacing: -0.015em;
}

.docs-article p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 12px;
}

.docs-article ul,
.docs-article ol {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  padding-left: 20px;
  margin: 0 0 16px;
}

.docs-article li {
  margin-bottom: 6px;
}

.docs-article strong {
  color: var(--ink);
}

.docs-callout {
  padding: 12px 16px;
  border-radius: 9px;
  background: var(--wash);
  border-left: 3px solid var(--green);
  margin: 16px 0;
}

.docs-callout p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-secondary);
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 13px;
}

.docs-table th,
.docs-table td {
  padding: 9px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.docs-table th {
  background: var(--wash);
  color: var(--ink);
  font-weight: 700;
}

.docs-table td {
  color: var(--muted);
}

/* Documentation Search Bar */
.docs-search {
  position: relative;
  margin: var(--space-6) 0 var(--space-8);
  max-width: 680px;
}

.docs-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.docs-search-input-wrap svg {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.docs-search-input {
  width: 100%;
  height: 46px;
  padding: 0 16px 0 42px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: all 0.18s ease;
}

.docs-search-input:focus {
  outline: none;
  border-color: var(--kiwi-dark);
  box-shadow: 0 0 0 3px rgba(1, 55, 11, 0.12);
}

.docs-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 380px;
  overflow-y: auto;
  z-index: 120;
  display: none;
}

.docs-search-results.is-open {
  display: block;
}

.docs-search-item {
  display: block;
  padding: 12px 16px;
  border-bottom: 1px solid var(--wash);
  transition: background 0.15s ease;
}

.docs-search-item:last-child {
  border-bottom: 0;
}

.docs-search-item:hover,
.docs-search-item:focus {
  background: var(--kiwi-wash);
}

.docs-search-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.docs-search-item-title {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--ink);
}

.docs-search-item-category {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kiwi-dark);
  background: var(--kiwi-wash);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--kiwi-border);
}

.docs-search-item-desc {
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: var(--line-normal);
  margin: 0;
}

.docs-search-empty {
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: var(--text-sm);
}

/* Category Grid on Docs Home */
.docs-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-5);
  margin: var(--space-8) 0;
}

.docs-category-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s, border-color 0.2s;
}

.docs-category-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.docs-cat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--kiwi-wash);
  border: 1px solid var(--kiwi-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kiwi-dark);
  margin-bottom: 14px;
}

.docs-cat-icon svg {
  width: 20px;
  height: 20px;
}

.docs-category-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}

.docs-category-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 16px;
  flex-grow: 1;
}

.docs-cat-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--wash);
  padding-top: 12px;
}

.docs-cat-links a {
  font-size: 12.5px;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.15s;
}

.docs-cat-links a:hover {
  color: var(--green);
}

.docs-cat-links a::after {
  content: "→";
  font-size: 13px;
  opacity: 0.7;
}

/* Quick Start Banner */
.quickstart-box {
  background: linear-gradient(135deg, #ffffff 0%, var(--kiwi-wash) 100%);
  border: 1px solid var(--kiwi-border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: var(--space-6) 0 var(--space-8);
  box-shadow: 0 4px 18px rgba(1, 55, 11, 0.06);
}

.quickstart-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.quickstart-step {
  background: var(--paper);
  border: 1px solid rgba(1, 55, 11, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink);
}

.quickstart-step strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--kiwi-dark);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

/* Table of Contents */
.table-of-contents {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 20px 0 32px;
}

.toc-title {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toc-list a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.15s;
}

.toc-list a:hover {
  color: var(--green);
}

/* Prev / Next Pagination */
.docs-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.docs-page-nav {
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  min-width: 200px;
  transition: all 0.18s ease;
}

.docs-page-nav:hover {
  background: var(--wash);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.docs-page-nav span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 2px;
}

.docs-page-nav b {
  font-size: 14px;
  color: var(--ink);
}

.docs-page-next {
  text-align: right;
  margin-left: auto;
}

/* Decision Tree for Troubleshooting */
.decision-tree {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tree-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  padding: 18px 22px;
}

.tree-question {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.tree-question-badge {
  background: var(--kiwi-dark);
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.tree-branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tree-branch {
  border: 1px solid var(--wash);
  background: var(--wash);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
}

.tree-branch strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.tree-branch.branch-no strong {
  color: #b91c1c;
}

.tree-branch.branch-yes strong {
  color: #15803d;
}

/* Annotated Screenshot & Legend */
.annotated-shot-wrap {
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.annotated-shot-img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid var(--line);
}

.shot-legend {
  padding: 18px 22px;
  background: var(--wash);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.legend-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-secondary);
}

.legend-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--kiwi-dark);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Troubleshooting Diagnostics & Flowchart */
.tree-step {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  padding: 18px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.tree-badge {
  background: var(--kiwi-dark);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tree-content {
  flex: 1;
}

.tree-content strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 12px;
}

.tree-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tree-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.tree-btn.tree-yes {
  background: var(--kiwi-wash);
  color: var(--kiwi-dark);
  border: 1px solid var(--kiwi-border);
}

.tree-btn.tree-yes:hover {
  background: var(--kiwi-green);
  border-color: var(--kiwi-dark);
  transform: translateY(-1px);
}

.tree-btn.tree-no {
  background: var(--color-error-bg);
  color: var(--color-error);
  border: 1px solid var(--color-error-border);
}

.tree-btn.tree-no:hover {
  background: #fee2e2;
  transform: translateY(-1px);
}

.tree-btn.tree-warning {
  background: var(--color-warning-bg);
  color: var(--color-warning);
  border: 1px solid var(--color-warning-border);
}

.tree-btn.tree-warning:hover {
  background: #fef3c7;
  transform: translateY(-1px);
}

.table-of-contents {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 28px 0 36px;
}

.table-of-contents h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.table-of-contents ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px 16px;
}

.table-of-contents a {
  color: var(--kiwi-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.table-of-contents a:hover {
  text-decoration: underline;
}

.troubleshoot-article {
  padding-bottom: 48px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 84px;
}

.troubleshoot-article h2 {
  font-size: 20px;
  margin-bottom: 6px;
  color: var(--ink);
}

.troubleshoot-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}

.fix-box {
  background: var(--kiwi-wash);
  border: 1px solid var(--kiwi-border);
  border-left: 4px solid var(--kiwi-dark);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 20px 0;
}

.fix-box h4 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--kiwi-dark);
}

.fix-box ol,
.fix-box ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.6;
}

.support-escalation {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--muted);
  margin: 16px 0;
}

.support-escalation a {
  color: var(--kiwi-dark);
  font-weight: 700;
}

.checklist-card {
  background: var(--kiwi-wash);
  border: 1px solid var(--kiwi-border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 28px 0;
}

.checklist-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
  color: var(--kiwi-dark);
  font-size: 16px;
}

.checklist-items {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.6;
}

.checklist-items li {
  margin-bottom: 6px;
}

.checklist-note {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 20px;
}

.checklist-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.answer-first-callout {
  background: var(--kiwi-wash);
  border: 1px solid var(--kiwi-border);
  border-left: 4px solid var(--kiwi-dark);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  font-size: 14px;
  line-height: var(--line-normal);
  color: var(--ink);
  margin: 20px 0 28px;
}

.related-links {
  font-size: 12.5px;
  color: var(--caption);
  margin-top: 12px;
}

.related-links a {
  color: var(--kiwi-dark);
  font-weight: 600;
}

/* ==========================================================================
   Legal & Support Pages
   ========================================================================== */

.legal-page,
.support-page {
  max-width: 820px;
  padding: 56px 0 80px;
}

.legal-page h1,
.support-page h1 {
  font-size: clamp(24px, 3.2vw, 36px);
  margin-bottom: 10px;
}

.legal-lead {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 20px;
}

.updated {
  color: #8b938a;
  font-size: 12.5px;
  margin: 0 0 32px;
}

.legal-content section {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content section:first-child {
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  font-size: clamp(17px, 2vw, 21px);
  margin-bottom: 8px;
}

.legal-content p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}

.legal-content a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-box {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--wash);
  margin: 32px 0;
}

.support-email-pill {
  display: inline-block;
  padding: 10px 18px;
  background: #ffffff;
  border: 1px solid var(--kiwi-border);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--kiwi-dark);
  margin-top: 14px;
  transition: all 0.15s ease;
}

.support-email-pill:hover {
  background: var(--kiwi-green);
  color: var(--kiwi-dark);
  transform: translateY(-1px);
}

.support-social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.support-social-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.15s ease;
}

.support-social-card:hover {
  border-color: var(--kiwi-border);
  background: var(--kiwi-wash);
  color: var(--kiwi-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(85, 165, 30, 0.12);
}

.support-social-card svg {
  width: 20px;
  height: 20px;
  color: var(--kiwi-dark);
  flex-shrink: 0;
}

/* ==========================================================================
   Reusable Template Components (Phase 1 Foundation)
   ========================================================================== */

/* Breadcrumbs */
.breadcrumbs {
  margin: 0 0 var(--space-6);
  font-size: var(--text-sm);
  color: var(--muted);
}

.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: var(--line-strong);
  font-size: 11px;
}

.breadcrumbs a {
  color: var(--muted);
  transition: color 0.15s ease;
}

.breadcrumbs a:hover {
  color: var(--green);
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

/* ==========================================================================
   Global Card System (Section 19-20 Standard)
   ========================================================================== */

.card, .card-default {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}

.card-muted {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

.card-brand {
  background: var(--kiwi-wash);
  border: 1px solid var(--kiwi-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

.card-highlight {
  background: var(--kiwi-dark);
  color: #ffffff;
  border: 1px solid rgba(203, 249, 144, 0.25);
  border-radius: var(--radius-md);
  padding: var(--space-8);
}

/* Global Brand Green CTA Banner */
.cta-banner {
  background: var(--kiwi-dark) !important;
  color: #ffffff !important;
  border: 1px solid rgba(203, 249, 144, 0.25);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
  box-shadow: 0 12px 36px rgba(1, 55, 11, 0.14);
}

.cta-banner h2 {
  color: #ffffff !important;
  margin-top: 0;
  margin-bottom: 12px;
}

.cta-banner p {
  color: #c2d6c0 !important;
  max-width: 620px;
  margin: 0 auto 24px auto;
  line-height: var(--line-normal);
  font-size: 14px;
}

.cta-banner a.button-primary,
.cta-banner a.button:not(.button-outline):not(.button-quiet) {
  background: var(--kiwi-green) !important;
  color: var(--kiwi-dark) !important;
  border: none !important;
  font-weight: 700 !important;
}

.cta-banner a.button-primary:hover,
.cta-banner a.button:not(.button-outline):not(.button-quiet):hover {
  background: var(--kiwi-green-hover) !important;
  transform: translateY(-1px);
}

.cta-banner a.button-outline,
.cta-banner a.button-quiet {
  background: transparent !important;
  color: #ffffff !important;
  border: 1px solid rgba(203, 249, 144, 0.45) !important;
}

.cta-banner a.button-outline:hover,
.cta-banner a.button-quiet:hover {
  background: rgba(203, 249, 144, 0.15) !important;
  border-color: var(--kiwi-green) !important;
}

.card-interactive {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s, border-color 0.2s;
}

.card-interactive:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

/* Card Grids for Articles, Research & Comparisons */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.article-card,
.research-card,
.comparison-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s;
}

.article-card:hover,
.research-card:hover,
.comparison-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  background: var(--kiwi-wash);
  border: 1px solid var(--kiwi-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--kiwi-dark);
  margin-bottom: var(--space-3);
  align-self: flex-start;
}

.card-title {
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 var(--space-2);
}

.card-desc {
  font-size: var(--text-sm);
  line-height: var(--line-normal);
  color: var(--muted);
  margin: 0 0 var(--space-4);
  flex-grow: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--muted);
  border-top: 1px solid var(--wash);
  padding-top: var(--space-3);
  margin-top: auto;
}

/* Callouts & Alert Boxes */
.callout {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-sm);
  background: var(--wash);
  border-left: 4px solid var(--green);
  margin: var(--space-4) 0;
  font-size: var(--text-sm);
  line-height: var(--line-normal);
}

.callout p {
  margin: 0;
  color: var(--ink-secondary);
}

.callout-tip {
  background: var(--kiwi-wash);
  border-left-color: var(--kiwi-dark);
}

.callout-warning {
  background: var(--color-warning-bg);
  border-left-color: var(--color-warning-text);
}

.callout-warning p {
  color: var(--color-warning-text);
}

.callout-danger,
.callout-error {
  background: var(--color-error-bg);
  border: 1px solid var(--color-error-border);
  border-left: 4px solid var(--color-error-text);
}

.callout-danger p,
.callout-error p {
  color: var(--color-error-text);
}

.callout-success {
  background: var(--color-success-bg);
  border: 1px solid var(--color-success-border);
  border-left: 4px solid var(--color-success-text);
}

.callout-success p {
  color: var(--color-success-text);
}

/* Code Blocks & Inline Code */
.code-block {
  margin: var(--space-4) 0;
  background: var(--ink);
  color: #f9fafb;
  border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-5);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.code-block code {
  color: inherit;
  background: transparent;
  padding: 0;
  border: 0;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--wash);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--line);
  color: var(--ink);
}

/* Data & Comparison Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: var(--space-6) 0;
  border: var(--border);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--text-sm);
}

.data-table th,
.data-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--line);
}

.data-table th {
  background: var(--wash);
  font-weight: 700;
  color: var(--ink);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table td {
  color: var(--muted);
}

.data-table tr:hover td {
  background: #fafdf7;
}

/* Troubleshooting Blocks */
.troubleshoot-block {
  padding: var(--space-6);
  border: var(--border);
  border-radius: var(--radius);
  background: var(--paper);
  margin-bottom: var(--space-6);
}

.troubleshoot-header {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}

.troubleshoot-tag {
  display: inline-flex;
  padding: 2px 8px;
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: 4px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.troubleshoot-section {
  margin-top: var(--space-4);
}

.troubleshoot-section h4 {
  margin: 0 0 var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.troubleshoot-fix-list {
  padding-left: var(--space-5);
  margin: var(--space-2) 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: var(--line-normal);
}

.troubleshoot-fix-list li {
  margin-bottom: var(--space-2);
}

/* Author & Meta Blocks */
.author-block {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-top: var(--border);
  border-bottom: var(--border);
  margin: var(--space-6) 0;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--kiwi-border);
}

.author-info h4 {
  margin: 0;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--ink);
}

.author-info p {
  margin: 2px 0 0;
  font-size: var(--text-xs);
  color: var(--muted);
}

/* Related Content Section */
.related-content {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: var(--border);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.related-card {
  display: block;
  padding: var(--space-4);
  border: var(--border);
  border-radius: var(--radius-sm);
  background: var(--wash);
  transition: all 0.18s ease;
}

.related-card:hover {
  background: var(--kiwi-wash);
  border-color: var(--kiwi-border);
  transform: translateY(-2px);
}

.related-card h4 {
  margin: 0 0 var(--space-1);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
}

.related-card p {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: var(--line-normal);
}

/* Error / Empty / 404 State */
.state-box {
  text-align: center;
  padding: var(--space-16) var(--space-6);
  max-width: 620px;
  margin: 0 auto;
}

.state-code {
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--kiwi-dark);
  margin-bottom: var(--space-4);
}

.state-box h1 {
  margin-bottom: var(--space-3);
}

.state-box p {
  color: var(--muted);
  font-size: var(--text-base);
  line-height: var(--line-normal);
  margin-bottom: var(--space-6);
}

.state-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ==========================================================================
   Animations & Transitions
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  will-change: opacity, transform;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 960px) {
  .steps-layout,
  .dual-showcase-grid,
  .content-details-layout,
  .outlier-section,
  .faq-section {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }

  .docs-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .docs-sidebar {
    position: static;
    max-height: none;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 32px, 640px);
  }

  .site-header .nav {
    gap: 12px;
  }

  .nav-links {
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.08);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links > a:not(.button) {
    padding: 12px 4px;
    border-bottom: 1px solid var(--wash);
  }

  .nav-right .button {
    display: none;
  }

  .nav-links .button {
    margin-top: 14px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }

  .menu-toggle.is-open span:nth-of-type(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-of-type(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-of-type(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    padding: 44px 0 24px;
  }

  .hero-copy h1 {
    font-size: clamp(26px, 7vw, 38px);
    line-height: 1.16;
    letter-spacing: -0.025em;
  }

  .hero-text {
    font-size: 15px;
    line-height: 1.52;
  }

  .product-visual-stage {
    padding: 12px;
    border-radius: var(--radius);
  }

  .step {
    padding: 14px 16px;
  }

  .step.active {
    transform: none;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }

  input, select, textarea {
    font-size: 16px !important;
  }

  .research-table-wrap,
  .compare-table-wrap,
  .docs-table-wrap,
  .table-wrap {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(100% - 24px, 640px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }

  .hero-actions .button,
  .hero-actions .text-button {
    width: 100%;
    justify-content: center;
    text-align: center;
    min-height: 46px;
  }

  .score-row {
    grid-template-columns: 56px 1fr;
  }

  .score-row p {
    grid-column: 1 / -1;
    text-align: left;
  }

  .score-note {
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ==========================================================================
   Phase 5: Rank Kiwi Research Hub & Data Visualization System
   ========================================================================== */

/* Badges & Meta Tags */
.badge-source {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-analysis {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--kiwi-wash);
  color: var(--kiwi-dark);
  border: 1px solid var(--kiwi-border);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-firstparty {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--kiwi-dark);
  color: var(--kiwi-green);
  border: 1px solid var(--kiwi-dark);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Article Container & Breadcrumbs — Minimal Docs Style */
.article-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.article-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.article-breadcrumb a:hover {
  color: var(--kiwi-dark);
}

.article-breadcrumb .breadcrumb-sep {
  color: var(--line-strong);
  font-size: 11px;
}

.article-breadcrumb .current {
  color: var(--ink);
  font-weight: 600;
}

/* Article Header */
.article-header {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.article-tag-row {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.article-title {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 10px 0;
}

.article-lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 400;
  margin: 0 0 18px 0;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.article-author-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--kiwi-wash);
  border: 1px solid var(--kiwi-border);
  color: var(--kiwi-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 800;
  flex-shrink: 0;
}

.article-meta-details {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.article-meta-details span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Key Finding Box — Minimal, Docs-Callout Style */
.key-finding-box {
  background: #f8faf8;
  color: var(--ink);
  border: 1px solid var(--kiwi-border);
  border-left: 3px solid var(--kiwi-dark);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0 24px;
  position: relative;
  box-shadow: none;
}

.key-finding-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.key-finding-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--kiwi-dark);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--kiwi-wash);
  border: 1px solid var(--kiwi-border);
  padding: 3px 8px;
  border-radius: 999px;
}

.key-finding-label svg {
  color: var(--kiwi-dark);
  width: 13px;
  height: 13px;
}

.key-finding-text {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 10px 0;
}

.key-finding-subtext {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 10px;
}

/* Article Typography Scale — Clean & Docs-Like */
article p, .article-content p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-secondary);
  margin-bottom: 16px;
  font-weight: 400;
}

article ul, article ol, .article-content ul, .article-content ol {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-secondary);
  margin-bottom: 18px;
  padding-left: 22px;
}

article li, .article-content li {
  margin-bottom: 6px;
}

article h2, .article-content h2 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 32px;
  margin-bottom: 12px;
  line-height: 1.3;
}

article h3, .article-content h3 {
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 24px;
  margin-bottom: 8px;
  line-height: 1.35;
}

.article-section {
  margin-bottom: 28px;
}

/* Executive Summary Box */
.executive-summary-box {
  background: var(--wash);
  border: 1px solid var(--line);
  border-left: 3px solid var(--kiwi-dark);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
}

.executive-summary-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--kiwi-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.executive-summary-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

/* Calculation Box — Minimal & Clean */
.calc-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  min-width: 0;
  overflow: hidden;
}

.calc-box:hover {
  border-color: var(--kiwi-border);
  box-shadow: var(--shadow-sm);
}

.calc-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.calc-side-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  line-height: 1.4;
  word-break: break-word;
}

.calc-source-equation {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  font-weight: 700;
  color: var(--ink);
  word-break: break-word;
}

.calc-divider {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--wash);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.calc-result-number {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 2.8vw, 1.8rem);
  font-weight: 800;
  color: var(--kiwi-dark);
  letter-spacing: -0.03em;
  line-height: 1;
}

.calc-caption {
  grid-column: 1 / -1;
  font-size: 12.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 2px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

@media (max-width: 700px) {
  .calc-box {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }
  .calc-divider {
    transform: rotate(90deg);
    align-self: center;
    margin: 2px 0;
  }
}

/* Research Data Grid / Cards */
.research-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 12px;
  margin: 20px 0;
}

.research-meta-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  min-width: 0;
  overflow: hidden;
}

.research-meta-card:hover {
  transform: translateY(-1px);
  border-color: var(--kiwi-border);
  box-shadow: var(--shadow-sm);
}

.research-meta-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
  overflow-wrap: break-word;
}

.research-meta-value {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  font-family: var(--font-display), sans-serif;
  word-break: break-word;
  overflow-wrap: break-word;
}

.research-meta-detail {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 500;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Crawlable HTML Data Tables — Docs Style */
.research-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  margin: 20px 0;
  box-shadow: none;
}

.research-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.research-table th {
  background: var(--wash);
  padding: 10px 14px;
  font-weight: 750;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.research-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-secondary);
  font-size: 13px;
}

.research-table tr:last-child td {
  border-bottom: none;
}

.research-table tr:hover td {
  background: var(--kiwi-wash);
}

.research-table .num-cell {
  text-align: right;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-weight: 600;
}

.research-table caption {
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: var(--wash);
}

/* Visual Native SVG / Bar Charts */
.research-chart-container {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 20px 0;
  box-shadow: none;
}

.chart-header {
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.chart-title {
  font-size: 1.1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 4px 0;
}

.chart-subtitle {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
}

.chart-group {
  margin-bottom: 16px;
}

.chart-group:last-child {
  margin-bottom: 0;
}

.chart-group-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chart-bar-row {
  display: grid;
  grid-template-columns: 130px 1fr 70px;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.chart-bar-row:last-child {
  margin-bottom: 0;
}

.chart-bar-label {
  font-size: 12.5px;
  color: var(--ink-secondary);
  font-weight: 500;
}

.chart-bar-label.highlight {
  color: var(--kiwi-dark);
  font-weight: 750;
}

.chart-bar-track {
  background: var(--wash);
  border-radius: 4px;
  height: 18px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.chart-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: #94a3b8;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.chart-bar-fill.medium {
  background: #64748b;
}

.chart-bar-fill.highlight {
  background: var(--kiwi-dark);
}

.chart-bar-fill.highlight-accent {
  background: var(--green);
}

.chart-bar-value {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink);
  text-align: right;
}

.chart-bar-value.highlight {
  font-weight: 800;
  color: var(--kiwi-dark);
}

.chart-source-note {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .chart-bar-row {
    grid-template-columns: 105px 1fr 65px;
    gap: 10px;
  }
  .research-chart-container {
    padding: 16px;
  }
}

/* Takeaway Grid & Cards */
.takeaway-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 20px 0;
}

@media (max-width: 680px) {
  .takeaway-grid {
    grid-template-columns: 1fr;
  }
}

.takeaway-card {
  border-radius: var(--radius);
  padding: 18px 20px;
  position: relative;
}

.takeaway-card.positive {
  background: #f7fcf5;
  border: 1px solid var(--kiwi-border);
}

.takeaway-card.negative {
  background: #fdf8f8;
  border: 1px solid #fecaca;
}

.takeaway-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.takeaway-card.positive .takeaway-header {
  color: #166534;
}

.takeaway-card.negative .takeaway-header {
  color: #991b1b;
}

.takeaway-list {
  padding-left: 18px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
}

.takeaway-card.positive .takeaway-list {
  color: #14532d;
}

.takeaway-card.negative .takeaway-list {
  color: #7f1d1d;
}

.takeaway-list li {
  margin-bottom: 6px;
}

.takeaway-list li:last-child {
  margin-bottom: 0;
}

/* Article In-Content CTA Box — Minimal Light Card */
.article-cta-banner {
  background: linear-gradient(135deg, #ffffff 0%, var(--kiwi-wash) 100%);
  color: var(--ink);
  border: 1px solid var(--kiwi-border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.article-cta-banner .eyebrow {
  color: var(--kiwi-dark);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-cta-banner h2 {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 8px 0;
}

.article-cta-banner p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 620px;
  margin: 0 0 16px 0;
}

.article-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.article-cta-actions .button {
  background: var(--kiwi-dark);
  color: #ffffff;
  font-weight: 700;
  border: 1px solid var(--kiwi-dark);
  box-shadow: none;
  transition: all 0.18s ease;
}

.article-cta-actions .button:hover {
  background: #012808;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.article-cta-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.article-cta-link:hover {
  color: var(--kiwi-dark);
  text-decoration: underline;
}

/* Related Research Section */
.related-research-section {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 32px;
}

.related-research-section h3 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 14px 0;
}

.related-research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.related-research-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
}

.related-research-card:hover {
  border-color: var(--kiwi-border);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.related-research-tag {
  font-size: 10.5px;
  font-weight: 750;
  color: var(--kiwi-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.related-research-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 8px;
}

.related-research-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--kiwi-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}

.related-research-card:hover .related-research-link {
  color: var(--kiwi-dark);
}

/* Article Sources & Footnotes */
.article-sources {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 32px;
  font-size: 12px;
  color: var(--muted);
}

.article-sources h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 750;
  color: var(--muted);
  margin-bottom: 8px;
}

.article-sources ul {
  padding-left: 18px;
  margin: 0;
  line-height: 1.6;
}

.article-sources li {
  margin-bottom: 6px;
}

.article-sources a {
  color: var(--kiwi-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* Research Hub Index Cards - Minimal & Premium */
/* Research Hub Index Cards - Minimal, Symmetric & Premium */
.research-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.research-filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 4px;
  background: #f1f5f0;
  border: 1px solid var(--kiwi-border);
  border-radius: 999px;
  width: fit-content;
}

.research-filter-pill {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: var(--font-sans);
}

.research-filter-pill:hover {
  color: var(--kiwi-dark);
}

.research-filter-pill.active {
  background: var(--kiwi-dark);
  color: #ffffff;
  border-color: var(--kiwi-dark);
  box-shadow: 0 2px 8px rgba(1, 55, 11, 0.18);
}

.research-methodology-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--kiwi-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.15s;
}

.research-methodology-link:hover {
  color: #1e5a14;
}

.research-card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.research-index-card {
  display: flex;
  flex-direction: column;
  flex: 0 1 calc(33.333% - 16px);
  min-width: 310px;
  max-width: 370px;
  background: #ffffff;
  border: 1px solid #e1e9dd;
  border-radius: 16px;
  padding: 24px 22px 20px;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s ease;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(1, 55, 11, 0.02);
  box-sizing: border-box;
}

.research-index-card:hover {
  transform: translateY(-3px);
  border-color: var(--kiwi-dark);
  box-shadow: 0 12px 28px rgba(1, 55, 11, 0.07);
}

.research-index-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.research-card-title {
  font-size: 16.5px;
  font-weight: 750;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 10px 0;
  letter-spacing: -0.015em;
  min-height: 45px;
  display: flex;
  align-items: flex-start;
  transition: color 0.15s;
}

.research-index-card:hover .research-card-title {
  color: var(--kiwi-dark);
}

.research-card-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 18px 0;
  min-height: 64px;
}

/* Symmetric, Minimal Stat Metric Box */
.research-stat-highlight {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 18px;
  background: #fbfdf9;
  border: 1px solid #e2ebd9;
  border-radius: 12px;
  margin-top: auto;
  margin-bottom: 18px;
  height: 98px;
  min-height: 98px;
  box-sizing: border-box;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.research-index-card:hover .research-stat-highlight {
  background: #f2faea;
  border-color: rgba(1, 55, 11, 0.22);
}

.stat-number {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--kiwi-dark);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
}

.stat-prefix {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8em;
  font-weight: 750;
  color: var(--kiwi-dark);
  opacity: 0.85;
  margin-right: 1.5px;
}

.stat-unit {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.72em;
  font-weight: 750;
  color: var(--kiwi-dark);
  opacity: 0.85;
  margin-left: 2px;
  letter-spacing: 0;
  display: inline-block;
  transform: translateY(-0.04em);
}

.stat-desc {
  font-size: 12px;
  color: #52634e;
  line-height: 1.35;
  font-weight: 500;
  min-height: 32px;
  display: flex;
  align-items: center;
}

.research-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #edf2e8;
  padding-top: 14px;
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.research-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--kiwi-dark);
  transition: transform 0.15s ease;
}

.research-index-card:hover .research-card-arrow {
  transform: translateX(3px);
}

@media (max-width: 960px) {
  .research-index-card {
    flex: 0 1 calc(50% - 16px);
    max-width: 440px;
  }
}

@media (max-width: 640px) {
  .research-index-card {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
  }
}

/* Minimal Bottom Banner */
.research-footer-cta {
  text-align: center;
  padding: 48px 32px;
  margin-top: 56px;
  border: 1px solid var(--kiwi-border);
  border-radius: var(--radius-lg);
  background: var(--kiwi-wash);
  box-shadow: var(--shadow-sm);
}

.research-footer-cta h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 10px 0;
}

.research-footer-cta p {
  color: var(--muted);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto 22px auto;
  line-height: 1.55;
}

.research-footer-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.research-footer-cta small {
  display: block;
  margin-top: 14px;
  color: var(--caption);
  font-size: 12px;
  font-weight: 500;
}

/* Flywheel component */
.flywheel-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0;
}

.flywheel-step {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.flywheel-step.active {
  background: var(--kiwi-dark);
  color: var(--kiwi-green);
  border-color: var(--kiwi-dark);
}

.flywheel-arrow {
  color: var(--muted);
  font-weight: 700;
  font-size: 16px;
}

/* ==========================================================================
   Phase 6: Rank Kiwi Comparison & Competitive Positioning System
   ========================================================================== */

.compare-disclosure {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8faf6;
  border: 1px solid var(--kiwi-border);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 12.5px;
  color: #374151;
  margin: 20px 0 28px 0;
  line-height: 1.5;
}

.quick-answer-card {
  background: #fcfdfb;
  border: 1px solid #d2f2b2;
  border-left: 4px solid var(--kiwi-dark);
  border-radius: 14px;
  padding: 22px 26px;
  margin: 24px 0 32px 0;
  box-shadow: 0 6px 20px rgba(1, 55, 11, 0.04);
}

.quick-answer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kiwi-dark);
  background: var(--kiwi-wash);
  border: 1px solid var(--kiwi-border);
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.best-for-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0;
}

.best-for-col {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}

.best-for-col.kiwi {
  background: #f7faf5;
  border: 1px solid #d2f2b2;
  border-left: 4px solid var(--kiwi-dark);
}

.best-for-col.competitor {
  border-left: 4px solid #64748b;
}

.best-for-header {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.good-at-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}

.good-at-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
}

.good-at-card.kiwi {
  border-top: 4px solid var(--kiwi-dark);
}

.good-at-card.competitor {
  border-top: 4px solid var(--line-strong);
}

.compare-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.compare-table caption {
  padding: 12px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  color: #64748b;
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}

.compare-table th {
  background: var(--wash);
  padding: 14px 18px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--line-strong);
  white-space: nowrap;
}

.compare-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-secondary);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table tr:hover td {
  background: #fafdf7;
}

.compare-table .val-kiwi {
  color: var(--kiwi-dark);
  font-weight: 700;
}

.compare-table .val-competitor {
  color: var(--ink);
}

.decision-matrix-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 24px;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}

.decision-row {
  display: grid;
  grid-template-columns: 1fr 140px;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.decision-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.decision-pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.decision-pill.kiwi {
  background: var(--kiwi-dark);
  color: #ffffff;
}

.decision-pill.competitor {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.verdict-box {
  background: linear-gradient(180deg, #ffffff 0%, var(--kiwi-wash) 100%);
  border: 1px solid var(--kiwi-border);
  border-radius: var(--radius);
  padding: 30px;
  margin: 36px 0;
}

@media (max-width: 768px) {
  .best-for-grid,
  .good-at-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .decision-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ==========================================================================
   Phase 7: Alternatives System Styles
   ========================================================================== */

.alt-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 28px 0 40px 0;
}

.alt-category-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.alt-category-card:hover {
  transform: translateY(-2px);
  border-color: var(--kiwi-border);
  box-shadow: var(--shadow-sm);
}

.alt-directory-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 32px 0 48px 0;
}

.alt-directory-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease;
}

.alt-directory-card:hover {
  border-color: var(--kiwi-dark);
}

.alt-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 32px 0;
}

.alt-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.alt-card.highlight {
  border: 2px solid var(--kiwi-green);
  background: #fcfdfa;
}

.alt-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.alt-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--wash);
  color: #475569;
  border: 1px solid var(--line);
}

.alt-tag.kiwi {
  background: var(--kiwi-wash);
  color: var(--kiwi-dark);
  border-color: var(--kiwi-border);
}

.alt-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  background: var(--wash);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 16px 0;
  font-size: 13px;
}

.why-alt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 24px 0 36px 0;
}

.why-alt-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}

.why-alt-card h3 {
  font-size: 15.5px;
  margin-bottom: 8px;
  color: var(--ink);
}

.fit-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}

.fit-box {
  background: var(--kiwi-wash);
  border: 1px solid var(--kiwi-border);
  border-top: 4px solid var(--kiwi-dark);
  border-radius: var(--radius-sm);
  padding: 24px 26px;
}

.not-fit-box {
  background: var(--color-error-bg);
  border: 1px solid var(--color-error-border);
  border-top: 4px solid var(--color-error);
  border-radius: var(--radius-sm);
  padding: 24px 26px;
}

.methodology-card {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 36px 0;
}

@media (max-width: 768px) {
  .fit-split-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ==========================================================================
   PHASE 8: BEST-OF EDITORIAL & PRODUCT RESEARCH STYLES
   ========================================================================== */

.best-taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.best-taxonomy-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.best-taxonomy-card:hover {
  border-color: var(--kiwi-dark);
  box-shadow: 0 4px 14px rgba(1, 55, 11, 0.08);
  transform: translateY(-2px);
}

.best-taxonomy-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin: 10px 0 4px 0;
  color: var(--ink);
}

.best-taxonomy-card .taxonomy-role {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--kiwi-dark);
  margin-bottom: 8px;
}

.best-taxonomy-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

.best-taxonomy-examples {
  font-size: 12px;
  color: var(--caption);
  border-top: 1px solid var(--wash);
  padding-top: 12px;
  margin-top: auto;
  line-height: 1.45;
}

.best-taxonomy-examples strong {
  color: var(--ink);
}

.best-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin: 28px 0 48px 0;
}

.best-category-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.best-category-card:hover {
  border-color: var(--kiwi-dark);
  box-shadow: 0 8px 24px rgba(1, 55, 11, 0.08);
  transform: translateY(-2px);
}

.best-category-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--ink);
}

.best-category-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.best-guide-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--wash);
  padding-top: 14px;
}

.best-guide-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.best-guide-links a:hover {
  color: var(--kiwi-dark);
  background: var(--kiwi-wash);
  transform: translateX(2px);
}

.best-guide-links a::after {
  content: "→";
  font-size: 14px;
  color: var(--kiwi-dark);
  opacity: 0.8;
  transition: transform 0.15s ease;
}

.best-guide-links a:hover::after {
  transform: translateX(2px);
}

.best-guides-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.best-guide-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.best-guide-card:hover {
  border-color: var(--kiwi-dark);
  box-shadow: 0 6px 22px rgba(1, 55, 11, 0.08);
  transform: translateY(-2px);
}

.best-guide-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.best-guide-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.best-guide-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--wash);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.best-guide-title {
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}

.best-guide-title a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease;
}

.best-guide-title a:hover {
  color: var(--kiwi-dark);
}

.best-guide-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

.best-guide-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--wash);
  align-items: center;
}

.best-guide-pick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--wash);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--ink-secondary);
  line-height: 1.4;
}

.best-guide-pick strong {
  color: var(--ink);
}

.pick-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.pick-badge.winner {
  background: var(--kiwi-wash);
  color: var(--kiwi-dark);
  border: 1px solid var(--kiwi-border);
}

.pick-badge.specialist {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.pick-badge.neutral {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.methodology-grid-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.methodology-grid-card:hover {
  border-color: var(--kiwi-dark);
  transform: translateY(-1px);
}

.methodology-step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--kiwi-dark);
  background: var(--kiwi-wash);
  border: 1px solid var(--kiwi-border);
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.methodology-grid-card h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px 0;
}

.methodology-grid-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .best-guide-card {
    padding: 20px 18px;
  }
  .best-taxonomy-card {
    padding: 18px 18px;
  }
  .best-category-card {
    padding: 20px 18px;
  }
}

.quick-summary-box {
  background: #fbfdf9;
  border: 1px solid var(--kiwi-border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 28px 0 40px 0;
  box-shadow: var(--shadow-sm);
}

.quick-summary-box h2 {
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--ink);
}

.tool-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 36px 0;
}

.tool-breakdown-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.tool-breakdown-card.featured {
  border: 1px solid var(--kiwi-border);
  background: var(--kiwi-wash);
}

.tool-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--wash);
  padding-bottom: 14px;
}

.tool-title-wrap h3 {
  font-size: var(--font-size-h3);
  font-weight: 700;
  margin: 0 0 4px 0;
  color: var(--ink);
}

.best-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.best-badge.primary {
  background: var(--kiwi-wash);
  color: var(--kiwi-dark);
  border: 1px solid var(--kiwi-border);
}

.best-badge.secondary {
  background: var(--wash);
  color: #334155;
  border: 1px solid var(--line);
}

.tool-meta-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  background: var(--wash);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  margin: 16px 0 20px 0;
  font-size: 13px;
}

.tool-verdict-box {
  background: #f8fafc;
  border-left: 3px solid var(--kiwi-dark);
  padding: 14px 18px;
  margin-top: 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink);
}

.editorial-author-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 24px 0 36px 0;
  font-size: 13px;
}

.editorial-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--kiwi-green);
  color: var(--kiwi-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}

.editorial-author-info strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 2px;
}

.editorial-author-info span {
  color: var(--muted);
}

.free-paid-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 24px 0 36px 0;
}

.free-paid-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}

.free-paid-card h4 {
  font-size: 15px;
  margin-top: 0;
  margin-bottom: 6px;
  color: var(--ink);
}

@media (max-width: 768px) {
  .tool-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .tool-meta-bar {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ==========================================================================
   Brand Cookie & Privacy Consent Banner (Microsoft Clarity & Google Analytics)
   Solid light green on-brand aesthetic
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: min(calc(100% - 32px), 460px);
  background-color: #eafbe9;
  border: 1px solid #b7f1bf;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px -4px rgba(1, 55, 11, 0.16), 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 16px 18px;
  z-index: 99999;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #01370b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cookie-banner-badge svg {
  width: 14px;
  height: 14px;
  color: #01370b;
  flex-shrink: 0;
}

.cookie-banner-body {
  font-size: 13px;
  line-height: 1.5;
  color: #164220;
  margin: 0;
}

.cookie-banner-body a {
  color: #01370b;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-body a:hover {
  color: #084a14;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

.cookie-btn-decline {
  background: transparent;
  border: 1px solid rgba(1, 55, 11, 0.25);
  color: #01370b;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  min-height: 34px;
}

.cookie-btn-decline:hover {
  background: rgba(1, 55, 11, 0.08);
  border-color: rgba(1, 55, 11, 0.4);
}

.cookie-btn-accept {
  background: #01370b;
  border: 1px solid #01370b;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(1, 55, 11, 0.2);
  transition: background 0.15s ease, transform 0.15s ease;
  min-height: 34px;
}

.cookie-btn-accept:hover {
  background: #084a14;
  border-color: #084a14;
}

@media (max-width: 600px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    padding: 14px 16px;
  }
  
  .cookie-banner-actions {
    width: 100%;
    justify-content: stretch;
  }
  
  .cookie-btn-decline,
  .cookie-btn-accept {
    flex: 1;
    text-align: center;
  }
}

/* ==========================================================================
   Pillar Landing Pages System (Instagram, YouTube, Outlier Score, Creator Research)
   Premium SaaS aesthetic with interactive visual cards and symmetric feature grids
   ========================================================================== */
.pillar-hero {
  padding: 56px 0 48px;
}

.pillar-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.pillar-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pillar-hero-content h1 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.22;
  color: var(--ink);
  margin: 14px 0 20px;
}

.pillar-hero-content .hero-lead {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 600px;
}

.pillar-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.pillar-trust-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: #64748b;
  flex-wrap: wrap;
}

.pillar-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.pillar-trust-item svg {
  width: 14px;
  height: 14px;
  color: #166534;
  flex-shrink: 0;
}

/* Hero Visual Stage & Mockup Cards */
.pillar-visual-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 16px 36px -10px rgba(1, 55, 11, 0.12), 0 2px 10px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  position: relative;
}

.pillar-visual-dark {
  background: #01370b;
  color: #ffffff;
  border-color: rgba(203, 249, 144, 0.3);
  box-shadow: 0 20px 42px -12px rgba(1, 55, 11, 0.28), 0 4px 14px rgba(0, 0, 0, 0.08);
}

.pvc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pillar-visual-dark .pvc-header {
  background: rgba(255, 255, 255, 0.05);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pvc-dots {
  display: flex;
  gap: 6px;
}

.pvc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
}

.pvc-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--kiwi-dark);
}

.pillar-visual-dark .pvc-tag {
  background: rgba(203, 249, 144, 0.15);
  color: #cbf990;
  border: 1px solid rgba(203, 249, 144, 0.3);
}

.pvc-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Outlier Score Simulator Card */
.score-sim-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 8px;
  background: #f8faf6;
  border: 1px solid #e3e8e0;
  gap: 12px;
}

.pillar-visual-dark .score-sim-row {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.score-sim-row.highlight {
  background: #f2faea;
  border-color: #d2f2b2;
}

.pillar-visual-dark .score-sim-row.highlight {
  background: rgba(203, 249, 144, 0.12);
  border-color: rgba(203, 249, 144, 0.35);
}

.sim-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sim-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pillar-visual-dark .sim-title {
  color: #ffffff;
}

.sim-views {
  font-size: 11.5px;
  color: #64748b;
}

.pillar-visual-dark .sim-views {
  color: #a4cca6;
}

.sim-badge {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-mono), monospace;
  white-space: nowrap;
}

.sim-badge.typical {
  background: #e2e8f0;
  color: #334155;
}

.sim-badge.strong {
  background: #dcfce7;
  color: #166534;
}

.sim-badge.viral {
  background: #cbf990;
  color: #01370b;
  box-shadow: 0 2px 6px rgba(203, 249, 144, 0.4);
}

/* Mini Mock Grid for Reels/Videos */
.mini-mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mini-mock-tile {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.mini-mock-thumb {
  height: 80px;
  background: #e2e8f0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-mock-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-mock-score {
  position: absolute;
  top: 5px;
  left: 5px;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: #01370b;
  color: #cbf990;
}

.mini-mock-meta {
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-mock-views {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

.mini-mock-label {
  font-size: 9.5px;
  color: #64748b;
  text-transform: uppercase;
}

/* Section Rhythm for Pillar Pages */
.pillar-section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.pillar-section-header {
  margin-bottom: 28px;
  max-width: 720px;
}

.pillar-section-header h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.pillar-section-header p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* Feature & Comparison Cards */
.pillar-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}

.pillar-card:hover {
  transform: translateY(-2px);
  border-color: rgba(1, 55, 11, 0.25);
  box-shadow: 0 8px 24px rgba(1, 55, 11, 0.06);
}

.pillar-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--kiwi-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.pillar-card-icon svg {
  width: 20px;
  height: 20px;
}

.pillar-card h3 {
  font-size: 15px;
  font-weight: 750;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}

.pillar-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* Answer First Callout */
.pillar-answer-box {
  background: #fcfdfb;
  border: 1px solid #d2f2b2;
  border-left: 4px solid var(--kiwi-dark);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(1, 55, 11, 0.04);
}

.pillar-answer-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--kiwi-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.pillar-answer-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

@media (max-width: 900px) {
  .pillar-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .pillar-hero {
    padding: 36px 0 36px;
  }
  .pillar-hero-content h1 {
    font-size: clamp(24px, 6.5vw, 30px);
    word-break: break-word;
  }
  .pillar-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }
  .pillar-hero-actions .button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .pvc-body {
    padding: 14px 12px;
  }
  .score-sim-row {
    padding: 8px 10px;
  }
  .sim-title {
    font-size: 12px;
  }
  .sim-badge {
    font-size: 11px;
    padding: 3px 8px;
  }
  .pillar-card {
    padding: 18px 16px;
  }
  .pillar-contrast-card {
    padding: 20px 16px;
  }
  .pillar-answer-box {
    padding: 16px;
  }
}

/* Pillar Workflow Steps */
.pillar-workflow {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pillar-workflow-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: #ffffff;
  padding: 30px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

@media (max-width: 820px) {
  .pillar-workflow-step {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }
}

.pillar-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-soft);
  color: var(--kiwi-dark);
  font-weight: 750;
  font-size: 11.5px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.pillar-workflow-step h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
}

.pillar-workflow-step p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 14px;
}

.pillar-workflow-step ul {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  padding-left: 20px;
  margin: 0 0 14px;
}

/* Pillar Contrast Comparison Grid */
.pillar-contrast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}

.pillar-contrast-card {
  padding: 28px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.pillar-contrast-card.broken {
  background: #fffbfa;
  border: 1px solid #fed7aa;
}

.pillar-contrast-card.rankkiwi {
  background: #fbfef7;
  border: 1px solid #bbf7d0;
  box-shadow: 0 4px 16px rgba(1, 55, 11, 0.04);
}

.pillar-contrast-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}

.pillar-contrast-card .contrast-flow {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.pillar-contrast-card .contrast-result {
  font-size: 13px;
  font-weight: 700;
  margin-top: auto;
  padding-top: 10px;
}

.pillar-contrast-card.broken .contrast-result {
  color: #c2410c;
}

.pillar-contrast-card.rankkiwi .contrast-result {
  color: var(--kiwi-dark);
}

/* Pillar FAQ Grid */
.pillar-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 16px;
}

.pillar-faq-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.pillar-faq-card h3 {
  font-size: 15px;
  font-weight: 750;
  color: var(--ink);
  margin: 0;
  line-height: 1.35;
}

.pillar-faq-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* ==========================================================================
   Content Page System — Docs-Like Minimal Aesthetic
   Applied via .content-page on <main> to unify all hub/pillar/article pages
   with the minimal spacing, smooth colors, and tight typography of /docs/
   ========================================================================== */

/* Page-Level Wrapper */
.content-page {
  padding: 36px 0 72px;
}

/* Content Page Header — mirrors docs-header-bar */
.content-page-header {
  padding: 20px 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.content-page-header .eyebrow {
  margin-bottom: 8px;
}

.content-page-header h1 {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 10px;
  max-width: 780px;
}

.content-page-header .content-lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 680px;
}

.content-page-header .content-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* Content Section — subtle border-top dividers like docs-article */
.content-section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.content-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.content-section-header {
  margin-bottom: 20px;
  max-width: 720px;
}

.content-section-header .eyebrow {
  margin-bottom: 4px;
}

.content-section-header h2 {
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.content-section-header p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* Content Card Grid — uniform, docs-like cards */
.content-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.content-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
}

.content-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.content-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--kiwi-wash);
  border: 1px solid var(--kiwi-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kiwi-dark);
  margin-bottom: 12px;
}

.content-card-icon svg {
  width: 18px;
  height: 18px;
}

.content-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 5px;
  color: var(--ink);
  line-height: 1.35;
}

.content-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 12px;
  flex-grow: 1;
}

.content-card-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-top: 1px solid var(--wash);
  padding-top: 10px;
}

.content-card-links a {
  font-size: 12.5px;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.15s;
}

.content-card-links a:hover {
  color: var(--green);
}

.content-card-links a::after {
  content: "→";
  font-size: 13px;
  opacity: 0.7;
}

/* Disclosure Banner — tighter, docs-callout style */
.content-disclosure {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 9px;
  background: var(--wash);
  border-left: 3px solid var(--green);
  margin: 16px 0 24px;
  font-size: 12.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
}

.content-disclosure svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--kiwi-dark);
}

/* Taxonomy/Category Compact Cards */
.content-taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin: 20px 0 28px;
}

.content-taxonomy-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.content-taxonomy-card:hover {
  transform: translateY(-1px);
  border-color: var(--kiwi-border);
}

.content-taxonomy-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
}

.content-taxonomy-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Comparison Table (docs-table style) */
.content-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
}

.content-page .compare-table {
  font-size: 13px;
}

.content-page .compare-table th {
  padding: 10px 14px;
  font-size: 12.5px;
}

.content-page .compare-table td {
  padding: 10px 14px;
  font-size: 13px;
}

/* Quick Answer — docs-callout influenced */
.content-answer-box {
  background: var(--wash);
  border: 1px solid var(--kiwi-border);
  border-left: 3px solid var(--kiwi-dark);
  border-radius: 9px;
  padding: 16px 20px;
  margin: 16px 0 24px;
}

.content-answer-box .content-answer-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kiwi-dark);
  margin-bottom: 8px;
}

.content-answer-box p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

/* Directory Card — used for tool listings */
.content-directory-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: border-color 0.15s;
}

.content-directory-card:hover {
  border-color: var(--kiwi-dark);
}

.content-directory-card.highlight {
  border: 2px solid var(--kiwi-green);
  background: #fcfdfa;
}

/* Footer CTA — refined */
.content-footer-cta {
  text-align: center;
  padding: 36px 24px;
  margin-top: 40px;
  border: 1px solid var(--kiwi-border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff 0%, var(--kiwi-wash) 100%);
}

.content-footer-cta h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 8px;
}

.content-footer-cta p {
  color: var(--muted);
  font-size: 14px;
  max-width: 520px;
  margin: 0 auto 18px;
  line-height: 1.55;
}

/* Research Card Grid — docs-like uniform sizing */
.content-page .research-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.content-page .research-index-card {
  flex: unset;
  min-width: 0;
  max-width: 100%;
  border-radius: var(--radius);
  padding: 20px;
  border-color: var(--line);
  box-shadow: none;
}

.content-page .research-index-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--line-strong);
}

.content-page .research-card-title {
  font-size: 15.5px;
  font-weight: 700;
  min-height: 0;
}

.content-page .research-card-desc {
  font-size: 13px;
  min-height: 0;
}

.content-page .research-stat-highlight {
  padding: 12px 14px;
  border-radius: 9px;
  height: auto;
  min-height: 0;
  background: var(--wash);
  border-color: var(--line);
}

.content-page .stat-number {
  font-size: 1.75rem;
}

.content-page .stat-desc {
  font-size: 11.5px;
  min-height: 0;
}

.content-page .research-card-footer {
  padding-top: 12px;
  font-size: 11.5px;
}

/* Pillar Hero — minimal docs-like header with breathing room */
.content-page .pillar-hero {
  padding: 32px 0 24px;
}

.content-page .pillar-hero-grid {
  grid-template-columns: 1fr;
  gap: 24px;
}

.content-page .pillar-hero-content h1 {
  font-size: clamp(24px, 2.8vw, 34px);
  margin: 10px 0 14px;
}

.content-page .pillar-hero-content .hero-lead {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 22px;
  color: var(--muted);
}

/* Pillar Sections — tighter rhythm */
.content-page .pillar-section {
  padding: 28px 0;
}

.content-page .pillar-section-header {
  margin-bottom: 20px;
}

.content-page .pillar-section-header h2 {
  font-size: clamp(18px, 2vw, 23px);
}

.content-page .pillar-section-header p {
  font-size: 14px;
}

/* Pillar Cards — lighter */
.content-page .pillar-card {
  padding: 18px;
  border-radius: var(--radius);
  box-shadow: none;
  border-color: var(--line);
  gap: 8px;
}

.content-page .pillar-card:hover {
  box-shadow: var(--shadow-sm);
}

.content-page .pillar-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  margin-bottom: 2px;
}

.content-page .pillar-card-icon svg {
  width: 18px;
  height: 18px;
}

.content-page .pillar-card h3 {
  font-size: 14.5px;
}

.content-page .pillar-card p {
  font-size: 13px;
}

/* Workflow Steps — tighter */
.content-page .pillar-workflow-step {
  padding: 22px;
  border-radius: var(--radius);
  gap: 24px;
}

.content-page .pillar-workflow-step h3 {
  font-size: 17px;
}

.content-page .pillar-workflow-step p {
  font-size: 13.5px;
}

/* FAQ Grid — lighter */
.content-page .pillar-faq-grid {
  gap: 14px;
}

.content-page .pillar-faq-card {
  padding: 18px;
  box-shadow: none;
  border-color: var(--line);
}

.content-page .pillar-faq-card h3 {
  font-size: 14px;
}

.content-page .pillar-faq-card p {
  font-size: 13px;
}

/* Contrast Cards */
.content-page .pillar-contrast-card {
  padding: 22px;
  border-radius: var(--radius);
}

/* Answer Box */
.content-page .pillar-answer-box {
  padding: 16px 20px;
  border-radius: 9px;
  margin-bottom: 28px;
}

.content-page .pillar-answer-title {
  font-size: 13.5px;
}

.content-page .pillar-answer-text {
  font-size: 13.5px;
}

/* Alt cards in content page */
.content-page .alt-category-grid {
  gap: 14px;
  margin: 20px 0 28px;
}

.content-page .alt-category-card {
  padding: 18px;
}

.content-page .alt-directory-card {
  padding: 20px 22px;
}

.content-page .alt-card {
  padding: 20px 22px;
}

/* Compare cards in content page */
.content-page .compare-disclosure {
  padding: 10px 14px;
  font-size: 12px;
  margin: 12px 0 20px;
}

/* Best taxonomy in content page */
.content-page .best-taxonomy-grid {
  gap: 14px;
}

.content-page .best-taxonomy-card {
  padding: 18px 20px;
}

/* Research Filter */
.content-page .research-filter-bar {
  gap: 6px;
}

.content-page .research-filter-pill {
  font-size: 12.5px;
  padding: 6px 14px;
}

/* Support Page (content-page context) */
.content-page.support-page {
  padding: 36px 0 72px;
}

.content-page .support-box {
  padding: 20px 22px;
}

.content-page .support-social-grid {
  gap: 12px;
}

/* Visual Card in pillar hero — hidden in content-page for minimal header */
.content-page .pillar-visual-card {
  display: none;
}

/* Trust Strip */
.content-page .pillar-trust-strip {
  font-size: 12px;
  gap: 12px;
}

/* ==========================================================================
   Content Page System — Mobile Responsiveness
   ========================================================================== */

@media (max-width: 768px) {
  .content-page {
    padding: 24px 0 56px;
  }

  .content-page-header {
    padding: 16px 0 22px;
    margin-bottom: 24px;
  }

  .content-page-header h1 {
    font-size: clamp(22px, 6vw, 28px);
    word-break: break-word;
  }

  .content-page-header .content-lead {
    font-size: 14px;
  }

  .content-page-header .content-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .content-page-header .content-actions .button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .content-section {
    padding: 24px 0;
  }

  .content-section-header h2 {
    font-size: clamp(17px, 4.5vw, 21px);
  }

  .content-card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .content-card {
    padding: 16px;
  }

  .content-taxonomy-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .content-taxonomy-card {
    padding: 14px 16px;
  }

  .content-disclosure {
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
  }

  .content-footer-cta {
    padding: 28px 16px;
  }

  .content-footer-cta h2 {
    font-size: clamp(18px, 5vw, 22px);
  }

  .content-page .research-card-grid {
    grid-template-columns: 1fr;
  }

  .content-page .research-index-card {
    padding: 16px;
  }

  .content-page .pillar-hero-content h1 {
    font-size: clamp(22px, 6vw, 28px);
    word-break: break-word;
  }

  .content-page .pillar-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }

  .content-page .pillar-hero-actions .button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .content-page .pillar-card {
    padding: 14px;
  }

  .content-page .pillar-workflow-step {
    padding: 16px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .content-page .pillar-faq-card {
    padding: 14px;
  }

  .content-page .pillar-contrast-card {
    padding: 16px;
  }

  .content-page .pillar-answer-box {
    padding: 14px 16px;
  }

  .content-page .alt-category-grid {
    grid-template-columns: 1fr;
  }

  .content-page .alt-category-card {
    padding: 14px 16px;
  }

  .content-page .alt-directory-card,
  .content-page .alt-card {
    padding: 16px;
  }

  .content-table-wrap {
    margin: 12px -16px;
    padding: 0 16px;
    border-radius: 0;
  }
}

@media (max-width: 480px) {
  .content-page-header h1 {
    font-size: clamp(20px, 5.5vw, 24px);
  }

  .content-page .pillar-hero-content h1 {
    font-size: clamp(20px, 5.5vw, 24px);
  }

  .content-page .stat-number {
    font-size: 1.5rem;
  }

  .content-card h3 {
    font-size: 14px;
  }
}






