/* Hide default footer */
.md-footer { display: none !important; }

/* Theme tokens */
:root { --bg:#0B0F14; --surface:#0F172A; --teal:#14B8A6; --amber:#F59E0B; }

/* Background */
.md-main { background: linear-gradient(180deg, var(--bg), #0B111A); }

/* Hero */
.hero {
  display:flex; gap:2rem; align-items:center; padding:3rem 1rem; border-radius:1rem;
  background: radial-gradient(1200px 600px at 70% -100px, rgba(20,184,166,.15), transparent),
              linear-gradient(0deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  border:1px solid rgba(255,255,255,.06);
}
.hero-text h1 { margin:0 0 .25rem 0; font-weight:600; letter-spacing:.2px; color:#E5E7EB; }
.hero-text p  { opacity:.85; color:#C7D2FE; margin:0 0 .75rem 0; }
.hero .cta {
  display:inline-block; padding:.6rem 1rem; border-radius:.75rem; background:var(--teal);
  color:#041014; font-weight:600; text-decoration:none;
}
.hero-art img { max-width:560px; height:auto; filter: drop-shadow(0 10px 24px rgba(20,184,166,.25)); }

/* Tiles */
.tiles { display:grid; grid-template-columns: repeat(3, 1fr); gap:1rem; margin-top:1.5rem; }
.tile  {
  background: rgba(255,255,255,.02); border:1px solid rgba(255,255,255,.06);
  border-radius:1rem; padding:1rem; text-align:center; color:#E5E7EB;
}
.tile img { max-width: 90%; height:auto; }
/* --- Hero layout fixes --- */
.md-typeset .hero {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 1rem;
  border-radius: 1rem;
  max-width: 100%;
  overflow: hidden;
}
.hero-text { flex: 1 1 55%; min-width: 280px; }
.hero-art { flex: 0 1 45%; max-width: 45%; }
.hero-art img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
}
@media (max-width: 900px) {
  .md-typeset .hero { flex-direction: column; text-align: left; }
  .hero-art { max-width: 100%; flex-basis: auto; order: -1; }
  .hero-art img { max-width: 100%; }
}
