/* Selected home A. Preserve the approved 1440 × 780 and 992 × 680 readers.
   The shell's named "reader" container also accounts for an open sidebar. */
.wha-page {
  box-sizing: border-box;
  display: grid;
  grid-template-rows: minmax(min-content, 1fr) auto;
  gap: 44px;
  width: 100%;
  min-width: 0;
  min-height: 100%;
  padding: 40px 64px 32px;
  background: #121c19;
  color: #f0f3e9;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wha-page *,
.wha-page *::before,
.wha-page *::after {
  box-sizing: border-box;
}

.wha-page :where(h1, p) { margin: 0; }
.wha-page :where(header, nav, div) { min-width: 0; }
.wha-page :where(a, button):focus-visible {
  outline: 2px solid #c2b8ff;
  outline-offset: 6px;
}

.wha-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 12px 24px;
}

.wha-eyebrow {
  color: #a2b0a8;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.wha-page .wha-title {
  max-width: 100%;
  margin-top: 26px;
  font-size: clamp(62px, 6.65cqw, 96px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.wha-title-line { display: block; }
.wha-title-outline {
  color: #c2b8ff;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.25px currentColor;
}

.wha-explore {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 80px;
  margin-top: 38px;
  padding: 18px 26px;
  border: 1px solid #d0f5a5;
  border-radius: 14px;
  background: #d0f5a5;
  color: #14271b;
  font-size: 24px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -.035em;
  text-decoration: none;
  transition: background-color 160ms, border-color 160ms;
}

.wha-explore:hover {
  border-color: #f0f3e9;
  background: #f0f3e9;
}

.wha-explore:active {
  border-color: #c2b8ff;
  background: #c2b8ff;
}

.wha-explore-arrow {
  display: block;
  flex: 0 0 auto;
  width: 64px;
  height: 32px;
}

.wha-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 18px;
  border-top: 1px solid #35453d;
}

.wha-rail-group {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3cqw, 44px);
}

.wha-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 6px 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #b8c5bc;
  font: inherit;
  font-size: 16px;
  font-weight: 450;
  line-height: 1.5;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms;
}

.wha-action-buy {
  color: #f0f3e9;
  font-weight: 600;
}

.wha-action:hover { color: #d0f5a5; }
.wha-action:hover > span {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.wha-icon {
  display: block;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
}

@container reader (max-width: 1100px) {
  .wha-page {
    gap: 32px;
    padding: 28px 36px;
  }

  .wha-hero { padding-block: 12px; }
  .wha-page .wha-title { margin-top: 22px; }
  .wha-explore { min-height: 72px; margin-top: 32px; }
}

/* Let the headline follow the usable reader width before its longest word
   reaches the page padding. Short readers remain free to scroll vertically. */
@container reader (max-width: 900px) {
  .wha-page .wha-title {
    font-size: clamp(25px, 7.7cqw, 62px);
    overflow-wrap: anywhere;
  }
}

/* The two action groups wrap as groups instead of shrinking into each other. */
@container reader (max-width: 720px) {
  .wha-page { padding-inline: 24px; }
  .wha-rail { flex-wrap: wrap; gap: 8px 28px; }
  .wha-rail-group { flex-wrap: wrap; }
}

/* Phones get full-width, comfortably spaced actions and ordinary reader scroll. */
@container reader (max-width: 500px) {
  .wha-page { gap: 40px; padding: 28px 16px; }
  .wha-eyebrow { letter-spacing: .08em; }
  .wha-page .wha-title {
    margin-top: 24px;
    font-size: clamp(25px, 8cqw, 40px);
    line-height: 1.12;
  }
  .wha-title-outline { -webkit-text-stroke-width: 1px; }
  .wha-explore {
    width: 100%;
    min-height: 64px;
    gap: 20px;
    margin-top: 28px;
    padding: 16px 20px;
    font-size: 20px;
  }
  .wha-explore-arrow { width: 48px; height: 24px; }
  .wha-rail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding-top: 12px; }
  .wha-rail-group { display: grid; gap: 4px; }
  .wha-rail-group + .wha-rail-group {
    padding-top: 12px;
    border-top: 1px solid #35453d;
  }
  .wha-action { width: 100%; min-height: 52px; font-size: 17px; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .wha-explore, .wha-action { transition: none; }
}

@media (forced-colors: active) {
  .wha-title-outline {
    -webkit-text-fill-color: currentColor;
    -webkit-text-stroke: 0;
  }
}
