/* ============================================
   ai-pick.tech - Refined Stylesheet (v2)
   Inspired by Stripe / Linear / Vercel
   ============================================ */

:root {
  /* ---- Brand / Accent ---- */
  --brand-50:  #eef2ff;
  --brand-100: #e0e7ff;
  --brand-200: #c7d2fe;
  --brand-400: #818cf8;
  --brand-500: #6366f1;
  --brand-600: #4f46e5;
  --brand-700: #4338ca;
  --brand-800: #3730a3;

  --accent: #10b981;       /* emerald 500 */
  --accent-light: #6ee7b7;

  /* ---- Neutrals (Slate) ---- */
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  /* ---- Backgrounds ---- */
  --bg:        var(--slate-50);
  --bg-elev:   #ffffff;
  --bg-dark:   var(--slate-950);
  --bg-darker: #010205;

  /* ---- Text ---- */
  --text:        var(--slate-900);
  --text-muted:  var(--slate-500);
  --text-soft:   var(--slate-600);
  --text-on-dark: #f1f5f9;
  --text-on-dark-muted: #94a3b8;

  /* ---- Borders ---- */
  --border:       var(--slate-200);
  --border-soft:  var(--slate-100);
  --border-strong: var(--slate-300);

  /* ---- Shadows (subtle, Linear-style) ---- */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);

  /* ---- Radii ---- */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-2xl: 28px;

  /* ---- Font ---- */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
}

/* ============================================
   Reset / Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern', 'liga', 'clig', 'calt', 'ss01';
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo-icon { color: var(--brand-600); }
.logo-text { font-weight: 700; }
.logo-dot { color: var(--brand-500); margin: 0 1px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  padding: 8px 14px;
  border-radius: var(--r-md);
  transition: color 0.15s, background 0.15s;
}
.main-nav a:hover {
  color: var(--text);
  background: var(--slate-100);
}
.main-nav .nav-cta {
  background: var(--text);
  color: white;
  padding: 8px 16px;
  margin-left: 6px;
}
.main-nav .nav-cta:hover { background: var(--slate-700); color: white; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.btn svg { transition: transform 0.15s; }
.btn:hover svg { transform: translateX(2px); }

.btn-primary {
  background: var(--text);
  color: white;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--slate-700);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background: white;
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

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

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 120px;
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}
.hero-glow-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, var(--brand-200), transparent 70%);
}
.hero-glow-2 {
  width: 500px;
  height: 500px;
  bottom: -100px;
  left: -50px;
  background: radial-gradient(circle, #d1fae5, transparent 70%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  box-shadow: var(--shadow-xs);
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.0); }
}
.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--text);
}
.gradient-text {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-400) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
}
.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-stat-num {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  font-family: var(--font-mono);
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================
   Section
   ============================================ */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.section-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
}

/* ============================================
   Featured Pick
   ============================================ */
.featured-pick { background: var(--bg-elev); border-top: 1px solid var(--border-soft); }
.pick-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}
.pick-card {
  position: relative;
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.pick-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}
.pick-card-rank {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: white;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.02em;
}
.pick-card-image {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}
.pick-card-large .pick-card-image { aspect-ratio: 16 / 10; }
.pick-card-image-pattern {
  width: 100%;
  height: 100%;
  background-size: 32px 32px;
}
.pattern-instagram {
  background: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%);
  background-image:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,0.15) 1.5px, transparent 1.5px),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(135deg, #4f46e5 0%, #ec4899 100%);
  background-size: 24px 24px, 16px 16px, 100% 100%;
}
.pattern-instagram-grad {
  background: linear-gradient(135deg, #f97316, #ec4899 50%, #8b5cf6);
}
.pattern-ai {
  background: linear-gradient(135deg, var(--slate-900), var(--brand-700) 80%);
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(135deg, var(--slate-900), var(--brand-700) 80%);
  background-size: 24px 24px, 24px 24px, 100% 100%;
}
.pick-card-body { padding: 24px; }
.pick-card-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-700);
  background: var(--brand-50);
  padding: 4px 10px;
  border-radius: var(--r-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.pick-card-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 10px;
}
.pick-card-large .pick-card-title { font-size: 22px; }
.pick-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.pick-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.pick-card-link svg { transition: transform 0.15s; }
.pick-card-link:hover svg { transform: translateX(3px); }

