/*
 * landing-checktotal.css
 * Product-specific overrides for the CheckTotal landing page.
 *
 * Scoped under `.landing-product-checktotal` (applied to <body> alongside
 * `.landing-product`).
 * Built to align with DESIGN.md specifications for Field Operations & Compliance.
 */

.landing-product-checktotal {
  --lp-primary: #e97d37;
  --lp-primary-hover: #d46622;
  --lp-primary-light: #fff7ed;
  --lp-primary-text: #c25310;
  --lp-secondary: #1c2a4d;
  --lp-secondary-surface: #253764;
  --lp-accent: #e97d37;
  --lp-accent-hover: #d46622;
  --lp-accent-surface: #fff7ed;
  --lp-ink: #1c2a4d;
  --lp-ink-soft: #475569;
  --lp-copy: #475569;
  --lp-surface: #f8fafc;
  --lp-surface-container: #fff7ed;
  --lp-border: #e2e8f0;
  --lp-border-strong: #fed7aa;
  --lp-line: rgba(233, 125, 55, 0.18);
  --lp-shadow: 0 24px 60px rgba(28, 42, 77, 0.14);
  --lp-shadow-soft: 0 14px 35px rgba(28, 42, 77, 0.06);
  --lp-gradient: linear-gradient(135deg, #e97d37 0%, #d46622 50%, #1c2a4d 100%);
  --lp-danger: #ef4444;
  --lp-danger-soft: #fef2f2;
  --lp-warning: #f59e0b;
  --lp-warning-soft: #fffbeb;

  font-family: "Plus Jakarta Sans", "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #ffffff;
  color: var(--lp-ink);
}

.landing-product-checktotal #navbar,
.landing-product-checktotal #navbar * {
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
}

.landing-product-checktotal .lp-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(233, 125, 55, 0.22);
  background: rgba(233, 125, 55, 0.07);
  color: #c25310;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.landing-product-checktotal .lp-section-eyebrow {
  color: #c25310;
}

.landing-product-checktotal .lp-text-gradient {
  /* Navy into orange: the short blend keeps the muddy midpoint of these opposite hues brief */
  background: linear-gradient(90deg, #1c2a4d 15%, #e97d37 65%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-product-checktotal .lp-btn-primary {
  background: linear-gradient(135deg, #e97d37 0%, #d46622 100%);
  box-shadow: 0 16px 32px rgba(233, 125, 55, 0.28);
  color: #ffffff;
  transition: all 0.2s ease-in-out;
}

.landing-product-checktotal .lp-btn-primary:hover {
  background: linear-gradient(135deg, #d46622 0%, #c75914 100%);
  box-shadow: 0 20px 40px rgba(233, 125, 55, 0.35);
  transform: translateY(-1px);
}

.landing-product-checktotal :is(.lp-btn-primary, .lp-btn-secondary):focus-visible {
  outline: 2px solid #1c2a4d;
  outline-offset: 2px;
}

.landing-product-checktotal .lp-btn-secondary {
  border: 1.5px solid rgba(233, 125, 55, 0.25);
  background: rgba(255, 255, 255, 0.9);
  color: #c25310;
  transition: all 0.2s ease-in-out;
}

.landing-product-checktotal .lp-btn-secondary:hover {
  background: rgba(233, 125, 55, 0.08);
  border-color: rgba(233, 125, 55, 0.45);
  color: #9a3412;
}

/* Labeled, so it doesn't read as a second hamburger next to the Intekel navbar's */
.landing-product-checktotal .ct-subnav-toggle {
  gap: 0.25rem;
  padding-inline: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Narrow phones can't fit the label and the CTA: the label shows until the CTA appears past the hero */
@media (max-width: 479px) {
  .landing-product-checktotal #subnav-cta.opacity-0:not(.\!opacity-100) {
    display: none;
  }

  .landing-product-checktotal #subnav-cta:is(.\!opacity-100, :not(.opacity-0)) ~ .ct-subnav-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* Over the whole viewport, as the overlay it already was; the top layer puts it above the navbar */
.landing-product-checktotal .ct-modal {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
}

.landing-product-checktotal .ct-modal::backdrop {
  background: transparent;
}

/* The close button lives in a strip above the box, outside the player, so it never covers YouTube's controls */
.landing-product-checktotal .ct-modal__panel {
  position: relative;
  width: 100%;
  max-width: 64rem;
  padding-top: 3.25rem;
}

.landing-product-checktotal .ct-modal__close {
  position: absolute;
  top: 0;
  right: 0;
}

/* The strip takes its height from the box: dialog padding (2rem) + strip (3.25rem) still fit the screen */
.landing-product-checktotal .ct-modal__panel > #videoModalContent {
  max-height: calc(100vh - 5.25rem);
  max-height: calc(100dvh - 5.25rem);
}

.landing-product-checktotal .ct-wa[data-hero-visible] {
  visibility: hidden;
  opacity: 0;
}

.landing-product-checktotal .lp-btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.25);
  transition: all 0.2s ease-in-out;
}

.landing-product-checktotal .lp-btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.35);
}

.landing-product-checktotal .lp-card {
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #ffffff;
  box-shadow: var(--lp-shadow-soft);
}

.landing-product-checktotal .lp-card-elevated {
  border: 1px solid rgba(233, 125, 55, 0.2);
  background: #ffffff;
  box-shadow: 0 20px 45px rgba(28, 42, 77, 0.08);
}

.landing-product-checktotal .lp-active-link {
  color: #e97d37 !important;
  font-weight: 700;
}

.landing-product-checktotal .lp-nav-link:hover {
  color: #e97d37;
}

/* Product name beside the shield logo (subnav and footer), two-toned like the app's logo */
.landing-product-checktotal .ct-wordmark {
  color: #1c2a4d;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.landing-product-checktotal .ct-wordmark b {
  color: #e97d37;
  font-weight: inherit;
}

@media (min-width: 1024px) {
  .landing-product-checktotal .ct-wordmark {
    font-size: 1.5rem;
  }
}

.landing-product-checktotal .ct-wordmark--footer {
  font-size: 1.5rem;
}

/* The same two-toned name inside running text: it takes the size and spacing of its sentence */
.landing-product-checktotal .ct-wordmark.ct-wordmark--inline {
  font-size: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.landing-product-checktotal .ct-ecosystem__product:hover .ct-ecosystem__arrow {
  color: #d46622;
}

/* FAQ accordion transition */
.landing-product-checktotal .faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 240ms ease;
}

