/* Product screenshots, November 2026: hero map + phone pair, and the "in action" tour.
   Loaded after style.css and responsive.css; reuses .browser-frame and .platform-text. */

/* ---------- hero: the staff map, with the resident's phone in front ---------- */
.hero-duo {
  position: relative;
  margin: 0 0 0 34px;
  padding-bottom: 26px;
}
.hero-duo .browser-frame { position: relative; }
.hero-duo-phone {
  position: absolute;
  left: -34px;
  bottom: 0;
  width: 29%;
  max-width: 186px;
  padding: 6px;
  border-radius: 26px;
  background: var(--heading-color);
  box-shadow: 0 22px 48px rgba(18, 63, 83, .30);
  line-height: 0;
}
.hero-duo-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* ---------- "in action": one panel per story, switched by tabs ---------- */
.tour-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}
.tour-tab {
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--heading-color);
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 11px 18px;
  cursor: pointer;
}
.tour-tab:hover { border-color: var(--primary-color); }
.tour-tab[aria-selected="true"] {
  color: #fff;
  background: var(--primary-color);
  border-color: var(--primary-color);
}
.tour-tab:focus-visible {
  outline: 3px solid #0098CA;
  outline-offset: 3px;
}
.tour-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}
/* the words sit above the screen, so the screen can use the full width and stay legible */
.tour-panel .platform-text {
  order: -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: 10px 48px;
  align-items: start;
}
.tour-panel .platform-text h3 { grid-row: span 2; margin: 0; }
.tour-panel .platform-text p { margin: 0; }
.tour-panel .platform-text ul { justify-self: start; }
.tour-panel[hidden] { display: none; }
.tour-swipe { display: none; }
.tour-panel .browser-body:focus-visible { outline: 3px solid #0098CA; outline-offset: -3px; }
.tour-panel .browser-frame { box-shadow: 0 26px 60px rgba(18, 63, 83, .16); }
.tour-panel.is-entering { animation: tourIn .28s ease-out; }
@keyframes tourIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tour-panel.is-entering { animation: none; }
}

@media (max-width: 1199px) {
  .hero-duo { margin-left: 26px; }
  .hero-duo-phone { left: -26px; }
}
@media (max-width: 991px) {
  .tour-panel .platform-text { grid-template-columns: 1fr; gap: 10px; }
  .tour-panel .platform-text h3 { grid-row: auto; }
  .hero-duo { margin-left: 0; padding-bottom: 34px; }
  .hero-duo-phone { left: auto; right: 14px; bottom: -22px; width: 26%; }
}
@media (max-width: 575px) {
  .tour-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -16px 18px;
    padding: 2px 16px 6px;
    scrollbar-width: none;
  }
  .tour-tabs::-webkit-scrollbar { display: none; }
  .tour-tab { flex: 0 0 auto; font-size: 15px; padding: 10px 15px; }
  /* on a phone the screen keeps a legible size and pans sideways */
  .tour-swipe { display: block; margin: 0 0 8px; font-size: 14px; color: var(--text-color); text-align: left; }
  .tour-panel .browser-body { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tour-panel .browser-body img { width: 760px; max-width: none; }
  .hero-duo-phone { width: 30%; border-radius: 20px; padding: 4px; right: 10px; }
  .hero-duo-phone img { border-radius: 16px; }
}

/* ---------- shipped recently: six cards, 3 x 2 on desktop, 2 x 3 on tablet, one column on a phone (content update 22.11.2026) ---------- */
.work-area.shipped .shipped-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .work-area.shipped .shipped-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .work-area.shipped .shipped-grid { grid-template-columns: 1fr; } }
