/* LAST x Nillion-style route. Original implementation using LAST assets/content. */

.download-page--brand {
  --clone-blue: #0021f5;
  --clone-navy: #00011f;
  --clone-line: rgba(255, 255, 255, 0.2);
  --clone-muted: rgba(255, 255, 255, 0.72);
  --clone-dim: rgba(255, 255, 255, 0.52);
  --last-heading-block: min(980px, 100%);
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--clone-navy);
  color: var(--white);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.4;
}

.download-page--brand .download-nav--brand {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: center;
  height: 85px;
  padding: 0 60px;
  background: var(--clone-blue);
  border-bottom: 0;
  backdrop-filter: none;
}

.download-nav--brand .download-nav__logo-link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.download-nav--brand .download-nav__logo {
  width: 103px;
  height: auto;
}

.download-nav--brand .download-nav__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 58px;
  padding-right: 0;
  font-family: var(--mono);
  font-size: 12.6px;
  line-height: 19.8px;
  color: var(--white);
  text-transform: uppercase;
}

.download-nav--brand .download-nav__links a,
.download-nav--brand .download-nav__cta {
  opacity: 0.86;
  transition: opacity 160ms ease;
}

.download-nav--brand .download-nav__links a:hover,
.download-nav--brand .download-nav__cta:hover {
  opacity: 1;
}

.download-nav--brand .download-nav__cta {
  display: none;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 22px;
  color: var(--white);
  text-transform: uppercase;
}

.download-nav--brand .download-nav__store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transform: translateY(-1px);
}

.download-nav__appstore-badge {
  display: block;
  width: 144px;
  height: auto;
}

#que-es,
#anatomia-ciencia,
#programa,
#metodo,
#download {
  scroll-margin-top: 85px;
}

.download-nav--brand a:focus-visible,
.last-site-link:focus-visible,
.download-actions a:focus-visible,
.download-footer__group a:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.78);
  outline-offset: 6px;
}

.last-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: block;
  padding: 85px 60px 45px;
  background: var(--clone-blue);
  isolation: isolate;
}

.last-hero::after {
  display: none;
}

.last-hero__ambient,
.last-hero__ambient span {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.last-hero__ambient {
  top: 85px;
  overflow: hidden;
  background: var(--clone-blue);
}

.last-hero__ambient span {
  display: none;
}

.last-hero__ambient span:nth-child(1) {
  display: none;
}

.last-hero__ambient span:nth-child(2) {
  display: none;
}

.last-hero__ambient span:nth-child(3) {
  display: none;
}

.last-hero__stage {
  position: absolute;
  inset: 85px clamp(48px, 4.7vw, 96px) 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, 0.72fr);
  align-items: center;
  column-gap: clamp(42px, 4.8vw, 104px);
  width: min(1800px, calc(100vw - clamp(96px, 9.4vw, 192px)));
  margin: 0 auto;
}

.last-hero__copy {
  position: relative;
  z-index: 3;
  align-self: center;
  justify-self: end;
  width: min(690px, 100%);
  transform: translate(-10%, calc(clamp(-117px, calc(233px - 17.1vw), -13px) - 10%)) scale(0.9);
  transform-origin: left center;
}

.last-hero h1,
.last-section h2,
.download-page--brand .download-final h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0;
}

.last-hero h1 {
  width: 100%;
  max-width: none;
  font-size: clamp(66px, 5.1vw, 96px);
  line-height: 1.02;
  color: var(--white);
}

.last-qr {
  display: block;
  width: 132px;
  height: auto;
  background: transparent;
  pointer-events: auto;
  cursor: default;
  user-select: none;
  transform: perspective(720px) rotateX(var(--qr-rotate-x, 0deg)) rotateY(var(--qr-rotate-y, 0deg)) translate3d(var(--qr-translate-x, 0px), var(--qr-translate-y, 0px), 0) scale(var(--qr-scale, 1));
  transform-origin: center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.last-qr.is-tilting {
  will-change: transform;
  transition-duration: 70ms;
}

.last-qr--hero {
  width: 119px;
  margin: 0 0 28px;
}

.last-hero__links {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 48px;
}

.last-site-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 22px;
  color: var(--white);
  text-transform: uppercase;
}

