.product-detail-page {
  --zl-accent: #62e1cd;
  --zl-accent-soft: rgba(98, 225, 205, 0.1);
}

.product-detail-main {
  overflow: hidden;
}

.product-detail-hero {
  display: flex;
  min-height: min(760px, 76svh);
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(70px, 10vw, 132px) 0 clamp(42px, 7vw, 78px);
  border-bottom: 1px solid var(--zl-line);
}

body[data-page="product"] .product-detail-hero h1 {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(4.4rem, 10.4vw, 9rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.88;
}

.product-lede {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--zl-muted);
  font-size: clamp(1.15rem, 2vw, 1.75rem);
  line-height: 1.45;
}

.product-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 760px);
  margin: 52px 0 0;
  padding: 0;
  border-top: 1px solid var(--zl-line);
  border-bottom: 1px solid var(--zl-line);
  list-style: none;
}

.product-meta li {
  min-width: 0;
  padding: 18px 20px 18px 0;
  border-right: 1px solid var(--zl-line);
}

.product-meta li + li { padding-left: 20px; }
.product-meta li:last-child { border-right: 0; }
.product-meta strong { display: block; font-size: 1rem; letter-spacing: 0; }
.product-meta span { display: block; margin-top: 3px; color: var(--zl-muted); font-size: 0.78rem; }

.product-cover {
  margin: clamp(34px, 6vw, 84px) 0 0;
  border: 1px solid var(--zl-line);
  background: #060809;
}

.product-cover picture,
.preview-grid picture {
  display: block;
  width: 100%;
}

.product-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.product-section-head {
  display: grid;
  grid-template-columns: minmax(150px, .42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

body[data-page="product"] .product-section-head h2,
body[data-page="product"] .product-launch h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 0.98;
}

.product-questions,
.product-previews,
.product-included,
.product-faq {
  padding: clamp(76px, 10vw, 140px) 0;
  border-bottom: 1px solid var(--zl-line);
}

.product-questions ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--zl-line);
  list-style: none;
}

.product-questions li {
  display: grid;
  grid-template-columns: 74px minmax(220px, .65fr) minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--zl-line);
}

.product-questions li > span,
.preview-grid figcaption > span,
.product-included li span {
  color: var(--zl-accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
}

.product-questions h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  letter-spacing: 0;
}

.product-questions p { margin: 0; line-height: 1.55; }

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 24px;
}

.preview-grid figure { min-width: 0; margin: 0; }

.preview-grid figcaption {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px 12px;
  align-items: baseline;
  min-height: 72px;
  margin-bottom: 14px;
}

.preview-grid figcaption strong { font-size: 1rem; letter-spacing: 0; }
.preview-grid figcaption small { grid-column: 2; color: var(--zl-muted); line-height: 1.45; }

.preview-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border: 1px solid var(--zl-line);
  background: #f2f5f3;
}

.preview-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  text-align: left;
}

.preview-open::after {
  content: "View";
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(6, 8, 9, 0.86);
  color: #f1f1ee;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 160ms ease;
}

.preview-open:hover::after,
.preview-open:focus-visible::after {
  opacity: 1;
}

.preview-open:focus-visible {
  outline: 2px solid var(--zl-accent);
  outline-offset: 4px;
}

.preview-dialog {
  width: min(96vw, 1480px);
  max-width: none;
  max-height: calc(100svh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--zl-line-strong);
  border-radius: 4px;
  background: #060809;
  color: var(--zl-ink);
}

.preview-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
}

.preview-dialog-head {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--zl-line);
}

.preview-dialog-head .eyebrow {
  margin: 0 0 4px;
}

body[data-page="product"] .preview-dialog-head h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.1;
}

.preview-dialog-close {
  min-width: 72px;
  min-height: 40px;
  border: 1px solid var(--zl-line-strong);
  border-radius: 4px;
  background: transparent;
  color: var(--zl-ink);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.preview-dialog-close:hover,
.preview-dialog-close:focus-visible {
  border-color: var(--zl-accent);
  outline: 0;
}

.preview-dialog-viewport {
  max-height: calc(100svh - 105px);
  overflow: auto;
  background: #f2f5f3;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y;
}

.preview-dialog-viewport img {
  display: block;
  width: auto;
  max-width: none;
  height: auto;
}

.product-included ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--zl-line);
  list-style: none;
}

