:root {
  --mx-black: #080808;
  --mx-ink: #151515;
  --mx-charcoal: #242424;
  --mx-gray-900: #323232;
  --mx-gray-700: #5f5f5f;
  --mx-gray-500: #8b8b8b;
  --mx-gray-300: #d8d8d8;
  --mx-gray-200: #e9e9e9;
  --mx-gray-100: #f4f4f4;
  --mx-white: #fff;
  --mx-container: 1280px;
  --mx-narrow: 860px;
  --mx-article: 760px;
  --mx-gutter: clamp(20px, 4vw, 56px);
  --mx-section: clamp(72px, 9vw, 136px);
  --mx-radius: 10px;
  --mx-shadow: 0 18px 55px rgb(0 0 0 / 9%);
  --mx-font: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--mx-ink);
  background: var(--mx-white);
  font-family: var(--mx-font);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #006cff;
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--mx-black);
  font-weight: 760;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 15ch;
  margin-bottom: 28px;
  font-size: clamp(3.15rem, 7.3vw, 7.25rem);
}

h2 {
  max-width: 18ch;
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 4.5vw, 4.5rem);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

p {
  margin-bottom: 1.25em;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  color: #fff;
  background: #000;
}

.maxxvr-container {
  width: min(100% - (2 * var(--mx-gutter)), var(--mx-container));
  margin-inline: auto;
}

.maxxvr-container--narrow {
  max-width: var(--mx-narrow);
}

.maxxvr-container--article {
  max-width: var(--mx-article);
}

.site-main {
  min-height: 55vh;
}

.section {
  padding-block: var(--mx-section);
}

.section--gray {
  background: var(--mx-gray-100);
}

.section--dark {
  color: #d8d8d8;
  background: var(--mx-black);
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--mx-gray-700);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #a9a9a9;
}

.section-lead {
  max-width: 660px;
  color: var(--mx-gray-700);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.65;
}

.section--dark .section-lead {
  color: #c8c8c8;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(42px, 6vw, 72px);
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading--center {
  justify-content: center;
  text-align: center;
}

.section-heading--center h2 {
  margin-inline: auto;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(50px, 10vw, 150px);
  align-items: start;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid var(--mx-black);
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button--dark {
  color: #fff;
  background: var(--mx-black);
}

.button--dark:hover {
  background: var(--mx-gray-900);
}

.button--light {
  color: var(--mx-black);
  background: transparent;
}

.button--light:hover {
  background: var(--mx-gray-100);
}

.button--white {
  color: var(--mx-black);
  border-color: #fff;
  background: #fff;
}

.button--white:hover {
  color: #fff;
  background: transparent;
}

.button--full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--mx-black);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid var(--mx-gray-200);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: grid;
  min-height: 80px;
  grid-template-columns: 180px 1fr 180px;
  gap: 24px;
  align-items: center;
}

.site-logo {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  color: var(--mx-black);
  line-height: 1;
  text-decoration: none;
}

.site-logo__text,
.site-logo--footer {
  font-size: 1.46rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.site-logo__image {
  width: auto;
  max-width: 170px;
  max-height: 42px;
  object-fit: contain;
}

.primary-menu,
.primary-menu ul,
.mobile-menu,
.mobile-menu ul,
.site-footer__links,
.site-footer__socials {
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 38px);
}

.primary-menu > li {
  position: relative;
}

