/* Product detail presentation. Loaded only by the four detail templates;
   this shared scope owns their layout independently of the legacy homepage. */
.product-detail-page {
  --page: #0b0e0c;
  --shell: #131713;
  --ink: #f2f4ee;
  --muted: #adb5aa;
  --line: #ffffff1c;
  --product-accent: #c8e99c;
  background: var(--page);
  color: var(--ink);
  line-height: 1.6;
}
.product-detail-page .stage {
  width: min(1248px, calc(100% - 64px));
  padding: 0;
  margin: 0 auto;
  background: none;
}
.product-detail-page :is(h1,h2,h3,p,li,a,figcaption) { overflow-wrap: anywhere; }
.product-detail-page :is(h1,h2,h3) { text-wrap: balance; }
.product-detail-page :is(.product-section,.product-page-hero) { min-width: 0; }
.product-detail-page .product-page-hero {
  padding: 28px 0 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}
.product-detail-page .product-page-nav {
  gap: 16px 24px;
  margin: 0 0 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.product-detail-page .product-page-nav .product-brand-link {
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.025em;
  color: var(--ink);
  text-shadow: none;
}
.product-detail-page .product-page-links { font-size: 13px; align-items: center; }
.product-detail-page .product-page-links a { padding-block: 10px; }
.product-detail-page .language-switcher { flex-shrink: 0; gap: 2px; padding: 4px; }
.product-detail-page .product-lang-button {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 40px;
  padding: 6px;
  font-size: 12px;
  border-radius: 99px;
}
.product-detail-page .product-lang-button.active { background: #c8e99c18; color: var(--product-accent); }
.product-detail-page .cassette-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.product-detail-page .cassette-hero-copy { width: auto; margin: 0; text-align: left; }
.product-detail-page .cassette-hero-copy .product-actions { justify-content: flex-start; }
.product-detail-page .product-hero-image-card {
  width: 100%;
  border-color: var(--line);
  border-radius: 18px;
  background: #050705;
  box-shadow: 0 20px 60px #0004;
}
.product-detail-page .product-hero-image-card img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.product-detail-page .product-page-hero h1 {
  max-width: 100%;
  margin: 12px 0 20px;
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.product-detail-page .kicker { color: var(--product-accent); font-size: 11px; line-height: 1.5; letter-spacing: .12em; font-weight: 700; }
.product-detail-page .product-page-hero .lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; margin: 0 0 16px; color: #e0e5da; }
.product-detail-page .product-hero-intro { font-size: 15px; line-height: 1.7; margin: 0; }
.product-detail-page .product-actions { margin-top: 24px; gap: 12px; }
.product-detail-page .button {
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 650;
  text-align: center;
  white-space: normal;
}
.product-detail-page .button.primary { background: var(--product-accent); color: #17200f; border-color: transparent; box-shadow: none; }
.product-detail-page .button.secondary { color: var(--ink); background: #ffffff06; border: 1px solid #ffffff30; box-shadow: none; }
.product-detail-page .button:hover { filter: brightness(1.08); transform: none; }
.product-detail-page :is(a,button,input,textarea):focus-visible { outline: 2px solid var(--product-accent); outline-offset: 4px; }
.product-detail-page .product-section { padding-top: clamp(48px, 6vw, 80px); }
.product-detail-page .section-title,
.product-detail-page .section-title.compact {
  display: block;
  padding-top: 28px;
  margin-bottom: 28px;
  border-top: 1px solid var(--line);
}
.product-detail-page .section-title .kicker { margin-bottom: 10px; }
.product-detail-page :is(.section-title h2,.product-cta-panel h2,.sy-demo-download-copy h2,.product-support-card h2) {
  max-width: 30ch;
  margin: 0 0 16px;
  font-size: clamp(26px, 2.65vw, 36px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.025em;
}
.product-detail-page :is(.product-video-subtitle,.sy-media-intro) { max-width: 70ch; font-size: 16px; line-height: 1.65; margin: 12px 0 0; }
.product-detail-page :is(.feature-grid,.platform-grid,.requirements-grid,.airlift-mode-grid) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.product-detail-page :is(.screenshot-grid,.faq-grid,.legal-grid,.product-detail-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-detail-page .screenshot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-detail-page :is(.feature-grid,.requirements-grid,.faq-grid,.legal-grid,.platform-grid,.product-detail-grid,.product-screenshot-grid) { margin-top: 0; gap: 18px; }
.product-detail-page :is(.product-detail-panel,.product-cta-panel,.product-support-card,.sy-demo-download-panel,.sy-video-story,.sy-story-cta) {
  min-width: 0;
  padding: clamp(22px, 2.5vw, 32px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--shell);
  box-shadow: none;
}
.product-detail-page .product-detail-panel :is(h2,h3) { font-size: 20px; line-height: 1.35; margin-bottom: 12px; font-weight: 600; letter-spacing: -.015em; }
.product-detail-page .product-intro-panel h2 { max-width: 38ch; font-size: clamp(23px, 2.2vw, 30px); }
.product-detail-page .product-detail-panel :is(p,li) { font-size: 15px; line-height: 1.75; }
.product-detail-page .product-detail-panel p:last-child { margin-bottom: 0; }
.product-detail-page .product-detail-panel ul { padding-left: 20px; margin-bottom: 0; }
.product-detail-page .product-intro-panel p { max-width: 85ch; }
.product-detail-page :is(.product-page-status,.format-badges span,.platform-chips span) { color: var(--product-accent); background: #c8e99c08; border-color: #c8e99c26; }
.product-detail-page .product-screenshot-card { border-color: var(--line); border-radius: 14px; background: #080b08; box-shadow: none; }
.product-detail-page .product-screenshot-card figcaption { color: var(--muted); font-size: 13px; font-weight: 500; border-top: 1px solid var(--line); }
.product-detail-page .product-video-card { max-width: 960px; margin-top: 24px; }
.product-detail-page .product-video-frame { border-color: var(--line); border-radius: 16px; box-shadow: none; }
.product-detail-page .product-video-link { color: var(--product-accent); font-size: 14px; font-weight: 600; }
.product-detail-page .sy-video-story { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; margin-top: 28px; }
.product-detail-page :is(.sy-video-copy h3,.sy-story-copy h3,.sy-story-cta h3) { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -.02em; }
.product-detail-page :is(.sy-video-copy p,.sy-story-copy p,.sy-story-cta p,.sy-demo-download-lead) { font-size: 16px; line-height: 1.7; }
.product-detail-page .sy-story-list { gap: 40px; margin-top: 40px; }
.product-detail-page .sy-story-block { min-height: 0; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; }
.product-detail-page .sy-story-block.is-reversed { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.product-detail-page .sy-story-media-button { border-color: var(--line); border-radius: 16px; box-shadow: none; }
.product-detail-page .sy-story-cta { margin-top: 40px; }
.product-detail-page .sy-story-reveal.is-visible .sy-story-media-button img { transform: none; }
.product-detail-page .product-legal-note h2 { font-size: 18px; }
.product-detail-page .product-footer { margin-top: 64px; padding: 28px 0 96px; gap: 24px; border-color: var(--line); }
.product-detail-page .product-footer :is(p,a,span) { font-size: 13px; line-height: 1.65; }
@media (max-width: 1000px) {
  .product-detail-page .product-page-links { order: 3; width: 100%; }
  .product-detail-page .product-page-nav { gap: 12px; margin-bottom: 32px; }
  .product-detail-page .cassette-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-detail-page .product-hero-image-card { max-width: 720px; }
  .product-detail-page .cassette-hero-copy { max-width: 720px; margin-inline: auto; }
  .product-detail-page .product-page-hero h1 { max-width: 100%; }
  .product-detail-page .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail-page :is(.sy-video-story,.sy-story-block,.sy-story-block.is-reversed,.sy-demo-download-panel) { grid-template-columns: 1fr; gap: 24px; }
  .product-detail-page .sy-story-block.is-reversed :is(.sy-story-media-button,.sy-story-copy) { order: initial; }
}
@media (max-width: 600px) {
  .product-detail-page .stage { width: calc(100% - 32px); }
  .product-detail-page .product-page-hero { padding-top: 16px; }
  .product-detail-page .product-page-nav .product-brand-link { font-size: 18px; }
  .product-detail-page .product-language-switcher { margin-left: auto; }
  .product-detail-page .product-lang-button { min-width: 36px; min-height: 44px; }
  .product-detail-page .product-page-links { font-size: 12px; }
  .product-detail-page .product-page-links a { padding-block: 12px; }
  .product-detail-page .product-page-hero h1 { font-size: 32px; }
  .product-detail-page :is(.screenshot-grid,.faq-grid,.legal-grid,.product-detail-grid,.product-support-card) { grid-template-columns: 1fr; }
  .product-detail-page .button { width: 100%; }
  .product-detail-page .product-legal-note { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .product-detail-page .sy-story-list { gap: 32px; }
}
