/*
 * critical.css — GENERATED FILE. Do not edit by hand.
 * Regenerate after editing tools.css:
 *   python3 scripts/build-critical-css.py
 * Contains above-the-fold rules extracted from tools.css to
 * avoid render-blocking the full 227 KB stylesheet.
 */

/* ── SVG Icons (critical) ── */
/* ── SVG Icons ─────────────────────────────────────────────────── */
.icon-svg { display: inline-block; vertical-align: -0.125em; flex-shrink: 0; }
.dash-icon .icon-svg, .cat-icon .icon-svg, .why-icon .icon-svg,
.feature-icon .icon-svg, .index-category h4 .icon-svg { width: 24px; height: 24px; }
.btn .icon-svg { width: 18px; height: 18px; margin-right: 2px; }
h1 .icon-svg { width: 28px; height: 28px; vertical-align: -0.2em; margin-right: 4px; }
h2 .icon-svg { width: 24px; height: 24px; vertical-align: -0.15em; margin-right: 4px; }


/* ── Variables (critical) ── */
/* ── Variables ───────────────────────────────────────────────────── */
:root {
  /* Brand */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-dark: #1e3a8a;
  --primary-light: #eaf1ff;
  --accent: #0f766e;
  --accent-hover: #0d9488;
  --accent-light: #dff8f4;

  /* Neutrals */
  --dark: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --bg: #f5f7fb;
  --bg-elevated: #ffffff;
  --card: #ffffff;
  --border: #d8e0ee;
  --border-light: #edf1f7;

  /* Status */
  --success: #16a34a;
  --success-light: #dcfce7;
  --success-dark: #15803d;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --warning-dark: #b45309;
  --error: #dc2626;
  --error-light: #fee2e2;
  --error-dark: #b91c1c;
  --info: #0891b2;
  --info-light: #cffafe;
  --info-dark: #0e7490;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 16px 36px rgba(15, 23, 42, 0.10), 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 24px 70px rgba(15, 23, 42, 0.14);

  /* Shape */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Layout */
  --max-width: 1200px;
  --header-h: 64px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 80px;

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: clamp(1.5rem, 2.4vw, 2rem);
  --text-3xl: clamp(1.85rem, 3.2vw, 2.5rem);
  --text-hero: clamp(2.25rem, 5.2vw, 3.75rem);
  --lh-tight: 1.1;
  --lh-snug: 1.35;
  --lh-body: 1.65;
  --tracking-tight: -0.04em;
  --tracking-display: -0.055em;
  --yst-navy: #0f2747;
  --yst-panel: #f5f8fc;
  --yst-panel-2: #edf4fb;
  --yst-border: #dbe6f2;
  --yst-radius-xl: 18px;
}


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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
ul, ol { padding-left: 1.5rem; }


/* ── Breadcrumb Nav (critical) ── */
/* ── Breadcrumb Nav ─────────────────────────────────────────────── */
.breadcrumb-nav { padding: 8px 0; margin-bottom: 4px; }
.breadcrumb-list {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0;
  list-style: none; padding: 0; margin: 0;
  font-size: 0.8125rem; color: var(--muted);
}
.breadcrumb-item { display: flex; align-items: center; }
.breadcrumb-item:not(:last-child)::after {
  content: '/'; margin: 0 8px; color: var(--border); font-weight: 400;
}
.breadcrumb-item a { color: var(--muted); text-decoration: none; }
.breadcrumb-item a:hover { color: var(--primary); text-decoration: underline; }
.breadcrumb-current span { color: var(--dark); font-weight: 500; }


/* ── Container (critical) ── */
/* ── Container ──────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}


/* ── Header (critical) ── */
/* ── Header ──────────────────────────────────────────────────────── */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 64px;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.site-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.site-logo span { color: var(--dark); }
.site-logo:hover { opacity: 0.9; }

/* Desktop nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  color: var(--body);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
  white-space: nowrap;
}
.site-nav a:hover { background: var(--primary-light); color: var(--primary); }

/* Header search toggle */
.header-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-sm);
  color: var(--muted);
  transition: all 0.15s;
  margin-left: 8px;
}
.header-search-toggle:hover { background: var(--border-light); color: var(--dark); }
.header-search-toggle svg { width: 20px; height: 20px; }

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-sm);
  color: var(--dark);
  margin-left: 8px;
}
.mobile-menu-toggle svg { width: 24px; height: 24px; }
.mobile-menu-toggle:hover { background: var(--border-light); }