.primary-menu a {
  display: block;
  padding-block: 28px;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-menu > li > a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 1px;
  background: var(--mx-black);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-menu > li:hover > a::after,
.primary-menu > li.current-menu-item > a::after,
.primary-menu > li.current-menu-ancestor > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.primary-menu .sub-menu {
  position: absolute;
  top: calc(100% - 8px);
  left: 50%;
  width: 290px;
  padding: 12px;
  visibility: hidden;
  border: 1px solid var(--mx-gray-200);
  background: #fff;
  box-shadow: var(--mx-shadow);
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.primary-menu .sub-menu a {
  padding: 11px 12px;
  line-height: 1.35;
}

.primary-menu .sub-menu a:hover {
  background: var(--mx-gray-100);
}

.header-inquiry {
  justify-self: end;
  border-bottom: 1px solid var(--mx-black);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.menu-toggle,
.mobile-navigation {
  display: none;
}

/* Hero */
.home-hero {
  position: relative;
  display: flex;
  min-height: min(820px, calc(100svh - 80px));
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid var(--mx-gray-200);
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(42px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(72px, 10vw, 140px);
}

.home-hero__content {
  position: relative;
  z-index: 2;
}

.home-hero__lead {
  max-width: 610px;
  margin-bottom: 38px;
  color: var(--mx-gray-700);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--mx-gray-200);
  color: var(--mx-gray-700);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-hero__visual {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background: var(--mx-gray-100);
}

.home-hero__visual::before {
  position: absolute;
  inset: 22px;
  border: 1px solid var(--mx-gray-300);
  content: "";
}

.home-hero__visual-label {
  position: absolute;
  z-index: 3;
  top: 38px;
  left: 42px;
  color: var(--mx-gray-700);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.17em;
}

.home-hero__audio {
  position: absolute;
  z-index: 1;
  right: -7%;
  bottom: -5%;
  width: 86%;
  object-fit: contain;
}

.home-hero__battery {
  position: absolute;
  z-index: 2;
  bottom: 6%;
  left: 3%;
  width: 58%;
  filter: drop-shadow(0 16px 24px rgb(0 0 0 / 16%));
}

/* Cards and home sections */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
}

.product-card {
  min-width: 0;
  border: 1px solid var(--mx-gray-200);
  background: #fff;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.product-card:hover {
  border-color: var(--mx-gray-300);
  box-shadow: var(--mx-shadow);
  transform: translateY(-5px);
}

.product-card__media {
  display: flex;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(26px, 5vw, 70px);
  background: var(--mx-gray-100);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 300ms ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.025);
}

.product-card__placeholder {
  color: var(--mx-gray-300);
  font-size: 2rem;
  font-weight: 900;
}

.product-card__content {
  padding: clamp(26px, 4vw, 44px);
}

.product-card__content h3 {
  max-width: 20ch;
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
}

.product-card__content h3 a {
  text-decoration: none;
}

.product-card__content > p:not(.eyebrow) {
  max-width: 58ch;
  color: var(--mx-gray-700);
}

.product-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.product-card__features li,
.tag-list li {
  padding: 7px 10px;
  border: 1px solid var(--mx-gray-300);
  color: var(--mx-gray-700);
  font-size: 0.76rem;
  line-height: 1.2;
}

.ecosystem-section {
  padding-block: clamp(90px, 12vw, 170px);
}

.compatibility-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.compatibility-list span {
  padding: 10px 13px;
  border: 1px solid #4b4b4b;
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.3;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.value-card {
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--mx-gray-200);
  background: #fff;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.value-card:hover {
  border-color: var(--mx-black);
  box-shadow: 0 12px 36px rgb(0 0 0 / 7%);
  transform: translateY(-3px);
}

.value-card p {
  margin-bottom: 0;
  color: var(--mx-gray-700);
}

.icon-box {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  border: 1px solid var(--mx-black);
}

.icon-box svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.equation {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.25fr;
  gap: clamp(18px, 3vw, 48px);
  align-items: center;
}

.equation__item,
.equation__result {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border: 1px solid var(--mx-gray-300);
  text-align: center;
}

.equation__item strong,
.equation__result strong {
  font-size: 1.5rem;
}

.equation__item small,
.equation__result small {
  margin-top: 7px;
  color: var(--mx-gray-700);
}

.equation__operator {
  color: var(--mx-gray-500);
  font-size: 2rem;
  font-weight: 300;
}

.equation__result {
  color: #fff;
  border-color: var(--mx-black);
  background: var(--mx-black);
}

.equation__result small {
  color: #bcbcbc;
}

.partner-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(60px, 10vw, 150px);
  align-items: start;
}

.cooperation-list {
  border-top: 1px solid var(--mx-gray-300);
}

.cooperation-list > div {
  display: grid;
  min-height: 74px;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: center;
  padding-block: 18px;
  border-bottom: 1px solid var(--mx-gray-300);
}

.cooperation-list span {
  color: var(--mx-gray-500);
  font-size: 0.75rem;
}

.cooperation-list small {
  grid-column: 2;
  margin-top: -14px;
  color: var(--mx-gray-700);
}

.final-cta {
  color: #fff;
  background: var(--mx-black);
}

.final-cta__inner {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: var(--mx-section);
  text-align: center;
}

.final-cta h2 {
  max-width: 15ch;
  color: #fff;
}

.final-cta p:not(.eyebrow) {
  max-width: 680px;
  color: #bcbcbc;
}

.final-cta--compact .final-cta__inner {
  min-height: 460px;
}

/* Shared page heroes */
.page-hero {
  padding-block: clamp(90px, 12vw, 170px);
  border-bottom: 1px solid var(--mx-gray-200);
  background: var(--mx-gray-100);
}

.page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(3.2rem, 6.6vw, 6.5rem);
}

