@import url("styles/components/cookie.css");
@import url("styles/components/nav.css");

:root {
  --ink: #17201d;
  --graphite: #242a27;
  --graphite-2: #303734;
  --muted: #68736f;
  --line: #d8dfd8;
  --paper: #f5f7f2;
  --white: #ffffff;
  --orange: #f28c2b;
  --orange-dark: #c86412;
  --green: #2e9d72;
  --teal: #1a8c94;
  --shadow: 0 22px 60px rgba(19, 27, 24, 0.16);
  --max: 1180px;
  --radius: 8px;
  --space-section-y: clamp(76px, 9vw, 106px);
  --space-section-x: clamp(22px, 3.2vw, 34px);
  --space-stack-sm: 12px;
  --space-stack-md: 18px;
  --space-stack-lg: 28px;
  --space-stack-xl: 44px;
  --text-body: 1rem;
  --text-body-lg: clamp(1.03rem, 0.99rem + 0.22vw, 1.12rem);
  --text-eyebrow: 0.78rem;
  --text-h1-hero: clamp(3.2rem, 5.8vw, 5.5rem);
  --text-h2-section: clamp(2.08rem, 3.6vw, 3rem);
  --text-h3-card: clamp(1.22rem, 1.15rem + 0.34vw, 1.38rem);
  --measure-copy: 68ch;
  --float-card-border: rgba(170, 144, 255, 0.26);
  --float-card-surface: rgba(33, 28, 69, 0.36);
  --float-card-surface-soft: rgba(33, 28, 69, 0.26);
  --float-card-caption-surface: rgba(33, 28, 69, 0.5);
  --float-card-title: rgba(249, 252, 255, 0.96);
  --float-card-copy: rgba(226, 233, 252, 0.84);
  --float-card-blur: 10px;
  --float-card-radius: 14px;
  --float-card-shadow:
    0 34px 68px rgba(2, 6, 24, 0.62),
    0 14px 28px rgba(7, 12, 38, 0.46),
    0 0 22px rgba(124, 104, 238, 0.2);
  --float-card-media-bg: rgba(16, 20, 44, 0.42);
  --float-card-caption-border: rgba(170, 144, 255, 0.34);
  --float-card-image-height: 300px;
  --float-card-image-height-lg: 340px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Avenir Next, Avenir, Helvetica Neue, Arial, sans-serif;
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0.002em;
}

body.platform-page {
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.inline-link {
  color: var(--orange-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.14em;
}

.inline-link:hover {
  color: var(--orange);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(242, 140, 43, 0.78);
  outline-offset: 4px;
}

.section {
  padding: var(--space-section-y) var(--space-section-x);
}

.section-dark {
  color: var(--white);
  background: var(--graphite);
}

.section-light {
  background: var(--paper);
}

/* Homepage platform section abstract background (easy rollback: remove `platform-abstract-bg` class in index.html) */
.platform-abstract-bg {
  background:
    linear-gradient(0deg, rgba(245, 247, 242, 0.8), rgba(245, 247, 242, 0.8)),
    url("site-assets/custom-bg-03.png") center center / cover no-repeat;
}

/* Homepage: trust cards belong to Platform section and overlap hero */
.intro-section .home-trust-strip {
  margin: -132px auto 34px;
  padding: 0;
}

.has-overlap-trust .platform-trust-strip,
.has-overlap-trust .use-cases-proof-strip {
  margin: -132px auto 34px;
  padding: 0;
}

.has-overlap-trust {
  position: relative;
  z-index: 3;
}

.platform-status-section-dark.has-overlap-trust {
  overflow: visible;
}

.section-white {
  background: var(--white);
}

#resources {
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: 82vh;
  padding: 128px 34px 74px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center bottom;
  transform-origin: center bottom;
  transform: scale(1.01);
}

.hero-shade {
  background:
    radial-gradient(92% 80% at 70% 14%, rgba(76, 128, 255, 0.38), rgba(76, 128, 255, 0) 60%),
    radial-gradient(66% 64% at 24% 18%, rgba(34, 220, 255, 0.24), rgba(34, 220, 255, 0) 70%),
    linear-gradient(95deg, rgba(6, 12, 30, 0.86) 2%, rgba(8, 16, 40, 0.78) 42%, rgba(9, 20, 50, 0.54) 72%, rgba(10, 22, 58, 0.28) 100%),
    linear-gradient(0deg, rgba(5, 9, 24, 0.86), rgba(5, 9, 24, 0.2) 66%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: var(--text-eyebrow);
  font-weight: 620;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  font-size: var(--text-h1-hero);
  font-weight: 760;
  line-height: 1.06;
  letter-spacing: -0.012em;
}

.hero h1 span {
  display: block;
  margin-top: 10px;
  color: #d8ece8;
  font-size: 0.33em;
  font-weight: 620;
  line-height: 1.22;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: min(760px, var(--measure-copy));
  margin: var(--space-stack-md) 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.12rem, 1.02rem + 0.5vw, 1.35rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 680;
  line-height: 1.1;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--orange);
}

.button-primary:hover {
  background: var(--orange-dark);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
  margin: 46px 0 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-stats dt {
  margin: 0;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 850;
}

.hero-stats dd {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.home-platform-hero .hero-copy {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.home-platform-hero .hero-actions {
  justify-content: center;
}

.home-platform-hero .hero-stats {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}

.home-platform-hero .hero-stats div {
  border: 1px solid var(--float-card-border);
  background: rgba(33, 28, 69, 0.26);
  box-shadow:
    0 20px 44px rgba(4, 8, 24, 0.34),
    0 0 24px rgba(116, 96, 228, 0.16);
}

.home-platform-hero .hero-stats dt {
  color: var(--white);
}

.home-platform-hero .hero-stats dd {
  color: rgba(255, 255, 255, 0.82);
}

.home-platform-media {
  width: min(1380px, calc(100% - 80px));
  margin-left: auto;
  margin-right: auto;
  transform: translateX(110px);
  background-image: none;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.home-platform-shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(139, 112, 255, 0.36);
  border-radius: 14px;
  background: rgba(19, 25, 57, 0.94);
  box-shadow: 0 30px 68px rgba(4, 8, 24, 0.56);
}

.home-platform-shot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.home-platform-shot-back {
  top: -4%;
  left: 1%;
  width: min(96%, 1080px);
  z-index: 3;
  opacity: 0;
  animation: home-hero-fade-in 520ms ease-out 180ms forwards;
}

.home-platform-shot-front {
  left: -20%;
  bottom: -3%;
  width: min(96%, 1060px);
  z-index: 4;
  opacity: 0;
  animation: home-hero-fade-in 520ms ease-out 760ms forwards;
}

.home-platform-hero .home-platform-media {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.home-platform-shot-front::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 11, 30, 0.08), rgba(8, 11, 30, 0.42));
}

.home-platform-shot-back::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 11, 30, 0.08), rgba(8, 11, 30, 0.42));
}

.home-platform-hero .home-platform-media .home-hero-float {
  position: absolute;
  z-index: 8;
  display: grid;
  gap: 0;
  width: min(270px, 44%);
  padding: 0;
  border: 1px solid var(--float-card-border);
  border-radius: 14px;
  background: rgba(33, 28, 69, 0.36);
  backdrop-filter: blur(10px);
  box-shadow:
    0 54px 110px rgba(2, 6, 24, 0.78),
    0 22px 44px rgba(7, 12, 38, 0.62),
    0 0 40px rgba(124, 104, 238, 0.34);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
  opacity: 0;
  animation: home-hero-fade-in 460ms ease-out forwards;
}

.home-platform-hero .home-platform-media .home-hero-float.is-auto-hidden:not(.is-hover-reveal) {
  animation: home-hero-fade-out 900ms ease forwards !important;
}

.home-platform-hero .home-platform-media .home-hero-float.is-auto-hidden.is-hover-reveal {
  animation: none !important;
  opacity: 1;
}

.home-platform-hero .home-platform-media .home-hero-float.is-fade-ready {
  animation: none !important;
  opacity: 1;
}

.home-platform-hero .home-platform-media .home-hero-float-left {
  animation-delay: 1560ms;
}

.home-platform-hero .home-platform-media .home-hero-float-right {
  animation-delay: 2020ms;
}

.home-platform-hero .home-platform-media .home-hero-float-top {
  animation-delay: 2480ms;
}

.home-platform-hero .home-platform-media .home-hero-float-bottom-center {
  animation-delay: 2940ms;
}

@keyframes home-hero-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes home-hero-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.home-platform-hero .home-platform-media .home-hero-float:hover {
  transform: scale(1.03);
}

.home-platform-hero .home-platform-media .home-hero-float img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: unset;
  border-radius: 0;
  background: transparent;
}

.home-platform-hero .home-platform-media .home-hero-float > div {
  display: grid;
  gap: 6px;
  padding: 12px 12px 14px;
  background: rgba(33, 28, 69, 0.26);
  border-top: 1px solid var(--float-card-border);
}

.home-platform-hero .home-platform-media .home-hero-float strong {
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 760;
  line-height: 1.2;
}

.home-platform-hero .home-platform-media .home-hero-float span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  line-height: 1.32;
}

.home-platform-hero .home-platform-media .home-hero-float-left {
  left: -350px;
  top: 54px;
  width: min(250px, 36%);
}

.home-platform-hero .home-platform-media .home-hero-float-right {
  right: -48px;
  top: 390px;
  width: min(326px, 47%);
}

.home-platform-hero .home-platform-media .home-hero-float-top {
  left: 105%;
  top: -40px;
  bottom: auto;
  transform: translateX(-50%);
}

.home-platform-hero .home-platform-media .home-hero-float-bottom-center {
  left: 15%;
  bottom: -48px;
  top: auto;
  transform: translateX(-50%);
  width: min(220px, 26%);
}

.home-platform-hero .home-platform-media .home-hero-float-top:hover {
  transform: translateX(-50%) scale(1.03);
}

.home-platform-hero .home-platform-media .home-hero-float-bottom-center:hover {
  transform: translateX(-50%) scale(1.03);
}

