/* ===== Self-hosted Raleway (GDPR — no Google Fonts on ISV pages) ===== */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/isv/fonts/raleway-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/isv/fonts/raleway-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== ISV Overview ===== */
.isv-hero {
  padding: calc(var(--nav-height) + 5rem) 0 3rem;
  background: var(--white);
}

.isv-hero .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.isv-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.isv-hero .lead {
  max-width: 640px;
  color: var(--gray-500);
  font-size: 1.1rem;
  line-height: 1.7;
}

.isv-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.isv-product-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.2s, transform 0.2s;
}

.isv-product-card.is-link:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.isv-product-card.is-soon {
  background: var(--gray-100);
  border-style: dashed;
}

.isv-product-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.isv-product-card .provider {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.isv-product-card p {
  color: var(--gray-600);
  font-size: 0.92rem;
  line-height: 1.6;
  flex-grow: 1;
}

.isv-product-card .card-cta {
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.isv-product-card .card-soon {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
}

/* ===== Product Hero ===== */
.product-hero {
  padding: calc(var(--nav-height) + 4.5rem) 0 4rem;
  background: var(--white);
}

.product-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.product-hero .provider {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.product-tagline {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.45;
  max-width: 720px;
  margin-bottom: 2rem;
}

.product-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-appsource {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-appsource svg {
  width: 18px;
  height: 18px;
}

/* ===== Compatibility Badges ===== */
.compat-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.compat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-700);
}

.compat-badge img {
  width: 18px;
  height: 18px;
}

/* ===== Feature / description blocks ===== */
.product-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray-700);
  max-width: 820px;
}

.feature-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.feature-block {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--black);
}

.feature-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-block p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.feature-block p:last-child {
  margin-bottom: 0;
}

/* ===== Capabilities list ===== */
.capabilities {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 2rem;
  margin-top: 1rem;
}

.capabilities li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--gray-700);
  font-size: 0.97rem;
  line-height: 1.55;
}

.capabilities li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.2rem;
  height: 1.2rem;
  background: var(--black);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 0.85rem no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 0.85rem no-repeat;
  border-radius: 4px;
}

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.gallery figure {
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.2s;
}

.gallery figure:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.gallery a.shot-link {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-100);
}

.gallery a.shot-link img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.3s;
}

.gallery a.shot-link:hover img {
  transform: scale(1.02);
}

.gallery figcaption {
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--gray-600);
}

/* ===== Lightbox (pure CSS via :target) ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  z-index: 2000;
}

.lightbox:target {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 100%;
  max-height: 92vh;
  object-fit: contain;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

.lightbox .lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  line-height: 1;
}

.lightbox .lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox .lightbox-backdrop {
  position: absolute;
  inset: 0;
}

/* ===== Product contact ===== */
.product-legal-links {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.product-legal-links a {
  color: var(--gray-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--gray-500);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .feature-blocks,
  .capabilities,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery a.shot-link img {
    height: auto;
    object-fit: contain;
  }
}