.page-hero--simple {
  text-align: center;
}

.page-hero--simple h1 {
  margin-inline: auto;
}

.entry-content {
  padding-block: clamp(56px, 8vw, 110px);
}

.prose {
  color: #3e3e3e;
  font-size: 1.06rem;
}

.prose > * {
  max-width: 100%;
}

.prose h2,
.prose h3 {
  margin-top: 1.7em;
}

.prose a {
  color: var(--mx-black);
}

/* Product detail */
.product-hero {
  border-bottom: 1px solid var(--mx-gray-200);
}

.product-hero__grid {
  display: grid;
  min-height: min(780px, calc(100svh - 80px));
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
  padding-block: clamp(72px, 9vw, 130px);
}

.product-hero__content h1 {
  font-size: clamp(3.4rem, 6.5vw, 6.7rem);
}

.product-hero__subtitle {
  margin-bottom: 24px;
  color: var(--mx-black);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 650;
}

.product-hero__content > p:not(.eyebrow, .product-hero__subtitle) {
  max-width: 58ch;
  color: var(--mx-gray-700);
}

.product-hero__media {
  display: flex;
  min-height: 570px;
  align-items: center;
  justify-content: center;
  padding: clamp(30px, 5vw, 70px);
  background: var(--mx-gray-100);
}

.product-hero__media img {
  width: 100%;
  max-height: 550px;
  object-fit: contain;
}

.product-overview__copy {
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--mx-gray-300);
}

.feature-list__item {
  display: grid;
  min-height: 100px;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 18px 22px 0;
  border-bottom: 1px solid var(--mx-gray-300);
}

.feature-list__item:nth-child(odd) {
  border-right: 1px solid var(--mx-gray-300);
}

.feature-list__item:nth-child(even) {
  padding-left: 28px;
}

.feature-list__item span {
  color: var(--mx-gray-500);
  font-size: 0.75rem;
}

.product-design__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}

.product-design__media {
  display: flex;
  min-height: 460px;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: var(--mx-gray-100);
}

.product-design__media img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
}

.check-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--mx-gray-200);
}

.check-list li::before {
  display: inline-block;
  margin-left: -26px;
  width: 26px;
  content: "✓";
}

.installation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.installation-card {
  border: 1px solid var(--mx-gray-200);
  background: #fff;
}

.installation-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--mx-gray-100);
}

.installation-card > div {
  padding: 28px;
}