/* Platform page-only float baseline (keeps homepage custom hero unaffected) */
.platform-main .platform-hero-float-left {
  left: -78px;
  top: 54px;
  width: min(250px, 36%);
}

.platform-main .platform-hero-float-right {
  right: -98px;
  top: 126px;
  width: min(326px, 47%);
}

.platform-main .platform-hero-float-top {
  left: 33%;
  bottom: -42px;
  top: auto;
  transform: translateX(-50%);
  width: min(228px, 30%);
}

.home-device-icons-strip {
  width: min(1180px, calc(100% - 80px));
  margin: 28px auto 8px;
  text-align: center;
}

.home-device-icons-strip img {
  display: block;
  width: 100%;
  max-width: 1120px;
  height: auto;
  margin: 0 auto;
  transition: transform 180ms ease, filter 180ms ease;
}

.home-device-icons-strip img:hover {
  transform: scale(1.02);
  filter: saturate(1.06);
}

.hero-capability-suite {
  width: min(1580px, calc(100% - 68px));
  margin: 20px auto 0;
  display: grid;
  gap: 12px;
}

.hero-capability-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.hero-capability-card {
  min-height: 0;
  padding: 11px 13px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(239, 242, 248, 0.08);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero-capability-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1.8px solid #f39c3f;
  color: #f39c3f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-capability-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-capability-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.34;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.hero-benefit-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(239, 242, 248, 0.1);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.hero-benefit-item {
  min-height: 54px;
  padding: 9px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.89rem;
  line-height: 1.3;
  font-weight: 520;
}

.hero-benefit-item:last-child {
  border-right: 0;
}

.hero-benefit-item svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.proof-strip div {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: var(--graphite);
  font-weight: 620;
  text-align: center;
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.home-trust-strip {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 68px));
  margin: -22px auto 0;
  padding: 0 0 14px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  background: transparent;
  border: 0;
}

.home-trust-strip div {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 20px;
  color: rgba(17, 32, 34, 0.82);
  text-align: center;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.34;
  border: 1px solid rgba(17, 32, 34, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(17, 32, 34, 0.08);
}

.platform-trust-strip {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 68px));
  margin: -22px auto 0;
  padding: 0 0 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  background: transparent;
  border: 0;
}

.proof-strip.platform-trust-strip {
  background: transparent;
  border-top: 0;
  border-bottom: 0;
}

.platform-trust-strip div {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 20px;
  color: rgba(17, 32, 34, 0.82);
  text-align: center;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.34;
  border: 1px solid rgba(17, 32, 34, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(17, 32, 34, 0.08);
}

.section-head,
.two-column,
.feature-grid,
.showcase-grid,
.ui-grid,
.video-grid,
.platform-media-grid,
.phone-grid,
.device-grid,
.spec-band,
.photo-strip,
.solution-tabs,
.resource-grid,
.contact-inner,
.product-hero-grid,
.product-content-grid,
.product-gallery,
.product-spec-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-head {
  max-width: 900px;
  margin-bottom: var(--space-stack-xl);
}

body.reveal-enabled .scroll-reveal-target {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

body.reveal-enabled .scroll-reveal-target.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  body.reveal-enabled .scroll-reveal-target {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0ms;
  }

  .home-platform-shot-back,
  .home-platform-shot-front,
  .home-platform-hero .home-platform-media .home-hero-float {
    opacity: 1;
    animation: none;
  }
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.section-head h2,
.copy-stack h2,
.contact-inner h2 {
  color: var(--ink);
  font-size: var(--text-h2-section);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.008em;
}

.section-dark .section-head h2,
.section-dark .copy-stack h2 {
  color: var(--white);
}

.section-head p:last-child,
.section-head > p:not(.eyebrow),
.copy-stack p,
.lead-panel p,
.feature-card p,
.showcase-item p,
.device-card p,
.resource-card p,
.contact-inner p,
.tab-panel p,
.tab-panel li,
.metric-list li,
.check-list li {
  color: var(--muted);
}

.section-dark .copy-stack p,
.section-dark .section-head > p:not(.eyebrow),
.section-dark .metric-list li,
.section-dark .quote-block p {
  color: rgba(255, 255, 255, 0.78);
}

.section-head p:last-child,
.section-head > p:not(.eyebrow),
.copy-stack p,
.lead-panel p,
.contact-inner p {
  font-size: var(--text-body-lg);
  line-height: 1.55;
  max-width: var(--measure-copy);
}

.section-head > p:not(.eyebrow),
.copy-stack p,
.lead-panel p,
.contact-inner p {
  margin: 0;
  letter-spacing: 0.002em;
}

.section-head > p:not(.eyebrow) + p,
.copy-stack p + p,
.lead-panel p + p,
.contact-inner p + p {
  margin-top: var(--space-stack-md);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
}

.intro-grid {
  align-items: stretch;
}

.lead-panel,
.media-frame,
.showcase-item,
.ui-card,
.device-card,
.feature-card,
.resource-card,
.contact-card,
.video-card,
.video-frame,
.spec-band,
.solution-tabs {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.lead-panel {
  padding: 34px;
}

h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: var(--text-h3-card);
  font-weight: 640;
  line-height: 1.24;
  letter-spacing: -0.002em;
}

.check-list,
.metric-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li,
.metric-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before,
.metric-list li::before {
  content: "";
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.media-frame {
  overflow: hidden;
  align-self: stretch;
}

.intro-dashboard-frame {
  align-self: stretch;
}

.intro-dashboard-frame .image-button {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-dashboard-frame .image-button img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: #17242b;
}

.intro-dashboard-frame .intro-dashboard-static-media {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-dashboard-frame .intro-dashboard-static-media img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: #17242b;
}

.diagram-frame {
  display: grid;
  align-self: center;
  place-items: center;
  background: var(--white);
}

.diagram-frame .image-button {
  height: auto;
}

.diagram-frame .image-button img {
  height: auto;
  object-fit: contain;
  aspect-ratio: 16 / 9;
  background: var(--white);
}

.media-frame-dark {
  align-self: center;
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--graphite-2);
  box-shadow: none;
}

.media-frame-dark .image-button {
  height: auto;
}

.image-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

.image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  transition: transform 220ms ease, filter 220ms ease;
}

.image-button:hover img {
  transform: scale(1.025);
  filter: saturate(1.06);
}

.showcase-item .image-button:hover img,
.media-frame-dark .image-button:hover img,
.diagram-frame .image-button:hover img {
  transform: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.feature-card {
  padding: 26px;
  box-shadow: none;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  color: var(--white);
  background: var(--graphite);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 850;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.showcase-grid-expanded {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.showcase-item {
  overflow: hidden;
  box-shadow: none;
  align-self: start;
}

.showcase-item .image-button {
  height: auto;
  background: #17242b;
}

.showcase-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #17242b;
}

.showcase-item div {
  padding: 24px;
  background: #f1f4f6;
}

.showcase-item .mobile-shot-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  aspect-ratio: 16 / 10;
  background: #17242b;
}

.mobile-shot-strip .image-button {
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.mobile-shot-strip img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  background: transparent;
}

.showcase-large {
  grid-row: span 2;
}

.showcase-large img {
  aspect-ratio: auto;
}

.platform-main {
  background: #070b1a;
  overflow-x: clip;
}

.platform-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.platform-media-grid + .video-grid {
  margin-top: 22px;
}

.platform-media-card,
.phone-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: none;
}

.platform-media-card .image-button,
.phone-card .image-button {
  height: auto;
  background: #17242b;
}

.platform-media-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #17242b;
}

.platform-status-grid .platform-media-card img {
  aspect-ratio: 16 / 9;
}

.platform-status-section-dark {
  position: relative;
  overflow: hidden;
  background: #070b1a;
}

#software.platform-status-section-dark {
  background:
    linear-gradient(112deg, rgba(5, 10, 28, 0.9) 12%, rgba(6, 12, 30, 0.78) 48%, rgba(7, 14, 34, 0.72) 100%),
    url("site-assets/rooms-large.png") center / cover no-repeat;
}

.platform-status-section-dark::before {
  content: none;
}

.platform-status-section-dark .section-head,
.platform-status-section-dark .platform-status-grid,
.platform-status-section-dark .platform-status-floats {
  position: relative;
  z-index: 2;
}

.platform-status-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.platform-status-pills li {
  padding: 7px 10px;
  color: var(--white);
  border: 1px solid var(--float-card-border);
  border-radius: 999px;
  background: rgba(33, 28, 69, 0.26);
  box-shadow:
    0 10px 24px rgba(7, 12, 38, 0.34),
    0 0 14px rgba(124, 104, 238, 0.16);
  font-size: 0.74rem;
  line-height: 1.15;
  letter-spacing: 0;
  font-weight: 500;
  white-space: nowrap;
}

.platform-status-intro .section-head {
  margin-bottom: 0;
}

.platform-status-intro .platform-status-pills li {
  color: var(--graphite);
  border: 1px solid rgba(17, 32, 34, 0.14);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(17, 32, 34, 0.08);
}

.platform-status-media-section {
  padding-top: 40px;
  background:
    linear-gradient(112deg, rgba(5, 10, 28, 0.9) 12%, rgba(6, 12, 30, 0.78) 48%, rgba(7, 14, 34, 0.72) 100%),
    url("site-assets/rooms-large.png") center / cover no-repeat;
}

.network-media {
  background:
    linear-gradient(112deg, rgba(5, 10, 28, 0.9) 12%, rgba(6, 12, 30, 0.78) 48%, rgba(7, 14, 34, 0.72) 100%),
    url("site-assets/rooms-large.png") center / cover no-repeat;
}

.platform-media-card .image-button,
.phone-card .image-button,
.software-dark-section .showcase-item .image-button {
  position: relative;
}

.platform-media-card .image-button::after,
.phone-card .image-button::after,
.software-dark-section .showcase-item .image-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(8, 11, 30, 0) 0%,
    rgba(8, 11, 30, 0.08) 42%,
    rgba(8, 11, 30, 0.22) 72%,
    rgba(8, 11, 30, 0.44) 100%
  );
}

.platform-media-card .image-button > img,
.phone-card .image-button > img,
.software-dark-section .showcase-item .image-button > img {
  position: relative;
  z-index: 1;
}