.last-site-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  background: var(--white);
  color: var(--clone-blue);
  font-family: var(--mono);
  font-size: 20px;
  line-height: 1;
}

.last-hero__bottom-left {
  display: none;
}

.last-hero__bottom-left p {
  margin: 0;
}

.last-hero__awards {
  position: absolute;
  right: 60px;
  bottom: 45px;
  z-index: 3;
  display: block;
  width: clamp(312px, 20.4vw, 432px);
  height: auto;
  user-select: none;
  pointer-events: none;
}

.last-hero__product {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  pointer-events: none;
}

.last-hero__media {
  position: relative;
  align-self: flex-end;
  width: clamp(640px, 53vw, 1120px);
  height: auto;
  max-width: none;
  max-height: calc(100svh - 85px);
  object-fit: contain;
  object-position: left center;
  display: block;
  transform: none;
  filter: drop-shadow(0 30px 44px rgba(0, 0, 0, 0.22));
}

.last-thesis {
  display: grid;
  grid-template-columns: minmax(0, 980px) 420px;
  justify-content: space-between;
  column-gap: clamp(80px, 8.2vw, 168px);
  min-height: auto;
  padding: 120px 60px 360px;
  background: var(--clone-navy);
  color: var(--white);
  border-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.last-thesis h2 {
  width: var(--last-heading-block);
  max-width: 100%;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 4vw, 81.92px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--white);
}

.last-thesis__copy {
  display: grid;
  align-content: start;
  justify-self: end;
  width: 420px;
  padding-top: 10px;
  font-family: var(--mono);
  font-size: 16px;
  line-height: 20.8px;
  letter-spacing: 0;
  color: var(--white);
}

.last-thesis__copy article {
  margin: 0;
}

.last-thesis__copy p {
  margin: 0;
}

.last-thesis__copy p + p {
  margin-top: 20px;
}

.last-thesis__copy ul {
  display: grid;
  gap: 0;
  margin: 20px 0 20px;
  padding: 0;
  list-style: none;
}

.last-thesis__copy li {
  position: relative;
  margin: 0;
  padding-left: 18px;
}

.last-thesis__copy li::before {
  content: ">";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--white);
}

.download-page--brand .download-kicker {
  display: none;
  margin: 0;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 22px;
  color: var(--white);
  text-transform: uppercase;
}

.last-proof-strip {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--clone-navy);
  color: var(--white);
  border-top: 1px solid var(--clone-line);
  border-bottom: 1px solid var(--clone-line);
}

.last-proof-strip article {
  position: relative;
  min-height: 170px;
  padding: 32px 60px 30px;
  border-right: 1px solid var(--clone-line);
}

.last-proof-strip article:last-child {
  border-right: 0;
}

.last-proof-strip strong {
  display: block;
  font-family: var(--display);
  font-size: 72px;
  font-weight: 400;
  line-height: 1;
  color: var(--white);
}

.last-proof-strip span {
  display: block;
  max-width: 210px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 20.8px;
  color: var(--clone-muted);
}

.last-section {
  padding: 120px 60px;
  background: var(--clone-navy);
  color: var(--white);
  border-bottom: 1px solid var(--clone-line);
}

