/* Styles for vitalcnc/index.twig only. Shared site styles are in assets/site.css. */

/* Key features: an icon above each card's heading */
.vfeat { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.vfeat i {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px; border-radius: 10px;
  color: var(--glow); background: color-mix(in srgb, var(--glow) 16%, transparent);
}
.vfeat i svg { width: 22px; height: 22px; }

/* Two cards side by side ("What you need", the SDK) */
.vtwo { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }

/* A closer look: screenshot and text rows, with room between them */
.vrows > .split + .split { margin-top: clamp(48px, 7vw, 80px); }
.vrows h3 { font-size: clamp(22px, 2.4vw, 26px); margin-bottom: 10px; }
.vrows .ticks, #hardware .ticks { margin-top: 14px; }
#hardware .cta { margin-top: 22px; }

/* One screenshot that opens full size: the picture keeps its own shape */
.vshot { display: block; margin: 0; }
.vshot button { aspect-ratio: auto; width: 100%; background: #000; box-shadow: 0 30px 70px -30px #000; }
.vshot img { height: auto; object-fit: contain; }

/* Videos: a poster with "coming soon" until the clip is uploaded */
.vvids { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.vvids .soon {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 12px;
  background-size: cover; background-position: center; box-shadow: inset 0 0 0 100vmax rgba(4,7,11,.74);
}
.vvids .soon b { color: var(--ink); letter-spacing: .04em; }
.vvids .soon span { color: var(--soft); font-size: 14px; }
.vvids figcaption b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 2px; }
