@import url('./design-system.css');

/* ==========================================================================
   CRASH TEST AI — Mobile-First CSS
   Architecture: base → 768px (tablet) → 1024px (desktop) → 1440px (large)
   ========================================================================== */

/* ===== 1. CSS VARIABLES ===== */
:root {
  --yellow: var(--ctai-yellow);
  --yellow-hover: color-mix(in srgb, var(--ctai-yellow) 80%, black);
  --yellow-glow: rgba(var(--ctai-yellow-rgb), 0.08);
  --yellow-glow-hover: rgba(var(--ctai-yellow-rgb), 0.15);
  --transition: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

:root {
  --bg-primary: var(--ctai-black);
  --bg-secondary: #1A1A1A;
  --bg-card: #1E1E1E;
  --bg-card-hover: #262626;
  --bg-elevated: #242424;
  --bg-deep: #111111;
  --bg-card-blue: rgba(20, 20, 20, 0.7);
  --bg-card-blue-border: rgba(60, 60, 60, 0.35);
  --text-primary: var(--ctai-white);
  --text-secondary: #B0B0B0;
  --text-muted: #777777;
  --border-color: #333333;
  --border-subtle: #2A2A2A;
  --stripe-color: rgba(var(--ctai-yellow-rgb),0.04);
  --stripe-color-hero: rgba(var(--ctai-yellow-rgb),0.06);
  --overlay: rgba(0,0,0,0.7);
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 30px rgba(var(--ctai-yellow-rgb),0.06);
  --nav-bg: rgba(13,13,13,0.95);
  --badge-bg: rgba(var(--ctai-yellow-rgb),0.12);
  --badge-border: rgba(var(--ctai-yellow-rgb),0.3);
  --framework-bg: #141414;
  --cta-section-bg: var(--ctai-black);
  --icon-bg: rgba(var(--ctai-yellow-rgb),0.1);
  --input-bg: #1A1A2E;
  --input-border: #2A2A3E;
  --community-gradient: linear-gradient(180deg, #0D0D0D 0%, #0A0A18 50%, #0D0D0D 100%);
  --consume-card-bg: #1a1a1a;
  --episode-bg: rgba(30, 30, 30, 0.6);
  --episode-border: rgba(60, 60, 60, 0.3);
  --podcast-thumb-bg: linear-gradient(135deg, rgba(var(--ctai-yellow-rgb),0.15), rgba(var(--ctai-yellow-rgb),0.05));
}

/* ===== 2. RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

a { text-decoration: none; color: inherit; }
button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  min-height: 44px;
}
img { max-width: 100%; display: block; }

/* ===== 3. DIAGONAL STRIPES ===== */
.stripe-bg { position: relative; }
.stripe-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 18px, var(--stripe-color) 18px, var(--stripe-color) 20px);
  pointer-events: none;
  z-index: 0;
}
.stripe-bg > * { position: relative; z-index: 1; }

/* ===== 4. CONTAINER + SECTION SPACING ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .container { padding: 0 24px; }
}

.section { padding: 48px 0; }
@media (min-width: 768px) {
  .section { padding: 70px 0; }
}
@media (min-width: 1024px) {
  .section { padding: 100px 0; }
}

/* ===== 5. TYPOGRAPHY SCALE ===== */
.line-accent { color: var(--yellow); }

/* ===== 6. NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
@media (max-width: 767px) {
  .nav .nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media (min-width: 768px) {
  .nav-inner { padding: 0 24px; }
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  background: var(--yellow);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #000;
  font-weight: 800;
}

/* Mobile base: hide nav links and actions, show hamburger */
.nav-links { display: none; }
.nav-actions { display: none; }

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .mobile-toggle { display: none !important; }
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--yellow); }

/* ===== 7. MOBILE MENU ===== */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  min-height: 44px;
  min-width: 44px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 16px 20px 20px;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  transition: color 0.2s;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.mobile-menu a:hover { color: var(--yellow); }
.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.mobile-menu-actions .btn-outline,
.mobile-menu-actions .btn-primary {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ===== 8. BUTTONS ===== */
.btn-outline {
  padding: 8px 20px;
  border: 1px solid var(--border-color);
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  background: transparent;
  transition: all var(--transition);
  min-height: 44px;
}
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }

.btn-primary {
  padding: 8px 20px;
  background: rgba(var(--ctai-yellow-rgb),0.1);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.3);
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(var(--ctai-yellow-rgb),0.85);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary:hover {
  background: rgba(var(--ctai-yellow-rgb),0.18);
  border-color: rgba(var(--ctai-yellow-rgb),0.6);
  color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--ctai-yellow-rgb),0.12);
}

.btn-hero-primary {
  padding: 14px 28px;
  background: rgba(var(--ctai-yellow-rgb),0.1);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.3);
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(var(--ctai-yellow-rgb),0.85);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  min-height: 48px;
  width: auto;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-hero-primary:hover { background: rgba(var(--ctai-yellow-rgb),0.18); border-color: rgba(var(--ctai-yellow-rgb),0.5); color: var(--yellow); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(var(--ctai-yellow-rgb),0.1); }
.btn-hero-primary .arrow { display: inline-block; transition: transform var(--transition); }
.btn-hero-primary:hover .arrow { transform: translateX(3px); }

.btn-hero-secondary {
  padding: 14px 28px;
  border: 1px solid var(--border-color);
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  background: transparent;
  transition: all var(--transition);
  min-height: 48px;
  width: auto;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-hero-secondary:hover { border-color: var(--yellow); color: var(--yellow); }

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(var(--ctai-yellow-rgb),0.1);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.3);
  color: rgba(var(--ctai-yellow-rgb),0.85);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  min-height: 48px;
  width: 100%;
}
.btn-cta:hover {
  background: rgba(var(--ctai-yellow-rgb),0.18);
  border-color: rgba(var(--ctai-yellow-rgb),0.6);
  color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--ctai-yellow-rgb),0.12);
}
.btn-cta .arrow {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}
.btn-cta:hover .arrow { transform: translateX(4px); }

@media (min-width: 768px) {
  .btn-cta { width: auto; }
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 32px;
  border: 1px solid var(--border-color);
  border-radius: 0;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
  min-height: 48px;
  width: 100%;
  text-align: center;
}
.btn-cta-secondary:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
@media (min-width: 768px) {
  .btn-cta-secondary { width: auto; }
}

.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid var(--yellow);
  border-radius: 0;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-secondary:hover {
  background: rgba(var(--ctai-yellow-rgb),0.1);
  transform: translateY(-2px);
}

/* ===== 9. HERO SECTION ===== */
.hazard-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0px,
    var(--yellow) 5px,
    #111111    5px,
    #111111    18px
  );
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  opacity: 0.85;
  z-index: 2;
}

/* Mobile base */
.hero {
  width: 100%;
  margin-top: 64px;
  padding: 80px 16px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 22px, rgba(var(--ctai-yellow-rgb),0.06) 22px, rgba(var(--ctai-yellow-rgb),0.06) 24px);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  left: -5%;
  width: 55%;
  height: 80%;
  background: radial-gradient(ellipse at 30% 50%, rgba(var(--ctai-yellow-rgb),0.06) 0%, transparent 65%);
  pointer-events: none;
}

/* Mobile: single column, mascot hidden */
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  z-index: 1;
}
.hero-content {
  flex: 1 1 100%;
  min-width: 0;
  position: relative;
  z-index: 2;
}
.hero-mascot { display: none; }
.hero-mascot::before { display: none; }

@media (min-width: 768px) {
  .hero { padding: 110px 24px 70px; }
}
@media (min-width: 1024px) {
  .hero { padding: 110px 24px 120px; }
  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }
  .hero-content {
    flex: 1 1 55%;
  }
  .hero-mascot {
    display: flex;
    flex: 0 0 42%;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    align-self: flex-end;
    margin-bottom: 50px;
  }
  .hero-mascot::after {
    content: '';
    position: absolute;
    bottom: 96px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse at center 60%, rgba(var(--ctai-yellow-rgb),0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
  }
}

.hero-mascot-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: 64px;
  padding-left: 32px;
}
.hero-mascot-img {
  width: 100%;
  max-width: 500px;
  display: block;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,0.4));
}

/* Mascot status label */
.mascot-status {
  width: 100%;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(var(--ctai-yellow-rgb),0.25);
}
.mascot-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--yellow);
  box-shadow: 0 0 6px 2px rgba(var(--ctai-yellow-rgb),0.6);
  animation: dot-beam 1.6s ease-in-out infinite;
  margin-right: 6px;
}
@keyframes dot-beam {
  0%   { box-shadow: 0 0 4px 1px rgba(var(--ctai-yellow-rgb),0.5); opacity: 1; }
  50%  { box-shadow: 0 0 14px 6px rgba(var(--ctai-yellow-rgb),0.85); opacity: 0.85; }
  100% { box-shadow: 0 0 4px 1px rgba(var(--ctai-yellow-rgb),0.5); opacity: 1; }
}
.mascot-status-text {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
}
.mascot-status-sep {
  color: rgba(var(--ctai-yellow-rgb),0.7);
  font-size: 0.75rem;
  flex-shrink: 0;
}
a.mascot-status {
  transition: border-color 0.2s ease;
}
a.mascot-status .mascot-status-text {
  transition: color 0.2s ease;
}
a.mascot-status:hover {
  border-top-color: rgba(var(--ctai-yellow-rgb),0.6);
}
a.mascot-status:hover .mascot-status-text {
  color: var(--yellow);
  text-shadow: 0 0 12px rgba(var(--ctai-yellow-rgb),0.45);
}

/* ===== 10. HERO BADGE ===== */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--ctai-yellow-rgb),0.12);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.3);
  border-radius: 0;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 32px;
}
.hero-badge svg { flex-shrink: 0; }
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  animation: blink 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

/* Hero heading */
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.hero h1 .line-accent { color: var(--yellow); }
.hero h1 .highlight { color: var(--yellow); }

@media (min-width: 768px) {
  .hero h1 { font-size: 2.8rem; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: clamp(3.2rem, 7vw, 5.8rem); letter-spacing: -0.01em; }
}

/* Hero subheading */
.hero-sub {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #B0B0B0;
  max-width: 620px;
  margin-bottom: 44px;
}
@media (min-width: 768px) {
  .hero-sub { font-size: clamp(1rem, 1.6vw, 1.15rem); }
}
.hero-sub-signal {
  color: var(--yellow);
  font-weight: 600;
}
.hero-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 520px;
}

/* Hero email opt-in */
.hero-optin {
  margin-bottom: 60px;
}
.hero-optin-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  max-width: 100%;
}
@media (min-width: 768px) {
  .hero-optin-row { flex-direction: row; }
}
.hero-optin-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  min-height: 48px;
}
.hero-optin-input::placeholder { color: rgba(255,255,255,0.3); }
.hero-optin-input:focus { border-color: var(--yellow); }
.hero-optin-btn {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.3);
  border-radius: 0;
  background: rgba(var(--ctai-yellow-rgb),0.1);
  color: rgba(var(--ctai-yellow-rgb),0.85);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
}
.hero-optin-btn:hover {
  background: rgba(var(--ctai-yellow-rgb),0.18);
  border-color: rgba(var(--ctai-yellow-rgb),0.6);
  color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--ctai-yellow-rgb),0.12);
}
.hero-optin-note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-body);
  text-align: left;
  padding-left: 28px;
}
.mascot-status-tool {
  color: rgba(var(--ctai-yellow-rgb),0.85) !important;
}

/* Hero buttons row */
.hero-cta-group {
  margin-bottom: 0;
}
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 10px;
}
.hero-buttons .btn-cta { margin-bottom: 0; }
@media (min-width: 768px) {
  .hero-buttons {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }
}

/* Browse link */
.hero-browse { margin-top: 24px; }
.browse-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--yellow);
  text-decoration: none;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}
.browse-link:hover { gap: 10px; }
.browse-link .arrow { font-style: normal; }