.installation-card span {
  display: block;
  margin-bottom: 22px;
  color: var(--mx-gray-500);
  font-size: 0.75rem;
}

.installation-card p {
  margin-bottom: 0;
  color: var(--mx-gray-700);
}

.spec-table-wrap {
  overflow: hidden;
  border-top: 2px solid var(--mx-black);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.spec-table th,
.spec-table td {
  padding: 20px 22px;
  border-bottom: 1px solid var(--mx-gray-200);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 34%;
  color: var(--mx-gray-700);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  display: flex;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--mx-gray-100);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-item:hover img {
  transform: scale(1.025);
}

.gallery-lightbox {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 70px);
  background: rgb(0 0 0 / 94%);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox img {
  max-width: 100%;
  max-height: 86vh;
  object-fit: contain;
}

.gallery-lightbox__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid #6f6f6f;
  color: #fff;
  background: #111;
  cursor: pointer;
}

.gallery-lightbox__close svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

/* About */
.about-hero {
  padding-block: clamp(100px, 13vw, 185px) clamp(65px, 8vw, 110px);
  text-align: center;
}

.about-hero h1 {
  margin-inline: auto;
}

.about-hero__tagline {
  max-width: 680px;
  margin-inline: auto;
  color: var(--mx-gray-700);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
}

.about-content {
  padding-bottom: var(--mx-section);
}

.about-intro {
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: clamp(30px, 5vw, 54px);
  border-left: 3px solid #000;
  background: var(--mx-gray-100);
}

.about-mission {
  margin-block: 54px;
  padding-block: 32px;
  border-block: 1px solid var(--mx-gray-300);
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  font-weight: 760;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.about-highlight {
  max-width: 920px;
  margin: 54px auto;
  color: var(--mx-gray-700);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  text-align: center;
}

.about-slogan {
  max-width: 1040px;
  margin: 0 auto 100px;
  padding: 34px;
  border: 1px solid var(--mx-gray-300);
  background: var(--mx-gray-100);
  font-size: clamp(1.15rem, 2vw, 1.48rem);
  font-weight: 650;
  text-align: center;
}

/* Solutions */
.solutions-list {
  border-top: 1px solid var(--mx-black);
}

.solution-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: clamp(26px, 5vw, 80px);
  padding-block: clamp(48px, 7vw, 90px);
  border-bottom: 1px solid var(--mx-gray-300);
}

.solution-row__number {
  color: var(--mx-gray-500);
  font-size: 0.8rem;
  font-weight: 700;
}

.solution-row > div:last-child {
  max-width: 800px;
}

.solution-row > div:last-child > p {
  color: var(--mx-gray-700);
  font-size: 1.1rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.solution-row__note {
  padding-left: 18px;
  border-left: 2px solid var(--mx-black);
}

/* Contact and forms */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(500px, 1.3fr);
  gap: clamp(60px, 10vw, 150px);
  align-items: start;
}

.contact-details {
  margin-top: 40px;
}

.contact-details > div {
  padding-block: 16px;
  border-top: 1px solid var(--mx-gray-300);
}

.contact-details dt {
  color: var(--mx-gray-500);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 5px 0 0;
}

.inquiry-panel {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--mx-gray-200);
  background: var(--mx-gray-100);
}

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

.form-grid p {
  margin: 0;
}

.form-grid__wide {
  grid-column: 1 / -1;
}

.inquiry-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--mx-gray-900);
  font-size: 0.8rem;
  font-weight: 700;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea,
.search-form input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #c8c8c8;
  border-radius: 0;
  color: var(--mx-black);
  background: #fff;
  font-size: 1rem;
}

