/* Worked examples on the product pages. */
.product-proof {
  --proof-text: #fdf0f6;
  --proof-muted: #e6cbd8;
  min-width: 0;
  color: var(--proof-text);
  background: #120810;
  border: 1px solid #673348;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
  padding: clamp(16px, 3vw, 30px);
  line-height: 1.55;
}
.product-proof > * + * { margin-top: 16px; }
.product-proof h2,
.product-proof h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
}
.product-proof h2 + p,
.product-proof h3 + p { margin-top: 8px; }
.product-proof p,
.product-proof dd { color: var(--proof-muted); }
.product-proof .proof-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .055em;
  color: #f6a9cc;
}
.product-proof dl { display: grid; gap: 10px; }
.product-proof dl > div,
.product-proof [data-example-panel] {
  padding: 12px 14px;
  background: #27111d;
  border-radius: 4px;
}
.product-proof dt,
.product-proof [data-example-panel] strong { color: var(--proof-text); }
.product-proof a { color: #f6a9cc; }
.product-proof .proof-options:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-proof button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #a66c89;
  border-radius: 4px;
  background: #281321;
  color: var(--proof-text);
  font: 500 .92rem/1.35 'IBM Plex Sans', sans-serif;
  text-align: left;
  cursor: pointer;
}
.product-proof button:hover,
.product-proof button[aria-pressed="true"] {
  background: #f6a9cc;
  border-color: #f6a9cc;
  color: #240e1a;
}
.product-proof :is(a, button, summary):focus-visible,
.product-detail summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.product-proof [aria-live] > * + *,
.product-proof [data-example-panel] > * + * { margin-top: 10px; }
.product-proof [data-example-panel] + [data-example-panel] { margin-top: 10px; }
.product-proof [data-example-panel][hidden] + [data-example-panel] { margin-top: 0; }
.product-proof details summary { color: #f6a9cc; cursor: pointer; }
.product-proof details p { margin-top: 8px; }
.product-detail {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--muted);
  line-height: 1.6;
}
.product-detail summary {
  color: var(--rose-d);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.product-detail > * + * { margin-top: 12px; }
.product-choice-grid { scroll-margin-top: 84px; }
#hero > .hero-right.product-proof {
  display: block;
  opacity: 1;
  animation: none;
}
#hero .product-actions { flex-wrap: wrap; }

@media (max-width: 960px) {
  #hero:has(> .product-proof) { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  #hero:has(> .product-proof) :is(.hero-tag, .hero-h1, .hero-sub, .hero-btns) {
    animation: none;
    opacity: 1;
  }
}

#hero.custom-proof-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
#hb-next {
  margin: 0 16px 16px;
  padding: 8px 12px;
  min-height: 44px;
  background: #281321;
  color: #fdf0f6;
  border: 1px solid #a66c89;
  border-radius: 4px;
  font: inherit;
  cursor: pointer;
}
#hb-next:focus-visible { outline: 2px solid #f6a9cc; outline-offset: 3px; }

@media (max-width: 960px) {
  #hero.custom-proof-hero { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  #hero:has(> .product-proof) {
    min-height: 0;
    padding-top: 104px;
    padding-bottom: 48px;
    gap: 28px;
  }
  #hero:has(> .product-proof) .hero-tag {
    margin-bottom: 16px;
    font-size: .75rem;
  }
  #hero:has(> .product-proof) .hero-h1 {
    font-size: clamp(36px, 10.5vw, 52px);
    margin-bottom: 16px;
  }
  #hero:has(> .product-proof) .hero-sub {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  #hero .product-actions { gap: 12px; }
}