/* ===== 11. HERO STATS ===== */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-top: 1px solid var(--border-color);
  padding-top: 36px;
}
.hero-stat {
  flex: 1;
  padding-right: 0;
  position: relative;
}
.hero-stat:not(:last-child)::after { display: none; }
.hero-stat:not(:first-child) {
  padding-left: 0;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

@media (min-width: 768px) {
  .hero-stats {
    flex-direction: row;
    gap: 0;
  }
  .hero-stat { padding-right: 32px; }
  .hero-stat:not(:last-child)::after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border-color);
  }
  .hero-stat:not(:first-child) {
    padding-left: 32px;
    border-top: none;
    padding-top: 0;
  }
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
@media (min-width: 768px) {
  .stat-number { font-size: 2.6rem; }
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stat-number--large { font-size: 4.5rem; line-height: 1; }
.hero-stat--highlight .stat-label {
  font-size: 0.9rem;
  color: var(--yellow);
  opacity: 0.85;
}

/* Old hero-stat classes (compat) */
.hero-stat .number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--yellow);
}
.hero-stat .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* ===== 12. SECTION COMMON ===== */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--yellow);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.15;
  margin-bottom: 12px;
}
@media (min-width: 768px) {
  .section-title { font-size: 2rem; }
}
@media (min-width: 1024px) {
  .section-title { font-size: 2.5rem; }
}
.section-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 600px;
}

/* ===== 13. METHODOLOGY ACCORDION (Homepage) ===== */
.methodology-section {
  padding: 60px 0;
  background: #0D0D0D;
  position: relative;
}
@media (min-width: 768px) {
  .methodology-section { padding: 80px 0; }
}
@media (min-width: 1024px) {
  .methodology-section { padding: 100px 0; }
}
.methodology-section > * { position: relative; z-index: 1; }

.methodology-header {
  text-align: center;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .methodology-header { margin-bottom: 60px; }
}

.methodology-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(var(--ctai-yellow-rgb),0.12);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.3);
  border-radius: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--yellow);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.methodology-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}
@media (min-width: 768px) {
  .methodology-title { font-size: 2.2rem; }
}
@media (min-width: 1024px) {
  .methodology-title { font-size: 3rem; }
}

.methodology-description {
  font-size: 0.95rem;
  color: #B0B0B0;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.accordion-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.phase-accordion {
  background: #1E1E1E;
  border: 1px solid #333333;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}
.phase-accordion:hover { border-color: rgba(var(--ctai-yellow-rgb),0.2); box-shadow: 0 0 20px rgba(var(--ctai-yellow-rgb),0.04); }
.phase-accordion:nth-child(2):hover { border-color: rgba(var(--ctai-yellow-rgb),0.28); box-shadow: 0 0 26px rgba(var(--ctai-yellow-rgb),0.06); }
.phase-accordion:nth-child(3):hover { border-color: rgba(var(--ctai-yellow-rgb),0.38); box-shadow: 0 0 34px rgba(var(--ctai-yellow-rgb),0.09); }
.phase-accordion:nth-child(4):hover { border-color: rgba(var(--ctai-yellow-rgb),0.55); box-shadow: 0 0 44px rgba(var(--ctai-yellow-rgb),0.13); }

.phase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px;
  cursor: pointer;
  user-select: none;
}
@media (min-width: 768px) {
  .phase-header { padding: 28px 32px; }
}
.phase-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
@media (min-width: 768px) {
  .phase-header-left { gap: 24px; }
}

.phase-number {
  width: 44px;
  height: 44px;
  background: rgba(var(--ctai-yellow-rgb),0.12);
  border: 2px solid rgba(var(--ctai-yellow-rgb),0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-stencil);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--yellow);
  flex-shrink: 0;
}
.phase-accordion:nth-child(1) .phase-number {
  background: rgba(var(--ctai-yellow-rgb),0.06);
  border-color: rgba(var(--ctai-yellow-rgb),0.18);
  color: rgba(var(--ctai-yellow-rgb),0.45);
}
.phase-accordion:nth-child(2) .phase-number {
  background: rgba(var(--ctai-yellow-rgb),0.09);
  border-color: rgba(var(--ctai-yellow-rgb),0.24);
  color: rgba(var(--ctai-yellow-rgb),0.62);
}
.phase-accordion:nth-child(3) .phase-number {
  background: rgba(var(--ctai-yellow-rgb),0.12);
  border-color: rgba(var(--ctai-yellow-rgb),0.32);
  color: rgba(var(--ctai-yellow-rgb),0.80);
}
.phase-accordion:nth-child(4) .phase-number {
  background: rgba(var(--ctai-yellow-rgb),0.16);
  border-color: rgba(var(--ctai-yellow-rgb),0.45);
  color: rgba(var(--ctai-yellow-rgb),1);
}
@media (min-width: 768px) {
  .phase-number { width: 56px; height: 56px; font-size: 1.5rem; }
}

.phase-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #777777;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.phase-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .phase-title { font-size: 1.75rem; }
}
.phase-subtitle {
  font-size: 0.85rem;
  color: #B0B0B0;
}
@media (min-width: 768px) {
  .phase-subtitle { font-size: 0.9375rem; }
}

.expand-icon {
  font-size: 1.25rem;
  color: var(--yellow);
  transition: transform 0.3s ease;
}
.phase-accordion.active .expand-icon {
  transform: rotate(180deg);
}

.phase-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.phase-accordion.active .phase-content {
  max-height: 1000px;
}
.phase-content-inner {
  padding: 20px 16px 24px 16px;
  border-top: 1px solid #2A2A2A;
}
@media (min-width: 768px) {
  .phase-content-inner { padding: 0 32px 32px 112px; padding-top: 28px; }
}

.phase-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #B0B0B0;
  margin-bottom: 28px;
}
.phase-sections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .phase-sections { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
}
.phase-section h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 12px;
}
.phase-activities {
  list-style: none;
  padding: 0;
}
.phase-activities li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: #B0B0B0;
  font-size: 0.9375rem;
}
.phase-activities li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 700;
}

/* ===== 14. PHASES GRID (Methodology framework card) ===== */
.methodology {
  background: var(--bg-primary);
  text-align: center;
}
.methodology .section-description { margin: 0 auto 16px; }
.methodology-framing {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0 auto 60px;
  font-style: italic;
}
.framework-card {
  background: var(--framework-bg);
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 32px 20px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .framework-card { padding: 48px 40px; }
}
.framework-card > * { position: relative; z-index: 1; }
.framework-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.framework-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.phases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
  counter-reset: phase;
}
.phases-grid::before,
.phases-grid::after { display: none; }
.phase-item:not(:last-child)::after { display: none; }

@media (min-width: 768px) {
  .phases-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  .phases-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .phases-grid::before {
    display: block;
    content: '';
    position: absolute;
    top: 52px;
    left: calc(12.5%);
    right: calc(12.5%);
    height: 6px;
    background: repeating-linear-gradient(
      -45deg,
      var(--yellow) 0px,
      var(--yellow) 4px,
      rgba(0,0,0,0.3) 4px,
      rgba(0,0,0,0.3) 8px
    );
    opacity: 0.18;
    z-index: 0;
    border-radius: 0;
  }
  .phases-grid::after {
    display: block;
    content: '';
    position: absolute;
    top: 54px;
    left: calc(12.5%);
    right: calc(12.5%);
    height: 2px;
    background: var(--yellow);
    opacity: 0.10;
    z-index: 0;
  }
  .phase-item:not(:last-child)::after {
    display: block;
    content: '';
    position: absolute;
    right: -6px;
    top: 49px;
    width: 10px;
    height: 10px;
    border-right: 2.5px solid var(--yellow);
    border-bottom: 2.5px solid var(--yellow);
    transform: rotate(-45deg);
    opacity: 0.35;
    z-index: 3;
  }
}

.phase-item {
  text-align: center;
  padding: 28px 24px;
  position: relative;
  z-index: 1;
}
.phase-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.25rem;
  color: #000;
  font-weight: 700;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 5px var(--framework-bg), 0 0 0 8px rgba(var(--ctai-yellow-rgb),0.12);
}
.phase-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--yellow);
}
.phase-desc {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ===== 15. TESTS/CARDS GRID ===== */
.crash-tests {
  background: #161616;
  position: relative;
  padding: 60px 0;
}
@media (min-width: 768px) {
  .crash-tests { padding: 80px 0; }
}
@media (min-width: 1024px) {
  .crash-tests { padding: 100px 0; }
}
.crash-tests::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 22px, rgba(var(--ctai-yellow-rgb),0.04) 22px, rgba(var(--ctai-yellow-rgb),0.04) 24px);
  pointer-events: none;
}
.crash-tests > * { position: relative; z-index: 1; }
.crash-tests-header {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.crash-tests-header .methodology-badge { margin-bottom: 16px; }
.crash-tests-header .section-title { margin-bottom: 12px; }
.crash-tests-positioner {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 600px;
}

/* Mobile: 1 column */
.tests-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .tests-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (min-width: 1024px) {
  .tests-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

.crash-tests-view-all {
  margin-top: 48px;
  text-align: center;
}
.crash-tests-view-all a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255,255,255,0.15);
  transition: color 0.15s, gap 0.15s, text-decoration-color 0.15s;
}
.crash-tests-view-all a .arrow { display: inline-block; transition: transform 0.2s; }
.crash-tests-view-all a:hover { color: var(--yellow); gap: 10px; text-decoration-color: rgba(var(--ctai-yellow-rgb),0.4); }
.crash-tests-view-all a:hover .arrow { transform: translateX(4px); }

.view-all {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color var(--transition);
}
.view-all:hover { color: var(--yellow); }
.view-all .arrow { display: inline-block; transition: transform var(--transition); }
.view-all:hover .arrow { transform: translateX(3px); }

/* ===== 16. TEST CARD COMPONENT ===== */
.test-card-logo-row {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
.test-card-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  padding: 0;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
.test-card-logo-initials {
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: transparent;
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.test-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid rgba(var(--ctai-yellow-rgb),0.18);
  border-radius: 0;
  padding: 20px 18px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
@media (min-width: 768px) {
  .test-card { padding: 22px; }
}
.test-card:hover {
  border-color: rgba(var(--ctai-yellow-rgb),0.25);
  border-left-color: var(--yellow);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(var(--ctai-yellow-rgb),0.05), 0 2px 8px rgba(0,0,0,0.3);
}
.test-card-header,
.test-card-verdict {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.test-card-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.test-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .test-card-title { font-size: 1.3rem; }
}
.test-card-summary {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.test-card-tool {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--yellow);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.test-card-desc {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-muted);
  flex: 1;
}

.test-card { cursor: pointer; }
.test-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  gap: 8px;
}
.test-card-footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.card-share {
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.18);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1;
}
.card-share-btn:hover { color: rgba(255,255,255,0.65); }
@media (min-width: 768px) {
  .test-card-footer { padding-top: 20px; }
}
.test-card-actions {
  display: flex;
  gap: 8px;
}
.test-card-actions button {
  width: 34px; height: 34px;
  border-radius: 0;
  border: 1px solid var(--border-color);
  background: var(--icon-bg);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.test-card-actions button:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.test-card-report {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
  position: relative;
}
.test-card-report:hover { color: var(--yellow); }
.test-card-report .arrow { transition: transform var(--transition); }
.test-card-report:hover .arrow { transform: translateX(3px); }
.test-card-report::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--yellow);
  transition: width 0.2s ease;
}
.test-card-report:hover::after { width: 100%; }

.test-card-system {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
  opacity: 0.7;
}
.test-card-period {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #666;
  letter-spacing: 0.04em;
}

/* Card group spacing */
.test-card-group {
  display: flex;
  flex-direction: column;
}
.test-card-group--result {
  gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
@media (min-width: 768px) {
  .test-card-group--result { gap: 8px; padding-bottom: 18px; margin-bottom: 18px; }
}
.test-card-group--title {
  margin-bottom: 14px;
}
@media (min-width: 768px) {
  .test-card-group--title { margin-bottom: 18px; }
}
.test-card-group--phases {
  padding-top: 4px;
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .test-card-group--phases { margin-bottom: 20px; }
}

/* Phase indicator */
.test-card-phases {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.test-phase {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.test-phase:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: rgba(var(--ctai-yellow-rgb),0.3);
  margin-left: 6px;
}
.test-phase-num {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(var(--ctai-yellow-rgb),0.2);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.35);
  flex-shrink: 0;
  font-size: 0;
  line-height: 0;
}
.test-phase-label {
  font-size: 0.52rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--text-muted);
  opacity: 0.75;
  line-height: 1;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .test-phase-label { font-size: 0.58rem; }
}