/* ============================================
   Category Grid
   ============================================ */
.category-section { background: var(--bg); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cat-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.cat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.cat-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--slate-100);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.cat-card-icon svg { width: 22px; height: 22px; }
.cat-card-body { flex: 1; min-width: 0; }
.cat-card-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.cat-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 6px;
}
.cat-card-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-400);
  letter-spacing: 0.04em;
}
.cat-card-arrow {
  flex-shrink: 0;
  color: var(--slate-300);
  margin-top: 12px;
  transition: color 0.15s, transform 0.15s;
}
.cat-card:hover .cat-card-arrow {
  color: var(--text);
  transform: translateX(3px);
}

/* ============================================
   Diagnose CTA
   ============================================ */
.diagnose-cta {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}
.diagnose-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.2), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.15), transparent 50%);
  pointer-events: none;
}
.diagnose-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.diagnose-content .section-eyebrow { color: var(--accent-light); }
.diagnose-title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: white;
}
.diagnose-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  margin-bottom: 32px;
  max-width: 480px;
}
.diagnose-cta .btn-primary {
  background: white;
  color: var(--text);
}
.diagnose-cta .btn-primary:hover {
  background: var(--slate-100);
}
.diagnose-meta {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-on-dark-muted);
}
.diagnose-divider { color: var(--slate-700); }

.diagnose-visual {
  position: relative;
  height: 280px;
}
.diagnose-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 600;
  color: white;
  box-shadow: var(--shadow-lg);
}
.diagnose-card-1 {
  top: 0;
  right: 40px;
  transform: rotate(-3deg);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(79, 70, 229, 0.2));
}
.diagnose-card-2 {
  top: 90px;
  right: 0;
  transform: rotate(4deg);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.4), rgba(51, 65, 85, 0.4));
}
.diagnose-card-3 {
  top: 180px;
  right: 60px;
  transform: rotate(-2deg);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(20, 184, 166, 0.2));
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--bg-darker);
  color: var(--text-on-dark-muted);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.footer-logo svg { color: var(--brand-400); }
.footer-tagline { font-size: 14px; line-height: 1.6; color: var(--text-on-dark-muted); }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  font-size: 14px;
  color: var(--text-on-dark-muted);
  transition: color 0.15s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--slate-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--slate-500);
}
.footer-build {
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ============================================
   Article Page
   ============================================ */
.container-narrow { max-width: 760px; }
.article-main { background: var(--bg-elev); }
.article-header { padding: 60px 0 32px; background: var(--bg); border-bottom: 1px solid var(--border-soft); }
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb-sep { color: var(--slate-300); }
.breadcrumb-current { color: var(--text); font-weight: 500; }

.article-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: white;
  background: var(--cat-color, var(--brand-600));
  padding: 4px 12px;
  border-radius: var(--r-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.article-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 16px;
}
.article-subtitle {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.article-meta {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-meta-sep { color: var(--slate-300); }

.article-body {
  padding: 48px 0;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
}
.article-body p { margin-bottom: 1.4em; }
.article-body h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 2em 0 0.8em;
  padding-bottom: 0.4em;
  border-bottom: 1px solid var(--border);
}
.article-body h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin: 1.6em 0 0.6em;
  color: var(--text);
}
.article-body ul, .article-body ol {
  margin: 1em 0 1.4em 1.4em;
  padding-left: 0.6em;
}
.article-body li { margin-bottom: 0.5em; padding-left: 0.4em; }
.article-body strong { color: var(--text); font-weight: 700; }
.article-body em { color: var(--brand-700); font-style: normal; font-weight: 500; }
.article-body code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--slate-100);
  padding: 2px 6px;
  border-radius: var(--r-sm);
  color: var(--brand-700);
}
.article-body pre {
  background: var(--slate-900);
  color: var(--slate-100);
  padding: 20px 24px;
  border-radius: var(--r-md);
  overflow-x: auto;
  margin: 1.4em 0;
  font-size: 14px;
  line-height: 1.6;
}
.article-body pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: inherit;
}
.article-body blockquote {
  border-left: 4px solid var(--brand-500);
  padding: 0.6em 1.2em;
  margin: 1.4em 0;
  background: var(--brand-50);
  color: var(--text);
  font-style: italic;
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 15px;
}
.article-body th, .article-body td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.article-body th {
  background: var(--slate-50);
  font-weight: 700;
  color: var(--text);
}
.article-body tr:hover td { background: var(--slate-50); }

