/* Extracted from comparativa.html by scripts/extract-inline-styles.cjs (Phase D.5, 2026-05-29). */
/* Verbatim relocation — cascade preserved. Lets the CSP drop 'unsafe-inline' from style-src. */
:root {
  --bg: #0c0b09;
  --surface: #161513;
  --surface2: #201e1b;
  --surface3: #2a2724;
  --amber: #c9a84c;
  --amber-light: #f2efe8;
  --gold: #c9a84c;
  --text: #f2efe8;
  --text-dim: #8a8478;
  --green: #7ac07a;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Nav */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 11, 9, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface3);
}
nav .container { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; }
.nav-brand { font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 600; color: var(--amber); text-decoration: none; }
.nav-cta {
  background: var(--gold); color: #000;
  padding: 8px 18px; border-radius: 8px;
  font-weight: 600; font-size: 0.85rem;
  text-decoration: none; transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* Hero */
.hero { padding: 64px 0 24px; text-align: center; }
.hero .badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.12); color: var(--amber);
  padding: 6px 14px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 500;
  margin-bottom: 20px; letter-spacing: 0.02em;
}
.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--amber-light);
}
.hero .sub {
  font-size: 1rem; color: var(--text-dim);
  max-width: 600px; margin: 0 auto;
}

/* Sticky tier header — visible on both desktop and mobile when scrolled. */
.tier-header-wrap {
  position: sticky;
  top: 56px; /* below nav */
  z-index: 20;
  background: rgba(12, 11, 9, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--surface3);
  margin: 24px -24px 0;
  padding: 12px 24px;
}
.tier-header {
  display: grid;
  grid-template-columns: 2.2fr repeat(5, 1fr);
  gap: 8px;
  font-family: 'Fraunces', serif;
  font-size: 0.92rem;
  align-items: end;
}
.tier-header > div { text-align: center; }
.tier-header > div:first-child { text-align: left; color: var(--text-dim); font-family: 'Instrument Sans', sans-serif; font-weight: 500; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.tier-header .tier-name {
  color: var(--amber-light);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
}
.tier-header .tier-price {
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 2px;
}
.tier-header .tier-annual {
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 400;
  margin-top: 2px;
  font-family: 'Instrument Sans', sans-serif;
}
.tier-header .popular-dot {
  display: inline-block;
  background: var(--amber);
  color: #000;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 100px;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Instrument Sans', sans-serif;
}

/* Matrix */
.matrix-wrap { margin: 16px 0 56px; }
.matrix-section {
  margin-top: 32px;
}
.matrix-section h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 8px;
  border-bottom: 1px solid var(--surface3);
  padding-bottom: 6px;
}

.matrix-row {
  display: grid;
  grid-template-columns: 2.2fr repeat(5, 1fr);
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--surface3);
  font-size: 0.9rem;
}
.matrix-row:last-child { border-bottom: none; }
.matrix-row .feature {
  color: var(--text);
  font-weight: 500;
  padding-right: 12px;
}
.matrix-row .feature small {
  display: block;
  color: var(--text-dim);
  font-weight: 400;
  font-size: 0.78rem;
  margin-top: 2px;
}
.matrix-row .cell {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.86rem;
}
.matrix-row .cell.yes {
  color: var(--green);
  font-weight: 700;
}
.matrix-row .cell.no {
  color: var(--text-dim);
  opacity: 0.6;
}
.matrix-row .cell.qty {
  color: var(--amber-light);
  font-weight: 600;
}

@media (max-width: 900px) {
  .tier-header-wrap { padding: 10px 16px; margin: 24px -16px 0; }
  .tier-header { grid-template-columns: 1.8fr repeat(5, 0.9fr); font-size: 0.78rem; gap: 4px; }
  .tier-header .tier-name { font-size: 0.86rem; }
  .tier-header .tier-price { font-size: 0.7rem; }
  .tier-header .tier-annual { display: none; }
  .matrix-row { grid-template-columns: 1.8fr repeat(5, 0.9fr); font-size: 0.82rem; gap: 4px; }
  .matrix-row .feature { padding-right: 4px; }
  .matrix-row .feature small { font-size: 0.7rem; }
  .matrix-row .cell { font-size: 0.78rem; }
  .container { padding: 0 16px; }
}

/* Bottom CTA */
.bottom-cta {
  background: var(--surface2);
  border: 1px solid var(--amber);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  margin: 24px 0 48px;
}
.bottom-cta h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  color: var(--amber-light);
  margin-bottom: 8px;
}
.bottom-cta p {
  color: var(--text-dim);
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.bottom-cta .cta-btn {
  display: inline-block;
  background: var(--gold);
  color: #000;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}
.bottom-cta .cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.2);
}
.bottom-cta .secondary {
  display: block;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.bottom-cta .secondary a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }

/* Footer */
footer {
  border-top: 1px solid var(--surface3);
  padding: 32px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.82rem;
}
footer .links { margin-bottom: 12px; }
footer .links a { color: var(--amber); text-decoration: none; }
footer .links a:hover { text-decoration: underline; text-underline-offset: 2px; }
footer .credit a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }
