/* LeoCode IA | lblanco © Copyright 2026 */
:root {
  --ink: #0b1220;
  --muted: #5b6577;
  --bg: #f6f8fb;
  --card: #eef1f5;
  --line: #d9dee6;
  --pad: clamp(20px, 6vw, 116px);
}

* { box-sizing: border-box; margin: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

.top {
  padding: 24px var(--pad);
  background: linear-gradient(#fff, #f1f4f8);
}

.logo { display: block; height: 52px; width: auto; }

.hero {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: center;
  padding: 48px var(--pad);
  overflow: hidden;
  background: linear-gradient(100deg, #fff 0%, #eef2f7 55%, #e6ebf2 100%);
}

.hero-text { position: relative; z-index: 2; max-width: 640px; }

h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
h1 strong { font-weight: 600; display: block; }

.lead {
  margin-top: 28px;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 300;
  color: #2a3345;
}

.sub { margin-top: 18px; font-size: 1.15rem; font-weight: 300; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  padding: 18px 34px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 400;
  box-shadow: 0 14px 30px rgba(11, 18, 32, 0.22);
}
.btn[aria-disabled="true"] { cursor: default; }

.hero-img {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(62%, 900px);
  background: url("img/hero.jpg") right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 38%);
  mask-image: linear-gradient(to right, transparent 0%, #000 38%);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 40px var(--pad) 56px;
}

.features article {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 8px 28px;
  border-left: 1px solid var(--line);
}
.features article:first-child { border-left: 0; padding-left: 0; }

.ico {
  flex: none;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--card);
  color: var(--ink);
}
.ico svg { width: 38px; height: 38px; fill: currentColor; }
.ico svg[fill="none"] { fill: none; }

.features h2 { font-size: 1.35rem; font-weight: 500; }
.features p { margin-top: 6px; color: var(--muted); font-weight: 300; }

footer {
  padding: 22px var(--pad);
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 860px) {
  .hero { flex-direction: column; align-items: flex-start; min-height: 0; padding-bottom: 0; }
  .hero-img {
    position: relative;
    inset: auto;
    width: calc(100% + var(--pad) * 2);
    margin: 36px calc(var(--pad) * -1) 0;
    height: 300px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 30%);
  }
  .features { grid-template-columns: 1fr; gap: 24px; }
  .features article, .features article:first-child { border-left: 0; padding: 0; }
  .logo { height: 40px; }
}
