/* ═══════════════════════════════════════════════════════════════
   bestpick-template.css — Compiled Tailwind-equivalent styles
   for Best Picks static HTML templates
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS Variables (Light Mode) ─── */
:root {
  --background: 0 0% 100%;
  --foreground: 0 0% 3.9%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 3.9%;
  --popover: 0 0% 100%;
  --popover-foreground: 0 0% 3.9%;
  --primary: 0 0% 9%;
  --primary-foreground: 0 0% 98%;
  --secondary: 0 0% 96.1%;
  --secondary-foreground: 0 0% 9%;
  --muted: 0 0% 96.1%;
  --muted-foreground: 0 0% 45.1%;
  --accent: 0 0% 96.1%;
  --accent-foreground: 0 0% 9%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;
  --border: 0 0% 89.8%;
  --input: 0 0% 89.8%;
  --ring: 0 0% 3.9%;
  --chart-1: 12 76% 61%;
  --chart-2: 173 58% 39%;
  --chart-3: 197 37% 24%;
  --chart-4: 43 74% 66%;
  --chart-5: 27 87% 67%;
  --radius: 0.5rem;
  --sidebar-background: 0 0% 98%;
  --sidebar-foreground: 240 5.3% 26.1%;
  --sidebar-primary: 240 5.9% 10%;
  --sidebar-primary-foreground: 0 0% 98%;
  --sidebar-accent: 240 4.8% 95.9%;
  --sidebar-accent-foreground: 240 5.9% 10%;
  --sidebar-border: 220 13% 91%;
  --sidebar-ring: 217.2 91.2% 59.8%;
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; background: none; border: none; }

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

