/* ===========================================
   SecurePickr Theme - Main Stylesheet
   Design system matching Next.js frontend
   =========================================== */

/* --- Design Tokens --- */
:root {
  --color-primary: #0F766E;
  --color-primary-dark: #115E59;
  --color-primary-light: #CCFBF1;
  --color-accent: #14b8a6;
  --color-accent-dark: #0d9488;
  --color-accent-light: #22d3ee;
  --color-surface: #ffffff;
  --color-surface-muted: #f8fafc;
  --color-surface-warm: #fafaf9;
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-text-light: #94a3b8;
  --color-border: #e2e8f0;
  --color-footer: #1e293b;
  --color-surface-alt: #f8fbff;
  --color-cta: #0F766E;
  --color-cta-hover: #115E59;
  --color-hero-overlay: #0F766E;
  --color-focus-ring: #14b8a6;
  --color-success: #16a34a;
  --color-success-dark: #15803d;
  --color-danger: #dc2626;
  --color-danger-dark: #b91c1c;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-surface);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; text-decoration: none; }

::selection {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 0.75rem 1.5rem;
  background: var(--color-accent);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  clip: auto;
  margin: 0;
}

/* --- Utility Classes --- */
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-7xl { max-width: 80rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xs { max-width: 20rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.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; }

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

.text-center { text-align: center; }
.w-full { width: 100%; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

.rounded-xl { border-radius: 0.75rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-full { border-radius: 9999px; }

.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.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; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.leading-relaxed { line-height: 1.625; }
.antialiased { -webkit-font-smoothing: antialiased; }
.hidden { display: none; }
.items-start { align-items: flex-start; }
.shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0; }
.h-full { height: 100%; }
.h-8 { height: 2rem; }
.h-14 { height: 3.5rem; }
.w-8 { width: 2rem; }
.w-14 { width: 3.5rem; }
.p-2 { padding: 0.5rem; }
.p-8 { padding: 2rem; }
.uppercase { text-transform: uppercase; }

.text-white { color: #fff; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }

.transition-all { transition: all 0.15s; }
.transition-colors { transition: color 0.15s; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.04); }
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.group:hover .group-hover\:text-\[var\(--color-primary\)\] { color: var(--color-primary); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04); }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.04); }

/* --- Arbitrary CSS variable utility classes --- */
.bg-\[var\(--color-surface\)\] { background: var(--color-surface); }
.bg-\[var\(--color-surface-muted\)\] { background: var(--color-surface-muted); }
.text-\[var\(--color-text\)\] { color: var(--color-text); }
.text-\[var\(--color-text-muted\)\] { color: var(--color-text-muted); }
.text-\[var\(--color-primary\)\] { color: var(--color-primary); }
.text-\[var\(--color-accent-dark\)\] { color: var(--color-accent-dark); }
.border-\[var\(--color-border\)\] { border-color: var(--color-border); }
.bg-\[var\(--color-accent\)\]\/10 { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.space-y-1\.5 > * + * { margin-top: 0.375rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.gap-x-4 { column-gap: 1rem; }
.gap-y-1 { row-gap: 0.25rem; }
.list-disc { list-style-type: disc; }
.list-inside { list-style-position: inside; }
.border-collapse { border-collapse: collapse; }
.aspect-video { aspect-ratio: 16 / 9; }
.last\:border-0:last-child { border: 0 !important; }
.custom-scrollbar::-webkit-scrollbar { height: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: var(--color-border); border-radius: 3px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: var(--color-text-light); border-radius: 3px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: var(--color-text-muted); }
@supports (scrollbar-color: auto) {
  .custom-scrollbar { scrollbar-color: var(--color-text-light) var(--color-border); scrollbar-width: thin; }
}

/* --- Section utilities --- */
.section-surface { background: var(--color-surface); }
.section-surface-muted { background: var(--color-surface-muted); }
.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin: 0;
}
.section-subtext {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.625;
}
.section-divider-bar {
  margin: 1rem auto 0;
  width: 3rem;
  height: 4px;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--color-accent-light), var(--color-accent));
}