.inquiry-form textarea {
  min-height: 170px;
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus,
.search-form input:focus {
  border-color: var(--mx-black);
  outline: 2px solid var(--mx-black);
  outline-offset: 0;
}

.inquiry-form .button {
  margin-top: 24px;
}

.form-privacy {
  margin: 16px 0 0;
  color: var(--mx-gray-700);
  font-size: 0.75rem;
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.form-notice {
  margin-bottom: 24px;
  padding: 14px 16px;
  border-left: 3px solid;
  background: #fff;
}

.form-notice--success {
  border-color: #16833f;
}

.form-notice--error {
  border-color: #b42318;
}

/* Blog, search and generic cards */
.blog-grid,
.content-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.content-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-block: var(--mx-section);
}

.content-card {
  border: 1px solid var(--mx-gray-200);
  background: #fff;
}

.content-card__image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--mx-gray-100);
}

.content-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-card__body {
  padding: 28px;
}

.content-card__body h2 {
  font-size: 1.6rem;
}

.content-card__body h2 a {
  text-decoration: none;
}

.content-card__meta {
  color: var(--mx-gray-500);
  font-size: 0.75rem;
}

.article-header {
  padding-block: clamp(90px, 12vw, 165px) clamp(56px, 7vw, 90px);
  text-align: center;
}

.article-header h1 {
  margin-inline: auto;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.article-meta {
  color: var(--mx-gray-500);
}

.article-featured img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
}

.search-form {
  display: flex;
  max-width: 720px;
  gap: 10px;
  margin: 36px auto 0;
}

.search-form .button {
  flex: 0 0 auto;
}

.empty-state {
  max-width: 720px;
  grid-column: 1 / -1;
  margin-inline: auto;
  padding-block: clamp(60px, 10vw, 120px);
  text-align: center;
}

.empty-state h2 {
  margin-inline: auto;
}

.empty-state .button-row {
  justify-content: center;
}

.error-hero {
  display: flex;
  min-height: calc(100svh - 80px);
  align-items: center;
  padding-block: 90px;
  text-align: center;
}

.error-hero h1 {
  margin-inline: auto;
  font-size: clamp(2.6rem, 5vw, 5rem);
}