.platform-status-section-dark .platform-media-card {
  display: grid;
  grid-template-rows: var(--float-card-image-height-lg) 1fr;
  gap: 0;
  padding: 0;
  border: 1px solid var(--float-card-border);
  border-radius: var(--float-card-radius);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: var(--float-card-shadow);
  overflow: hidden;
  transition: none;
}

.platform-status-section-dark .platform-media-card:hover {
  transform: none;
}

.platform-status-section-dark .platform-media-card h3 {
  color: var(--float-card-title);
}

.platform-status-section-dark .platform-media-card p {
  color: var(--float-card-copy);
}

.platform-status-section-dark .platform-media-card .image-button {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.platform-status-section-dark .platform-media-card .image-button:hover {
  transform: none;
}

.platform-status-section-dark .platform-media-card img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  background: var(--float-card-media-bg);
  box-shadow: none;
}

.platform-status-section-dark .platform-status-grid .platform-media-card {
  grid-template-rows: auto 1fr;
}

.platform-status-section-dark .platform-status-grid .platform-media-card .image-button {
  height: auto;
}

.platform-status-section-dark .platform-status-grid .platform-media-card > :is(.image-button, .video-preview) {
  height: auto;
  aspect-ratio: 16 / 9;
}

.platform-status-section-dark .platform-status-grid .platform-media-card img {
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
}

.platform-status-section-dark .platform-media-card .image-contain,
.platform-status-section-dark .platform-media-card .image-explainer {
  padding: 0;
  aspect-ratio: auto;
  background: transparent;
}

.platform-media-card.media-ratio-auto > :is(.image-button, .video-preview) {
  aspect-ratio: auto;
}

.platform-media-card.media-fit-contain img,
.platform-media-card.media-fit-contain video {
  object-fit: contain;
  object-position: center;
}

.network-media .platform-media-card {
  grid-template-rows: auto 1fr;
}

.network-media .platform-network-grid .platform-media-card.media-ratio-auto > .image-button {
  aspect-ratio: auto;
  height: auto;
  display: block;
}

.network-media .platform-network-grid .platform-media-card.media-ratio-auto > .image-button > img {
  display: block;
  width: 100%;
  aspect-ratio: auto;
  height: auto;
  object-fit: initial;
  object-position: initial;
}

.network-media .three-d-videos + .platform-network-grid {
  margin-top: 28px;
}

.network-media .three-d-videos .platform-video-card > video,
.room-workflows-cards .platform-status-grid .platform-video-card > video {
  display: block;
  width: 100%;
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.platform-status-section-dark .platform-media-card > :is(button, .video-preview, video) + div {
  display: grid;
  gap: 6px;
  padding: 12px 12px 14px;
  background: var(--float-card-caption-surface);
  border-top: 1px solid var(--float-card-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.software-dark-section .showcase-item {
  display: grid;
  gap: 0;
  padding: 0;
  border: 1px solid var(--float-card-border);
  border-radius: var(--float-card-radius);
  background: rgba(33, 28, 69, 0.36);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--float-card-shadow);
  overflow: hidden;
}

.software-dark-section .showcase-item .image-button {
  height: auto;
  background: var(--float-card-media-bg);
}

.software-dark-section .showcase-item img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 10px;
  background: var(--float-card-media-bg);
}

.software-dark-section .showcase-item div {
  display: grid;
  gap: 6px;
  padding: 12px 12px 14px;
  background: rgba(2, 1, 15, 0.26);
  border-top: 1px solid var(--float-card-border);
}

.software-dark-section .showcase-item h3 {
  margin: 0;
  color: var(--float-card-title);
}

.software-dark-section .showcase-item p {
  margin: 0;
  color: var(--float-card-copy);
}

/* Software section layout experiment from annotations */
.software-dark-section .showcase-grid.showcase-grid-expanded > .showcase-item:nth-of-type(2) {
  grid-column: 2 / span 2;
  align-self: stretch;
  display: grid;
  grid-template-rows: auto 1fr;
}

.software-dark-section .showcase-grid.showcase-grid-expanded > .showcase-item:nth-of-type(3) {
  grid-column: 3;
  grid-row: 3;
}

.software-dark-section .showcase-grid.showcase-grid-expanded > .showcase-item:nth-of-type(5) {
  grid-column: 1 / span 2;
  grid-row: 3;
  align-self: stretch;
  display: grid;
  grid-template-rows: auto 1fr;
}

.software-dark-section .showcase-grid.showcase-grid-expanded > .showcase-item:nth-of-type(6) {
  grid-column: 2 / span 2;
  grid-row: 2;
  align-self: stretch;
  display: grid;
  grid-template-rows: auto auto;
}

.software-dark-section .showcase-grid.showcase-grid-expanded > .showcase-item:nth-of-type(6) .mobile-shot-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 0;
  gap: 10px;
  padding: 0 12px 0 12px;
  aspect-ratio: 16 / 8.2;
  background: #080a1d;
  overflow: hidden;
}

.software-dark-section .showcase-grid.showcase-grid-expanded > .showcase-item:nth-of-type(6) .mobile-shot-strip .image-button {
  border-radius: 10px;
  background: #080a1d;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.software-dark-section .showcase-grid.showcase-grid-expanded > .showcase-item:nth-of-type(6) .mobile-shot-strip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.software-dark-section .showcase-grid.showcase-grid-expanded > .showcase-item:nth-of-type(6) > div:last-child {
  padding: 0 16px 14px;
  gap: 6px;
}

.software-dark-section .mobile-shot-strip {
  gap: 8px;
  padding: 10px;
  aspect-ratio: auto;
  background: transparent;
}

.software-dark-section .mobile-shot-strip .image-button {
  border-radius: 8px;
  overflow: hidden;
}

.software-dark-section .mobile-shot-strip img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.platform-status-floats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.platform-status-floats span {
  position: relative;
  padding: 8px 12px 8px 28px;
  border: 1px solid rgba(202, 191, 255, 0.38);
  border-radius: 999px;
  color: rgba(240, 246, 255, 0.92);
  background: rgba(111, 78, 194, 0.22);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 700;
}

.platform-status-floats span::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: radial-gradient(circle, #9cf6cd 40%, #32cf8a 100%);
  transform: translateY(-50%);
  box-shadow: 0 0 8px rgba(85, 255, 171, 0.7);
}

.room-workflows-intro {
  padding-bottom: 26px;
}

.room-workflows-cards {
  padding-top: 22px;
}

.platform-main .room-workflows-cards.platform-status-section-dark {
  background:
    radial-gradient(circle at 50% -10%, rgba(130, 78, 255, 0.34), rgba(130, 78, 255, 0) 36%),
    radial-gradient(circle at 16% 30%, rgba(56, 93, 214, 0.24), rgba(56, 93, 214, 0) 44%),
    linear-gradient(180deg, #0e0b22 0%, #090d23 48%, #070b1a 100%);
}

.mobile-app-intro {
  padding-bottom: 26px;
}

.mobile-app-cards {
  padding-top: 22px;
}

.platform-main .mobile-app-cards.platform-status-section-dark {
  background:
    radial-gradient(circle at 50% -10%, rgba(130, 78, 255, 0.34), rgba(130, 78, 255, 0) 36%),
    radial-gradient(circle at 84% 30%, rgba(56, 93, 214, 0.24), rgba(56, 93, 214, 0) 44%),
    linear-gradient(180deg, #0e0b22 0%, #090d23 48%, #070b1a 100%);
}

.platform-main .automation-cards.platform-status-section-dark {
  background:
    radial-gradient(circle at 50% -10%, rgba(130, 78, 255, 0.34), rgba(130, 78, 255, 0) 36%),
    radial-gradient(circle at 84% 30%, rgba(56, 93, 214, 0.24), rgba(56, 93, 214, 0) 44%),
    linear-gradient(180deg, #0e0b22 0%, #090d23 48%, #070b1a 100%);
}

.mobile-app-cards .phone-card {
  display: grid;
  gap: 0;
  padding: 0;
  border: 1px solid var(--float-card-border);
  border-radius: var(--float-card-radius);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: var(--float-card-shadow);
  overflow: hidden;
}

.mobile-app-cards .phone-card .image-button {
  background: var(--float-card-media-bg);
  height: auto;
}

.mobile-app-cards .phone-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  background: var(--float-card-media-bg);
}

.mobile-app-cards .phone-card h3,
.mobile-app-cards .phone-card p {
  padding: 0 14px;
}

.mobile-app-cards .phone-card > .image-button + div,
.maintenance-cards .phone-card > .image-button + div {
  display: grid;
  gap: 6px;
  padding: 12px 12px 14px;
  background: var(--float-card-caption-surface);
  border-top: 1px solid var(--float-card-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobile-app-cards .phone-card h3 {
  margin: 0;
  padding-top: 12px;
  color: var(--float-card-title);
}

.mobile-app-cards .phone-card p {
  margin: 0;
  padding-bottom: 14px;
  color: var(--float-card-copy);
}

.automation-intro {
  padding-bottom: 26px;
}

.automation-cards {
  padding-top: 22px;
}

.maintenance-intro {
  padding-bottom: 26px;
}

.maintenance-cards {
  padding-top: 22px;
}

.maintenance-cards .phone-card {
  display: grid;
  gap: 0;
  padding: 0;
  border: 1px solid var(--float-card-border);
  border-radius: var(--float-card-radius);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: var(--float-card-shadow);
  overflow: hidden;
}

.maintenance-cards .phone-card .image-button {
  background: var(--float-card-media-bg);
  height: auto;
}

.maintenance-cards .phone-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  background: var(--float-card-media-bg);
}

.maintenance-cards .phone-card h3,
.maintenance-cards .phone-card p {
  padding: 0 14px;
}

.maintenance-cards .phone-card h3 {
  margin: 0;
  padding-top: 12px;
  color: var(--float-card-title);
}

.maintenance-cards .phone-card p {
  margin: 0;
  padding-bottom: 14px;
  color: var(--float-card-copy);
}

.platform-main .room-workflows-intro,
.platform-main .mobile-app-intro,
.platform-main .automation-intro,
.platform-main .maintenance-intro {
  position: relative;
  overflow: hidden;
}

.platform-main .room-workflows-intro::before,
.platform-main .mobile-app-intro::before,
.platform-main .automation-intro::before,
.platform-main .maintenance-intro::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 112px;
  pointer-events: none;
  background:
    radial-gradient(92% 74px at 50% 0, rgba(126, 102, 244, 0.3), rgba(126, 102, 244, 0) 74%),
    radial-gradient(74% 56px at 50% 0, rgba(64, 106, 235, 0.18), rgba(64, 106, 235, 0) 76%);
  z-index: 1;
}

.platform-main .room-workflows-intro::after,
.platform-main .mobile-app-intro::after,
.platform-main .automation-intro::after,
.platform-main .maintenance-intro::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 112px;
  pointer-events: none;
  background:
    radial-gradient(92% 74px at 50% 100%, rgba(126, 102, 244, 0.3), rgba(126, 102, 244, 0) 74%),
    radial-gradient(74% 56px at 50% 100%, rgba(64, 106, 235, 0.18), rgba(64, 106, 235, 0) 76%);
  z-index: 1;
  opacity: 0;
  transition: opacity 360ms ease;
}

.platform-main .room-workflows-intro.transition-glow-active::after,
.platform-main .mobile-app-intro.transition-glow-active::after,
.platform-main .automation-intro.transition-glow-active::after,
.platform-main .maintenance-intro.transition-glow-active::after {
  opacity: 1;
}

.platform-main .room-workflows-intro .section-head,
.platform-main .mobile-app-intro .section-head,
.platform-main .automation-intro .section-head,
.platform-main .maintenance-intro .section-head {
  position: relative;
  z-index: 2;
}

.platform-main .room-workflows-cards,
.platform-main .mobile-app-cards,
.platform-main .automation-cards,
.platform-main .maintenance-cards {
  position: relative;
}

.platform-main .room-workflows-cards::before,
.platform-main .mobile-app-cards::before,
.platform-main .automation-cards::before,
.platform-main .maintenance-cards::before {
  content: none;
}

.automation-cards .platform-status-grid {
  align-items: stretch;
}

.automation-cards .platform-status-grid .platform-media-card,
.automation-cards .platform-status-grid .platform-video-card {
  display: grid;
  grid-template-rows: var(--float-card-image-height) 1fr;
  gap: 0;
  padding: 0;
  border: 1px solid var(--float-card-border);
  border-radius: var(--float-card-radius);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: var(--float-card-shadow);
  overflow: hidden;
}

.automation-cards .platform-status-grid .platform-media-card .image-button,
.automation-cards .platform-status-grid .platform-video-card video {
  height: var(--float-card-image-height);
}

.automation-cards .platform-status-grid .platform-media-card img,
.automation-cards .platform-status-grid .platform-video-card video {
  width: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--float-card-media-bg);
}