/* --- Button Styles --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  border: none;
  line-height: 1;
}
.btn-primary {
  background: var(--color-accent);
  color: white;
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.btn-primary:hover { background: var(--color-accent-dark); }
.btn-primary:active { transform: scale(0.98); }

.btn-outline-light {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  backdrop-filter: blur(4px);
}
.btn-outline-light:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.1); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.15s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* --- Gradient Text --- */
.gradient-text {
  background: linear-gradient(90deg, #22d3ee 0%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-reverse {
  background: linear-gradient(90deg, #14b8a6 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Logo Glow --- */
.logo-glow {
  position: relative;
  display: inline-flex;
}
.logo-glow::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 9999px;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 270deg, #fff 280deg, var(--color-accent) 300deg, transparent 320deg, transparent 360deg);
  -webkit-mask: radial-gradient(circle, transparent 68%, #000 68%);
  mask: radial-gradient(circle, transparent 68%, #000 68%);
  animation: glow-spin 2.5s linear infinite;
  z-index: -1;
}
@keyframes glow-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--color-border);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  min-height: 60px;
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255,255,255,0.8); }
}
.header-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}
@media (min-width: 640px) { .header-inner { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .header-inner { padding-left: 2rem; padding-right: 2rem; } }

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-primary);
  text-decoration: none;
}
.logo-img { height: 1.75rem; width: auto; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3)); }

.main-nav { display: none; }
@media (min-width: 768px) {
  .main-nav { display: flex; gap: 2rem; align-items: center; }
}
.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.15s;
  text-decoration: none;
}
.main-nav a:hover { color: var(--color-primary); }
.current-menu-item a, .current_page_item a { color: var(--color-primary) !important; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-cta { padding: 0.5rem 1.25rem; font-size: 0.8125rem; }
@media (max-width: 767px) {
  .header-cta { display: none; }
}

/* --- Hamburger Button --- */
.hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 0.375rem;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
}
.hamburger-btn:hover { color: var(--color-primary); }
.hamburger-close { display: none; }
.hamburger-icon,
.hamburger-close {
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger-btn[aria-expanded="true"] .hamburger-icon {
  display: block;
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}
.hamburger-btn[aria-expanded="true"] .hamburger-close {
  display: block;
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.hamburger-btn[aria-expanded="false"] .hamburger-close {
  display: block;
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}
.hamburger-btn[aria-expanded="false"] .hamburger-icon {
  display: block;
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

@media (max-width: 767px) {
  .header-inner { padding-right: 12px; }
  .hamburger-btn {
    display: flex;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
  }
}

/* --- Mobile Overlay --- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* --- Mobile Drawer --- */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  height: 100%;
  width: 18rem;
  background: var(--color-surface);
  border-left: 1px solid var(--color-border);
  box-shadow: -8px 0 30px -6px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-drawer.open {
  transform: translateX(0);
}
.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 5rem 1rem 1rem;
  flex: 1;
  list-style: none;
  margin: 0;
}
.mobile-drawer-links li {
  list-style: none;
  margin: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
/* Stagger entrance (top → bottom, 50ms gaps) */
.mobile-drawer.open .mobile-drawer-links li:nth-child(1) { transition-delay: 0.05s; }
.mobile-drawer.open .mobile-drawer-links li:nth-child(2) { transition-delay: 0.10s; }
.mobile-drawer.open .mobile-drawer-links li:nth-child(3) { transition-delay: 0.15s; }
.mobile-drawer.open .mobile-drawer-links li:nth-child(4) { transition-delay: 0.20s; }
.mobile-drawer.open .mobile-drawer-links li:nth-child(5) { transition-delay: 0.25s; }
.mobile-drawer.open .mobile-drawer-links li:nth-child(6) { transition-delay: 0.30s; }
.mobile-drawer.open .mobile-drawer-links li {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger exit (bottom → top, 50ms gaps) */
.mobile-drawer.closing .mobile-drawer-links li:nth-child(1) { transition-delay: 0.20s; }
.mobile-drawer.closing .mobile-drawer-links li:nth-child(2) { transition-delay: 0.15s; }
.mobile-drawer.closing .mobile-drawer-links li:nth-child(3) { transition-delay: 0.10s; }
.mobile-drawer.closing .mobile-drawer-links li:nth-child(4) { transition-delay: 0.05s; }
.mobile-drawer.closing .mobile-drawer-links li:nth-child(5) { transition-delay: 0s; }
.mobile-drawer.closing .mobile-drawer-links li:nth-child(6) { transition-delay: 0s; }
.mobile-drawer-links a {
  display: block;
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.mobile-drawer-links a:hover,
.mobile-drawer-links a:focus {
  color: var(--color-primary);
  background: var(--color-surface-muted);
}
.mobile-drawer-links .current-menu-item > a,
.mobile-drawer-links .current_page_item > a {
  color: var(--color-primary) !important;
}
/* CTA footer — enters last with scale+opacity */
.mobile-drawer-footer {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 1rem;
  margin-top: auto;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.28s ease 0.35s, transform 0.28s ease 0.35s;
}
.mobile-drawer.open .mobile-drawer-footer {
  opacity: 1;
  transform: scale(1);
}
.mobile-drawer.closing .mobile-drawer-footer {
  transition-delay: 0s;
}
.mobile-drawer-cta {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: var(--color-accent);
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.mobile-drawer-cta:hover { background: var(--color-accent-dark); }
.mobile-drawer-cta:active { transform: scale(0.97); }
@media (min-width: 768px) {
  .mobile-drawer,
  .mobile-overlay { display: none; }
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--color-primary-dark);
  min-height: 90svh;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--color-primary-dark), rgba(17,94,89,0.7), rgba(15,118,110,0.5));
}
.hero-overlay-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-primary-dark), transparent, rgba(0,0,0,0.15));
}
.hero-glow-1 {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(20,184,166,0.25) 0%, transparent 60%);
}
.hero-glow-2 {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom left, rgba(34,211,238,0.15) 0%, transparent 50%);
}
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 5rem 1rem;
}
@media (min-width: 640px) { .hero-content { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .hero-content { padding-left: 2rem; padding-right: 2rem; } }

.hero-grid {
  display: grid;
  align-items: center;
  gap: 3rem;
}
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 3fr 2fr; } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  border: 1px solid rgba(20,184,166,0.4);
  background: rgba(20,184,166,0.15);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--color-accent);
  backdrop-filter: blur(4px);
}
.hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  margin-top: 1.5rem;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: white;
}
.hero-subtext {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: #d1d5db;
}