.landing-product-checktotal .faq-item[data-open="true"] .faq-panel {
  grid-template-rows: 1fr;
}

.landing-product-checktotal .faq-item[data-open="true"] .faq-icon {
  transform: rotate(45deg);
}

/*
 * Funciones (#funciones): editorial head + real UI.
 * - Head: four big lines, in the order things happen (record, detect, assign, prove), that are
 *   the section title and its index.
 * - Blocks: each has a number and eyebrow, a big figure and one sentence, beside one piece of the
 *   app's or the portal's UI rebuilt in HTML. Sides alternate.
 * - From lg, a sticky bar under the subnav repeats the four lines once the head has scrolled
 *   away, and marks the block in view.
 */
/* 56rem: the longest line, "Lo demuestras en la auditoría.", needs 823px at the 60px cap */
.landing-product-checktotal .ct-fn-head {
  max-width: 56rem;
}

.landing-product-checktotal .ct-fn-headline {
  margin: 0;
  color: #020617;
  font-size: clamp(2.1rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

/* Number in its own column, so a wrapped line hangs under its text and not under the number */
.landing-product-checktotal .ct-fn-headline__line {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  align-items: baseline;
  color: inherit;
  text-decoration: none;
  text-wrap: balance;
  transition: color 200ms ease;
}

@media (min-width: 640px) {
  .landing-product-checktotal .ct-fn-headline__line {
    grid-template-columns: 2.75rem minmax(0, 1fr);
  }
}

.landing-product-checktotal .ct-fn-headline__line:hover {
  color: #c25310;
}

.landing-product-checktotal .ct-fn-headline__num {
  color: #c25310;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

/* Sticky index: desktop only, hidden until the head scrolls away */
.landing-product-checktotal .ct-fn-index {
  display: none;
}

@media (min-width: 1024px) {
  .landing-product-checktotal .ct-fn-index {
    display: block;
    position: sticky;
    z-index: 30;
    top: var(--ct-subnav-height, 4.5rem);
    margin-top: 2rem;
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.94);
    /* Paint the bar edge to edge without widening the page */
    box-shadow: 0 0 0 100vmax rgba(255, 255, 255, 0.94);
    clip-path: inset(0 -100vmax);
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms ease, visibility 0s linear 200ms;
  }

  .landing-product-checktotal .ct-fn-index.is-shown {
    opacity: 1;
    visibility: visible;
    transition: opacity 200ms ease, visibility 0s;
  }

  .landing-product-checktotal .ct-fn-index ol {
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .landing-product-checktotal .ct-fn-index__link {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    color: #64748b;
    font-size: 0.9375rem;
    font-weight: 700;
    transition: color 200ms ease, border-color 200ms ease;
  }

  .landing-product-checktotal .ct-fn-index__link:hover,
  .landing-product-checktotal .ct-fn-index__link[aria-current="true"] {
    color: #020617;
  }

  .landing-product-checktotal .ct-fn-index__link[aria-current="true"] {
    border-bottom-color: #e97d37;
  }

  .landing-product-checktotal .ct-fn-index__num {
    color: #c25310;
    font-size: 0.75rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
  }
}

/* Blocks */
.landing-product-checktotal .ct-fn-block {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  margin-top: 5rem;
  scroll-margin-top: 5.5rem;
}

.landing-product-checktotal #funciones-campo {
  margin-top: 3.5rem;
}

.landing-product-checktotal .ct-fn-copy {
  min-width: 0;
}

.landing-product-checktotal .ct-fn-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.landing-product-checktotal .ct-fn-eyebrow span {
  color: #c25310;
  font-variant-numeric: tabular-nums;
}

.landing-product-checktotal .ct-fn-figure {
  margin: 0;
  color: #020617;
  font-size: clamp(3rem, 7vw, 4.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

/* A list of words instead of a count (block 02): title size, so it stays at two lines */
.landing-product-checktotal .ct-fn-figure--words {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.landing-product-checktotal .ct-fn-text {
  max-width: 28rem;
  margin: 1rem 0 0;
  color: #334155;
  font-size: 1.125rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.landing-product-checktotal .ct-fn-aside {
  max-width: 28rem;
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.landing-product-checktotal .ct-fn-aside strong {
  margin-right: 0.25rem;
  color: #c25310;
  font-size: 1.5rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.landing-product-checktotal .ct-fn-note {
  margin: 0.75rem 0 0;
  color: #64748b;
  font-size: 0.75rem;
}

/* The section's single sample-data note, after the last block */
.landing-product-checktotal .ct-fn-sample {
  margin: 4rem 0 0;
  color: #64748b;
  font-size: 0.75rem;
  text-align: right;
}

.landing-product-checktotal .ct-fn-names {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 0.5rem;
  max-width: 30rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.landing-product-checktotal .ct-fn-names li {
  padding: 0.25rem 0.625rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #ffffff;
  color: #334155;
  font-size: 0.8125rem;
  font-weight: 600;
}

@media (min-width: 1024px) {
  .landing-product-checktotal .ct-fn-block {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 4rem;
    margin-top: 7rem;
    scroll-margin-top: calc(var(--ct-subnav-height, 4.5rem) + 4rem);
  }

  .landing-product-checktotal #funciones-campo {
    margin-top: 2.5rem;
  }

  .landing-product-checktotal .ct-fn-block--flip {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .landing-product-checktotal .ct-fn-block--flip .ct-fn-copy {
    order: 2;
  }
}

/* A card of the portal, rebuilt in HTML */
.landing-product-checktotal .ct-ui-card {
  position: relative;
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 24px 48px -28px rgba(15, 23, 42, 0.35);
}

.landing-product-checktotal .ct-ui-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid #eef2f6;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 800;
}

.landing-product-checktotal .ct-ui-card__period {
  display: none;
  padding: 0.25rem 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

/* The dashboard's five charts as a plain legend, not tabs: no borders or button look, so nobody
   tries to click them. The active one is dark and marked with a dot. */
.landing-product-checktotal .ct-board-charts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 1.125rem;
  margin: 0;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #eef2f6;
  list-style: none;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: default;
}

.landing-product-checktotal .ct-board-charts li {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.landing-product-checktotal .ct-board-charts li.is-active {
  color: #0f172a;
  font-weight: 800;
}

.landing-product-checktotal .ct-board-charts li.is-active::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #e97d37;
}

.landing-product-checktotal .ct-fn-board {
  max-width: 28rem;
  margin: 1rem 0 0;
  color: #334155;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
}

.landing-product-checktotal .ct-ui-card__body {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}

@media (min-width: 640px) {
  .landing-product-checktotal .ct-ui-card__period {
    display: inline-block;
  }
}

/*
 * Compliance chart: horizontal bars on one 0–100% axis. Rows have no gap so grid lines run
 * unbroken. Bar #d46622 passes the dataviz palette checks on white.
 */
.landing-product-checktotal .ct-hbars {
  display: grid;
  grid-template-columns: minmax(0, 6.75rem) minmax(0, 1fr) 3.25rem;
  grid-template-rows: 1.25rem;
  grid-auto-rows: 2.5rem;
  column-gap: 0.75rem;
  align-items: center;
}

.landing-product-checktotal .ct-axis {
  position: relative;
  align-self: start;
  height: 1rem;
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1rem;
  font-variant-numeric: tabular-nums;
}

.landing-product-checktotal .ct-axis > span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
}

.landing-product-checktotal .ct-axis > span:first-child {
  transform: none;
}

.landing-product-checktotal .ct-axis > span:last-child {
  transform: translateX(-100%);
}

.landing-product-checktotal .ct-hbars__label {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #334155;
  font-size: 0.8125rem;
  line-height: 1rem;
}

.landing-product-checktotal .ct-hbars__track {
  position: relative;
  align-self: stretch;
  border-left: 1px solid #94a3b8;
}

.landing-product-checktotal .ct-grid {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #eef2f6;
}

.landing-product-checktotal .ct-hbars__bar {
  position: absolute;
  top: 50%;
  left: 0;
  height: 1.25rem;
  transform: translateY(-50%);
  border-radius: 0 4px 4px 0;
  background: #d46622;
}

/* Compliance traffic light, colors from the portal's chart: red < 70 %, amber 70–79 %, green ≥ 80 % */
.landing-product-checktotal .ct-hbars__bar--low {
  background: #dc2626;
}

.landing-product-checktotal .ct-hbars__bar--mid {
  background: #f6b347;
}

.landing-product-checktotal .ct-hbars__bar--ok {
  background: #13cf8e;
}

.landing-product-checktotal [data-tip]:hover .ct-hbars__bar {
  filter: brightness(0.92);
}

.landing-product-checktotal .ct-hbars__value {
  color: #0f172a;
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.landing-product-checktotal .ct-chart__axis-title {
  margin: 0.5rem 0 0;
  padding-left: calc(6.75rem + 0.75rem);
  color: #64748b;
  font-size: 0.75rem;
}

.landing-product-checktotal .ct-chart__tip {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  max-width: 16rem;
  padding: 0.375rem 0.625rem;
  border-radius: 0.5rem;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.75rem;
  line-height: 1.125rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease;
}

.landing-product-checktotal .ct-chart__tip.is-visible {
  opacity: 1;
}

/* A phone's plot is too narrow for five ticks: keep 0, 50 and 100 */
@media (max-width: 639.98px) {
  .landing-product-checktotal .ct-axis > span:nth-child(2),
  .landing-product-checktotal .ct-axis > span:nth-child(4) {
    display: none;
  }
}

@media (min-width: 640px) {
  .landing-product-checktotal .ct-hbars {
    grid-template-columns: minmax(0, 10rem) minmax(0, 1fr) 3.5rem;
  }

  .landing-product-checktotal .ct-chart__axis-title {
    padding-left: calc(10rem + 0.75rem);
  }
}

/* Users list, as the portal's catalog: name with photo, role chip, email (hidden on phones) */
.landing-product-checktotal .ct-users {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.landing-product-checktotal .ct-users th,
.landing-product-checktotal .ct-users td {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid #eef2f6;
  text-align: left;
  vertical-align: middle;
}

.landing-product-checktotal .ct-users thead th {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  border-top: 0;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.landing-product-checktotal .ct-users tbody th {
  color: #0f172a;
  font-weight: 700;
}

.landing-product-checktotal .ct-users__person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.landing-product-checktotal .ct-users__avatar {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  object-fit: cover;
  object-position: 50% 25%;
  background: #e2e8f0;
}

.landing-product-checktotal .ct-users__role {
  display: inline-block;
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  background: #fff3e8;
  color: #9a3412;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.landing-product-checktotal .ct-users__email {
  display: none;
  color: #64748b;
}

@media (min-width: 640px) {
  .landing-product-checktotal .ct-users__email {
    display: table-cell;
  }
}

/* Report KPIs, as the recurrence report shows them, plus its Excel button */
.landing-product-checktotal .ct-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.landing-product-checktotal .ct-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0.875rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #f8fafc;
}

.landing-product-checktotal .ct-kpi__label {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-product-checktotal .ct-kpi__value {
  color: #0f172a;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.landing-product-checktotal .ct-kpi--red {
  border-color: #fecaca;
  background: #fef2f2;
}

.landing-product-checktotal .ct-kpi--red .ct-kpi__label,
.landing-product-checktotal .ct-kpi--red .ct-kpi__value {
  color: #dc2626;
}

.landing-product-checktotal .ct-kpi--blue .ct-kpi__value {
  color: #2563eb;
}

.landing-product-checktotal .ct-kpi__rate {
  display: block;
  height: 0.375rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.landing-product-checktotal .ct-kpi__rate span {
  display: block;
  height: 100%;
  background: #dc2626;
}

.landing-product-checktotal .ct-ui-btn {
  display: inline-flex;
  align-self: flex-end;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  background: #f26b35;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: 0 8px 18px -10px rgba(242, 107, 53, 0.8);
}

/*
 * Block 01: the app's walkthrough screen in HTML (colors sampled from the capture). Navy header
 * with type, category and progress; a white sheet of pending questions by checkpoint, each with
 * the icon of what it requires (photo or comment); the last one is cut by the sheet's edge.
 */
.landing-product-checktotal .ct-phone {
  justify-self: center;
  width: 100%;
  max-width: 22rem;
  padding: 0.5rem;
  border-radius: 2.25rem;
  background: #0f172a;
  box-shadow: 0 32px 64px -32px rgba(15, 23, 42, 0.55);
}

.landing-product-checktotal .ct-phone__screen {
  overflow: hidden;
  border-radius: 1.75rem;
  background: #111a33;
}

.landing-product-checktotal .ct-phone__top {
  padding: 1.5rem 1.125rem 1.25rem;
  background: #1c2a4d;
  color: #ffffff;
}

/* QR scanner behind the sheet: a square amber corner frame with the glyph and prompt inside */
.landing-product-checktotal .ct-phone__scan {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 8.5rem;
  aspect-ratio: 1;
  margin: 0.875rem auto 2.25rem;
  padding: 0.75rem;
  color: #64748b;
  text-align: center;
}

.landing-product-checktotal .ct-phone__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: #f5a20c;
  stroke-width: 3;
  stroke-linecap: round;
}

.landing-product-checktotal .ct-phone__glyph {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.375rem;
}

.landing-product-checktotal .ct-phone__scan p {
  margin: 0;
  color: #7c8aa3;
  font-size: 0.625rem;
  line-height: 1.3;
}

.landing-product-checktotal .ct-phone__scan span {
  display: block;
}

.landing-product-checktotal .ct-phone__title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.landing-product-checktotal .ct-phone__meta {
  display: grid;
  gap: 0.5rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
}

.landing-product-checktotal .ct-phone__meta p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: #e2e8f0;
  font-size: 0.8125rem;
}

.landing-product-checktotal .ct-phone__meta svg {
  flex-shrink: 0;
}

.landing-product-checktotal .ct-phone__meta strong {
  color: #ffffff;
  font-weight: 700;
}

.landing-product-checktotal .ct-phone__progress {
  display: flex;
  justify-content: space-between;
  margin: 1rem 0 0.5rem;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}

.landing-product-checktotal .ct-phone__bar {
  display: block;
  height: 0.375rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.landing-product-checktotal .ct-phone__bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #f26b35;
}

.landing-product-checktotal .ct-phone__sheet {
  position: relative;
  margin-top: -1.5rem;
  padding: 0.625rem 0.875rem 1rem;
  border-radius: 1.5rem 1.5rem 0 0;
  background: #ffffff;
}

.landing-product-checktotal .ct-phone__handle {
  display: block;
  width: 2.5rem;
  height: 0.25rem;
  margin: 0 auto 0.875rem;
  border-radius: 999px;
  background: #cbd5e1;
}

.landing-product-checktotal .ct-phone__pending {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 -0.875rem 0.75rem;
  padding: 0 0.875rem 0.75rem;
  border-bottom: 1px solid #eef2f6;
  color: #0f172a;
  font-size: 0.9375rem;
  font-weight: 700;
}

.landing-product-checktotal .ct-phone__questions {
  display: grid;
  gap: 0.5rem;
  max-height: 15.5rem;
  margin: 0;
  padding: 0 0 0.25rem;
  overflow: hidden;
  list-style: none;
}

.landing-product-checktotal .ct-phone__questions li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem;
  border: 1px solid #edf1f6;
  border-radius: 0.875rem;
  background: #ffffff;
  box-shadow: 0 4px 10px -8px rgba(15, 23, 42, 0.35);
}

.landing-product-checktotal .ct-phone__qr {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: #e8eef6;
  color: #64748b;
}

.landing-product-checktotal .ct-phone__question {
  flex: 1;
  min-width: 0;
  color: #1e293b;
  font-size: 0.8125rem;
  line-height: 1.35;
}

.landing-product-checktotal .ct-phone__requires {
  flex-shrink: 0;
  color: #f26b35;
}

/* The next question peeks in under the fold of the list, as in the app */
.landing-product-checktotal .ct-phone__questions li.is-cut {
  height: 2rem;
  padding-top: 0.5rem;
  overflow: hidden;
  align-items: flex-start;
  mask-image: linear-gradient(#000 30%, transparent);
}

.landing-product-checktotal .ct-phone__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.875rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: #f26b35;
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 700;
  box-shadow: 0 10px 20px -12px rgba(242, 107, 53, 0.9);
}

/*
 * The two ways to inspect, fanned: on-site in front (+3°, right), the walkthrough behind (−5°,
 * left). Both screens get the same height so the hand looks even. From lg, hovering the one behind
 * brings it forward. Below lg the front phone takes the width and the one behind only peeks out
 * on the left; each keeps its label under it (behind: left, front: right).
 */
.landing-product-checktotal .ct-phones {
  display: grid;
  justify-items: center;
  min-width: 0;
  padding: 0 0 0.25rem;
  overflow-x: clip;
}

.landing-product-checktotal .ct-phones__item {
  grid-area: 1 / 1;
  width: calc(100% - 2.25rem);
  max-width: 22rem;
}

.landing-product-checktotal .ct-phones__item .ct-phone {
  max-width: none;
}

.landing-product-checktotal .ct-phones__item--front {
  z-index: 2;
  translate: 1.125rem 0;
}

.landing-product-checktotal .ct-phones__item--back {
  z-index: 1;
  translate: -1.125rem 0;
  rotate: -2.5deg;
}

.landing-product-checktotal .ct-phones .ct-phone__screen {
  display: flex;
  flex-direction: column;
  height: 43.25rem;
}

.landing-product-checktotal .ct-phones .ct-phone__sheet {
  flex: 1;
}

.landing-product-checktotal .ct-phones__tag {
  display: block;
  margin-top: 0.875rem;
  color: #334155;
  font-size: 0.8125rem;
  font-weight: 800;
}

.landing-product-checktotal .ct-phones__item--front .ct-phones__tag {
  text-align: right;
}

.landing-product-checktotal .ct-phones__item--back .ct-phones__tag {
  text-align: left;
}

@media (min-width: 1024px) {
  /* Room for the tilted corners and the labels */
  .landing-product-checktotal .ct-phones {
    padding: 1rem 0 0.75rem;
    overflow-x: visible;
  }

  .landing-product-checktotal .ct-phones__item {
    width: 22rem;
    will-change: translate, rotate;
  }

  .landing-product-checktotal .ct-phones__item--front {
    translate: 3.75rem 0.5rem;
    rotate: 3deg;
  }

  .landing-product-checktotal .ct-phones__item--back {
    translate: -4.5rem 0;
    rotate: -5deg;
  }
}

/* Hovering the phone behind is animated in JS (Web Animations): it slides out left, passes in front
   halfway, and settles; leaving plays it backwards from wherever it is. With reduced motion the
   script only toggles this end state. */
@media (min-width: 1024px) and (hover: hover) {
  .landing-product-checktotal .ct-phones.is-raised .ct-phones__item--back {
    z-index: 3;
    translate: -5.25rem -0.75rem;
    rotate: -3deg;
  }
}

/* On-site screen: light body with the question card, photo controls and the bottom nav bar */
.landing-product-checktotal .ct-phone__screen--light {
  background: #f3f5f8;
}

.landing-product-checktotal .ct-phone__body {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 0.5rem;
  min-height: 0;
  padding: 0.75rem 0.75rem 0;
  overflow: hidden;
}

.landing-product-checktotal .ct-phone__card {
  padding: 0.75rem;
  border: 1px solid #edf1f6;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 4px 12px -8px rgba(15, 23, 42, 0.3);
}

.landing-product-checktotal .ct-phone__ask {
  margin: 0 0 0.625rem;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
}

.landing-product-checktotal .ct-phone__answer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.375rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.75rem;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 700;
}

.landing-product-checktotal .ct-phone__answer + .ct-phone__answer {
  margin-top: 0.375rem;
}

.landing-product-checktotal .ct-phone__answer--ok svg {
  color: #16a34a;
}

.landing-product-checktotal .ct-phone__answer--issue.is-selected {
  border-color: #dc2626;
  background: #dc2626;
  color: #ffffff;
}

.landing-product-checktotal .ct-phone__add-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 4px 10px -8px rgba(15, 23, 42, 0.35);
}

.landing-product-checktotal .ct-phone__card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 700;
}

.landing-product-checktotal .ct-phone__card-title span {
  margin-left: auto;
  color: #64748b;
  font-weight: 500;
}

.landing-product-checktotal .ct-phone__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 3.75rem);
  gap: 0.5rem;
  margin-top: 0.625rem;
}

.landing-product-checktotal .ct-phone__thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 0.5rem;
  object-fit: cover;
}

.landing-product-checktotal .ct-phone__thumb-add {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 1.5px dashed #cbd5e1;
  border-radius: 0.5rem;
  background: #e8eef6;
  color: #64748b;
  font-size: 1.5rem;
  line-height: 1;
}

/* The comment card runs under the nav bar, as in the app */
.landing-product-checktotal .ct-phone__card--cut {
  padding-bottom: 3rem;
}

.landing-product-checktotal .ct-phone__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem 0.75rem;
  border-top: 1px solid #eef2f6;
  background: #ffffff;
}

.landing-product-checktotal .ct-phone__nav span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.625rem;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
}

