@font-face {
  font-family: "TeX Gyre Heros";
  src: url("assets/fonts/texgyreheros-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "TeX Gyre Heros";
  src: url("assets/fonts/texgyreheros-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

:root {
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.72);
  --text-dim: rgba(255, 255, 255, 0.48);
  --panel: rgba(12, 12, 14, 0.72);
  --glass: rgba(255, 255, 255, 0.12);
  --glass-strong: rgba(255, 255, 255, 0.18);
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.28);
  --accent: #3b3bff;
  --accent-soft: #7b7bff;
  --paper: #ffffff;
  --paper-text: #1a1a1a;
  --paper-muted: #555555;
  --paper-line: #d0d0d0;
  color-scheme: dark;
  font-family: "TeX Gyre Heros", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #050506;
}

body {
  margin: 0;
  color: var(--text);
  background: #050506;
  font-family: "TeX Gyre Heros", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 56px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12, 12, 14, 0.54);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 64px;
  padding-left: 10px;
}

.brand img {
  display: block;
  width: 36px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a,
.glass-btn,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.12s;
}

.nav-links a {
  padding: 0 14px;
  color: var(--text-soft);
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.header-cta {
  justify-self: end;
}

.glass-btn {
  padding: 0 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.92);
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

.primary-action {
  padding: 0 18px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 28px rgba(59, 59, 255, 0.35);
}

.primary-action:hover {
  background: #3131e8;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  padding: 110px 0 56px;
}

.hero-map {
  position: absolute;
  inset: -34px;
  z-index: -3;
  background-image: url("assets/mapa-v4.webp");
  background-position: center;
  background-size: cover;
  filter: blur(5px) saturate(1.08) brightness(0.72);
  transform: translate3d(0, var(--map-parallax-y, 0px), 0) scale(1.08);
  will-change: transform;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.45) 48%, rgba(0, 0, 0, 0.72) 100%),
    radial-gradient(circle at 68% 40%, rgba(59, 59, 255, 0.22), transparent 34%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-map {
    transform: scale(1.08);
    will-change: auto;
  }
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  align-items: start;
  justify-items: center;
  min-height: calc(100vh - 166px);
}

.hero-copy {
  display: grid;
  justify-items: center;
  max-width: 720px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(5.4rem, 12vw, 10.5rem);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: 0;
  text-shadow: 0 12px 38px rgba(0, 0, 0, 0.45);
}

.hero-logo-title {
  line-height: 0;
}

.hero-logo-title img {
  display: block;
  width: min(300px, 72vw);
  height: auto;
  filter: drop-shadow(0 12px 38px rgba(0, 0, 0, 0.45));
}

.hero-lede {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.screenshot-showcase {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: min(900px, 100%);
  justify-self: center;
}

.screenshot-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot-card--map {
  aspect-ratio: 16 / 9;
}

.screenshot-card--wiki {
  aspect-ratio: 16 / 9;
  width: 70%;
  justify-self: end;
  margin-top: -122px;
}

.screenshot-card figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(20, 20, 24, 0.88);
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  font-size: 12px;
  font-weight: 700;
}

.feature-band,
.audience-band,
.site-footer {
  position: relative;
  background: #050506;
}

.feature-band {
  padding: 96px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-bottom: 28px;
  text-align: center;
}

.section-heading h2,
.audience h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.1rem, 4.5vw, 4.8rem);
  font-weight: 700;
  line-height: 0.98;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.glass-card {
  min-height: 236px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--glass);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.feature-icon-badge,
.feature-letter {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.feature-icon-img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.feature-icon-img--capital {
  width: 21px;
  height: 21px;
}

.glass-card h3,
.steps h3 {
  margin: 24px 0 10px;
  font-size: 22px;
  line-height: 1.05;
}

.glass-card p,
.steps p,
.audience-list p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.58;
}

.workflow {
  padding: 100px 0;
  text-align: center;
}

.section-heading.compact {
  display: grid;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.steps article {
  min-height: 232px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.steps span {
  color: var(--accent-soft);
  font-weight: 700;
}

.audience-band {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.audience {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  justify-items: center;
  text-align: center;
}

.audience-list {
  display: grid;
  gap: 10px;
  width: min(760px, 100%);
}

.audience-list p {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.audience-list strong {
  color: #fff;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-grid img {
  width: 98px;
  height: auto;
}

.site-footer a {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 1080px) {
  .hero-layout {
    min-height: auto;
  }

  .screenshot-card--wiki {
    width: 76%;
    margin-top: -90px;
  }
}

@media (max-width: 760px) {
  .section-shell {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    top: 10px;
    width: min(100% - 20px, 1180px);
    grid-template-columns: 1fr auto;
  }

  .brand {
    width: 58px;
  }

  .brand img {
    width: 34px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 92px 0 36px;
  }

  h1 {
    font-size: clamp(5rem, 26vw, 7rem);
  }

  .hero-logo-title img {
    width: min(210px, 72vw);
  }

  .hero-lede {
    font-size: 1.08rem;
  }

  .screenshot-showcase {
    gap: 12px;
  }

  .screenshot-card,
  .screenshot-card--wiki {
    width: 100%;
    margin-top: 0;
    border-radius: 14px;
  }

  .screenshot-card figcaption {
    left: 10px;
    bottom: 10px;
    min-height: 28px;
    padding: 0 10px;
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .audience {
    display: grid;
  }

  .feature-band,
  .workflow,
  .audience-band {
    padding: 64px 0;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}