.automation-cards .platform-status-grid .platform-media-card img,
.automation-cards .platform-status-grid .platform-video-card video {
  border-radius: 10px;
}

.automation-cards .platform-status-grid .platform-media-card > button + div,
.automation-cards .platform-status-grid .platform-video-card > :is(video, .video-preview) + div {
  display: grid;
  gap: 6px;
  padding: 12px 12px 14px;
  background: var(--float-card-caption-surface);
  border-top: 1px solid var(--float-card-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.automation-cards .platform-status-grid .platform-media-card h3,
.automation-cards .platform-status-grid .platform-video-card h3 {
  margin: 0;
  color: var(--float-card-title);
}

.automation-cards .platform-status-grid .platform-media-card p,
.automation-cards .platform-status-grid .platform-video-card p {
  margin: 0;
  color: var(--float-card-copy);
}

.room-workflows-cards .platform-status-grid .platform-media-card {
  grid-template-rows: var(--float-card-image-height-lg) 1fr;
  min-width: 0;
}

.room-workflows-cards .platform-status-grid .platform-media-card .image-button {
  height: var(--float-card-image-height-lg);
}

.room-workflows-cards .platform-status-grid .platform-media-card img {
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
}

.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(1) .video-preview {
  height: 100%;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  line-height: 0;
  background: var(--float-card-media-bg);
}

.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(1) img,
.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(2) img {
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(1) .video-preview img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
  display: block;
  border-radius: 0;
}

.room-workflows-cards .platform-status-grid .room-workflows-video-card {
  isolation: isolate;
}

.room-workflows-cards .platform-status-grid .room-workflows-video-card .video-preview {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  height: 100%;
  border-radius: 0;
  clip-path: none;
}

.room-workflows-cards .platform-status-grid .room-workflows-video-card .video-preview img {
  border-radius: 10px;
}

.room-workflows-cards .platform-status-grid .room-workflows-video-card > div:last-child {
  position: relative;
  z-index: 2;
}

.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(1),
.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(2),
.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(4) {
  transition: none;
}

.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(1):hover,
.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(2):hover,
.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(4):hover {
  transform: none;
}

.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(1) .image-button,
.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(2) .image-button,
.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(4) .image-button {
  transition: none;
}

.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(1) .image-button:hover,
.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(2) .image-button:hover,
.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(4) .image-button:hover {
  transform: none;
}

.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(1) .image-button:hover img,
.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(2) .image-button:hover img,
.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(4) .image-button:hover img {
  transform: none !important;
  filter: none !important;
}

.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(1) .image-button img,
.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(2) .image-button img,
.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(4) .image-button img {
  transition: none !important;
  filter: none !important;
}

.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(1) .image-button:hover,
.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(2) .image-button:hover,
.room-workflows-cards .platform-status-grid .platform-media-card:nth-of-type(4) .image-button:hover {
  z-index: auto;
}

.room-workflows-cards .platform-status-grid .platform-media-card.room-workflows-double {
  grid-column: span 2;
  grid-template-rows: auto 1fr;
}

.room-workflows-cards .platform-status-grid .room-workflows-three-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  min-width: 0;
}

.room-workflows-cards .platform-status-grid .room-workflows-three-row > .platform-media-card.room-workflows-double {
  grid-column: span 2;
  min-width: 0;
}

.room-workflows-cards .platform-status-grid .room-workflows-three-row > .platform-media-card.room-workflows-third {
  grid-column: span 1;
  min-width: 0;
  grid-template-rows: auto 1fr;
}

.room-workflows-cards .platform-status-grid .platform-media-card.room-workflows-double > .image-button {
  height: auto;
  aspect-ratio: auto;
  width: 100%;
}

.room-workflows-cards .platform-status-grid .platform-media-card.room-workflows-double > .image-button > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.room-workflows-cards .platform-status-grid .platform-media-card.room-workflows-third > .image-button {
  height: auto;
  aspect-ratio: auto;
  width: 100%;
}

.room-workflows-cards .platform-status-grid .platform-media-card.room-workflows-third > .image-button > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.room-workflows-cards .platform-status-grid .platform-media-card > :is(button, .video-preview, video) + div {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.room-workflows-cards .platform-status-grid .platform-media-card > :is(button, .video-preview, video) + div h3,
.room-workflows-cards .platform-status-grid .platform-media-card > :is(button, .video-preview, video) + div p {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.platform-media-card .image-contain {
  padding: 16px;
  background: var(--paper);
}

.platform-media-card .image-explainer {
  padding: 0;
  aspect-ratio: 16 / 9;
  background: #1f222b;
}

.platform-media-card > button + div {
  padding: 22px;
}

.platform-media-card h3,
.phone-card h3 {
  margin-bottom: 8px;
}

.platform-media-card p,
.phone-card p {
  margin: 0;
  color: var(--muted);
}

.platform-video-card {
  overflow: hidden;
  box-shadow: none;
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.phone-grid-compact {
  grid-template-columns: repeat(3, minmax(220px, 300px));
  justify-content: center;
}

.phone-card {
  padding: 14px;
}

.phone-card .image-button {
  overflow: hidden;
  border-radius: 6px;
}

.phone-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  background: #17242b;
}

.phone-card .image-button:hover img,
.platform-media-card .image-button:hover img {
  transform: none;
}

.phone-card h3 {
  margin-top: 16px;
}

.ui-section {
  border-top: 1px solid var(--line);
}

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

.ui-card {
  overflow: hidden;
  box-shadow: none;
}

.ui-card .image-button {
  height: auto;
  background: #18242b;
}

.ui-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.ui-card div,
.video-card div {
  padding: 22px;
}

.ui-card p,
.video-card p {
  margin: 0;
  color: var(--muted);
}

.media-frame-dark .image-button img {
  height: auto;
  aspect-ratio: 80 / 41;
  object-fit: contain;
  background: #061926;
}

.split-section .two-column,
.media-section .two-column {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
}

.copy-stack {
  display: grid;
  gap: 20px;
  align-content: start;
}

.copy-stack h2 {
  margin: 0;
}

.copy-stack p,
.metric-list,
.quote-block p {
  margin: 0;
}

.metric-list strong {
  color: var(--white);
}

.network-intro .metric-list strong {
  color: var(--ink);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.video-card {
  overflow: hidden;
  box-shadow: none;
}

.video-preview {
  position: relative;
  overflow: hidden;
  background: #0f1514;
}

.video-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(8, 12, 11, 0.42), rgba(8, 12, 11, 0) 58%);
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0f1514;
}

.video-embed,
.video-card iframe,
.video-frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f1514;
}

.video-embed {
  overflow: hidden;
}

.video-card iframe,
.video-frame iframe {
  display: block;
  border: 0;
}

.video-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0f1514;
}

.video-preview video {
  pointer-events: none;
}