.test-card-badges {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.tests-footer {
  text-align: center;
  margin-top: 36px;
}
.tests-footer a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color var(--transition);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tests-footer a:hover { color: var(--yellow); }

/* ===== 17. SCORE BARS ===== */
.score-bar-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.score-bar-track {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.07);
  border-radius: 0;
  overflow: hidden;
}
.score-bar-fill {
  height: 100%;
  border-radius: 0;
  transition: width 0.6s ease;
}
.score-green { background: rgba(var(--ctai-green-rgb),0.5); }
.score-amber { background: rgba(var(--ctai-yellow-rgb),0.5); }
.score-red   { background: rgba(var(--ctai-red-rgb),0.5); }
.score-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .score-label { font-size: 0.72rem; }
}
.score-denom {
  color: var(--text-muted);
  font-size: 0.62rem;
}

/* ===== 18. VERDICT/RESULT BADGES ===== */
.result-badge {
  padding: 4px 12px;
  border-radius: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.result-pass  { background: rgba(var(--ctai-green-rgb),0.06);  color: rgba(134,239,172,0.75); border: 1px solid rgba(var(--ctai-green-rgb),0.12); }
.result-fail  { background: rgba(var(--ctai-red-rgb),0.06);  color: rgba(252,165,165,0.75); border: 1px solid rgba(var(--ctai-red-rgb),0.12); }
.result-mixed { background: rgba(var(--ctai-orange-rgb),0.06);  color: rgba(253,211,138,0.75); border: 1px solid rgba(var(--ctai-orange-rgb),0.12); }
.result-pending { background: rgba(120,120,120,0.12); color: #888; border: 1px solid rgba(120,120,120,0.25); }

.ct-recommend-badge {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 4px 12px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ct-recommend {
  background: rgba(var(--ctai-green-rgb),0.06);
  color: rgba(134,239,172,0.75);
  border: 1px solid rgba(var(--ctai-green-rgb),0.15);
}
.ct-avoid {
  background: rgba(var(--ctai-red-rgb),0.06);
  color: rgba(252,165,165,0.75);
  border: 1px solid rgba(var(--ctai-red-rgb),0.15);
}
.ct-caution {
  background: rgba(var(--ctai-orange-rgb),0.06);
  color: rgba(253,211,138,0.75);
  border: 1px solid rgba(var(--ctai-orange-rgb),0.15);
}

/* ===== 19. BUILDING SECTION ===== */
.building-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.building-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 22px, var(--stripe-color) 22px, var(--stripe-color) 24px);
  pointer-events: none;
}
.building-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
  text-align: center;
}
@media (min-width: 1024px) {
  .building-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    text-align: left;
  }
}
.building-text .section-description { margin-bottom: 20px; }
@media (min-width: 768px) {
  .building-text .section-description { margin: 0 auto 16px; }
}
@media (min-width: 1024px) {
  .building-text .section-description { margin: 0 0 16px; }
}
.building-text p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
.building-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}
@media (min-width: 768px) {
  .building-stats { flex-direction: row; gap: 36px; justify-content: center; }
}
@media (min-width: 1024px) {
  .building-stats { justify-content: flex-start; }
}
.building-stat {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 20px 24px;
  text-align: center;
  min-width: 110px;
  transition: all var(--transition);
}
.building-stat:hover {
  border-color: rgba(var(--ctai-yellow-rgb),0.3);
  box-shadow: var(--shadow-glow);
}
.building-stat .number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--yellow);
}
.building-stat .label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-top: 4px;
}
.building-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.mascot-container {
  width: 320px; height: 400px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  transition: all var(--transition);
}
.mascot-container:hover {
  border-color: rgba(var(--ctai-yellow-rgb),0.3);
  box-shadow: var(--shadow-glow);
}
.mascot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.mascot-svg { width: 240px; height: 280px; }
.mascot-badge {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: #000;
  padding: 6px 18px;
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== 20. CONSUME / FIELD NOTES ===== */
.consume-section {
  background: var(--bg-primary);
  text-align: center;
  padding: 60px 0;
  position: relative;
}
@media (min-width: 768px) {
  .consume-section { padding: 80px 0; }
}
@media (min-width: 1024px) {
  .consume-section { padding: 100px 0; }
}
.consume-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 22px, rgba(var(--ctai-yellow-rgb),0.04) 22px, rgba(var(--ctai-yellow-rgb),0.04) 24px);
  pointer-events: none;
}
.consume-section > * { position: relative; z-index: 1; }
.consume-section .section-description { margin: 0 auto 12px; }
.consume-intro {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.content-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 5px;
  margin-bottom: 48px;
  gap: 2px;
}
@media (min-width: 768px) {
  .content-tabs { gap: 4px; flex-wrap: nowrap; }
}
.content-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  background: transparent;
  color: var(--text-muted);
  transition: all var(--transition);
  cursor: pointer;
}
@media (min-width: 768px) {
  .content-tab { padding: 10px 24px; font-size: 0.8rem; letter-spacing: 1px; }
}
.content-tab:hover { color: var(--text-primary); }
.content-tab.active { background: rgba(var(--ctai-yellow-rgb),0.1); border: 1px solid rgba(var(--ctai-yellow-rgb),0.4); color: var(--yellow); }
.content-tab svg { stroke: currentColor; }
.content-tab.active svg { stroke: var(--yellow); }
.content-tab .tab-icon { display: flex; align-items: center; }

.consume-card {
  background: var(--consume-card-bg, #1a1a1a);
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 24px 20px 36px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  text-align: left;
}
@media (min-width: 768px) {
  .consume-card { padding: 44px; gap: 48px; }
}
@media (min-width: 1024px) {
  .consume-card { grid-template-columns: 1fr 1fr; }
}

.consume-card-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--yellow);
  margin-bottom: 10px;
}
.consume-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 16px;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .consume-card-title { font-size: 1.8rem; }
}
.consume-card-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 440px;
}

/* Podcast thumbnail */
.podcast-thumbnail {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 16/10;
  border-radius: 0;
  background: var(--podcast-thumb-bg);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.podcast-thumbnail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(var(--ctai-yellow-rgb),0.03) 10px, rgba(var(--ctai-yellow-rgb),0.03) 12px);
}
.play-btn-large {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.play-btn-large:hover {
  background: var(--yellow);
  transform: scale(1.05);
}
.play-btn-large svg { fill: var(--yellow); transition: fill var(--transition); }
.play-btn-large:hover svg { fill: #000; }

.consume-card-right {
  display: flex;
  flex-direction: column;
}
.episodes-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.episodes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.episode-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--episode-bg, rgba(30, 30, 30, 0.6));
  border: 1px solid var(--episode-border, rgba(60, 60, 60, 0.3));
  border-radius: 0;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.episode-item:hover {
  border-color: rgba(var(--ctai-yellow-rgb),0.3);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}
.episode-play-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(var(--ctai-yellow-rgb),0.1);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.episode-play-icon svg { width: 14px; height: 14px; fill: var(--yellow); }
.episode-info { flex: 1; }
.episode-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.episode-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.episode-arrow {
  font-size: 1.1rem;
  color: var(--yellow);
  opacity: 0;
  transition: opacity var(--transition);
}
.episode-item:hover .episode-arrow { opacity: 1; }

.consume-view-all {
  margin-top: 24px;
  text-align: center;
}
.consume-view-all a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255,255,255,0.15);
  transition: color var(--transition), gap var(--transition), text-decoration-color var(--transition);
}
.consume-view-all a:hover { color: var(--yellow); gap: 10px; text-decoration-color: rgba(var(--ctai-yellow-rgb),0.4); }
.consume-view-all a .arrow { display: inline-block; transition: transform var(--transition); }
.consume-view-all a:hover .arrow { transform: translateX(3px); }

/* Consume card icon */
.consume-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* Crash Tests and Field Notes cards stay single-column at all breakpoints */
.crash-test-card,
.field-notes-card {
  grid-template-columns: 1fr !important;
}

/* Field Notes Tab Header */
.fn-tab-header {
  text-align: center;
  margin-bottom: 2rem;
}
.fn-tab-header .consume-card-label {
  display: inline-block;
  margin-bottom: 10px;
}
.fn-tab-header .consume-card-title {
  text-align: center;
  margin-bottom: 8px;
  font-size: 1.3rem;
}
@media (min-width: 768px) {
  .fn-tab-header .consume-card-title { font-size: 1.8rem; }
}
.fn-tab-header .consume-card-desc {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.field-notes-card .consume-view-all { text-align: center; }

/* Visual differentiation */
.field-notes-card .consume-card-icon {
  background: linear-gradient(135deg, rgba(100, 150, 255, 0.15), rgba(100, 150, 255, 0.05));
  border: 1px solid rgba(100, 150, 255, 0.2);
}
.field-notes-card .consume-card-icon svg { stroke: #6496FF; }
.field-note-play-icon { background: rgba(100, 150, 255, 0.1) !important; border-color: rgba(100, 150, 255, 0.25) !important; }
.field-note-play-icon svg { stroke: #6496FF !important; fill: none !important; }
.field-note-item:hover { border-color: rgba(100, 150, 255, 0.3) !important; }
.read-time { font-size: 0.7rem; color: #6496FF; font-weight: 600; }

.crash-test-card .consume-card-icon {
  background: linear-gradient(135deg, rgba(var(--ctai-yellow-rgb),0.15), rgba(var(--ctai-yellow-rgb),0.05));
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.25);
}
.crash-test-card .consume-card-icon svg { stroke: var(--yellow); }
.crash-test-play-icon { background: rgba(var(--ctai-yellow-rgb),0.1) !important; border-color: rgba(var(--ctai-yellow-rgb),0.25) !important; }
.crash-test-play-icon svg { stroke: var(--yellow) !important; fill: none !important; }
.crash-test-item:hover { border-color: rgba(var(--ctai-yellow-rgb),0.3) !important; }
.verdict-badge { font-size: 0.65rem; color: var(--yellow); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

.media-card .consume-card-icon {
  background: linear-gradient(135deg, rgba(255, 100, 150, 0.15), rgba(255, 100, 150, 0.05));
  border: 1px solid rgba(255, 100, 150, 0.2);
}
.media-card .consume-card-icon svg { stroke: #FF6496; }
.media-play-icon { background: rgba(255, 100, 150, 0.1) !important; border-color: rgba(255, 100, 150, 0.25) !important; }
.media-play-icon svg { fill: #FF6496 !important; }
.media-item:hover { border-color: rgba(255, 100, 150, 0.3) !important; }
.duration { font-size: 0.7rem; color: #FF6496; font-weight: 600; }

/* Premium field note cards */
.field-note-premium-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 2px solid rgba(255,120,50,0.3);
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: block;
}
.field-note-premium-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.08);
  border-left-color: rgba(255,120,50,0.6);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.field-note-hazard-stripe { display: none; }
.field-note-premium-content { padding: 16px 14px 14px; }
@media (min-width: 768px) {
  .field-note-premium-content { padding: 20px 18px 18px; }
}
.field-note-tool-icon { margin-bottom: 16px; }
.field-note-tool-icon svg { width: 36px; height: 36px; stroke: rgba(255,120,50,0.65); opacity: 0.9; }
.field-note-tool-name {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,120,50,0.7);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.field-note-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 20px;
  line-height: 1.3;
  letter-spacing: 0.3px;
}
@media (min-width: 768px) {
  .field-note-title { font-size: 1.15rem; }
}
.field-note-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.field-note-branding {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}
.field-note-read-cta {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.field-note-premium-card:hover .field-note-read-cta { color: var(--text-primary); }
.field-note-arrow { transition: transform 0.2s ease; display: inline-block; }
.field-note-premium-card:hover .field-note-arrow { transform: translateX(3px); }

/* CT results list */
.ct-results-list {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 2rem;
}
.ct-result-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.015);
  transition: background 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
@media (min-width: 768px) {
  .ct-result-row { padding: 22px 28px; }
}
.ct-result-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--yellow);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.ct-result-row:last-child { border-bottom: none; }
.ct-result-row:hover {
  background: rgba(var(--ctai-yellow-rgb),0.05);
  box-shadow: inset 0 0 0 1px rgba(var(--ctai-yellow-rgb),0.12);
}
.ct-result-row:hover::before { opacity: 1; }
.ct-result-num {
  font-family: var(--font-stencil);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--yellow);
  opacity: 0.15;
  flex-shrink: 0;
  width: 44px;
  line-height: 1;
  transition: opacity 0.2s ease;
}
.ct-result-row:hover .ct-result-num { opacity: 0.4; }
.ct-result-body { flex: 1; text-align: left; }
.ct-result-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.3px;
  line-height: 1.2;
  margin-bottom: 4px;
}
@media (min-width: 768px) {
  .ct-result-title { font-size: 1.15rem; }
}
.ct-result-tag {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
}
.ct-result-cta {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--yellow);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  display: none;
}
@media (min-width: 768px) {
  .ct-result-cta { display: block; }
}
.ct-result-row:hover .ct-result-cta { opacity: 1; }

