:root {
  --product-shell: min(1120px, calc(100vw - 48px));
}

.product-shell { width: var(--product-shell); margin-inline: auto; }

.product-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 8%, rgba(24, 93, 165, 0.09), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #eef4f8 100%);
}

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: min(720px, calc(100vh - 94px));
  min-height: 620px;
  background: #000;
}

.product-hero__copy {
  color: #fff;
  background: #000;
}

.product-hero__copy-inner {
  position: relative;
  display: flex;
  width: min(590px, calc(100% - 96px));
  height: 100%;
  margin-left: auto;
  padding: 92px 0 72px;
  flex-direction: column;
  justify-content: center;
}

.product-hero__identity { max-width: 540px; }

.product-hero__media {
  display: grid;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  place-items: center;
  background: #000;
}

.product-hero__media video,
.product-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #000;
}

.product-hero__media video { pointer-events: none; }
.product-hero__media video::-webkit-media-controls { display: none !important; }
.product-hero__media video::-webkit-media-controls-enclosure { display: none !important; }

.product-hero--lfmview .product-hero__copy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.product-hero--lfmview .product-hero__media {
  position: relative;
}

.product-hero--lfmview .product-hero__copy-inner {
  z-index: 2;
}

.product-hero--lfmview .product-hero__identity {
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.95);
}

.lfmview-hero-crop {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  overflow: hidden;
  transform: translateY(-50%);
  background: #000;
}

.lfmview-hero-crop--top {
  z-index: 0;
  height: 52%;
}

.lfmview-hero-crop--top::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 26%;
  height: 27%;
  background: #000;
  content: "";
}

.lfmview-hero-crop--top::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.48));
  content: "";
}

.lfmview-hero-crop--bottom {
  height: 50%;
}

.product-hero--lfmview .lfmview-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  pointer-events: none;
  object-fit: unset;
  background: #000;
}

.product-hero--lfmview .lfmview-hero-video--top {
  opacity: 0.48;
  filter: grayscale(0.55) brightness(1.18) contrast(0.9);
  transform: translateY(-3%);
}

.product-hero--lfmview .lfmview-hero-video--bottom {
  transform: translateY(-55%);
}

.product-hero__media > .product-media-placeholder { width: 100%; height: 100%; min-height: 0; }
.product-gallery__media > .product-media-placeholder,
.product-interface__visual > .product-media-placeholder,
.product-interface__media > .product-media-placeholder { width: 100%; height: 100%; min-height: 0; }

.product-content { padding: 72px 0 100px; }

.product-format-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  grid-template-areas:
    "intro gallery"
    "features features"
    "interface interface";
  gap: 24px;
  align-items: stretch;
}