.hero-cta-group {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-cta-group { flex-direction: row; align-items: center; }
}
.hero-cta-btn {
  min-height: 52px;
  padding: 0.875rem 1.75rem;
  box-shadow: 0 4px 14px rgba(20,184,166,0.25);
}
.hero-cta-btn:hover svg { transform: translateX(2px); }
.hero-cta-btn svg { transition: transform 0.15s; }
.hero-cta-btn:active { transform: scale(0.97); }
.hero-outline-btn { min-height: 52px; }
.hero-outline-btn:active { transform: scale(0.97); }

/* Interactive Picker */
.interactive-picker {
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
}
.picker-prompt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.picker-prompt .icon-wrap {
  display: flex;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(20,184,166,0.2);
}
.picker-prompt .icon-wrap svg { width: 14px; height: 14px; color: var(--color-accent); }
.picker-prompt-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #e2e8f0;
}
.picker-options { display: flex; flex-direction: column; gap: 0.625rem; }
.picker-option {
  width: 100%;
  text-align: left;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #d1d5db;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.picker-option:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
  color: white;
}
.picker-option.active {
  border-color: var(--color-accent);
  background: rgba(20,184,166,0.15);
  box-shadow: 0 0 20px -5px var(--color-accent);
}
.picker-option-icon {
  display: flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
}
.picker-option-icon.default { background: rgba(255,255,255,0.05); }
.picker-option-label { flex: 1; }
.picker-option-check { display: none; }
.picker-option.active .picker-option-check { display: block; }

.picker-result {
  margin-top: 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(20,184,166,0.3);
  background: linear-gradient(135deg, rgba(20,184,166,0.1), rgba(20,184,166,0.05));
  padding: 1rem;
  font-size: 0.875rem;
  color: #e2e8f0;
}
.picker-result-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.picker-result-badge {
  display: flex;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(20,184,166,0.3);
  font-size: 10px;
}
.picker-result-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
}
.picker-result-text { color: #d1d5db; margin: 0; }
.picker-result-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.15s;
}
.picker-result-link:hover { color: white; }

/* --- Feature Cards (Hero) --- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 4rem;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  display: flex;
  gap: 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.03);
  padding: 1rem;
  transition: all 0.15s;
}
.feature-card:hover { border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.06); }
.feature-icon {
  margin-top: 0.125rem;
  flex-shrink: 0;
  color: var(--color-accent);
  transition: transform 0.2s;
}
.feature-card:hover .feature-icon { transform: scale(1.1); }
.feature-card-title { font-size: 0.875rem; font-weight: 600; color: white; margin: 0; }
.feature-card-desc { margin-top: 0.25rem; font-size: 0.875rem; color: #9ca3af; margin: 0.25rem 0 0 0; }

/* --- Category Cards (Homepage) --- */
.categories-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .categories-grid { grid-template-columns: repeat(2, 1fr); } }