/* ===== 21. PODCAST CARDS — already covered in consume section ===== */

/* ===== 22. COMMUNITY SECTION ===== */
.community-section {
  background: #1c1c1f;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 60px;
}
.community-section::before { display: none; }
.community-section > .container { position: relative; z-index: 1; }

.cr-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}
@media (min-width: 768px) {
  .cr-wrap { padding: 0 24px; }
}

.cr-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(var(--ctai-yellow-rgb),0.1);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.3);
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 28px;
}
.cr-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
  animation: blink 1.4s ease-in-out infinite;
}

.cr-headline {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.05;
  margin-bottom: 16px;
  color: #fff;
}
@media (min-width: 768px) {
  .cr-headline { font-size: 3.4rem; }
}
.cr-headline em {
  font-style: normal;
  color: var(--yellow);
}

.cr-subhead {
  font-size: 0.95rem;
  color: #909090;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.cr-proof {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 16px auto 0;
  text-align: center;
  letter-spacing: 0.2px;
}

/* ── CTA Variant 2: Split Audience (newsletter page) ── */
.cta-v2-section { padding: 56px 0 72px; border-top: 1px solid var(--border-subtle); }
.cta-v2-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .cta-v2-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.cta-v2-card {
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  padding: 24px;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
}
.cta-v2-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 8px;
}
.cta-v2-headline {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0 0 6px;
}
.cta-v2-sub {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
  flex: 1;
}
.cta-v2-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 10px 20px;
  background: rgba(var(--ctai-yellow-rgb),0.1);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.3);
  color: rgba(var(--ctai-yellow-rgb),0.85);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: 0;
  width: fit-content;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.cta-v2-btn-primary:hover { background: rgba(var(--ctai-yellow-rgb),0.18); border-color: rgba(var(--ctai-yellow-rgb),0.6); color: var(--yellow); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(var(--ctai-yellow-rgb),0.12); }
.cta-v2-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 10px 20px;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: 0;
  width: fit-content;
  transition: border-color 0.15s, color 0.15s;
  background: transparent;
  cursor: pointer;
}
.cta-v2-btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.cta-v2-proof-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.cta-v2-proof-dot {
  color: var(--yellow);
  opacity: 0.4;
}
.cta-v2-proof {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 16px 0 0;
}

/* ── CTA Variant 3: Inline (mid-content / field notes) ── */
.cta-v3 {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0 28px;
}
.cta-v3-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-v3-left { display: flex; flex-direction: column; gap: 4px; }
.cta-v3-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}
.cta-v3-sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-muted);
}
@media (max-width: 640px) {
  .cta-v3-inner { flex-direction: column; align-items: flex-start; }
}

/* Alias: fn-inline-cta uses v3 pattern */
.fn-inline-cta { border-top: 1px solid var(--border-subtle); padding: 20px 0 28px; }

/* ── Share Bar ── */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 48px;
}
.share-bar-label {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 6px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-color);
  border-radius: 0;
  color: var(--text-muted);
  text-decoration: none;
  background: transparent;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  cursor: pointer;
  flex-shrink: 0;
}
.share-btn:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
  background: var(--bg-elevated);
}
.fn-inline-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fn-inline-cta-text { font-family: var(--font-body); font-size: 0.9rem; color: var(--text-secondary); margin: 0; }

/* ── CTA Variant 4: Statement (homepage bottom) ── */
.cta-v4-section { padding: 56px 0 72px; }
.cta-v4-card {
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  padding: 48px 32px;
  text-align: center;
  background: var(--bg-secondary);
}
.cta-v4-headline {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.15;
  margin: 0 0 8px;
}
.cta-v4-sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0 0 24px;
}
.cta-v4-proof {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 14px 0 0;
}
@media (max-width: 640px) {
  .cta-v4-card { padding: 32px 20px; }
  .cta-v4-headline { font-size: 1.5rem; }
}

.cr-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.cr-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: 1px solid #2A2A2A;
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #C0C0C0;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.cr-pill:hover {
  border-color: rgba(var(--ctai-yellow-rgb),0.4);
  color: #fff;
  cursor: default;
}
.cr-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

.cr-form-wrap {
  max-width: 560px;
  margin: 0 auto;
}
.cr-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
@media (min-width: 768px) {
  .cr-form { flex-direction: row; }
}
.cr-input {
  flex: 1;
  padding: 16px 20px;
  background: #111;
  border: 1px solid #2A2A2A;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
  min-height: 48px;
}
.cr-input:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(var(--ctai-yellow-rgb),0.08); }
.cr-input::placeholder { color: #555; }
.cr-btn {
  padding: 16px 28px;
  background: rgba(var(--ctai-yellow-rgb),0.1);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.3);
  border-radius: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(var(--ctai-yellow-rgb),0.85);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  min-height: 48px;
  width: 100%;
}
@media (min-width: 768px) {
  .cr-btn { width: auto; }
}
.cr-btn:hover {
  background: rgba(var(--ctai-yellow-rgb),0.18);
  border-color: rgba(var(--ctai-yellow-rgb),0.6);
  color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--ctai-yellow-rgb),0.12);
}
.cr-disclaimer {
  font-size: 0.72rem;
  color: #444;
  letter-spacing: 0.5px;
}

.community-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--yellow);
  margin-bottom: 28px;
}
.community-badge svg { flex-shrink: 0; }
.community-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .community-headline { font-size: 2.4rem; }
}
@media (min-width: 1024px) {
  .community-headline { font-size: 3.2rem; }
}
.community-headline .yellow { color: var(--yellow); }
.community-subtitle {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 20px;
}
.authority-strip {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 56px;
}
.authority-strip span { color: var(--yellow); }

/* Community cards */
.community-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 56px;
}
@media (min-width: 768px) {
  .community-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .community-cards { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
.community-card {
  background: var(--bg-card-blue);
  border: 1px solid var(--bg-card-blue-border);
  border-radius: 0;
  padding: 36px 24px 32px;
  transition: all var(--transition);
}
.community-card:hover {
  border-color: rgba(var(--ctai-yellow-rgb),0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow), var(--shadow-glow);
}
.community-card-icon {
  width: 52px; height: 52px;
  border-radius: 0;
  background: var(--icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--yellow);
}
.community-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.community-card-desc {
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ===== 23. EMAIL SIGNUP ===== */
.email-signup {
  background: var(--bg-card-blue);
  border: 1px solid var(--bg-card-blue-border);
  border-radius: 0;
  padding: 28px 16px;
  text-align: left;
}
@media (min-width: 768px) {
  .email-signup { padding: 40px 48px; }
}
.email-signup-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}
.email-icon {
  width: 40px; height: 40px;
  border-radius: 0;
  background: var(--icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
}
.email-signup-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.email-signup-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  margin-left: 0;
}
@media (min-width: 768px) {
  .email-signup-subtitle { margin-left: 54px; }
}
.email-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 14px;
}
@media (min-width: 768px) {
  .email-form { flex-direction: row; align-items: center; }
}
.email-input-wrapper { flex: 1; position: relative; }
.email-input {
  width: 100%;
  padding: 16px 50px 16px 20px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition);
  min-height: 48px;
}
.email-input::placeholder { color: var(--text-muted); }
.email-input:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(var(--ctai-yellow-rgb),0.1); }
.email-input-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--yellow);
  display: flex;
  align-items: center;
  opacity: 0.6;
}
.btn-join {
  padding: 16px 32px;
  background: rgba(var(--ctai-yellow-rgb),0.1);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.3);
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(var(--ctai-yellow-rgb),0.85);
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  width: 100%;
  justify-content: center;
}
@media (min-width: 768px) {
  .btn-join { width: auto; }
}
.btn-join:hover { background: rgba(var(--ctai-yellow-rgb),0.18); border-color: rgba(var(--ctai-yellow-rgb),0.6); color: var(--yellow); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(var(--ctai-yellow-rgb),0.12); }
.btn-join .arrow { display: inline-block; transition: transform var(--transition); }
.btn-join:hover .arrow { transform: translateX(3px); }
.email-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: 0;
}

/* ===== 24. HAZARD BAR ===== */
/* Already defined in hero section */

/* ===== 25. FOOTER ===== */
.footer {
  background: #080808;
  padding: 0 0 36px;
}
.footer-hazard-bar {
  height: 4px;
  background: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0px,
    var(--yellow) 5px,
    #111111    5px,
    #111111    18px
  );
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  opacity: 0.85;
}
.footer .container { padding-top: 40px; }
@media (min-width: 768px) {
  .footer .container { padding-top: 72px; }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 56px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 56px; }
}

.footer-brand .nav-logo { margin-bottom: 16px; }

/* Woody name link — subtle premium hover */
.link-woody {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.link-woody:hover {
  color: var(--yellow);
  border-bottom-color: rgba(var(--ctai-yellow-rgb),0.4);
}
.footer-brand .hero-badge {
  padding: 5px 11px;
  font-size: 0.65rem;
  letter-spacing: 1.2px;
  gap: 6px;
  margin-bottom: 16px;
}
.footer-brand .hero-badge .badge-dot {
  width: 5px;
  height: 5px;
}
.footer-brand p {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 300px;
  margin-bottom: 20px;
}
.footer-brand p + .footer-tagline-sub {
  margin-top: 2px;
}
.footer-brand p:has(+ .footer-tagline-sub) {
  margin-bottom: 6px;
}
.footer-tagline-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 0;
}
.footer-independent-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.15);
  border-radius: 0;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(var(--ctai-yellow-rgb),0.55);
}
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  font-size: 0.85rem;
  color: var(--text-muted);
  min-height: 44px;
  min-width: 44px;
}
.footer-social a:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }

.footer-col-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.footer-col a {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 5px 0;
  transition: color var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}
@media (min-width: 768px) {
  .footer-col a { min-height: unset; }
}
.footer-col a:hover { color: var(--yellow); }
.footer-col p, .footer-col span { font-size: 0.8rem; color: var(--text-muted); padding: 5px 0; display: block; }

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-muted); }
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}
@media (min-width: 768px) {
  .footer-bottom-links { justify-content: flex-end; }
}
.footer-bottom-links a {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--yellow); }
.footer-bottom-links .footer-independent-badge { margin: 0; }

/* ===== 26. ANIMATIONS ===== */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* Landscape phone */
@media (orientation: landscape) and (max-height: 600px) {
  .nav-inner { height: 48px; }
  .hero { padding: 64px 16px 32px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-sub { font-size: 0.85rem; }
  .hero-stats { gap: 16px; }
  .hero-buttons { gap: 10px; }
  .section { padding: 40px 0; }
  .methodology-section { padding: 40px 0; }
  .methodology-header { margin-bottom: 32px; }
  .methodology-title { font-size: 1.75rem; }
  .cr-headline { font-size: 2rem; }
  .phase-header { padding: 16px 20px; }
  .phase-content-inner { padding: 16px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer .container { padding-top: 40px; }
  .consume-card { padding: 20px; }
  .cr-wrap { padding: 40px 20px; }
}

/* ===== 27. CRASH TESTS ARCHIVE PAGE ===== */
.archive-section {
  padding: 80px 0 48px;
}
@media (min-width: 768px) {
  .archive-section { padding: 110px 0 56px; }
}
.archive-header {
  text-align: center;
  margin-bottom: 64px;
}
.archive-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1;
  margin: 16px 0 12px;
}
@media (min-width: 768px) {
  .archive-title { font-size: 3.2rem; }
}
.archive-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 20px;
  line-height: 1.6;
}
.archive-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.archive-count { color: var(--text-secondary); font-weight: 600; }
.archive-meta-sep { opacity: 0.4; }
.archive-no-sponsor { color: var(--text-muted); }

