:root{
  --bg:#f7f7fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#667085;
  --brand:#2563eb;
  --brand-700:#1d4ed8;
  --border:#e5e7eb;
  --ring:#dbeafe;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,'Helvetica Neue',Arial,'Noto Sans',sans-serif;
  color:var(--text);
  background:var(--bg);
  display:flex;
  flex-direction:column;
}

.container{max-width:1100px;margin:0 auto;padding:0 16px}

/* NAV con “pestañas” */
.navbar{
  background:var(--card);
  border-bottom:1px solid var(--border);
}
.nav-wrap{
  height:64px;
  display:flex;
  align-items:center;
  gap:16px;
}
.brand{
  text-decoration:none;
  font-weight:800;
  letter-spacing:.3px;
  color:var(--brand);
  margin-right:12px;
}
.tabs{display:flex;gap:8px;flex-wrap:wrap}
.tab{
  text-decoration:none;
  color:#111827;
  background:#f3f4f6;
  padding:8px 12px;
  border-radius:10px;
  font-weight:600;
  border:1px solid #f3f4f6;
}
.tab:hover{background:#eef2ff;border-color:#e5e7eb}
.tab.active{
  color:#1e3a8a;
  background:#e0e7ff;
  border-color:#c7d2fe;
}

/* Tarjetas y héroe */
main{flex:1}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
}
.hero{
  margin:24px 0;
  padding:28px 24px;
}
.hero-title{
  margin:0 0 8px 0;
  font-size:2rem;
  line-height:1.2;
}
.version{color:#0f172a}
.hero-sub{
  margin:0 0 18px 0;
  color:var(--muted);
  font-size:1rem;
}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.btn{
  display:inline-block;
  background:var(--brand);
  color:white;
  padding:10px 14px;
  border-radius:10px;
  text-decoration:none;
  font-weight:700;
  border:1px solid var(--brand);
}
.btn:hover{background:var(--brand-700)}
.btn.outline{
  background:transparent;
  color:var(--brand);
  border:1px solid var(--brand);
}
.btn.outline:hover{background:var(--ring)}

.grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
  margin:0 0 32px 0;
}
@media (max-width: 980px){
  .grid{grid-template-columns:1fr 1fr}
}
@media (max-width: 640px){
  .grid{grid-template-columns:1fr}
}

.card-soft{
  padding:20px;
  border-radius:18px;
}
.card-soft h3{
  margin:0 0 6px 0;
  font-size:1.1rem;
}
.card-soft p{
  margin:0 0 14px 0;
  color:var(--muted);
}
.card-link{
  font-weight:700;
  text-decoration:none;
  color:var(--brand);
}
.card-link:hover{color:var(--brand-700);text-decoration:underline}

/* Footer */
.footer{
  border-top:1px solid var(--border);
  background:var(--card);
  padding:14px 0;
  color:var(--muted);
  font-size:.9rem;
  text-align:center;
}


/* ==== Tamaños tipográficos solicitados ==== */
body{
  font-size: 11pt;            /* Contenidos */
}

/* Títulos (h1–h4 y títulos específicos) */
h1, h2, h3, h4,
.hero-title,
.card-soft h3,
.brand {
  font-size: 13pt;            /* Títulos */
  line-height: 1.35;
}

/* Ajustes finos para mantener legibilidad en UI */
.tab,
.btn,
.card-link,
.hero-sub,
.card-soft p {
  font-size: 11pt;            /* Contenido/UI general */
}
