/* An independent, progressively enhanced tour of the existing product captures. */
.product-tour {
  width: 100%;
  max-width: 820px;
  margin: 0;
  color: #173453;
}

.tour-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 2px 14px;
}

.tour-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #436482;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.tour-eyebrow > span,
.tour-note > span:first-child {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #0878bc;
  box-shadow: 0 0 0 4px #0878bc0d;
}

.tour-count {
  color: #58728c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.tour-stage {
  overflow: hidden;
  border: 1px solid #bfd3e9;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 24px 65px #1d497520, 0 3px 8px #1d497509;
}

.tour-stage .browser-bar {
  height: 38px;
  border-bottom: 1px solid #d3e1ef;
  background: #f6f9fd;
  font-size: 10px;
}

.tour-frame-label {
  margin-left: auto;
  color: #58728c;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .8px;
}

.tour-panel {
  min-width: 0;
  scroll-margin-top: 25px;
}

.tour-panel + .tour-panel {
  border-top: 1px solid #bfd3e9;
}

.tour-ready .tour-panel {
  border-top: 0;
}

.tour-capture {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.72;
  overflow: hidden;
  background: #eaf2fb;
  cursor: zoom-in;
}

.tour-capture::after {
  position: absolute;
  inset: 0;
  border-bottom: 1px solid #cbddec;
  background: linear-gradient(180deg, #eaf2fb99, transparent 25%, transparent 70%, #17345326);
  pointer-events: none;
  content: '';
}

.tour-capture img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.tour-capture-dxf img {
  transform: scale(1.8);
  transform-origin: 50% 43%;
}

.tour-capture-parameters img {
  transform: scale(1.7);
  transform-origin: 37% 86%;
}

.tour-capture-quotation img {
  transform: none;
  object-fit: contain;
  object-position: center top;
}

.tour-screen-tag {
  position: absolute;
  z-index: 1;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px 8px 8px;
  border: 1px solid #d8e5f0;
  border-radius: 7px;
  background: #ffffffed;
  color: #244b70;
  box-shadow: 0 3px 12px #1734530d;
  font-size: 11px;
  font-weight: 700;
}

.tour-screen-tag > span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 4px;
  background: #e9f4fc;
  color: #076ca9;
  font-size: 10px;
}

.tour-expand {
  position: absolute;
  z-index: 1;
  right: 15px;
  bottom: 15px;
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid #ffffff50;
  border-radius: 6px;
  background: #163c66;
  color: #fff;
  box-shadow: 0 3px 14px #163c6620;
  font-size: 11px;
  font-weight: 700;
  transition: background .15s ease;
}

.tour-expand svg {
  width: 16px;
  height: 16px;
}

.tour-capture:hover .tour-expand {
  background: #076da9;
}

.tour-capture:focus-visible {
  outline: 3px solid #0878bc;
  outline-offset: -4px;
}

.tour-copy {
  min-height: 119px;
  padding: 22px 24px;
}

.tour-copy h2 {
  margin: 0 0 8px;
  color: #173453;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 750;
  letter-spacing: -.55px;
  line-height: 1.4;
}

.tour-copy p {
  max-width: 62ch;
  margin: 0;
  color: #53677e;
  font-size: 12px;
  line-height: 1.8;
}

.tour-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 0 0 14px;
}

.tour-step {
  position: relative;
  display: flex;
  min-height: 79px;
  align-items: center;
  gap: 10px;
  padding: 13px 12px;
  border: 1px solid #cbddec;
  border-radius: 8px;
  background: #ffffff91;
  color: #405f7d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
  transition: background .15s ease, border-color .15s ease;
}

.tour-step-number {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #d4e2ef;
  border-radius: 50%;
  color: #5b7893;
  font-size: 10px;
  font-weight: 800;
}

.tour-step svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-left: auto;
  opacity: 0;
}

.tour-step:hover {
  border-color: #81b2d5;
  background: #fff;
}

.tour-step[aria-selected="true"] {
  border-color: #0878bc;
  background: #e8f3fc;
  color: #145280;
  box-shadow: inset 0 2px 0 #0878bc;
}

.tour-step[aria-selected="true"] .tour-step-number {
  border-color: #0878bc;
  background: #0878bc;
  color: #fff;
}

.tour-step[aria-selected="true"] svg {
  opacity: 1;
}

.tour-step:focus-visible {
  outline: 3px solid #0878bc;
  outline-offset: 3px;
}

.tour-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 17px 2px 0;
  color: #53677e;
  font-size: 9px;
  line-height: 1.7;
}

.tour-help {
  display: none;
  margin-left: auto;
}

.tour-ready .tour-help {
  display: inline;
}

@media (min-width: 901px) {
  .hero-grid:has(.product-tour) {
    grid-template-columns: minmax(0, .83fr) minmax(0, 1.3fr);
    gap: 44px;
  }
}

@media (min-width: 901px) and (max-width: 1150px) {
  .hero-grid:has(.product-tour) { gap: 28px; }
  .tour-step { gap: 7px; padding: 11px 9px; font-size: 10px; }
  .tour-step svg { display: none; }
  .tour-step-number { width: 24px; height: 24px; }
  .tour-copy { min-height: 151px; padding: 18px; }
  .tour-copy p { font-size: 11px; }
  .tour-help { flex-basis: 100%; margin-left: 14px; }
}