.category-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}
.category-card-inner { position: relative; padding: 2rem; display: flex; gap: 1rem; align-items: flex-start; }
.category-card-icon-wrap {
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-surface-muted);
  padding: 0.5rem;
}
.category-card-icon-img { width: 100%; height: 100%; object-fit: contain; }
.category-card-body { min-width: 0; flex: 1; }
.category-card-header { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.category-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  transition: color 0.15s;
}
.category-card:hover .category-card-title { color: var(--color-primary); }
.category-card-count {
  display: flex;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(20,184,166,0.1);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent-dark);
}
.category-card-desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0.5rem 0 0 0;
}
.category-card-link {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  transition: color 0.15s;
}
.category-card:hover .category-card-link { color: var(--color-accent); }

/* --- Provider Comparison Carousel --- */
.provider-carousel {
  margin-top: 3rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--color-text-light) var(--color-border);
  padding-bottom: 0.75rem;
  outline: none;
  cursor: grab;
}
.provider-carousel::-webkit-scrollbar { height: 6px; }
.provider-carousel::-webkit-scrollbar-track { background: var(--color-border); border-radius: 3px; }
.provider-carousel::-webkit-scrollbar-thumb { background: var(--color-text-light); border-radius: 3px; }
.provider-carousel::-webkit-scrollbar-thumb:hover { background: var(--color-text-muted); }

.provider-carousel-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  transition: transform 0.1s linear;
}

.provider-card {
  display: flex;
  min-height: 200px;
  min-width: 240px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 1.25rem;
  text-align: left;
  outline: none;
  transition: all 0.2s;
  cursor: pointer;
  font-family: inherit;
}
.provider-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border-color: var(--color-text-light);
}
.provider-card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.provider-card:active { transform: scale(0.98); }
.provider-card[aria-selected="true"] {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
}

.provider-card-logo-wrap {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}
.provider-card-logo { width: 100%; height: 100%; object-fit: contain; }
.provider-card-info { flex: 1; }
.provider-card-name { font-size: 0.875rem; font-weight: 600; color: var(--color-text); display: block; }
.provider-card-tagline { margin-top: 0.125rem; font-size: 0.75rem; color: var(--color-text-muted); margin: 0.125rem 0 0 0; }
.provider-card-footer {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}
.provider-card-category {
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  padding: 0.125rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}
.provider-rating { display: inline-flex; align-items: center; gap: 0.125rem; }
.star { width: 14px; height: 14px; }
.star-filled { fill: var(--color-accent); }
.star-empty { fill: var(--color-border); }

.provider-carousel-hint {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.provider-compare-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.15s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.provider-compare-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* Provider Detail Panel */
.provider-detail-panel {
  margin: 2rem auto 0;
  max-width: 42rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(20,184,166,0.3);
  background: var(--color-surface);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  outline: none;
  transition: all 0.2s;
}
.provider-detail-panel[hidden] { display: none; }
.provider-detail-inner { display: flex; align-items: flex-start; gap: 1rem; }
.provider-detail-logo-wrap {
  position: relative;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
}
.provider-detail-logo { width: 100%; height: 100%; object-fit: contain; }
.provider-detail-body { flex: 1; }
.provider-detail-header { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.provider-detail-name { font-size: 1.125rem; font-weight: 700; color: var(--color-text); margin: 0; }
.provider-detail-tagline { margin-top: 0.25rem; font-size: 0.875rem; color: var(--color-text-muted); }
.provider-detail-features-title {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
}
.provider-detail-features { margin-top: 0.5rem; list-style: none; padding: 0; }
.provider-detail-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.375rem;
}
.provider-detail-features li::before {
  content: "\2713";
  margin-top: 0.125rem;
  color: var(--color-accent);
  font-weight: 700;
}
.provider-detail-best {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent);
}
.provider-detail-best span { color: var(--color-text); }

/* --- Flow Section --- */
.flows-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}
@media (min-width: 1024px) { .flows-grid { grid-template-columns: repeat(3, 1fr); } }

.flow-card {
  display: flex;
  flex-direction: column;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 1.5rem;
  transition: all 0.2s;
}
.flow-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.flow-number {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}
.flow-title {
  margin-top: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0.5rem 0 0 0;
}
.flow-desc {
  margin-top: 0.5rem;
  flex: 1;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0.5rem 0 0 0;
}
.flow-steps-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.flow-step-group { display: flex; align-items: center; gap: 0.5rem; }
.flow-step-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 0.375rem;
  border: 1px solid rgba(15,118,110,0.2);
  background: rgba(15,118,110,0.05);
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
}
.flow-arrow {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--color-text-light);
}

/* --- Latest Articles Section --- */
.latest-articles-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.latest-articles-view-all {
  display: none;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.15s;
}
.latest-articles-view-all:hover { color: var(--color-primary-dark); }
@media (min-width: 640px) { .latest-articles-view-all { display: inline-flex; } }

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .articles-grid { grid-template-columns: repeat(3, 1fr); } }