.video-open-button {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 14px;
  color: var(--white);
  background: rgba(23, 32, 29, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  font-weight: 680;
  letter-spacing: 0.01em;
  line-height: 1;
  backdrop-filter: blur(10px);
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.video-open-button:hover {
  transform: translateY(-2px);
  background: var(--orange);
  border-color: var(--orange);
}

.video-play-mark {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.three-d-videos .video-preview,
.three-d-videos .video-preview video,
.three-d-videos .video-preview iframe {
  background: transparent;
}

.three-d-videos .video-preview video {
  transform: none;
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.device-card {
  overflow: hidden;
  box-shadow: none;
}

.device-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.device-photo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--line);
}

.device-photo-pair img {
  min-width: 0;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.device-card div {
  padding: 22px;
}

.device-card .device-photo-pair {
  padding: 0;
}

.device-card p {
  margin: 0;
}

.network-equipment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.network-equipment-grid .device-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.network-equipment-grid .device-card img {
  object-fit: contain;
  padding: 16px 16px 8px;
  background: var(--white);
}

.network-equipment-grid .device-card div {
  display: grid;
  flex: 1;
  align-content: start;
  background: #fbfcfd;
  border-top: 1px solid var(--line);
}

.product-hero .product-media.network-diagram-media {
  align-self: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.product-hero .product-media.hero-illustration-media {
  align-self: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.product-hero .product-media.network-diagram-media img {
  display: block;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 8px;
  background: transparent;
}

.product-hero .product-media.hero-illustration-media img {
  display: block;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 8px;
  background: transparent;
}

.product-hero .product-media.product-hero-crop-media {
  align-self: center;
  justify-self: center;
  width: fit-content;
  max-width: 100%;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.product-hero .product-media.product-hero-crop-media img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: 62% center;
  display: block;
  border-radius: var(--radius);
}

.product-hero .product-media.multisensor-hero-media {
  justify-self: center;
  width: min(100%, 364px);
}

.product-hero .product-media.poe-zigbee-hero-media {
  justify-self: center;
  width: min(100%, 338px);
}

.product-hero .product-media.outlets-hero-media {
  justify-self: center;
  width: fit-content;
  max-width: min(100%, 336px);
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.product-hero .product-media.outlets-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: var(--radius);
}

.product-hero .product-media.light-switch-hero-media {
  justify-self: center;
  width: fit-content;
  max-width: min(100%, 504px);
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.product-hero .product-media.light-switch-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: var(--radius);
}

.network-example-grid {
  align-items: start;
}

.network-diagram-frame {
  box-shadow: none;
}

.spec-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  overflow: hidden;
  box-shadow: none;
}

.spec-band div {
  padding: 28px;
}

.spec-band div + div {
  border-left: 1px solid var(--line);
}

.spec-band p {
  margin: 0;
  color: var(--muted);
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.photo-strip .image-button {
  overflow: hidden;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: none;
}

.photo-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.operations-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.staff-safety-thermostat-media .image-button img {
  object-fit: cover !important;
  object-position: right center;
  transform-origin: right center;
}

.step-list {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.step-list > div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.step-list > div > div {
  display: grid;
  gap: 6px;
}

.step-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font-weight: 850;
}

.step-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.solution-tabs {
  padding: 8px;
  box-shadow: none;
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.tab-list button {
  min-height: 52px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 680;
  letter-spacing: 0.01em;
  text-align: left;
}

.tab-list button[aria-selected="true"] {
  color: var(--white);
  background: var(--graphite);
  border-color: var(--graphite);
}

.tab-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 32px;
  padding: 34px 22px 20px;
}

.tab-panel p,
.tab-panel ul {
  margin: 0;
}

.tab-panel ul {
  display: grid;
  gap: 12px;
  padding-left: 18px;
}

.tab-panel[hidden] {
  display: none;
}

.quote-block {
  padding: 24px;
  border-left: 5px solid var(--orange);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.video-frame {
  overflow: hidden;
  background: #0f1514;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.video-frame video,
.video-frame iframe,
.video-modal-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-modal {
  position: fixed;
  z-index: 110;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(10, 14, 13, 0.88);
}

.video-modal[hidden] {
  display: none;
}

.video-modal [hidden] {
  display: none !important;
}

.video-modal-panel {
  width: min(1120px, 94vw);
  overflow: hidden;
  color: var(--white);
  background: #0f1514;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  background: var(--graphite);
}

.video-modal-header h2 {
  margin: 0;
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.video-modal-close {
  min-height: 38px;
  padding: 8px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  font-weight: 680;
  letter-spacing: 0.01em;
}

.video-modal video {
  width: 100%;
  max-height: min(76vh, 760px);
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.video-modal iframe {
  width: 100%;
  max-height: min(76vh, 760px);
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

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

.resource-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  box-shadow: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.resource-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
}

.resource-card:target,
.resource-card.is-targeted {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(242, 140, 43, 0.2);
  transform: translateY(-2px);
}

.resource-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #17242b;
}

.resource-card-media.resource-card-media-light {
  background: linear-gradient(180deg, #f5f8fb 0%, #eef3f7 100%);
}

.resource-card-media.resource-card-media-light.resource-card-media-contain {
  background: #ffffff;
}

.resource-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.resource-card-media.resource-card-media-contain img {
  object-fit: contain;
  padding: 16px;
}

.resource-card-media-brochure img {
  object-fit: cover;
  object-position: center top;
  padding: 0;
}

.resource-card-media-metering img {
  object-fit: contain;
  object-position: center;
  padding: 18px 22px;
}

.resource-card-media-outlet img {
  transform: scale(1.14);
  object-position: 60% 36%;
}

.resource-card-media-network-equipment img {
  object-fit: contain;
  padding: 12px;
}

.resource-card-media.resource-card-media-light.resource-card-media-metering,
.resource-card-media.resource-card-media-light.resource-card-media-network-equipment,
.resource-card-media.resource-card-media-light.resource-card-media-zigbee {
  background: #ffffff;
}

.resource-card-media-zigbee img {
  object-fit: contain;
  padding: 28px 74px;
}

/* Global no-crop policy for site content imagery */
main img {
  object-fit: contain !important;
  object-position: center center !important;
}

/* Homepage exceptions: restore crop/fill behavior where requested */
#devices .device-photo-pair img,
#devices .device-card > img,
#devices .photo-strip img,
#deployment .video-preview img {
  object-fit: cover !important;
}

/* Keep outlet framing centered in the requested cards/strip image */
#devices .device-card:nth-of-type(4) > img,
#devices .photo-strip .image-button:nth-of-type(3) img {
  object-position: center center !important;
}

.resource-card-media-outlet img {
  transform: none !important;
}

.resource-card-copy {
  display: grid;
  align-content: start;
  flex: 1;
  padding: 22px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.resource-card span {
  width: fit-content;
  margin-bottom: 20px;
  padding: 5px 8px;
  color: var(--orange-dark);
  background: rgba(242, 140, 43, 0.12);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 620;
}

.resource-card p {
  margin: 0;
}

.product-main {
  background: var(--paper);
}

.products-hub-main .section-head {
  margin-bottom: 30px;
}

.products-hub-main,
.use-cases-page .product-main {
  background: #e8edf4;
}

.use-cases-page .section-light,
.products-hub-main .section-light {
  background: #dde5ef;
}

.products-hub-main .section-white,
.use-cases-page .section-white {
  background: #f1f5fa;
}

.products-hub-main .resource-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.products-hub-main .resource-card {
  scroll-margin-top: 118px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 220ms ease;
}

.products-hub-main .resource-card:target,
.products-hub-main .resource-card.is-targeted {
  animation: products-target-glow 420ms ease-out;
}

@keyframes products-target-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(242, 140, 43, 0);
  }
  35% {
    box-shadow: 0 0 0 4px rgba(242, 140, 43, 0.18);
  }
  100% {
    box-shadow: 0 0 0 2px rgba(242, 140, 43, 0.2);
  }
}

.use-cases-hero {
  background:
    radial-gradient(circle at 84% 8%, rgba(88, 138, 255, 0.46), rgba(88, 138, 255, 0) 38%),
    radial-gradient(circle at 16% 92%, rgba(242, 140, 43, 0.38) 0%, rgba(242, 140, 43, 0) 42%),
    linear-gradient(135deg, #0b1430 0%, #13224b 52%, #1d3571 100%);
}

.about-hero {
  background:
    radial-gradient(circle at 82% 12%, rgba(242, 140, 43, 0.42), rgba(242, 140, 43, 0) 34%),
    radial-gradient(circle at 12% 84%, rgba(65, 194, 255, 0.28), rgba(65, 194, 255, 0) 44%),
    linear-gradient(135deg, #0c1830 0%, #142844 54%, #1f3f69 100%);
}

.product-hero {
  padding: 132px 34px 78px;
  background:
    radial-gradient(circle at 80% 12%, rgba(242, 140, 43, 0.34), rgba(242, 140, 43, 0) 34%),
    radial-gradient(circle at 14% 24%, rgba(92, 140, 255, 0.38), rgba(92, 140, 255, 0) 42%),
    linear-gradient(145deg, #0a1430 0%, #112345 52%, #1a3565 100%);
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
}

.product-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: 4rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.product-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.product-hero-copy {
  margin: 22px 0 0;
  font-size: 1.14rem;
}

.use-cases-hero-copy-secondary,
.about-hero-copy-secondary {
  max-width: 680px;
  margin: 18px 0 0;
  font-size: 1.04rem;
}

.use-cases-hero-grid,
.about-hero-grid {
  align-items: start;
}

.about-hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas:
    "copy media"
    "stats note";
  gap: 18px 44px;
  align-items: start;
}

.about-hero-copy-stack {
  grid-area: copy;
}

.about-hero-media-wrap {
  grid-area: media;
  align-self: start;
  justify-self: end;
  width: min(100%, 720px);
}

.about-hero-media-wrap .product-media {
  height: auto;
  border: 0;
  background: transparent;
}

.about-hero-media-wrap .product-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  aspect-ratio: auto;
  object-fit: contain;
}

.use-cases-hero-side {
  display: grid;
  gap: 18px;
}

.use-cases-hero-note,
.about-hero-note {
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 22px 60px rgba(8, 12, 11, 0.18);
}

.use-cases-hero-note p,
.about-hero-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
}

.use-cases-hero-overlap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 26px;
}

.use-cases-hero-card {
  position: relative;
  display: grid;
  gap: 7px;
  min-height: 108px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(11px);
  box-shadow: 0 16px 34px rgba(9, 14, 19, 0.24);
}

.use-cases-hero-card strong {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.use-cases-hero-card span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.84rem;
  line-height: 1.35;
}

.about-hero-stats {
  grid-area: stats;
  max-width: none;
  margin: 0;
}

.about-hero-note {
  grid-area: note;
  margin: 0;
  align-self: start;
}

.product-media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: var(--graphite-2);
}

.product-media img,
.product-media video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.product-media.contain img {
  object-fit: contain;
  background: #17242b;
}

.privacy-cookie-media img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 760px;
  margin: 0 auto;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.platform-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(130, 78, 255, 0.34), rgba(130, 78, 255, 0) 36%),
    radial-gradient(circle at 16% 30%, rgba(56, 93, 214, 0.24), rgba(56, 93, 214, 0) 44%),
    linear-gradient(180deg, #0e0b22 0%, #090d23 48%, #070b1a 100%);
}

.platform-hero .product-hero-grid {
  grid-template-columns: 1fr;
  gap: 34px;
}

.platform-hero .product-hero-grid > div:first-child {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.platform-hero .product-hero-copy {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.platform-hero .product-pill-list {
  justify-content: center;
}

.platform-hero .product-pill-list li {
  border: 1px solid var(--float-card-border);
  background: rgba(33, 28, 69, 0.26);
  box-shadow:
    0 10px 24px rgba(7, 12, 38, 0.34),
    0 0 14px rgba(124, 104, 238, 0.16);
}

.products-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(130, 78, 255, 0.34), rgba(130, 78, 255, 0) 36%),
    radial-gradient(circle at 16% 30%, rgba(56, 93, 214, 0.24), rgba(56, 93, 214, 0) 44%),
    linear-gradient(180deg, #0e0b22 0%, #090d23 48%, #070b1a 100%);
}

.products-hero .product-pill-list li {
  border: 1px solid var(--float-card-border);
  background: rgba(33, 28, 69, 0.26);
  box-shadow:
    0 10px 24px rgba(7, 12, 38, 0.34),
    0 0 14px rgba(124, 104, 238, 0.16);
}

.products-hero .product-media {
  position: relative;
  border: 1px solid var(--float-card-border);
  border-radius: 14px;
  background: rgba(33, 28, 69, 0.36);
  backdrop-filter: blur(10px);
  box-shadow:
    0 54px 110px rgba(2, 6, 24, 0.78),
    0 22px 44px rgba(7, 12, 38, 0.62),
    0 0 40px rgba(124, 104, 238, 0.34);
}

.products-hero .product-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: unset;
}

.use-cases-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(130, 78, 255, 0.34), rgba(130, 78, 255, 0) 36%),
    radial-gradient(circle at 16% 30%, rgba(56, 93, 214, 0.24), rgba(56, 93, 214, 0) 44%),
    linear-gradient(180deg, #0e0b22 0%, #090d23 48%, #070b1a 100%);
}

.use-cases-hero .product-media {
  position: relative;
  border: 1px solid var(--float-card-border);
  border-radius: 14px;
  background: rgba(33, 28, 69, 0.36);
  backdrop-filter: blur(10px);
  box-shadow:
    0 54px 110px rgba(2, 6, 24, 0.78),
    0 22px 44px rgba(7, 12, 38, 0.62),
    0 0 40px rgba(124, 104, 238, 0.34);
}

.use-cases-hero .product-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: unset;
}

.use-cases-hero .use-cases-hero-card {
  border: 1px solid var(--float-card-border);
  background: rgba(33, 28, 69, 0.26);
  box-shadow:
    0 10px 24px rgba(7, 12, 38, 0.34),
    0 0 14px rgba(124, 104, 238, 0.16);
}

.custom-hero {
  padding: 104px 34px 44px;
  background:
    radial-gradient(circle at 78% 14%, rgba(141, 93, 255, 0.5), rgba(141, 93, 255, 0) 40%),
    radial-gradient(circle at 18% 28%, rgba(58, 112, 255, 0.42), rgba(58, 112, 255, 0) 44%),
    radial-gradient(circle at 12% 88%, rgba(242, 140, 43, 0.24), rgba(242, 140, 43, 0) 38%),
    linear-gradient(148deg, #070b1e 0%, #0b1433 46%, #121a45 100%);
}

.custom-hero .product-hero-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  max-width: 880px;
  margin: 0 auto;
}

.custom-hero h1 {
  font-size: 3.15rem;
  line-height: 1.08;
}

.custom-hero .product-hero-copy {
  margin-top: 16px;
  font-size: 1.06rem;
}

.custom-hero .product-pill-list {
  margin-top: 20px;
}

.integration-hero {
  padding: 96px 34px 40px;
  background:
    radial-gradient(circle at 82% 10%, rgba(11, 187, 153, 0.34), rgba(11, 187, 153, 0) 40%),
    radial-gradient(circle at 14% 22%, rgba(46, 118, 255, 0.42), rgba(46, 118, 255, 0) 43%),
    radial-gradient(circle at 20% 92%, rgba(255, 152, 63, 0.2), rgba(255, 152, 63, 0) 38%),
    linear-gradient(150deg, #050b16 0%, #081629 48%, #0d223b 100%);
}

.integration-hero .product-hero-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  max-width: 860px;
  margin: 0 auto;
}

.integration-hero h1 {
  font-size: 2.95rem;
  line-height: 1.1;
}

.integration-hero .product-hero-copy {
  margin-top: 14px;
  font-size: 1.03rem;
}

.integration-hero .product-pill-list {
  margin-top: 18px;
}

.platform-hero-media {
  position: relative;
  display: grid;
  width: min(1260px, calc(100% - 220px));
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  aspect-ratio: 3882 / 2428;
  min-height: 0;
  padding: 18px 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 10%, rgba(121, 77, 255, 0.22), rgba(121, 77, 255, 0) 44%),
    radial-gradient(circle at 86% 14%, rgba(56, 92, 212, 0.2), rgba(56, 92, 212, 0) 40%),
    linear-gradient(162deg, rgba(14, 16, 41, 0.96), rgba(10, 14, 33, 0.88));
  box-shadow: 0 30px 84px rgba(4, 6, 18, 0.5);
}

