/* ============================================================
   MundoCrypto.info — style.css
   Production-grade dark fintech design
   Binance meets Coinbase Premium meets editorial magazine
   ============================================================ */

/* ============================================================
   FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700;800&family=Inter:ital,wght@0,300;0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand */
  --orange:        #f7931a;
  --orange-dark:   #d4780e;
  --orange-light:  #ffa93d;
  --orange-glow:   rgba(247,147,26,0.35);
  --orange-subtle: rgba(247,147,26,0.08);

  /* Backgrounds */
  --bg:            #080810;
  --bg-2:          #0f0f1a;
  --surface:       #13131f;
  --surface-2:     #1c1c2e;
  --surface-3:     #252538;
  --glass:         rgba(19,19,31,0.75);
  --glass-border:  rgba(255,255,255,0.07);

  /* Text */
  --text:          #f0f0f5;
  --text-2:        #a8a8c0;
  --text-3:        #686888;

  /* Accents */
  --green:         #00d4a4;
  --red:           #ff4d6d;
  --blue:          #4da6ff;
  --purple:        #9b59b6;

  /* Borders */
  --border:        rgba(247,147,26,0.12);
  --border-subtle: rgba(255,255,255,0.06);
  --border-hover:  rgba(247,147,26,0.45);

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Radius */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   32px;
  --r-full: 999px;

  /* Fonts */
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 24px var(--orange-glow), 0 0 48px rgba(247,147,26,0.15);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.35);

  /* Transitions */
  --ease:      cubic-bezier(0.4,0,0.2,1);
  --ease-out:  cubic-bezier(0,0,0.2,1);
  --dur-fast:  150ms;
  --dur-med:   300ms;
  --dur-slow:  500ms;

  --container: 1200px;

  /* Legacy aliases so older HTML still works */
  --color-primary:      var(--orange);
  --color-primary-dark: var(--orange-dark);
  --color-primary-glow: var(--orange-glow);
  --color-bg:           var(--bg);
  --color-surface:      var(--surface);
  --color-surface-2:    var(--surface-2);
  --color-surface-3:    var(--surface-3);
  --color-text:         var(--text);
  --color-text-muted:   var(--text-2);
  --color-border:       var(--border);
  --color-border-subtle: var(--border-subtle);
  --font-heading:       var(--font-head);
  --radius:             var(--r-md);
  --radius-sm:          var(--r-sm);
  --radius-lg:          var(--r-lg);
  --transition:         all var(--dur-med) var(--ease);
  --container-max:      var(--container);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) var(--bg);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-2);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, svg {
  display: block;
  max-width: 100%;
}
canvas {
  display: block;
}

input, button, textarea, select { font: inherit; }

p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

a {
  color: var(--orange);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
a:hover { color: var(--orange-light); }

ul, ol { list-style: none; }

::selection {
  background-color: var(--orange);
  color: #000;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--surface-3);
  border-radius: var(--r-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ============================================================
   READING PROGRESS BAR
   ============================================================ */
#reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  z-index: 9999;
  transition: width 100ms linear;
  box-shadow: 0 0 10px var(--orange-glow);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.3rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }
h6 { font-size: 0.9rem; font-weight: 600; }

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-2);
}

.lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text);
  font-weight: 400;
}

.caption {
  font-size: 0.8rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

.mono { font-family: var(--font-mono); }

/* ============================================================
   CONTAINER & LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.container-sm {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.section      { padding: var(--space-3xl) 0; }
.section-sm   { padding: var(--space-2xl) 0; }
.section-lg   { padding: 120px 0; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--dur-med) var(--ease),
              box-shadow var(--dur-med) var(--ease),
              border-color var(--dur-med) var(--ease);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(8,8,16,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 32px rgba(0,0,0,0.4);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text);
  flex-shrink: 0;
}

.logo-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: #000;
  box-shadow: 0 0 16px var(--orange-glow);
  flex-shrink: 0;
  transition: box-shadow var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}

.navbar-logo:hover .logo-circle {
  box-shadow: var(--shadow-glow);
  transform: rotate(-5deg) scale(1.05);
}

.logo-text {
  background: linear-gradient(135deg, var(--text) 0%, var(--orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Legacy logo symbol support */
.logo-symbol {
  font-size: 1.5rem;
  color: var(--orange);
  line-height: 1;
  filter: drop-shadow(0 0 8px var(--orange-glow));
}

/* Nav links */
.navbar-links,
.navbar-nav {
  display: none;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-links a,
.navbar-nav a {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
  white-space: nowrap;
}

.navbar-links a::after,
.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-med) var(--ease);
  border-radius: var(--r-full);
}

.navbar-links a:hover,
.navbar-nav a:hover {
  color: var(--text);
}

.navbar-links a:hover::after,
.navbar-links a.active::after,
.navbar-nav a:hover::after,
.navbar-nav a.active::after {
  transform: scaleX(1);
}

.navbar-links a.active,
.navbar-nav a.active {
  color: var(--orange);
}

/* Nav CTA */
.navbar-cta {
  display: none;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ============================================================
   HAMBURGER
   ============================================================ */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
  border-radius: var(--r-sm);
  transition: background var(--dur-fast);
}
.hamburger:hover { background: var(--orange-subtle); }

.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: var(--r-full);
  transition: transform var(--dur-med) var(--ease),
              opacity var(--dur-fast) var(--ease),
              width var(--dur-med) var(--ease);
  transform-origin: center;
}

.hamburger span:nth-child(1) { width: 100%; }
.hamburger span:nth-child(2) { width: 70%; }
.hamburger span:nth-child(3) { width: 85%; }

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); width: 100%; }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 100%; }

/* ============================================================
   MOBILE MENU (slide from right)
   ============================================================ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease);
  z-index: 998;
}
.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  bottom: 0;
  width: min(340px, 90vw);
  background: var(--surface);
  border-left: 1px solid var(--border);
  padding: 80px 32px 40px;
  transition: right var(--dur-med) var(--ease);
  z-index: 999;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open { right: 0; }

.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 1.15rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text-2);
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--dur-fast), padding-left var(--dur-fast);
}
.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--orange);
  padding-left: 8px;
}

.mobile-menu-cta {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

/* Legacy full-overlay mobile menu */
.navbar.mobile-menu-open .mobile-menu {
  opacity: 1;
  pointer-events: all;
}

/* ============================================================
   HERO — MAIN (100vh)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(247,147,26,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg-2));
  pointer-events: none;
  z-index: 2;
}

/* Page hero (inner pages, ~55vh) */
.page-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
  padding-top: 72px;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(247,147,26,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg-2));
  pointer-events: none;
  z-index: 2;
}

.page-hero-sm {
  min-height: 40vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.page-hero-sm .hero-content { padding: 60px 0 40px; }

/* Canvas particle bg — matches any canvas inside .hero or .page-hero */
canvas#particles,
canvas#particlesHero,
.hero > canvas,
.page-hero > canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  pointer-events: none;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(8,8,16,0.3) 0%,
    rgba(8,8,16,0.5) 60%,
    rgba(8,8,16,0.9) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 120px var(--space-lg) 80px;
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

/* Eyebrow badge */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 6px 16px 6px 12px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: var(--r-full);
  background: var(--glass);
  backdrop-filter: blur(12px);
}

.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: dot-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #ffffff 0%, var(--orange) 60%, var(--orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.75;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.6;
  animation: float 2.5s ease-in-out infinite;
}
.scroll-indicator span {
  display: block;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-chevron {
  width: 20px; height: 20px;
  border-right: 1.5px solid var(--text-3);
  border-bottom: 1.5px solid var(--text-3);
  transform: rotate(45deg);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--r-full);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease),
              box-shadow var(--dur-med) var(--ease),
              background var(--dur-med) var(--ease),
              color var(--dur-fast) var(--ease);
  white-space: nowrap;
  isolation: isolate;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease);
  border-radius: inherit;
  pointer-events: none;
}
.btn:hover::before { transform: translateX(100%); }

/* Primary */
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #000;
  border-color: transparent;
  box-shadow: 0 4px 20px var(--orange-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: #000;
  filter: brightness(1.08);
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px var(--orange-glow);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-outline:hover {
  background: var(--orange-subtle);
  color: var(--orange-light);
  border-color: var(--orange-light);
  transform: translateY(-1px);
}
.btn-outline:active { transform: scale(0.98); }

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border-color: transparent;
}
.btn-ghost:hover {
  color: var(--orange);
  background: var(--orange-subtle);
}

/* Sizes */
.btn-sm { padding: 9px 20px; font-size: 0.8rem; }
.btn-lg { padding: 18px 44px; font-size: 1rem; }

/* States */
.btn:disabled, .btn.loading {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  pointer-events: none;
}
.btn.loading::after {
  content: '';
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn.pulse {
  animation: pulse-glow 2.5s ease-in-out infinite;
}

/* ============================================================
   CARDS (glassmorphism)
   ============================================================ */
.card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease),
              border-color var(--dur-med) var(--ease),
              box-shadow var(--dur-med) var(--ease);
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease);
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 30px var(--orange-glow);
}
.card:hover::before { opacity: 1; }

/* Card icon */
.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--orange-subtle) 0%, rgba(247,147,26,0.15) 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
  color: var(--orange);
  transition: transform var(--dur-med) var(--ease),
              background var(--dur-med) var(--ease),
              box-shadow var(--dur-med) var(--ease);
}
.card:hover .card-icon {
  background: linear-gradient(135deg, rgba(247,147,26,0.18) 0%, rgba(247,147,26,0.28) 100%);
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--orange-glow);
}