.article-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.article-card {
  display: flex;
  flex-direction: column;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  overflow: hidden;
  transition: all 0.2s;
  height: 100%;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}
.article-card-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.article-card-category {
  border-radius: 9999px;
  background: rgba(15,118,110,0.1);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-primary-dark);
}
.article-card-date {
  font-size: 0.75rem;
  color: var(--color-text-light);
}
.article-card-title {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.375;
  margin: 0.75rem 0 0 0;
  transition: color 0.15s;
}
.article-card:hover .article-card-title { color: var(--color-primary); }
.article-card-excerpt {
  margin-top: 0.5rem;
  flex: 1;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.625;
  margin: 0.5rem 0 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card-read-time {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  transition: color 0.15s;
}
.article-card:hover .article-card-read-time { color: var(--color-accent); }

.latest-articles-mobile-link {
  margin-top: 2rem;
  text-align: center;
}
.latest-articles-mobile-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
}
@media (min-width: 640px) { .latest-articles-mobile-link { display: none; } }

/* --- CTA Section --- */
.cta-section {
  background: var(--color-primary-dark);
  position: relative;
}
.cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: white;
  margin: 0;
}
.cta-subtext {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: #d1d5db;
  line-height: 1.625;
}
.cta-buttons {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 640px) { .cta-buttons { flex-direction: row; } }
.cta-primary-btn {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.cta-primary-btn:hover svg { transform: translateX(2px); }
.cta-primary-btn svg { transition: transform 0.15s; }
.cta-secondary-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #9ca3af;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.15s;
}
.cta-secondary-link:hover { color: white; }

/* --- Footer --- */
.site-footer {
  background: var(--color-footer);
  border-top: 1px solid #334155;
  color: #9ca3af;
  font-size: 0.875rem;
}
.footer-description {
  margin-top: 0.75rem;
  max-width: 28rem;
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.5;
}
.footer-email {
  display: inline-block;
  margin-top: 1rem;
  color: #9ca3af;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-email:hover { color: white; }

.footer-newsletter { margin-top: 1.5rem; max-width: 20rem; }
.footer-newsletter-form { display: flex; gap: 0.5rem; }
.email-wrap { position: relative; flex: 1; }
.email-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: #6b7280;
  pointer-events: none;
}
.email-wrap input[type="email"] {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2.5rem;
  border-radius: 0.375rem;
  border: 1px solid #374151;
  background: #1f2937;
  color: white;
  font-size: 0.875rem;
  outline: none;
  font-family: inherit;
}
.email-wrap input[type="email"]:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
}
.email-wrap input::placeholder { color: #6b7280; }

.footer-column-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  margin: 0 0 1rem 0;
}
.footer-column-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-column-list li { margin-bottom: 0.75rem; }
.footer-column-list a {
  display: inline-block;
  padding: 0.375rem 0;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-column-list a:hover { color: white; }

.footer-bottom {
  margin-top: 2.5rem;
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: #6b7280;
}
.footer-bottom a {
  color: #9ca3af;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}
.footer-bottom a:hover { color: #d1d5db; }
.footer-sep { opacity: 0.4; }

/* --- Article Pages --- */
.article-header {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary), var(--color-accent-dark));
  padding: 3rem 0;
}
.article-header a { color: var(--color-accent); }
.article-header a:hover { color: white; }
.article-back-link {
  display: inline-block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.15s;
}
.article-back-link:hover { color: white; }
.article-title {
  margin-top: 1.5rem;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: white;
}
@media (min-width: 640px) { .article-title { font-size: 2.25rem; } }
.article-content p.article-description {
  margin-top: 0.75rem;
  margin-bottom: 0;
  color: white;
}
.article-meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.875rem;
  color: white;
}

.article-body {
  background: var(--color-surface);
  padding: 3rem 0;
}

.article-related-section {
  margin-top: 2.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
}
.article-related-section h3 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  margin: 0 0 1rem 0;
}
.article-related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.article-related-list a {
  font-size: 0.875rem;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}
.article-related-list a:hover { color: var(--color-accent-dark); }

.article-sources-section {
  margin-top: 2.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
}
.article-sources-section h3 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  margin: 0 0 1rem 0;
}
.article-sources-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.article-sources-list a {
  font-size: 0.875rem;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}
.article-sources-list a:hover { color: var(--color-accent-dark); }