/* Filters */
.archive-filters {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 52px;
  border: 1px solid var(--border-color);
  border-radius: 0;
  background: var(--bg-card);
  overflow: hidden;
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 20px;
}
.filter-row + .filter-row {
  border-top: 1px solid var(--border-subtle);
}
.filter-row--centered {
  justify-content: center;
  gap: 10px;
}
.filter-row--centered .filter-row-label {
  min-width: auto;
}
.filter-row-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  min-width: 72px;
  flex-shrink: 0;
}
.filter-result-btns,
.filter-cat-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 0;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
  min-height: 44px;
}
.filter-btn:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.filter-btn--active {
  background: rgba(var(--ctai-yellow-rgb),0.1);
  border-color: rgba(var(--ctai-yellow-rgb),0.4);
  color: var(--yellow);
}
.filter-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.filter-dot--pass  { background: rgba(var(--ctai-green-rgb),0.6); }
.filter-dot--fail  { background: rgba(var(--ctai-red-rgb),0.6); }
.filter-dot--mixed { background: rgba(var(--ctai-orange-rgb),0.6); }
.filter-category-wrap { margin-left: 0; width: 100%; }
@media (min-width: 768px) {
  .filter-category-wrap { margin-left: auto; width: auto; }
}
.filter-select {
  padding: 8px 14px;
  border-radius: 0;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23777' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  transition: border-color 0.2s;
  width: 100%;
  min-height: 44px;
}
@media (min-width: 768px) {
  .filter-select { width: auto; }
}
.filter-select:focus { outline: none; border-color: var(--yellow); }

/* Empty state */
.archive-empty { text-align: center; padding: 80px 20px; display: none; }
.archive-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.archive-empty-text { color: var(--text-muted); font-size: 1rem; margin-bottom: 24px; }

/* ===== 28. TOOLS LEADERBOARD PAGE ===== */
.lb-badge-row {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}
.lb-page-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
@media (min-width: 1024px) {
  .lb-page-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.lb-headline {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin: 12px 0 8px;
}
@media (min-width: 768px) {
  .lb-headline { font-size: 3.4rem; }
}
.lb-subhead { font-size: 1rem; color: var(--text-muted); }
.lb-header-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0;
  overflow: hidden;
  flex-shrink: 0;
  width: 100%;
}
@media (min-width: 768px) {
  .lb-header-stats { width: auto; }
}
.lb-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 28px;
  gap: 2px;
  flex: 1;
}
@media (min-width: 768px) {
  .lb-stat { flex: 0 0 auto; }
}
.lb-stat-num {
  font-family: var(--font-stencil);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}
.lb-stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}
.lb-stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border-color);
  flex-shrink: 0;
}

/* Control panel */
.lb-control-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0;
  margin-bottom: 32px;
  overflow: hidden;
}
.lb-search-row { padding: 20px 16px; }
@media (min-width: 768px) {
  .lb-search-row { padding: 20px 28px; }
}
.lb-search-wrap { position: relative; }
.lb-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.lb-search-input {
  width: 100%;
  padding: 14px 18px 14px 44px;
  border-radius: 0;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 48px;
}
.lb-search-input:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(var(--ctai-yellow-rgb),0.08);
}
.lb-search-input::placeholder { color: var(--text-muted); }
.lb-control-divider { height: 1px; background: var(--border-subtle); }

/* Filter grid */
.lb-filter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 1024px) {
  .lb-filter-grid { grid-template-columns: auto 1fr; }
}
.lb-filter-group {
  padding: 20px 16px;
  border-bottom: 1px solid var(--border-subtle);
}
@media (min-width: 768px) {
  .lb-filter-group { padding: 20px 28px; }
}
@media (min-width: 1024px) {
  .lb-filter-group { border-right: 1px solid var(--border-subtle); border-bottom: none; }
}
.lb-filter-group--cat {
  border-bottom: none;
}
@media (min-width: 1024px) {
  .lb-filter-group--cat { border-right: none; }
}
.lb-filter-group-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.lb-pill-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* Pill buttons */
.lb-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 0;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
  min-height: 44px;
}
.lb-pill:hover { border-color: var(--yellow); color: var(--yellow); }
.lb-pill--active {
  border-color: var(--yellow) !important;
  color: var(--yellow) !important;
  background: rgba(var(--ctai-yellow-rgb),0.08) !important;
}
.lb-pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Score slider */
.lb-score-control { padding: 20px 16px 24px; }
@media (min-width: 768px) {
  .lb-score-control { padding: 20px 28px 24px; }
}
.lb-score-control-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.lb-score-readout {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  transition: color 0.2s ease;
}
.lb-score-readout-denom {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: 400;
}
.lb-score-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 0;
  cursor: pointer;
  display: block;
  margin-bottom: 10px;
  outline: none;
  background: linear-gradient(
    to right,
    var(--fill, var(--yellow)) 0%,
    var(--fill, var(--yellow)) var(--pct, 0%),
    rgba(255,255,255,0.12) var(--pct, 0%),
    rgba(255,255,255,0.12) 100%
  );
  transition: background 0.2s ease;
}
.lb-score-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--fill, var(--yellow));
  border: 3px solid #111;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--fill, var(--yellow)) 40%, transparent), 0 2px 8px rgba(0,0,0,0.4);
  cursor: grab;
  transition: box-shadow 0.15s, transform 0.1s, background 0.2s;
}
.lb-score-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.15);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--fill, var(--yellow)) 30%, transparent), 0 2px 12px rgba(0,0,0,0.5);
}
.lb-score-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--fill, var(--yellow));
  border: 3px solid #111;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--fill, var(--yellow)) 40%, transparent);
  cursor: grab;
}
.lb-score-slider::-moz-range-track {
  height: 6px;
  border-radius: 0;
  background: rgba(255,255,255,0.12);
}
.lb-score-slider::-moz-range-progress {
  height: 6px;
  border-radius: 0;
  background: var(--yellow);
}
.lb-score-slider:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(var(--ctai-yellow-rgb),0.45);
}
.lb-slider-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
}

/* Table — horizontal scroll on mobile */
.lb-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 0;
  border: 1px solid var(--border-color);
  margin-bottom: 16px;
}
.lb-table {
  width: 100%;
  border-collapse: collapse;
}
.lb-th {
  padding: 14px 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
  transition: color 0.15s;
}
.lb-th--rank    { width: 64px; text-align: center; }
.lb-th--tool    { min-width: 220px; text-align: left; }
.lb-th--cat     { min-width: 120px; }
.lb-th--score   { width: 200px; }
.lb-th--verdict { width: 120px; }
.lb-th--date    { width: 100px; }
.lb-th--link    { width: 100px; text-align: center; }
.lb-sortable { cursor: pointer; user-select: none; }
.lb-sortable:hover { color: var(--text-primary); }
.lb-sort--active { color: var(--yellow); }
.lb-sort-icon { margin-left: 5px; font-size: 0.7rem; }

.lb-row {
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.15s;
  position: relative;
}
.lb-row:last-child { border-bottom: none; }
.lb-row:hover { background: var(--bg-secondary); }
.lb-row:hover .lb-tool-name { color: var(--yellow); }
.lb-td {
  padding: 14px 16px;
  color: var(--text-primary);
  vertical-align: middle;
}
.lb-td--rank    { text-align: center; }
.lb-td--cat     { text-align: center; }
.lb-td--score   { text-align: center; }
.lb-td--verdict { text-align: center; }
.lb-rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}
.lb-rank-num--top3 {
  background: rgba(var(--ctai-yellow-rgb),0.1);
  border-color: rgba(var(--ctai-yellow-rgb),0.3);
  color: var(--yellow);
}
/* Top 3 row elevation */
.lb-row--rank-1 .lb-rank-num { background: rgba(var(--ctai-yellow-rgb),0.1); border-color: rgba(var(--ctai-yellow-rgb),0.3); color: var(--yellow); }
.lb-row--rank-2 .lb-rank-num { color: #9ca3af; }
.lb-row--rank-3 .lb-rank-num { color: #9ca3af; }
/* Best Overall summary strip */
.lb-top-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 24px;
  margin-bottom: 16px;
  background: rgba(var(--ctai-yellow-rgb),0.04);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.22);
  border-radius: 0;
}
.lb-top-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(var(--ctai-yellow-rgb),0.1);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.3);
  padding: 4px 10px;
  border-radius: 0;
  white-space: nowrap;
  flex-shrink: 0;
}
.lb-top-tool-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--text-primary);
  flex: 1;
  min-width: 80px;
}
.lb-top-score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  white-space: nowrap;
  line-height: 1;
}
.lb-top-score--green { color: rgba(134,239,172,0.8); }
.lb-top-score--amber { color: rgba(var(--ctai-yellow-rgb),0.8); }
.lb-top-score--red   { color: rgba(252,165,165,0.8); }
.lb-top-verdict {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 0;
  white-space: nowrap;
}
.lb-top-verdict--pass  { background: rgba(var(--ctai-green-rgb),0.06);  color: rgba(134,239,172,0.75); border: 1px solid rgba(var(--ctai-green-rgb),0.12); }
.lb-top-verdict--fail  { background: rgba(var(--ctai-red-rgb),0.06);  color: rgba(252,165,165,0.75); border: 1px solid rgba(var(--ctai-red-rgb),0.12); }
.lb-top-verdict--mixed { background: rgba(var(--ctai-orange-rgb),0.06);  color: rgba(253,211,138,0.75); border: 1px solid rgba(var(--ctai-orange-rgb),0.12); }
.lb-top-link {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--yellow);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.3);
  padding: 7px 16px;
  border-radius: 0;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lb-top-link:hover { background: rgba(var(--ctai-yellow-rgb),0.08); border-color: var(--yellow); }
/* Filter count line above table */
.lb-table-meta {
  display: flex;
  justify-content: flex-end;
  padding: 10px 4px 6px;
}
.lb-filter-count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}
.lb-tool-cell { display: flex; align-items: center; gap: 14px; }
.lb-tool-logo {
  width: 36px; height: 36px;
  border-radius: 0;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
}
.lb-tool-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: color 0.15s;
}
@media (min-width: 768px) {
  .lb-tool-name { font-size: 1.05rem; }
}
.lb-cat-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-body);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  white-space: nowrap;
  text-transform: capitalize;
}
.lb-cat-tag--empty { opacity: 0.3; border: none; background: transparent; }
.lb-score-cell { display: flex; flex-direction: column; gap: 6px; }
.lb-score-top { display: flex; align-items: baseline; gap: 4px; }
.lb-score-num {
  font-family: var(--font-stencil);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
}
@media (min-width: 768px) {
  .lb-score-num { font-size: 1.5rem; }
}
.lb-score-denom {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}
.lb-score-num.score-green { color: #e5e7eb; background: transparent; }
.lb-score-num.score-amber { color: #e5e7eb; background: transparent; }
.lb-score-num.score-red   { color: #e5e7eb; background: transparent; }
.lb-score-na { color: var(--text-muted); font-family: var(--font-mono); font-size: 0.8rem; }
.lb-mini-bar {
  height: 6px;
  background: var(--border-color);
  border-radius: 0;
  width: 100px;
  max-width: 100%;
}
@media (min-width: 768px) {
  .lb-mini-bar { width: 140px; }
}
.lb-mini-bar-fill {
  height: 100%;
  border-radius: 0;
  transition: width 0.4s ease;
}
.lb-mini-bar-fill.score-green { background: rgba(var(--ctai-green-rgb),0.45); }
.lb-mini-bar-fill.score-amber { background: rgba(var(--ctai-yellow-rgb),0.45); }
.lb-mini-bar-fill.score-red   { background: rgba(var(--ctai-red-rgb),0.45); }
.lb-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}
.lb-report-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 0;
  border: 1px solid var(--border-color);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  min-height: 44px;
}
.lb-report-link:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(var(--ctai-yellow-rgb),0.06);
}

/* Hide category on smaller screens */
@media (min-width: 1024px) {
  .lb-th--cat, .lb-td--cat { display: table-cell; }
}
/* Default: hide cat column below 1024 — they show by default, hide below */
.lb-th--cat, .lb-td--cat { display: none; }
@media (min-width: 1024px) {
  .lb-th--cat, .lb-td--cat { display: table-cell; }
}

/* ===== 28b. TOOLS V2 ===== */