.landing-product-checktotal .ct-phone__nav-prev {
  background: #eef2f7;
  color: #94a3b8;
}

.landing-product-checktotal .ct-phone__nav-next {
  background: #f26b35;
  color: #ffffff;
  box-shadow: 0 10px 20px -12px rgba(242, 107, 53, 0.9);
}

@media (prefers-reduced-motion: reduce) {
  .landing-product-checktotal .ct-fn-index,
  .landing-product-checktotal .ct-fn-index.is-shown,
  .landing-product-checktotal .ct-chart__tip {
    transition: none;
  }
}

/*
 * Landing identity (product-landing-migration instructions, section 2):
 * - Buyer: quality, EHS, and operations managers who must prove every finding was closed.
 * - Tone: controlled and analytical. Motion: restrained (scroll reveals, sticky screenshot swap).
 * - Visual metaphor: the real UI of a nonconformity moving from the app to closure on the web.
 *   No fleet or Inspectruck imagery.
 * - Trust: Intekel track record, ISO 27001:2022, evidence for ISO 9001/14001/45001 audits.
 * - Palette: navy #1c2a4d and slate-950 surfaces, orange #e97d37 as the only accent.
 */

/*
 * Hero stage: the inspector over an orange arch, the app form that raises the nonconformity, and
 * the three steps floating around them. Everything is sized in cqw of .ct-mock so it scales as one
 * piece; the arch frames the cropped vest, and the background fades into the next section.
 */
