@font-face {
  font-family: "Barlow Condensed";
  src: url("BarlowCondensed-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --text: #080808;
  --muted: rgba(8, 8, 8, 0.72);
  --button: #000000;
  --button-text: #ffffff;
  --shadow: 0 22px 44px rgba(0, 0, 0, 0.14);
  --radius: 999px;
  --viewport-height: 100vh;
  --viewport-dynamic-height: 100dvh;
  --desktop-frame-gap: 72px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  background: url("FONO_ESIZE_TSTEP_PAREDES.jpg") center top / cover no-repeat;
  color: var(--text);
}

button,
a {
  font: inherit;
}

.page,
.shell,
.hero {
  width: 100%;
  height: 100%;
}

.page {
  position: relative;
  height: var(--viewport-height);
  height: var(--viewport-dynamic-height);
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.page::before {
  width: 46vw;
  height: 46vw;
  max-width: 220px;
  max-height: 220px;
  top: -8vw;
  right: -10vw;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.08), transparent 68%);
}

.page::after {
  width: 56vw;
  height: 56vw;
  max-width: 260px;
  max-height: 260px;
  bottom: -14vw;
  left: -14vw;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.06), transparent 72%);
}

.shell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: max(18px, env(safe-area-inset-top)) 18px calc(18px + env(safe-area-inset-bottom));
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;

  z-index: -1;
}

.logos {
  display: grid;
  justify-items: center;
}

.logos img {
  display: block;
  max-width: 100%;
  height: auto;
}

.logo-paredes {
  width: min(72vw, 290px);
}

.logo-tstep {
  margin-top: 20%;
  width: min(62vw, 250px);
}

.headline {
  margin: 25% 5% 5% 5%;
  max-width: 80%;
  font-size: 25px;
  text-transform: uppercase;
}

.subcopy {
  margin: clamp(12px, 2.2vh, 18px) auto 0;
  max-width: 24ch;
  font-size: clamp(0.96rem, 3.8vw, 1.25rem);
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50%;
  margin-top: 5%;
  padding: 14px 34px 13px;
  border: 0;
  border-radius: var(--radius);
  background: var(--button);
  color: var(--button-text);
  font-size: clamp(1.65rem, 6.2vw, 2.4rem);
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.cta:active {
  transform: scale(0.98);
}

.hint {
  margin-top: 12px;
  font-size: 0.92rem;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(8, 8, 8, 0.48);
}

#esize-widget {
  position: absolute;
  top: 0;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

#esize-widget > * {
  pointer-events: auto;
}

.busy .cta {
  opacity: 0.82;
}

@media (min-width: 768px) {
  .page {
    padding: 36px;
  }

  .shell {
    width: min(100%, 520px);
    min-height: calc(var(--viewport-height) - var(--desktop-frame-gap));
    height: calc(var(--viewport-height) - var(--desktop-frame-gap));
    height: calc(var(--viewport-dynamic-height) - var(--desktop-frame-gap));
  }

  .hero {
    min-height: calc(var(--viewport-height) - var(--desktop-frame-gap));
    height: calc(var(--viewport-height) - var(--desktop-frame-gap));
    height: calc(var(--viewport-dynamic-height) - var(--desktop-frame-gap));
    padding: 38px 25px 40px;
  }

  .hero::before {
    border-radius: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(1.5px);
  }

  .headline {
    margin-top: 20%;
  }

  .cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 34px rgba(0, 0, 0, 0.22);
  }
}
