/* Product pages — Digital Studio and future products */

.ds-product-positioning {
  margin: 0 0 var(--ds-space-5);
  max-width: 42ch;
  font-size: var(--ds-text-sm);
  line-height: var(--ds-leading-snug);
  color: var(--ds-color-text-muted, var(--ds-neutral-500));
}

.ds-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-4);
  align-items: center;
}

.ds-product-url {
  margin: var(--ds-space-5) 0 0;
  font-size: var(--ds-text-sm);
}

.ds-product-url a {
  color: var(--ds-color-brand);
  font-weight: var(--ds-font-weight-semibold);
  text-decoration: none;
}

.ds-product-url a:hover {
  text-decoration: underline;
}

.ds-product-outputs {
  justify-content: center;
  margin: 0 auto;
  max-width: 52rem;
}

.ds-product-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.ds-product-story-copy {
  max-width: 36rem;
}

.ds-product-story-copy .ds-subtitle {
  margin-bottom: var(--ds-space-5);
}

.ds-product-note {
  margin: 0 0 var(--ds-space-6);
  font-size: var(--ds-text-sm);
  font-weight: var(--ds-font-weight-medium);
  color: var(--ds-color-text-strong, var(--color-text-dark));
}

.ds-product-story-media {
  margin: 0;
  border-radius: var(--ds-scoop-radius, 20px);
  overflow: hidden;
  background: var(--ds-color-surface-muted, #f5f5f5);
}

.ds-product-story-media img {
  display: block;
  width: 100%;
  height: auto;
}

.ds-product-benefits {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 40rem;
  display: grid;
  gap: 14px;
}

.ds-product-benefits li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--ds-color-bg-elevated, #fff);
  border: 1px solid color-mix(in srgb, var(--ds-color-border) 75%, transparent);
  border-radius: var(--ds-radius-lg, 16px);
  font-size: var(--ds-text-sm);
  line-height: 1.45;
  color: var(--ds-color-text-strong, var(--color-text-dark));
}

.ds-product-benefits .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--ds-color-brand);
  background-color: currentColor;
}

.ds-product-faq {
  max-width: 44rem;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.ds-product-faq-item {
  background: var(--ds-color-bg-elevated, #fff);
  border: 1px solid color-mix(in srgb, var(--ds-color-border) 75%, transparent);
  border-radius: var(--ds-radius-lg, 16px);
  padding: 14px 18px;
}

.ds-product-faq-item summary {
  cursor: pointer;
  font-weight: var(--ds-font-weight-semibold);
  color: var(--ds-color-text-strong, var(--color-text-dark));
  list-style: none;
}

.ds-product-faq-item summary::-webkit-details-marker {
  display: none;
}

.ds-product-faq-item p {
  margin: 10px 0 0;
  font-size: var(--ds-text-sm);
  line-height: 1.5;
  color: var(--ds-color-text-muted, var(--ds-neutral-500));
}

@media (max-width: 900px) {
  .ds-product-story {
    grid-template-columns: 1fr;
  }

  .ds-product-story-media {
    order: -1;
  }
}

body.dark .ds-product-benefits li,
body.dark .ds-product-faq-item {
  background: var(--ds-color-bg-elevated);
}
