body {
  font-family: "Poppins", sans-serif;
  background-color: #fbf9f6;
  color: #1b1c1a;
}
.font-headline {
  font-family: "Montserrat", sans-serif;
}
.font-mono {
  font-family: "JetBrains Mono", monospace;
}

.evidence-grid {
  background-image:
    linear-gradient(#e0ddd9 1px, transparent 1px),
    linear-gradient(90deg, #e0ddd9 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.1;
}

.ledger-line {
  height: 1px;
  background: #e0ddd9;
  width: 100%;
}

.stagger-load {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.max-desktop {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.leader-line {
  position: absolute;
  background: #bfc8c9;
  z-index: 10;
}
.octagon {
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}
@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.005);
  }
}
.floating-mockup {
  animation: float 6s ease-in-out infinite;
}
/* Hero: stay clear of the fixed 56px header on short viewports */
.hero-safe-top {
  padding-top: 6rem;
}
.hero-lift {
  margin-top: 0;
}
@media (min-height: 940px) {
  .hero-safe-top {
    padding-top: 3.5rem;
  }
}
@media (min-width: 1024px) and (min-height: 940px) {
  .hero-lift {
    margin-top: -60px;
  }
}
.premium-shadow {
  box-shadow: 0 10px 18px -8px rgba(0, 76, 80, 0.18), 0 2px 4px -2px rgba(0, 76, 80, 0.1);
}
.premium-shadow:hover {
  box-shadow: 0 14px 22px -8px rgba(0, 76, 80, 0.22), 0 3px 6px -2px rgba(0, 76, 80, 0.12);
}
.contact-form label {
  display: block;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 12px 14px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #d7c588;
}
.contact-form label.error {
  color: #ffb4a9;
  text-transform: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: normal;
  margin-top: 4px;
  margin-bottom: 0;
}

/* AppsFlyer QR renders at a fixed 256x256px by default; scale it down to fit its container instead of letting it get clipped. */
#qushi-app-qr canvas,
#qushi-app-qr img,
#qushi-app-qr table {
  width: 100% !important;
  height: 100% !important;
}

/* Privacy preference modal */
.privacy-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 28, 26, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}
.privacy-modal {
  background: #fbf9f6;
  border-radius: 12px;
  max-width: 480px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.4);
  font-family: "Poppins", sans-serif;
}
.privacy-modal h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #004c50;
  margin: 0 0 12px;
}
.privacy-modal-intro {
  font-size: 14px;
  line-height: 1.5;
  color: #3f4849;
  margin: 0 0 20px;
}
.privacy-modal-toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid #e0ddd9;
  border-radius: 8px;
  margin-bottom: 24px;
  cursor: pointer;
}
.privacy-modal-toggle span {
  font-size: 14px;
  color: #1b1c1a;
}
.privacy-modal-toggle-desc {
  font-size: 12px;
  color: #707979;
  font-weight: 400;
}
.privacy-modal-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.privacy-modal-switch {
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #bfc8c9;
  transition: background 0.2s ease-in-out;
}
.privacy-modal-switch::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease-in-out;
}
.privacy-modal-toggle input:checked + .privacy-modal-switch {
  background: #004c50;
}
.privacy-modal-toggle input:checked + .privacy-modal-switch::before {
  transform: translateX(18px);
}
.privacy-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.privacy-modal-btn {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
}
.privacy-modal-btn-secondary {
  background: transparent;
  border-color: #e0ddd9;
  color: #3f4849;
}
.privacy-modal-btn-primary {
  background: #004c50;
  color: #fff;
}