.card-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.card-body p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 14px;
  transition: gap var(--dur-fast) var(--ease), color var(--dur-fast);
}
.card-link:hover { gap: 10px; color: var(--orange-light); }
.card-link::after { content: '→'; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 32px 40px;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--orange-subtle) 0%, transparent 60%);
  pointer-events: none;
  animation: gradient-shift 8s ease infinite alternate;
}

.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.stats-bar-item {
  text-align: center;
  position: relative;
}

.stats-bar-item + .stats-bar-item::before {
  content: '';
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--text) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}

/* Legacy stat styles */
.stat-value {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 20px;
  text-align: center;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-title .accent { color: var(--orange); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  line-height: 1.75;
}

.section-header { margin-bottom: var(--space-2xl); }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   AD SLOTS
   ============================================================ */
.ad-slot {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-slot::before {
  content: 'Publicidad';
  position: absolute;
  top: 6px; right: 10px;
  font-size: 0.65rem;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.ad-leaderboard {
  width: 728px;
  height: 90px;
  max-width: 100%;
  margin: 0 auto 32px;
}

.ad-rectangle, .ad-slot.ad-rectangle, .ad-slot.ad-contact, .ad-slot.ad-article {
  width: 336px;
  height: 280px;
  max-width: 100%;
  margin: 40px auto;
}

.ad-half-page, .ad-sidebar, .ad-slot.ad-sidebar {
  width: 300px;
  height: 600px;
  max-width: 100%;
}

.ad-medium { width: 300px; height: 250px; }

.ad-anchor {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
}

.ad-in-feed {
  width: 100%;
  min-height: 250px;
}

.ad-footer { width: 100%; height: 90px; }

.ad-label {
  display: block;
  font-size: 0.65rem;
  color: var(--text-3);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  font-family: var(--font-mono);
}

.ad-desktop-only { display: none; }
.ad-mobile-only  { display: flex; }

/* ============================================================
   SIDEBAR LAYOUT
   ============================================================ */
.layout-sidebar,
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.sidebar,
.sticky-sidebar,
.article-sidebar {
  position: static;
}

/* ============================================================
   TABLES
   ============================================================ */
.table-wrapper,
.comparison-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  margin: 24px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--surface);
}

thead tr {
  background: linear-gradient(90deg, rgba(247,147,26,0.15) 0%, rgba(247,147,26,0.08) 100%);
  border-bottom: 1px solid var(--border);
}

thead th {
  padding: 14px 18px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--dur-fast) var(--ease);
}
tbody tr:last-child { border-bottom: none; }
tbody tr:nth-child(even) { background: rgba(255,255,255,0.015); }
tbody tr:hover { background: rgba(247,147,26,0.04); }

tbody td {
  padding: 12px 18px;
  color: var(--text-2);
  vertical-align: middle;
  line-height: 1.55;
}
tbody td:first-child { color: var(--text); font-weight: 500; }

.comparison-table th {
  background: var(--orange);
  color: #000;
  font-weight: 700;
  padding: 14px 18px;
  font-family: var(--font-head);
}
.comparison-table tr:hover td { background: rgba(247,147,26,0.04); }
.table-highlight td { background: rgba(247,147,26,0.06) !important; }
.stars { color: var(--orange); letter-spacing: 2px; }

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin: 24px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.alert p { margin: 0; font-size: 0.92rem; color: inherit; }
.alert-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }

.alert-warning {
  background: rgba(247,147,26,0.08);
  border-left: 3px solid var(--orange);
  color: var(--text);
}
.alert-warning strong { color: var(--orange); }

.alert-danger {
  background: rgba(255,77,109,0.08);
  border-left: 3px solid var(--red);
  color: var(--text);
}

.alert-success {
  background: rgba(0,212,164,0.08);
  border-left: 3px solid var(--green);
  color: var(--text);
}

.alert-info {
  background: rgba(77,166,255,0.08);
  border-left: 3px solid var(--blue);
  color: var(--text);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur-med) var(--ease),
              box-shadow var(--dur-med) var(--ease);
}

.accordion-item.active {
  border-color: var(--border);
  border-left: 3px solid var(--orange);
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  user-select: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: color var(--dur-fast);
}
.accordion-header:hover { color: var(--orange); }
.accordion-item.active .accordion-header { color: var(--orange); }

.accordion-chevron {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--text-3);
  transition: transform var(--dur-med) var(--ease), color var(--dur-fast);
}
.accordion-item.active .accordion-chevron {
  transform: rotate(180deg);
  color: var(--orange);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.accordion-body-inner {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.75;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

label, .form-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-2);
}
.form-label.required::after { content: ' *'; color: var(--orange); }

input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
textarea,
select,
.form-control {
  width: 100%;
  background: var(--surface-3);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              background var(--dur-fast);
  outline: none;
}

input::placeholder,
textarea::placeholder,
.form-control::placeholder {
  color: var(--text-3);
  opacity: 0.8;
}

input:focus,
textarea:focus,
select:focus,
.form-control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-subtle);
  background: var(--surface-2);
}

input.is-invalid, .form-control.is-invalid,
input.error, textarea.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255,77,109,0.12);
}

input.is-valid, .form-control.is-valid {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,212,164,0.12);
}

textarea, textarea.form-control { resize: vertical; min-height: 130px; }

select, select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23a8a8c0' d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 42px;
}

.form-error {
  color: var(--red);
  font-size: 0.78rem;
  margin-top: 4px;
  display: none;
}
.form-error.visible { display: block; }

.form-success {
  padding: 16px 20px;
  background: rgba(0,212,164,0.08);
  border: 1px solid rgba(0,212,164,0.25);
  border-radius: var(--r-md);
  color: var(--green);
  font-weight: 500;
  text-align: center;
  display: none;
  margin-top: 16px;
}
.form-success.visible {
  display: block;
  animation: fadeInUp 0.4s var(--ease-out);
}

/* ============================================================
   PROCESS STEPS (large numbered)
   ============================================================ */
.steps-process {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 40px 0;
  border-left: 2px solid var(--border);
  margin-left: 28px;
}

.process-step {
  display: flex;
  gap: 28px;
  padding-left: 40px;
  padding-bottom: 48px;
  position: relative;
  align-items: flex-start;
}
.process-step:last-child { padding-bottom: 0; }

.process-step::before {
  content: attr(data-step);
  position: absolute;
  left: -41px;
  top: 0;
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: #000;
  box-shadow: 0 0 20px var(--orange-glow);
  z-index: 1;
}

/* Legacy process step (old HTML) */
.process-step-number {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  min-width: 72px;
  text-align: center;
  opacity: 0.9;
  flex-shrink: 0;
}
.process-step-body { flex: 1; }
.process-step-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.process-step-body p { color: var(--text-2); line-height: 1.7; margin-bottom: 10px; }

/* Steps grid (simpler) */
.steps { display: grid; gap: 20px; }

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #000;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--orange-glow);
}

.step-content .step-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.step-content p { font-size: 0.9rem; color: var(--text-2); line-height: 1.65; }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 6px;
  width: 12px; height: 12px;
  background: var(--orange);
  border-radius: 50%;
  border: 2px solid var(--bg-2);
  box-shadow: 0 0 10px var(--orange-glow);
}

.timeline-dot {
  position: absolute;
  left: -1.75rem; top: 4px;
  width: 16px; height: 16px;
  background: var(--orange);
  border-radius: 50%;
  border: 3px solid var(--bg-2);
  box-shadow: 0 0 10px var(--orange-glow);
}

.timeline-date, .year {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--orange);
  margin-bottom: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-title, .title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.timeline-body, .desc { font-size: 0.875rem; color: var(--text-2); line-height: 1.6; }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal,
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.revealed {
  opacity: 1 !important;
  transform: none !important;
}

.reveal[data-delay="1"], .reveal-up[data-delay="1"],
.reveal-left[data-delay="1"], .reveal-right[data-delay="1"],
.reveal-scale[data-delay="1"] { transition-delay: 100ms; }
.reveal[data-delay="2"], .reveal-up[data-delay="2"],
.reveal-left[data-delay="2"], .reveal-right[data-delay="2"],
.reveal-scale[data-delay="2"] { transition-delay: 200ms; }
.reveal[data-delay="3"], .reveal-up[data-delay="3"],
.reveal-left[data-delay="3"], .reveal-right[data-delay="3"],
.reveal-scale[data-delay="3"] { transition-delay: 300ms; }
.reveal[data-delay="4"], .reveal-up[data-delay="4"],
.reveal-left[data-delay="4"], .reveal-right[data-delay="4"],
.reveal-scale[data-delay="4"] { transition-delay: 400ms; }
.reveal[data-delay="5"], .reveal-up[data-delay="5"],
.reveal-left[data-delay="5"], .reveal-right[data-delay="5"],
.reveal-scale[data-delay="5"] { transition-delay: 500ms; }

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 12px var(--orange-glow); }
  50%       { box-shadow: 0 0 32px var(--orange-glow), 0 0 64px rgba(247,147,26,0.25); }
}

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

@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0.5; }
}

@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes skeleton-load {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  transition: transform 0.5s var(--ease-out);
  width: calc(100% - 48px);
  max-width: 680px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 9000;
  box-shadow: var(--shadow-lg);
}
.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
}
.cookie-banner p {
  font-size: 0.875rem;
  color: var(--text-2);
  margin: 0;
  flex: 1;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: var(--space-2xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--text) 0%, var(--orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Legacy footer logo compat */
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-decoration: none;
  -webkit-text-fill-color: var(--text);
  color: var(--text);
}
.footer-brand .footer-logo .logo-symbol {
  font-size: 1.5rem;
  color: var(--orange);
}

.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 280px; }