.landing-product-checktotal .ct-hero {
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0) 55%, #ffffff 100%),
    linear-gradient(90deg, #ffffff 35%, #fdeee3 100%);
}

.landing-product-checktotal .ct-hero__title {
  word-spacing: 0.08em;
}

/* #d46622, not the brand's #e97d37: large text on this background needs 3:1 */
.landing-product-checktotal .ct-hero__accent {
  color: #d46622;
}

.landing-product-checktotal .ct-hero__video {
  border: 1.5px solid rgba(28, 42, 77, 0.3);
  color: #1c2a4d;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.landing-product-checktotal .ct-hero__video:hover {
  border-color: rgba(28, 42, 77, 0.55);
  background: rgba(28, 42, 77, 0.06);
}

.landing-product-checktotal .ct-mock {
  container-type: inline-size;
  max-width: 40rem;
  margin-inline: auto;
  padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  .landing-product-checktotal .ct-mock {
    max-width: none;
  }
}

.landing-product-checktotal .ct-mock__stage {
  --phone-w: 30cqw;
  --bezel: 1cqw;
  --status-h: 3cqw;
  position: relative;
  aspect-ratio: 1 / 1;
}

.landing-product-checktotal .ct-mock img {
  display: block;
  width: 100%;
  height: auto;
}