.platform-hero-bg {
  min-height: 0;
  background-image:
    linear-gradient(180deg, rgba(8, 11, 30, 0.08), rgba(8, 11, 30, 0.42)),
    url("site-assets/platform-hero-3dview-room.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.platform-hero-float {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 0;
  width: min(270px, 44%);
  padding: 0;
  border: 1px solid var(--float-card-border);
  border-radius: 14px;
  background: rgba(33, 28, 69, 0.36);
  backdrop-filter: blur(10px);
  box-shadow:
    0 54px 110px rgba(2, 6, 24, 0.78),
    0 22px 44px rgba(7, 12, 38, 0.62),
    0 0 40px rgba(124, 104, 238, 0.34);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.platform-hero-float:hover {
  transform: scale(1.03);
}

.platform-hero-float-top:hover {
  transform: translateX(-50%) scale(1.03);
}

.platform-hero-float img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: unset;
  border-radius: 0;
  background: transparent;
}

.platform-hero-float > div {
  display: grid;
  gap: 6px;
  padding: 12px 12px 14px;
  background: rgba(33, 28, 69, 0.26);
  border-top: 1px solid var(--float-card-border);
}

.platform-hero-float strong {
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 760;
  line-height: 1.2;
}

.platform-hero-float span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  line-height: 1.32;
}

.platform-hero-float-left {
  left: -250px;
  top: 54px;
  width: min(250px, 36%);
}

.platform-hero-float-right {
  right: -48px;
  top: 390px;
  width: min(326px, 47%);
}

.platform-hero-float-top {
  left: 33%;
  bottom: -42px;
  transform: translateX(-50%);
  width: min(228px, 30%);
  z-index: 5;
}

.product-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.product-pill-list li {
  padding: 7px 10px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-weight: 620;
}

.product-section {
  padding: 72px 34px;
}

.platform-main .product-section {
  padding: var(--space-section-y) var(--space-section-x);
}

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

.product-panel,
.spec-link-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: none;
}

.product-panel h2,
.spec-link-panel h2,
.video-card h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1.16;
  letter-spacing: 0;
}

.product-panel p,
.spec-link-panel p,
.video-card h2 + p {
  margin: 0;
}

.product-panel p,
.product-panel li,
.spec-link-panel p {
  color: var(--muted);
}

.product-panel ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 14px 0 0;
}

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

.integration-partner-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.integration-partner-card img {
  width: auto;
  max-width: min(170px, 100%);
  max-height: 48px;
}

.integration-partner-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.25;
}

.battery-project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.battery-project-gallery .image-button {
  display: block;
  height: 178px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f2f5f8;
}

.battery-project-gallery .image-button img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  background: #f2f5f8;
}

.faq-grid {
  align-items: stretch;
}

.faq-card {
  display: grid;
  gap: 12px;
}

.faq-card h3 {
  margin-bottom: 0;
}

.use-cases-proof-strip {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 68px));
  margin: -22px auto 0;
  padding: 0 0 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  background: transparent;
  border: 0;
}

.use-cases-proof-strip div {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 22px 20px;
  color: rgba(17, 32, 34, 0.78);
  text-align: left;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.34;
  border: 1px solid rgba(17, 32, 34, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(17, 32, 34, 0.08);
}

@media (max-width: 1120px) {
  .use-cases-proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .use-cases-proof-strip {
    width: calc(100% - 40px);
    margin-top: -14px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .use-cases-proof-strip div,
  .use-cases-proof-strip div:nth-child(3n) {
    border-right: 1px solid rgba(17, 32, 34, 0.08);
    border-bottom: 0;
  }
}

.use-case-quote-block {
  border-left-color: var(--orange);
  background: rgba(242, 140, 43, 0.1);
}

.section-dark .use-case-quote-block {
  background: rgba(255, 255, 255, 0.08);
}

.use-case-quote-block p {
  color: var(--ink);
  font-size: 1.04rem;
}

.section-dark .use-case-quote-block p {
  color: rgba(255, 255, 255, 0.84);
}

.use-case-benefits strong {
  color: var(--ink);
}

.section-dark .use-case-benefits strong {
  color: var(--white);
}

.use-case-inline-panel {
  box-shadow: none;
}

.use-case-media-stack {
  display: grid;
  gap: 14px;
  align-content: start;
}

/* Use-cases: restore intended media framing for specific annotated blocks */
#lighting .use-case-media-stack > .media-frame .image-button {
  display: block;
  height: 390px;
  overflow: hidden;
}

#lighting .use-case-media-stack > .media-frame .image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center center !important;
}

