/* Extracted from precios.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.65;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }

/* 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 — calm, no exclamation, no "¡Elige!" */
.hero { padding: 72px 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(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 auto 18px;
  color: var(--amber-light);
}
.hero .sub {
  font-size: 1.1rem; color: var(--text-dim);
  max-width: 580px; margin: 0 auto 28px;
}

/* Annual prepay toggle — anchored above the cards. No "limited time".
   The toggle just changes the displayed price; ahorras 2 meses is a
   fact, not a countdown. */
.billing-toggle {
  display: inline-flex; align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--surface3);
  border-radius: 12px;
  padding: 6px;
  margin: 0 auto 12px;
  font-size: 0.92rem;
  user-select: none;
}
.billing-toggle button {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.billing-toggle button[aria-pressed="true"] {
  background: var(--amber);
  color: #000;
}
.billing-hint {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 32px;
}
.billing-hint strong { color: var(--amber); font-weight: 600; }

/* Plan grid — 5 cards, mobile-stack.
   POPULAR badge only on Nido — anchored to the persona-spec target
   (Pame & Artemio archetype), not a visual-cheat highlight. */
.plans {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 0 0 48px;
  align-items: stretch;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--surface3);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan.popular {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber);
}
.plan .popular-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--amber);
  color: #000;
  font-family: 'Fraunces', serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
}
.plan h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--amber-light);
  margin-bottom: 2px;
}
.plan .for {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.plan .price {
  font-family: 'Fraunces', serif;
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--amber);
  line-height: 1.1;
  margin-bottom: 2px;
}
.plan .price small {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 400;
}
.plan .price-annual {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 20px;
  min-height: 1.2em;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex-grow: 1;
}
.plan ul li {
  font-size: 0.9rem;
  padding: 6px 0 6px 20px;
  position: relative;
  border-top: 1px solid var(--surface3);
  color: var(--text);
}
.plan ul li:first-child { border-top: none; }
.plan ul li::before {
  content: "·";
  color: var(--amber);
  position: absolute;
  left: 6px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .plans { grid-template-columns: 1fr; }
}

/* One-time SKUs block */
.skus {
  background: var(--surface);
  border: 1px solid var(--surface3);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 48px;
}
.skus h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  color: var(--amber-light);
  margin-bottom: 8px;
}
.skus .lede {
  color: var(--text-dim);
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.sku-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sku {
  background: var(--surface2);
  border: 1px solid var(--surface3);
  border-radius: 12px;
  padding: 20px;
}
.sku h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--amber-light);
  margin-bottom: 4px;
}
.sku .sku-price {
  color: var(--amber);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
}
.sku p {
  font-size: 0.88rem;
  color: var(--text-dim);
}
@media (max-width: 760px) {
  .sku-grid { grid-template-columns: 1fr; }
}

/* Charter promise block */
.charter {
  background: var(--surface2);
  border: 1px solid var(--amber);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 48px;
}
.charter h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  color: var(--amber-light);
  margin-bottom: 16px;
}
.charter ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.charter ul li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-top: 1px solid var(--surface3);
  font-size: 0.98rem;
  color: var(--text);
}
.charter ul li:first-child { border-top: none; }
.charter ul li::before {
  content: "✓";
  color: var(--green);
  position: absolute;
  left: 6px;
  font-weight: 700;
}
.charter a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }

/* The ONE primary action — symmetry budget = 1 (matches /cancelar + /upgrade).
   No card carries a CTA; the primary lives alone below the grid. */
.primary-action-row {
  display: flex;
  justify-content: center;
  margin: 8px 0 12px;
}
.primary-action {
  display: inline-block;
  background: var(--gold);
  color: #000;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  min-width: 260px;
  text-align: center;
}
.primary-action:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.2);
}
.primary-sub {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 36px;
}
.primary-sub a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }

.secondaries {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 6px 0 48px;
}
.secondary-action {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--amber);
  color: var(--amber);
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.secondary-action:hover { background: rgba(201, 168, 76, 0.08); }

/* FAQ */
.faq {
  margin: 16px 0 48px;
}
.faq h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  color: var(--amber-light);
  margin-bottom: 16px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--surface3);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 10px;
}
.faq details[open] { border-color: var(--amber); }
.faq summary {
  cursor: pointer;
  font-family: 'Fraunces', serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--amber-light);
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: -2px;
  color: var(--amber);
  font-weight: 600;
  font-size: 1.3rem;
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin-top: 10px;
  color: var(--text);
  font-size: 0.95rem;
}
.faq details p a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }
/* D.5 inline-style migration (2026-05-29) */
.link-amber-underline { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }
.faq--centered { margin-left: auto; margin-right: auto; }

/* 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; }