.landing-product-checktotal .ct-mock__arch {
  position: absolute;
  top: 13cqw;
  right: 3cqw;
  bottom: 0;
  left: 21cqw;
  border-radius: 38cqw 38cqw 3cqw 3cqw;
  background: linear-gradient(180deg, #f29a5c 0%, #d46622 100%);
}

.landing-product-checktotal .ct-mock__subject {
  position: absolute;
  bottom: 0;
  left: 19cqw;
  width: 78.5cqw;
}

.landing-product-checktotal .ct-mock__screen,
.landing-product-checktotal .ct-mock__shot {
  position: relative;
}

.landing-product-checktotal .ct-mock__phone {
  position: absolute;
  z-index: 2;
  bottom: 2cqw;
  left: -3cqw;
  width: var(--phone-w);
  margin: 0;
  padding: var(--bezel);
  border-radius: calc(var(--phone-w) * 0.13);
  background: #0f1830;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 24px 40px -20px rgba(28, 42, 77, 0.55);
}

.landing-product-checktotal .ct-mock__phone .ct-mock__screen {
  overflow: hidden;
  border-radius: calc(var(--phone-w) * 0.1);
  background: #f3f5f9;
}

/* Matches the app header so the drawn status bar and the screenshot read as one screen */
.landing-product-checktotal .ct-mock__statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--status-h);
  padding-inline: 1.6cqw;
  background: #1e2a42;
  color: #ffffff;
  font-size: max(6px, calc(var(--status-h) * 0.42));
  font-weight: 700;
  line-height: 1;
}