.last-section--science {
  min-height: 100svh;
  padding-top: 120px;
  padding-bottom: 0;
  background: var(--clone-blue);
  border-bottom: 0;
  transition: padding-bottom 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.last-section--science.has-active,
.last-section--science:has(.last-anatomy__item.is-active) {
  padding-bottom: clamp(360px, 32svh, 520px);
}

@media (hover: hover) and (pointer: fine) {
  .last-section--science:has(.last-anatomy__item:hover) {
    padding-bottom: clamp(360px, 32svh, 520px);
  }
}

.last-section--program,
.last-section--method {
  background: var(--clone-navy);
  color: var(--white);
}

.last-section--program {
  padding-bottom: 360px;
}

.last-section--method {
  background: var(--clone-blue);
}

.last-section__intro {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 980px) 329px;
  justify-content: space-between;
  gap: 72px;
  text-align: left;
}

.last-section__intro .download-kicker {
  grid-column: 1 / -1;
  margin-bottom: 18px;
}

.last-section h2 {
  width: var(--last-heading-block);
  font-size: 72px;
  line-height: 1.1;
}

.last-section__intro p:not(.download-kicker) {
  width: 329px;
  margin: 8px 0 0;
  font-family: var(--mono);
  font-size: 16px;
  line-height: 20.8px;
  color: var(--white);
}

.last-science-grid,
.last-method-grid,
.last-phase-list {
  width: 100%;
  margin: 140px 0 0;
}

.last-anatomy {
  display: grid;
  grid-template-columns: minmax(0, min(980px, 50vw)) minmax(0, 1fr);
  justify-content: start;
  gap: clamp(48px, 3.9vw, 80px);
  width: 100%;
  min-height: 772px;
}

.last-anatomy__left,
.last-anatomy__right {
  min-width: 0;
}

.download-page--brand .last-anatomy__title {
  width: var(--last-heading-block);
  max-width: 100%;
  margin: 0 0 60px;
  font-family: var(--display);
  font-size: 72px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
}

.last-anatomy__list {
  width: min(980px, 100%);
  max-width: 100%;
}

.last-anatomy__item {
  appearance: none;
  display: block;
  width: min(980px, 100%);
  max-width: 100%;
  margin: 0;
  padding: 24px 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.last-anatomy__item:focus {
  outline: none;
}

.last-anatomy__item:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.7);
  outline-offset: 6px;
}

.last-anatomy__heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 400;
  line-height: 28.8px;
  color: var(--white);
  text-transform: uppercase;
}

.last-anatomy__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  min-width: 72px;
  color: var(--white);
  line-height: 1;
}

.last-anatomy__sign {
  position: relative;
  display: inline-flex;
  width: 22px;
  height: 22px;
  margin: 0 3px;
  color: currentColor;
}

.last-anatomy__sign::before,
.last-anatomy__sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 4px;
  background: currentColor;
  border-radius: 0;
  transform: translate(-50%, -50%);
  transform-origin: center;
  transition:
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 240ms ease;
}

.last-anatomy__sign::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.last-anatomy__label {
  display: block;
  min-width: 0;
  max-width: 800px;
}

.last-anatomy__item.is-active .last-anatomy__sign::before {
  transform: translate(-50%, -50%) rotate(180deg);
}

.last-anatomy__item.is-active .last-anatomy__sign::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(270deg) scaleX(0);
}

@media (hover: hover) and (pointer: fine) {
  .last-anatomy__item:hover .last-anatomy__sign::before {
    transform: translate(-50%, -50%) rotate(180deg);
  }

  .last-anatomy__item:hover .last-anatomy__sign::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(270deg) scaleX(0);
  }
}