.article-review-notice {
  margin-top: 2rem;
  border-radius: 0.5rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface-muted);
  padding: 1rem;
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.article-content {
  max-width: 48rem;
  margin: 0 auto;
}
.article-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}
.article-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
}
.article-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--color-text-muted);
}
.article-content ul, .article-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: var(--color-text-muted);
}
.article-content li { margin-bottom: 0.375rem; }
.article-content a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }
.article-content a:hover { color: var(--color-accent-dark); }

.article-content figure {
  margin: 2rem 0;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  overflow: hidden;
}
.article-content figure .svg-container {
  background: #1a1a2e;
  padding: 1.5rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  line-height: 1.6;
  overflow-x: auto;
}
.article-content figure .svg-container svg {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.article-content figure .svg-container p {
  margin: 0.25rem 0;
  color: #e2e8f0;
  font-size: 0.875rem;
}
.article-content figure .svg-container table {
  width: 100%;
  min-width: auto;
  font-size: 0.8125rem;
  margin: 0.75rem 0;
  border-collapse: collapse;
  background: transparent;
}
.article-content figure .svg-container table th,
.article-content figure .svg-container table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #334155;
  color: #cbd5e1;
  background: transparent;
  text-align: left;
  font-weight: 400;
}
.article-content figure .svg-container table th {
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #475569;
}
.article-content figure .svg-container table tr:last-child td {
  border-bottom: none;
}
.article-content figure .svg-container .winner-text {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #334155;
  color: #14b8a6;
  font-weight: 600;
}
.article-content figure > table {
  margin-bottom: 0;
  border: none;
  border-radius: 0;
}
.article-content figure > table th:first-child,
.article-content figure > table td:first-child {
  padding-left: 1.5rem;
}
.article-content figure > table th:last-child,
.article-content figure > table td:last-child {
  padding-right: 1.5rem;
}
.article-content figure > table tr:first-child th {
  border-top: none;
}
.article-content figure > table tr:last-child td {
  border-bottom: none;
}
.article-content figure figcaption {
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  color: var(--color-text-light);
  text-align: center;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface-muted);
}

.article-content .pros-cons-wrap,
.article-content .pros-cons-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
  .article-content .pros-cons-wrap,
  .article-content .pros-cons-grid { grid-template-columns: repeat(2, 1fr); }
}
.article-content .pros-column,
.article-content .pros {
  border-radius: 0.5rem;
  border: 1px solid rgba(22,163,74,0.2);
  background: rgba(22,163,74,0.05);
  padding: 1.5rem;
}
.article-content .pros-column h4,
.article-content .pros h4 {
  color: var(--color-success);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.article-content .pros-column ul,
.article-content .pros ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.article-content .pros-column li,
.article-content .pros li {
  position: relative;
  padding: 0.375rem 0 0.375rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text);
}
.article-content .pros-column li::before,
.article-content .pros li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0.375rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-success);
}
.article-content .cons-column,
.article-content .cons {
  border-radius: 0.5rem;
  border: 1px solid rgba(220,38,38,0.2);
  background: rgba(220,38,38,0.05);
  padding: 1.5rem;
}
.article-content .cons-column h4,
.article-content .cons h4 {
  color: var(--color-danger);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.article-content .cons-column ul,
.article-content .cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.article-content .cons-column li,
.article-content .cons li {
  position: relative;
  padding: 0.375rem 0 0.375rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text);
}
.article-content .cons-column li::before,
.article-content .cons li::before {
  content: "–";
  position: absolute;
  left: 0;
  top: 0.375rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-danger);
}
.article-content .verdict-box {
  border-radius: 0.5rem;
  border: 1px solid rgba(20,184,166,0.3);
  background: rgba(20,184,166,0.05);
  padding: 1.5rem;
  border-left: 4px solid var(--color-accent);
}
.article-content .verdict-box h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  margin: 0 0 0.5rem;
}
.article-content .verdict-box p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text);
}
.article-content .note-box {
  border-radius: 0.5rem;
  border: 1px solid var(--color-primary-light);
  background: rgba(204,251,241,0.3);
  padding: 1rem;
  font-size: 0.875rem;
}
.article-content table {
  width: 100%;
  min-width: 500px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  overflow: hidden;
}
.article-content thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--color-primary);
  border-bottom: 1px solid var(--color-primary-dark);
}
.article-content thead th:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.12);
}
.article-content tbody td {
  padding: 0.75rem 1rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}
.article-content tbody td:not(:last-child) {
  border-right: 1px solid var(--color-border);
}
.article-content tbody tr:last-child td { border-bottom: none; }
.article-content tbody tr:nth-child(even) td { background: var(--color-surface-muted); }
.article-content tbody tr:hover td { background: rgba(20,184,166,0.06); }
.article-content ol { list-style: decimal; padding-left: 1.75rem; }
.article-content ol li::marker { font-weight: 600; color: var(--color-primary); }
.article-content ul { list-style: disc; }