/* Mobile nav panel */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--card);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: block; }
.mobile-nav .mobile-nav-section {
  margin-bottom: 24px;
}
.mobile-nav .mobile-nav-section h3,
.mobile-nav .mobile-nav-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}
.mobile-nav a {
  display: block;
  padding: 10px 0;
  color: var(--dark);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--primary); }


/* ── Hero Section (critical) ── */
/* ── Hero Section ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 50%, #ffffff 100%);
  padding: 64px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.03) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--body);
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--muted);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust span::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

/* Hero dashboard cards */
.hero-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  max-width: 800px;
  margin: 40px auto 0;
}
.hero-dash-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.hero-dash-link:hover .hero-dash-card {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.hero-dash-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
/* hover handled by .hero-dash-link:hover .hero-dash-card above */
.hero-dash-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.hero-dash-card .dash-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: block;
}
.hero-dash-card .dash-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.hero-dash-card .dash-value {
  font-size: 0.8125rem;
  color: var(--dark);
  font-weight: 600;
}


/* ── Buttons (critical) ── */
/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  font-family: inherit;
  line-height: 1.2;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 1px 2px rgba(37,99,235,0.3);
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: var(--card);
  color: var(--dark);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg); border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 8px 16px; font-size: 0.8125rem; }
.btn-xs { padding: 4px 10px; font-size: 0.75rem; }
.btn-success { background: var(--success); color: white; }
.btn-success:hover { background: var(--success-dark); }
.btn-ghost {
  background: transparent;
  color: var(--body);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg); color: var(--dark); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }


/* ── Section Styles (critical) ── */
/* ── Section Styles ──────────────────────────────────────────────── */
.section {
  padding: 48px 0;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 600px;
}
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header .section-subtitle {
  margin: 0 auto 32px;
}


/* ── Start With These Tools (critical) ── */
/* ── Start With These Tools ──────────────────────────────────────── */
.start-tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-width: 700px;
  margin: 0 auto;
}


/* ── Tool Search (critical) ── */
/* ── Tool Search ─────────────────────────────────────────────────── */
.tool-search-wrapper {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.tool-search-box {
  position: relative;
  margin-bottom: 20px;
}
.tool-search-box input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg);
  transition: all 0.2s;
  color: var(--dark);
}
.tool-search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
  background: var(--card);
}
.tool-search-box input::placeholder { color: var(--muted); }
.tool-search-box .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.tool-search-box .search-icon svg { width: 20px; height: 20px; }

.tool-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tool-filter-btn {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  color: var(--body);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.tool-filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.tool-filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}


/* ── Tool Cards (search results / popular / category) (critical) ── */
/* ── Tool Cards (search results / popular / category) ────────────── */
.tool-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.tool-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.tool-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
/* Clickable card link covers the entire card */
.tool-card .card-link {
  display: flex;
  flex-direction: column;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.tool-card .card-link:hover { color: inherit; }
.tool-card .card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}
.tool-card .card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
/* Favorite star — positioned absolutely top-right of card */
.tool-card .card-fav {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--border);
  font-size: 1rem;
  padding: 4px 6px;
  transition: color 0.15s;
  line-height: 1;
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
}
.tool-card .card-fav:hover { color: var(--warning); }
.tool-card .card-fav.favorited { color: var(--warning); }
.tool-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.3;
}
.tool-card p {
  font-size: 0.7875rem;
  color: var(--muted);
  line-height: 1.45;
  flex-grow: 1;
  margin-bottom: 8px;
}
/* Single badge row in card top */
.tool-card .card-badge-row {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.tool-card .card-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 2px 0 8px;
}
.tool-card .card-trust-badges span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.25;
}
.tool-card .card-trust-badges span::before {
  content: '✓';
  font-weight: 800;
}
/* Card footer shows category */
.tool-card .card-footer {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid var(--border-light);
}
.tool-card .card-category {
  font-size: 0.6875rem;
  color: var(--muted);
  font-weight: 500;
}


