/* Homepage copy revision: keeps the revised introduction readable in the hero area. */
html {
  overflow-x: clip;
}

.hero-copy .hero-intro-title {
  max-width: 18ch;
  font-size: clamp(30px, 2.6vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-copy .hero-intro-title--typing .hero-title-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.28em);
  filter: blur(4px);
  animation: omnix-title-character-in 420ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(80ms + var(--char-index) * 45ms);
  will-change: transform, opacity, filter;
}

.hero-copy .hero-intro-title--typing .hero-title-space {
  display: inline-block;
  width: 0.28em;
}

@keyframes omnix-title-character-in {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy .hero-intro-title--typing .hero-title-char {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }
}

.hero-copy .eyebrow.light {
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: #93c7ff;
  font-size: 11px;
  letter-spacing: 0.22em;
}

.hero-copy .eyebrow.light::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f3bd4a;
  box-shadow: 0 0 0 5px rgba(243, 189, 74, 0.12), 0 0 20px rgba(243, 189, 74, 0.72);
  content: "";
}

.hero-copy .hero-intro-copy {
  max-width: 570px;
  margin: 24px 0 0;
  padding-left: 18px;
  border-left: 2px solid rgba(124, 185, 255, 0.68);
  color: rgba(233, 243, 255, 0.82);
  font-size: clamp(14px, 1.02vw, 16px);
  line-height: 1.82;
  text-wrap: pretty;
}

.hero-copy .hero-intro-copy p {
  margin: 0;
}

.hero-copy .hero-intro-copy p + p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.hero-copy .hero-actions {
  margin-top: 28px;
}