/* --- Archive Grid --- */
.archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 640px) { .archive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .archive-grid { grid-template-columns: repeat(3, 1fr); } }

.article-card-image {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--color-surface-muted);
}
.article-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  pointer-events: none;
}
.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.article-card:hover .article-card-image img { transform: scale(1.05); }
.article-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.article-card-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--color-text-light); }
.article-card-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background: rgba(20,184,166,0.9);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.search-form { display: flex; gap: 0.5rem; margin-bottom: 2rem; }
.search-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--color-border);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}
.search-form input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(20,184,166,0.15);
}
.search-form button {
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  background: var(--color-accent);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}
.search-form button:hover { background: var(--color-accent-dark); }

/* --- Section Dividers --- */
.section-divider {
  position: relative;
  height: 16rem;
  overflow: hidden;
  background: var(--color-primary-dark);
}
.section-divider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--color-primary-dark), rgba(17,94,89,0.9), var(--color-primary));
}

/* --- Trust Badges --- */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}
.trust-badge {
  height: 2.75rem;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.trust-badge:hover { opacity: 1; }

/* --- Social Proof --- */
.social-proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 640px) { .social-proof-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 1.5rem;
}
.testimonial-quote-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-muted);
  opacity: 0.3;
}

/* --- TOC --- */
.toc-container {
  position: fixed;
  top: 120px;
  right: max(24px, calc((100vw - 1200px) / 2 - 280px));
  width: 220px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  pointer-events: none;
}
.toc-container.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.toc-inner {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.625rem;
  padding: 1rem;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.06), 0 1px 2px -1px rgba(0,0,0,0.06);
}
.toc-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  margin-bottom: 0.625rem;
}
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { margin-bottom: 1px; }
.toc-link {
  display: block;
  padding: 0.375rem 0.5rem 0.375rem 0.75rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  border-radius: 0.375rem;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  border-left: 2px solid transparent;
  line-height: 1.4;
}
.toc-link:hover { background: var(--color-surface-muted); color: var(--color-text); }
.toc-link.active { color: var(--color-accent); background: rgba(20,184,166,0.08); border-left-color: var(--color-accent); font-weight: 600; }
.toc-link.toc-h3 { padding-left: 1.25rem; }
@media (max-width: 1200px) { .toc-container { display: none; } }