.footer-disclaimer {
  color: var(--text-3);
  font-size: 0.72rem;
  font-style: italic;
  max-width: 300px;
  margin-top: 14px;
  line-height: 1.65;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-2);
  transition: color var(--dur-fast), padding-left var(--dur-fast);
}
.footer-links a:hover {
  color: var(--orange);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-3); margin: 0; }

.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-bottom-links a { font-size: 0.8rem; color: var(--text-3); }
.footer-bottom-links a:hover { color: var(--orange); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--orange);
  color: #000;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity var(--dur-med), transform var(--dur-med) var(--ease),
              box-shadow var(--dur-med);
  z-index: 500;
  box-shadow: 0 4px 16px var(--orange-glow);
  font-size: 1.1rem;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* ============================================================
   PRICE TICKER BAR
   ============================================================ */
.ticker {
  background: var(--surface);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  height: 44px;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  gap: 40px;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
  padding: 0 20px;
}
.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  flex-shrink: 0;
}

.ticker-name { color: var(--text-2); }
.ticker-price { color: var(--text); font-weight: 600; }
.ticker-change.up   { color: var(--green); }
.ticker-change.down { color: var(--red); }

/* Legacy inline ticker */
.price-ticker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text);
}
.price-ticker .up   { color: var(--green); }
.price-ticker .down { color: var(--red); }

/* ============================================================
   TABLE OF CONTENTS
   ============================================================ */
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.toc-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 14px;
}

.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { padding: 5px 0; }
.toc-list a {
  color: var(--text-2);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--dur-fast), border-left-color var(--dur-fast);
  padding-left: 14px;
  border-left: 2px solid transparent;
  display: block;
  line-height: 1.5;
}
.toc-list a:hover,
.toc-list a.active {
  color: var(--orange);
  border-left-color: var(--orange);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-3);
  background: var(--surface);
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--orange); }
.breadcrumb a:hover { color: var(--orange-light); }
.breadcrumb-separator { color: var(--text-3); user-select: none; }
.breadcrumb-current { color: var(--text); }

/* Legacy breadcrumb (ol-based) */
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 0.82rem;
  color: var(--text-3);
}
.breadcrumb ol li a { color: var(--orange); }
.breadcrumb ol li a:hover { text-decoration: underline; }

/* ============================================================
   BADGES / TAGS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-orange, .badge-primary {
  background: var(--orange-subtle);
  color: var(--orange);
  border: 1px solid var(--border);
}
.badge-green {
  background: rgba(0,212,164,0.1);
  color: var(--green);
  border: 1px solid rgba(0,212,164,0.2);
}
.badge-red {
  background: rgba(255,77,109,0.1);
  color: var(--red);
  border: 1px solid rgba(255,77,109,0.2);
}
.badge-blue {
  background: rgba(77,166,255,0.1);
  color: var(--blue);
  border: 1px solid rgba(77,166,255,0.2);
}
.badge-purple {
  background: rgba(155,89,182,0.12);
  color: var(--purple);
  border: 1px solid rgba(155,89,182,0.25);
}

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter {
  background: linear-gradient(135deg, var(--surface-2) 0%, rgba(247,147,26,0.05) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(247,147,26,0.1) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse-glow 4s ease-in-out infinite;
}

.newsletter h2 { position: relative; z-index: 1; }
.newsletter p  { position: relative; z-index: 1; margin: 0 auto; max-width: 480px; }

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 24px auto 0;
  position: relative;
  z-index: 1;
}

.newsletter-form input {
  flex: 1;
  background: var(--surface-3);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--r-full);
  padding: 13px 20px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.newsletter-form input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-subtle);
  outline: none;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }

.text-gradient {
  background: linear-gradient(135deg, var(--text) 0%, var(--orange) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-orange  { color: var(--orange) !important; }
.text-muted   { color: var(--text-2) !important; }
.text-white   { color: var(--text) !important; }
.text-green   { color: var(--green) !important; }
.text-red     { color: var(--red) !important; }

.font-mono    { font-family: var(--font-mono); }
.font-heading { font-family: var(--font-head); }

.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

.mt-0  { margin-top: 0; }
.mt-1  { margin-top: 4px; }
.mt-2  { margin-top: 8px; }
.mt-3  { margin-top: 16px; }
.mt-4  { margin-top: 24px; }
.mt-5  { margin-top: 40px; }
.mt-6  { margin-top: 64px; }

.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: 4px; }
.mb-2  { margin-bottom: 8px; }
.mb-3  { margin-bottom: 16px; }
.mb-4  { margin-bottom: 24px; }
.mb-5  { margin-bottom: 40px; }
.mb-6  { margin-bottom: 64px; }

.pt-3  { padding-top: 16px; }
.pt-4  { padding-top: 24px; }
.pt-5  { padding-top: 40px; }
.pb-3  { padding-bottom: 16px; }
.pb-4  { padding-bottom: 24px; }
.pb-5  { padding-bottom: 40px; }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }
.gap-1        { gap: 4px; }
.gap-2        { gap: 8px; }
.gap-3        { gap: 16px; }
.gap-4        { gap: 24px; }
.gap-5        { gap: 40px; }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.d-none   { display: none !important; }
.d-block  { display: block; }
.d-flex   { display: flex; }
.d-grid   { display: grid; }

.w-full   { width: 100%; }
.max-w-sm { max-width: 480px; }
.max-w-md { max-width: 640px; }
.max-w-lg { max-width: 800px; }

.rounded     { border-radius: var(--r-md); }
.rounded-lg  { border-radius: var(--r-lg); }
.rounded-full{ border-radius: var(--r-full); }

.bg-surface  { background: var(--surface); }
.bg-surface-2{ background: var(--surface-2); }
.bg-dark     { background: var(--bg); }

.border-orange { border: 1px solid var(--border); }
.overflow-hidden { overflow: hidden; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   DIVIDERS
   ============================================================ */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--orange), transparent);
  border: none;
  margin: var(--space-2xl) 0;
  opacity: 0.4;
}
.divider-subtle {
  height: 1px;
  background: var(--border-subtle);
  border: none;
  margin: var(--space-xl) 0;
}

/* ============================================================
   PAGE LOAD
   ============================================================ */
.page-wrapper { animation: fadeIn 0.5s var(--ease-out) forwards; }
.float-anim   { animation: float 5s ease-in-out infinite alternate; }

/* ============================================================
   SKELETON LOADER
   ============================================================ */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--surface) 25%,
    var(--surface-3) 50%,
    var(--surface) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-load 1.5s infinite;
  border-radius: var(--r-sm);
}

/* ============================================================
   CODE BLOCK
   ============================================================ */
.code-block {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 20px 22px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--orange);
  overflow-x: auto;
  line-height: 1.7;
  position: relative;
}
.code-block .code-label {
  position: absolute;
  top: 8px; right: 12px;
  font-size: 0.68rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   SOCIAL LINKS
   ============================================================ */
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.social-link {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  font-size: 1rem;
  transition: background var(--dur-fast), border-color var(--dur-fast),
              color var(--dur-fast), transform var(--dur-med) var(--ease);
  text-decoration: none;
}
.social-link:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #000;
  transform: translateY(-2px);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-2);
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
  text-decoration: none;
}
.pagination a:hover,
.pagination .active {
  background: var(--orange);
  border-color: var(--orange);
  color: #000;
}

/* ============================================================
   TOOLTIP
   ============================================================ */
.tooltip-wrapper { position: relative; display: inline-block; }
.tooltip-wrapper .tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-3);
  color: var(--text);
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  pointer-events: none;
  transition: opacity var(--dur-fast);
  border: 1px solid var(--border-subtle);
  z-index: 100;
}
.tooltip-wrapper:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* ============================================================
   FEATURE LIST
   ============================================================ */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0; padding: 0;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
}
.feature-list li::before {
  content: '▸';
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   SECTION BACKGROUNDS
   ============================================================ */
.section-wave { position: relative; }
.section-wave::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--bg-2);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ============================================================
   ASSET ROW (crypto list)
   ============================================================ */
.asset-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.asset-row:hover {
  border-color: var(--border);
  background: var(--surface-2);
}
.asset-icon { width: 36px; height: 36px; border-radius: 50%; object-fit: contain; background: var(--surface-2); flex-shrink: 0; }
.asset-name { font-weight: 600; font-size: 0.95rem; color: var(--text); }
.asset-symbol { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-3); }
.asset-price { margin-left: auto; font-family: var(--font-mono); font-size: 0.9rem; font-weight: 600; color: var(--text); }
.asset-change {
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 3px 8px;
  border-radius: var(--r-sm);
}
.asset-change.positive { color: var(--green); background: rgba(0,212,164,0.1); }
.asset-change.negative { color: var(--red); background: rgba(255,77,109,0.1); }

/* ============================================================
   ARTICLE CONTENT
   ============================================================ */
.main-content { padding: 60px 0 80px; }
.article-content { min-width: 0; }
.article-sidebar { min-width: 0; }

.article-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 1.7rem);
  color: var(--text);
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.02em;
}
.article-content h2:first-child { margin-top: 0; }

.article-content h3 {
  font-size: 1.2rem;
  color: var(--orange);
  margin: 32px 0 12px;
  font-weight: 600;
}

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

.article-content ul,
.article-content ol {
  color: var(--text-2);
  padding-left: 20px;
  margin-bottom: 16px;
  line-height: 1.8;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

.article-content strong { color: var(--text); }
.article-content a { color: var(--orange); border-bottom: 1px solid transparent; }
.article-content a:hover { border-bottom-color: var(--orange); }

/* ============================================================
   SIDEBAR WIDGETS
   ============================================================ */
.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px;
  margin-bottom: 24px;
}