/* ── Badges (critical) ── */
/* ── Badges ──────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.badge-browser { background: #e0f2fe; color: #0369a1; }
.badge-server { background: #fef3c7; color: #92400e; }
.badge-deep { background: #fce7f3; color: #9d174d; }
.badge-pass { background: var(--success-light); color: var(--success-dark); }
.badge-warning { background: var(--warning-light); color: var(--warning-dark); }
.badge-fail { background: var(--error-light); color: var(--error-dark); }
.badge-info { background: var(--primary-light); color: var(--primary-dark); }


/* ── Footer (critical) ── */
/* ── Footer ──────────────────────────────────────────────────────── */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--body);
  padding: 4px 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding: 16px 24px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
}


/* ── Tool Page Layout (critical) ── */
/* ── Tool Page Layout ────────────────────────────────────────────── */
.tool-page-layout {
  max-width: 960px;
  margin: 0 auto;
}
.tool-page-top {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .tool-page-top { grid-template-columns: 1fr; }
}
.tool-page-top .tool-main { min-width: 0; }
.tool-page-top .tool-sidebar { min-width: 0; }

.tool-page-header {
  margin-bottom: 24px;
}
.tool-page-header h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.tool-page-header p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}


/* ── Breadcrumbs (critical) ── */
/* ── Breadcrumbs ─────────────────────────────────────────────────── */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .sep { color: var(--border); }
.breadcrumbs .current { color: var(--dark); font-weight: 500; }


/* ── Input Card (critical) ── */
/* ── Input Card ──────────────────────────────────────────────────── */
.input-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.input-card h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: all 0.15s;
  background: var(--card);
  color: var(--dark);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-group .hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
}
.form-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}


/* ── FAQ (critical) ── */
/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  padding: 16px 20px;
  font-weight: 500;
  cursor: pointer;
  background: var(--card);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s;
  font-size: 0.9375rem;
  color: var(--dark);
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.faq-question:hover { background: var(--bg); }
.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-question.open::after { content: '−'; }
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.25s ease;
  color: var(--body);
  font-size: 0.875rem;
  line-height: 1.6;
}
.faq-answer.open {
  padding: 16px 20px;
  max-height: 500px;
}


/* ── Utility (critical) ── */
/* ── Utility ─────────────────────────────────────────────────────── */
.result-count {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 16px 0 8px 0;
  font-weight: 500;
}

/* Tag chips on cards */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}
.card-tag {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.625rem;
  font-weight: 500;
  background: var(--bg);
  color: var(--muted);
  text-transform: lowercase;
}

/* Workflow step cards */
.workflow-step-card .card-icon.step-num {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* ── Responsive (critical) ── */
/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .site-nav a:not(:first-child):not(:nth-child(2)) { display: none; }
  .header-search-toggle { display: inline-flex; }
}
@media (max-width: 768px) {
  .site-nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  .hero { padding: 40px 0 32px; }
  .hero-dashboard { grid-template-columns: repeat(3, 1fr); }
  .why-section { padding: 24px; }
  .tool-search-wrapper { padding: 20px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero-dashboard { grid-template-columns: repeat(2, 1fr); }
  .tool-cards { grid-template-columns: 1fr; }
  .category-cards { grid-template-columns: 1fr; }
  .workflow-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}


/* ── Responsive (critical) ── */
/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .desc-meta {
    gap: 8px;
  }
  .results-summary-stats {
    gap: 10px;
  }
  .best-score .score-bar {
    gap: 8px;
  }
  .results-panel .results-header {
    flex-direction: column;
  }
  .result-actions {
    width: 100%;
  }
  .result-actions .btn {
    flex: 1;
    min-width: 0;
    text-align: center;
  }
}


/* ── Responsive (critical) ── */
/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .score-card .score-value {
    font-size: 2rem;
  }
  .scale-item {
    min-width: 60px;
    font-size: 0.625rem;
    padding: 6px 4px;
  }
  .stats-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
  .stat-item .stat-value {
    font-size: 1.25rem;
  }
}
@media (max-width: 480px) {
  .score-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flesch-scale {
    gap: 3px;
  }
  .scale-item {
    min-width: 45px;
    font-size: 0.5625rem;
    padding: 4px 2px;
  }
}

/* ══════════════════════════════════════════════════════════════════
   Review Response Template Generator - Specific Styles
   ══════════════════════════════════════════════════════════════════ */


