/* Homepage app promotion. Phone artwork is decorative, built in HTML/CSS. */
.app-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  padding: 54px 54px 46px;
  border: 1px solid #e2e9dc;
  border-radius: 32px;
  background: radial-gradient(ellipse at 85% 25%, #dcecc9 0%, transparent 52%), linear-gradient(120deg, #f7f8f1 12%, #edf4e6 100%);
  overflow: hidden;
}
.app-banner-copy { position: relative; z-index: 2; min-width: 0; }
.app-banner-label { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 800; letter-spacing: 1.1px; color: #486441; line-height: 1.6; }
.app-banner-label > span { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border: 1px solid #d3e1c9; border-radius: 9px; background: #ffffff80; }
.app-banner-label .icon { width: 15px; height: 15px; }
.app-banner h2 { margin: 22px 0 19px; font-size: clamp(36px, 4.1vw, 54px); line-height: 1.12; letter-spacing: -2px; color: #173e32; font-weight: 800; }
.app-banner h2 > span { color: #65824d; }
.app-banner-copy > p { max-width: 430px; font-size: 15px; line-height: 1.8; color: #596c5a; margin: 0 0 23px; }
.app-banner-benefits { display: flex; flex-wrap: wrap; gap: 12px 20px; padding: 0; margin: 0 0 30px; list-style: none; }
.app-banner-benefits li { display: flex; align-items: center; gap: 7px; color: #3f5e46; font-size: 12px; font-weight: 650; }
.app-banner-benefits .icon { width: 17px; height: 17px; color: #6c8852; flex-shrink: 0; }
.app-banner .store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.app-banner .store-download { min-width: 174px; min-height: 62px; padding: 11px 19px; border: 1px solid #193b2b; border-radius: 13px; background: #173e32; color: white; gap: 12px; box-shadow: 0 4px 10px #173e3210; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.app-banner .store-download:hover { background: #24533e; transform: translateY(-3px); box-shadow: 0 9px 18px #173e3220; }
.app-banner .store-download:focus-visible { outline: 3px solid #698d4e; outline-offset: 4px; }
.app-banner .store-download .icon { width: 26px; height: 26px; flex-shrink: 0; }
.app-banner .store-download small { font-size: 10px; color: #d5e4d9; }
.app-banner .store-download b { font-size: 20px; letter-spacing: -.4px; }
.app-banner-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: 13px; }
.app-banner-bottom > span { color: #647360; font-size: 11px; }
.app-banner-bottom .text-button { min-height: 44px; font-size: 12px; color: #3b6249; gap: 8px; }
.app-banner-bottom .icon { width: 16px; height: 16px; }
.app-banner-visual { position: relative; min-width: 0; height: 425px; display: grid; place-items: center; }
.app-banner-halo { position: absolute; width: 360px; height: 360px; max-width: 110%; border-radius: 50%; background: linear-gradient(145deg, #c7dbad66, #b6d5978c); box-shadow: 0 0 0 24px #d8e6c64d, 0 0 0 51px #d8e6c626; }
.app-banner .app-phone { display: grid; grid-template-rows: 13px 40px 30px 88px minmax(0, 1fr) 28px; gap: 10px; overflow: hidden; z-index: 1; width: 226px; height: 402px; padding: 16px 14px 14px; border: 7px solid #20392c; border-radius: 36px; background: #fcfdf9; transform: rotate(8deg); box-shadow: 2px 2px 0 2px #9aab8f, 10px 22px 0 -6px #adc39540, 18px 30px 32px #304a242b; }
.app-banner .phone-island { width: 61px; height: 13px; margin: 0 auto; }
.app-banner .phone-logo { width: 137px; height: 40px; margin: 0 auto; mix-blend-mode: multiply; }
.app-banner .phone-search { background: white; padding: 6px 9px; font-size: 9px; border-radius: 9px; }
.app-banner .phone-hero { margin: 0; padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; border-radius: 11px; background: linear-gradient(120deg, #e8f1da, #d8e9c8); }
.app-banner .phone-hero b { font-size: 17px; line-height: 1.35; }
.app-banner .phone-hero small { display: block; font-size: 7px; line-height: 1.3; }
.app-banner .phone-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; min-height: 0; }
.app-banner .phone-products img { width: 100%; height: 100%; min-height: 0; padding: 7px; background: white; border: 1px solid #e9eee4; border-radius: 9px; }
.app-banner .phone-nav { padding-top: 9px; margin: 0; align-items: center; }
.app-banner .phone-nav .icon { width: 16px; height: 16px; }
.app-banner-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 11px; padding: 13px 15px; border: 1px solid #fff; background: #fffffff2; backdrop-filter: blur(12px); border-radius: 16px; box-shadow: 0 12px 30px #34502a18; white-space: nowrap; }
.app-float-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; background: #eaf1df; color: #527740; flex-shrink: 0; }
.app-float-icon .icon { width: 19px; height: 19px; }
.app-banner-float b { display: block; font-size: 11px; font-weight: 800; color: #254b35; line-height: 1.5; }
.app-banner-float small { display: block; margin-top: 3px; font-size: 9px; color: #6f7d69; line-height: 1.4; }
.app-banner-float-search { top: 81px; left: -19px; transform: rotate(-5deg); }
.app-banner-float-bag { bottom: 58px; right: -16px; transform: rotate(4deg); }
.app-banner-float-bag .app-float-icon { background: #f8edd8; color: #9c7845; }
.app-banner-spark { position: absolute; font-size: 29px; font-weight: 300; color: #799563; line-height: 1; }
.app-banner .spark-one { top: 14px; left: 47px; transform: rotate(14deg); }
.app-banner .spark-two { right: 14px; top: 72px; font-size: 37px; transform: rotate(-14deg); }
.app-banner-platforms { position: absolute; bottom: -16px; display: flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .7px; color: #6a805b; }
.app-banner-platforms i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }

@media (min-width: 768px) and (max-width: 1050px) {
  .app-banner { padding: 36px 32px; gap: 12px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .app-banner h2 { font-size: 40px; letter-spacing: -1.5px; }
  .app-banner-copy > p { font-size: 14px; }
  .app-banner-label { font-size: 9px; letter-spacing: .7px; }
  .app-banner-benefits { gap: 11px 14px; margin-bottom: 24px; }
  .app-banner-benefits li { font-size: 11px; }
  .app-banner .store-buttons { gap: 10px; }
  .app-banner .store-download { min-width: 148px; padding: 11px 13px; gap: 9px; }
  .app-banner .store-download b { font-size: 18px; }
  .app-banner-visual { height: 400px; }
  .app-banner .app-phone { grid-template-rows: 11px 34px 27px 80px minmax(0, 1fr) 24px; gap: 9px; width: 203px; height: 371px; padding-left: 12px; padding-right: 12px; }
  .app-banner .phone-logo { width: 125px; height: 34px; }
  .app-banner .phone-hero b { font-size: 15px; }
  .app-banner-float { padding: 11px; gap: 8px; }
  .app-banner-float-search { left: 0; top: 55px; }
  .app-banner-float-bag { right: -12px; bottom: 48px; }
  .app-banner-float b { font-size: 10px; }
  .app-banner-float small { font-size: 8px; }
  .app-float-icon { width: 30px; height: 30px; }
  .app-banner .spark-one { left: 10px; }
}

@media (max-width: 767px) {
  .app-banner { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin-top: 32px; padding: 28px 24px 0; border-radius: 24px; background: radial-gradient(ellipse at 80% 100%, #d4e7bf 0%, transparent 65%), #f3f7ec; }
  .app-banner-label { font-size: 9px; letter-spacing: .7px; gap: 8px; }
  .app-banner-label > span { width: 27px; height: 27px; border-radius: 8px; }
  .app-banner h2 { font-size: clamp(33px, 8.8vw, 46px); letter-spacing: -1.3px; line-height: 1.13; margin: 20px 0 16px; }
  .app-banner-copy > p { font-size: 14px; line-height: 1.75; margin-bottom: 19px; max-width: 470px; }
  .app-banner-benefits { gap: 10px 14px; margin-bottom: 23px; }
  .app-banner-benefits li { font-size: 11px; gap: 5px; }
  .app-banner-benefits .icon { width: 15px; height: 15px; }
  .app-banner .store-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .app-banner .store-download { width: 100%; min-width: 0; min-height: 58px; padding: 11px 9px; justify-content: center; gap: 8px; border-radius: 12px; }
  .app-banner .store-download .icon { width: 23px; height: 23px; }
  .app-banner .store-download b { font-size: 17px; letter-spacing: -.5px; }
  .app-banner .store-download small { font-size: 9px; }
  .app-banner-bottom { justify-content: space-between; margin-top: 8px; gap: 0 10px; }
  .app-banner-bottom > span { font-size: 10px; }
  .app-banner-bottom .text-button { font-size: 11px; gap: 5px; }
  .app-banner-visual { align-self: center; width: calc(100% + 16px); max-width: 400px; height: 260px; margin-top: 15px; align-items: start; padding-top: 13px; }
  .app-banner-visual::after { content: ''; position: absolute; z-index: 3; left: -24px; right: -24px; bottom: -1px; height: 42px; background: linear-gradient(0deg, #e1edce, transparent); pointer-events: none; }
  .app-banner-halo { width: 265px; height: 265px; top: 22px; box-shadow: 0 0 0 17px #d8e6c64d, 0 0 0 35px #d8e6c626; }
  .app-banner .app-phone { grid-template-rows: 11px 32px 27px 80px minmax(0, 1fr) 24px; gap: 9px; width: 190px; height: 354px; padding: 14px 11px 11px; border-width: 6px; border-radius: 30px; transform: rotate(8deg); }
  .app-banner .phone-island { width: 52px; height: 11px; margin: 0 auto; }
  .app-banner .phone-logo { width: 121px; height: 32px; margin: 0 auto; }
  .app-banner .phone-search { padding: 7px; font-size: 8px; }
  .app-banner .phone-hero { padding: 12px; margin: 0; }
  .app-banner .phone-hero b { font-size: 15px; }
  .app-banner-float { padding: 11px 12px; gap: 8px; border-radius: 12px; }
  .app-float-icon { width: 30px; height: 30px; border-radius: 9px; }
  .app-float-icon .icon { width: 17px; height: 17px; }
  .app-banner-float b { font-size: 10px; }
  .app-banner-float small { font-size: 8px; margin-top: 2px; }
  .app-banner-float-search { top: 124px; left: -5px; transform: rotate(-6deg); }
  .app-banner-float-bag { bottom: auto; top: 33px; right: -2px; transform: rotate(4deg); }
  .app-banner .spark-one { top: 28px; left: 20px; font-size: 28px; }
  .app-banner .spark-two { top: 191px; right: 14px; font-size: 32px; }
  .app-banner-platforms { display: none; }
}

@media (max-width: 359px) {
  .app-banner { padding: 24px 20px 0; }
  .app-banner-label { font-size: 8px; letter-spacing: .4px; }
  .app-banner h2 { font-size: 32px; }
  .app-banner .store-buttons { grid-template-columns: minmax(0, 1fr); }
  .app-banner .store-download { min-height: 57px; }
  .app-banner .store-download b { font-size: 19px; }
  .app-banner-benefits { gap: 10px 12px; }
  .app-banner-visual { height: 240px; }
  .app-banner-float { padding: 10px; }
  .app-banner-float-search { left: -4px; top: 118px; }
  .app-banner-float-bag { right: -3px; top: 29px; }
  .app-banner-float small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .app-banner .store-download { transition: none; }
  .app-banner .store-download:hover { transform: none; }
}

/* App download dialog: styles are scoped so other dialogs stay unchanged. */
dialog.app-install-modal {
  width: calc(100% - 40px); max-width: 900px; max-height: calc(100dvh - 40px);
  padding: 0; border: 1px solid #ffffffb3; border-radius: 30px;
  background: #fcfdf9; color: #173e32; overflow: auto;
  box-shadow: 0 32px 100px #102b3540, 0 4px 20px #102b351a;
}
dialog.app-install-modal::backdrop { background: #173e326b; backdrop-filter: blur(7px); }
.app-install-modal .modal-head { position: absolute; z-index: 5; top: 16px; right: 16px; padding: 0; border: 0; }
.app-install-modal .modal-head h2 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.app-install-modal .modal-head .icon-button { width: 44px; height: 44px; min-width: 44px; border: 1px solid #dfe7db; border-radius: 50%; background: #ffffffd9; color: #3b584a; box-shadow: none; }
.app-install-modal .modal-head .icon-button:hover { background: #eaf2e4; }
.app-install-modal :is(a,button):focus-visible { outline: 3px solid #498161; outline-offset: 4px; }
.app-install-modal .modal-body { padding: 0; }
.app-install-modal .app-popup { display: grid; grid-template-columns: 39% 61%; min-height: 510px; }
.app-install-modal .app-popup-art { display: grid; place-items: center; position: relative; isolation: isolate; overflow: hidden; padding: 36px 20px 48px; background: radial-gradient(ellipse at 15% 10%, #f2f7dd, transparent 65%), linear-gradient(155deg, #e4edd6, #c9e1cd); }
.app-popup-rings { position: absolute; z-index: -1; width: 310px; height: 310px; border: 1px solid #ffffffb3; border-radius: 50%; box-shadow: 0 0 0 32px #ffffff26, 0 0 0 66px #ffffff1a; }
.app-install-modal .app-phone { display: grid; grid-template-rows: 11px 36px 28px 80px minmax(0,1fr) 25px; gap: 10px; width: 202px; height: 365px; padding: 12px; border: 6px solid #254c3b; border-radius: 33px; transform: rotate(-8deg); background: #fcfdf9; overflow: hidden; box-shadow: 2px 2px 0 1px #789a7b, 12px 28px 36px #214d3933; }
.app-install-modal .phone-island { width: 52px; height: 11px; margin: 0 auto; background: #254c3b; }
.app-install-modal .phone-logo { width: 130px; height: 36px; margin: 0 auto; mix-blend-mode: multiply; }
.app-install-modal .phone-search { height: 28px; padding: 6px; font-size: 8px; background: white; }
.app-install-modal .phone-hero { display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 10px; border-radius: 10px; background: linear-gradient(120deg,#eef4e0,#dfedcd); }
.app-install-modal .phone-hero b { font-size: 15px; }
.app-install-modal .phone-products { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); min-height: 0; gap: 7px; }
.app-install-modal .phone-products img { width: 100%; height: 100%; min-height: 0; padding: 6px; border: 1px solid #e8eee3; border-radius: 9px; background: white; object-fit: contain; }
.app-install-modal .phone-nav { margin: 0; padding-top: 8px; align-items: center; }
.app-install-modal .phone-nav .icon { width: 14px; height: 14px; }
.app-install-modal .app-orbit { width: 49px; height: 49px; border: 1px solid #ffffff; border-radius: 16px; background: #fffffff2; color: #477a51; box-shadow: 0 9px 26px #31543a12; }
.app-install-modal .orbit-one { top: 65px; right: 25px; transform: rotate(9deg); }
.app-popup-note { position: absolute; bottom: 76px; left: 22px; display: flex; align-items: center; gap: 10px; padding: 13px 15px; border: 1px solid white; border-radius: 16px; background: #fffffff2; box-shadow: 0 12px 24px #31543a16; transform: rotate(-3deg); }
.app-popup-note>span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #eef3df; color: #5a7543; }
.app-popup-note .icon { width: 18px; height: 18px; }
.app-popup-note b { display: block; font-size: 11px; line-height: 1.5; color: #294f3b; }
.app-popup-note small { display: block; font-size: 9px; color: #70806c; margin-top: 2px; }
.app-popup-platforms { position: absolute; bottom: 24px; font-size: 9px; font-weight: 650; letter-spacing: 1px; color: #506b50; }
.app-install-modal .app-popup-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 46px 42px 32px; }
.app-popup-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; color: #315d45; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.app-popup-brand>span:first-child { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #e1e9d9; border-radius: 13px; background: #eff4e5; }
.app-popup-brand .icon { width: 19px; height: 19px; }
.app-popup-brand small { display: block; margin-top: 4px; color: #74806f; font-size: 11px; font-weight: 400; letter-spacing: 0; }
.app-install-modal .app-popup-copy h3 { margin: 0 0 17px; font-size: clamp(30px,3.7vw,42px); font-weight: 750; line-height: 1.12; letter-spacing: -1.6px; color: #173e32; }
.app-install-modal .app-popup-copy h3>span { color: #6b8451; }
.app-install-modal .app-popup-copy>p { margin: 0 0 20px; font-size: 14px; line-height: 1.75; color: #657367; }
.app-install-modal .app-perks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 27px; font-size: 11px; color: #466049; }
.app-install-modal .app-perks>span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid #e5ebdf; border-radius: 8px; background: #f5f7f0; }
.app-install-modal .app-perks .icon { width: 14px; height: 14px; flex-shrink: 0; }
.app-popup-download { width: 100%; }
.app-popup-download-label { display: block; font-size: 11px; color: #6e7c6b; margin-bottom: 10px; }
.app-install-modal .store-buttons { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; width: 100%; }
.app-install-modal .store-download { width: 100%; min-width: 0; min-height: 60px; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #244735; border-radius: 12px; background: #173e32; color: white; box-shadow: 0 3px 5px #173e320a; transition: background .18s ease, transform .18s ease; }
.app-install-modal .store-download:hover { background: #285641; transform: translateY(-2px); }
.app-install-modal .store-download .icon { width: 25px; height: 25px; flex-shrink: 0; }
.app-install-modal .store-download small { font-size: 9px; line-height: 1.4; color: #d7e5d7; }
.app-install-modal .store-download b { font-size: 19px; line-height: 1.2; white-space: nowrap; letter-spacing: -.5px; }
.app-install-modal .app-popup-copy>.text-button { display: flex; align-self: center; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: 13px 0 0; font-size: 12px; color: #557059; }
.app-install-modal .app-popup-copy>.text-button .icon { width: 17px; height: 17px; }
@media (max-width: 767px) {
  dialog.app-install-modal { width: calc(100% - 24px); max-width: 440px; max-height: calc(100dvh - 24px); border-radius: 25px; }
  .app-install-modal .modal-head { top: 12px; right: 12px; }
  .app-install-modal .app-popup { display: block; min-height: 0; background: radial-gradient(ellipse at 0 0,#edf3df,transparent 65%),#fcfdf9; }
  .app-install-modal .app-popup-art { display: none; }
  .app-install-modal .app-popup-copy { padding: 29px 25px 18px; align-items: stretch; }
  .app-popup-brand { margin: 0 40px 25px 0; font-size: 9px; letter-spacing: .6px; }
  .app-popup-brand>span:first-child { width: 36px; height: 36px; flex-shrink: 0; }
  .app-popup-brand small { font-size: 10px; }
  .app-install-modal .app-popup-copy h3 { font-size: clamp(30px,8vw,38px); letter-spacing: -1.2px; margin-bottom: 15px; }
  .app-install-modal .app-popup-copy>p { font-size: 13px; margin-bottom: 18px; }
  .app-popup-break { display: none; }
  .app-install-modal .app-perks { margin-bottom: 23px; gap: 6px; }
  .app-install-modal .app-perks>span { padding: 6px 8px; font-size: 10px; }
  .app-install-modal .store-buttons { gap: 8px; }
  .app-install-modal .store-download { min-height: 58px; gap: 7px; padding: 10px 8px; }
  .app-install-modal .store-download b { font-size: 17px; }
  .app-install-modal .store-download .icon { width: 22px; height: 22px; }
  .app-install-modal .app-popup-copy>.text-button { margin-top: 12px; }
}
@media (max-width: 359px) {
  .app-install-modal .app-popup-copy { padding-left: 20px; padding-right: 20px; }
  .app-install-modal .store-buttons { grid-template-columns: minmax(0,1fr); }
  .app-install-modal .store-download { min-height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .app-install-modal .store-download { transition: none; }
  .app-install-modal .store-download:hover { transform: none; }
}