.landing-product-checktotal .ct-mock__statusbar svg {
  height: 0.9em;
  width: auto;
}

/* The three steps float over the stage; below 640px only their names fit */
.landing-product-checktotal .ct-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-product-checktotal .ct-step {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem 0.375rem 0.375rem;
  border-radius: 0.875rem;
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(28, 42, 77, 0.08),
    0 18px 32px -12px rgba(28, 42, 77, 0.4);
}

.landing-product-checktotal .ct-step--1 { top: 13cqw; left: 1cqw; }
.landing-product-checktotal .ct-step--2 { top: 38cqw; right: 0; }
.landing-product-checktotal .ct-step--3 { right: 4cqw; bottom: 8cqw; }

.landing-product-checktotal .ct-step__node {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.625rem;
  background: #1c2a4d;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1;
}

.landing-product-checktotal .ct-step--3 .ct-step__node {
  background: #d46622;
}

.landing-product-checktotal .ct-step__node svg {
  width: 1.125rem;
  height: 1.125rem;
}

.landing-product-checktotal .ct-step__text {
  min-width: 0;
}

.landing-product-checktotal .ct-step__name {
  display: block;
  color: #1c2a4d;
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.2;
}

.landing-product-checktotal .ct-step__desc {
  display: none;
  margin-top: 0.125rem;
  color: #475569;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .landing-product-checktotal .ct-step {
    gap: 0.75rem;
    width: 34cqw;
    padding: 0.625rem 0.875rem 0.625rem 0.625rem;
    border-radius: 1rem;
  }

  .landing-product-checktotal .ct-step__node {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    font-size: 1rem;
  }

  .landing-product-checktotal .ct-step__name {
    font-size: 1.0625rem;
  }

  .landing-product-checktotal .ct-step__desc {
    display: block;
  }
}

/* One entrance: the phone rises, then the steps land in order and keep floating from lg */
@keyframes ct-mock-rise {
  from { opacity: 0; transform: translateY(6%); }
  to { opacity: 1; transform: none; }
}

@keyframes ct-step-land {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes ct-step-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: no-preference) {
  .landing-product-checktotal .ct-mock__phone {
    animation: ct-mock-rise 560ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms both;
  }

  .landing-product-checktotal .ct-step {
    animation: ct-step-land 480ms cubic-bezier(0.22, 1, 0.36, 1) var(--land) both;
  }

  .landing-product-checktotal .ct-step--1 { --land: 500ms; --float: 5.2s; }
  .landing-product-checktotal .ct-step--2 { --land: 800ms; --float: 6s; }
  .landing-product-checktotal .ct-step--3 { --land: 1100ms; --float: 5.6s; }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 1024px) {
  .landing-product-checktotal .ct-step {
    animation:
      ct-step-land 480ms cubic-bezier(0.22, 1, 0.36, 1) var(--land) both,
      ct-step-float var(--float) ease-in-out calc(var(--land) + 480ms) infinite;
  }
}

/*
 * Nonconformity turns (#no-conformidades): the three people stay in view with their photos clean.
 * In each phase the person who has the nonconformity takes more room, the color of its state and
 * the fragment of the app for that moment; the arrow of the handoff takes the same color.
 * The script only sets data-phase (1-5) and data-person (0-2) on .ct-turns; everything else is here.
 * Tones come from the app's state chips: open amber, in progress blue, rejected red, closed green.
 */
.landing-product-checktotal .ct-turns {
  --ct-tone: #b45309;
  --ct-tone-soft: #fef3c7;
  --ct-photo-h: clamp(22rem, 32vw, 27rem);
}

.landing-product-checktotal .ct-turns[data-phase="2"],
.landing-product-checktotal .ct-turns[data-phase="4"] {
  --ct-tone: #1d4ed8;
  --ct-tone-soft: #e0eaff;
}

.landing-product-checktotal .ct-turns[data-phase="3"] {
  --ct-tone: #b91c1c;
  --ct-tone-soft: #fee2e2;
}

.landing-product-checktotal .ct-turns[data-phase="5"] {
  --ct-tone: #0f7a4a;
  --ct-tone-soft: #d3f5e3;
}

/* Below lg: one column, people as strips that open on their turn, arrows pointing down between them */
.landing-product-checktotal .ct-turns__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.landing-product-checktotal .ct-turn__photo {
  position: relative;
  height: 6.5rem;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #cbd5e1;
  transition: height 450ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 400ms ease;
}

.landing-product-checktotal .ct-turn__text {
  padding-top: 0.85rem;
}

.landing-product-checktotal .ct-turn__ui {
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: opacity 350ms ease, transform 350ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 350ms;
}

.landing-product-checktotal .ct-turn__phase {
  display: none;
}

.landing-product-checktotal .ct-turn__state {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  padding: 0.2rem 0.7rem;
  border-radius: 9999px;
  background: var(--ct-tone-soft);
  color: var(--ct-tone);
  font-size: 0.8rem;
  font-weight: 700;
}

.landing-product-checktotal .ct-turn__state::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: currentColor;
}

/* Whose turn it is */
.landing-product-checktotal .ct-turns[data-person="0"] .ct-turn[data-person="0"],
.landing-product-checktotal .ct-turns[data-person="1"] .ct-turn[data-person="1"],
.landing-product-checktotal .ct-turns[data-person="2"] .ct-turn[data-person="2"] {
  --ct-turn: 1;
}

.landing-product-checktotal .ct-turn {
  --ct-turn: 0;
}

.landing-product-checktotal .ct-turns[data-person="0"] .ct-turn[data-person="0"] .ct-turn__photo,
.landing-product-checktotal .ct-turns[data-person="1"] .ct-turn[data-person="1"] .ct-turn__photo,
.landing-product-checktotal .ct-turns[data-person="2"] .ct-turn[data-person="2"] .ct-turn__photo {
  height: 19rem;
  box-shadow: 0 0 0 3px #f2f4f7, 0 0 0 6px var(--ct-tone);
}

