/* Get the app modal + footer signup */

.get-app__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.get-app[hidden] {
  display: none !important;
}

.get-app {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.get-app__scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 33, 64, 0.72);
}

.get-app__panel {
  position: relative;
  width: min(470px, calc(100vw - 32px));
  max-height: min(92vh, 720px);
  overflow: auto;
  background: #f7f3ed;
  border: 1px solid rgba(216, 178, 108, 0.5);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
  color: #0f2a4d;
  padding: 22px 26px 22px;
}

.get-app__handle {
  display: none;
}

.get-app__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.get-app__toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.get-app__toolbar .get-app__eyebrow {
  flex: 1;
  text-align: center;
  margin: 0;
}

.get-app__eyebrow {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #b08b45;
}

.get-app__title {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.2px;
  margin: 9px 0 0;
  font-family: Jost, system-ui, sans-serif;
}

.get-app__lead {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(15, 42, 77, 0.7);
  font-weight: 300;
  margin: 8px 0 0;
}

.get-app__icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(15, 42, 77, 0.14);
  background: transparent;
  color: rgba(15, 42, 77, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
}

.get-app__tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.get-app__tile {
  position: relative;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 18px 14px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  cursor: pointer;
  color: #fff;
  font-family: Jost, system-ui, sans-serif;
}

.get-app__tile-kicker {
  display: block;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.get-app__tile-name {
  display: block;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.get-app__tile-status {
  display: block;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 300;
  margin-top: 3px;
}

.get-app__or {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 0 0;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(15, 42, 77, 0.45);
}

.get-app__or i {
  flex: 1;
  height: 1px;
  background: rgba(15, 42, 77, 0.12);
}

.get-app__apk {
  margin-top: 14px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #0f2a4d;
  border: 0;
  border-radius: 12px;
  padding: 16px 18px;
  color: #f7f3ed;
  cursor: pointer;
  text-align: left;
  font-family: Jost, system-ui, sans-serif;
}

.get-app__apk.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.get-app__apk-title {
  display: block;
  font-size: 16px;
  font-weight: 500;
}

.get-app__apk-meta {
  display: block;
  font-size: 12px;
  color: rgba(247, 243, 237, 0.6);
  font-weight: 300;
  margin-top: 3px;
}

.get-app__fine {
  margin: 16px 0 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(15, 42, 77, 0.55);
  font-weight: 300;
}

.get-app__fine a {
  color: #b08b45;
}

.get-app__field {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #d8b26c;
  box-shadow: 0 0 0 3px rgba(216, 178, 108, 0.16);
  border-radius: 10px;
  height: 54px;
  padding: 0 15px;
  margin-top: 18px;
}

.get-app__field input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 16px;
  color: #0f2a4d;
  outline: none;
}

.get-app__check {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(15, 42, 77, 0.75);
  font-weight: 300;
}

.get-app__check input {
  margin-top: 3px;
}

.get-app__actions {
  display: flex;
  gap: 9px;
  margin-top: 20px;
}

.get-app__btn {
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  display: block;
}

.get-app__btn--ghost {
  flex: 1;
  border: 1px solid rgba(15, 42, 77, 0.18);
  background: transparent;
  color: #0f2a4d;
}

.get-app__btn--primary {
  flex: 1.5;
  background: #0f2a4d;
  color: #f7f3ed;
  font-weight: 500;
}

.get-app__btn--primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.get-app__btn--primary.is-loading:disabled {
  opacity: 1;
  cursor: wait;
}

/* Shared submit busy spinner (footer + modal + classic forms) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.aag-spinner {
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -0.15em;
  animation: aag-spin 0.65s linear infinite;
}

@keyframes aag-spin {
  to {
    transform: rotate(360deg);
  }
}

.site-footer__signup-btn.is-loading,
.get-app__btn.is-loading,
.btn.is-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  cursor: wait;
  pointer-events: none;
}

.site-footer__signup-btn.is-loading:disabled {
  background: #d8b26c;
  color: #0f2a4d;
  cursor: wait;
}

.site-footer__signup-form.is-busy .site-footer__signup-field,
.get-app__form.is-busy .get-app__field {
  opacity: 0.72;
}

.site-footer__signup-form.is-busy input[name="email"],
.get-app__form.is-busy input[name="email"],
.get-app__form.is-busy input[type="checkbox"],
form[data-aag-busy-form].is-busy input:not([type="hidden"]),
form[data-aag-busy-form].is-busy select,
form[data-aag-busy-form].is-busy textarea {
  cursor: wait;
}

.get-app__error {
  color: #e08a6e;
  font-size: 13px;
  margin-top: 10px;
}

.get-app__confirm {
  text-align: center;
  padding: 12px 8px 4px;
}

.get-app__mail-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(216, 178, 108, 0.16);
  border: 1px solid rgba(216, 178, 108, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.get-app__aside {
  background: #fff;
  border: 1px solid rgba(15, 42, 77, 0.12);
  border-radius: 11px;
  padding: 15px 18px;
  text-align: left;
  display: flex;
  gap: 12px;
  margin: 22px 0;
}

.get-app__aside-title {
  font-size: 14.5px;
}

.get-app__aside-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(15, 42, 77, 0.65);
  font-weight: 300;
  margin-top: 3px;
}

.get-app__aside-text a {
  color: #b08b45;
  cursor: pointer;
}

.get-app__steps {
  list-style: none;
  padding: 18px 0 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.get-app__steps li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(15, 42, 77, 0.78);
  font-weight: 300;
}

.get-app__steps span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 17px;
  color: #b08b45;
  line-height: 1.35;
}

.get-app__sha {
  margin: 18px 0;
  background: #fff;
  border: 1px solid rgba(15, 42, 77, 0.12);
  border-radius: 10px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.get-app__sha-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(15, 42, 77, 0.5);
}

.get-app__sha code {
  font-family: ui-monospace, monospace;
  font-size: 11.5px;
  color: #0f2a4d;
}

.get-app__copy {
  border: 0;
  background: transparent;
  color: #b08b45;
  border-bottom: 1px solid rgba(216, 178, 108, 0.6);
  cursor: pointer;
  font-size: 12.5px;
}

@media (max-width: 899px) {
  .get-app {
    align-items: flex-end;
  }
  .get-app__panel {
    width: 100%;
    max-width: none;
    border-radius: 20px 20px 0 0;
    max-height: 92vh;
  }
  .get-app__handle {
    display: block;
    width: 44px;
    height: 4px;
    border-radius: 2px;
    background: rgba(15, 42, 77, 0.2);
    margin: 0 auto 10px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .get-app__tile:hover {
    transform: translateY(-3px);
    border-color: rgba(216, 178, 108, 0.75);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
  }
  .get-app__apk:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15, 42, 77, 0.34);
  }
}

/* Footer signup */
.site-footer__signup {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(216, 178, 108, 0.24);
  max-width: 100%;
}

.site-footer__signup-eyebrow {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #d8b26c;
}

.site-footer__signup-row {
  display: flex;
  gap: 9px;
  align-items: stretch;
  margin-top: 13px;
}

.site-footer__signup-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(247, 243, 237, 0.08);
  border: 1px solid rgba(216, 178, 108, 0.42);
  border-radius: 9px;
  min-height: 50px;
  height: 50px;
  padding: 0 15px;
  box-sizing: border-box;
}