.last-anatomy__item::after {
  content: attr(data-description);
  display: block;
  width: min(760px, 100%);
  max-width: 100%;
  max-height: 0;
  margin: 0;
  opacity: 0;
  font-family: var(--mono);
  font-size: 16px;
  line-height: 20.8px;
  letter-spacing: 0;
  color: var(--white);
  text-transform: none;
  white-space: pre-line;
  transform: translateY(-4px);
  transition:
    max-height 620ms cubic-bezier(0.16, 1, 0.3, 1),
    margin-top 520ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 240ms ease,
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.last-anatomy__item.is-active::after {
  max-height: 620px;
  margin-top: 36px;
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .last-anatomy__item:hover::after {
    max-height: 620px;
    margin-top: 36px;
    opacity: 1;
    transform: translateY(0);
  }
}

.last-anatomy__right {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 772px;
  transform: translateX(clamp(36px, 3vw, 96px));
}

.last-anatomy__thermal {
  position: relative;
  display: block;
  width: min(573px, 100%);
  max-height: 760px;
  line-height: 0;
  filter: drop-shadow(0 34px 52px rgba(0, 0, 0, 0.18));
}

.last-anatomy__figure {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-height: inherit;
  object-fit: contain;
  object-position: top center;
}

.last-anatomy__diagram {
  display: block;
  width: 591px;
  max-width: 100%;
  height: auto;
  color: var(--white);
}

.last-anatomy__diagram path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  vector-effect: non-scaling-stroke;
}

.last-anatomy__layer {
  opacity: 0.42;
  transition: opacity 340ms ease, transform 340ms ease;
}

.last-anatomy__layer--mid {
  opacity: 0.68;
}

.last-anatomy__layer--front {
  opacity: 0.92;
}

.last-anatomy__right[data-active="1"] .last-anatomy__layer--back,
.last-anatomy__right[data-active="3"] .last-anatomy__layer--mid,
.last-anatomy__right[data-active="5"] .last-anatomy__layer--front {
  opacity: 1;
}

.last-anatomy__description {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: pre-line;
}

.last-science-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 120px;
  row-gap: 80px;
}

.last-science-grid article,
.last-method-grid article {
  position: relative;
  min-height: 330px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.last-science-grid article:nth-child(2) {
  transform: translateY(100px);
}

.last-science-grid article:nth-child(3) {
  transform: translateY(180px);
}

.last-science-grid article::before {
  content: "";
  display: block;
  width: 300px;
  max-width: 100%;
  aspect-ratio: 1;
  margin-bottom: 34px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    radial-gradient(circle at 50% 50%, transparent 0 28%, rgba(255, 255, 255, 0.18) 28.5% 29%, transparent 29.5% 44%, rgba(255, 255, 255, 0.22) 44.5% 45%, transparent 45.5%),
    linear-gradient(45deg, transparent 0 48%, rgba(255, 255, 255, 0.34) 49% 51%, transparent 52% 100%);
}

.last-science-grid span,
.last-method-grid span,
.last-phase-list span {
  display: block;
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 22px;
  color: var(--clone-muted);
  text-transform: uppercase;
}

.last-science-grid h3,
.last-method-grid h3,
.last-phase-list h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.05;
  color: currentColor;
}

.last-science-grid p,
.last-method-grid p,
.last-phase-list p {
  width: min(358px, 100%);
  margin: 20px 0 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 25.2px;
  color: var(--clone-muted);
}

.last-phase-list {
  border-top: 1px solid var(--clone-line);
}

.last-phase-list article {
  position: relative;
  display: grid;
  grid-template-columns: 270px minmax(0, 560px) 360px;
  justify-content: space-between;
  align-items: start;
  gap: 44px;
  padding: 72px 0;
  border-bottom: 1px solid var(--clone-line);
}

.last-phase-list h3 {
  font-size: 72px;
  line-height: 1.05;
}

.last-phase-list p {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 16px;
  line-height: 20.8px;
  color: var(--white);
}

.last-method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 0.5px solid var(--clone-line);
  background: var(--clone-line);
}

.last-method-grid article {
  min-height: 420px;
  padding: 32px;
  background: var(--clone-blue);
  border: 0.5px solid var(--clone-line);
}

.last-method-grid article,
.last-method-grid article *,
.last-method-grid article:hover,
.last-method-grid article:hover *,
.last-method-grid__visual,
.last-method-grid__visual img,
.last-method-grid article:hover .last-method-grid__visual,
.last-method-grid article:hover .last-method-grid__visual img {
  transform: none;
  transition: none;
}