.sidebar-widget-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.sidebar-links, .related-list {
  list-style: none; padding: 0; margin: 0;
}
.sidebar-links li, .related-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.sidebar-links li:last-child,
.related-list li:last-child { border-bottom: none; }

.sidebar-links a, .related-list a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--dur-fast), padding-left var(--dur-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-links a::before, .related-list a::before {
  content: '→';
  color: var(--orange);
  font-size: 0.78rem;
  flex-shrink: 0;
}
.sidebar-links a:hover, .related-list a:hover {
  color: var(--orange);
  padding-left: 4px;
}

.sidebar-widget .stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.875rem;
}
.sidebar-widget .stat-row:last-child { border-bottom: none; }
.sidebar-widget .stat-label { color: var(--text-2); }
.sidebar-widget .stat-value { color: var(--orange); font-weight: 600; font-family: var(--font-mono); font-size: 1rem; }

.resource-list { list-style: none; padding: 0; margin: 0; }
.resource-list li { padding: 8px 0; border-bottom: 1px solid var(--border-subtle); }
.resource-list li:last-child { border-bottom: none; }
.resource-list a { color: var(--text-2); font-size: 0.875rem; text-decoration: none; transition: color var(--dur-fast); }
.resource-list a:hover { color: var(--orange); }

/* ============================================================
   QUICK GLOSSARY
   ============================================================ */
.quick-glossary { display: flex; flex-direction: column; gap: 12px; }
.glossary-entry { padding: 10px 0; border-bottom: 1px solid var(--border-subtle); }
.glossary-entry:last-child { border-bottom: none; }
.glossary-entry dt { color: var(--orange); font-weight: 600; font-size: 0.875rem; margin-bottom: 4px; }
.glossary-entry dd { color: var(--text-2); font-size: 0.8rem; line-height: 1.55; margin: 0; }

/* ============================================================
   CALLOUTS
   ============================================================ */
.callout, .callout-info {
  background: rgba(247,147,26,0.07);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 20px 24px;
  margin: 28px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.callout-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.callout p, .callout-info p { margin: 0; color: var(--text); font-size: 0.95rem; line-height: 1.75; }

/* ============================================================
   NUMBERED STEPS (inline smaller)
   ============================================================ */
.numbered-steps, .steps-list { list-style: none; padding: 0; margin: 0 0 24px; }

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.step-item:last-child { border-bottom: none; }

.step-num {
  width: 32px; height: 32px; min-width: 32px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--font-head);
  flex-shrink: 0;
}

.step-body { flex: 1; }
.step-body strong { color: var(--text); display: block; margin-bottom: 4px; font-size: 0.95rem; }
.step-body p { color: var(--text-2); font-size: 0.875rem; margin: 0; line-height: 1.65; }

.step-list { list-style: none; padding: 0; margin: 0; }
.step-list li { padding: 12px 0; border-bottom: 1px solid var(--border-subtle); color: var(--text-2); line-height: 1.65; font-size: 0.9rem; }
.step-list li:last-child { border-bottom: none; }
.step-list li strong { color: var(--text); }

/* ============================================================
   RISK BADGES
   ============================================================ */
.risk-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 8px;
}
.risk-low       { background: rgba(0,212,164,0.12); color: var(--green); border: 1px solid rgba(0,212,164,0.25); }
.risk-medium    { background: rgba(234,179,8,0.12); color: #eab308; border: 1px solid rgba(234,179,8,0.25); }
.risk-high      { background: rgba(249,115,22,0.12); color: #f97316; border: 1px solid rgba(249,115,22,0.25); }
.risk-very-high { background: rgba(255,77,109,0.12); color: var(--red); border: 1px solid rgba(255,77,109,0.25); }

/* ============================================================
   MISTAKE LIST
   ============================================================ */
.mistake-list { display: flex; flex-direction: column; gap: 16px; margin: 24px 0; }
.mistake-item {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 20px 24px;
  transition: border-color var(--dur-fast);
}
.mistake-item:hover { border-color: var(--border); }
.mistake-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.mistake-icon { font-size: 1.25rem; }
.mistake-x { color: var(--red); font-weight: 800; font-size: 1rem; }
.mistake-body { padding-left: 36px; }
.mistake-problem { color: var(--text); font-weight: 600; font-size: 0.95rem; }
.mistake-solution { color: var(--text-2); font-size: 0.875rem; margin-top: 4px; line-height: 1.6; }
.solution-label { color: var(--orange); font-weight: 600; }

/* ============================================================
   SECURITY CHECKLIST
   ============================================================ */
.security-checklist { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-direction: column; gap: 10px; }
.checklist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.checklist-item:hover { border-color: var(--border); background: var(--surface-2); }
.check-icon {
  width: 28px; height: 28px; min-width: 28px;
  background: rgba(0,212,164,0.12);
  color: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700;
  flex-shrink: 0;
}
.check-body { color: var(--text); font-size: 0.9rem; line-height: 1.55; }
.check-body strong { color: var(--text); }

/* ============================================================
   SCAM GRID
   ============================================================ */
.scam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 28px 0;
}
.scam-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.scam-avoid {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--green);
}
.scam-avoid strong { color: var(--green); }

/* Security numbered list */
.security-content { margin: 24px 0; }
.security-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.security-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
}
.security-number {
  width: 32px; height: 32px; min-width: 32px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #000;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem;
  font-family: var(--font-head);
  flex-shrink: 0;
}
.security-list li p { margin: 0; color: var(--text-2); font-size: 0.9rem; line-height: 1.65; }
.security-list li strong { color: var(--text); }

/* ============================================================
   TAX PAGE SPECIFICS
   ============================================================ */
.tax-events { margin: 24px 0; }
.tax-events-col { display: grid; grid-template-columns: 1fr; gap: 24px; margin: 20px 0; }
.tax-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.tax-list li { padding: 10px 14px; border-radius: var(--r-sm); font-size: 0.875rem; }
.tax-yes { background: rgba(0,212,164,0.08); color: var(--green); border: 1px solid rgba(0,212,164,0.2); }
.tax-no  { background: rgba(255,77,109,0.08); color: var(--red); border: 1px solid rgba(255,77,109,0.2); }
.tax-check { font-weight: 700; margin-right: 6px; }
.tax-col-title { font-weight: 700; margin-bottom: 12px; font-family: var(--font-head); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.06em; }
.tax-col-yes .tax-col-title { color: var(--green); }
.tax-col-no .tax-col-title  { color: var(--red); }
.tax-rate { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 700; color: var(--orange); }

/* ============================================================
   CALCULATION EXAMPLE
   ============================================================ */
.calculation-example {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px 28px;
  margin: 28px 0;
}
.calculation-example h4 { font-family: var(--font-head); color: var(--text); margin-bottom: 16px; font-size: 1rem; }
.calc-steps { display: flex; flex-direction: column; gap: 8px; }
.calc-step {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.875rem;
}
.calc-step:last-child { border-bottom: none; }
.calc-label { color: var(--text-2); }
.calc-value { font-family: var(--font-mono); color: var(--text); font-weight: 600; }
.calc-step-result { background: rgba(247,147,26,0.06); padding: 3px 10px; border-radius: var(--r-sm); }
.calc-breakdown { font-size: 0.78rem; color: var(--text-3); margin-top: 4px; }
.calc-total {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 2px solid var(--orange);
  display: flex; justify-content: space-between; align-items: center;
}
.calc-total .calc-label { color: var(--text); font-weight: 700; }
.calc-total .calc-value { font-size: 1.2rem; color: var(--orange); }

/* ============================================================
   TOOL CARDS
   ============================================================ */
.tool-logo, .tool-logo-hacienda { font-size: 1.5rem; margin-bottom: 10px; display: block; }
.tool-tag {
  display: inline-block;
  font-size: 0.68rem;
  padding: 3px 10px;
  background: var(--orange-subtle);
  color: var(--orange);
  border-radius: var(--r-full);
  margin-top: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid var(--border);
}

/* ============================================================
   DATE BADGES / INFO BOXES
   ============================================================ */
.dates-list { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.date-badge {
  display: inline-block;
  padding: 2px 10px;
  background: var(--orange-subtle);
  color: var(--orange);
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
  margin-right: 6px;
}

.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin: 24px 0;
}
.info-box h4 { font-family: var(--font-head); color: var(--orange); margin-bottom: 10px; font-size: 0.95rem; }
.info-box p  { color: var(--text-2); font-size: 0.875rem; line-height: 1.7; margin: 0; }

/* ============================================================
   FAQ VARIANT (article style)
   ============================================================ */
.faq-item { border-bottom: 1px solid var(--border-subtle); padding: 20px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  display: flex; align-items: flex-start; gap: 12px;
  color: var(--text); font-weight: 600;
  margin-bottom: 10px; font-size: 0.95rem;
  cursor: default;
}
.faq-icon { color: var(--orange); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.faq-answer { color: var(--text-2); font-size: 0.9rem; line-height: 1.75; padding-left: 28px; }

/* ============================================================
   CONTACT LAYOUT
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 60px 0 80px;
  align-items: start;
}

.contact-form-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.form-intro { color: var(--text-2); margin-bottom: 28px; line-height: 1.75; font-size: 0.9rem; }
.contact-info  { display: flex; flex-direction: column; gap: 20px; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }

.contact-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  align-items: flex-start;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.contact-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-sm); }
.contact-card-icon { font-size: 1.6rem; flex-shrink: 0; }
.contact-card-body h4 { font-family: var(--font-head); color: var(--text); font-size: 0.95rem; margin-bottom: 6px; }
.contact-card-body p  { color: var(--text-2); font-size: 0.875rem; line-height: 1.65; margin: 0; }
.contact-card-body a  { color: var(--orange); font-weight: 500; }
.contact-card-body a:hover { text-decoration: underline; }
.contact-card-link { display: inline-block; margin-top: 8px; color: var(--orange); font-size: 0.875rem; }
.contact-card-link:hover { text-decoration: underline; }

/* Legacy contact info item */
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-info-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: var(--orange-subtle);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}