@media (max-width: 900px) {
  .product-tour { margin-inline: auto; }
  .tour-copy { min-height: 115px; }
  .tour-copy h2 { font-size: 21px; }
}

@media (max-width: 640px) {
  .tour-heading { margin-bottom: 11px; gap: 9px; }
  .tour-eyebrow { font-size: 8px; letter-spacing: .7px; }
  .tour-count { font-size: 9px; letter-spacing: 1px; }
  .tour-stage { border-radius: 10px; }
  .tour-stage .browser-bar { height: 34px; font-size: 9px; }
  .tour-frame-label { font-size: 6px; letter-spacing: .3px; }
  .tour-capture { aspect-ratio: 1.3; }
  .tour-capture-dxf img { transform: scale(1.35); transform-origin: 50% 51%; }
  .tour-capture-parameters img { transform: scale(1.65); transform-origin: 28% 90%; }
  .tour-capture-quotation img { transform: none; }
  .tour-screen-tag { top: 10px; left: 10px; padding: 6px 9px 6px 6px; gap: 7px; font-size: 10px; }
  .tour-screen-tag > span { width: 22px; height: 22px; font-size: 9px; }
  .tour-expand { right: 10px; bottom: 10px; font-size: 10px; padding: 10px; }
  .tour-copy { min-height: 158px; padding: 18px; }
  .tour-copy h2 { font-size: 18px; letter-spacing: -.45px; }
  .tour-copy p { font-size: 11px; line-height: 1.8; }
  .tour-steps { gap: 6px; margin-bottom: 10px; }
  .tour-step { min-height: 101px; flex-direction: column; align-items: flex-start; gap: 7px; padding: 11px 9px; font-size: 10px; }
  .tour-step-number { width: 25px; height: 25px; }
  .tour-step svg { position: absolute; top: 16px; right: 8px; width: 14px; height: 14px; }
  .tour-note { font-size: 8px; gap: 7px; margin-top: 13px; }
  .tour-help { flex-basis: 100%; margin-left: 13px; }
}

@media (max-width: 370px) {
  .tour-frame-label { display: none; }
  .tour-step { padding-inline: 7px; font-size: 9px; }
  .tour-step svg { right: 6px; }
  .tour-copy { min-height: 173px; padding: 16px; }
  .tour-copy h2 { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .tour-step, .tour-expand { transition: none; }
}

/* A real report capture complements the three-step quotation tour. */
.report-showcase {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr);
  align-items: center;
  gap: 40px;
  margin-top: 54px;
  padding: 34px;
  border: 1px solid #d5e2ef;
  border-radius: 16px;
  background: linear-gradient(125deg, #f4f9ff, #eaf2fb);
}
.report-copy { min-width: 0; }
.report-copy .eyebrow { margin-bottom: 16px; font-size: 9px; letter-spacing: 1.35px; }
.report-copy h3 { margin: 0 0 19px; color: #173453; font-size: clamp(25px, 2.5vw, 35px); font-weight: 650; line-height: 1.2; letter-spacing: -1px; }
.report-copy > p:not(.eyebrow) { max-width: 40ch; margin: 0; color: #53677e; font-size: 12px; line-height: 1.9; }
.report-statuses { display: flex; flex-wrap: wrap; gap: 10px 16px; margin: 22px 0 21px; padding: 0; list-style: none; }
.report-statuses li { display: flex; align-items: center; gap: 6px; color: #36516c; font-size: 10px; font-weight: 700; }
.report-statuses li::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; }
.report-status-pending::before { background: #a77623; }
.report-status-approved::before { background: #348568; }
.report-status-denied::before { background: #b2566b; }
.report-caption { display: block; color: #526983; font-size: 9px; line-height: 1.7; }
.report-figure { min-width: 0; margin: 0; }
.report-preview { display: block; overflow: hidden; border: 1px solid #bfd2e7; border-radius: 9px; background: #fff; color: #fff; box-shadow: 0 13px 32px #1a42651a; cursor: zoom-in; }
.report-preview img { display: block; width: 100%; height: auto; }
.report-zoom { display: flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: #173957; color: #fff; font-size: 11px; font-weight: 700; }
.report-zoom svg { width: 17px; height: 17px; flex-shrink: 0; }
.report-preview:hover .report-zoom { background: #076da9; }
.report-preview:focus-visible { outline: 3px solid #0878bc; outline-offset: 4px; }
.report-figure figcaption { margin-top: 10px; text-align: center; color: #526983; font-size: 9px; line-height: 1.7; }
.screen-dialog .dialog-close { min-height: 44px; min-width: 44px; }
.screen-dialog .dialog-original { display: inline-flex; min-height: 44px; align-items: center; }
@media (max-width: 1024px) {
  .report-showcase { gap: 24px; padding: 26px; }
  .report-copy .eyebrow { font-size: 8px; }
}
@media (max-width: 900px) {
  .report-showcase { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 28px; margin-top: 40px; }
  .report-copy > p:not(.eyebrow) { max-width: 65ch; }
  .report-statuses { margin: 18px 0 15px; }
}
@media (max-width: 640px) {
  .report-showcase { gap: 22px; padding: 20px 16px; border-radius: 12px; margin-top: 30px; }
  .report-copy h3 { margin-bottom: 15px; font-size: 28px; }
  .report-copy > p:not(.eyebrow) { font-size: 11px; }
  .report-zoom { padding: 12px; font-size: 10px; }
  .report-figure figcaption { font-size: 8px; }
}