.use-case-side-panel {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbf8;
}

.use-case-side-panel h3 {
  margin: 0;
  font-size: 1.06rem;
}

.use-case-side-panel p {
  margin: 10px 0 0;
  color: var(--muted);
}

.use-case-side-panel ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.use-case-side-panel li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.use-case-side-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.use-case-side-panel-dark {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.use-case-side-panel-dark h3 {
  color: var(--white);
}

.use-case-side-panel-dark p,
.use-case-side-panel-dark li {
  color: rgba(255, 255, 255, 0.78);
}

.use-case-side-panel-dark li::before {
  background: #7fd8c9;
}

.energy-savings-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: 40px;
  align-items: start;
}

.energy-savings-steps {
  gap: 18px;
}

.energy-savings-section .copy-stack h2 {
  max-width: 12ch;
  font-size: 3.45rem;
}

.energy-savings-media {
  align-self: start;
  justify-self: stretch;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.14);
}

.use-case-media-stack .energy-savings-media {
  margin-top: 0;
}

.energy-savings-media .image-button {
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  aspect-ratio: auto;
  overflow: visible;
}

.energy-savings-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain !important;
  object-position: center center !important;
  background: transparent;
}

/* Room visibility gallery should fill cards without side margins */
#visibility .use-case-gallery .image-button {
  height: auto;
  overflow: hidden;
  display: block;
}

#visibility .use-case-gallery .image-button img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain !important;
  object-position: center center !important;
}

#visibility .use-case-gallery .image-button:nth-of-type(1) {
  height: auto !important;
  overflow: visible;
}

#visibility .use-case-gallery .image-button:nth-of-type(1) img {
  height: auto !important;
  object-fit: contain !important;
}

#visibility .use-case-gallery .image-button:nth-of-type(2) {
  aspect-ratio: 2600 / 1463;
  height: auto !important;
  overflow: hidden;
}

#visibility .use-case-gallery .image-button:nth-of-type(2) img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center center !important;
}

.renovation-media {
  align-self: start;
  background: #ffffff;
  border-color: rgba(23, 32, 29, 0.1);
}

.renovation-media .image-button {
  height: auto;
}

.renovation-media .image-button img {
  height: auto;
  aspect-ratio: auto;
  max-height: 760px;
  object-fit: contain;
  background: #ffffff;
}

.tracker-media-stack {
  display: grid;
  gap: 18px;
  align-content: start;
}

.tracker-media {
  align-self: start;
  background: #ffffff;
  border-color: rgba(23, 32, 29, 0.1);
}

.tracker-media .image-button {
  height: auto;
}

.tracker-media .image-button img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #ffffff;
}

.tracker-media-hardware {
  justify-self: end;
  width: min(100%, 560px);
}

.tracker-media-hardware > .image-button {
  height: auto;
}

.tracker-hardware-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
  background: #ffffff;
}

.tracker-hardware-grid .image-button {
  height: 100%;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(23, 32, 29, 0.08);
}

.tracker-hardware-grid .image-button img {
  width: 100%;
  height: 132px;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.tracker-media-hardware > .image-button img {
  width: 100%;
  height: 320px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  background: #dbe8f7;
}

.tracker-media-app {
  justify-self: end;
  width: min(100%, 560px);
  background: #2f3651;
  border-color: rgba(47, 54, 81, 0.3);
}

.tracker-media-app .image-button {
  height: auto;
}

.tracker-media-app .image-button img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #2f3651;
}

.location-awareness-media {
  align-self: start;
  justify-self: end;
  width: min(100%, 520px);
  background: #2f3651;
  border-color: rgba(255, 255, 255, 0.12);
}

.location-awareness-media .image-button {
  height: auto;
}

.location-awareness-media .image-button img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #2f3651;
}

.use-case-gallery {
  margin-top: 24px;
}

#visibility .use-case-gallery {
  align-items: start;
}

.use-cases-feature-grid {
  margin-top: 12px;
}

.use-case-feature-card {
  box-shadow: none;
}

.about-story-grid {
  align-items: stretch;
}

.about-facts-panel {
  background:
    linear-gradient(180deg, rgba(242, 140, 43, 0.08), rgba(242, 140, 43, 0.02)),
    var(--white);
}

.about-facts-panel .eyebrow {
  margin-bottom: 10px;
}

.about-facts-grid {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
}

.about-facts-grid div {
  padding-top: 14px;
  border-top: 1px solid rgba(23, 32, 29, 0.08);
}

.about-facts-grid div:first-child {
  padding-top: 0;
  border-top: 0;
}

.about-facts-grid dt {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.about-facts-grid dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.3;
}

.about-feature-card {
  box-shadow: none;
}

.section-dark .about-feature-card {
  background: rgba(255, 255, 255, 0.96);
}

.about-energy-proof-grid {
  align-items: stretch;
}

.about-energy-graph-panel,
.about-energy-quote-panel {
  display: grid;
  gap: 14px;
}

.about-energy-graph-panel h3 {
  margin: 0;
}

.about-energy-graph-panel img {
  width: 100%;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid var(--line);
  background: var(--white);
}

.about-energy-quote {
  margin: 0;
  padding: 20px;
  border-left: 4px solid var(--orange);
  border-radius: calc(var(--radius) - 6px);
  background: rgba(255, 255, 255, 0.7);
}

.about-energy-quote p {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.about-energy-quote-attribution {
  color: var(--muted);
  font-size: 0.94rem;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.thermostat-beauty-plate-copy {
  margin-top: 24px;
}

.product-gallery-two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-gallery-four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-gallery-five-up {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product-gallery.light-switch-gallery .image-button img {
  aspect-ratio: 3 / 4;
}

.product-gallery.light-switch-gallery .image-button:nth-of-type(-n+4) img {
  object-fit: cover;
  object-position: center;
}

.product-gallery.light-switch-gallery .image-button:nth-of-type(1) img {
  object-position: 86% center;
  transform: scale(1.2);
  transform-origin: 86% center;
}

.product-gallery.light-switch-gallery .image-button:nth-of-type(1):hover img {
  transform: scale(1.2);
}

.product-gallery.outlets-gallery .image-button img {
  aspect-ratio: 8 / 9;
  object-fit: cover;
  object-position: center;
}

.product-gallery.poe-zigbee-gallery .image-button {
  height: auto;
  background: transparent;
}

.product-gallery.poe-zigbee-gallery img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.product-gallery.poe-roller-shade-gallery .image-button {
  background: transparent;
}

.product-gallery.poe-roller-shade-gallery .image-button:nth-of-type(1) {
  background: #ffffff;
}

.product-gallery.poe-roller-shade-gallery img {
  aspect-ratio: auto;
  height: auto;
  object-fit: cover;
  background: transparent;
}

.product-gallery.metering-gallery .image-button:nth-of-type(1) {
  background: #ffffff;
}

.product-gallery.metering-gallery .image-button:nth-of-type(1) img {
  background: #ffffff;
}

.product-gallery .image-button {
  overflow: hidden;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.product-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #17242b;
}

.product-gallery.outlets-gallery .image-button:nth-of-type(-n+3) img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 8 / 9 !important;
  object-fit: cover !important;
  object-position: center !important;
  background: transparent !important;
}

.product-gallery.outlets-gallery .image-button:nth-of-type(4) {
  background: #ffffff;
}

.product-gallery.outlets-gallery .image-button:nth-of-type(4) img {
  background: #ffffff;
}

.product-gallery.light-switch-gallery .image-button:nth-of-type(1) img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 3 / 4 !important;
  object-fit: cover !important;
  object-position: right bottom !important;
  transform: scale(1.08) !important;
  transform-origin: right bottom !important;
  background: transparent !important;
}

.product-gallery.light-switch-gallery .image-button:nth-of-type(1):hover img {
  transform: scale(1.08) !important;
}

.product-spec-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 22px;
}

.spec-link-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.spec-link-panel .button {
  width: fit-content;
}

.product-back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--orange);
  font-weight: 620;
}

.section-contact {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(23, 32, 29, 0.95), rgba(23, 32, 29, 0.84)),
    url("site-assets/ui-control.webp") center / cover;
  padding-top: 64px;
  padding-bottom: 56px;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: center;
}

.contact-inner h2 {
  color: var(--white);
  margin: 0;
}

.contact-inner p {
  color: rgba(255, 255, 255, 0.76);
  max-width: 760px;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  color: var(--ink);
  background: var(--white);
}

.contact-card a:not(.button) {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.connect-card-grid {
  width: min(860px, 100%);
  grid-template-columns: 1fr;
}

.connect-card {
  display: grid;
  gap: 16px;
}

.connect-card h3 {
  margin-bottom: 0;
}

.connect-card p {
  max-width: none;
}

.connect-card .button {
  justify-self: start;
}

.contact-card .button {
  margin-top: 8px;
}

.site-footer {
  display: grid;
  gap: 14px;
  padding: 34px;
  color: rgba(255, 255, 255, 0.86);
  background: #17201d;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer > p {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.site-footer > div {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1px;
}

.site-footer a:hover {
  color: var(--orange);
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 72px 28px 28px;
  background: rgba(10, 14, 13, 0.9);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 28px;
  min-height: 42px;
  padding: 10px 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius);
  font-weight: 850;
}

