:root {
  --bg: #070b12;
  --bg-elevated: #0b1220;
  --bg-card: #121a2b;
  --bg-card-hover: #182235;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --brand: #d2100b;
  --brand-glow: rgba(210, 16, 11, 0.45);
  --brand-soft: rgba(210, 16, 11, 0.14);
  --border: rgba(148, 163, 184, 0.18);
  --fire: #e53935;
  --ambulance: #fb8c00;
  --police: #1e88e5;
  --font-display: "Bebas Neue", Impact, Haettenschweiler, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1120px;
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--brand-glow), transparent 55%),
    radial-gradient(ellipse 40% 30% at 90% 20%, rgba(210, 16, 11, 0.12), transparent 50%),
    var(--bg);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Blazor FocusOnNavigate focuses the page h1 on load — hide the browser’s default
   “white square” for mouse/programmatic focus; keep a clear ring for keyboard only. */
:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.hero-copy h1:focus,
.page-hero h1:focus {
  outline: none;
}

img {
  max-width: 100%;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 18, 0.78);
  border-bottom: 1px solid var(--border);
}

.site-header-inner,
.site-footer-inner,
.section-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: 10px;
}

.brand-link:focus {
  outline: none;
}

.brand-link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: transparent;
  /* Force a compositor layer up front — drop-shadow otherwise flashes a white frame until click/repaint */
  transform: translateZ(0);
  backface-visibility: hidden;
  filter: drop-shadow(0 0 10px rgba(210, 16, 11, 0.35));
}

.brand-word {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-word span {
  color: var(--brand);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary {
  list-style: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown > summary::after {
  content: "";
  display: inline-block;
  margin-left: 0.35rem;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
}

.nav-dropdown[open] > summary,
.nav-dropdown > summary:hover {
  color: var(--text);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 11.5rem;
  padding: 0.45rem;
  display: grid;
  gap: 0.15rem;
  background: rgba(12, 18, 28, 0.96);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  z-index: 50;
}

.nav-dropdown-menu a {
  padding: 0.45rem 0.65rem;
  border-radius: 7px;
  color: var(--text-muted);
  white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-dropdown-compact .nav-dropdown-menu {
  right: 0;
  left: auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 999px;
  padding: 0.35rem 0.65rem 0.35rem 0.5rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.lang-switch:hover {
  border-color: rgba(210, 16, 11, 0.55);
  background: rgba(210, 16, 11, 0.12);
}

.lang-switch-icon {
  display: inline-flex;
  color: var(--brand);
}

.lang-switch-code {
  min-width: 1.4rem;
}

.site-main {
  flex: 1;
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  padding: 2rem 0 2.5rem;
}

.site-footer-inner {
  display: grid;
  gap: 1rem;
}

.site-footer p,
.site-footer a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 2.5rem;
}

.hero-photo {
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  padding: 3.25rem 0 3rem;
  isolation: isolate;
  /* Match shade so JPG load never flashes a white frame */
  background-color: #04070c;
}

.hero-photo-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #04070c;
  background-image: url("/images/respondr-background.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.hero-photo-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 7, 12, 0.92) 0%, rgba(4, 7, 12, 0.72) 42%, rgba(4, 7, 12, 0.35) 70%, rgba(4, 7, 12, 0.55) 100%),
    linear-gradient(180deg, rgba(4, 7, 12, 0.35) 0%, transparent 28%, rgba(4, 7, 12, 0.75) 100%),
    radial-gradient(ellipse 55% 45% at 18% 40%, rgba(210, 16, 11, 0.28), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}

.hero-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin-bottom: 0.35rem;
  background: transparent;
  outline: none;
  /* PNG has a solid black plate — blend it out on the dark hero */
  mix-blend-mode: lighten;
  /* Force a compositor layer up front — drop-shadow otherwise flashes a white frame until click/repaint */
  transform: translateZ(0);
  backface-visibility: hidden;
  filter: drop-shadow(0 0 18px rgba(210, 16, 11, 0.45));
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0.4rem 0 0.85rem;
  max-width: 12ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.hero-copy p {
  color: #cbd5e1;
  font-size: 1.08rem;
  max-width: 34rem;
  margin: 0 0 1.5rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 24px var(--brand-glow);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(210, 16, 11, 0.5);
}

.section {
  padding: 3.25rem 0;
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: 0.03em;
  margin: 0 0 0.4rem;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 40rem;
}

.live-panel {
  background: linear-gradient(180deg, rgba(18, 26, 43, 0.95), rgba(11, 18, 32, 0.92));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 0 0 1px rgba(210, 16, 11, 0.08), 0 20px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
}

.live-panel-glass {
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.78), rgba(8, 12, 20, 0.88));
  backdrop-filter: blur(16px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(210, 16, 11, 0.2),
    0 24px 60px rgba(0, 0, 0, 0.45);
}

.live-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #64748b;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
}

.live-dot.on {
  background: #22c55e;
  animation: statusPulse 1.8s ease-out infinite;
}

@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.live-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  overflow: auto;
  flex: 1;
  max-height: 420px;
}

.live-card {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  border: 1px solid transparent;
  animation: cardIn 0.45s ease both;
}

.live-card + .live-card {
  margin-top: 0.35rem;
}

.live-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border);
}

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