.landing-product-checktotal .ct-turns[data-person="0"] .ct-turn[data-person="0"] .ct-turn__summary,
.landing-product-checktotal .ct-turns[data-person="1"] .ct-turn[data-person="1"] .ct-turn__summary,
.landing-product-checktotal .ct-turns[data-person="2"] .ct-turn[data-person="2"] .ct-turn__summary {
  display: none;
}

/* What the current phase shows: its fragment, its title and its arrow */
.landing-product-checktotal .ct-turns[data-phase="1"] .ct-turn__ui[data-on~="1"],
.landing-product-checktotal .ct-turns[data-phase="2"] .ct-turn__ui[data-on~="2"],
.landing-product-checktotal .ct-turns[data-phase="3"] .ct-turn__ui[data-on~="3"],
.landing-product-checktotal .ct-turns[data-phase="4"] .ct-turn__ui[data-on~="4"],
.landing-product-checktotal .ct-turns[data-phase="5"] .ct-turn__ui[data-on~="5"] {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 350ms ease 200ms, transform 350ms cubic-bezier(0.22, 1, 0.36, 1) 200ms, visibility 0s;
}

.landing-product-checktotal .ct-turns[data-phase="1"] .ct-turn__phase[data-on~="1"],
.landing-product-checktotal .ct-turns[data-phase="2"] .ct-turn__phase[data-on~="2"],
.landing-product-checktotal .ct-turns[data-phase="3"] .ct-turn__phase[data-on~="3"],
.landing-product-checktotal .ct-turns[data-phase="4"] .ct-turn__phase[data-on~="4"],
.landing-product-checktotal .ct-turns[data-phase="5"] .ct-turn__phase[data-on~="5"] {
  display: block;
}

/*
 * Handoff between #como-funciona and #no-conformidades: the answer "Incidencia" (red, as the app
 * shows it) turns into an open nonconformity (amber, its state color), joined by the same SVG
 * arrow the phases use. It sits on the seam, centered, between the centered heading above and the
 * left-aligned one below.
 */
.landing-product-checktotal .ct-handoff__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.8rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
}

.landing-product-checktotal .ct-handoff__chip--answer {
  background: #fde4e4;
  color: #a61b1b;
  box-shadow: 0 0 0 1px rgba(166, 27, 27, 0.18);
}

.landing-product-checktotal .ct-handoff__chip--answer::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: currentColor;
}

.landing-product-checktotal .ct-handoff__chip--open {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 0 0 1px #dde3ec, 0 8px 18px -14px rgba(28, 42, 77, 0.45);
}

.landing-product-checktotal .ct-handoff__state {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  background: #fef3c7;
  color: #b45309;
  font-size: 0.75rem;
}

.landing-product-checktotal .ct-handoff__state::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  background: currentColor;
}

.landing-product-checktotal .ct-handoff__arrow {
  display: block;
  margin: 0.4rem 0;
  color: #b45309;
}

.landing-product-checktotal .ct-handoff .ct-arrow__svg--y {
  display: block;
  height: 2.75rem;
}

/*
 * Arrows: a handoff. A thin track with an open chevron, and a chip that names what changes hands
 * with its icon. Idle they read grey; the arrow of the current phase takes its tone and the chip
 * its soft tint, like the app's state chips. Below lg they point down, from lg across.
 */
.landing-product-checktotal .ct-turns__gap {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.landing-product-checktotal .ct-arrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #a3adbd;
  transition: color 350ms ease;
}

/* The arrow is one SVG line with a chevron marker; the box sets its length */
.landing-product-checktotal .ct-arrow__svg {
  flex-shrink: 0;
  overflow: visible;
}

.landing-product-checktotal .ct-arrow__svg--y {
  width: 0.875rem;
  height: 2.5rem;
}

.landing-product-checktotal .ct-arrow__line {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.landing-product-checktotal .ct-arrow--back .ct-arrow__line {
  stroke-dasharray: 3.5 5;
}

.landing-product-checktotal .ct-arrow__chip {
  display: inline-flex;
  flex-direction: column;
  gap: 0.3rem;
  max-width: 100%;
  padding: 0.4rem 0.6rem;
  border-radius: 0.7rem;
  background: #ffffff;
  box-shadow: 0 0 0 1px #dde3ec, 0 8px 18px -14px rgba(28, 42, 77, 0.45);
  transition: background-color 350ms ease, box-shadow 350ms ease;
}

.landing-product-checktotal .ct-arrow__label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  transition: color 350ms ease;
}

.landing-product-checktotal .ct-arrow__label svg {
  flex-shrink: 0;
  width: 0.9rem;
  height: 0.9rem;
}

.landing-product-checktotal .ct-turns[data-phase="1"] .ct-arrow[data-on~="1"],
.landing-product-checktotal .ct-turns[data-phase="2"] .ct-arrow[data-on~="2"],
.landing-product-checktotal .ct-turns[data-phase="3"] .ct-arrow[data-on~="3"],
.landing-product-checktotal .ct-turns[data-phase="4"] .ct-arrow[data-on~="4"],
.landing-product-checktotal .ct-turns[data-phase="5"] .ct-arrow[data-on~="5"] {
  color: var(--ct-tone);
}

.landing-product-checktotal .ct-turns[data-phase="1"] .ct-arrow[data-on~="1"] .ct-arrow__chip,
.landing-product-checktotal .ct-turns[data-phase="2"] .ct-arrow[data-on~="2"] .ct-arrow__chip,
.landing-product-checktotal .ct-turns[data-phase="3"] .ct-arrow[data-on~="3"] .ct-arrow__chip,
.landing-product-checktotal .ct-turns[data-phase="4"] .ct-arrow[data-on~="4"] .ct-arrow__chip,
.landing-product-checktotal .ct-turns[data-phase="5"] .ct-arrow[data-on~="5"] .ct-arrow__chip {
  background: var(--ct-tone-soft);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ct-tone) 35%, transparent), 0 8px 18px -14px rgba(28, 42, 77, 0.45);
}

.landing-product-checktotal .ct-turns[data-phase="3"] .ct-arrow--back[data-on~="3"] .ct-arrow__line {
  stroke-dasharray: none;
}