/* Category leaders grid */
.v2-leaders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 48px;
}
@media (min-width: 640px) {
  .v2-leaders-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
.v2-leader-card {
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 16px 20px;
  background: var(--bg-secondary);
  transition: border-color 0.15s;
  cursor: default;
}
.v2-leader-card:hover { border-color: rgba(var(--ctai-yellow-rgb),0.3); }
.v2-leader-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.v2-leader-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.v2-leader-score {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.v2-leader-score { display: none; }
.v2-leader-score.score-green { color: #e5e7eb; }
.v2-leader-score.score-amber { color: #e5e7eb; }
.v2-leader-score.score-red   { color: #e5e7eb; }

/* Filter bar */
.v2-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding: 16px 20px;
  border: 1px solid var(--border-color);
  border-radius: 0;
  background: var(--bg-secondary);
}
.v2-search {
  flex: 1;
  min-width: 160px;
  max-width: 240px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s;
}
.v2-search:focus { border-color: var(--yellow); }
.v2-search::placeholder { color: var(--text-muted); }
.v2-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.v2-filter-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  white-space: nowrap;
}
.v2-pill-group { display: flex; flex-wrap: wrap; gap: 6px; }
.v2-pill {
  padding: 5px 14px;
  border-radius: 0;
  border: 1px solid var(--border-color);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
  min-height: 44px;
}
.v2-pill:hover { border-color: var(--yellow); color: var(--yellow); }
.v2-pill--active { background: rgba(var(--ctai-yellow-rgb),0.1); border-color: rgba(var(--ctai-yellow-rgb),0.4); color: var(--yellow); }
.v2-pill--active:hover { background: rgba(var(--ctai-yellow-rgb),0.15); border-color: rgba(var(--ctai-yellow-rgb),0.6); color: var(--yellow); }
.v2-pill--pass { color: #9ca3af; }
.v2-pill--pass:hover { border-color: var(--yellow); color: var(--yellow); }
.v2-pill--fail { color: #9ca3af; }
.v2-pill--fail:hover { border-color: var(--yellow); color: var(--yellow); }
.v2-pill--pass.v2-pill--active { background: rgba(var(--ctai-yellow-rgb),0.1); border-color: rgba(var(--ctai-yellow-rgb),0.4); color: var(--yellow); }
.v2-pill--fail.v2-pill--active { background: rgba(var(--ctai-yellow-rgb),0.1); border-color: rgba(var(--ctai-yellow-rgb),0.4); color: var(--yellow); }

/* ── Tool rows ───────────────────────────────────────── */
.tool-row {
  cursor: pointer;
  border-bottom: 1px solid #1f2937;
  transition: background 0.15s ease;
}
.tool-row:hover { background: rgba(255,255,255,0.06); }
.tool-row.active { background: rgba(255,255,255,0.06); }
.tool-row--expanded { background: rgba(255,255,255,0.06); border-bottom: none; }
.tool-row--expanded .lb-tool-name,
.tool-row:hover .lb-tool-name { color: var(--yellow); }

/* ── Expand row ──────────────────────────────────────── */
.expand-row { display: none; }
.expand-row td {
  position: relative;
  padding: 20px 20px;
  background: #0d1522;
  border-top: none;
  border-bottom: 1px solid #1f2937;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), inset 0 -1px 0 #1f2937;
  transform-origin: top;
  transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  animation: expandFadeIn 0.18s ease;
}

/* Yellow anchor line — guides the eye, doesn't dominate */
.expand-row td::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--ctai-yellow);
  opacity: 0.35;
}

@keyframes expandFadeIn {
  from { opacity: 0; transform: translateY(-3px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Expand content ──────────────────────────────────── */
.lb-expand-insight {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #e5e7eb;
  line-height: 1.5;
  max-width: 520px;
  margin: 0 0 8px;
}
.lb-expand-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}
.lb-expand-link .arrow { display: inline-block; transition: transform 0.15s; }
.lb-expand-link:hover { color: var(--ctai-yellow); }
.lb-expand-link:hover .arrow { transform: translateX(4px); }

/* ── Chevron ─────────────────────────────────────────── */
.tool-row td:last-child { position: relative; }
.tool-row td:last-child::after {
  content: '›';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 1rem;
  color: #6b7280;
  transition: color 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}
.tool-row:hover td:last-child::after { color: #d1d5db; }
.tool-row--expanded td:last-child::after {
  transform: translateY(-50%) rotate(-90deg);
  color: var(--ctai-yellow);
}

/* Score cell simplified (V2) */
.lb-td--score .lb-score-num { font-size: 1.1rem; }

/* ── Tools page — Minimal CTA ─────────────────────────── */
.lb-cta-section {
  padding: 64px 0 72px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 40px;
}
.lb-cta-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 40px;
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  background: var(--bg-secondary);
}
.lb-cta-left { display: flex; flex-direction: column; gap: 6px; }
.lb-cta-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--yellow);
}
.lb-cta-headline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.15;
}
.lb-cta-subtext {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}
.lb-cta-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.lb-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: rgba(var(--ctai-yellow-rgb),0.1);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.3);
  color: rgba(var(--ctai-yellow-rgb),0.85);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.lb-cta-primary:hover { background: rgba(var(--ctai-yellow-rgb),0.18); border-color: rgba(var(--ctai-yellow-rgb),0.6); color: var(--yellow); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(var(--ctai-yellow-rgb),0.12); }
.lb-cta-primary .arrow { transition: transform 0.15s; }
.lb-cta-primary:hover .arrow { transform: translateX(3px); }
.lb-cta-secondary {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
  transition: color 0.15s, border-color 0.15s;
}
.lb-cta-secondary:hover { color: var(--text-primary); border-color: var(--text-secondary); }
.lb-cta-proof {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-end;
}
@media (max-width: 640px) {
  .lb-cta-card { flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px 24px; }
  .lb-cta-proof { align-self: auto; white-space: normal; }
}
.lb-td--score .lb-score-denom { font-size: 0.65rem; color: var(--text-muted); font-family: var(--font-mono); margin-left: 1px; }

/* ===== 29. NEWSLETTER PAGE ===== */
.nl-cta-section {
  padding: 60px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}
@media (min-width: 768px) {
  .nl-cta-section { padding: 100px 0; }
}

.nl-hero {
  padding: 80px 0 60px;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}
@media (min-width: 768px) {
  .nl-hero { padding: 100px 0 80px; }
}
.nl-hero-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.nl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 0;
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.3);
  background: rgba(var(--ctai-yellow-rgb),0.08);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.nl-headline {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: var(--text-primary);
}
@media (min-width: 768px) {
  .nl-headline { font-size: 3.4rem; }
}
.nl-subhead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.nl-benefits-intro {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--yellow);
  margin-bottom: 12px;
  text-align: center;
}
.nl-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 auto 40px;
  width: fit-content;
}
.nl-benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.nl-benefit-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}
.nl-form { width: 100%; max-width: 520px; margin: 0 auto 24px; }
.nl-form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  .nl-form-row { flex-direction: row; }
}
.nl-input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 0;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  min-height: 48px;
}
.nl-input:focus { outline: none; border-color: var(--yellow); }
.nl-input::placeholder { color: var(--text-muted); }
.nl-btn {
  padding: 14px 24px;
  border-radius: 0;
  background: rgba(var(--ctai-yellow-rgb),0.1);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.3);
  color: rgba(var(--ctai-yellow-rgb),0.85);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  min-height: 48px;
  width: 100%;
}
@media (min-width: 768px) {
  .nl-btn { width: auto; }
}
.nl-btn:hover { background: rgba(var(--ctai-yellow-rgb),0.18); border-color: rgba(var(--ctai-yellow-rgb),0.6); color: var(--yellow); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(var(--ctai-yellow-rgb),0.12); }
.nl-disclaimer { font-size: 0.75rem; color: var(--text-muted); text-align: center; }
.nl-social-proof-line {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  margin: 4px 0 0;
  letter-spacing: 0.2px;
}
.nl-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.nl-proof-count { display: flex; align-items: center; gap: 6px; }
.nl-proof-num { font-size: 1.1rem; font-weight: 700; color: var(--yellow); }
.nl-proof-sep { opacity: 0.3; }

/* What's inside */
.nl-inside {
  padding: 60px 0;
  background: var(--bg-secondary);
}
@media (min-width: 768px) {
  .nl-inside { padding: 80px 0; }
}
.nl-inside-header { text-align: center; margin-bottom: 48px; }
.nl-inside-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-top: 16px;
}
.nl-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .nl-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .nl-cards { grid-template-columns: repeat(3, 1fr); }
}
.nl-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 28px;
}
.nl-card-icon {
  width: 44px; height: 44px;
  border-radius: 0;
  background: rgba(var(--ctai-yellow-rgb),0.1);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  margin-bottom: 18px;
}
.nl-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.nl-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Preview */
.nl-preview-section { padding: 60px 0; }
@media (min-width: 768px) {
  .nl-preview-section { padding: 80px 0; }
}
.nl-preview-header { text-align: center; margin-bottom: 40px; }
.nl-preview-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0;
  overflow: hidden;
}
.nl-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}
.nl-preview-sender { font-weight: 700; font-size: 0.9rem; color: var(--text-primary); }
.nl-preview-meta { font-size: 0.8rem; color: var(--text-muted); }
.nl-preview-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 0;
  background: rgba(var(--ctai-yellow-rgb),0.06);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.15);
  color: rgba(var(--ctai-yellow-rgb),0.6);
}
.nl-preview-subject {
  padding: 20px 24px 4px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.nl-preview-body {
  padding: 16px 24px 28px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  position: relative;
}
.nl-preview-body p { margin-bottom: 14px; }
.nl-preview-verdict { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.nl-preview-score {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(134,239,172,0.65);
  font-weight: 600;
}
.nl-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}
.nl-preview-footer .about-author-stamp {
  margin-top: 0;
  padding: 6px 12px;
  gap: 10px;
  border-color: var(--border-subtle);
  background: transparent;
}
.nl-preview-footer .about-author-avatar {
  width: 28px;
  height: 28px;
}
.nl-preview-footer .about-author-name { font-size: 0.7rem; }
.nl-preview-footer .about-author-title { font-size: 0.6rem; }
.nl-preview-footer-copy {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.3px;
  opacity: 0.6;
}
.nl-preview-footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nl-preview-footer-socials a {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nl-preview-footer-socials a:hover { color: var(--yellow); }
.nl-preview-blur-wrap { position: relative; }
.nl-preview-blur {
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg-card));
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.nl-preview-blur-cta {
  text-align: left;
  padding: 20px 16px 16px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(var(--ctai-yellow-rgb),0.65);
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

/* ===== 30. METHODOLOGY PAGE ===== */
.meth-hero {
  padding: 80px 0 60px;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}
@media (min-width: 768px) {
  .meth-hero { padding: 100px 0 80px; }
}
.meth-hero-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.meth-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin: 20px 0 24px;
  color: var(--text-primary);
}
@media (min-width: 768px) {
  .meth-title { font-size: 3.4rem; }
}
.meth-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}

/* Timeline */
.meth-timeline-section { padding: 60px 0 40px; }
@media (min-width: 768px) {
  .meth-timeline-section { padding: 80px 0 60px; }
}
.meth-timeline { max-width: 800px; margin: 0 auto; }
.meth-phase {
  display: flex;
  gap: 20px;
  position: relative;
}
@media (min-width: 768px) {
  .meth-phase { gap: 32px; }
}
.meth-phase-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.meth-phase-num {
  width: 42px; height: 42px;
  border-radius: 0;
  background: var(--yellow);
  color: #000;
  font-family: var(--font-stencil);
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .meth-phase-num { width: 52px; height: 52px; font-size: 1.1rem; }
}
.meth-phase-line {
  width: 2px;
  flex: 1;
  background: var(--border-color);
  margin: 8px 0;
  min-height: 32px;
}
.meth-phase-content { padding-bottom: 64px; flex: 1; }
.meth-phase--last .meth-phase-content { padding-bottom: 0; }
.meth-phase-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--yellow);
  margin-bottom: 6px;
}
.meth-phase-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.meth-phase-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.meth-phase-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 18px;
}
.meth-phase-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.meth-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 0;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  background: var(--bg-secondary);
}
.meth-verdict-showcase {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0;
  max-width: 380px;
}
.meth-verdict-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.meth-score-row { display: flex; align-items: center; }
.meth-score-bar-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.meth-verdict-tags { display: flex; gap: 8px; flex-wrap: wrap; }

