/* Signature features: a split, a wide capture and two equal-weight themed tiles.
   Real product captures and explicit status flags retain their original meaning. */

.v5-signature {
  background: var(--site-background);
}
.v5-signature-head {
  max-width: 860px;
  margin-bottom: 88px;
}

/* ---- Beat layouts: split (copy left), flip (copy right), wide (capture full width) */
.v5-sig {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 72px;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid var(--v5-hairline);
  scroll-margin-top: 88px;
}
.v5-sig-wide {
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
}
.v5-sig-wide .v5-sig-copy {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 24px 72px;
  align-items: start;
}

/* ---- Copy */
.v5-sig-copy h3 {
  font-size: 38px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.v5-sig-lede > p {
  max-width: 62ch;
  margin-top: 16px;
  color: var(--site-muted);
  font-size: 18px;
  line-height: 1.6;
  text-wrap: pretty;
}
.v5-sig-points {
  display: grid;
  gap: 4px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.v5-sig-wide .v5-sig-points {
  margin-top: 6px;
}
.v5-sig-points li {
  color: var(--site-muted);
  font-size: 15px;
  line-height: 1.45;
}
.v5-sig-contrast {
  max-width: 60ch;
  margin-top: 14px;
  color: var(--site-muted);
  font-size: 15px;
  line-height: 1.55;
}
.v5-sig-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 14px;
}
.v5-sig-status {
  padding: 3px 10px;
  border: 1px solid var(--v5-hairline);
  border-radius: 6px;
  color: var(--site-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
/* ---- Bare captures; the image itself is the enlargement target. */
.v5-sig-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0;
}
.v5-sig-visual .v5-zoom img {
  width: 100%;
  height: auto;
}

/* Preview: paired phones */
.v5-sig-visual-preview {
  display: grid;
  grid-template-columns: 210px minmax(0, 320px);
  justify-content: center;
  align-items: center;
  column-gap: 28px;
}
.v5-sig-phone {
  position: relative;
  z-index: 1;
  border: 6px solid #252525;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.85);
}
.v5-sig-phone img {
  width: 100%;
  height: auto;
}
.v5-sig-phone-solo {
  width: 280px;
}

/* Two capabilities, exactly two cells; their captures provide different silhouettes. */
.v5-sig-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-top: 40px;
}
.v5-sig-pair .v5-sig-tile {
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  align-items: start;
  gap: 32px;
  padding: 32px;
  border: 1px solid var(--site-border);
  border-radius: 16px;
  background: var(--site-surface);
}
.v5-sig-pair .v5-sig-tile:nth-child(2) {
  background: color-mix(in srgb, var(--site-surface) 94%, var(--v5-blue));
}
.v5-sig-tile .v5-sig-copy h3 {
  font-size: clamp(26px, 2.4vw, 30px);
}
.v5-sig-tile .v5-sig-lede > p {
  font-size: 17px;
  line-height: 1.55;
}
.v5-sig-tile .v5-sig-visual {
  align-self: end;
  width: 100%;
}
.v5-sig-tile .v5-sig-phone-solo {
  width: 240px;
}
.v5-sig-status {
  background: var(--site-raised);
}
@media (max-width: 719px) {
  .v5-sig-pair {
    grid-template-columns: minmax(0, 1fr);
  }
  .v5-sig-pair .v5-sig-tile {
    padding: 24px;
  }
  .v5-sig-tile .v5-sig-phone-solo {
    width: min(64vw, 240px);
  }
}

@media (max-width: 1039px) {
  .v5-sig,
  .v5-sig-wide .v5-sig-copy {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .v5-sig-wide .v5-sig-copy {
    gap: 0;
  }
  .v5-sig-wide .v5-sig-points {
    margin-top: 24px;
  }
  .v5-sig-copy {
    max-width: 680px;
  }
  .v5-signature-head {
    margin-bottom: 56px;
  }
}

@media (max-width: 719px) {
  .v5-sig {
    padding: 56px 0;
  }
  .v5-sig-copy h3 {
    font-size: 30px;
  }
  .v5-sig-visual-preview {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }
  .v5-sig-phone {
    width: min(52vw, 220px);
  }
  .v5-sig-phone-solo {
    width: min(64vw, 260px);
  }
  .v5-sig-visual-preview {
    row-gap: 20px;
  }
}