.hero-copy .hero-download-primary {
  min-height: 52px;
  padding-inline: 26px;
  border: 1px solid rgba(146, 203, 255, 0.4);
  border-radius: 10px;
  background: linear-gradient(135deg, #137ff2, #065ed4);
  box-shadow: 0 14px 32px rgba(3, 81, 187, 0.42), inset 0 1px rgba(255, 255, 255, 0.23);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hero-copy .hero-download-primary:hover {
  background: linear-gradient(135deg, #2696ff, #0b6ce2);
  box-shadow: 0 18px 38px rgba(3, 90, 211, 0.55), inset 0 1px rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.hero-value-panel {
  display: none;
}

body.download-qr-open {
  overflow: hidden;
}

.download-qr-modal[hidden] {
  display: none;
}

.download-qr-modal {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(1, 13, 31, 0.74);
  backdrop-filter: blur(8px);
}

.download-qr-dialog {
  position: relative;
  width: min(100%, 704px);
  overflow: hidden;
  border: 1px solid rgba(111, 185, 255, 0.48);
  border-radius: 8px;
  background: #071d40;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  color: #fff;
}

.download-qr-close {
  position: absolute;
  z-index: 1;
  top: 20px;
  right: 22px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(173, 212, 255, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.download-qr-close:hover {
  background: rgba(38, 150, 255, 0.3);
}

.download-qr-kicker {
  margin: 0 0 10px;
  color: #91c6ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.download-qr-header {
  padding: 34px 42px 28px;
  border-bottom: 1px solid rgba(132, 191, 255, 0.22);
  background: #09254d;
}

.download-qr-dialog h2 {
  margin: 0;
  color: #fff;
  font-size: 26px;
  line-height: 1.28;
}

.download-qr-copy {
  margin: 10px 0 0;
  color: rgba(230, 243, 255, 0.78);
  font-size: 14px;
}

.download-qr-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(132, 191, 255, 0.22);
}

.download-qr-option {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin: 0;
  padding: 24px 34px 22px;
  background: #071d40;
  transition: background 180ms ease;
}

.download-qr-option:hover {
  background: #0a2956;
}

.download-qr-option[data-platform="android"] {
  box-shadow: inset 0 3px #218dff;
}

.download-qr-option[data-platform="ios"] {
  box-shadow: inset 0 3px #d0e2f3;
}

.download-qr-option figcaption {
  display: block;
  width: 100%;
  min-height: 42px;
}

.download-qr-platform-mark {
  float: left;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-right: 11px;
  border-radius: 8px;
  background: #1a7ee2;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
}

.download-qr-option[data-platform="ios"] .download-qr-platform-mark {
  background: #e4edf5;
  color: #173c68;
  font-family: Georgia, serif;
  font-size: 25px;
  font-style: italic;
}

.download-qr-platform-text {
  display: grid;
  gap: 3px;
  min-height: 40px;
  align-content: center;
  text-align: left;
}

.download-qr-platform-text strong {
  color: #fff;
  font-size: 17px;
}

.download-qr-platform-text span {
  color: rgba(219, 238, 255, 0.76);
  font-size: 13px;
}

.download-qr-image-wrap {
  display: block;
  width: min(100%, 188px);
  padding: 10px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.download-qr-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

.download-qr-hint {
  width: 100%;
  margin: 0;
  padding-top: 13px;
  border-top: 1px solid rgba(163, 207, 255, 0.2);
  color: rgba(213, 235, 255, 0.66);
  font-size: 12px;
  text-align: center;
}

.download-qr-modal[data-platform="android"] .download-qr-option[data-platform="ios"],
.download-qr-modal[data-platform="ios"] .download-qr-option[data-platform="android"] {
  display: none;
}

.download-qr-modal[data-platform="android"] .download-qr-options,
.download-qr-modal[data-platform="ios"] .download-qr-options {
  grid-template-columns: minmax(0, 1fr);
}

.download-qr-modal[data-platform="android"] .download-qr-option,
.download-qr-modal[data-platform="ios"] .download-qr-option {
  grid-template-columns: minmax(0, 1fr) minmax(160px, 188px);
  grid-template-rows: auto auto;
  justify-items: stretch;
  align-items: center;
  column-gap: 42px;
  padding: 28px 42px;
}

.download-qr-modal[data-platform="android"] .download-qr-option figcaption,
.download-qr-modal[data-platform="ios"] .download-qr-option figcaption {
  grid-column: 1;
  grid-row: 1;
}

.download-qr-modal[data-platform="android"] .download-qr-image-wrap,
.download-qr-modal[data-platform="ios"] .download-qr-image-wrap {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 188px;
  justify-self: end;
}

.download-qr-modal[data-platform="android"] .download-qr-hint,
.download-qr-modal[data-platform="ios"] .download-qr-hint {
  grid-column: 1;
  grid-row: 2;
  text-align: left;
}

@media (max-width: 720px) {
  .home-hero {
    min-height: max(780px, calc(100svh - 62px));
    background-position: 62% center;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .hero-content {
    min-height: 0;
    padding-block: 88px 42px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-copy .eyebrow.light {
    margin-bottom: 16px;
  }

  .hero-copy .hero-intro-title {
    max-width: none;
    margin-inline: 0;
    font-size: clamp(28px, 7.8vw, 31px);
    line-height: 1.2;
    letter-spacing: -0.04em;
  }

  .hero-copy .hero-intro-title__line {
    display: block;
    white-space: nowrap;
  }

  .hero-copy .hero-intro-copy {
    padding-left: 14px;
    font-size: 14px;
    line-height: 1.7;
  }

  .home-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 22px;
  }

  .hero-copy .hero-download-primary {
    display: inline-flex !important;
    min-height: 56px;
    order: 0;
  }

  .hero-copy .button-ghost {
    min-height: 48px;
    order: 1;
  }

  .hero-intro-disclosure {
    margin-top: 22px;
    border: 1px solid rgba(142, 199, 255, 0.32);
    border-radius: 12px;
    background: rgba(7, 35, 77, 0.48);
  }

  .hero-intro-disclosure summary {
    min-height: 52px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
  }

  .hero-intro-disclosure summary::-webkit-details-marker {
    display: none;
  }

  .hero-intro-disclosure summary::after {
    color: #f3bd4a;
    font-size: 20px;
    font-weight: 400;
    content: "+";
  }

  .hero-intro-disclosure[open] summary::after {
    content: "−";
  }

  .hero-intro-disclosure .hero-intro-copy {
    margin: 0 16px 16px;
  }

  .hero-intro-disclosure:not([open]) .hero-intro-copy {
    display: none;
  }

  .download-qr-modal {
    padding: 16px;
  }

  .download-qr-dialog {
    width: min(100%, 440px);
  }

  .download-qr-header {
    padding: 28px 20px 22px;
  }

  .download-qr-close {
    top: 14px;
    right: 14px;
  }

  .download-qr-dialog h2 {
    font-size: 22px;
  }

  .download-qr-options {
    gap: 10px;
    padding: 10px;
  }

  .download-qr-option {
    padding: 10px;
  }

  .download-qr-modal[data-platform="android"] .download-qr-option,
  .download-qr-modal[data-platform="ios"] .download-qr-option {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 14px;
    padding: 18px;
  }

  .download-qr-modal[data-platform="android"] .download-qr-option figcaption,
  .download-qr-modal[data-platform="ios"] .download-qr-option figcaption,
  .download-qr-modal[data-platform="android"] .download-qr-image-wrap,
  .download-qr-modal[data-platform="ios"] .download-qr-image-wrap,
  .download-qr-modal[data-platform="android"] .download-qr-hint,
  .download-qr-modal[data-platform="ios"] .download-qr-hint {
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
    text-align: center;
  }
}

/* Selected Product Design direction: branded desktop QR download panel. */
.download-qr-modal {
  padding: 28px;
  background: rgba(1, 12, 29, 0.8);
  backdrop-filter: blur(10px);
}

.download-qr-dialog {
  display: grid;
  grid-template-columns: minmax(328px, 0.95fr) minmax(0, 1.35fr);
  width: min(100%, 980px);
  min-height: 558px;
  border-color: rgba(116, 183, 255, 0.44);
  background: #061a38;
  box-shadow: 0 30px 88px rgba(0, 0, 0, 0.52);
}

.download-qr-close {
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-color: rgba(189, 221, 255, 0.4);
  border-radius: 50%;
  background: rgba(4, 25, 55, 0.56);
  font-size: 26px;
}

.download-qr-brand {
  display: flex;
  min-width: 0;
  min-height: 558px;
  flex-direction: column;
  justify-content: center;
  padding: 42px 32px;
  border-right: 1px solid rgba(122, 186, 255, 0.22);
  background: #071c3c;
}

.download-qr-logo {
  display: block;
  width: min(100%, 286px);
  height: auto;
  margin: 0 0 54px;
  object-fit: contain;
}

.download-qr-brand-copy {
  max-width: 330px;
}

.download-qr-kicker {
  margin: 0 0 12px;
  color: #8ec5ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.download-qr-dialog h2 {
  font-size: 31px;
  line-height: 1.2;
}

.download-qr-brand-rule {
  display: block;
  width: 48px;
  margin: 22px 0 18px;
  border-top: 2px solid #f0b631;
}

.download-qr-copy {
  margin: 0;
  color: rgba(226, 240, 255, 0.76);
  font-size: 14px;
  line-height: 1.7;
}

.download-qr-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.download-qr-options {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 40px 34px 24px;
  border: 1px solid rgba(126, 190, 255, 0.26);
  background: #061a38;
}

.download-qr-option {
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  gap: 18px;
  min-width: 0;
  padding: 25px 24px 20px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.download-qr-option + .download-qr-option {
  border-left: 1px solid rgba(126, 190, 255, 0.22);
}

.download-qr-option:hover {
  background: rgba(20, 76, 142, 0.2);
}

.download-qr-option[data-platform="android"],
.download-qr-option[data-platform="ios"] {
  box-shadow: inset 0 3px transparent;
}

.download-qr-option[data-platform="android"] {
  border-top: 3px solid #1b88ef;
}

.download-qr-option[data-platform="ios"] {
  border-top: 3px solid #dce9f4;
}

.download-qr-option figcaption {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  gap: 11px;
}

.download-qr-platform-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(157, 207, 255, 0.32);
  border-radius: 8px;
  background: rgba(27, 136, 239, 0.2);
  color: #9dd2ff;
}

.download-qr-option[data-platform="ios"] .download-qr-platform-icon {
  background: rgba(223, 236, 247, 0.16);
  color: #eef7ff;
}

.download-qr-platform-icon svg {
  display: block;
  width: 23px;
  height: 23px;
}

.download-qr-platform-text {
  min-height: 0;
  text-align: left;
}

.download-qr-platform-text strong {
  font-size: 18px;
}

.download-qr-platform-text span {
  font-size: 12px;
}

.download-qr-image-wrap {
  align-self: center;
  width: min(100%, 190px);
  padding: 10px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.download-qr-hint {
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  color: rgba(209, 233, 255, 0.66);
  font-size: 12px;
  text-align: center;
}

.download-qr-trust {
  padding: 18px 34px 20px;
  border-top: 1px solid rgba(126, 190, 255, 0.22);
  color: rgba(211, 235, 255, 0.7);
  font-size: 13px;
  text-align: center;
}

.download-qr-modal[data-platform="android"] .download-qr-options,
.download-qr-modal[data-platform="ios"] .download-qr-options {
  grid-template-columns: minmax(0, 1fr);
}

.download-qr-modal[data-platform="android"] .download-qr-option,
.download-qr-modal[data-platform="ios"] .download-qr-option {
  grid-template-columns: minmax(0, 1fr) 190px;
  grid-template-rows: auto auto;
  justify-items: stretch;
  column-gap: 34px;
  padding: 30px 34px;
}

.download-qr-modal[data-platform="android"] .download-qr-option figcaption,
.download-qr-modal[data-platform="ios"] .download-qr-option figcaption {
  grid-column: 1;
  grid-row: 1;
}

.download-qr-modal[data-platform="android"] .download-qr-image-wrap,
.download-qr-modal[data-platform="ios"] .download-qr-image-wrap {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 190px;
  justify-self: end;
}

.download-qr-modal[data-platform="android"] .download-qr-hint,
.download-qr-modal[data-platform="ios"] .download-qr-hint {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  text-align: left;
}

@media (max-width: 720px) {
  .download-qr-modal {
    padding: 16px;
  }

  .download-qr-dialog {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 440px);
    min-height: 0;
  }

  .download-qr-brand {
    min-height: 0;
    padding: 28px 22px 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(122, 186, 255, 0.22);
  }

  .download-qr-logo {
    width: 218px;
    margin-bottom: 25px;
  }

  .download-qr-dialog h2 {
    font-size: 24px;
  }

  .download-qr-options {
    margin: 18px;
  }

  .download-qr-option {
    padding: 18px 14px;
  }

  .download-qr-image-wrap {
    width: min(100%, 142px);
  }

  .download-qr-modal[data-platform="android"] .download-qr-option,
  .download-qr-modal[data-platform="ios"] .download-qr-option {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    justify-items: center;
    gap: 14px;
    padding: 22px;
  }

  .download-qr-modal[data-platform="android"] .download-qr-option figcaption,
  .download-qr-modal[data-platform="ios"] .download-qr-option figcaption,
  .download-qr-modal[data-platform="android"] .download-qr-image-wrap,
  .download-qr-modal[data-platform="ios"] .download-qr-image-wrap,
  .download-qr-modal[data-platform="android"] .download-qr-hint,
  .download-qr-modal[data-platform="ios"] .download-qr-hint {
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
    text-align: center;
  }
}