.live-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chip-priority {
  background: rgba(210, 16, 11, 0.18);
  color: #fecaca;
}

.chip-service {
  background: rgba(148, 163, 184, 0.12);
  color: var(--text);
}

.chip-service.fire { background: rgba(229, 57, 53, 0.18); color: #fecaca; }
.chip-service.ambulance { background: rgba(251, 140, 0, 0.18); color: #ffd8a8; }
.chip-service.police { background: rgba(30, 136, 229, 0.18); color: #bfdbfe; }

.live-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.live-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card,
.highlight-card,
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.highlight-card {
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--brand);
  box-shadow: 0 0 16px var(--brand-glow);
}

.feature-card h3,
.highlight-card h3,
.plan-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.feature-card p,
.highlight-card p,
.plan-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.plan-card ul {
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.plan-card.featured {
  border-color: rgba(210, 16, 11, 0.55);
  box-shadow: 0 0 28px rgba(210, 16, 11, 0.18);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 1.75rem;
  isolation: isolate;
  background-color: #070b12;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #070b12;
  background-image: url("/images/respondr-background.jpg");
  background-position: center 35%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.35;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 11, 18, 0.55), rgba(7, 11, 18, 0.96));
}

.api-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.api-list li {
  margin-bottom: 0.45rem;
}

.api-code {
  display: block;
  overflow-x: auto;
  margin: 0 0 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  letter-spacing: 0.03em;
  margin: 0 0 0.5rem;
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 40rem;
}

.prose {
  max-width: 42rem;
  color: var(--text-muted);
}

.prose h2 {
  color: var(--text);
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  margin-top: 2rem;
}

.prose a {
  color: var(--brand);
}

.legal-updated {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.legal-nav {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-nav a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.empty-state {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-muted);
}

.reveal {
  animation: cardIn 0.7s ease both;
}

/* ——— Guided tours (camera pan / zoom) ——— */
.tour-shell {
  padding: 1.25rem 0 2rem;
}

.tour-topbar,
.tour-hint,
.tour-related .section-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.tour-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tour-kicker {
  margin: 0 0 0.25rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tour-topbar h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.1rem);
  letter-spacing: 0.03em;
  margin: 0;
  line-height: 0.95;
}

.tour-lead {
  margin: 0.55rem 0 0;
  color: var(--text-muted);
  max-width: 36rem;
}

.tour-progress {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap;
}

.tour-progress span:first-child {
  color: var(--text);
}

.tour-stage {
  display: grid;
  gap: 1rem;
  width: min(100% - 1.25rem, 1200px);
  margin: 0 auto;
  touch-action: pan-y;
}

@media (min-width: 960px) {
  .tour-stage {
    grid-template-columns: 1.35fr 0.85fr;
    align-items: stretch;
    min-height: min(68vh, 620px);
  }
}

.tour-viewport {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 50% 40% at 30% 20%, rgba(210, 16, 11, 0.22), transparent 60%),
    radial-gradient(ellipse 45% 35% at 80% 70%, rgba(30, 136, 229, 0.12), transparent 55%),
    linear-gradient(160deg, #0a1220, #070b12 55%, #0d1524);
  min-height: min(62vh, 560px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.tour-station .tour-viewport {
  background:
    radial-gradient(ellipse 50% 40% at 70% 15%, rgba(210, 16, 11, 0.2), transparent 60%),
    radial-gradient(ellipse 40% 35% at 20% 80%, rgba(34, 197, 94, 0.1), transparent 55%),
    linear-gradient(160deg, #0a1420, #070b12 55%, #101820);
}

.tour-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: center center;
  transition: transform 0.9s cubic-bezier(0.22, 0.82, 0.2, 1);
  will-change: transform;
}

.tour-node {
  position: absolute;
  width: min(86%, 720px);
  transform: translate(-50%, -50%) scale(0.72);
  opacity: 0.28;
  filter: blur(0.4px) saturate(0.75);
  transition: opacity 0.55s ease, transform 0.9s cubic-bezier(0.22, 0.82, 0.2, 1), filter 0.55s ease;
  pointer-events: none;
}

.tour-node.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: none;
  z-index: 2;
}

.tour-node.is-active .product-frame.has-shot {
  box-shadow:
    0 0 0 1px rgba(210, 16, 11, 0.28),
    0 28px 64px rgba(0, 0, 0, 0.55);
}

.tour-caption {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, rgba(18, 26, 43, 0.96), rgba(11, 18, 32, 0.94));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  display: flex;
}

.tour-caption-inner {
  padding: 1.25rem 1.3rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.tour-step-label {
  margin: 0;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tour-caption h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: 0.03em;
  line-height: 1;
}

.tour-caption p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.tour-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.tour-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.tour-dot.is-active {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 0 12px var(--brand-glow);
  transform: scale(1.15);
}

.tour-controls,
.tour-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tour-btn {
  min-height: 2.6rem;
}

.tour-hint {
  margin: 0.85rem auto 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.tour-related {
  padding-top: 1rem;
}

/* Product mock frames */
.product-frame {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0c1422;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(210, 16, 11, 0.12),
    0 18px 40px rgba(0, 0, 0, 0.45);
  transform: translateZ(0);
}

.product-frame.is-lit {
  box-shadow:
    0 0 0 1px rgba(210, 16, 11, 0.35),
    0 0 40px rgba(210, 16, 11, 0.18),
    0 22px 50px rgba(0, 0, 0, 0.5);
}

.product-chrome {
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  gap: 0.35rem;
  align-items: center;
  padding: 0.55rem 0.75rem;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.product-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #475569;
}

.product-chrome span:nth-child(1) { background: #ef4444; }
.product-chrome span:nth-child(2) { background: #eab308; }
.product-chrome span:nth-child(3) { background: #22c55e; }

.product-chrome strong {
  justify-self: end;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.product-body {
  padding: 0.85rem;
  min-height: 210px;
}

.product-body-shot {
  padding: 0;
  min-height: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #05080f;
}

.product-frame.has-shot {
  width: min(100%, 860px);
  max-width: 100%;
}

.tour-node .product-frame.has-shot {
  width: min(94vw, 860px);
}

.tour-node.is-active .product-frame.has-shot {
  width: min(96vw, 920px);
}

.product-shot {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: transparent;
}

@media (max-width: 720px) {
  .product-body-shot {
    aspect-ratio: 16 / 10;
  }
}

.tour-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.tour-card-shot {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 0.9rem;
  background: #0b1220;
  transition: border-color 0.2s ease, transform 0.25s ease;
}

.tour-card-link:hover .tour-card-shot,
.tour-card-link:focus-visible .tour-card-shot {
  border-color: rgba(210, 16, 11, 0.55);
  transform: translateY(-2px);
}

.mock-dash {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.65rem;
  min-height: 200px;
}

.mock-side {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.mock-nav-item {
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.mock-nav-item.is-on {
  background: rgba(210, 16, 11, 0.2);
  color: #fff;
}

.mock-main {
  display: grid;
  gap: 0.4rem;
}

.mock-live-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
}

.mock-live-row em {
  font-style: normal;
  font-weight: 800;
  font-size: 0.7rem;
}

.mock-live-row em.p1 { color: #fecaca; }
.mock-live-row em.p2 { color: #fdba74; }

.mock-live-row .svc {
  border-radius: 999px;
  padding: 0.1rem 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
}

.mock-live-row .svc.fire { background: rgba(229, 57, 53, 0.25); color: #fecaca; }
.mock-live-row .svc.ambu { background: rgba(251, 140, 0, 0.22); color: #ffd8a8; }
.mock-live-row .svc.police { background: rgba(30, 136, 229, 0.22); color: #bfdbfe; }

.mock-map-mini {
  margin-top: 0.2rem;
  height: 72px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 40%, rgba(210, 16, 11, 0.55), transparent 8%),
    radial-gradient(circle at 62% 55%, rgba(30, 136, 229, 0.5), transparent 7%),
    linear-gradient(135deg, #132033, #1a2740);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-feed,
.mock-tracker,
.mock-alerts,
.mock-messages,
.mock-hub,
.mock-members,
.mock-trainings,
.mock-plan,
.mock-combo,
.mock-monitor {
  display: grid;
  gap: 0.5rem;
}

.mock-feed-head {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.mock-feed-card,
.mock-track-item,
.mock-rule,
.mock-msg,
.mock-member,
.mock-training,
.mock-event,
.roster-row {
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mock-feed-card h4,
.mock-cta-card h4 {
  margin: 0.35rem 0 0.15rem;
  font-size: 0.92rem;
}

.mock-feed-card small,
.mock-track-item span,
.mock-rule span,
.mock-training small,
.mock-event span,
.roster-row span,
.mock-hub-head span {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.mock-map {
  position: relative;
  min-height: 210px;
  border-radius: 12px;
  overflow: hidden;
  background: #101a2b;
}

.mock-map-grid {
  position: absolute;
  inset: 0;
  background:
    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: 28px 28px;
  opacity: 0.7;
}

.mock-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(210, 16, 11, 0.2);
  animation: pinPulse 2.2s ease-out infinite;
}

.mock-pin.pin-a { left: 28%; top: 34%; }
.mock-pin.pin-b { left: 58%; top: 48%; background: #1e88e5; box-shadow: 0 0 0 6px rgba(30, 136, 229, 0.2); animation-delay: 0.4s; }
.mock-pin.pin-c { left: 42%; top: 62%; background: #fb8c00; box-shadow: 0 0 0 6px rgba(251, 140, 0, 0.2); animation-delay: 0.8s; }

@keyframes pinPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.mock-map-card {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(7, 11, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 0.15rem;
  font-size: 0.82rem;
}

.mock-track-item.is-hot {
  border-color: rgba(210, 16, 11, 0.45);
}

.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 64px;
  margin-top: 0.25rem;
}

.mock-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, rgba(210, 16, 11, 0.85), rgba(210, 16, 11, 0.25));
}

.mock-rule.is-on {
  border-color: rgba(34, 197, 94, 0.35);
}

.mock-toast {
  margin-top: 0.25rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: rgba(210, 16, 11, 0.18);
  border: 1px solid rgba(210, 16, 11, 0.35);
  font-size: 0.82rem;
  font-weight: 600;
  animation: cardIn 0.6s ease both;
}

.mock-messages {
  grid-template-columns: auto auto;
}

.mock-tab {
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  justify-self: start;
}

.mock-tab.is-on {
  background: rgba(210, 16, 11, 0.22);
  color: #fff;
}

.mock-msg {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.mock-cta-card {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.45rem;
  padding: 1.5rem 1rem;
  min-height: 200px;
  align-content: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(210, 16, 11, 0.28), transparent 55%),
    rgba(255, 255, 255, 0.02);
}

.mock-cta-card.station {
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.18), transparent 55%),
    rgba(255, 255, 255, 0.02);
}

.mock-cta-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  background: var(--brand);
  box-shadow: 0 0 24px var(--brand-glow);
}

.mock-cta-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.mock-cta-pill {
  margin-top: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(210, 16, 11, 0.2);
  border: 1px solid rgba(210, 16, 11, 0.45);
  font-size: 0.8rem;
  font-weight: 700;
}

.mock-hub-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: baseline;
}

.mock-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
}

.mock-hub-grid div {
  padding: 0.6rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 0.15rem;
}

.mock-hub-grid strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}

.mock-hub-grid small {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.mock-hub-banner {
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: rgba(210, 16, 11, 0.16);
  border: 1px solid rgba(210, 16, 11, 0.3);
  font-size: 0.8rem;
}

.mock-member {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.85rem;
}

.mock-member .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(210, 16, 11, 0.25);
  font-size: 0.68rem;
  font-weight: 700;
}

.mock-member em {
  color: var(--text-muted);
  font-style: normal;
  font-size: 0.72rem;
}

.mock-role-chip {
  justify-self: start;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(30, 136, 229, 0.18);
  color: #bfdbfe;
}

.mock-plan {
  grid-template-columns: 1.2fr 0.9fr;
  gap: 0.55rem;
}

.mock-col {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.mock-col header {
  padding: 0.4rem 0.55rem;
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.75rem;
  font-weight: 700;
}

.mock-col .seat {
  padding: 0.4rem 0.55rem;
  font-size: 0.74rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mock-col .seat.open {
  color: var(--text-muted);
  font-style: italic;
}

.mock-plan-tag {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(34, 197, 94, 0.16);
  color: #bbf7d0;
}

.roster-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.82rem;
}

.roster-row em {
  font-style: normal;
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mock-monitor-title {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  font-size: 1.2rem;
}

.mock-monitor-charts {
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
}

.spark {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 54px;
}

.spark i {
  flex: 1;
  border-radius: 4px;
  background: linear-gradient(180deg, #60a5fa, rgba(30, 136, 229, 0.2));
}

.spark i:nth-child(1) { height: 35%; }
.spark i:nth-child(2) { height: 55%; }
.spark i:nth-child(3) { height: 40%; }
.spark i:nth-child(4) { height: 80%; }
.spark i:nth-child(5) { height: 60%; }

.types {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.types span {
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
}

.mock-monitor-plan {
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(210, 16, 11, 0.3);
  background: rgba(210, 16, 11, 0.12);
  font-size: 0.82rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 760px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 0.15rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 700;
  font-size: 1.02rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--brand);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-answer {
  padding: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-answer a {
  color: #fecaca;
  text-decoration: underline;
}

.faq-contact {
  margin-top: 1rem;
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(210, 16, 11, 0.35);
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(210, 16, 11, 0.16), transparent 55%),
    var(--bg-card);
}

.faq-contact h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  font-size: 1.7rem;
}

.faq-contact p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.nav-compact {
  display: none;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.nav-compact a:hover {
  color: var(--text);
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .nav-compact {
    display: inline-flex;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .tour-node {
    width: min(94%, 520px);
  }

  .tour-viewport {
    min-height: 280px;
  }

  .tour-topbar {
    align-items: flex-start;
  }

  .tour-progress {
    font-size: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tour-canvas,
  .tour-node,
  .mock-pin,
  .mock-toast {
    transition: none !important;
    animation: none !important;
  }
}