/* ============================================================
   ABOUT BOX
   ============================================================ */
.about-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
}
.about-box h3 { font-family: var(--font-head); color: var(--text); margin-bottom: 12px; font-size: 1.05rem; }
.about-box p  { color: var(--text-2); font-size: 0.875rem; line-height: 1.75; margin-bottom: 10px; }
.about-box p:last-child { margin-bottom: 0; }

/* ============================================================
   TWO / THREE COLUMN GRIDS
   ============================================================ */
.two-col, .two-col-text-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 24px 0;
}

.three-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

/* ============================================================
   INTERNAL CTA / LINK BLOCKS
   ============================================================ */
.internal-cta, .cta-links {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 32px;
  margin: 40px 0;
}
.internal-cta h3, .cta-links h3 {
  font-family: var(--font-head);
  font-size: 0.78rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.cta-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-grid a {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 18px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast);
}
.cta-grid a:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-subtle); }
.cta-icon { font-size: 1.1rem; }

/* ============================================================
   ============================================================
   RESPONSIVE — TABLET (480px+)
   ============================================================
   ============================================================ */
@media (min-width: 480px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .three-col { grid-template-columns: repeat(2, 1fr); }
  .tax-events-col { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — md (768px+)
   ============================================================ */
@media (min-width: 768px) {
  .container { padding-left: 32px; padding-right: 32px; }

  .navbar { height: 72px; }

  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-bar-grid { grid-template-columns: repeat(4, 1fr); }

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

  .two-col, .two-col-text-grid { grid-template-columns: 1fr 1fr; }

  .contact-form-wrapper { grid-template-columns: 1fr 1.6fr; }

  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }

  .ad-leaderboard { width: 728px; height: 90px; }
  .ad-anchor { display: flex; }

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

  .cookie-banner { bottom: 28px; }
}

/* ============================================================
   RESPONSIVE — lg (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
  .navbar-links,
  .navbar-nav  { display: flex; }
  .navbar-cta  { display: flex; }
  .hamburger   { display: none; }

  /* Force hide mobile menu mechanics on desktop */
  .mobile-menu    { display: none !important; }
  .mobile-overlay { display: none !important; }

  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .three-col { grid-template-columns: repeat(3, 1fr); }

  .layout-sidebar,
  .content-with-sidebar {
    grid-template-columns: 1fr 320px;
    gap: 48px;
  }

  .sidebar,
  .sticky-sidebar,
  .article-sidebar {
    position: sticky;
    top: 96px;
  }

  .ad-desktop-only { display: flex; }
  .ad-mobile-only  { display: none; }

  .ad-half-page, .ad-sidebar, .ad-slot.ad-sidebar { display: flex; }

  .contact-layout { grid-template-columns: 1.4fr 1fr; gap: 60px; }
}

/* ============================================================
   RESPONSIVE — xl (1280px+)
   ============================================================ */
@media (min-width: 1280px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   MOBILE-ONLY OVERRIDES (max-width)
   ============================================================ */
@media (max-width: 767px) {
  .ad-half-page, .ad-slot.ad-sidebar { display: none; }
  .ad-leaderboard { width: 320px; height: 50px; }
  .navbar { height: 60px; }
  .hero-content { padding-top: 90px; padding-bottom: 60px; }
  .page-hero { min-height: 48vh; }
  .stats-bar { padding: 24px 20px; }
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .newsletter { padding: 36px 24px; }
  .newsletter-form { flex-direction: column; }
  .cookie-banner { flex-direction: column; bottom: 80px; }
  .cookie-actions { width: 100%; justify-content: center; }
  .process-step { flex-direction: column; gap: 12px; }
  .process-step-number { font-size: 2.2rem; min-width: auto; }
  .back-to-top { bottom: 80px; right: 20px; }
}

@media (max-width: 600px) {
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .tax-events-col { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; }
  .newsletter-form .btn { width: auto; }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .navbar,
  .footer,
  .ad-slot,
  .hamburger,
  .mobile-menu,
  .mobile-overlay,
  .cookie-banner,
  .back-to-top,
  .ticker,
  canvas {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #111 !important;
    font-size: 12pt;
  }

  h1, h2, h3, h4, h5, h6 { color: #111 !important; -webkit-text-fill-color: #111 !important; }
  p, li { color: #444 !important; }
  a { color: #c05a00 !important; }

  .card, .sidebar-widget, .alert, .callout {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    background: #fafafa !important;
  }

  .section { padding: 24pt 0; }
  .container { max-width: 100%; padding: 0 16pt; }

  @page {
    margin: 1in;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   INDEX PAGE — Homepage specific components
   ============================================================ */

/* Logo icon wrapper */
.logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #000;
  flex-shrink: 0;
  box-shadow: 0 2px 10px var(--orange-glow);
}
.logo-text { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; color: var(--text); }
.logo-accent { color: var(--orange); }

/* Mobile menu new structure */
.mobile-menu-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
  color: var(--text); margin-bottom: 32px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-menu-logo svg { color: var(--orange); }
.mobile-nav-list { list-style: none; padding: 0; margin: 0 0 auto; }
.mobile-nav-list li { border-bottom: 1px solid var(--border-subtle); }
.mobile-nav-link {
  display: block; padding: 16px 4px;
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 600;
  color: var(--text-2); text-decoration: none;
  transition: color var(--dur-fast), padding-left var(--dur-fast);
}
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--orange); padding-left: 8px; }

/* Mobile nav section headers */
.mobile-nav-section {
  display: block;
  padding: 10px 4px 4px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(247,147,26,0.05);
  border-bottom: none !important;
  margin-top: 4px;
}

/* Mobile nav sub-links */
.mobile-nav-link.mobile-nav-sub {
  font-size: 0.9rem;
  font-weight: 400;
  padding: 10px 4px 10px 12px;
  color: var(--text-2);
}
.mobile-nav-link.mobile-nav-sub:hover { color: var(--orange); padding-left: 18px; }

.mobile-menu-footer {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border-subtle);
}
.mobile-menu-footer p { color: var(--text-3); font-size: 0.8rem; margin: 0 0 4px; }
.mobile-menu-footer small { color: var(--text-3); font-size: 0.72rem; opacity: 0.7; }

/* Hero eyebrow badge */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(247,147,26,0.1); border: 1px solid var(--border);
  border-radius: var(--r-full); padding: 6px 16px;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--orange);
  letter-spacing: 0.04em; margin-bottom: 24px;
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange);
  animation: dot-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

/* Hero stats floating cards */
.hero-stats {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center; margin-top: 40px;
}
.hero-stat-card {
  display: flex; align-items: center; gap: 8px;
  background: rgba(19,19,31,0.8); backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 10px 18px;
  color: var(--orange);
}
.hero-stat-card svg { flex-shrink: 0; }
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--text); }
.stat-lbl { font-size: 0.78rem; color: var(--text-2); }

/* Hero scroll hint */
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 0.75rem; color: var(--text-3); letter-spacing: 0.06em;
  animation: float 2.5s ease-in-out infinite;
}
.hero-scroll-hint svg { animation: float 2s ease-in-out infinite; }

/* Topics grid (6 cards) */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 1024px) { .topics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .topics-grid { grid-template-columns: 1fr; } }

.topic-card { display: flex; flex-direction: column; }
.topic-card .badge { align-self: flex-start; margin: 12px 0 10px; }
.topic-card .card-title { font-size: 1.05rem; margin-bottom: 8px; }
.topic-card .card-body  { flex: 1; font-size: 0.875rem; line-height: 1.65; }
.topic-card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; color: var(--orange); font-weight: 600; font-size: 0.875rem;
  text-decoration: none; transition: gap var(--dur-fast);
}
.topic-card .card-link:hover { gap: 10px; }
.topic-card .card-link svg { transition: transform var(--dur-fast); }
.topic-card .card-link:hover svg { transform: translateX(3px); }

/* Why crypto section */
.section-alt {
  background: linear-gradient(180deg, var(--bg-2) 0%, rgba(247,147,26,0.03) 50%, var(--bg-2) 100%);
}
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; gap: 40px; } }
.why-text { color: var(--text-2); line-height: 1.75; margin-bottom: 16px; }
.why-benefits { display: flex; flex-direction: column; gap: 24px; }
.benefit-item { display: flex; gap: 16px; align-items: flex-start; }
.benefit-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--orange-subtle); border: 1px solid var(--border);
  border-radius: var(--r-md); display: flex; align-items: center; justify-content: center;
  color: var(--orange);
}
.benefit-text h4 { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.benefit-text p  { font-size: 0.875rem; color: var(--text-2); line-height: 1.6; margin: 0; }

/* Guides grid (3 cards) */
.guides-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px;
}
@media (max-width: 900px) { .guides-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .guides-grid { grid-template-columns: 1fr; } }

.guide-card {
  background: var(--surface); border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color var(--dur-med), transform var(--dur-med), box-shadow var(--dur-med);
  position: relative; overflow: hidden;
}
.guide-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0; transition: opacity var(--dur-med);
}
.guide-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.guide-card:hover::before { opacity: 1; }
.guide-meta { display: flex; align-items: center; justify-content: space-between; }
.read-time  { display: flex; align-items: center; gap: 5px; font-size: 0.75rem; color: var(--text-3); font-family: var(--font-mono); }
.read-time svg { color: var(--text-3); }
.guide-title  { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.4; }
.guide-excerpt { font-size: 0.875rem; color: var(--text-2); line-height: 1.65; flex: 1; }
.guide-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--orange); font-weight: 600; font-size: 0.875rem;
  text-decoration: none; margin-top: auto; transition: gap var(--dur-fast);
}
.guide-link:hover { gap: 10px; }