/* Principles strip */
.meth-principles {
  padding: 48px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.meth-principles-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
}
@media (min-width: 768px) {
  .meth-principles-grid { flex-direction: row; flex-wrap: wrap; }
}
.meth-principle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}
@media (min-width: 768px) {
  .meth-principle {
    border-bottom: none;
    border-right: 1px solid var(--border-subtle);
    padding: 16px 32px;
  }
}
.meth-principle:last-child { border-bottom: none; border-right: none; }
.meth-principle svg { color: var(--yellow); flex-shrink: 0; }

/* ===== 31. CRASH TEST MY TOOL PAGE ===== */
.ct-hero {
  background: var(--bg-primary);
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .ct-hero { padding: 80px 0 70px; }
}
@media (min-width: 1024px) {
  .ct-hero { padding: 100px 0 80px; }
}
.ct-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    var(--stripe-color-hero) 0px,
    var(--stripe-color-hero) 1px,
    transparent 1px,
    transparent 28px
  );
  pointer-events: none;
}
.ct-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .ct-hero-inner { grid-template-columns: 1fr 360px; gap: 72px; }
}
.ct-service-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  border-radius: 0;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.ct-service-badge-dot {
  width: 6px; height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
.ct-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1.05;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}
@media (min-width: 768px) {
  .ct-hero-title { font-size: 2.8rem; }
}
@media (min-width: 1024px) {
  .ct-hero-title { font-size: 3.6rem; }
}
.ct-hero-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 32px;
}
.ct-hero-cta-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .ct-hero-cta-row { flex-direction: row; align-items: center; }
}
.ct-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(var(--ctai-yellow-rgb),0.1);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.3);
  color: rgba(var(--ctai-yellow-rgb),0.85);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 0;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s;
  min-height: 48px;
  text-align: center;
}
.ct-cta-primary:hover { background: rgba(var(--ctai-yellow-rgb),0.18); border-color: rgba(var(--ctai-yellow-rgb),0.6); color: var(--yellow); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(var(--ctai-yellow-rgb),0.12); }
.ct-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: 1px solid var(--border-color);
  padding: 12px 22px;
  border-radius: 0;
  transition: color var(--transition), border-color var(--transition);
  min-height: 48px;
  text-align: center;
}
.ct-cta-secondary:hover { color: var(--text-primary); border-color: var(--text-secondary); }
.ct-hero-proof {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.ct-proof-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.ct-proof-item a { color: var(--yellow); text-decoration: none; }
.ct-proof-item a:hover { text-decoration: underline; }

/* Price Card */
.ct-hero-right { display: flex; justify-content: center; }
.ct-price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 2px solid var(--yellow);
  border-radius: 0;
  padding: 20px;
  max-width: 100%;
  width: 100%;
}
@media (min-width: 768px) {
  .ct-price-card { padding: 28px; max-width: 400px; }
}
@media (min-width: 1024px) {
  .ct-price-card { max-width: none; }
}
.ct-price-card-top { text-align: center; margin-bottom: 20px; }
.ct-price-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ct-price { display: flex; align-items: flex-start; justify-content: center; gap: 3px; margin-bottom: 5px; }
.ct-price-currency {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--text-primary);
  line-height: 1;
  padding-top: 8px;
}
.ct-price-num {
  font-family: var(--font-stencil);
  font-weight: 700;
  font-size: 4rem;
  line-height: 1;
  color: var(--text-primary);
}
.ct-price-sub { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.3px; }
.ct-price-divider { height: 1px; background: var(--border-subtle); margin: 18px 0; }
.ct-price-includes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.ct-price-includes li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}
.ct-price-includes li svg { color: var(--ctai-green); flex-shrink: 0; }
.ct-price-delivery {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.ct-price-delivery svg { color: var(--yellow); }
.ct-price-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: rgba(var(--ctai-yellow-rgb),0.1);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.3);
  color: rgba(var(--ctai-yellow-rgb),0.85);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px;
  border-radius: 0;
  text-decoration: none;
  margin-bottom: 10px;
  transition: background var(--transition);
  min-height: 48px;
}
.ct-price-btn:hover { background: rgba(var(--ctai-yellow-rgb),0.18); border-color: rgba(var(--ctai-yellow-rgb),0.6); color: var(--yellow); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(var(--ctai-yellow-rgb),0.12); }
.ct-price-note { text-align: center; font-size: 0.72rem; color: var(--text-muted); margin: 0; }
.ct-price-pitch { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; margin: 0 0 16px; }
.ct-sample-link {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.ct-sample-link a,
.ct-operator-links a {
  color: var(--yellow);
  text-decoration: none;
}
.ct-sample-link a:hover,
.ct-operator-links a:hover {
  color: var(--ctai-yellow);
}
.ct-operator-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: 0;
  background: var(--bg-secondary);
  text-align: left;
}
.ct-operator-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}
.ct-operator-meta {
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.ct-operator-links {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
}
.ct-operator-links span {
  color: #666;
}

.ct-fit-section {
  padding: 0 0 40px;
}
.ct-fit-grid {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}
.ct-fit-card {
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 16px 18px;
  background: var(--bg-card);
}
.ct-fit-label {
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #666;
}
.ct-fit-value {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-primary);
}

/* Why section */
.ct-why-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-subtle);
}
@media (min-width: 768px) {
  .ct-why-section { padding: 80px 0; }
}
.ct-why-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: end;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .ct-why-header { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.ct-why-eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--yellow);
  margin: 0 0 14px;
}
.ct-why-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  text-transform: uppercase;
  margin: 0;
}
@media (min-width: 768px) {
  .ct-why-title { font-size: 1.75rem; }
}
.ct-why-lead {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}
.ct-why-log {
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 32px;
}
.ct-why-log-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
}
@media (min-width: 1024px) {
  .ct-why-log-row { grid-template-columns: 3fr 2fr; }
}
.ct-why-log-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--yellow);
}
.ct-why-log-row--last { border-bottom: none; }
.ct-why-log-left {
  padding: 16px 20px 16px 24px;
  border-right: none;
}
@media (min-width: 1024px) {
  .ct-why-log-left {
    padding: 22px 28px 22px 32px;
    border-right: 1px solid rgba(255,255,255,0.05);
  }
}
.ct-why-log-right {
  padding: 14px 20px 18px 24px;
  background: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}
@media (min-width: 1024px) {
  .ct-why-log-right {
    padding: 22px 28px;
    background: rgba(255,255,255,0.02);
    border-top: none;
  }
}
.ct-why-log-tool {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--yellow);
  margin-bottom: 8px;
}
.ct-why-log-finding {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
  margin: 0;
}
.ct-why-log-claim-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.ct-why-log-claim {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
  line-height: 1.5;
}
.ct-why-proof-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
@media (min-width: 768px) {
  .ct-why-proof-row { gap: 24px; }
}
.ct-pullquote {
  margin: 0;
  padding: 2rem 2rem 2rem 2.5rem;
  background: linear-gradient(135deg, rgba(var(--ctai-yellow-rgb),0.08) 0%, rgba(var(--ctai-yellow-rgb),0.03) 100%);
  border-left: 4px solid var(--yellow);
  border-radius: 0;
  position: relative;
  max-width: 72ch;
}
.ct-pullquote::before {
  content: '"';
  position: absolute;
  top: 0.75rem;
  left: 1.25rem;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(var(--ctai-yellow-rgb),0.2);
  line-height: 1;
}
.ct-pullquote-text {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
  margin: 0;
}

/* Brief + Application */
.ct-main {
  padding: 60px 0 80px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}
@media (min-width: 768px) {
  .ct-main { padding: 80px 0 100px; }
}
.ct-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 1024px) {
  .ct-main-grid { grid-template-columns: 340px 1fr; gap: 72px; }
}

/* Brief */
.ct-brief { position: static; }
@media (min-width: 1024px) {
  .ct-brief { position: sticky; top: 80px; }
}
.ct-brief-block {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}
.ct-brief-block:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.ct-brief-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--yellow);
  margin-bottom: 14px;
}
.ct-brief-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ct-brief-list li {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}
.ct-brief-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  background: var(--yellow);
  border-radius: 50%;
}
.ct-brief-body {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}
.ct-brief-block--guarantee {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(var(--ctai-yellow-rgb),0.05);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.15) !important;
  border-radius: 0;
  padding: 16px !important;
  margin-bottom: 0 !important;
}
.ct-brief-block--guarantee svg { color: var(--yellow); flex-shrink: 0; margin-top: 2px; }
.ct-brief-block--guarantee strong { display: block; font-size: 0.82rem; color: var(--text-primary); margin-bottom: 4px; }
.ct-brief-block--guarantee p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
.ct-brief-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}
.ct-brief-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.ct-brief-links a:hover { color: var(--yellow); }

/* Application form */
.ct-application {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0;
  overflow: hidden;
}
.ct-application-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-subtle);
}
@media (min-width: 768px) {
  .ct-application-header { padding: 28px 32px 24px; }
}
.ct-application-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.ct-application-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.ct-form {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 768px) {
  .ct-form { padding: 28px 32px; }
}
.ct-field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .ct-field-row { grid-template-columns: 1fr 1fr; }
}
.ct-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ct-field label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.ct-field-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
  font-size: 0.68rem;
}
.ct-field input,
.ct-field select,
.ct-field textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  min-height: 48px;
}
.ct-field input::placeholder,
.ct-field textarea::placeholder { color: var(--text-muted); }
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus { border-color: var(--yellow); }
.ct-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23777' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.ct-field textarea { resize: vertical; min-height: 84px; line-height: 1.5; }

/* Radio buttons */
.ct-radios { display: flex; flex-direction: column; gap: 8px; }
.ct-radio {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 0;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  user-select: none;
  min-height: 48px;
}
.ct-radio:has(input:checked) {
  border-color: rgba(var(--ctai-yellow-rgb),0.5);
  background: rgba(var(--ctai-yellow-rgb),0.04);
}
.ct-radio input[type="radio"] { display: none; }
.ct-radio-dot {
  width: 16px; height: 16px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s;
}
.ct-radio:has(input:checked) .ct-radio-dot { border-color: var(--yellow); }
.ct-radio:has(input:checked) .ct-radio-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--yellow);
  border-radius: 50%;
}
.ct-radio-label { flex: 1; }
.ct-radio-label strong { display: block; font-size: 0.87rem; color: var(--text-primary); font-weight: 600; }
.ct-radio-label span { font-size: 0.77rem; color: var(--text-muted); }

/* Form footer */
.ct-form-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ct-order-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 0;
}
.ct-order-name { font-weight: 700; font-size: 0.9rem; color: var(--text-primary); margin-bottom: 2px; }
.ct-order-meta { font-size: 0.75rem; color: var(--text-muted); }
.ct-order-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--yellow);
}
.ct-submit {
  display: block;
  width: 100%;
  background: rgba(var(--ctai-yellow-rgb),0.1);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.3);
  color: rgba(var(--ctai-yellow-rgb),0.85);
  border-radius: 0;
  padding: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s;
  min-height: 48px;
}
.ct-submit:hover { background: rgba(var(--ctai-yellow-rgb),0.18); border-color: rgba(var(--ctai-yellow-rgb),0.6); color: var(--yellow); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(var(--ctai-yellow-rgb),0.12); }
.ct-submit-note { text-align: center; font-size: 0.73rem; color: var(--text-muted); margin: 0; }

