/* Product-page presentation; the homepage keeps its shared composer hero. */
.berserk-product-hero {
  display: block;
  min-height: 0;
  padding: 40px max(24px, calc((100vw - 1160px) / 2)) 0;
  margin-bottom: 0;
  text-align: left;
}
.berserk-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.berserk-product-hero h1 {
  font-size: clamp(78px, 8.5vw, 112px);
  font-weight: 850;
  line-height: 1.08;
  margin: 0 0 24px -.04em;
}
.berserk-product-copy h2 {
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.25;
  letter-spacing: -.01em;
  font-weight: 500;
  text-wrap: initial;
}
.berserk-product-lead {
  margin-top: 24px;
  color: var(--ab-muted);
  font-size: 18px;
  line-height: 1.65;
}
.berserk-product-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 30px;
}
.berserk-product-actions .text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.berserk-product-visual { margin: 0; min-width: 0; width: 100%; max-width: 420px; justify-self: end; }
.berserk-product-visual img {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 24px;
  background: #f1f3f5;
}
/* Light and dark renders of the same visual. Dark is the default theme; the light render is lazy, so it is not fetched while hidden. */
html[data-theme="dark"] .berserk-product-visual img { background: #1c1c20; }
html[data-theme="dark"] .berserk-product-visual .berserk-visual-light,
html:not([data-theme="dark"]) .berserk-product-visual .berserk-visual-dark { display: none; }
.berserk-product-visual figcaption { margin-top: 12px; text-align: center; font-size: 13px; line-height: 20px; color: var(--ab-muted); }
.berserk-cost {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 48px;
  padding: 26px 0;
  margin-top: 34px;
  border-top: 1px solid var(--ab-border);
  border-bottom: 1px solid var(--ab-border);
}
.berserk-cost-value { display: flex; align-items: center; gap: 24px; }
.berserk-cost-value strong { font-size: 80px; line-height: 1; letter-spacing: -.06em; font-weight: 500; color: var(--ab-accent); font-variant-numeric: tabular-nums; }
.berserk-cost-value strong span { font-size: .52em; margin-left: 4px; }
.berserk-cost-value > span { white-space: nowrap; font-size: 16px; line-height: 1.5; font-weight: 500; }
.berserk-cost-copy h3 { font-size: 20px; line-height: 1.4; }
.berserk-cost-copy p { margin-top: 8px; font-size: 13px; line-height: 1.75; color: var(--ab-muted); }
.berserk-inquiry { margin: 0; }
.berserk-inquiry > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 20px;
  padding: 18px 0;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 22px;
}
.berserk-inquiry > summary::-webkit-details-marker { display: none; }
.berserk-inquiry > summary:hover { color: var(--ab-accent); }
.berserk-inquiry > summary:focus-visible { outline: 2px solid var(--ab-accent); outline-offset: 4px; }
.berserk-inquiry-arrow { font-size: 24px; line-height: 1; }
.berserk-inquiry[open] .berserk-inquiry-arrow { transform: rotate(180deg); }
.berserk-inquiry .berserk-hero-content { padding-bottom: 32px; }
.berserk-inquiry .berserk-composer { margin-top: 6px; }
@media (max-width: 1068px) {
  .berserk-product-layout { gap: 32px; }
  .berserk-product-visual img { height: 440px; }
  .berserk-cost { gap: 32px; }
}
@media (max-width: 767px) {
  .berserk-product-hero { display: grid; padding: 32px 20px 0; }
  .berserk-product-layout { display: contents; }
  .berserk-product-copy { order: 1; }
  .berserk-product-visual { order: 3; max-width: none; margin-top: 24px; }
  .berserk-inquiry { order: 4; }
  .berserk-product-hero h1 { font-size: clamp(64px, 18vw, 100px); margin-bottom: 18px; }
  .berserk-product-copy h2 { font-size: clamp(30px, 7.5vw, 36px); line-height: 1.28; }
  .berserk-product-lead { margin-top: 16px; font-size: 16px; line-height: 1.65; max-width: 320px; }
  .desktop-break { display: none; }
  .berserk-product-actions { margin-top: 20px; gap: 12px 20px; }
  .berserk-product-actions .glacier-button, .berserk-product-actions .text-link { font-size: 14px; }
  .berserk-product-visual img { height: auto; aspect-ratio: 1; object-position: center 46%; border-radius: 18px; }
  .berserk-product-visual figcaption { font-size: 12px; }
  .berserk-cost { order: 2; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 26px; padding: 24px 0; }
  .berserk-cost-value { gap: 20px; }
  .berserk-cost-value strong { font-size: 68px; }
  .berserk-cost-value > span { max-width: none; font-size: 16px; }
  .berserk-cost-copy h3 { font-size: 18px; }
  .berserk-cost-copy p { font-size: 13px; }
  .berserk-cost-copy br { display: none; }
  .berserk-inquiry > summary { min-height: 62px; font-size: 14px; }
}