/* CTA Banner */
.cta-banner { padding: var(--space-3xl) 0; }
.cta-inner {
  background: linear-gradient(135deg, var(--surface-2) 0%, rgba(247,147,26,0.06) 100%);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 64px 48px; text-align: center; position: relative; overflow: hidden;
}
@media (max-width: 600px) { .cta-inner { padding: 40px 24px; } }
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(247,147,26,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: var(--text); margin-bottom: 16px; line-height: 1.2; position: relative; }
.cta-subtitle { font-size: 1rem; color: var(--text-2); line-height: 1.7; margin-bottom: 32px; position: relative; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* Disclaimer bar */
.disclaimer-bar {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(247,147,26,0.05); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 14px 20px; margin: 32px 0;
}
.disclaimer-bar svg { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.disclaimer-bar p { font-size: 0.8rem; color: var(--text-3); line-height: 1.6; margin: 0; }

/* Ad wrapper spacing */
.ad-wrapper { padding: 20px 0; }
.section-ad { padding: 20px 0; }

/* Newsletter */
.newsletter {
  background: linear-gradient(135deg, var(--surface-2) 0%, rgba(247,147,26,0.05) 100%);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 56px 48px; text-align: center; position: relative; overflow: hidden;
}
@media (max-width: 600px) { .newsletter { padding: 36px 24px; } }
.newsletter-glow {
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(247,147,26,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-title  { font-family: var(--font-head); font-size: clamp(1.4rem,3vw,2rem); font-weight: 700; color: var(--text); margin-bottom: 8px; position: relative; }
.newsletter-subtitle { color: var(--text-2); font-size: 0.95rem; margin-bottom: 28px; position: relative; }
.newsletter-form {
  display: flex; gap: 10px; max-width: 460px; margin: 0 auto 16px; position: relative;
}
.newsletter-form input {
  flex: 1; background: var(--surface-3); border: 1.5px solid var(--border-subtle);
  border-radius: var(--r-full); padding: 12px 20px;
  color: var(--text); font-family: var(--font-body); font-size: 0.95rem;
  outline: none; transition: border-color var(--dur-fast);
}
.newsletter-form input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-subtle); }
.newsletter-form input::placeholder { color: var(--text-3); }
.newsletter-legal { font-size: 0.75rem; color: var(--text-3); position: relative; }
.newsletter-legal a { color: var(--text-2); text-decoration: underline; }
@media (max-width: 500px) { .newsletter-form { flex-direction: column; } .newsletter-form .btn { width: 100%; justify-content: center; } }

/* Footer contact item */
.footer-contact-item {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-2); text-decoration: none; font-size: 0.875rem;
  transition: color var(--dur-fast);
}
.footer-contact-item:hover { color: var(--orange); }
.footer-contact-item svg { color: var(--orange); flex-shrink: 0; }

/* Footer small ad */
.ad-footer-sm {
  width: 100%; min-height: 100px;
  background: var(--surface); border: 1px dashed var(--border-subtle);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.ad-footer-sm::before {
  content: 'Publicidad'; font-size: 0.6rem; color: var(--text-3);
  position: absolute; top: 5px; right: 8px;
  text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-mono);
}

/* Ad anchor close button */
.ad-anchor-close {
  position: absolute; top: 6px; right: 6px;
  background: var(--surface); border: 1px solid var(--border-subtle);
  border-radius: 50%; width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-2); transition: color var(--dur-fast);
}
.ad-anchor-close:hover { color: var(--text); }

/* Section sm */
.section-sm { padding: var(--space-2xl) 0; }

/* Footer bottom links */
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--text-3); font-size: 0.8rem; text-decoration: none; transition: color var(--dur-fast); }
.footer-bottom-links a:hover { color: var(--orange); }

/* Page hero canvas */
.page-hero { position: relative; min-height: 50vh; display: flex; align-items: flex-end; padding-bottom: 0; }
.page-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero .hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8,8,16,0.5) 0%, rgba(8,8,16,0.92) 100%); }
.page-hero .hero-content { position: relative; z-index: 1; padding: 120px 0 60px; width: 100%; }
.page-hero .hero-title  { font-size: clamp(2rem,5vw,3.5rem); }
.page-hero .hero-subtitle { font-size: 1rem; max-width: 560px; }

/* Breadcrumb */
.breadcrumb { margin-bottom: 20px; }
.breadcrumb ol { display: flex; align-items: center; gap: 8px; list-style: none; padding: 0; margin: 0; }
.breadcrumb li { font-size: 0.82rem; color: var(--text-3); }
.breadcrumb li a { color: var(--orange); text-decoration: none; }
.breadcrumb li a:hover { text-decoration: underline; }

/* Layout sidebar — article pages */
.layout-sidebar {
  display: grid; grid-template-columns: 1fr 300px; gap: 48px;
  align-items: start; padding: 60px 0 80px;
}
@media (max-width: 1024px) { .layout-sidebar { grid-template-columns: 1fr; } }
.article-content { min-width: 0; }
.article-content h2 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--text); margin: 48px 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border-subtle); }
.article-content h2:first-of-type { margin-top: 0; }
.article-content h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--orange); margin: 32px 0 12px; }
.article-content p  { color: var(--text-2); line-height: 1.8; margin-bottom: 16px; }
.article-content ul, .article-content ol { color: var(--text-2); padding-left: 20px; margin-bottom: 16px; line-height: 1.8; }
.article-content li { margin-bottom: 6px; }
.article-content strong { color: var(--text); }
.article-content a { color: var(--orange); text-decoration: underline; }

/* Sidebar — sticky on desktop */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 1024px) { .sidebar { position: sticky; top: 90px; } }
.sidebar-widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px 24px; }
.sidebar-widget-title { font-family: var(--font-head); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border-subtle); }
.sidebar-links, .related-list { list-style: none; padding: 0; margin: 0; }
.sidebar-links li, .related-list li { padding: 8px 0; border-bottom: 1px solid var(--border-subtle); }
.sidebar-links li:last-child, .related-list li:last-child { border-bottom: none; }
.sidebar-links a, .related-list a { color: var(--text-2); text-decoration: none; font-size: 0.875rem; transition: color var(--dur-fast); display: flex; align-items: center; gap: 6px; }
.sidebar-links a::before, .related-list a::before { content: '→'; color: var(--orange); font-size: 0.75rem; }
.sidebar-links a:hover, .related-list a:hover { color: var(--orange); }

/* TOC widget */
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px 24px; }
.toc-title { font-family: var(--font-head); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); margin-bottom: 12px; }
.toc-list ol { list-style: none; padding: 0; margin: 0; counter-reset: toc-counter; }
.toc-list li { padding: 5px 0; counter-increment: toc-counter; }
.toc-list a { color: var(--text-2); font-size: 0.825rem; text-decoration: none; transition: color var(--dur-fast), padding-left var(--dur-fast); display: flex; gap: 8px; align-items: baseline; }
.toc-list a::before { content: counter(toc-counter); color: var(--orange); font-family: var(--font-mono); font-size: 0.7rem; min-width: 14px; }
.toc-list a:hover, .toc-list a.active { color: var(--orange); padding-left: 4px; }

/* Sidebar stat box */
.stat-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border-subtle); font-size: 0.825rem; }
.stat-row:last-child { border-bottom: none; }
.stat-row .slabel { color: var(--text-2); }
.stat-row .svalue { color: var(--orange); font-weight: 600; font-family: var(--font-mono); }

/* Quick glossary */
.quick-glossary { display: flex; flex-direction: column; gap: 10px; }
.glossary-entry dt { color: var(--orange); font-weight: 600; font-size: 0.8rem; }
.glossary-entry dd { color: var(--text-3); font-size: 0.75rem; line-height: 1.5; margin: 2px 0 0; }

/* Internal CTA links */
.cta-links { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 24px 28px; margin: 40px 0; }
.cta-links h3 { font-family: var(--font-head); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 14px; }
.cta-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-grid a { display: inline-flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--border-subtle); border-radius: var(--r-sm); padding: 10px 16px; color: var(--text); text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: border-color var(--dur-fast), color var(--dur-fast); }
.cta-grid a:hover { border-color: var(--orange); color: var(--orange); }
.cta-icon { font-size: 1rem; }

/* Process steps */
.steps-process { display: flex; flex-direction: column; margin: 32px 0; }
.process-step { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--border-subtle); align-items: start; }
.process-step:last-child { border-bottom: none; }
.process-step-number { font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: var(--orange); line-height: 1; opacity: 0.8; }
.process-step-title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.process-step-body p { color: var(--text-2); font-size: 0.9rem; line-height: 1.7; margin-bottom: 10px; }
@media (max-width: 500px) { .process-step { grid-template-columns: 1fr; } .process-step-number { font-size: 2rem; } }

/* Checklist */
.security-checklist { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-direction: column; gap: 10px; }
.checklist-item { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: var(--surface); border: 1px solid var(--border-subtle); border-radius: var(--r-sm); }
.check-icon { width: 26px; height: 26px; min-width: 26px; background: rgba(0,212,164,0.12); color: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; }
.check-body { color: var(--text); font-size: 0.875rem; }

/* Scam cards */
.scam-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 24px 0; }
.scam-icon { color: var(--orange); margin-bottom: 10px; display: block; }
.scam-avoid { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border-subtle); font-size: 0.8rem; color: var(--green); }
.scam-avoid strong { color: var(--green); }

