/* ============================================
   LANDING PAGE - EASYAPPLYMAX
   Modern, Professional Design
   ============================================ */

/* CSS Variables */
:root {
  --primary: #0a66c2;
  --primary-light: #378fe9;
  --primary-dark: #004182;
  --primary-gradient: linear-gradient(135deg, #0a66c2 0%, #378fe9 100%);

  --accent-green: #10b981;
  --accent-purple: #8b5cf6;
  --accent-orange: #0a66c2;
  --accent-pink: #ec4899;
  --accent-cyan: #06b6d4;

  --gold: #0a66c2;
  --gold-light: #378fe9;
  --gold-gradient: linear-gradient(135deg, #0a66c2 0%, #378fe9 100%);

  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #0f172a;
  --bg-dark-secondary: #1e293b;

  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-tertiary: #94a3b8;
  --text-white: #ffffff;

  --border: #e2e8f0;
  --border-light: #f1f5f9;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

/* Metric-matched fallback for Inter (same values next/font uses): text keeps its width when the
   webfont swaps in, so link lists / chips no longer re-wrap (/blog CLS was 0.107 on desktop). */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Helvetica');
  size-adjust: 107.4%;
  ascent-override: 90.2%;
  descent-override: 22.48%;
  line-gap-override: 0%;
}

body {
  font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s ease;
}

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

.nav-dashboard {
  color: var(--primary) !important;
  font-weight: 600 !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 14px rgba(10, 102, 194, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 102, 194, 0.4);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--border-light);
  border-color: var(--primary-light);
}

.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.btn-large {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding: 140px 24px 80px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 102, 194, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 102, 194, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.badge-icon {
  font-size: 16px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  display: block;
  font-size: 28px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  margin-top: 8px;
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Brand-mark in H1 — leads the heading so search engines and users see the
   brand name first. Visually subtle, slightly darker than the rest of the H1
   so the gradient-text action verb still wins attention. */
.brand-mark {
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

.gradient-text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

/* Waitlist Form */
.waitlist-form {
  margin-bottom: 48px;
}

.waitlist-input-group {
  display: flex;
  gap: 12px;
  max-width: 500px;
}

.waitlist-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-family: inherit;
  color: var(--text-primary);
  background: white;
  transition: border-color 0.2s ease;
  outline: none;
}

.waitlist-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.1);
}

.waitlist-input-dark {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.waitlist-input-dark::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.waitlist-input-dark:focus {
  border-color: white;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.waitlist-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.waitlist-hint {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 12px;
}

.waitlist-success {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 16px;
  background: #ecfdf5;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: #059669;
}

.waitlist-success-dark {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}

.waitlist-extension-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.waitlist-extension-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.waitlist-form-cta {
  max-width: 500px;
  margin: 0 auto;
}

.waitlist-form-cta .waitlist-input-group {
  max-width: 100%;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hm-hero .hero-stats {
  margin-top: 28px;
}

@media (max-width: 480px) {
  .hm-hero .hero-stats {
    justify-content: center;
    gap: 16px;
  }
  .hm-hero .stat-number { font-size: 24px; }
  .hm-hero .stat-label { font-size: 12px; white-space: nowrap; }
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Main Extension Card */
.extension-card-main {
  background: white;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(10, 102, 194, 0.15), 0 0 0 1px rgba(10, 102, 194, 0.08);
  padding: 32px;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 2;
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.extension-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.extension-card-logo {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.extension-card-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.extension-card-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.extension-card-version {
  font-size: 12px;
  color: var(--text-tertiary);
}

.extension-card-status-badge {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  background: #dbeafe;
  color: #0a66c2;
  border-radius: var(--radius-full);
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Stats Row */
.extension-card-stats {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.extension-stat-item {
  text-align: center;
  padding: 16px 12px;
  background: var(--bg-secondary);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.extension-stat-item.running {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  flex-direction: row;
  justify-content: center;
  gap: 10px;
}

.extension-stat-item.running div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.extension-stat-icon {
  color: #0a66c2;
  display: flex;
  align-items: center;
}

.extension-stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.extension-stat-label {
  font-size: 11px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.running-text {
  font-size: 13px;
  font-weight: 600;
  color: #0a66c2;
}

/* Progress Bar */
.extension-card-progress {
  margin-bottom: 24px;
}

.extension-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.extension-progress-pct {
  font-weight: 700;
  color: var(--primary);
}

.extension-progress-bar {
  height: 8px;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.extension-progress-fill {
  height: 100%;
  width: 78%;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Activity Feed */
.extension-card-activity {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border-radius: 12px;
  font-size: 13px;
  transition: all 0.2s;
}

.activity-item.success svg {
  color: #10b981;
  flex-shrink: 0;
}

.activity-item span:first-of-type {
  flex: 1;
  font-weight: 500;
  color: var(--text-primary);
}

.activity-time {
  font-size: 11px;
  color: var(--text-tertiary);
  white-space: nowrap;
}

/* (old styles removed) */

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-section {
  padding: 40px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.trust-container p {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-tertiary);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.trust-logo:hover {
  opacity: 1;
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-badge.premium-badge {
  background: var(--gold-gradient);
  color: white;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-wrap: balance; /* no single orphan word on a second line */
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  padding: 100px 24px;
  background: var(--bg-primary);
}

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

.feature-card {
  padding: 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  color: var(--primary);
}

.feature-icon.purple {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  color: var(--accent-purple);
}

.feature-icon.green {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: var(--accent-green);
}

.feature-icon.orange {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: var(--primary);
}

.feature-icon.pink {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
  color: var(--accent-pink);
}

.feature-icon.cyan {
  background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%);
  color: var(--accent-cyan);
}

/* AI Autofill premium card — gold accent + Premium badge */
.feature-card-premium {
  position: relative;
  border: 1px solid #facc15;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 70%);
}

.feature-card-premium:hover {
  border-color: #f59e0b;
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.18);
}

.feature-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.feature-icon.feature-icon-gold {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #b45309;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   PREMIUM SECTION
   ============================================ */
.premium-section {
  padding: 100px 24px;
  background: linear-gradient(180deg, #f0f4ff 0%, #e8eeff 50%, #dce4ff 100%);
}

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

.premium-card {
  padding: 32px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: all 0.3s ease;
}

.premium-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl);
}

.premium-card.featured {
  border: 2px solid var(--gold);
  transform: scale(1.05);
}

.premium-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.premium-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--gold-gradient);
  color: white;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.premium-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-radius: var(--radius-lg);
  margin: 0 auto 24px;
  color: var(--gold);
}

.premium-icon.purple {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  color: var(--accent-purple);
}

.premium-icon.green {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: var(--accent-green);
}

.premium-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 12px;
}

.premium-card > p {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.6;
}

.premium-features-list {
  list-style: none;
}

.premium-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text-secondary);
}

.premium-features-list li svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
  padding: 100px 24px;
  background: var(--bg-secondary);
}

/* Pricing period tabs (Weekly / Monthly / Annual) */
.pricing-period-tabs {
  display: inline-flex;
  align-items: stretch;
  margin: 0 auto 40px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.pricing-period-tabs .period-tab {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .pricing-period-tabs .period-tab { padding: 9px 14px; font-size: 14px; }
}
.pricing-period-tabs .period-tab:hover { color: var(--text-primary); }
.pricing-period-tabs .period-tab.active {
  background: var(--bg-primary, #fff);
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.pricing-period-tabs .period-tab-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
}
.weekly-only-note {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
  font-style: italic;
}

/* Pricing Toggle (legacy, kept for other pages) */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.pricing-toggle-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s, font-weight 0.2s;
}

.pricing-toggle-label.active {
  color: var(--text-primary);
  font-weight: 600;
}

.pricing-switch {
  position: relative;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
}

.pricing-switch input {
  display: none;
}

.pricing-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--border);
  border-radius: 28px;
  cursor: pointer;
  transition: background 0.3s;
}

.pricing-slider:before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.pricing-switch input:checked + .pricing-slider {
  background: var(--primary);
}

.pricing-switch input:checked + .pricing-slider:before {
  transform: translateX(24px);
}

.pricing-save-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.pricing-billed {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
  text-align: center;
  display: none;
}

.pricing-billed.visible {
  display: block;
}

/* "or $49.90 once — lifetime access" under the monthly price (2026-10-13) */
.pricing-lifetime-hint {
  /* 2026-10-17 (Théo): sits right under the monthly price instead of floating below it */
  margin: -6px 0 0;
  line-height: 1.3;
  text-align: center;
  font-size: 13px;
}
.pricing-price + .pricing-lifetime-hint .pricing-lifetime-link { padding: 0 4px; }
.pricing-lifetime-hint.hidden-period { display: none; }
.pricing-lifetime-link {
  background: none;
  border: none;
  padding: 2px 4px;
  font: inherit;
  color: var(--primary, #2563eb);
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(37, 99, 235, 0.35);
}
.pricing-lifetime-link:hover { text-decoration-color: currentColor; }
.pricing-lifetime-hint-price { font-weight: 700; }
.pricing-period-tabs .period-tab-badge-nosub {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}
/* Two badges on the Lifetime tab: let them wrap under the label on phones
   (FR "Paiement unique" + "Sans abonnement" pushed the page to 434 px). */
@media (max-width: 480px) {
  .pricing-period-tabs { max-width: calc(100% - 32px); }
  .pricing-period-tabs .period-tab { flex-wrap: wrap; justify-content: center; row-gap: 4px; white-space: normal; }
  .pricing-period-tabs .period-tab > span { white-space: nowrap; }
}
/* Lifetime prices are wider ("$149.90 one-time" wrapped on desktop and pushed the
   Unlimited card's features ~30 px below Premium's) — slightly smaller numerals on
   that tab keep price + suffix on one line in every card. */
#pricing.is-lifetime .pricing-price .price { font-size: 42px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  padding: 40px;
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card .btn-block {
  margin-top: auto;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-card:hover {
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.02);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--primary-gradient);
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
}

.pricing-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.pricing-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.pricing-price .price {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--text-primary);
}

.pricing-price .period {
  font-size: 16px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li.included {
  color: var(--text-primary);
}

.pricing-features li.included svg {
  color: var(--accent-green);
}

.pricing-features li.excluded {
  color: var(--text-tertiary);
}

.pricing-features li.excluded svg {
  color: var(--text-tertiary);
}

.pricing-features li.highlight {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  margin: 0 -40px;
  padding: 12px 40px;
  border-radius: 0;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  padding: 100px 24px;
  background: var(--bg-primary);
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.step-card {
  text-align: center;
  padding: 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  max-width: 280px;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  color: white;
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-connector {
  color: var(--border);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  padding: 100px 24px;
  background: var(--bg-secondary);
}

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

.testimonial-card {
  padding: 32px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 16px;
}

.testimonial-card > p {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.author-avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  color: white;
  font-weight: 700;
  font-size: 14px;
  border-radius: 50%;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  font-size: 14px;
  color: var(--text-primary);
}

.author-info span {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px 24px;
  background: var(--primary-gradient);
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content {
  text-align: center;
}

.cta-content h2 {
  font-size: 40px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* phones: the two CTAs stack full width ("Add the extension to Chrome" wrapped to 3 lines side by side) */
@media (max-width: 560px) {
  .cta-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
  .cta-buttons .btn { justify-content: center; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 80px 24px 32px;
  background: var(--bg-dark);
  color: var(--text-white);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--bg-dark-secondary);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  color: white;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
/* Social icons under brand tagline (moved from footer-bottom 2026-09-05) */
.footer-brand .footer-social a { color: #94a3b8; transition: color .15s ease; }
.footer-brand .footer-social a:hover { color: #fff; }

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}

.footer-column a {
  display: block;
  font-size: 14px;
  color: var(--text-tertiary);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 14px;
  color: var(--text-tertiary);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--text-tertiary);
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: white;
}

.footer-legal {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}

.footer-legal a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: white;
}

.footer-legal span {
  color: var(--text-tertiary);
  opacity: 0.5;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  /* Tablets (iPad 810 px, WebKit run 2026-10-09): the full nav + 3 pricing columns
     overflowed to 917 px ("Install Extensio…" cut, Unlimited card off-screen).
     Hamburger + single pricing column from 1024 px down; the open-menu styles
     injected by landing.js are width-agnostic. */
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
  }

  .pricing-card {
    min-width: 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

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

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

  .hero-visual {
    display: none;
  }

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

  .premium-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .premium-card.featured {
    transform: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .section-header h2 {
    font-size: 32px;
  }

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

  .pricing-grid {
    /* minmax(0,1fr): a bare 1fr column grows to its min-content and pushed
       the cards 2px past a 360px viewport (sweep 2026-09-26). */
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-card {
    min-width: 0;
    padding: 32px 22px;
  }

  /* Highlighted feature rows bleed to the card edge with negative margins
     that must match the card's horizontal padding. */
  .pricing-features li.highlight {
    margin: 0 -22px;
    padding: 12px 22px;
  }

  .pricing-card.featured {
    transform: none;
  }

  .steps-grid {
    flex-direction: column;
  }

  .step-connector {
    transform: rotate(90deg);
  }

  .waitlist-input-group {
    flex-direction: column;
  }

  .waitlist-btn {
    width: 100%;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .demo-video-container {
    flex-direction: column;
  }

  .demo-features {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================
   DEMO SECTION
   ============================================ */
.demo-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.demo-video-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.demo-video-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--bg-dark);
  aspect-ratio: 16/9;
}

.demo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.demo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
  cursor: pointer;
  transition: all 0.3s ease;
}

.demo-placeholder:hover {
  background: linear-gradient(135deg, var(--bg-dark-secondary) 0%, var(--bg-dark) 100%);
}

.demo-placeholder:hover .play-button {
  transform: scale(1.1);
}

.play-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(10, 102, 194, 0.4);
  transition: transform 0.3s ease;
}

.play-button svg {
  color: white;
  width: 32px;
  height: 32px;
}

.demo-placeholder p {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 8px;
}

.demo-placeholder span {
  font-size: 14px;
  color: var(--text-tertiary);
}

.demo-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.demo-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.demo-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}

.demo-feature svg {
  color: var(--accent-green);
}

/* ============================================
   BLOG STYLES
   ============================================ */

/* Blog Hero (listing page) */
.blog-hero {
  padding: 140px 24px 60px;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  text-align: center;
}

.blog-hero h1 {
  font-size: 44px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.blog-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

/* Blog Card */
.blog-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 50%, #ddd6fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-card-image svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
  opacity: 0.5;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  width: fit-content;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
  /* Reserve exactly 3 lines so titles across a row stay vertically
     aligned even when one is shorter (2026-08-03 fix — related-articles
     grid on blog pages had short titles making excerpts start at
     different Y positions). Cards keep same total height anyway thanks
     to flex, but the title-start-to-excerpt-start alignment reads
     "not aligned" without this floor. */
  min-height: calc(3 * 1.4em);
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.blog-card-date {
  font-size: 12px;
  color: var(--text-tertiary);
}

.blog-card-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Article Layout */
.article-container {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px;
}

.article-header {
  padding: 140px 24px 40px;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
}

.article-header .article-container {
  padding: 0;
  max-width: 740px;
  margin: 0 auto;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}

.article-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.article-breadcrumb a:hover {
  text-decoration: underline;
}

.article-breadcrumb span {
  color: var(--text-tertiary);
}

.article-tag {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.article-header h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

.article-meta time {
  font-weight: 500;
}

.article-meta .reading-time {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Article Content */
.article-content {
  padding: 48px 24px 60px;
  overflow-x: hidden;
}
.article-content table { max-width: 100%; overflow-x: auto; display: block; }
.article-content img { max-width: 100%; height: auto; }
.article-content pre { max-width: 100%; overflow-x: auto; }

.article-content .article-container {
  padding: 0;
  max-width: 740px;
  margin: 0 auto;
}

.article-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.article-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 12px;
}

.article-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.article-content li {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
}

.article-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--bg-secondary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-content blockquote p {
  margin-bottom: 0;
  font-style: italic;
  color: var(--text-primary);
}

.article-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-content a:hover {
  color: var(--primary-dark);
}

/* Buttons inside article bodies keep their button look (the link rule above made
   .btn-primary text blue-on-blue + underlined on compare / blog CTAs, 2026-10-18). */
.article-content a.btn { text-decoration: none; }
.article-content a.btn-primary, .article-content a.btn-primary:hover,
.article-content a.btn-outline, .article-content a.btn-outline:hover { color: #fff; }
.article-content a.btn-secondary, .article-content a.btn-secondary:hover { color: var(--text-primary); }
.article-content a.btn-white, .article-content a.btn-white:hover { color: var(--primary); }

/* Article CTA */
.article-cta {
  background: var(--primary-gradient);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  margin: 48px 0;
}

.article-cta h3 {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  margin-top: 0;
}

.article-cta p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.article-cta .btn {
  display: inline-flex;
}

/* Related Searches (cross-links between job pages) */
.related-searches {
  padding: 60px 24px 40px;
  background: var(--bg-primary);
}
.related-searches .container {
  max-width: 900px;
  margin: 0 auto;
}
.related-searches h2 {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  color: var(--text-primary);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.related-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-color: var(--primary);
}
.related-icon {
  font-size: 32px;
  line-height: 1;
}
.related-title {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .related-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* Related Articles */
.related-articles {
  padding: 60px 24px 100px;
  background: var(--bg-secondary);
}

.related-articles h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 40px;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Blog Responsive */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* Mobile tap-target compliance — WCAG 2.5.5 recommends 44px min, we use
   48px following iOS + Material Design guidance. Prior audit 2026-08-15
   measured hero + pricing CTAs at 32-35px — too small for reliable
   thumb-tap on phones. Applies to every .btn everywhere. */
@media (max-width: 768px) {
  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-lg,
  a.btn {
    min-height: 48px;
    padding-top: 14px;
    padding-bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .btn-sm {
    min-height: 40px;
  }
}

@media (max-width: 768px) {
  .blog-hero h1 {
    font-size: 32px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .article-header h1 {
    font-size: 28px;
  }

  .article-cta {
    padding: 32px 24px;
  }

  .related-articles-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ========= Language Switcher ========= */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-toggle {
  display: flex;
  align-items: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-toggle:hover {
  background: rgba(0,0,0,0.05);
}

.lang-flag {
  width: 28px;
  height: 21px;
  object-fit: cover;
  border-radius: 3px;
}

.lang-dropdown {
  display: none;
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a2e;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 1000;
  min-width: 150px;
  padding: 4px;
  animation: langFadeIn 0.15s ease;
}

.lang-dropdown.open {
  display: block;
}

@keyframes langFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(4px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s;
}

.lang-option:hover {
  background: rgba(255,255,255,0.1);
}

.lang-option.active {
  background: rgba(10, 102, 194, 0.2);
  color: #fff;
  font-weight: 600;
}

.lang-option img {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}

/* Lang switcher in navbar (light background) */
.nav-actions .lang-toggle:hover {
  background: var(--bg-secondary);
}
.nav-actions .lang-dropdown {
  bottom: auto;
  top: calc(100% + 4px);
  background: #fff;
  border-color: var(--border);
  box-shadow: var(--shadow-lg);
  animation: langFadeInDown 0.15s ease;
}
.nav-actions .lang-option {
  color: var(--text-secondary);
}
.nav-actions .lang-option:hover {
  background: var(--bg-secondary);
}
.nav-actions .lang-option.active {
  background: rgba(10,102,194,0.1);
  color: var(--primary);
}

@keyframes langFadeInDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-4px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================
   HOMEPAGE v2 (2026-10-02) — one promise, real product screens.
   All classes prefixed hm- so other pages sharing landing.css are untouched.
   ============================================ */
.hm-hero { min-height: auto; padding: 128px 24px 64px; }
.hm-hero-container { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; }
.hm-hero h1 { font-size: 44px; }
.hm-hero .hero-subtitle { font-size: 22px; line-height: 1.3; margin-top: 14px; color: var(--text-primary); font-weight: 700; }
.hm-hero-cta { flex-wrap: wrap; margin-bottom: 16px; }
.hm-hero-note { font-size: 14px; color: var(--text-secondary); }
.hm-hero-visual { position: relative; padding: 0 0 48px 40px; }
.hm-hero-popup {
  position: absolute; left: -8px; bottom: 0; width: 46%; height: auto;
  border-radius: 14px; background: #fff; border: 1px solid var(--border);
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.28);
}
.hm-frame {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(10, 102, 194, 0.28), 0 8px 20px -8px rgba(15, 23, 42, 0.12);
}
.hm-frame-bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  background: #f1f5f9; border-bottom: 1px solid var(--border);
}
.hm-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; display: block; flex: none; }
.hm-frame-bar i:nth-child(1) { background: #f87171; }
.hm-frame-bar i:nth-child(2) { background: #fbbf24; }
.hm-frame-bar i:nth-child(3) { background: #34d399; }
.hm-frame-url {
  margin-left: 10px; flex: 1; min-width: 0; font-size: 12px; color: var(--text-secondary);
  background: #fff; border-radius: 6px; padding: 3px 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hm-frame img, .hm-popup-shot { display: block; width: 100%; height: auto; }

.hm-works { background: #fff; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); padding: 28px 24px; }
.hm-works-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; }
.hm-works-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-tertiary); }
.hm-works-row { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.hm-works-item { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hm-works-sites { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.hm-pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #f1f5f9; color: var(--text-secondary); white-space: nowrap; }
.hm-pill-blue { background: #dbeafe; color: var(--primary); }

/* Plan comparison table (2026-10-12) — replaces .hm-works pills + employer logos on the homepage */
.hm-plans { background: #fff; border-top: 1px solid var(--border-light); padding: 80px 24px; }
.hm-plans .section-header p { color: var(--text-secondary); font-size: 17px; margin-top: 10px; }
.hm-plans-wrap { max-width: 980px; margin: 0 auto; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.18); }
.hm-plans-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.hm-plans-table thead th { font-size: 17px; font-weight: 800; color: var(--text-primary); padding: 20px 12px 14px; text-align: center; }
.hm-plans-table thead td:first-child, .hm-plans-table tbody th, .hm-plans-table tfoot td:first-child { width: 44%; }
.hm-plans-table tbody th { text-align: left; font-weight: 600; color: var(--text-primary); padding: 14px 20px; line-height: 1.45; }
.hm-plans-table tbody td { text-align: center; padding: 14px 10px; color: var(--text-secondary); font-weight: 600; }
.hm-plans-table tbody tr { border-top: 1px solid var(--border-light); }
.hm-plans-table tbody tr:nth-child(odd) { background: #fafcff; }
.hm-plans-table .hm-col-prem { background: #eff6ff; }
.hm-plans-table thead .hm-col-prem { color: var(--primary); box-shadow: inset 0 3px 0 var(--primary); }
.hm-plans-table tbody td:nth-child(3) { background: rgba(219, 234, 254, 0.45); color: var(--text-primary); }
.hm-plans-table strong { color: var(--primary); }
.hm-ok { width: 20px; height: 20px; fill: var(--primary); vertical-align: middle; }
.hm-no { color: #cbd5e1; font-weight: 700; }
.hm-plans-table tfoot td { padding: 18px 12px 22px; text-align: center; vertical-align: top; border-top: 1px solid var(--border); }
.hm-plans-price { display: block; font-size: 20px; font-weight: 800; color: var(--text-primary); margin-bottom: 10px; }
.hm-plans-table tfoot .btn { padding: 10px 12px; font-size: 14px; white-space: normal; }
.hm-plans-never { max-width: 760px; margin: 22px auto 0; text-align: center; font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.hm-how { background: var(--bg-secondary); padding: 88px 24px; }
.hm-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1080px; margin: 0 auto; }
.hm-step.step-card { max-width: none; text-align: left; }
.hm-step .step-number { margin: 0 0 16px; }

.hm-showcase { padding: 96px 24px; background: #fff; }
.hm-row { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; max-width: 1160px; margin: 0 auto 88px; }
.hm-row:last-child { margin-bottom: 0; }
.hm-row-rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.hm-row-rev .hm-row-text { order: 2; }
.hm-row-rev .hm-row-media { order: 1; }
.hm-kicker { display: inline-block; font-size: 13px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.hm-row-text h3 { font-size: 30px; line-height: 1.2; font-weight: 800; color: var(--text-primary); letter-spacing: -0.01em; margin-bottom: 18px; }
.hm-list { list-style: none; margin-bottom: 22px; }
.hm-list li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 16px; line-height: 1.55; color: var(--text-secondary); }
.hm-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #dbeafe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a66c2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.hm-links { display: flex; gap: 18px; flex-wrap: wrap; }
.hm-links a { color: var(--primary); font-weight: 600; font-size: 15px; text-decoration: none; }
.hm-links a:hover { text-decoration: underline; }
.hm-media-soft { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); border-radius: 20px; padding: 40px; display: flex; justify-content: center; }
.hm-popup-shot { max-width: 400px; border-radius: 14px; border: 1px solid var(--border); box-shadow: 0 24px 48px -16px rgba(15, 23, 42, 0.25); background: #fff; }

.hm-showcase ~ .demo-section { padding: 88px 24px; }
.hm-showcase ~ .pricing-section { background: #fff; }

.hm-faq { padding: 88px 24px; background: #fff; }
.hm-faq-list { max-width: 820px; margin: 0 auto; }
.hm-faq-item { border: 1px solid var(--border); border-radius: 14px; padding: 0 22px; margin-bottom: 12px; background: #fff; }
.hm-faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative;
  font-size: 17px; font-weight: 700; color: var(--text-primary);
}
.hm-faq-item summary::-webkit-details-marker { display: none; }
.hm-faq-item summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; font-weight: 500; color: var(--primary); }
.hm-faq-item[open] summary::after { content: "\2013"; }
.hm-faq-item p { padding: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--text-secondary); }
.hm-faq-more { text-align: center; margin-top: 20px; }
.hm-faq-more a { color: var(--primary); font-weight: 600; text-decoration: none; }

@media (max-width: 1024px) {
  .hm-hero { padding: 112px 20px 48px; }
  .hm-hero-container { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hm-hero-visual { max-width: 720px; margin: 0 auto; width: 100%; padding: 0 0 40px 28px; }
  .hm-row, .hm-row-rev { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 64px; }
  .hm-row-rev .hm-row-text, .hm-row .hm-row-text { order: 1; }
  .hm-row-rev .hm-row-media, .hm-row .hm-row-media { order: 2; }
}
@media (max-width: 768px) {
  .hm-hero h1 { font-size: 34px; }
  .hm-hero .hero-subtitle { font-size: 19px; }
  .hm-hero .hero-description { font-size: 16px; margin-bottom: 24px; }
  .hm-hero-cta { flex-direction: column; align-items: stretch; }
  .hm-hero-cta .btn { justify-content: center; }
  .hm-hero-visual { padding: 0 0 32px 16px; }
  .hm-hero-popup { width: 52%; left: 0; }
  .hm-steps { grid-template-columns: minmax(0, 1fr); }
  .hm-how, .hm-showcase, .hm-faq { padding: 64px 16px; }
  .hm-row-text h3 { font-size: 24px; }
  .hm-media-soft { padding: 20px; }
  .hm-works-inner { gap: 14px; }
  .hm-works-item { justify-content: center; text-align: center; }
  .hm-works-sites { font-size: 14px; }
  /* plans table → each feature label on its own line, the 3 plan values underneath */
  .hm-plans { padding: 56px 16px; }
  .hm-plans-wrap { border-radius: 14px; }
  .hm-plans-table, .hm-plans-table thead, .hm-plans-table tbody, .hm-plans-table tfoot { display: block; }
  .hm-plans-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-plans-table thead td:first-child, .hm-plans-table tfoot td:first-child { display: none; }
  .hm-plans-table tbody th { grid-column: 1 / -1; width: auto; padding: 12px 14px 4px; font-size: 14px; }
  .hm-plans-table thead th { font-size: 15px; padding: 14px 6px 10px; }
  .hm-plans-table tbody td { padding: 6px 6px 12px; font-size: 13px; }
  .hm-plans-table tfoot td { padding: 14px 6px 16px; }
  .hm-plans-price { font-size: 14px; }
  .hm-plans-table tfoot .btn { font-size: 13px; padding: 9px 6px; }
}

/* Blog — standard product block (scripts/blog-enhance.js, 2026-10-13) */
.aam-blog-tools { padding: 8px 24px 56px; background: var(--bg-primary); }
.aam-bt-inner { max-width: 820px; margin: 0 auto; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.aam-bt-inner h2 { font-size: 24px; font-weight: 800; color: var(--text-primary); margin: 0 0 6px; text-wrap: balance; }
.aam-bt-sub { color: var(--text-secondary); font-size: 15px; margin: 0 0 20px; }
.aam-bt-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.aam-bt-step { display: flex; flex-direction: column; gap: 6px; background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px; text-decoration: none; color: var(--text-primary); position: relative; transition: border-color .15s, box-shadow .15s, transform .15s; }
.aam-bt-step:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.aam-bt-num { position: absolute; top: 14px; right: 16px; font-size: 12px; font-weight: 700; color: var(--text-tertiary); }
.aam-bt-icon { color: var(--primary); }
.aam-bt-step strong { font-size: 16px; line-height: 1.3; }
.aam-bt-text { font-size: 14px; line-height: 1.5; color: var(--text-secondary); flex: 1; }
.aam-bt-cta { font-size: 14px; font-weight: 700; color: var(--primary); margin-top: 4px; }
.aam-bt-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 20px; font-size: 14px; }
.aam-bt-tools span { color: var(--text-secondary); font-weight: 600; }
.aam-bt-tools a { color: var(--primary); text-decoration: none; font-weight: 600; }
.aam-bt-tools a:hover { text-decoration: underline; }
.aam-bt-related { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.aam-bt-related h3 { font-size: 17px; margin: 0 0 8px; color: var(--text-primary); }
.aam-bt-related ul { margin: 0; padding-left: 18px; }
.aam-bt-related li { margin: 6px 0; }
.aam-bt-related a { color: var(--primary); text-decoration: none; }
.aam-bt-related a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .aam-blog-tools { padding: 4px 16px 40px; }
  .aam-bt-inner { padding: 22px 18px; }
  .aam-bt-inner h2 { font-size: 20px; }
  .aam-bt-steps { grid-template-columns: 1fr; }
}

/* Blog — inline "add it to a tailored resume" CTA + certification cross-links (2026-10-13) */
.aam-inline-cta { display: flex; align-items: center; gap: 20px; margin: 28px 0; padding: 20px 22px; background: var(--bg-secondary); border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: var(--radius-md); }
.aam-ic-text { flex: 1; min-width: 0; }
.article-content .aam-inline-cta .aam-ic-title { font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--text-primary); margin: 0 0 6px; }
.article-content .aam-inline-cta .aam-ic-sub { font-size: 14.5px; line-height: 1.55; color: var(--text-secondary); margin: 0; }
.aam-ic-actions { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.article-content a.aam-ic-btn { color: #fff; text-decoration: none; white-space: nowrap; }
.article-content a.aam-ic-link { font-size: 13.5px; font-weight: 600; text-decoration: none; }
.aam-cert-hub { margin: 32px 0; padding: 18px 20px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md); }
.article-content .aam-cert-hub .aam-ch-title { font-size: 16px; font-weight: 700; color: var(--text-primary); margin: 0 0 12px; }
.article-content .aam-cert-hub ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.article-content .aam-cert-hub li { margin: 0; padding: 0; }
.article-content .aam-cert-hub li::before { content: none; }
.article-content .aam-cert-hub a { display: inline-block; padding: 6px 12px; font-size: 14px; font-weight: 500; line-height: 1.3; background: var(--bg-primary); border: 1px solid var(--border); border-radius: 999px; text-decoration: none; }
.article-content .aam-cert-hub a:hover { border-color: var(--primary); }
@media (max-width: 640px) {
  .aam-inline-cta { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px 16px; }
  .aam-ic-actions { align-items: stretch; }
  .article-content a.aam-ic-btn { justify-content: center; white-space: normal; text-align: center; }
}

/* Blog — E-E-A-T byline under the date line (scripts/blog-eeat.js, 2026-10-13) */
.article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); }
.article-byline a { color: var(--primary); font-weight: 600; text-decoration: none; }
.article-byline a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .article-byline { gap: 2px 14px; font-size: 13px; }
}
/* inline CTA outside .article-content (data-study template) */
.aam-inline-cta .aam-ic-title { font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--text-primary); margin: 0 0 6px; }
.aam-inline-cta .aam-ic-sub { font-size: 14.5px; line-height: 1.55; color: var(--text-secondary); margin: 0; }
.aam-inline-cta a.aam-ic-btn { color: #fff; text-decoration: none; white-space: nowrap; }
.aam-inline-cta a.aam-ic-link { font-size: 13.5px; font-weight: 600; text-decoration: none; }

/* Job search guides series (/guides + blog/<guide>, scripts/guides/build.js, 2026-10-14) */
.aam-guide-tldr { margin: 24px 0; padding: 18px 22px; background: #f0f7ff; border: 1px solid #cfe2f7; border-radius: var(--radius-md); }
.article-content .aam-guide-tldr p.aam-gt-title { font-size: 15px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: #0a4f96; margin: 0 0 8px; }
.article-content .aam-guide-tldr ul { margin: 0; padding-left: 20px; }
.article-content .aam-guide-tldr li { margin: 4px 0; }
.aam-guide-toc { margin: 24px 0; padding: 16px 20px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md); }
.article-content .aam-guide-toc p.aam-gtoc-title { font-weight: 700; margin: 0 0 6px; color: var(--text-primary); }
.article-content .aam-guide-toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 28px; }
.article-content .aam-guide-toc li { margin: 3px 0; break-inside: avoid; font-size: 15px; }
.article-content .aam-guide-toc a { text-decoration: none; }
.article-content .aam-check { list-style: none; padding-left: 0; }
.article-content .aam-check li { position: relative; padding-left: 30px; margin: 8px 0; }
.article-content .aam-check li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 16px; height: 16px; border: 2px solid var(--primary); border-radius: 4px; background: #fff; }
.aam-template { margin: 18px 0 22px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; overflow: hidden; }
.article-content .aam-template p.aam-tpl-label { margin: 0; padding: 8px 16px; font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #475569; background: #f8fafc; border-bottom: 1px solid var(--border); }
.article-content .aam-template pre { margin: 0; padding: 14px 16px; white-space: pre-wrap; word-wrap: break-word; font-family: inherit; font-size: 15px; line-height: 1.6; color: #1e293b; background: #fff; border: 0; }
.aam-country { margin: 18px 0; padding: 14px 18px; border-left: 4px solid #0a66c2; background: #f8fafc; border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.article-content .aam-country p { margin: 0 0 6px; }
.article-content .aam-country p:last-child { margin-bottom: 0; }
.aam-mistake { margin: 18px 0; padding: 14px 18px; border-left: 4px solid #dc2626; background: #fef2f2; border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.article-content .aam-mistake p { margin: 0 0 6px; }
.article-content .aam-mistake p:last-child { margin-bottom: 0; }
.aam-guide-table { width: 100%; min-width: 560px; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.aam-guide-table th { text-align: left; padding: 8px; background: #f3f4f6; border-bottom: 2px solid #e5e7eb; }
.aam-guide-table td { padding: 8px; border-bottom: 1px solid #e5e7eb; vertical-align: top; }
.aam-sources { font-size: 14.5px; }
.article-content .aam-sources li { margin: 5px 0; }
@media (max-width: 640px) {
  .article-content .aam-guide-toc ol { columns: 1; }
  .aam-guide-tldr, .aam-guide-toc { padding: 14px 16px; }
}
