@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@500&display=swap');

:root {
  --ink: #16202E;
  --ink-soft: #48566A;
  --ink-faint: #8894A6;
  --paper: #FBFAF7;
  --card: #FFFFFF;
  --line: #E6E4DD;
  --brand: #0E5C4A;      /* verde profundo, sobrio, no el rojo de marca — transmite calma fiscal */
  --brand-soft: #E7F0ED;
  --gold: #C08A2D;        /* acento cálido para el número/resultado */
  --gold-soft: #F6EEDE;
  --warn: #C08A2D;
  --warn-soft: #FBF6EC;
  --danger: #B4442E;
  --danger-soft: #FCF3F1;
  --shadow: 0 1px 3px rgba(22,32,46,.06), 0 8px 24px rgba(22,32,46,.05);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding: 32px 16px 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.wrap { max-width: 620px; margin: 0 auto; width: 100%; flex: 1; }

h1 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-align: center;
  margin-bottom: 8px;
}
.sub { text-align: center; color: var(--ink-soft); font-size: 15px; max-width: 440px; margin: 0 auto 28px; }

/* ===== Top nav (hub de herramientas) ===== */
.topnav {
  max-width: 920px; margin: 0 auto 34px; padding: 0 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topnav .nav-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.topnav .brand-dot { width: 24px; height: 24px; border-radius: 6px; background: var(--brand); position: relative; flex-shrink: 0; }
.topnav .brand-dot::after { content: ''; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); top: 6px; right: 6px; }
.topnav .brand-name { font-family: 'Fraunces', serif; font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav-link {
  position: relative; padding: 7px 13px; border-radius: 8px; font-size: 13.5px; font-weight: 500;
  color: var(--ink-soft); text-decoration: none; cursor: pointer; transition: all .18s; white-space: nowrap;
}
.nav-link:hover { background: var(--brand-soft); color: var(--brand); }
.nav-link.active { background: var(--brand); color: #fff; }
.nav-link.soon { color: var(--ink-faint); cursor: default; }
.nav-link.soon:hover { background: transparent; color: var(--ink-faint); }
.nav-link.soon .soon-tag {
  font-size: 9px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600;
  background: var(--line); color: var(--ink-soft); padding: 1px 5px; border-radius: 20px; margin-left: 5px; vertical-align: middle;
}
.nav-toggle { display: none; }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px;
    border: 1px solid var(--line); background: #fff; cursor: pointer; gap: 4px;
  }
  .nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); }
}

/* ===== Bloque de contenido indexable (SEO) ===== */
.info-block {
  margin-top: 40px; padding-top: 8px;
}
.info-block h2 {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 19px;
  letter-spacing: -.01em; margin: 28px 0 10px;
}
.info-block h2:first-child { margin-top: 0; }
.info-block p, .info-block li {
  color: var(--ink-soft); font-size: 14px; line-height: 1.6;
}
.info-block p { margin-bottom: 10px; }
.info-block ol { padding-left: 20px; margin-bottom: 10px; }
.info-block li { margin-bottom: 6px; }

/* ===== Footer global ===== */
.site-footer {
  max-width: 620px; margin: 40px auto 0; padding-top: 22px;
  border-top: 1px solid var(--line); text-align: center;
}
.site-footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--ink-faint);
}
.site-footer-inner a { color: var(--brand); text-decoration: none; font-weight: 500; }
.site-footer-inner a:hover { text-decoration: underline; }
