/* Product-page composition; brand tokens and interactions live in site.css. */
.product-page .nav-links a[aria-current="page"],
.product-page .nav-drawer-panel a[aria-current="page"] {
  color: var(--foreground);
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-underline-offset: 6px;
}
.product-page section { padding: 64px 0; }
.product-page .product-hero { padding-top: 24px; }
.product-breadcrumb { margin-bottom: 32px; font-size: 14px; }
.product-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-breadcrumb li + li::before { content: "/"; margin-right: 12px; color: var(--muted-foreground); }
.product-breadcrumb a { display: inline-block; padding: 12px 0; }
.product-page .product-link,
.product-breadcrumb a {
  color: var(--foreground);
  text-decoration-color: var(--primary);
  text-underline-offset: 4px;
}
.product-page .product-link:hover,
.product-breadcrumb a:hover { text-decoration-thickness: 2px; }
.product-hero-grid,
.product-flow-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 32px; }
.product-hero-copy,
.product-media { min-width: 0; }
.product-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-inline-size: 20ch;
  margin: 0 0 24px;
  text-wrap: balance;
}
.product-intro { max-width: 54ch; margin: 0 0 28px; font-size: 18px; line-height: 1.6; color: var(--muted-foreground); }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.product-actions .btn { justify-content: center; }
.product-page .product-media figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted-foreground); }
.product-page .feature-shot { box-shadow: var(--shadow-md); }
.product-section-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 28ch;
  margin: 0 0 28px;
}
.product-section-lead { color: var(--muted-foreground); max-width: 64ch; margin: -12px 0 28px; font-size: 16px; line-height: 1.6; }
.product-page .product-band { background: var(--muted); }
.product-steps { list-style: none; counter-reset: workflow; margin: 0; padding: 0; display: grid; gap: 24px; }
.product-steps li { position: relative; counter-increment: workflow; padding-left: 48px; }
.product-steps li::before {
  content: counter(workflow);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--foreground);
  background: var(--background);
  text-align: center;
  line-height: 28px;
  font-size: 14px;
}
.product-page .product-steps h3,
.product-page .product-audiences h3 { font-size: 18px; line-height: 1.4; font-weight: 600; margin: 0 0 8px; }
.product-steps p,
.product-audiences p { margin: 0; color: var(--muted-foreground); font-size: 16px; line-height: 1.6; }
.product-example { margin-top: 28px; border-left: 3px solid var(--primary); padding-left: 20px; font-size: 16px; line-height: 1.6; max-width: 64ch; }
.product-example strong { font-weight: 600; }
.product-example p { margin: 8px 0 0; color: var(--muted-foreground); }
.product-audiences { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.product-audiences article { padding: 24px; border: 1px solid var(--border); background: var(--card); border-radius: var(--radius-lg); }
.product-note { max-width: 68ch; color: var(--muted-foreground); font-size: 15px; line-height: 1.6; margin: 24px 0 0; }
.product-faq { max-width: 800px; }
.product-faq details { border-top: 1px solid var(--border); }
.product-faq details:last-child { border-bottom: 1px solid var(--border); }
.product-faq summary { padding: 20px 4px; font-weight: 500; font-size: 16px; line-height: 1.5; cursor: pointer; }
.product-faq details p { color: var(--muted-foreground); max-width: 68ch; padding: 0 4px; margin: 0 0 20px; line-height: 1.6; }
.product-close { border-top: 1px solid var(--border); }
.product-close .product-section-title { max-width: 26ch; }
.product-related { margin: 24px 0 0; max-width: 64ch; font-size: 16px; line-height: 1.6; }
.product-page footer { margin-top: 0; }
.product-footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 16px; font-size: 14px; }
.product-footer-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--foreground); text-underline-offset: 4px; }
@media (min-width: 700px) {
  .product-audiences { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .product-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; }
  .product-flow-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; }
}
@media (max-width: 767px) {
  .product-page section { padding: 48px 0; }
  .product-page .product-hero { padding-top: 16px; }
  .product-breadcrumb { margin-bottom: 24px; }
  .product-intro { font-size: 17px; }
}
@media (max-width: 479px) {
  .product-actions { flex-direction: column; }
  .product-actions .btn { width: 100%; }
}
@media (max-width: 359px) {
  .product-page .container { padding-right: 20px; padding-left: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
