:root {
  --mp-navy: #0B1220;
  --mp-ember: #FF5A1F;
  --mp-ember-dark: #E64810;
  --mp-mint: #10B981;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: #F8FAFC;
  color: #0F172A;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 120;
  background: var(--mp-ember);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(255, 90, 31, 0.35);
}
.skip-link:focus {
  top: 16px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--mp-ember);
  outline-offset: 2px;
}

details summary::-webkit-details-marker { display: none; }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Dark alpine mesh hero background */
.alpine-hero-bg {
  background-color: #0B1220;
  background-image:
    radial-gradient(circle at 82% 18%, rgba(14, 165, 233, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 14% 85%, rgba(255, 90, 31, 0.18) 0%, transparent 48%),
    linear-gradient(180deg, #070C16 0%, #0B1220 55%, #111B2E 100%);
}

/* Architectural spec card header pattern (used when no owner-approved photo is set) */
.blueprint-grid {
  background-color: #0F172A;
  background-image:
    radial-gradient(circle at 90% 10%, rgba(255, 90, 31, 0.24) 0%, transparent 52%),
    radial-gradient(circle at 10% 95%, rgba(14, 165, 233, 0.18) 0%, transparent 50%),
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 24px 24px, 24px 24px;
}

.deal-card {
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.2s ease;
}
.deal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(11, 18, 32, 0.14);
}

/* High-CTR Ember CTA button glow */
.btn-ember {
  background-color: #FF5A1F;
  color: #ffffff;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-ember:hover {
  background-color: #E64810;
  box-shadow: 0 10px 24px -6px rgba(255, 90, 31, 0.55);
}

/* Live pulse indicator */
@keyframes liveDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.55; }
}
.live-pulse {
  animation: liveDot 1.8s infinite ease-in-out;
}

/* Active map pin highlight */
.map-pin.active-pin .pin-pill {
  background-color: #FF5A1F !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  transform: scale(1.12);
}
.map-pin.active-pin .pin-caret {
  background-color: #FF5A1F !important;
}

.map-grab { cursor: grab; }
.map-grab:active { cursor: grabbing; }

@media print {
  header, footer, .mobile-sticky-cta, #mp-compare-bar, #mp-toast, .no-print {
    display: none !important;
  }
  body { background: #ffffff !important; color: #000000 !important; }
}
