/* Promo Deploy002: full-viewport photograph and a fixed, transparent header. */
@media screen {
  :root { --header-height: 82px; }
  html { scroll-padding-top: calc(var(--header-height) + 18px); }

  .header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 25;
    color: #fff;
    background: transparent;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transition: background-color .28s ease, color .28s ease, border-color .28s ease, box-shadow .28s ease;
  }
  .header .nav { min-height: var(--header-height); }
  .header .brand, .header .nav-links a { color: inherit; }
  .header .brand-mark { color: #242424; }
  .header .nav-links a { transition: color .2s ease; }
  .header .nav-links a:hover { color: var(--yellow); }
  .header .nav-cta {
    color: #fff;
    background: #ffffff13;
    border-color: #ffffff65;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: background-color .28s ease, color .28s ease, border-color .28s ease;
  }
  .header .nav-cta:hover { color: #242424; background: var(--yellow); border-color: var(--yellow); }
  .header.is-scrolled { color: #242424; background: #fff; border-color: #e7e7df; box-shadow: 0 5px 25px #1723190c; }
  .header.is-scrolled .nav-links a:hover { color: #806700; }
  .header.is-scrolled .nav-cta { color: #242424; background: var(--yellow); border-color: var(--yellow); }
  .header.is-scrolled .nav-cta:hover { background: var(--yellow-hover); border-color: var(--yellow-hover); }

  .hero {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
  }
  .hero-inner {
    display: flex;
    align-items: center;
    width: min(1320px, calc(100% - 96px));
    min-height: inherit;
    padding: max(112px, 14svh) 0 max(170px, 23svh);
  }
  .hero-content { width: 100%; max-width: 665px; margin: 0; }
  .hero .eyebrow { justify-content: flex-start; font-size: 10px; }
  .hero h1 { font-size: clamp(44px, 4.1vw, 64px); max-width: 665px; margin: 20px 0 0; line-height: 1.045; }
  .hero h1 .line { display: block; max-width: none; margin: 0; }
  .hero h1 .line:nth-child(2) { max-width: none; margin: 0; }
  .hero-reward { font-size: 25px; max-width: 505px; margin: 23px 0 0; }
  .hero-copy { max-width: 455px; font-size: 14px; margin: 13px 0 0; }
  .hero-actions { justify-content: flex-start; flex-direction: row; margin-top: 25px; }
  .hero .hero-tags { justify-content: flex-start; max-width: none; margin: 23px 0 0; font-size: 10px; }

  .courier-photo { inset: 0; width: 100%; height: 100%; aspect-ratio: auto; overflow: hidden; }
  .courier-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; }
  .courier-photo:after {
    background:
      linear-gradient(180deg, #091412a6 0%, #09141200 22%, #09141200 68%, #091412e6 100%),
      linear-gradient(90deg, #101a18e8 0%, #111b18c4 24%, #111b1880 42%, #101a182e 67%, #101a180d 100%);
  }
  .payout-badge { top: auto; bottom: max(78px, 10svh); width: clamp(155px, 14vw, 194px); max-width: none; }
  .scene-caption { left: max(32px, calc((100% - 1320px) / 2)); right: max(32px, calc((100% - 1320px) / 2)); bottom: max(22px, env(safe-area-inset-bottom)); }
  .scene-city, .scene-pause { min-height: 36px; }
  .how { padding-top: clamp(48px, 5vw, 76px); }
  .app-notice { position: relative; z-index: 26; }
}

@media screen and (min-width: 901px) and (max-height: 800px) {
  .hero-inner { padding-top: 105px; padding-bottom: 155px; }
  .hero h1 { font-size: clamp(42px, 3.55vw, 54px); margin-top: 15px; }
  .hero-reward { font-size: 22px; margin-top: 18px; max-width: 480px; }
  .hero-copy { font-size: 13px; line-height: 1.6; margin-top: 10px; }
  .hero-actions { margin-top: 19px; }
  .hero .hero-tags { margin-top: 18px; }
  .payout-badge { bottom: 70px; }
}

@media screen and (min-width: 901px) and (max-width: 1100px) {
  .hero-inner { width: calc(100% - 64px); }
  .hero-content { max-width: 580px; }
  .hero h1 { font-size: 45px; }
  .hero .eyebrow { justify-content: flex-start; }
  .hero-actions .btn { min-width: 220px; }
  .payout-badge { width: 17.5%; padding: 11px 12px; }
  .payout-amount { font-size: 25px; }
}

@media screen and (max-width: 900px) {
  :root { --header-height: 70px; }
  .hero { text-align: center; }
  .hero-inner { width: min(690px, calc(100% - 48px)); align-items: flex-start; padding: 108px 0 245px; }
  .hero-content { max-width: 690px; margin-inline: auto; }
  .hero .eyebrow { justify-content: center; font-size: 9px; }
  .hero h1 { font-size: clamp(36px, 5.7vw, 49px); max-width: 680px; margin: 18px auto 0; line-height: 1.08; }
  .hero h1 .line { display: inline; }
  .hero-reward { font-size: 23px; max-width: 565px; margin: 20px auto 0; }
  .hero-copy { font-size: 13px; max-width: 475px; margin: 12px auto 0; }
  .hero-actions { justify-content: center; gap: 20px; margin-top: 23px; }
  .hero .hero-tags { justify-content: center; gap: 14px 22px; margin: 21px auto 0; font-size: 9px; }
  .courier-photo > img { object-position: 55% 55%; }
  .courier-photo:after { background: linear-gradient(180deg, #0d1914dc 0%, #0d1914c7 28%, #0d191493 49%, #0d191421 73%, #0d1914c9 100%); }
  .payout-badge { width: 20%; padding: 11px 10px; bottom: 84px; border-width: 3px; border-radius: 15px; }
  .payout-type { font-size: 9px; }
  .payout-amount { font-size: clamp(18px, 3.2vw, 25px); }
  .payout-status { font-size: 8px; }
  .payout-check { width: 12px; height: 12px; flex-basis: 12px; }
  .payout-check svg { width: 9px; height: 9px; }
  .scene-caption { left: 24px; right: 24px; bottom: max(18px, env(safe-area-inset-bottom)); font-size: 9px; }
  .scene-city, .scene-pause { font-size: 10px; min-height: 40px; }
}

@media screen and (max-width: 600px) {
  :root { --header-height: 66px; }
  .hero-inner { width: calc(100% - 40px); padding: 96px 0 215px; }
  .hero .eyebrow { font-size: 8px; letter-spacing: .06em; }
  .hero h1 { font-size: clamp(32px, 8.6vw, 45px); margin-top: 17px; }
  .hero-reward { font-size: 20px; max-width: 360px; margin-top: 18px; }
  .hero-copy { font-size: 12px; max-width: 340px; margin-top: 12px; line-height: 1.65; }
  .hero-actions { flex-direction: column; gap: 13px; margin-top: 22px; }
  .hero-actions .btn { min-height: 53px; min-width: 0; width: 100%; max-width: 310px; font-size: 15px; }
  .hero-secondary { font-size: 11px; }
  .hero .hero-tags { max-width: 360px; gap: 11px 14px; font-size: 8px; margin-top: 19px; }
  .hero .hero-tags .icon { width: 11px; height: 11px; }
  /* Alternate two positions so the outgoing and incoming cards stay readable. */
  .payout-badge { width: 148px; padding: 10px 12px; border-width: 3px; border-radius: 15px; background: #182320c7; }
  .payout-badge:nth-child(odd) { left: 25%; bottom: 134px; }
  .payout-badge:nth-child(even) { left: 75%; bottom: 92px; }
  .payout-type { font-size: 9px; margin-bottom: 5px; }
  .payout-amount { font-size: 23px; }
  .payout-status { font-size: 8px; gap: 5px; margin-top: 6px; }
  .payout-check { width: 12px; height: 12px; flex-basis: 12px; }
  .payout-check svg { width: 9px; height: 9px; }
  .payout-badge:after { width: 9px; height: 9px; bottom: -7px; }
  .scene-caption { left: 18px; right: 18px; bottom: max(15px, env(safe-area-inset-bottom)); gap: 10px; align-items: flex-end; }
  .scene-context { gap: 7px; max-width: calc(100% - 82px); }
  .scene-example { font-size: 8px; line-height: 1.4; }
  .scene-city { max-width: 210px; padding: 7px 10px; }
  .scene-pause { padding: 7px 10px; }
  /* Pausing reveals all four cards, so restore one compact row in that state. */
  .courier-scene:has(.scene-pause[aria-pressed="true"]) .payout-badge { left: var(--x); bottom: 98px; width: 20.5%; padding: 7px 5px; border-radius: 11px; }
  .courier-scene:has(.scene-pause[aria-pressed="true"]) .payout-type { font-size: clamp(6px, 1.6vw, 8px); }
  .courier-scene:has(.scene-pause[aria-pressed="true"]) .payout-amount { font-size: clamp(11px, 3.05vw, 16px); }
  .courier-scene:has(.scene-pause[aria-pressed="true"]) .payout-status { font-size: clamp(5.5px, 1.45vw, 7px); gap: 3px; }
  .courier-scene:has(.scene-pause[aria-pressed="true"]) .payout-check { width: 8px; height: 8px; flex-basis: 8px; }
  .courier-scene:has(.scene-pause[aria-pressed="true"]) .payout-check svg { width: 6px; height: 6px; }
}

@media screen and (max-width: 600px) and (max-height: 740px) {
  .hero-inner { padding-top: 87px; padding-bottom: 203px; }
  .hero h1 { font-size: clamp(29px, 8.15vw, 37px); margin-top: 13px; }
  .hero-reward { font-size: 18px; margin-top: 15px; line-height: 1.3; }
  .hero-copy { font-size: 11px; line-height: 1.5; margin-top: 10px; }
  .hero-actions { margin-top: 16px; gap: 10px; }
  .hero-actions .btn { min-height: 48px; padding-block: 13px; font-size: 14px; }
  .hero .hero-tags { margin-top: 14px; }
}

@media screen and (max-width: 360px) {
  .hero-inner { width: calc(100% - 32px); }
  .payout-badge { width: 132px; padding: 9px 10px; }
  .payout-amount { font-size: 20px; }
  .hero .hero-tags { gap: 9px; font-size: 7px; }
  .scene-caption { left: 14px; right: 14px; }
}

@media screen and (prefers-reduced-motion: reduce) {
  .header, .header .nav-cta, .header .nav-links a { transition: none; }
}