/* --- Breadcrumbs --- */
.breadcrumbs {
  font-size: 0.75rem;
  color: var(--color-text-light);
}
.breadcrumbs a {
  color: var(--color-accent-light);
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumbs a:hover { color: white; }
.breadcrumbs span { color: #9ca3af; }

/* --- Affiliate Notice --- */
.affiliate-notice {
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(20,184,166,0.2);
  background: rgba(20,184,166,0.05);
  padding: 1rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* --- Page Content --- */
.page-content {
  max-width: 48rem;
  margin: 0 auto;
}
.page-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.page-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
}
.page-content p { margin-bottom: 1rem; color: var(--color-text-muted); }
.page-content ul, .page-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}
.page-content li { margin-bottom: 0.375rem; }

/* --- Comparison Bar Chart --- */
.bar-chart {
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 1.5rem;
}
.bar-chart-title {
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.bar-chart-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.25rem;
  border-radius: 2px;
  background: var(--color-primary);
  flex-shrink: 0;
}
.bar-row {
  display: grid;
  align-items: center;
  gap: 0.75rem;
  grid-template-columns: minmax(200px, 1fr) 1fr;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.15s;
}
.bar-row:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}
.bar-row:hover {
  background: rgba(20,184,166,0.04);
  border-radius: 0.375rem;
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}
.bar-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bar-track {
  overflow: hidden;
  border-radius: 9999px;
  background: var(--color-surface-muted);
  height: 0.625rem;
  position: relative;
}
.bar-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  transition: width 0.8s ease;
  min-width: 4px;
  max-width: 100%;
  position: relative;
}
.bar-fill .bar-pct {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s;
}
.bar-fill.has-text .bar-pct {
  opacity: 1;
}
.bar-fill.bar-narrow .bar-pct {
  right: auto;
  left: calc(100% + 0.5rem);
  color: var(--color-text);
  text-shadow: none;
  background: var(--color-surface);
  padding: 0 0.25rem;
  border-radius: 2px;
  z-index: 2;
}
.bar-value {
  display: none;
}
.bar-fill.animate {
  animation: barGrow 0.8s ease forwards;
}
@keyframes barGrow {
  0% { width: 0 !important; }
}
.bar-value {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.bar-note {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.75rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.bar-note::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

/* --- Decision Matrix --- */
figure.article-image {
  margin: 2rem 0;
  overflow-x: auto;
}
.decision-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.decision-matrix caption {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-align: left;
  color: var(--color-text);
  caption-side: top;
}
.decision-matrix thead th {
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  user-select: none;
  position: relative;
}
.decision-matrix thead th:first-child {
  text-align: left;
  cursor: default;
}
.decision-matrix thead th:hover:not(:first-child) {
  background: var(--color-primary-dark);
}
.decision-matrix thead th.active-col {
  background: var(--color-accent);
  box-shadow: inset 0 -3px 0 rgba(255,255,255,0.5);
}
.decision-matrix tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  transition: background 0.2s;
}
.decision-matrix tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--color-text);
}
.decision-matrix tbody tr {
  transition: background 0.2s;
  cursor: pointer;
}
.decision-matrix tbody tr:hover td {
  background: rgba(20,184,166,0.08);
}
.decision-matrix tbody tr.active-row td {
  background: rgba(20,184,166,0.15);
}
.decision-matrix tbody tr.active-row td:first-child {
  color: var(--color-primary-dark);
}
.decision-matrix tbody tr:nth-child(even) td {
  background: var(--color-surface-muted);
}
.decision-matrix tbody tr:nth-child(even):hover td {
  background: rgba(20,184,166,0.1);
}
.decision-matrix tbody tr:last-child td {
  border-bottom: none;
}
.decision-matrix tbody td .check-mark {
  color: var(--color-success);
  font-weight: 700;
  font-size: 1.15rem;
  display: inline-block;
  animation: popIn 0.3s ease;
}
.decision-matrix tbody td .dash-mark {
  color: var(--color-danger);
  font-size: 1.15rem;
  font-weight: 600;
  opacity: 0.6;
}
.decision-matrix tfoot td {
  background: linear-gradient(135deg, var(--color-primary-light), #e0f2f1);
  color: var(--color-primary-dark);
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-top: 2px solid var(--color-primary);
  text-align: center;
  font-size: 0.95rem;
}
@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

/* --- Responsive --- */
@media (min-width: 640px) {
  .sm\:flex { display: flex; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:hidden { display: none; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 1.1; }
  .sm\:items-center { align-items: center; }
  .sm\:gap-8 { gap: 2rem; }
}
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
}
@media (min-width: 1024px) {
  .lg\:col-span-2 { grid-column: span 2; }
  .lg\:col-span-3 { grid-column: span 3; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
}

/* --- Animations --- */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fade-in 0.5s ease-out both;
}

/* Stagger entrance delay helpers */
.stagger-1 { animation-delay: 0s; }
.stagger-2 { animation-delay: 0.12s; }
.stagger-3 { animation-delay: 0.24s; }
.stagger-4 { animation-delay: 0.36s; }
.stagger-5 { animation-delay: 0.48s; }

/* Ripple click effect */
.category-card,
[class*="category-card"] {
  position: relative;
  overflow: hidden;
}
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.25);
  transform: scale(0);
  animation: ripple-anim 0.5s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Press animation on click */
.category-card:active,
a[class*="category"]:active {
  transform: scale(0.97);
}

.pointer-events-none { pointer-events: none; }

/* Entrance animation variant: slide-up + fade */
@keyframes slide-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-slide-up {
  animation: slide-up 0.5s ease-out both;
}

/* --- WordPress Block Editor --- */
/* --- Team Card Animations --- */
.team-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}
.team-card .team-avatar {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover .team-avatar {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(13,148,136,0.3);
}

.wp-block-image { margin-bottom: 1.5rem; }
.wp-block-image figcaption {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
}

/* --- Provider Comparison Table (archive) --- */
.providers-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.providers-scroll::-webkit-scrollbar { height: 6px; }
.providers-scroll::-webkit-scrollbar-track { background: var(--color-border); border-radius: 3px; }
.providers-scroll::-webkit-scrollbar-thumb { background: var(--color-text-light); border-radius: 3px; }
.providers-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.providers-table th, .providers-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.providers-table th { font-weight: 600; color: var(--color-text); }
.providers-table td { color: var(--color-text-muted); }
.provider-logo-img { height: 2rem; width: auto; margin-bottom: 0.5rem; }
.provider-features { list-style: none; padding: 0; margin: 0; }
.provider-features li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.8125rem;
  margin-bottom: 0.25rem;
}
.provider-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.6;
}