.error-code {
  margin-bottom: 0;
  color: var(--mx-gray-200);
  font-size: clamp(8rem, 22vw, 16rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.75;
}

.error-hero .button-row {
  justify-content: center;
}

/* Footer */
.site-footer {
  color: #c5c5c5;
  background: var(--mx-black);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(36px, 6vw, 84px);
  padding-block: clamp(68px, 9vw, 120px);
}

.site-logo--footer {
  margin-bottom: 25px;
  color: #fff;
}

.site-footer__brand p {
  max-width: 300px;
  color: #969696;
}

.site-footer__heading {
  margin-bottom: 24px;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-footer__links li + li {
  margin-top: 12px;
}

.site-footer__links a,
.site-footer__socials a {
  color: #b8b8b8;
  font-size: 0.87rem;
  text-decoration: none;
}

.site-footer__links a:hover,
.site-footer__socials a:hover {
  color: #fff;
}

.site-footer address {
  color: #919191;
  font-size: 0.86rem;
  font-style: normal;
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.site-footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  border-top: 1px solid #2b2b2b;
  color: #777;
  font-size: 0.75rem;
}

.site-footer__legal p {
  margin: 0;
}

.site-footer__legal a {
  color: #aaa;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}

.page-numbers {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mx-gray-300);
  text-decoration: none;
}

.page-numbers.current {
  color: #fff;
  border-color: var(--mx-black);
  background: var(--mx-black);
}

@media (max-width: 1080px) {
  .site-header__inner {
    grid-template-columns: 150px 1fr 150px;
  }

  .primary-menu {
    gap: 18px;
  }

  .home-hero__grid,
  .product-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  }

  .home-hero__visual,
  .product-hero__media {
    min-height: 480px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 72px;
  }

  .site-header__inner {
    min-height: 72px;
    grid-template-columns: 1fr auto;
  }

  .site-navigation--desktop,
  .header-inquiry {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 0;
    color: var(--mx-black);
    background: transparent;
  }

  .menu-toggle svg {
    width: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.7;
  }

  .menu-toggle__close,
  .menu-toggle[aria-expanded="true"] .menu-toggle__open {
    display: none;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__close {
    display: block;
  }

  .mobile-navigation {
    display: block;
    position: fixed;
    z-index: 999;
    inset: 72px 0 auto;
    height: calc(100dvh - 72px);
    overflow-y: auto;
    background: #fff;
  }

  .mobile-navigation[hidden] {
    display: none;
  }

  .mobile-navigation__inner {
    min-height: calc(100svh - 72px);
    padding-block: 22px 40px;
  }

  .mobile-menu > li {
    border-bottom: 1px solid var(--mx-gray-200);
  }

  .mobile-menu a {
    display: block;
    padding: 15px 0;
    font-size: 1.18rem;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-menu .sub-menu {
    padding: 0 0 12px 18px;
  }

  .mobile-menu .sub-menu li {
    border-top: 1px solid var(--mx-gray-200);
  }

  .mobile-menu .sub-menu a {
    color: var(--mx-gray-700);
    font-size: 0.95rem;
    font-weight: 600;
  }

  .mobile-navigation__cta {
    width: 100%;
    margin-top: 28px;
  }

  .home-hero,
  .product-hero__grid {
    min-height: auto;
  }

  .home-hero__grid,
  .product-hero__grid,
  .split-layout,
  .partner-section__grid,
  .product-design__grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .home-hero__grid,
  .product-hero__grid {
    padding-block: 74px;
  }

  .home-hero__visual {
    min-height: 600px;
  }

  .product-hero__media {
    min-height: 480px;
    order: -1;
  }

  .equation {
    grid-template-columns: 1fr;
  }

  .equation__operator {
    text-align: center;
  }

  .equation__item,
  .equation__result {
    min-height: 200px;
  }

  .installation-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    gap: 55px;
  }
}

@media (max-width: 680px) {
  :root {
    --mx-gutter: 20px;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .section-heading {
    display: block;
  }

  .section-heading > .text-link {
    margin-top: 20px;
  }

  .home-hero__grid {
    padding-top: 58px;
  }

  .home-hero__visual {
    min-height: 430px;
  }

  .home-hero__visual::before {
    inset: 12px;
  }

  .home-hero__visual-label {
    top: 25px;
    left: 27px;
  }

  .home-hero__audio {
    right: -12%;
    width: 95%;
  }

  .home-hero__battery {
    bottom: 3%;
    left: 1%;
    width: 68%;
  }

  .hero-proof {
    margin-top: 38px;
  }

  .product-grid,
  .value-grid,
  .installation-grid,
  .gallery-grid,
  .blog-grid,
  .content-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid__wide {
    grid-column: auto;
  }

  .product-card__media {
    aspect-ratio: 1 / 0.83;
    padding: 30px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .feature-list__item:nth-child(odd) {
    border-right: 0;
  }

  .feature-list__item:nth-child(even) {
    padding-left: 0;
  }

  .product-hero__media {
    min-height: 340px;
    padding: 28px;
  }

  .product-design__media {
    min-height: 330px;
  }

  .compatibility-list {
    display: grid;
  }

  .spec-table,
  .spec-table tbody,
  .spec-table tr,
  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
  }

  .spec-table tr {
    padding: 17px 16px;
    border-bottom: 1px solid var(--mx-gray-200);
  }

  .spec-table th,
  .spec-table td {
    padding: 0;
    border: 0;
  }

  .spec-table td {
    margin-top: 5px;
    overflow-wrap: anywhere;
  }

  .solution-row {
    grid-template-columns: 1fr;
  }

  .solution-row__number {
    margin-bottom: -15px;
  }

  .inquiry-panel {
    padding: 24px 18px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__legal {
    display: block;
  }

  .site-footer__legal a {
    display: inline-block;
    margin-top: 10px;
  }

  .search-form {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
