:root {
  --brand: #0066ff;
  --brand-bright: #019df4;
  --ink: #0b2739;
  --muted: #5f6770;
  --line: #d9e2ee;
  --surface: #ffffff;
  --soft: #f3f8fd;
  --green: #5cb615;
  --shadow: 0 24px 70px rgba(11, 39, 57, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--soft);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: "MovistarSans-Regular", "TelefonicaWeb-Regular", Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 78% 14%, rgba(1, 157, 244, 0.14), transparent 31%),
    linear-gradient(180deg, #ffffff 0%, #eef7ff 58%, #ffffff 100%);
}

a {
  color: inherit;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 226, 238, 0.7);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand);
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
}

.brand img,
.footer__brand img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(32px, 6vw, 92px);
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(30px, 5vw, 58px) 0 24px;
}

.hero__content {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 18px;
  font-weight: 700;
}

h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(48px, 6vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 23px);
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-top: 34px;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 26px;
  color: #ffffff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  background: var(--brand);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0, 102, 255, 0.27);
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.download-button:hover {
  background: #005eeb;
  box-shadow: 0 18px 36px rgba(0, 102, 255, 0.33);
  transform: translateY(-1px);
}

.download-button:focus-visible {
  outline: 3px solid rgba(1, 157, 244, 0.45);
  outline-offset: 3px;
}

.download-button__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.download-button__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.download-note {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(312px, 82vw);
  aspect-ratio: 0.55;
  padding: 14px;
  background: #0f1726;
  border-radius: 44px;
  box-shadow: var(--shadow);
}

.phone__screen {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #e6f5fd 100%);
  border-radius: 32px;
}

.phone__screen img {
  width: min(168px, 56%);
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 28px;
}

.phone__title {
  color: var(--brand);
  font-size: 34px;
  font-weight: 700;
}

.phone__line,
.phone__pill {
  width: 70%;
  height: 12px;
  margin-top: 20px;
  background: #dceaf5;
  border-radius: 999px;
}

.phone__line--short {
  width: 46%;
  margin-top: 12px;
}

.phone__pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74%;
  height: 46px;
  margin-top: 34px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  background: var(--green);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 42px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.features article {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.86);
}

.features strong {
  font-size: 19px;
}

.features span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.42;
}

.footer {
  display: grid;
  justify-items: center;
  gap: 22px;
  align-items: center;
  padding: 34px 20px 30px;
  color: var(--brand);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--brand);
  font-size: 19px;
  font-weight: 700;
}

.legal {
  display: grid;
  gap: 12px;
  width: min(920px, 100%);
  color: var(--ink);
  text-align: center;
}

.legal h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.legal p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.legal__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-top: 2px;
}

.legal__links a {
  color: var(--brand);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.legal__links a:hover {
  text-decoration: underline;
}

.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 820px) {
  .topbar {
    justify-content: flex-start;
    min-height: 68px;
    padding: 12px 20px;
  }

  .brand {
    font-size: 22px;
  }

  .brand img,
  .footer__brand img {
    width: 40px;
    height: 40px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
  }

  .hero__visual {
    display: none;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(44px, 13vw, 60px);
  }

  .lead {
    font-size: 18px;
  }

  .download-button {
    width: 100%;
  }

  .download-note {
    width: 100%;
    text-align: center;
  }

  .features {
    grid-template-columns: 1fr;
    margin-bottom: 30px;
  }

  .footer {
    padding: 30px 20px 28px;
  }

  .legal {
    text-align: left;
  }

  .legal h2,
  .legal p {
    max-width: none;
  }

  .legal__links {
    display: grid;
    justify-content: stretch;
    gap: 10px;
  }

  .legal__links a {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  .download-button {
    transition: none;
  }

  .download-button:hover {
    transform: none;
  }
}