/* Mistake list */
.mistake-list { display: flex; flex-direction: column; gap: 14px; margin: 24px 0; }
.mistake-item { background: var(--surface); border: 1px solid var(--border-subtle); border-radius: var(--r-md); padding: 18px 22px; }
.mistake-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.mistake-x { color: var(--red); font-weight: 800; font-size: 1.1rem; }
.mistake-problem { color: var(--text); font-weight: 600; font-size: 0.9rem; }
.mistake-body { padding-left: 20px; font-size: 0.85rem; color: var(--text-2); line-height: 1.6; }
.solution-label { color: var(--green); font-weight: 600; }

/* Risk badges */
.risk-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--r-full); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 8px; }
.risk-low      { background: rgba(0,212,164,0.12); color: var(--green); border: 1px solid rgba(0,212,164,0.25); }
.risk-medium   { background: rgba(234,179,8,0.12); color: #eab308; border: 1px solid rgba(234,179,8,0.25); }
.risk-high     { background: rgba(249,115,22,0.12); color: #f97316; border: 1px solid rgba(249,115,22,0.25); }
.risk-very-high{ background: rgba(239,68,68,0.12); color: var(--red); border: 1px solid rgba(239,68,68,0.25); }

/* Tax events */
.tax-events-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 20px 0; }
@media (max-width: 600px) { .tax-events-col { grid-template-columns: 1fr; } }
.tax-col-title { font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.tax-col-yes .tax-col-title { color: var(--green); }
.tax-col-no  .tax-col-title { color: var(--red); }
.tax-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.tax-list li { padding: 9px 12px; border-radius: var(--r-sm); font-size: 0.85rem; }
.tax-yes { background: rgba(0,212,164,0.07); color: var(--green); border: 1px solid rgba(0,212,164,0.15); }
.tax-no  { background: rgba(239,68,68,0.07); color: var(--red); border: 1px solid rgba(239,68,68,0.15); }
.tax-check { font-weight: 800; margin-right: 6px; }

/* Tax rate display */
.tax-rate { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; color: var(--orange); }

/* Calculation example */
.calculation-example { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 24px 28px; margin: 28px 0; }
.calculation-example h4 { font-family: var(--font-head); color: var(--text); margin-bottom: 16px; font-size: 0.95rem; }
.calc-steps { display: flex; flex-direction: column; gap: 8px; }
.calc-step { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border-subtle); font-size: 0.875rem; }
.calc-label { color: var(--text-2); }
.calc-value { font-family: var(--font-mono); color: var(--text); font-weight: 600; }
.calc-total { margin-top: 12px; padding-top: 12px; border-top: 2px solid var(--orange); display: flex; justify-content: space-between; align-items: center; }
.calc-total .calc-label { color: var(--text); font-weight: 700; }
.calc-total .calc-value { font-size: 1.2rem; color: var(--orange); }

/* Two col text grid */
.two-col-text-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 24px 0; }
@media (max-width: 700px) { .two-col-text-grid { grid-template-columns: 1fr; } }

/* Tool cards */
.tool-tag { display: inline-block; font-size: 0.68rem; padding: 2px 8px; background: var(--orange-subtle); color: var(--orange); border-radius: var(--r-full); margin-top: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }

/* Contact layout */
.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; padding: 60px 0 80px; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 40px; } }
.form-intro { color: var(--text-2); margin-bottom: 24px; font-size: 0.9rem; line-height: 1.7; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.contact-card { display: flex; gap: 14px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border-subtle); border-radius: var(--r-md); align-items: flex-start; transition: border-color var(--dur-fast); }
.contact-card:hover { border-color: var(--border-hover); }
.contact-card-icon { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.contact-card-body h4 { font-family: var(--font-head); color: var(--text); font-size: 0.9rem; margin-bottom: 4px; }
.contact-card-body p { color: var(--text-2); font-size: 0.825rem; line-height: 1.6; margin: 0; }
.contact-card-body a { color: var(--orange); text-decoration: none; font-weight: 500; font-size: 0.875rem; }
.contact-card-body a:hover { text-decoration: underline; }
.about-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 22px; margin-top: 4px; }
.about-box h3 { font-family: var(--font-head); color: var(--text); margin-bottom: 10px; font-size: 0.95rem; }
.about-box p { color: var(--text-2); font-size: 0.825rem; line-height: 1.7; margin-bottom: 8px; }
.about-box p:last-child { margin-bottom: 0; }

/* Page hero small (contacto) */
.page-hero-sm { min-height: 38vh; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); display: flex; align-items: center; padding: 100px 0 40px; }
.page-hero-sm .hero-content { padding: 0; }

/* Numbered step list (smaller) */
.step-list { list-style: none; padding: 0; margin: 0; }
.step-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border-subtle); }
.step-item:last-child { border-bottom: none; }
.step-num { width: 30px; height: 30px; min-width: 30px; background: var(--orange); color: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8rem; font-family: var(--font-head); }
.step-body p { margin: 0; color: var(--text-2); font-size: 0.875rem; line-height: 1.6; }
.step-body strong { color: var(--text); }

/* Security numbered list */
.security-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.security-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border-subtle); border-radius: var(--r-sm); }
.security-number { width: 30px; height: 30px; min-width: 30px; background: var(--orange); color: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.8rem; font-family: var(--font-head); }
.security-list li p { margin: 0; color: var(--text-2); font-size: 0.875rem; line-height: 1.6; }
.security-list li strong { color: var(--text); }

/* Three col grid */
.three-col { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 24px 0; }
@media (max-width:900px) { .three-col { grid-template-columns: repeat(2,1fr); } }
@media (max-width:500px) { .three-col { grid-template-columns: 1fr; } }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin: 24px 0; }

/* Comparison table wrapper */
.comparison-table-wrapper { overflow-x: auto; margin: 24px 0; border-radius: var(--r-md); border: 1px solid var(--border); }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.comparison-table th { background: var(--orange); color: #000; font-weight: 700; padding: 13px 16px; text-align: left; font-family: var(--font-head); }
.comparison-table td { padding: 11px 16px; border-bottom: 1px solid var(--border-subtle); color: var(--text-2); vertical-align: top; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: rgba(255,255,255,0.015); }
.comparison-table tr:hover td { background: rgba(247,147,26,0.04); }
.stars { color: var(--orange); letter-spacing: 2px; font-size: 0.85rem; }

/* Badge red variant */
.badge-red { background: rgba(255,77,109,0.1); color: var(--red); border: 1px solid rgba(255,77,109,0.2); }

/* Info box */
.info-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px 22px; margin: 20px 0; }
.info-box h4 { font-family: var(--font-head); color: var(--orange); margin-bottom: 8px; font-size: 0.9rem; }
.info-box p  { color: var(--text-2); font-size: 0.85rem; line-height: 1.7; margin: 0; }

/* Dates list */
.date-badge { display: inline-block; padding: 2px 9px; background: var(--orange-subtle); color: var(--orange); border-radius: var(--r-full); font-size: 0.7rem; font-weight: 700; font-family: var(--font-mono); margin-right: 6px; }

/* Callout info box */
.callout { background: rgba(247,147,26,0.06); border-left: 3px solid var(--orange); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 16px 20px; margin: 24px 0; display: flex; gap: 12px; align-items: flex-start; }
.callout-icon { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.callout p { margin: 0; color: var(--text); font-size: 0.9rem; line-height: 1.7; }
.callout strong { color: var(--orange); }

/* ============================================================
   DROPDOWN NAVIGATION
   ============================================================ */
.navbar-links .has-dropdown { position: relative; }

.nav-dropdown {
  position: absolute;
  top: 100%;          /* pegado al borde inferior del li, sin hueco */
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 0 8px; /* padding-top crea la separación visual dentro */
  min-width: 220px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(247,147,26,0.06);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast), transform var(--dur-fast);
  z-index: 200;
  list-style: none;
  /* Puente invisible: extiende el área hover 8px hacia arriba para
     que el cursor no "salga" del elemento al cruzar el gap visual */
  margin-top: 0;
}

/* Área de seguridad: el ::before crea un puente de hover entre el
   link padre y el panel, evitando que se cierre al mover el cursor */
.has-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px; /* cubre el gap visual entre el navbar y el dropdown */
  z-index: 199;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown li a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 400;
  text-decoration: none;
  transition: color var(--dur-fast), background var(--dur-fast);
  white-space: nowrap;
}
.nav-dropdown li a:hover { color: var(--orange); background: var(--orange-subtle); }

/* Dropdown item icon */
.dd-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 0.95rem;
  flex-shrink: 0;
  line-height: 1;
}

/* Dropdown arrow indicator on parent link */
.has-dropdown > .nav-link .chevron-icon {
  display: inline-block;
  vertical-align: middle;
  transition: transform var(--dur-fast);
  margin-left: 2px;
}
.has-dropdown:hover > .nav-link .chevron-icon { transform: rotate(180deg); }

/* Column dropdown for large lists */
.nav-dropdown.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 380px;
}

/* Wide dropdown */
.nav-dropdown.three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  min-width: 520px;
}

/* Mobile: dropdowns become accordion-style */
@media (max-width: 900px) {
  .nav-dropdown { display: none; }
  .has-dropdown .nav-link .chevron-icon { display: none; }
}