.site-footer__signup-field input {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 100%;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #f7f3ed;
  font-size: 16px;
  line-height: 1.35;
  outline: none;
  font-weight: 300;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.site-footer__signup-field input::placeholder {
  color: rgba(247, 243, 237, 0.5);
}

.site-footer__signup-field.is-error {
  border-color: #e08a6e;
  background: rgba(224, 138, 110, 0.1);
}

.site-footer__signup-btn {
  flex: none;
  background: #d8b26c;
  border: 0;
  border-radius: 9px;
  height: 50px;
  padding: 0 24px;
  color: #0f2a4d;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
}

.site-footer__signup-btn:disabled {
  background: rgba(216, 178, 108, 0.4);
  color: rgba(15, 42, 77, 0.6);
  cursor: not-allowed;
}

.site-footer__signup-fine {
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(247, 243, 237, 0.48);
  font-weight: 300;
  margin-top: 11px;
}

.site-footer__signup-fine a {
  color: rgba(216, 178, 108, 0.9);
  border-bottom: 1px solid rgba(216, 178, 108, 0.4);
  text-decoration: none;
}

.site-footer__signup-error {
  color: #e08a6e;
  font-size: 12.5px;
  margin-top: 10px;
}

.site-footer__signup-done {
  margin-top: 13px;
  background: rgba(216, 178, 108, 0.14);
  border: 1px solid rgba(216, 178, 108, 0.5);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.site-footer__signup-done-title {
  font-size: 15.5px;
  color: #f7f3ed;
}

.site-footer__signup-done-text {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(247, 243, 237, 0.68);
  font-weight: 300;
  margin-top: 4px;
}

.site-footer__get-app-label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(216, 178, 108, 0.75);
}

.site-footer__store {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #000;
  border: 0;
  border-radius: 8px;
  padding: 9px 16px 9px 13px;
  min-width: 172px;
  color: #fff;
  cursor: pointer;
  text-align: left;
  font-family: Jost, system-ui, sans-serif;
}

.site-footer__store-kicker {
  display: block;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

.site-footer__store-name {
  display: block;
  font-size: 15px;
  margin-top: 2px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

@media (max-width: 720px) {
  .site-footer__signup {
    max-width: none;
  }
  .site-footer__signup-row {
    flex-direction: column;
    align-items: stretch;
  }
  .site-footer__signup-field {
    width: 100%;
    min-height: 50px;
    height: 50px;
  }
  .site-footer__signup-field input {
    font-size: 16px;
    min-height: 44px;
  }
  .site-footer__signup-btn {
    width: 100%;
    min-height: 50px;
  }
}

.hdr-cta[data-get-app-open],
a[data-get-app-open] {
  cursor: pointer;
}