.last-method-grid__visual {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 32px;
  overflow: hidden;
  border: 0;
  background: #02031a;
}

.last-method-grid__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.06) contrast(1.02);
}

.last-method-grid__visual--kegels img {
  object-position: 50% 50%;
}

.last-method-grid__visual--stop img {
  object-position: 50% 50%;
}

.last-method-grid__visual--breath img {
  object-position: 43% 50%;
}

.last-method-grid__visual--metrics img {
  object-position: 50% 50%;
}

.last-method-grid h3 {
  font-size: 34px;
}

.last-section--method {
  border-bottom: 0;
}

.download-page--brand .download-final {
  min-height: 860px;
  display: grid;
  place-items: center;
  padding: 150px 60px 128px;
  background: var(--clone-blue);
  color: var(--white);
  text-align: center;
}

.download-page--brand .download-final > div {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  row-gap: 34px;
}

.last-qr--final {
  width: 132px;
  margin: 0;
}

.download-page--brand .download-final h2 {
  width: min(980px, 100%);
  font-size: 96px;
  line-height: 1.03;
}

.download-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 0;
}

.download-actions a {
  display: inline-flex;
  border-radius: 10px;
}

.download-page--brand .badge-appstore--large {
  width: 166px;
}

.download-page--brand .download-pill {
  width: 184px;
  min-height: 61.5px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: #05050c;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--mono);
  font-size: 12px;
}

.download-proof--final {
  margin-top: 0;
  font-family: var(--mono);
  color: rgba(255, 255, 255, 0.62);
}

.download-page--brand .download-footer {
  display: block;
  padding: clamp(40px, 5.2vw, 76px) clamp(18px, 4.2vw, 70px) 30px;
  background: var(--clone-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.45;
}

.download-footer__inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(132px, 0.58fr));
  gap: clamp(28px, 4.3vw, 78px);
  width: min(1280px, 100%);
  margin: 0 auto;
  align-items: start;
}

.download-footer__brand {
  max-width: 300px;
}

.download-footer__logo {
  display: inline-block;
  width: auto;
  height: 14px;
  opacity: 0.78;
  vertical-align: top;
}

.download-footer__brand p {
  width: min(240px, 100%);
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.46);
}

.download-footer__group {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}

.download-footer__group h2 {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.34);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
}

.download-footer__group a {
  color: inherit;
  text-decoration: none;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.download-footer__group a:hover {
  color: var(--white);
}

.download-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  width: min(1280px, 100%);
  margin: clamp(34px, 4.4vw, 60px) auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.36);
}

.text-scramble__symbol {
  color: currentColor;
  font: inherit;
}

.last-reveal {
  opacity: 0;
  transform: none;
}