/* Form sections */
.ct-form-section {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}
.ct-form-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.ct-form-section-num {
  font-family: var(--font-stencil);
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--yellow);
  background: rgba(var(--ctai-yellow-rgb),0.1);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.25);
  border-radius: 0;
  padding: 3px 8px;
  letter-spacing: 1px;
}
.ct-form-section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
}
.ct-form-section-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Category pills */
.ct-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.ct-cat-pill {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-family: inherit;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.ct-cat-pill:hover { border-color: rgba(var(--ctai-yellow-rgb),0.4); color: var(--text-primary); }
.ct-cat-pill.active {
  background: rgba(var(--ctai-yellow-rgb),0.12);
  border-color: rgba(var(--ctai-yellow-rgb),0.5);
  color: var(--yellow);
  font-weight: 600;
}

/* Focus area chips */
.ct-focus-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ct-chip {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-family: inherit;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.ct-chip:hover { border-color: rgba(var(--ctai-yellow-rgb),0.4); color: var(--text-primary); }
.ct-chip.active {
  background: rgba(var(--ctai-yellow-rgb),0.1);
  border-color: rgba(var(--ctai-yellow-rgb),0.5);
  color: var(--yellow);
  font-weight: 600;
}

/* Hints */
.ct-field-hints {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.ct-field-hint-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  font-weight: 600;
}
.ct-hint {
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-family: inherit;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.ct-hint:hover { border-color: var(--yellow); color: var(--yellow); }

/* FAQ */
.ct-faq-section {
  padding: 0 0 80px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}
@media (min-width: 768px) {
  .ct-faq-section { padding: 0 0 100px; }
}
.ct-faq-header {
  padding: 60px 0 40px;
  max-width: 640px;
}
@media (min-width: 768px) {
  .ct-faq-header { padding: 80px 0 56px; }
}
.ct-faq-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  text-transform: uppercase;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin: 16px 0 12px;
  line-height: 1.1;
}
@media (min-width: 768px) {
  .ct-faq-headline { font-size: 2.6rem; }
}
.ct-faq-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 480px;
}
.ct-faq-accordion { border-top: 1px solid var(--border-color); }
.ct-faq-acc-item { border-bottom: 1px solid var(--border-color); }
.ct-faq-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  min-height: 48px;
}
.ct-faq-acc-q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--text-primary);
  line-height: 1.3;
  transition: color 0.2s;
}
@media (min-width: 768px) {
  .ct-faq-acc-q { font-size: 1.05rem; }
}
.ct-faq-acc-trigger:hover .ct-faq-acc-q { color: var(--yellow); }
.ct-faq-acc-icon {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.25s, color 0.2s;
}
.ct-faq-acc-trigger:hover .ct-faq-acc-icon { color: var(--yellow); }
.ct-faq-acc-item.open .ct-faq-acc-icon { transform: rotate(180deg); color: var(--yellow); }
.ct-faq-acc-item.open .ct-faq-acc-q { color: var(--yellow); }
.ct-faq-acc-body {
  display: none;
  padding: 0 0 28px;
  max-width: 780px;
}
.ct-faq-acc-item.open .ct-faq-acc-body { display: block; }
.ct-faq-acc-body p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0 0 12px;
}
.ct-faq-acc-body p:last-child { margin-bottom: 0; }
.ct-faq-acc-body a { color: var(--yellow); text-decoration: none; }
.ct-faq-acc-body a:hover { text-decoration: underline; }
.ct-faq-acc-body ul {
  margin: 0 0 12px;
  padding-left: 0;
  list-style: none;
}
.ct-faq-acc-body ul li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  padding: 4px 0 4px 20px;
  position: relative;
}
.ct-faq-acc-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-size: 0.8rem;
}

/* ===== 32. CRASH TEST POST TEMPLATE ===== */
/* crash-test-post.njk uses its own inline styles, not this file */

/* ===== 34. ACTIVE NAV STATE ===== */
.nav-link--active {
  color: var(--yellow) !important;
}
.btn-primary.nav-link--active {
  color: #000 !important;
}

/* ===== 35. UTILITY CLASSES ===== */
/* Hero CTA group */
.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
}
.hero-cta .btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: rgba(var(--ctai-yellow-rgb),0.1);
  border: 1px solid rgba(var(--ctai-yellow-rgb),0.3);
  color: rgba(var(--ctai-yellow-rgb),0.85);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.hero-cta .btn-primary:hover {
  background: rgba(var(--ctai-yellow-rgb),0.18);
  border-color: rgba(var(--ctai-yellow-rgb),0.6);
  color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--ctai-yellow-rgb),0.12);
}

/* =====================================================================
   MOBILE PORTRAIT OVERRIDES — max 767px
   ===================================================================== */
@media (max-width: 767px) {

  /* --- Hero H1: dominant, larger than other headings --- */
  .hero h1 { font-size: 3rem; letter-spacing: 0; width: 100%; }

  /* --- Global text centering --- */
  .hero-badge,
  .hero h1,
  .hero-description,
  .hero-sub,
  .hero-buttons,
  .section-label,
  .section-title,
  .section-description,
  .methodology-badge,
  .methodology-title,
  .methodology-description,
  .methodology-framing,
  .community-badge,
  .community-headline,
  .community-subtitle,
  .authority-strip,
  .cr-headline,
  .cr-subhead,
  .lb-headline,
  .lb-subhead,
  .nl-headline,
  .nl-subhead,
  .consume-card-title,
  .consume-card-desc,
  .consume-card-label,
  .fn-tab-header,
  .tests-header,
  .building-text,
  .building-stats,
  .view-all { text-align: center; }

  /* Hero badge and buttons centred */
  .hero-content { text-align: center; }
  .hero-badge { display: inline-flex; }
  .hero-buttons { justify-content: center; }

  /* Hero stats: centre each stat item */
  .hero-stats { align-items: center; }
  .hero-stat { text-align: center; }
  .hero-optin { text-align: center; }
  .hero-optin-row { justify-content: center; }
  .hero-optin-note { text-align: center; }

  /* Section descriptions centred */
  .section-description { margin-left: auto; margin-right: auto; }
  .methodology-description { margin-left: auto; margin-right: auto; }

  /* --- Body copy: consistent size and line-height --- */
  .hero-description,
  .hero-sub,
  .section-description,
  .methodology-description,
  .methodology-framing,
  .community-subtitle,
  .cr-subhead,
  .lb-subhead {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  /* --- Footer: centre everything on mobile --- */
  .footer-brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-brand .nav-logo { justify-content: center; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .footer-tagline { text-align: center; }
  .footer-col { text-align: center; }
  .footer-col a { justify-content: center; }
  .footer-col-title { text-align: center; }

  /* --- Methodology accordion: centre headers and content --- */
  .methodology-header { text-align: center; }
  /* Stack: number → title → arrow, all centred */
  .phase-header {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 16px;
  }
  .phase-header-left {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
  }
  .expand-icon {
    position: static;
    transform: none;
  }
  .phase-accordion.active .expand-icon {
    transform: rotate(180deg);
  }
  .phase-title-wrapper { text-align: center; width: 100%; }
  .phase-label,
  .phase-title,
  .phase-subtitle { text-align: center; }
  .phase-content-inner { padding: 16px 16px 24px; text-align: center; }
  .phase-description { text-align: center; }
  .phase-section { text-align: center; }
  .phase-section h4 { text-align: center; }
  .phase-activities { text-align: left; display: inline-block; }

  /* --- Crash card tool name and phases centred --- */
  .test-card-title { text-align: center; }
  .test-card-phases { justify-content: center; }

  /* --- Field note cards: icon and headings centred --- */
  .field-note-premium-content { align-items: center; text-align: center; }
  .field-note-tool-icon { margin-left: auto; margin-right: auto; }
  .field-note-tool-name { text-align: center; }
  .field-note-title { text-align: center; }

  /* --- Email inputs: centre placeholder text --- */
  .email-input,
  .hero-optin-input,
  .cr-input,
  .nl-input { text-align: center; }

  /* --- Section spacing: consistent 48px --- */
  .section { padding: 48px 0; }
  .methodology-section { padding: 48px 0; }
}

/* =====================================================================
   ABOUT PAGE
   ===================================================================== */

/* About hero — two-column layout, distinct from methodology */
.about-hero {
  padding: 80px 0 60px;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}
@media (min-width: 768px) {
  .about-hero { padding: 100px 0 80px; }
}
.about-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  text-align: center;
}
@media (min-width: 768px) {
  .about-hero-inner {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 64px;
  }
}
.about-hero-content {
  flex: 1;
}
.about-hero-content .meth-intro {
  margin: 0;
}
.about-hero-photo {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Woody circle avatar — used on about page hero and author stamps */
.woody-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid rgba(var(--ctai-yellow-rgb),0.65);
  box-shadow: 0 0 0 8px rgba(var(--ctai-yellow-rgb),0.08), 0 16px 48px rgba(0,0,0,0.45);
  display: block;
}
.about-hero-nameplate {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Author stamp — below hero, centred */
.about-author-stamp {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding: 14px 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  background: rgba(255,255,255,0.03);
}
.about-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(var(--ctai-yellow-rgb),0.4);
  flex-shrink: 0;
}
.about-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-author-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
}
.about-author-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}
.about-author-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.about-author-title {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.about-story {
  padding: 60px 0 0;
}

/* Chapter layout — editorial, distinct from methodology phases */
.about-chapter {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 0;
  border-top: 1px solid var(--border-subtle);
}
.about-chapter:first-child { border-top: none; padding-top: 0; }
.about-chapter--last { padding-bottom: 16px; }

.about-chapter-num {
  font-family: var(--font-stencil);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--yellow);
  opacity: 0.12;
  margin-bottom: -16px;
  letter-spacing: -2px;
  user-select: none;
}
@media (min-width: 768px) {
  .about-chapter-num { font-size: 7rem; margin-bottom: -22px; }
}
.about-chapter-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--text-primary);
  margin: 0 0 28px;
  position: relative;
}
@media (min-width: 768px) {
  .about-chapter-title { font-size: 2.6rem; }
}
.about-chapter-body { margin-bottom: 4px; }
.about-chapter-body p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.95;
  margin: 0 0 22px;
}
.about-chapter-body p:last-child { margin-bottom: 0; }

/* Pull-quote — subtle blockquote */
.about-pullquote {
  margin: 36px 0 0;
  padding: 0 0 0 20px;
  border: none;
  border-left: 2px solid rgba(var(--ctai-yellow-rgb),0.3);
  background: none;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Stats row — clean rule, no cards */
.about-stats-row {
  display: flex;
  gap: 0;
  margin: 32px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 28px 0;
}
.about-stat {
  flex: 1;
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid var(--border-subtle);
}
.about-stat:last-child { border-right: none; }
.about-stat-num {
  font-family: var(--font-stencil);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 8px;
}
.about-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Phases list — clean prose list, no cards */
.about-phases-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 28px 0 32px;
}
.about-phase-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.about-phase-item:first-child { border-top: 1px solid var(--border-subtle); }
.about-phase-num {
  font-family: var(--font-stencil);
  font-size: 1rem;
  font-weight: 700;
  color: var(--yellow);
  flex-shrink: 0;
  opacity: 0.5;
}
.about-phase-text strong { color: var(--text-primary); }

.about-tags-gap { margin-bottom: 18px; }
.about-inline-link {
  display: inline-block;
  color: var(--yellow);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 8px;
  transition: opacity 0.2s;
}
.about-inline-link:hover { opacity: 0.75; }
.about-cta-box {
  margin-top: 16px;
  padding: 36px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0;
  border-top: 3px solid var(--yellow);
}
.about-cta-box-prompt {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--text-primary);
  margin: 0 0 24px;
  text-align: center;
}
.about-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .about-story { padding: 40px 0 0; }
  .about-chapter { padding: 40px 0; }
  .about-cta-box { padding: 28px 24px; }
  .about-ctas { flex-direction: column; align-items: center; }
}

/* ===== MOBILE CENTRE ALIGNMENT (≤767px) ===== */
/* Homepage hero excluded — already correct.                  */
/* Crash-tests, methodology, newsletter, field-notes are      */
/* already centred in their own rules — only gaps fixed here. */
@media (max-width: 767px) {

  /* Crash Test My Tool — hero left column + FAQ header */
  .ct-hero-left      { text-align: center; }
  .ct-hero-inner     { justify-items: center; }
  .ct-faq-header     { text-align: center; }

  /* Methodology — principles strip */
  .meth-principles { padding: 15px 0; }
  .meth-principle  { justify-content: center; font-size: 0.95rem; padding: 14px 24px; }

  /* About — story section headings and meta row */
  .about-chapter-label { text-align: center; }
  .about-chapter-title { text-align: center; }
  /* About h1 — each phrase on its own line */
  .title-line { display: block; }

  /* Tools / Rankings — page header */
  .lb-page-header { align-items: center; }
  .lb-headline,
  .lb-subhead     { text-align: center; }

  /* Crash tests — dissolve filter-cat-btns so label + buttons share one flex row */
  .filter-cat-btns { display: contents; }
  .filter-row { justify-content: center; }

  /* Badge — reduce letter-spacing on mobile to proportionally shrink width */
  .hero-badge, .methodology-badge { letter-spacing: 0.8px; }

  /* Shared CTA section — lb-cta (crash-tests, methodology, field-notes, tools, about) */
  .lb-cta-card    { align-items: center; text-align: center; }
  .lb-cta-actions { justify-content: center; }

  /* Newsletter cta-v2 cards */
  .cta-v2-card { text-align: center; align-items: center; }
}