.landing-product-checktotal .ct-turns[data-phase="1"] .ct-arrow__label[data-on~="1"],
.landing-product-checktotal .ct-turns[data-phase="2"] .ct-arrow__label[data-on~="2"],
.landing-product-checktotal .ct-turns[data-phase="3"] .ct-arrow__label[data-on~="3"],
.landing-product-checktotal .ct-turns[data-phase="4"] .ct-arrow__label[data-on~="4"],
.landing-product-checktotal .ct-turns[data-phase="5"] .ct-arrow__label[data-on~="5"] {
  color: var(--ct-tone);
  font-weight: 700;
}

/* The phase bar: the sequence is real, so its steps carry numbers */
.landing-product-checktotal .ct-turns__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.landing-product-checktotal .ct-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.4rem 1rem 0.4rem 0.45rem;
  border: 0;
  border-radius: 9999px;
  background: #ffffff;
  box-shadow: 0 0 0 1px #d8dee8;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 250ms ease, color 250ms ease;
}

.landing-product-checktotal .ct-tab:hover {
  color: #0f172a;
  box-shadow: 0 0 0 1px #94a3b8;
}

.landing-product-checktotal .ct-tab:focus-visible {
  outline: 3px solid #1c2a4d;
  outline-offset: 3px;
}

.landing-product-checktotal .ct-tab__num {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 9999px;
  background: #eef1f5;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 800;
  transition: background-color 250ms ease, color 250ms ease;
}

.landing-product-checktotal .ct-tab[aria-selected="true"] {
  color: #0f172a;
  box-shadow: 0 0 0 2px var(--ct-tone);
}

.landing-product-checktotal .ct-tab[aria-selected="true"] .ct-tab__num {
  background: var(--ct-tone);
  color: #ffffff;
}

/* From lg: the people side by side; the one with the turn takes 1.7 shares of the row */
@media (min-width: 1024px) {
  .landing-product-checktotal .ct-turns__stage {
    grid-template-columns: 1fr 9.5rem 1fr 9.5rem 1fr;
    align-items: start;
    transition: grid-template-columns 600ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .landing-product-checktotal .ct-turns[data-person="0"] .ct-turns__stage {
    grid-template-columns: 1.7fr 9.5rem 1fr 9.5rem 1fr;
  }

  .landing-product-checktotal .ct-turns[data-person="1"] .ct-turns__stage {
    grid-template-columns: 1fr 9.5rem 1.7fr 9.5rem 1fr;
  }

  .landing-product-checktotal .ct-turns[data-person="2"] .ct-turns__stage {
    grid-template-columns: 1fr 9.5rem 1fr 9.5rem 1.7fr;
  }

  .landing-product-checktotal .ct-turn__photo,
  .landing-product-checktotal .ct-turns[data-person="0"] .ct-turn[data-person="0"] .ct-turn__photo,
  .landing-product-checktotal .ct-turns[data-person="1"] .ct-turn[data-person="1"] .ct-turn__photo,
  .landing-product-checktotal .ct-turns[data-person="2"] .ct-turn[data-person="2"] .ct-turn__photo {
    height: var(--ct-photo-h);
    border-radius: 1.5rem;
  }

  /* Room for a two-line phase title, so the phase bar below doesn't jump between phases */
  .landing-product-checktotal .ct-turn__text {
    min-height: 8.75rem;
    padding-top: 1rem;
  }

  /* The arrows sit across the middle of the photos; the chip rides above its track (below it on
     the way back), so the track and its chevron always show whole */
  .landing-product-checktotal .ct-turns__gap {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    height: var(--ct-photo-h);
    padding: 0 0.35rem;
  }

  /* Chip above the track going, below it coming back: the two tracks meet in the middle */
  .landing-product-checktotal .ct-arrow {
    flex-direction: column-reverse;
    align-items: center;
    gap: 0.55rem;
  }

  .landing-product-checktotal .ct-arrow--back {
    flex-direction: column;
  }

  /* Narrower than its chip, so the chevrons clear the active card's 6px ring */
  .landing-product-checktotal .ct-arrow__svg--x {
    width: calc(100% - 0.8rem);
    height: 0.875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-product-checktotal .ct-turns__stage,
  .landing-product-checktotal .ct-turn__photo,
  .landing-product-checktotal .ct-turn__ui,
  .landing-product-checktotal .ct-arrow,
  .landing-product-checktotal .ct-arrow__chip,
  .landing-product-checktotal .ct-arrow__label {
    transition: none;
  }
}

/*
 * Paper and chats as a failed checklist (#recorridos). The sheet is the paper checklist from the
 * photo: paper tone, faint rules every 2.5rem and a slight tilt from lg up. Kept sober on purpose.
 */
.landing-product-checktotal .ct-sheet {
  background-color: #fbf8f1;
  background-image: repeating-linear-gradient(to bottom, transparent 0 2.5rem, rgba(28, 42, 77, 0.06) 2.5rem calc(2.5rem + 1px));
  box-shadow: 0 0 0 1px #e9e1cf, 0 28px 50px -30px rgba(28, 42, 77, 0.45);
}

@media (min-width: 1024px) {
  .landing-product-checktotal .ct-sheet {
    transform: rotate(-1.2deg);
  }
}

.landing-product-checktotal .ct-audit__stamp {
  transform: rotate(-7deg);
}

/* The one motion here: each red mark stamps in with a slight overshoot, one after another, and the
   "No cumple" stamp lands last. The script arms it only when motion is allowed. */
.landing-product-checktotal .ct-audit.is-armed .ct-audit__mark,
.landing-product-checktotal .ct-audit.is-armed .ct-audit__stamp {
  opacity: 0;
  transition: opacity 240ms ease, transform 420ms cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(var(--ct-audit-i, 0) * 260ms + 200ms);
}

.landing-product-checktotal .ct-audit.is-armed .ct-audit__mark {
  transform: scale(1.5) rotate(-8deg);
}

.landing-product-checktotal .ct-audit.is-armed .ct-audit__stamp {
  transform: scale(1.8) rotate(-16deg);
}

.landing-product-checktotal .ct-audit.is-armed.is-played .ct-audit__mark {
  opacity: 1;
  transform: none;
}

.landing-product-checktotal .ct-audit.is-armed.is-played .ct-audit__stamp {
  opacity: 1;
  transform: rotate(-7deg);
}

/* Section reveals: a short rise and fade, once */
.landing-product-checktotal .lp-reveal {
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.landing-product-checktotal .lp-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .landing-product-checktotal .lp-reveal {
    transform: none;
    transition: opacity 300ms linear;
  }
}