.last-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .last-reveal {
    transition: opacity 400ms ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  .last-hero__copy,
  .last-hero__bottom-left,
  .last-hero__awards,
  .last-hero__ambient span,
  .last-reveal,
  .last-anatomy__item,
  .last-anatomy__item::after,
  .last-anatomy__sign::before,
  .last-anatomy__sign::after,
  .last-qr {
    animation: none;
    transition: none;
  }

  .last-qr {
    transform: none !important;
  }

  .last-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .download-page--brand .download-nav--brand {
    grid-template-columns: 160px minmax(0, 1fr);
    padding-right: 30px;
    padding-left: 30px;
  }

  .download-nav--brand .download-nav__links {
    gap: 24px;
    padding-right: 0;
  }

  .download-nav__appstore-badge {
    width: 128px;
  }

  .last-hero,
  .last-section,
  .last-thesis,
  .download-page--brand .download-final {
    padding-right: 30px;
    padding-left: 30px;
  }

  .last-hero__stage {
    inset: 85px 30px 45px;
    display: block;
    width: auto;
  }

  .last-hero__copy {
    position: absolute;
    left: 50%;
    right: auto;
    top: 50%;
    width: min(720px, calc(100vw - 60px));
    transform: translate(-50%, -52%) scale(0.9);
    transform-origin: center center;
  }

  .last-qr--hero {
    margin-right: 0;
    margin-left: 0;
  }

  .last-section h2 {
    font-size: 60px;
  }

  .last-hero__bottom-left {
    left: 30px;
    bottom: 45px;
    width: min(360px, 38vw);
  }

  .last-hero__awards {
    right: 30px;
    width: clamp(264px, 28.8vw, 360px);
  }

  .last-hero__product {
    display: none;
  }

  .last-section__intro,
  .last-phase-list article,
  .last-anatomy,
  .last-thesis {
    grid-template-columns: 1fr;
  }

  .last-phase-list article {
    grid-template-columns: minmax(0, 1fr);
  }

  .last-phase-list article > * {
    min-width: 0;
    max-width: 100%;
  }

  .last-thesis {
    gap: 72px;
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 300px;
  }

  .last-section--program {
    padding-bottom: 300px;
  }

  .last-thesis h2 {
    max-width: 100%;
  }

  .last-thesis__copy {
    justify-self: start;
    width: min(720px, 100%);
  }

  .last-anatomy {
    gap: 72px;
  }

  .last-anatomy__right {
    min-height: 560px;
    transform: none;
  }

  .last-anatomy__thermal {
    width: min(430px, 100%);
    max-height: 620px;
  }

  .last-anatomy__description {
    left: 0;
    right: auto;
  }

  .last-section__intro p:not(.download-kicker) {
    width: min(520px, 100%);
  }

  .last-science-grid,
  .last-method-grid,
  .last-proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .last-science-grid article:nth-child(2),
  .last-science-grid article:nth-child(3) {
    transform: none;
  }

  .download-page--brand .download-footer {
    padding-top: 48px;
  }

  .download-footer__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 38px 64px;
  }

  .download-footer__brand {
    max-width: none;
  }

  .download-footer__bottom {
    justify-content: flex-start;
  }
}

@media (min-width: 701px) and (max-width: 1180px) {
  .last-hero__stage {
    inset: 85px 30px 0;
    width: auto;
  }

  .last-hero__copy {
    position: absolute;
    top: clamp(118px, 14svh, 160px);
    right: 30px;
    left: 64px;
    width: min(650px, calc(100vw - 128px));
    transform: scale(0.84);
    transform-origin: left top;
  }

  .last-hero h1 {
    font-size: clamp(60px, 8vw, 72px);
    line-height: 1.03;
  }

  .last-hero__links {
    gap: 30px;
    margin-top: 36px;
  }

  .last-hero__product {
    position: absolute;
    bottom: 0;
    left: clamp(-130px, -9vw, -72px);
    display: flex;
    width: auto;
    height: auto;
    max-width: none;
  }

  .last-hero__media {
    width: auto;
    height: clamp(320px, 46svh, 560px);
    max-width: none;
    max-height: none;
  }
}

@media (min-width: 701px) and (max-width: 959px) and (orientation: landscape) {
  .last-hero__copy {
    top: 104px;
    transform: scale(0.8);
  }

  .last-hero__product {
    display: none;
  }

  .last-hero__media {
    height: clamp(260px, 38svh, 360px);
  }
}

@media (min-width: 701px) and (max-width: 759px) {
  .last-hero__media {
    height: clamp(280px, 34svh, 360px);
  }
}

