.welcome-section.bhutan-hero.app-page-hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}

.app-page-hero h1 {
  text-wrap: balance;
}

.app-page-hero .description p,
.app-page-hero + .guide-layout .content :is(p, li, .flow-desc) {
  text-wrap: pretty;
}

.app-page-hero .app-page-visual {
  min-block-size: 490px;
}

.app-page-hero .app-page-visual .app-page-device {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 38%;
  width: clamp(175px, 20vw, 240px);
  z-index: 1;
  transform: translate(-50%, -50%) rotate(-8deg);
}

.app-page-hero .app-page-visual .app-page-device--games {
  inset-block-start: 48%;
  inset-inline-start: 67%;
  width: clamp(155px, 18vw, 214px);
  z-index: 0;
  transform: translate(-50%, -50%) rotate(10deg);
}

.app-page-device--games .phone .screenshot-viewport {
  inset-block-end: auto;
  aspect-ratio: 1080 / 2198;
  overflow: hidden;
}

.app-page-device--games .phone .app-screenshot {
  height: auto;
  /* Show source rows 90–2288, outside both Android system bars. */
  transform: translateY(-3.75%);
}

.app-page-hero .welcome-section__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.app-page-hero .welcome-section__buttons .btn {
  min-block-size: 44px;
  font-size: .9375rem;
}

.app-page-hero .btn.app-page-secondary {
  border: 1px solid #304663;
  background: #182b45;
  box-shadow: none;
}

.app-page-hero .btn.app-page-secondary:hover {
  background: #1b3658;
  box-shadow: none;
}

@media (max-width: 820px) {
  .welcome-section.bhutan-hero.app-page-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .app-page-hero .app-page-visual {
    width: min(100%, 420px);
    max-width: none;
    min-block-size: clamp(280px, 86vw, 390px);
    justify-self: center;
  }
  .app-page-hero .app-page-visual .app-page-device {
    width: clamp(126px, 41vw, 184px);
  }
  .app-page-hero .app-page-visual .app-page-device--games {
    width: clamp(114px, 37vw, 163px);
  }
}

.guide-layout .content .app-screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(16px, 4vw, 32px);
  border-radius: 14px;
  background: var(--guide-card-surface);
}

.guide-layout .content .app-screens figure {
  width: min(100%, 208px);
  margin: 0 auto;
}

.guide-layout .content .app-screens figcaption {
  display: grid;
  gap: 4px;
  margin-block-start: 10px;
  color: var(--prototype-caption);
  font-size: .875rem;
  line-height: 1.45;
}

.app-screens figcaption strong { font-size: 1rem; }

.app-account-links > li { scroll-margin-block-start: 148px; }

@media (max-width: 600px) {
  .guide-layout .content .app-screens { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

.guide-layout .content .app-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-inline-size: none;
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
}
.app-feature-grid > li {
  margin: 0;
  padding: 16px;
  border-radius: var(--guide-card-radius);
  background: var(--guide-card-surface);
}
.app-feature-grid h3 { margin: 0 0 6px; font-size: 1rem; line-height: 1.35; }
.app-feature-grid > li p { margin: 0; font-size: .9375rem; line-height: 1.55; }
.app-feature-grid a { text-underline-offset: 3px; }

.guide-layout .content .app-feature-art { margin: 0 0 16px; }
.app-feature-art__stage {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: var(--guide-card-surface);
}
.app-feature-art__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.app-feature-phone {
  position: absolute;
  inset-block-start: 18%;
  inline-size: 29%;
  padding: clamp(2px, .55vw, 7px);
  border-radius: clamp(12px, 2.6vw, 34px);
  border-color: #58708a;
  transform-origin: top center;
}
.app-feature-phone img {
  border-radius: clamp(8px, 2vw, 27px);
}
.app-feature-phone--home {
  inset-inline-start: 4%;
  transform: rotate(-19deg);
}
.app-feature-phone--launch {
  inset-block-start: 6%;
  inset-inline-start: 35.5%;
  z-index: 1;
}
.app-feature-phone--notifications {
  inset-inline-end: 4%;
  transform: rotate(19deg);
  z-index: 2;
}
.app-feature-art figcaption {
  margin-block-start: 8px;
  color: var(--prototype-caption);
  font-size: .875rem;
}
@media (max-width: 600px) {
  .guide-layout .content .app-feature-grid { grid-template-columns: minmax(0, 1fr); }
  .app-feature-art__stage { aspect-ratio: 3 / 2; }
}
