/* Scroll poster (/how-it-works) — print guard + CTA band */

.poster-print-only {
  display: none;
  padding: 1.25in 1in;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

@media print {
  .how-it-works-nav,
  .poster-shell,
  .poster-wrap,
  .veritas-cta--rail {
    display: none !important;
  }

  .poster-print-only {
    display: block !important;
  }
}

/* Book a demo / Register your lab — aligned with vali.now Veritas page */
.veritas-cta {
  margin: 1.5rem 0 0;
  padding: 1.15rem 1.25rem;
  border: 2px solid #e76f51;
  background: linear-gradient(180deg, #fff7ed 0%, #fff 70%);
}

.veritas-cta--footer {
  margin: 2.5rem -1.25rem 0;
  padding: 1.75rem 1.25rem 1.5rem;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}

/* Side rail — wide screens only. Sticky column in the page grid (not floating). */
.poster-shell {
  display: block;
}

.veritas-cta--rail {
  display: none;
}

@media (min-width: 1180px) {
  .poster-shell {
    display: grid;
    grid-template-columns: minmax(0, 800px) 13rem;
    column-gap: 1.5rem;
    justify-content: center;
    align-items: start;
    max-width: calc(800px + 13rem + 1.5rem);
    margin: 0 auto;
    padding: 0 1.25rem;
  }

  /* Nav spans story + sidebar so the grey bar frames the whole composition */
  .poster-shell > .how-it-works-nav {
    grid-column: 1 / -1;
    max-width: none;
    width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .poster-shell > .poster-wrap {
    max-width: none;
    width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .veritas-cta--rail {
    display: block;
    position: sticky;
    top: 5.5rem;
    width: auto;
    margin: 2rem 0 0;
    padding: 0.85rem 0.8rem;
    /* Match workflow-card language so it reads as part of the page, not a floating widget */
    border: 1px solid #e0e0e0;
    background: #f6f6f6;
    box-shadow: none;
  }

  .veritas-cta--rail .veritas-cta-kicker {
    font-size: 0.78rem;
    margin-bottom: 0.65rem;
    color: #343434;
  }

  .veritas-cta--rail .veritas-cta-btn {
    width: 100%;
    text-align: center;
    padding: 0.55rem 0.65rem;
    font-size: 0.85rem;
    box-sizing: border-box;
  }

  .veritas-cta--rail .veritas-cta-actions {
    margin-bottom: 0;
  }
}

.veritas-cta h2 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #121212;
}

.veritas-cta-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #b45309;
}

.veritas-cta-lede {
  margin: 0 0 1rem;
  max-width: 40rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #343434;
}

.veritas-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 0.75rem;
}

.veritas-cta-actions--stack {
  flex-direction: column;
}

.veritas-cta-btn {
  display: inline-block;
  padding: 0.65rem 1.15rem;
  border-radius: 4px;
  background: #121212;
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none !important;
  border: 2px solid #121212;
}

.veritas-cta-btn:hover {
  background: #333;
  border-color: #333;
}

.veritas-cta-btn--secondary {
  background: #fff;
  color: #121212 !important;
}

.veritas-cta-btn--secondary:hover {
  background: #fff7ed;
}

.veritas-cta-contact {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #343434;
  line-height: 1.45;
}

.veritas-cta-contact a {
  color: #121212;
  text-decoration: underline;
}
