/* ============================================================
   JYOTVIRA — Trust & proof additions (Nov 2026)
   Industry status tiles, proof strip links, "How to start" steps,
   technology core, company details card.
   Loaded as trust.css?v=YYYYMMDD: .htaccess caches CSS as immutable
   for a year, so bump the ?v= value on every page whenever this changes.
   ============================================================ */

/* ---- Section scroll trap fix ----
   motion.css gives sections overflow-x:hidden, which silently turns overflow-y into auto.
   Where decorative blobs spill past a section's bottom (home #services, #why), the section
   became its own scroll area: the mouse wheel moved the section's content before the page.
   overflow: clip clips identically but is never scrollable. */
@supports (overflow: clip) {
  .section,
  .section--alt,
  .section--white,
  .section--blue,
  .section--gold { overflow: clip; }
}

/* ---- Contact sidebar at exactly 1024px (iPad landscape) ----
   components.css (max-width:1024px) makes the sidebar a 2-column grid while layout.css
   (min-width:1024px) squeezes it into a 300px column, so blocks became ~140px wide. */
@media (min-width: 1024px) {
  .contact-sidebar { display: flex; flex-direction: column; }
}

/* ---- Industry tiles: what we've built for each, with real status ---- */
.industry-built {
  list-style: none;
  margin: auto 0 0; /* sit at the bottom so the dashed rules line up across a row */
  padding: var(--space-3) 0 0;
  width: 100%;
  border-top: 1px dashed var(--color-border);
  display: grid;
  gap: 6px;
}
.industry-built li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-primary);
}
.industry-built .badge,
.industry-product-link__name .badge {
  font-size: 10px;
  padding: 1px 6px;
  gap: 4px;
}
.industry-product-link__name .badge {
  margin-left: 8px;
  vertical-align: 2px;
}
.industry-item--cta {
  border-style: dashed;
  justify-content: center;
  background: transparent;
  text-decoration: none;
}
.industry-item--cta:hover { background: var(--color-surface); }
.industry-item--cta .industry-item__name { color: var(--color-cta); }

/* ---- Proof strip: links under the points ---- */
.trust-strip__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3) var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}
.trust-strip__links a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-cta);
  text-decoration: none;
}
.trust-strip__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.trust-strip__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6) var(--space-4);
}
@media (min-width: 900px) {
  .trust-strip__points { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.trust-strip__point-label { max-width: 230px; margin-inline: auto; }

/* ---- How to start ---- */
.start-steps { gap: var(--space-4); }
@media (max-width: 639px) {
  .start-steps { grid-template-columns: 1fr; }
}
.start-steps .why-card { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); }
.start-steps .why-card__title { font-size: var(--text-lg); }
.start-steps .why-card__desc { font-size: var(--text-sm); line-height: 1.65; }
.start-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.start-note {
  text-align: center;
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ---- Technology core (services) ---- */
.stack-layers { display: grid; gap: var(--space-3); }
.stack-layer {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
@media (min-width: 768px) {
  .stack-layer { grid-template-columns: 180px 1fr; align-items: center; }
}
.stack-layer--ai {
  border-color: rgba(0, 196, 160, 0.45);
  background: linear-gradient(90deg, rgba(0, 196, 160, 0.08), var(--color-surface) 60%);
}
.stack-layer__name {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-primary);
}
.stack-layer--ai .stack-layer__name { color: #00795F; }
.stack-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.stack-chips span {
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 3px 12px;
}
.stack-layer__note { flex-basis: 100%; font-size: var(--text-sm); color: var(--color-text-muted); margin-top: 2px; }
.stack-patterns { margin-top: var(--space-8); text-align: center; }
.stack-patterns h3 { font-size: var(--text-base); color: var(--color-text-primary); margin-bottom: var(--space-3); }
.stack-patterns .stack-chips { justify-content: center; }
.stack-patterns .stack-chips span { background: var(--color-gold-subtle); border-color: rgba(200, 148, 10, 0.3); }

/* ---- Company details card (about) ---- */
.company-card {
  margin-top: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
}
.company-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}
.company-card__head h3 { font-size: var(--text-lg); color: var(--color-text-primary); }
.company-card__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.company-card dl { margin: 0; display: grid; }
@media (min-width: 768px) { .company-card dl { grid-template-columns: 1fr 1fr; column-gap: var(--space-8); } }
.company-card dl > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px dashed var(--color-border);
}
.company-card dt {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-top: 2px;
}
.company-card dd { margin: 0; font-size: var(--text-sm); color: var(--color-text-primary); overflow-wrap: break-word; }
@media (max-width: 639px) {
  .company-card { padding: var(--space-5); }
  .company-card dl > div { grid-template-columns: 1fr; gap: 2px; }
}
.company-card dd a { color: var(--color-cta); }

/* ---- Homepage live strip with three compact cards (added 2026-11-27 with LifeVault) ---- */
@media (min-width: 641px) and (max-width: 1023px) {
  .showcase-strip--3 > :last-child { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .showcase-strip--3 { grid-template-columns: repeat(3, 1fr); }
}