/* ============================================================
   CATEGORY HUB PAGES
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.category-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
  opacity: 0;
  transition: opacity var(--dur-fast);
}
.category-card:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.category-card:hover::before { opacity: 1; }
.category-card-icon { color: var(--orange); }
.category-card-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--text); }
.category-card-desc { font-size: 0.825rem; color: var(--text-2); line-height: 1.6; margin: 0; }
.category-card-badge { display: inline-block; padding: 2px 9px; background: var(--orange-subtle); color: var(--orange); border-radius: var(--r-full); font-size: 0.7rem; font-weight: 700; font-family: var(--font-mono); align-self: flex-start; }

/* ============================================================
   EXPANDED FOOTER — more columns for large site
   ============================================================ */
.footer-grid-lg {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}
@media (max-width: 1100px) { .footer-grid-lg { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 700px)  { .footer-grid-lg { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .footer-grid-lg { grid-template-columns: 1fr; } }

/* ============================================================
   PLATFORM COMPARISON TABLE
   ============================================================ */
.platform-table-wrapper { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--border); margin: 24px 0; }
.platform-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; min-width: 560px; }
.platform-table th { background: var(--surface-2); color: var(--text); font-weight: 700; padding: 12px 16px; text-align: left; font-family: var(--font-head); border-bottom: 1px solid var(--border); }
.platform-table td { padding: 11px 16px; border-bottom: 1px solid var(--border-subtle); color: var(--text-2); vertical-align: middle; }
.platform-table tr:last-child td { border-bottom: none; }
.platform-table tr:hover td { background: rgba(247,147,26,0.03); }
.td-orange { color: var(--orange); font-weight: 600; }
.td-green  { color: var(--green);  font-weight: 600; }
.td-red    { color: var(--red);    font-weight: 600; }

/* ============================================================
   PRO/CON CARDS
   ============================================================ */
.pro-con-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
@media (max-width: 600px) { .pro-con-grid { grid-template-columns: 1fr; } }
.pro-card, .con-card { background: var(--surface); border-radius: var(--r-md); padding: 20px; }
.pro-card { border: 1px solid rgba(0, 212, 164, 0.2); }
.con-card { border: 1px solid rgba(255, 77, 109, 0.2); }
.pro-card h4 { color: var(--green); font-family: var(--font-head); margin-bottom: 12px; font-size: 0.95rem; }
.con-card h4 { color: var(--red);   font-family: var(--font-head); margin-bottom: 12px; font-size: 0.95rem; }
.pro-card ul, .con-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pro-card li, .con-card li { font-size: 0.85rem; color: var(--text-2); padding-left: 18px; position: relative; line-height: 1.5; }
.pro-card li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.con-card li::before { content: '✗'; position: absolute; left: 0; color: var(--red);   font-weight: 700; }

/* ============================================================
   NUMBERED STEPS (process steps)
   ============================================================ */
.numbered-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.step-item { display: flex; gap: 16px; align-items: flex-start; }
.step-number { width: 34px; height: 34px; min-width: 34px; background: var(--orange); color: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; font-family: var(--font-head); }
.step-content { flex: 1; }
.step-content strong { color: var(--text); display: block; margin-bottom: 4px; font-size: 0.95rem; }
.step-content p { color: var(--text-2); font-size: 0.875rem; line-height: 1.6; margin: 0; }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { position: relative; padding-left: 28px; border-left: 2px solid var(--border); margin: 24px 0; display: flex; flex-direction: column; gap: 0; }
.timeline-item { position: relative; padding: 0 0 28px 24px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker { position: absolute; left: -38px; top: 0; }
.timeline-year { display: inline-flex; align-items: center; justify-content: center; background: var(--orange); color: #000; border-radius: var(--r-sm); padding: 3px 8px; font-size: 0.72rem; font-weight: 800; font-family: var(--font-mono); white-space: nowrap; }
.timeline-content h4 { color: var(--text); font-family: var(--font-head); font-size: 0.95rem; margin-bottom: 6px; }
.timeline-content p { color: var(--text-2); font-size: 0.85rem; line-height: 1.65; margin: 0; }

/* ============================================================
   FEATURE CARDS (used in article pages)
   ============================================================ */
.feature-grid { display: grid; gap: 18px; margin: 24px 0; }
.feature-grid.four-col { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.feature-grid.three-col { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.feature-grid.two-col   { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.feature-card { background: var(--surface); border: 1px solid var(--border-subtle); border-radius: var(--r-md); padding: 20px; transition: border-color var(--dur-fast); }
.feature-card:hover { border-color: var(--border-hover); }
.feature-card-icon { color: var(--orange); margin-bottom: 10px; }
.feature-card h4 { font-family: var(--font-head); color: var(--text); font-size: 0.95rem; margin-bottom: 6px; }
.feature-card p { color: var(--text-2); font-size: 0.83rem; line-height: 1.6; margin: 0; }

/* ============================================================
   FAQ / ACCORDION
   ============================================================ */
.faq-accordion { display: flex; flex-direction: column; gap: 8px; margin: 24px 0; }
.faq-item { background: var(--surface); border: 1px solid var(--border-subtle); border-radius: var(--r-md); overflow: hidden; }
.faq-question { width: 100%; background: none; border: none; cursor: pointer; padding: 16px 20px; display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-head); font-size: 0.9rem; font-weight: 600; text-align: left; transition: background var(--dur-fast); }
.faq-question:hover { background: rgba(247,147,26,0.05); }
.faq-icon { margin-left: auto; color: var(--orange); font-size: 1.3rem; font-weight: 300; flex-shrink: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--dur-med) var(--ease); }
.faq-answer p { padding: 0 20px 16px; color: var(--text-2); font-size: 0.875rem; line-height: 1.7; margin: 0; }

/* ============================================================
   QUICK STATS SIDEBAR WIDGET
   ============================================================ */
.quick-stats-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.quick-stat { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid var(--border-subtle); }
.quick-stat:last-child { border-bottom: none; }
.quick-stat-value { font-family: var(--font-mono); font-size: 1.1rem; font-weight: 700; color: var(--orange); }
.quick-stat-label { font-size: 0.75rem; color: var(--text-3); margin-top: 1px; }

/* ============================================================
   INTERNAL CTA LINK BLOCK
   ============================================================ */
.internal-cta { background: var(--orange-subtle); border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 20px; margin: 24px 0; }
.internal-cta p { margin: 0; color: var(--text-2); font-size: 0.9rem; }
.internal-cta a { color: var(--orange); text-decoration: none; font-weight: 600; }
.internal-cta a:hover { text-decoration: underline; }

/* ============================================================
   STEPS LIST WRAPPER
   ============================================================ */
.steps-list { background: var(--surface); border: 1px solid var(--border-subtle); border-radius: var(--r-md); padding: 20px 24px; margin: 24px 0; }
.steps-list h3 { font-family: var(--font-head); color: var(--text); font-size: 0.95rem; margin-bottom: 16px; }

/* ============================================================
   CALLOUT variants
   ============================================================ */
.callout.callout-warning { background: rgba(255,77,109,0.05); border-left-color: var(--red); }
.callout.callout-warning .callout-icon { color: var(--red); }
.callout.callout-info    { background: rgba(77,166,255,0.05); border-left-color: var(--blue); }
.callout.callout-info .callout-icon    { color: var(--blue); }
.callout.callout-success { background: rgba(0,212,164,0.05); border-left-color: var(--green); }
.callout.callout-success .callout-icon { color: var(--green); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb li { font-size: 0.8rem; color: var(--text-3); }
.breadcrumb li a { color: var(--text-2); text-decoration: none; }
.breadcrumb li a:hover { color: var(--orange); }

/* ============================================================
   ARTICLE SECTION
   ============================================================ */
.article-section { margin-bottom: 48px; }
.article-section h2 { font-family: var(--font-head); font-size: clamp(1.3rem, 3vw, 1.8rem); color: var(--text); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border-subtle); }
.article-section h3 { font-family: var(--font-head); font-size: 1.1rem; color: var(--text); margin: 20px 0 10px; }
.article-section p { color: var(--text-2); font-size: 0.9375rem; line-height: 1.75; margin-bottom: 14px; }
.article-section ul, .article-section ol { color: var(--text-2); font-size: 0.9rem; line-height: 1.7; padding-left: 20px; margin-bottom: 14px; }
.article-section li { margin-bottom: 6px; }
.article-section strong { color: var(--text); }
.article-section a { color: var(--orange); text-decoration: none; }
.article-section a:hover { text-decoration: underline; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.layout-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 48px; padding: 48px 0; align-items: start; }
@media (max-width: 900px) { .layout-sidebar { grid-template-columns: 1fr; } }
.sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 90px; }
@media (max-width: 900px) { .sidebar { position: static; } }

.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px; }
.toc-title { font-family: var(--font-head); font-weight: 700; font-size: 0.875rem; color: var(--text); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.toc-list-container ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.toc-list-container li a { display: block; padding: 5px 0; font-size: 0.83rem; color: var(--text-2); text-decoration: none; border-left: 2px solid transparent; padding-left: 10px; transition: color var(--dur-fast), border-color var(--dur-fast); }
.toc-list-container li a:hover, .toc-list-container li.active a { color: var(--orange); border-left-color: var(--orange); }

.sidebar-widget { background: var(--surface); border: 1px solid var(--border-subtle); border-radius: var(--r-md); padding: 18px; }
.sidebar-widget-title { font-family: var(--font-head); font-weight: 700; font-size: 0.875rem; color: var(--text); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border-subtle); }
.sidebar-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.sidebar-links li a { display: flex; align-items: center; gap: 8px; padding: 8px 0; color: var(--text-2); font-size: 0.85rem; text-decoration: none; border-bottom: 1px solid var(--border-subtle); transition: color var(--dur-fast); }
.sidebar-links li:last-child a { border-bottom: none; }
.sidebar-links li a:hover { color: var(--orange); }
.sidebar-links li a svg { color: var(--orange); flex-shrink: 0; }