@media (max-width: 1120px) {
  .platform-hero-media {
    width: min(100%, calc(100% - 140px));
  }

  .platform-hero-float-left {
    width: min(220px, 35%);
    top: 48px;
    left: -52px;
  }

  .platform-hero-float-right {
    width: min(276px, 43%);
    top: 112px;
    right: -68px;
  }

  .platform-hero-float-top {
    left: 31%;
    bottom: -30px;
    width: min(206px, 30%);
  }

  .platform-main .platform-hero-float-left {
    width: min(220px, 35%);
    top: 48px;
    left: -52px;
  }

  .platform-main .platform-hero-float-right {
    width: min(276px, 43%);
    top: 112px;
    right: -68px;
  }

  .platform-main .platform-hero-float-top {
    left: 31%;
    bottom: -30px;
    width: min(206px, 30%);
  }

  .platform-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-trust-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-capability-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .proof-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .proof-strip div:nth-child(3n) {
    border-right: 0;
  }

  .device-grid,
  .resource-grid,
  .product-gallery,
  .showcase-grid-expanded,
  .phone-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-card {
    min-height: 0;
  }

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

  .products-hub-main .resource-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1360px) {
  /* On mid-size viewports, hide homepage hero float cards to reduce clutter.
     Keep both primary hero images visible until the mobile collapse breakpoint. */
  .home-platform-hero .home-platform-media .home-hero-float {
    display: none;
  }
}

@media (max-width: 920px) {
  .hero-capability-suite,
  .home-trust-strip,
  .platform-trust-strip {
    display: none;
  }

  .intro-section .home-trust-strip {
    margin-top: -92px;
  }

  .has-overlap-trust .platform-trust-strip,
  .has-overlap-trust .use-cases-proof-strip {
    margin-top: -92px;
  }

  .products-hub-main .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: 80vh;
    padding: 118px 22px 56px;
  }

  .home-platform-shot {
    position: static;
    width: 100%;
  }

  .brand-logo {
    height: 48px;
  }

  .hero h1 {
    font-size: 4.2rem;
  }

  .hero-copy {
    font-size: 1.18rem;
  }

  .hero-stats,
  .hero-capability-cards,
  .hero-benefit-strip,
  .feature-grid,
  .showcase-grid,
  .ui-grid,
  .video-grid,
  .platform-media-grid,
  .spec-band,
  .photo-strip,
  .tab-panel,
  .contact-inner,
  .two-column,
  .product-hero-grid,
  .product-content-grid,
  .product-spec-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "media"
      "note"
      "stats";
    gap: 18px;
  }

  .about-hero-media-wrap .product-media {
    height: auto;
  }

  .about-hero-media-wrap .product-media img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .split-section .two-column,
  .media-section .two-column {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .split-section .media-frame,
  .media-section .video-frame {
    width: 100%;
    align-self: start;
  }

  .section,
  .product-section {
    padding: 78px 22px;
  }

  .product-hero {
    padding: 118px 22px 64px;
  }

  .section-head h2,
  .copy-stack h2,
  .contact-inner h2,
  .product-hero h1 {
    font-size: 2.35rem;
  }

  .platform-hero-media {
    width: 100%;
    min-height: 0;
    padding: 14px;
  }

  .platform-hero-float {
    position: static;
    width: 100%;
    margin-top: 10px;
    transform: none;
  }

  .spec-band div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

  .contact-inner {
    gap: 28px;
  }

  .platform-status-floats {
    justify-content: flex-start;
  }

  .home-platform-hero .home-platform-media {
    transform: none;
    overflow: hidden;
  }

  .home-platform-hero .home-platform-media .home-hero-float,
  .home-platform-hero .home-platform-shot-back {
    display: none;
  }

  .home-platform-hero .home-platform-shot-front {
    position: static;
    left: auto;
    bottom: auto;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
  }

  .platform-main .platform-hero-media {
    transform: none;
    overflow: hidden;
  }

  .platform-main .platform-hero-float {
    display: none;
  }

  .software-dark-section .showcase-grid.showcase-grid-expanded {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .software-dark-section .showcase-grid.showcase-grid-expanded > .showcase-item:nth-of-type(2),
  .software-dark-section .showcase-grid.showcase-grid-expanded > .showcase-item:nth-of-type(3),
  .software-dark-section .showcase-grid.showcase-grid-expanded > .showcase-item:nth-of-type(5),
  .software-dark-section .showcase-grid.showcase-grid-expanded > .showcase-item:nth-of-type(6) {
    grid-column: auto;
    grid-row: auto;
    align-self: auto;
    display: grid;
    grid-template-rows: auto auto;
  }

  .software-dark-section .showcase-item .image-button {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .software-dark-section .showcase-item .image-button > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .software-dark-section .showcase-item div {
    padding: 12px 12px 14px;
    gap: 6px;
  }

  .software-dark-section .showcase-grid.showcase-grid-expanded > .showcase-item:nth-of-type(6) .mobile-shot-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    aspect-ratio: auto;
    background: transparent;
  }

  .software-dark-section .showcase-grid.showcase-grid-expanded > .showcase-item:nth-of-type(6) .mobile-shot-strip .image-button {
    aspect-ratio: auto;
    height: auto;
  }

  .software-dark-section .showcase-grid.showcase-grid-expanded > .showcase-item:nth-of-type(6) > div:last-child {
    padding: 12px 12px 14px;
  }

  .room-workflows-cards .platform-status-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .room-workflows-cards .platform-status-grid > .platform-media-card,
  .room-workflows-cards .platform-status-grid > .room-workflows-three-row {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .room-workflows-cards .platform-status-grid .room-workflows-three-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .room-workflows-cards .platform-status-grid .room-workflows-three-row > .platform-media-card.room-workflows-double,
  .room-workflows-cards .platform-status-grid .room-workflows-three-row > .platform-media-card.room-workflows-third {
    grid-column: 1 / -1;
  }

  .room-workflows-cards .platform-status-grid .platform-media-card {
    grid-template-rows: auto 1fr;
  }

  .room-workflows-cards .platform-status-grid .platform-media-card > :is(.image-button, .video-preview, video) {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .room-workflows-cards .platform-status-grid .platform-media-card img,
  .room-workflows-cards .platform-status-grid .platform-media-card video {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .room-workflows-cards .platform-status-grid .platform-media-card > :is(button, .video-preview, video) + div {
    padding: 12px 12px 14px;
  }

  .automation-cards .platform-status-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
    width: 100%;
    max-width: 100%;
  }

  .automation-cards .platform-status-grid > .platform-media-card,
  .automation-cards .platform-status-grid > .platform-video-card {
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .automation-cards .platform-status-grid .platform-media-card,
  .automation-cards .platform-status-grid .platform-video-card {
    grid-template-rows: auto 1fr;
  }

  .automation-cards .platform-status-grid .platform-media-card .image-button,
  .automation-cards .platform-status-grid .platform-video-card :is(video, .video-preview) {
    height: auto;
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 100%;
  }

  .automation-cards .platform-status-grid .platform-media-card img,
  .automation-cards .platform-status-grid .platform-video-card :is(video, .video-preview) {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .hero {
    min-height: 78vh;
  }

  .home-platform-media {
    padding: 12px;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-stats,
  .proof-strip,
  .home-trust-strip,
  .platform-trust-strip,
  .hero-benefit-strip,
  .device-grid,
  .platform-media-grid,
  .platform-status-grid,
  .phone-grid,
  .product-gallery,
  .resource-grid,
  .tab-list {
    grid-template-columns: 1fr;
  }

  .home-trust-strip {
    width: calc(100% - 40px);
    margin-top: -14px;
    gap: 10px;
  }

  .hero-capability-suite,
  .home-trust-strip {
    display: none;
  }

  .hero-capability-suite {
    width: calc(100% - 40px);
    gap: 12px;
  }

  .hero-capability-card {
    min-height: 0;
    padding: 14px;
  }

  .hero-capability-card p {
    font-size: 0.99rem;
  }

  .hero-benefit-strip {
    border-radius: 12px;
  }

  .hero-benefit-item {
    min-height: 62px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-benefit-item:last-child {
    border-bottom: 0;
  }

  .intro-section .home-trust-strip {
    margin-top: -48px;
    margin-bottom: 24px;
  }

  .has-overlap-trust .platform-trust-strip,
  .has-overlap-trust .use-cases-proof-strip {
    margin-top: -48px;
    margin-bottom: 24px;
  }

  .platform-trust-strip {
    width: calc(100% - 40px);
    margin-top: -14px;
    gap: 10px;
  }

  .home-trust-strip div,
  .home-trust-strip div:nth-child(3n),
  .platform-trust-strip div,
  .platform-trust-strip div:nth-child(3n) {
    border-right: 1px solid rgba(17, 32, 34, 0.08);
    border-bottom: 0;
  }

  .use-cases-hero-overlap {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .use-cases-hero-card + .use-cases-hero-card {
    margin-left: 0;
  }

  .proof-strip div,
  .proof-strip div:nth-child(3n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .section-head h2,
  .copy-stack h2,
  .contact-inner h2,
  .product-hero h1 {
    font-size: 2rem;
  }

  .mobile-app-cards .phone-card {
    margin-left: 12px;
    margin-right: 12px;
  }

  .lead-panel,
  .feature-card,
  .showcase-item div,
  .ui-card div,
  .video-card div,
  .device-card div,
  .spec-band div,
  .contact-card,
  .product-panel,
  .spec-link-panel {
    padding: 22px;
  }

  .software-dark-section .showcase-item div {
    padding: 12px 12px 14px;
  }

  .software-dark-section .showcase-item h3 {
    font-size: 1.1rem;
    line-height: 1.25;
  }

  .software-dark-section .showcase-item p {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .media-frame:not(.diagram-frame):not(.media-frame-dark) .image-button img,
  .product-media img,
  .product-media video {
    aspect-ratio: 4 / 3;
  }

  .intro-dashboard-frame {
    background: #ffffff;
  }

  .intro-dashboard-frame .image-button,
  .intro-dashboard-frame .image-button img {
    background: #ffffff;
  }

  .video-open-button {
    left: 12px;
    bottom: 12px;
    min-height: 38px;
    padding: 9px 12px;
  }

  .video-modal {
    padding: 16px;
  }

  .video-modal-header {
    align-items: flex-start;
  }

  .site-footer {
    padding: 24px 20px;
  }

  .site-footer > div {
    gap: 12px;
  }

  .products-hub-main .section {
    padding: 72px 20px;
  }

  .products-hub-main .section-head {
    margin-bottom: 22px;
  }

  .products-hub-main .resource-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .products-hub-main .resource-card-copy {
    padding: 16px;
  }

  .room-workflows-cards .platform-status-grid {
    gap: 12px;
  }

}