.product-included li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  padding: 20px 0;
  border-bottom: 1px solid var(--zl-line);
  color: var(--zl-ink);
}

.product-included li:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--zl-line); }
.product-included li:nth-child(even) { padding-left: 24px; }

.product-launch {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  gap: clamp(36px, 8vw, 110px);
  align-items: end;
  padding: clamp(74px, 10vw, 132px) 0;
  border-bottom: 1px solid var(--zl-line);
}

.product-launch > div > p:not(.eyebrow) {
  max-width: 560px;
  margin: 24px 0 0;
  font-size: 1.08rem;
  line-height: 1.55;
}

.launch-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 24px;
  border-top: 1px solid var(--zl-line);
}

.launch-action > strong {
  color: var(--zl-ink);
  font-size: clamp(3.5rem, 7vw, 6rem);
  letter-spacing: 0;
  line-height: 1;
}

.launch-action > span { margin: 4px 0 24px; color: var(--zl-muted); }
.launch-action small { margin-top: 12px; color: var(--zl-muted); }

.launch-action small a {
  color: var(--zl-ink);
  text-decoration: underline;
  text-decoration-color: var(--zl-line-strong);
  text-underline-offset: 3px;
}

.launch-signup-form {
  display: grid;
  width: 100%;
  gap: 10px;
}

.launch-signup-form[hidden],
[data-interest-fallback][hidden] {
  display: none;
}

.launch-signup-form > label:first-child {
  color: var(--zl-ink);
  font-size: 0.78rem;
  font-weight: 740;
}

.launch-signup-form > input[type="email"] {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--zl-line-strong);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--zl-ink);
}

.launch-signup-form > input[type="email"]:focus {
  border-color: var(--zl-accent);
  outline: 2px solid var(--zl-accent-soft);
  outline-offset: 2px;
}

.launch-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--zl-muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.launch-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--zl-accent);
}

.interest-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.launch-signup-form button.primary-link {
  width: 100%;
  justify-content: center;
}

.launch-signup-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.launch-form-status {
  min-height: 2.8em;
  margin: 2px 0 0;
  color: var(--zl-muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.launch-form-status[data-state="success"] { color: #83e6ac; }
.launch-form-status[data-state="error"] { color: #ffb0a8; }

.product-faq details {
  border: 0;
  border-top: 1px solid var(--zl-line);
  border-radius: 0;
  background: transparent;
}

.product-faq details:last-child { border-bottom: 1px solid var(--zl-line); }
.product-faq summary { padding: 22px 0; color: var(--zl-ink); font-weight: 760; cursor: pointer; }
.product-faq details p { max-width: 720px; margin: 0; padding: 0 0 24px; line-height: 1.6; }

@media (max-width: 820px) {
  .product-detail-hero { min-height: auto; }
  .product-section-head { grid-template-columns: 1fr; gap: 12px; }
  .product-questions li { grid-template-columns: 42px minmax(0, 1fr); }
  .product-questions li p { grid-column: 2; }
  .preview-grid { grid-template-columns: 1fr; }
  .product-launch { grid-template-columns: 1fr; }
  .preview-open::after { opacity: 1; }
}

@media (max-width: 560px) {
  body[data-page="product"] .product-detail-hero h1 { font-size: clamp(3.3rem, 18vw, 5.6rem); }
  .product-meta { grid-template-columns: 1fr; }
  .product-meta li, .product-meta li + li { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--zl-line); }
  .product-meta li:last-child { border-bottom: 0; }
  .product-included ul { grid-template-columns: 1fr; }
  .product-included li:nth-child(odd), .product-included li:nth-child(even) { padding: 18px 0; border-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .product-detail-page * { scroll-behavior: auto !important; }
}
