:root{
  --bg0:#0b0f19;
  --bg1:#0f1730;
  --txt:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.66);
  --link:rgba(255,255,255,.78);
  --linkHover:rgba(255,255,255,.95);
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  color:var(--txt);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: var(--bg0);
  overflow-x:hidden;
}

/* Fondo FIXED: no se corta al scrollear */
.bg{
  position:fixed;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(900px 600px at 18% 18%, rgba(124,92,255,.30), transparent 60%),
    radial-gradient(900px 600px at 82% 22%, rgba(34,197,94,.20), transparent 60%),
    radial-gradient(1000px 700px at 50% 90%, rgba(56,189,248,.10), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

/* Layout */
.wrap{
  min-height:100svh; /* mejor en mobile (evita saltos por barra del navegador) */
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 84px) 18px 26px;

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  gap: 22px;
}

.hero{ max-width: 62ch; }

h1{
  margin:0 0 12px;
  font-size: clamp(44px, 7vw, 86px);
  letter-spacing: -1px;
  line-height: 1.02;
}

.lead{
  margin:0 0 10px;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.5;
  color: var(--muted);
}

.links{
  margin:0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.6;
  color: var(--muted);
}

.links a{
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  text-decoration-color: rgba(255,255,255,.35);
  transition: color .15s ease, text-decoration-color .15s ease;
}

.links a:hover{
  color: var(--linkHover);
  text-decoration-color: rgba(255,255,255,.75);
}

/* Footer con logo pequeño centrado */
.footer{
  width:100%;
  display:flex;
  justify-content:center;
  margin-top: 24px;
}

.brand{
  display:inline-flex;
  opacity: .78;
  transition: opacity .15s ease, transform .15s ease;
}
.brand:hover{ opacity:1; transform: translateY(-1px); }

.brand img{
  width: 150px;
  height: auto;
  display:block;
}

/* Mobile: centrar texto y bloques */
@media (max-width: 700px){
  .wrap{
    align-items:center;
    text-align:center;
  }
  .hero{ max-width: 36ch; }
}