@media (min-width: 960px) and (max-width: 1180px) {
  .last-hero__stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.72fr);
    align-items: center;
    column-gap: 24px;
  }

  .last-hero__copy {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    justify-self: end;
    width: min(560px, 100%);
    transform: translate(-5%, -12%) scale(0.84);
    transform-origin: left center;
  }

  .last-hero h1 {
    font-size: clamp(64px, 6vw, 76px);
  }

  .last-hero__links {
    gap: 28px;
    margin-top: 42px;
  }

  .last-hero__product {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    height: 100%;
    align-items: flex-end;
    justify-content: flex-start;
  }

  .last-hero__media {
    width: clamp(640px, 67vw, 760px);
    height: auto;
    max-height: calc(100svh - 85px);
    transform: translateX(clamp(-150px, -11vw, -92px));
  }
}

@media (min-width: 701px) and (max-width: 1180px) and (max-height: 520px) {
  .last-hero {
    min-height: 430px;
  }
}

@media (max-width: 700px) {
  .download-page--brand .download-nav--brand {
    grid-template-columns: auto 1fr auto;
    height: 70px;
    padding: 0 16px;
  }

  .download-nav--brand .download-nav__logo-link {
    grid-column: 1;
  }

  .download-nav--brand .download-nav__logo {
    width: 86px;
  }

  .download-nav--brand .download-nav__links {
    display: none;
  }

  .download-nav--brand .download-nav__cta {
    display: inline-flex;
    grid-column: 3;
    width: auto;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-2px) scale(0.98);
    visibility: hidden;
  }

  .download-nav--brand .download-nav__cta--mobile .download-nav__appstore-badge {
    width: clamp(92px, 25.2vw, 101px);
  }

  .download-page--brand .download-nav--brand.is-download-visible .download-nav__cta--mobile {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  #que-es,
  #anatomia-ciencia,
  #programa,
  #metodo,
  #download {
    scroll-margin-top: 70px;
  }

  .last-hero {
    min-height: 860px;
    padding: 70px 16px 0;
  }

  .last-hero__ambient {
    top: 70px;
  }

  .last-hero__stage {
    inset: 70px 16px 0;
  }

  .last-hero__copy {
    position: absolute;
    top: clamp(124px, 34vw, 148px);
    left: 0;
    right: auto;
    z-index: 4;
    justify-self: start;
    width: 100%;
    max-width: none;
    transform: scale(0.88);
    transform-origin: left top;
  }

  .last-hero h1 {
    font-size: 52px;
    line-height: 1.04;
  }

  .last-hero__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 28px;
  }

  .last-hero__bottom-left {
    left: 16px;
    right: 16px;
    bottom: 36px;
    z-index: 4;
    width: auto;
    font-size: 18px;
    line-height: 24px;
  }

  .last-hero__product {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: min(106vw, 540px);
    height: auto;
    max-width: none;
    pointer-events: none;
    transform: translateX(-50%);
  }

  .last-hero__media {
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
  }

  .last-hero__awards {
    display: block;
    top: clamp(96px, 28vw, 124px);
    left: 0;
    right: auto;
    bottom: auto;
    width: min(280px, 68vw);
    z-index: 4;
  }

  .last-qr {
    display: none;
  }

  .last-proof-strip,
  .last-science-grid,
  .last-method-grid {
    grid-template-columns: 1fr;
  }

  .last-proof-strip article {
    min-height: 136px;
    padding: 24px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--clone-line);
  }

  .last-thesis {
    padding: 76px 16px 180px;
    gap: 46px;
  }

  .last-thesis h2 {
    font-size: 43px;
    line-height: 1.04;
  }

  .last-thesis__copy {
    gap: 38px;
    font-size: 14px;
    line-height: 1.28;
  }

  .last-proof-strip strong {
    font-size: 58px;
  }

  .last-section {
    padding: 76px 16px;
  }

  .last-section--science {
    min-height: auto;
    padding-top: 84px;
    padding-bottom: 48px;
  }

  .last-section--program {
    padding-bottom: 180px;
  }

  .last-section--method {
    padding-bottom: 56px;
  }

  .last-section--science.has-active,
  .last-section--science:has(.last-anatomy__item.is-active) {
    padding-bottom: 56px;
  }

  @media (hover: hover) and (pointer: fine) {
    .last-section--science:has(.last-anatomy__item:hover) {
      padding-bottom: 56px;
    }
  }

  .last-section h2,
  .download-page--brand .download-final h2 {
    font-size: 50px;
    line-height: 1.05;
  }

  .last-anatomy {
    gap: 36px;
  }

  .download-page--brand .last-anatomy__title {
    width: 100%;
    margin-bottom: 38px;
    font-size: 50px;
    line-height: 1.05;
  }

  .last-anatomy__item {
    width: 100%;
    min-height: 70px;
    padding: 18px 0;
  }

  .last-anatomy__heading {
    gap: 10px;
    font-size: 20px;
    line-height: 25px;
  }

  .last-anatomy__toggle {
    min-width: 62px;
  }

  .last-anatomy__sign {
    width: 18px;
    height: 18px;
    margin: 0 2px;
  }

  .last-anatomy__sign::before,
  .last-anatomy__sign::after {
    width: 18px;
    height: 3px;
  }

  .last-anatomy__item::after {
    width: 100%;
    font-size: 14px;
    line-height: 19.6px;
  }

  .last-anatomy__item.is-active::after {
    margin-top: 22px;
  }

  @media (hover: hover) and (pointer: fine) {
    .last-anatomy__item:hover::after {
      margin-top: 22px;
    }
  }

  .last-anatomy__right {
    min-height: auto;
    transform: none;
  }

  .last-anatomy__thermal {
    width: min(300px, 78vw);
    max-height: 480px;
  }

  .last-anatomy__description {
    width: 100%;
    font-size: 15px;
    line-height: 20px;
  }

  .last-section__intro {
    gap: 20px;
  }

  .last-science-grid,
  .last-method-grid,
  .last-phase-list {
    margin-top: 72px;
  }

  .last-science-grid article,
  .last-method-grid article {
    min-height: auto;
  }

  .last-science-grid article::before,
  .last-method-grid__visual {
    width: min(300px, 100%);
  }

  .last-phase-list article {
    gap: 18px;
    padding: 42px 0;
  }

  .last-phase-list h3 {
    font-size: clamp(34px, 10.2vw, 44px);
  }

  .last-phase-list p {
    font-size: 16px;
    line-height: 20.8px;
  }

  .download-actions {
    flex-direction: column;
  }

  .download-page--brand .download-final {
    min-height: auto;
    padding: 56px 16px 96px;
  }

  .download-page--brand .download-final > div {
    row-gap: 24px;
  }

  .download-page--brand .download-final h2 {
    order: 0;
  }

  .download-actions {
    order: -1;
  }

  .download-proof--final {
    order: 1;
    max-width: 330px;
  }

  .download-page--brand .download-footer {
    padding: 42px 16px 28px;
    text-align: center;
  }

  .download-footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 34px;
  }

  .download-footer__brand {
    max-width: 320px;
  }

  .download-footer__brand p {
    width: auto;
  }

  .download-footer__group {
    justify-items: center;
    gap: 11px;
  }

  .download-footer__bottom {
    justify-content: center;
    margin-top: 38px;
    text-align: center;
  }
}

@media (min-width: 460px) and (max-width: 700px) {
  .last-hero {
    min-height: 900px;
  }

  .last-hero__product {
    width: min(94vw, 470px);
  }
}

@media (max-width: 360px) {
  .last-hero {
    min-height: 720px;
  }

  .last-hero__copy {
    top: 128px;
    transform: scale(0.82);
  }

  .last-hero h1 {
    font-size: 48px;
  }

  .last-hero__links {
    gap: 13px;
    margin-top: 22px;
  }

  .last-hero__awards {
    top: 102px;
    width: min(250px, 64vw);
  }

  .last-hero__product {
    bottom: 0;
    width: min(84vw, 430px);
  }
}