/* ─── Text utilities ─── */
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }
.leading-relaxed { line-height: 1.625; }
.leading-snug { line-height: 1.375; }
.leading-tight { line-height: 1.25; }
.leading-none { line-height: 1; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.line-through { text-decoration: line-through; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-nowrap { white-space: nowrap; }
.select-none { user-select: none; }
.text-left { text-align: left; }
.text-center { text-align: center; }

/* ─── Font sizes ─── */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-\[10px\] { font-size: 10px; line-height: 1; }
.text-\[11px\] { font-size: 11px; line-height: 1; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }

/* ─── Font weights ─── */
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

/* ─── Colors: foreground / background / muted / border ─── */
.bg-background { background-color: hsl(var(--background)); }
.bg-foreground { background-color: hsl(var(--foreground)); }
.bg-muted { background-color: hsl(var(--muted)); }
.bg-muted\/20 { background-color: hsl(var(--muted) / 0.2); }
.bg-muted\/30 { background-color: hsl(var(--muted) / 0.3); }
.bg-muted\/40 { background-color: hsl(var(--muted) / 0.4); }
.bg-muted\/50 { background-color: hsl(var(--muted) / 0.5); }

.text-foreground { color: hsl(var(--foreground)); }
.text-foreground\/5 { color: hsl(var(--foreground) / 0.05); }
.text-foreground\/40 { color: hsl(var(--foreground) / 0.4); }
.text-foreground\/60 { color: hsl(var(--foreground) / 0.6); }
.text-foreground\/80 { color: hsl(var(--foreground) / 0.8); }
.text-background { color: hsl(var(--background)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-muted-foreground\/50 { color: hsl(var(--muted-foreground) / 0.5); }
.text-muted-foreground\/60 { color: hsl(var(--muted-foreground) / 0.6); }

.border-border { border-color: hsl(var(--border)); }
.border-foreground { border-color: hsl(var(--foreground)); }
.border-foreground\/10 { border-color: hsl(var(--foreground) / 0.1); }
.border-foreground\/20 { border-color: hsl(var(--foreground) / 0.2); }
.border-foreground\/30 { border-color: hsl(var(--foreground) / 0.3); }
.border-transparent { border-color: transparent; }

.stroke-border { stroke: hsl(var(--border)); }

/* ─── Semantic Color Utilities: Emerald ─── */
.text-emerald-500 { color: #10b981; }
.text-emerald-600 { color: #059669; }
.text-emerald-700 { color: #047857; }
.bg-emerald-50 { background-color: #ecfdf5; }
.bg-emerald-600 { background-color: #059669; }
.border-emerald-200 { border-color: #a7f3d0; }
.stroke-emerald-500 { stroke: #10b981; }

/* ─── Amber ─── */
.text-amber-400 { color: #fbbf24; }
.text-amber-500 { color: #f59e0b; }
.text-amber-600 { color: #d97706; }
.text-amber-700 { color: #b45309; }
.fill-amber-400 { fill: #fbbf24; }
.bg-amber-50 { background-color: #fffbeb; }
.bg-amber-500 { background-color: #f59e0b; }
.bg-amber-600 { background-color: #d97706; }
.border-amber-200 { border-color: #fde68a; }
.border-amber-300 { border-color: #fcd34d; }
.stroke-amber-500 { stroke: #f59e0b; }

/* ─── Blue ─── */
.text-blue-500 { color: #3b82f6; }
.text-blue-600 { color: #2563eb; }
.bg-blue-600 { background-color: #2563eb; }
.stroke-blue-500 { stroke: #3b82f6; }

/* ─── Red ─── */
.text-red-500 { color: #ef4444; }
.text-red-600 { color: #dc2626; }
.stroke-red-500 { stroke: #ef4444; }

/* ─── Orange (CTA) ─── */
.text-orange-500 { color: #f97316; }
.bg-orange-500 { background-color: #f97316; }
.bg-orange-500:hover, .bg-orange-600 { background-color: #ea580c; }

/* ─── Branded Social Colors ─── */
.bg-facebook { background-color: #1877f2; }
.bg-facebook:hover { background-color: #166fe5; }
.bg-x { background-color: #0f1419; }
.bg-x:hover { background-color: #272c30; }
.bg-linkedin { background-color: #0a66c2; }
.bg-linkedin:hover { background-color: #095196; }
.bg-whatsapp { background-color: #25d366; }
.bg-whatsapp:hover { background-color: #20bd5a; }

/* ─── Layout: Flexbox & Grid ─── */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

.gap-0\.5 { gap: 0.125rem; }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ─── Spacing ─── */
.p-1\.5 { padding: 0.375rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-16 { padding-bottom: 4rem; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }

.m-0 { margin: 0; }
.mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-auto { margin-top: auto; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-auto { margin-left: auto; }
.mr-2 { margin-right: 0.5rem; }
.-mb-px { margin-bottom: -1px; }
.-mt-\[60px\] { margin-top: -60px; }

/* ─── Sizing ─── */
.w-full { width: 100%; }
.w-fit { width: fit-content; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-56 { width: 14rem; }
.h-2 { height: 0.5rem; }
.h-3 { height: 0.75rem; }
.h-3\.5 { height: 0.875rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-32 { height: 8rem; }
.h-48 { height: 12rem; }
.h-\[250px\] { height: 250px; }
.min-w-0 { min-width: 0; }
.min-w-\[180px\] { min-width: 180px; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-\[140px\] { max-width: 140px; }
.min-h-screen { min-height: 100vh; }

/* Icon sizing */
.icon-sm { width: 0.875rem; height: 0.875rem; }
.icon-md { width: 1rem; height: 1rem; }
.icon-lg { width: 1.25rem; height: 1.25rem; }
.icon-xl { width: 1.5rem; height: 1.5rem; }

/* ─── Positioning ─── */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-2 { top: 0.5rem; }
.top-3 { top: 0.75rem; }
.top-4 { top: 1rem; }
.top-8 { top: 2rem; }
.left-2 { left: 0.5rem; }
.right-2 { right: 0.5rem; }
.right-3 { right: 0.75rem; }
.right-4 { right: 1rem; }
.-top-1 { top: -0.25rem; }
.-left-1 { left: -0.25rem; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }

/* ─── Borders & Radius ─── */
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-b-2 { border-bottom-width: 2px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-l { border-left-width: 1px; border-left-style: solid; }
.border-l-4 { border-left-width: 4px; border-left-style: solid; }
.border-l-foreground { border-left-color: hsl(var(--foreground)); }
.border-dashed { border-style: dashed; }
.rounded { border-radius: var(--radius); }
.rounded-md { border-radius: calc(var(--radius) - 2px); }
.rounded-lg { border-radius: var(--radius); }
.rounded-xl { border-radius: calc(var(--radius) + 4px); }
.rounded-full { border-radius: 9999px; }

.divide-y > * + * { border-top-width: 1px; border-top-style: solid; border-top-color: hsl(var(--border)); }
.divide-x > * + * { border-left-width: 1px; border-left-style: solid; border-left-color: hsl(var(--border)); }

/* ─── Overflow ─── */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

/* ─── Scroll margin ─── */
.scroll-mt-6 { scroll-margin-top: 1.5rem; }

/* ─── Opacity ─── */
.opacity-0 { opacity: 0; }

/* ─── Transform ─── */
.-rotate-90 { transform: rotate(-90deg); }

/* ─── Transition ─── */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-shadow { transition-property: box-shadow; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }

/* ─── Object Fit ─── */
.object-cover { object-fit: cover; }

/* ─── Shadows ─── */
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }

/* ═══════════════════════════════════════════════════════════════
   COMPONENT STYLES
   ═══════════════════════════════════════════════════════════════ */

/* ─── Card ─── */
.card {
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
}
.card:hover {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.card-header { padding: 1.5rem; padding-bottom: 0; }
.card-content { padding: 1.5rem; }
.card-title { font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
.card-description { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

/* ─── Badge ─── */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  white-space: normal;
  word-break: break-word;
  border: 1px solid transparent;
  transition: colors 150ms;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.badge.default,
.badge:not(.secondary):not(.outline):not(.destructive):not(.amber):not(.rank-1):not(.rank-2):not(.rank-3):not(.verified) {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.badge.secondary {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}
.badge.outline {
  border-color: hsl(var(--border));
  background-color: transparent;
  color: hsl(var(--foreground));
}
.badge.destructive {
  background-color: hsl(var(--destructive));
  color: hsl(var(--destructive-foreground));
}
.badge.amber {
  background-color: #f59e0b;
  color: hsl(var(--foreground));
}
.badge.rank-1 {
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
}
.badge.rank-2 {
  background-color: #059669;
  color: hsl(var(--background));
}
.badge.rank-3 {
  background-color: #d97706;
  color: hsl(var(--background));
}
.badge.verified {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  font-size: 10px;
  padding: 0 0.375rem;
}

/* ─── Button base ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.25rem;
}
.btn:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

/* Button variants */
.btn-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.btn-primary:hover { opacity: 0.9; }

.btn-outline {
  border-color: hsl(var(--border));
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}
.btn-outline:hover {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.btn-secondary {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}
.btn-secondary:hover { opacity: 0.8; }

.btn-ghost {
  background-color: transparent;
  color: hsl(var(--foreground));
}
.btn-ghost:hover {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

/* Orange CTA button */
.btn-cta {
  background-color: #f97316;
  color: #fff;
  font-weight: 600;
}
.btn-cta:hover { background-color: #ea580c; }
.btn-cta:active { transform: scale(0.98); }

/* Button sizes */
.btn-sm { padding: 0.25rem 0.75rem; font-size: 0.75rem; }
.btn-lg { padding: 0.625rem 2rem; font-size: 1rem; }

/* Social share buttons */
.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: calc(var(--radius) - 2px);
  color: #fff;
  transition: all 150ms;
  text-decoration: none;
  line-height: 1.25rem;
}
.btn-social svg { width: 1rem; height: 1rem; }
.btn-social.facebook { background-color: #1877f2; }
.btn-social.facebook:hover { background-color: #166fe5; }
.btn-social.twitter { background-color: #0f1419; }
.btn-social.twitter:hover { background-color: #272c30; }
.btn-social.linkedin { background-color: #0a66c2; }
.btn-social.linkedin:hover { background-color: #095196; }
.btn-social.whatsapp { background-color: #25d366; }
.btn-social.whatsapp:hover { background-color: #20bd5a; }
.btn-social.email {
  background-color: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}
.btn-social.email:hover { background-color: hsl(var(--accent)); }
.btn-social.copy-link {
  background-color: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}
.btn-social.copy-link:hover { background-color: hsl(var(--accent)); }

/* ─── Star ratings ─── */
.star-icon { width: 0.875rem; height: 0.875rem; }
.star-icon.filled { fill: #fbbf24; color: #fbbf24; }
.star-icon.empty { fill: none; color: hsl(var(--border)); }
.star-icon-md { width: 1.125rem; height: 1.125rem; }

/* ─── Score badge (text labels) ─── */
.score-badge {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  background-color: hsl(var(--muted) / 0.5);
  border: 1px solid hsl(var(--border));
}
.score-badge-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
}
.score-badge-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground) / 0.8);
}

/* ─── Lifecycle tabs ─── */
.lifecycle-tabs {
  background-color: hsl(var(--muted) / 0.5);
  border-radius: var(--radius);
  padding: 1rem;
}
.lifecycle-tabs-header {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}
.lifecycle-tab-buttons {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid hsl(var(--border));
}
.lifecycle-tab {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: -1px;
  transition: color 150ms, border-color 150ms;
  color: hsl(var(--muted-foreground));
  border-bottom: 2px solid transparent;
}
.lifecycle-tab:hover { color: hsl(var(--foreground)); }
.lifecycle-tab.active {
  border-bottom-color: hsl(var(--foreground));
  color: hsl(var(--foreground));
}
.lifecycle-panel { display: none; }
.lifecycle-panel.visible { display: block; }
.lifecycle-panel ul { display: flex; flex-direction: column; gap: 0.5rem; }
.lifecycle-panel li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
}

/* ─── Accordion / FAQ ─── */
.accordion-item { border-bottom: 1px solid hsl(var(--border)); }
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
  color: hsl(var(--foreground));
  cursor: pointer;
  background: none;
  border: none;
}
.accordion-trigger:hover { text-decoration: underline; }
.accordion-trigger .chevron {
  transition: transform 300ms;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: hsl(var(--muted-foreground));
}
.accordion-trigger .chevron.rotated { transform: rotate(180deg); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease-in-out;
}
.accordion-content.open { max-height: 500px; }
.accordion-content-inner {
  padding-bottom: 1rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
}

/* ─── Progress bar (return reasons) ─── */
.progress-track {
  width: 100%;
  background-color: hsl(var(--muted));
  border-radius: 9999px;
  height: 0.5rem;
  margin-bottom: 0.5rem;
}
.progress-bar {
  background-color: #f59e0b;
  height: 0.5rem;
  border-radius: 9999px;
  transition: width 500ms;
}

/* ─── Checklist ─── */
.checklist-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--border));
  cursor: pointer;
  transition: all 200ms;
}
.checklist-label:hover {
  border-color: hsl(var(--foreground) / 0.3);
  background-color: hsl(var(--muted) / 0.3);
}
.checklist-label.checked {
  border-color: hsl(var(--foreground));
  background-color: hsl(var(--muted) / 0.5);
}
.checklist-label input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: hsl(var(--foreground));
}
.checklist-label .checklist-text { font-size: 0.875rem; }
.checklist-label.checked .checklist-text {
  text-decoration: line-through;
  color: hsl(var(--muted-foreground));
}

/* ─── TOC / Sidebar Navigation ─── */
/* Base: hidden on mobile, shown at xl via media query below */
.toc-nav {
  display: none;
  width: 14rem;
  flex-shrink: 0;
}
.toc-container {
  position: sticky;
  top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.toc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0.75rem;
  background-color: hsl(var(--muted) / 0.4);
  transition: background-color 150ms;
}
.toc-toggle:hover { background-color: hsl(var(--muted)); }
.toc-toggle-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--foreground));
}
.toc-chevron {
  width: 0.875rem;
  height: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: transform 200ms;
}
.toc-chevron.rotated { transform: rotate(90deg); }
#toc-list { padding: 0.375rem; }
#toc-list .toc-link-item { margin-bottom: 0.125rem; }
.toc-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.375rem 0.625rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: all 200ms;
}
.toc-link:hover {
  color: hsl(var(--foreground));
  background-color: hsl(var(--muted));
}
.toc-link.active {
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
  font-weight: 600;
}
.toc-link [data-lucide] { width: 0.875rem; height: 0.875rem; flex-shrink: 0; }

/* Ad placeholders */
.ad-placeholder {
  border-radius: var(--radius);
  border: 1px dashed hsl(var(--border));
  background-color: hsl(var(--muted) / 0.2);
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 0.75rem;
}

/* ─── Score Ring (SVG) ─── */
.score-ring-wrapper { position: relative; flex-shrink: 0; }
.score-ring-bg { stroke: hsl(var(--border)); }
.score-ring-fill { transition: stroke-dashoffset 700ms ease-in-out; }
.score-ring-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.25rem;
  font-weight: 700;
}
.score-ring-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background-color: hsl(var(--muted) / 0.3);
  border: 1px solid hsl(var(--border));
  transition: border-color 150ms;
}
.score-ring-item:hover { border-color: hsl(var(--foreground) / 0.2); }

/* ─── Insight box (buying guide) ─── */
.insight-box {
  background-color: hsl(var(--muted) / 0.5);
  padding: 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  border-left: 4px solid hsl(var(--foreground));
  font-size: 0.875rem;
}

/* ─── Decision option ─── */
.decision-option {
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  padding: 1rem;
  transition: all 200ms;
  cursor: pointer;
}
.decision-option:hover {
  border-color: hsl(var(--foreground) / 0.3);
  background-color: hsl(var(--muted) / 0.3);
}

/* ─── Gradient cards ─── */
.gradient-amber {
  background: linear-gradient(to right, rgba(255, 251, 235, 0.6), rgba(255, 237, 213, 0.6));
  border-color: #fde68a;
}

/* ─── Regret/Warning card ─── */
.card-warning { border-width: 2px; border-color: #fde68a; }
.card-warning-header {
  background-color: #fffbeb;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #fde68a;
}

/* ─── Red flags box ─── */
.red-flags-box {
  border-radius: var(--radius);
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  padding: 1rem;
}

/* ─── Table ─── */
.comparison-table {
  width: 100%;
  font-size: 0.875rem;
  border-collapse: collapse;
}
.comparison-table thead { background-color: hsl(var(--muted) / 0.5); }
.comparison-table th {
  text-align: left;
  padding: 0.75rem;
  font-weight: 600;
  border-bottom: 2px solid hsl(var(--border));
}
.comparison-table td {
  padding: 0.75rem;
  border-bottom: 1px solid hsl(var(--border));
  white-space: nowrap;
}
.comparison-table tbody tr { transition: background-color 150ms; }
.comparison-table tbody tr:hover { background-color: hsl(var(--muted) / 0.3); }

/* ─── Pros & Cons box ─── */
.pros-cons-box { border-radius: var(--radius); overflow: hidden; border: 2px solid hsl(var(--border)); }
.pros-cons-header {
  background-color: hsl(var(--muted) / 0.5);
  border-bottom: 2px solid hsl(var(--border));
  padding: 0.75rem 1.25rem;
}
/* Mobile: single column stack. sm+: side by side */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .pros-cons-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cons-side {
    border-left: 1px solid hsl(var(--border));
    border-top: none !important;
  }
}
.pros-side { padding: 1.25rem; background-color: #ecfdf5; }
.cons-side {
  padding: 1.25rem;
  background-color: hsl(var(--muted) / 0.4);
  border-top: 1px solid hsl(var(--border));
}

/* ─── Hero gradient ─── */
.hero-gradient {
  background: linear-gradient(to bottom, hsl(var(--muted) / 0.4), hsl(var(--background)));
}

/* ─── Deals card gradient ─── */
.deals-gradient {
  background: linear-gradient(to right, #fffbeb, #fff7ed);
  border-color: #fcd34d;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — sm (640px+)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
  .sm\:col-span-2 { grid-column: span 2; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — md (768px+)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .md\:flex-row { flex-direction: row; }
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:w-56 { width: 14rem; }
  .md\:h-56 { height: 14rem; }
  .md\:p-8 { padding: 2rem; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:divide-y-0 > * + * { border-top-width: 0; }
  .md\:divide-x > * + * { border-left-width: 1px; border-left-style: solid; border-left-color: hsl(var(--border)); }
  .md\:py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .md\:col-span-2 { grid-column: span 2; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — lg (1024px+)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:hidden { display: none; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .lg\:text-5xl { font-size: 3rem; line-height: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — xl (1280px+)
   Main layout: stack → side-by-side with sidebar
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 1280px) {
  /* Layout wrapper: enable side-by-side flex at xl */
  .xl\:flex { display: flex; }
  .xl\:gap-8 { gap: 2rem; }

  /* Sidebar: hidden by default (toc-nav base = display:none), show at xl */
  .xl\:block { display: block; }
  .toc-nav { display: block; }

  /* Utility */
  .xl\:hidden { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE STICKY TOC BAR
   Hidden by default; JS shows it after hero scrolls out of view.
   Only visible below xl breakpoint.
   ═══════════════════════════════════════════════════════════════ */
.mobile-toc-bar {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 9998;
  background-color: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-100%);
  transition: transform 250ms ease;
}
.mobile-toc-bar.visible {
  transform: translateY(0);
}
.mobile-toc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  background: none;
  border: none;
  cursor: pointer;
  min-height: 44px;
}
.mobile-toc-trigger:hover {
  background-color: hsl(var(--muted) / 0.5);
}
.mobile-toc-trigger span {
  flex: 1;
  text-align: left;
}
.mobile-toc-chevron {
  transition: transform 200ms ease;
  color: hsl(var(--muted-foreground));
}
.mobile-toc-dropdown {
  border-top: 1px solid hsl(var(--border));
  background-color: hsl(var(--background));
  max-height: 60vh;
  overflow-y: auto;
}
.mobile-toc-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  min-height: 44px;
  transition: background-color 150ms;
}
.mobile-toc-link:hover,
.mobile-toc-link:active {
  background-color: hsl(var(--muted) / 0.5);
  color: hsl(var(--foreground));
}
.mobile-toc-link [data-lucide] {
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE OPTIMIZATION — comprehensive touch & layout fixes
   ═══════════════════════════════════════════════════════════════ */

/* Ensure all interactive elements have adequate touch targets */
button, a, [role="button"], input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}
button, .btn, .toc-link, .accordion-trigger, .lifecycle-tab {
  min-height: 44px;
}
/* Exception: small inline badges/icons shouldn't force 44px height */
.badge { min-height: unset; }

/* Full-width buttons: allow text to wrap on mobile so text isn't clipped */
.btn.w-full {
  white-space: normal;
  word-break: break-word;
  flex-wrap: wrap;
  justify-content: center;
  height: auto;
  min-height: 2.5rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  line-height: 1.4;
  text-align: center;
}

.text-center .badge.secondary {
  max-width: 100%;
  text-align: center;
  justify-content: center;
  white-space: normal;
  line-height: 1.4;
  padding: 0.5rem 0.75rem;
}

/* Hero h1: slightly smaller on very small screens */
@media (max-width: 400px) {
  h1 { font-size: 1.625rem !important; line-height: 1.2 !important; }
}

/* Social share buttons: wrap on mobile */
.flex.flex-wrap.gap-3 { row-gap: 0.5rem; }

/* Comparison mobile cards: already have their own layout, just ensure padding */
@media (max-width: 639px) {
  .card { border-radius: calc(var(--radius) - 2px); }
  .card-content, .card-header { padding: 1rem; }
  .p-8 { padding: 1.25rem; }
  .p-6 { padding: 1rem; }
  .py-8 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .mb-16 { margin-bottom: 3rem; }
  /* Stat grid: 2 col on small screens */
  .grid.md\:grid-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Pros/cons: always single column on mobile */
  .pros-cons-grid { grid-template-columns: 1fr !important; }
  .cons-side { border-left: none !important; border-top: 1px solid hsl(var(--border)) !important; }
}

/* ═══════════════════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════════════════ */
@media print {
  .toc-nav,
  .mobile-toc-bar,
  .ad-placeholder,
  .btn-social,
  header nav { display: none !important; }
  .card { page-break-inside: avoid; box-shadow: none; }
  a[href]:after { content: none; }
  body { font-size: 12pt; }
}


[data-optional="true"][data-field*="{{"] {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   GROUP-HOVER & INTERACTION EFFECTS
   ═══════════════════════════════════════════════════════════════ */

/* Top picks cards — image zoom on hover */
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }

/* Top picks card — subtle button scale on hover */
.hover\:scale-\[1\.02\]:hover { transform: scale(1.02); }

/* Card lift effect */
.hover\:-translate-y-1:hover { transform: translateY(-4px); }

/* Trusted Data Sources — abbr badge flips dark on hover */
.group:hover .group-hover\:bg-foreground { background-color: hsl(var(--foreground)); }
.group:hover .group-hover\:text-background { color: hsl(var(--background)); }

/* Trusted Data Sources — external link icon fades in on hover */
.group .group-hover\:opacity-100 { opacity: 0; transition: opacity 0.2s ease; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }

/* Hide breadcrumb on mobile — site header provides navigation */
@media (max-width: 1023px) {
  .page-breadcrumb { display: none !important; }
}