.article-cta {
  background: var(--slate-900);
  color: white;
  padding: 32px 36px;
  border-radius: var(--r-xl);
  margin: 48px 0 32px;
  text-align: center;
}
.article-cta h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.article-cta p {
  color: var(--text-on-dark-muted);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.article-cta .btn-primary {
  background: white;
  color: var(--text);
}
.article-cta .btn-primary:hover { background: var(--slate-100); }

.article-tags {
  margin: 32px 0 64px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.article-tag {
  font-size: 13px;
  color: var(--text-soft);
  background: var(--slate-100);
  padding: 4px 12px;
  border-radius: 999px;
}

/* ============================================
   Category Page
   ============================================ */
.category-hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 100%);
}
.category-hero-title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 16px 0 16px;
  color: var(--text);
}
.category-hero-lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
}
.article-list {
  display: grid;
  gap: 16px;
}
.article-list-item {
  display: flex;
  align-items: center;
  gap: 24px;
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  text-decoration: none;
  color: var(--text);
}
.article-list-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.article-list-body { flex: 1; }
.article-list-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: white;
  background: var(--cat-color, var(--brand-600));
  padding: 3px 10px;
  border-radius: var(--r-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.article-list-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin-bottom: 6px;
}
.article-list-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.article-list-arrow {
  flex-shrink: 0;
  color: var(--slate-300);
  transition: color 0.15s, transform 0.15s;
}
.article-list-item:hover .article-list-arrow {
  color: var(--text);
  transform: translateX(3px);
}

/* ============================================
   Legal Pages
   ============================================ */
.legal-main { background: var(--bg-elev); padding: 60px 0 100px; }
.legal-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 24px 0 8px;
  color: var(--text);
}
.legal-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 48px;
}
.legal-section {
  margin-bottom: 40px;
}
.legal-section h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-soft);
}
.legal-section p { margin-bottom: 1em; line-height: 1.8; }
.legal-section ul { margin: 1em 0 1em 1.4em; }
.legal-section li { margin-bottom: 0.5em; line-height: 1.7; }
.legal-section a { color: var(--brand-600); text-decoration: underline; }
.legal-section a:hover { color: var(--brand-700); }

/* ============================================
   Category Card Pattern Backgrounds
   ============================================ */
.pattern-x {
  background: linear-gradient(135deg, #1f2937 0%, #0f172a 100%);
  background-image:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.08) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #1f2937 0%, #0f172a 100%);
  background-size: 28px 28px, 100% 100%;
}
.pattern-threads {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  background-size: 8px 8px, 100% 100%;
}
.pattern-ai-tools {
  background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
  background-image:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,0.12) 1.5px, transparent 1.5px),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
  background-size: 24px 24px, 16px 16px, 100% 100%;
}
.pattern-automation {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.06) 25%, transparent 25%),
    linear-gradient(135deg, #10b981 0%, #047857 100%);
  background-size: 12px 12px, 100% 100%;
}
.pattern-compare {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  background-image:
    linear-gradient(135deg, transparent 50%, rgba(255,255,255,0.08) 50%),
    linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  background-size: 20px 20px, 100% 100%;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 968px) {
  .pick-grid { grid-template-columns: 1fr 1fr; }
  .pick-card-large { grid-column: span 2; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .diagnose-inner { grid-template-columns: 1fr; }
  .diagnose-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-col-brand { grid-column: span 2; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { padding: 70px 0 90px; }
  .hero-title { font-size: 40px; }
  .hero-lead { font-size: 17px; }
  .section-title { font-size: 28px; }
  .section { padding: 70px 0; }
  .main-nav { gap: 0; }
  .main-nav a:not(.nav-cta) { display: none; }
  .pick-grid { grid-template-columns: 1fr; }
  .pick-card-large { grid-column: auto; }
  .cat-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hero-stat-num { font-size: 28px; }
  .diagnose-title { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