.product-block {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.product-category {
  margin: 0 0 14px;
  color: #81d4aa;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.product-hero h1 {
  margin: 0;
  font-size: clamp(52px, 6vw, 82px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.product-tagline {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
}

.product-intro { grid-area: intro; min-height: 360px; padding: 34px 28px 34px 0; }
.product-gallery { grid-area: gallery; height: 460px; }
.product-features { grid-area: features; padding: 34px 0 38px; }
.product-interface {
  display: flex;
  grid-area: interface;
  min-height: 0;
  flex-direction: column;
}

.product-features--cell { --feature-accent: #c142ae; }
.product-features--live { --feature-accent: #4f59f7; }
.product-features--brain { --feature-accent: #63b14a; }
.product-features--behavior { --feature-accent: #f65342; }

.product-features__brochure-artwork {
  display: none;
}

.product-features__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(48px, 7vw, 92px);
  row-gap: 28px;
}

.product-feature { min-width: 0; }

.product-feature__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
  color: var(--feature-accent);
}

.product-feature__icon {
  display: block;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  background-color: transparent;
  object-fit: contain;
  -webkit-mask: none;
  mask: none;
}

.product-features--cell .product-feature__icon {
  filter: brightness(0) saturate(100%) invert(34%) sepia(74%) saturate(1625%) hue-rotate(270deg) brightness(91%) contrast(88%);
}

.product-features--live .product-feature__icon {
  filter: brightness(0) saturate(100%) invert(42%) sepia(88%) saturate(3636%) hue-rotate(225deg) brightness(100%) contrast(94%);
}

.product-features--brain .product-feature__icon {
  filter: brightness(0) saturate(100%) invert(61%) sepia(38%) saturate(903%) hue-rotate(61deg) brightness(92%) contrast(88%);
}

.product-features--behavior .product-feature__icon {
  filter: brightness(0) saturate(100%) invert(39%) sepia(98%) saturate(2115%) hue-rotate(335deg) brightness(105%) contrast(93%);
}

.product-feature h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(18px, 1.45vw, 21px);
  font-weight: 800;
  line-height: 1.25;
}

.product-feature p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}

.product-block__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 0 18px;
}

.product-block__heading span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.product-block__heading h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.product-gallery__media,
.product-interface__media {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.product-gallery__media { height: 100%; }
.product-interface__media { display: none; height: auto; min-height: 0; }

.product-gallery__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  pointer-events: none;
}

.product-gallery__video::-webkit-media-controls,
.product-gallery__video::-webkit-media-controls-enclosure { display: none !important; }

.product-interface .product-block__heading { order: 0; }

.product-interface__panel {
  display: grid;
  order: 1;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.55fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.product-interface__visual {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111;
}

.product-interface__panel .product-interface__visual img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center;
  background: transparent;
}

.product-interface__copy {
  padding-top: 2px;
  color: var(--ink);
}

.product-interface__copy > p {
  margin: 0;
  font-size: clamp(18px, 1.75vw, 23px);
  line-height: 1.65;
}

.product-interface__copy ul {
  margin: 20px 0 0;
  padding-left: 1.25em;
}

.product-interface__copy li {
  margin-top: 15px;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.6;
}

.product-gallery img,
.product-interface img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery--contain img,
.product-interface--contain img {
  padding: 0;
  object-fit: contain;
  background: transparent;
}

.product-bottom-video {
  grid-column: 1 / -1;
  overflow: hidden;
  background: #000;
}

.product-bottom-video video {
  display: block;
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  background: #000;
  pointer-events: none;
}

.product-bottom-video video::-webkit-media-controls,
.product-bottom-video video::-webkit-media-controls-enclosure { display: none !important; }

.product-description-title {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.product-description-title--cell { color: #C142AE; }
.product-description-title--live { color: #4F59F7; }
.product-description-title--brain { color: #63B14A; }
.product-description-title--behavior { color: #F3A62A; }

.product-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.product-media-placeholder {
  display: grid;
  height: 100%;
  min-height: inherit;
  padding: 28px;
  place-content: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  background: #000;
}

.product-media-placeholder strong {
  display: block;
  margin-bottom: 7px;
  color: #fff;
  font-size: 19px;
}

.product-media-placeholder span { font-size: 14px; }
.product-media-placeholder a { margin-top: 12px; color: var(--blue); font-weight: 750; }

@media (max-width: 900px) {
  .product-hero { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .product-hero__copy-inner {
    width: var(--product-shell);
    height: auto;
    min-height: 360px;
    margin-inline: auto;
    padding: 88px 0 56px;
  }
  .product-hero__media { min-height: 0; aspect-ratio: 16 / 9; }
  .product-hero__media video,
  .product-hero__media img,
  .product-hero__media > .product-media-placeholder { min-height: 0; }
  .product-hero--lfmview .lfmview-hero-crop--top { height: 46%; }
  .product-hero--lfmview .lfmview-hero-crop--bottom { height: 100%; }
  .product-format-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "gallery"
      "features"
      "interface";
  }
  .product-intro { min-height: 0; }
  .product-gallery { height: auto; }
  .product-gallery__media { height: 390px; }
  .product-interface__panel { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root { --product-shell: calc(100vw - 28px); }
  .product-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    height: auto;
    min-height: 0;
  }
  .product-hero__copy { grid-row: 1; min-height: 0; }
  .product-hero__copy-inner { width: var(--product-shell); min-height: 240px; padding: 52px 0 34px; }
  .product-hero__media { grid-row: 2; width: 100%; min-height: 0; aspect-ratio: 4 / 3; }
  .product-hero h1 { font-size: clamp(38px, 12vw, 52px); }
  .product-tagline { font-size: 17px; }
  .product-hero--lfmview .lfmview-hero-crop--top { display: none; }
  .product-hero--lfmview .product-hero__identity { text-shadow: none; }
  .product-hero--lfmview .lfmview-hero-crop--bottom { height: 100%; }
  .product-content { padding: 44px 0 64px; }
  .product-format-grid { gap: 14px; }
  .product-intro { padding: 24px 0; }
  .product-features { padding: 32px 0 28px; }
  .product-features__grid { grid-template-columns: 1fr; row-gap: 22px; }
  .product-block__heading { padding: 21px 0 15px; }
  .product-gallery__media { height: 300px; min-height: 0; }
  .product-interface { min-height: 0; }
  .product-interface__media { height: auto; min-height: 0; }
}
