:root {
  color-scheme: dark;
  --black: #05080c;
  --navy: #070d14;
  --navy-2: #0b131b;
  --navy-3: #111c25;
  --line: #29343d;
  --line-light: #cfd5d4;
  --white: #f6f5f1;
  --light: #ecefec;
  --light-2: #f7f7f4;
  --ink: #11171b;
  --muted: #a4adb4;
  --muted-dark: #5f696e;
  --gold: #d6aa70;
  --gold-light: #efd2a8;
  --green: #69c99a;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.08;
}

h2 {
  margin-bottom: 18px;
  font-size: 42px;
  font-weight: 600;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--black);
  background: var(--gold-light);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: rgba(5, 8, 12, .7);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 72px;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
}

.brand img {
  display: block;
  width: 104px;
  height: auto;
}

.brand span {
  padding-top: 14px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.site-nav a,
.text-link,
.footer-links a {
  color: #d8dde0;
  font-size: 14px;
  transition: color .2s ease;
}

.site-nav a:hover,
.text-link:hover,
.footer-links a:hover {
  color: var(--gold-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.mobile-account-links {
  display: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--white);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

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

.button-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

.button-gold {
  color: #17120d;
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.button-gold:hover {
  background: #f7dfbb;
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, .38);
  background: rgba(5, 8, 12, .28);
}

.button-outline:hover {
  border-color: var(--gold-light);
}

.button-dark {
  min-width: 250px;
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.hero {
  position: relative;
  display: flex;
  min-height: 650px;
  height: 82svh;
  max-height: 790px;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

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

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(4, 8, 13, .98) 0%, rgba(4, 8, 13, .9) 36%, rgba(4, 8, 13, .2) 72%, rgba(4, 8, 13, .08) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 72px;
}

.hero-copy {
  width: min(610px, 55%);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dark-eyebrow {
  color: #8a622e;
}

.hero h1 {
  margin-bottom: 12px;
  font-size: 72px;
  font-weight: 650;
}

.hero-title {
  max-width: 570px;
  margin-bottom: 20px;
  color: var(--gold-light);
  font-size: 28px;
  line-height: 1.22;
}

.hero-text {
  max-width: 570px;
  margin-bottom: 30px;
  color: #c8ced2;
  font-size: 17px;
}

.hero-route {
  display: grid;
  gap: 0;
  max-width: 520px;
  padding: 0;
  margin: 30px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
  list-style: none;
}

.hero-route li {
  position: relative;
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 18px;
  padding: 13px 0 13px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.hero-route li::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(214, 170, 112, .72);
  content: "";
  transform: translateY(-50%);
}

.hero-route strong {
  color: var(--gold-light);
  font-size: 14px;
}

.hero-route span {
  color: #d7dcdf;
  font-size: 14px;
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 15px;
  color: #d8dde0;
  font-size: 13px;
}

.hero-points li::before {
  position: absolute;
  top: .55em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

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

.workflow,
.system,
.interface,
.security {
  padding: 112px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 58px;
}

.section-heading > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted-dark);
  font-size: 17px;
}

.compact-heading {
  margin-bottom: 50px;
}

.compact-heading > p:last-child {
  color: var(--muted);
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow-graphic {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr 120px 1fr 120px 1fr 120px;
  align-items: center;
  gap: 16px;
  margin: -10px 0 62px;
  padding: 26px 34px;
  border: 1px solid #c8cfcd;
  border-radius: 8px;
  background: rgba(255, 255, 255, .52);
  box-shadow: 0 18px 44px rgba(34, 42, 43, .08);
  overflow: hidden;
}

.flow-point {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 82px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #b8c0be;
  border-radius: 7px;
  color: var(--ink);
  background: #f7f7f4;
  box-shadow: 0 9px 0 #d8ddda, 0 16px 24px rgba(34, 42, 43, .1);
}

.flow-point span {
  color: #966b35;
  font-size: 11px;
}

.flow-point strong {
  margin-top: 7px;
  font-size: 13px;
}

.flow-graphic > i {
  position: relative;
  height: 1px;
  background: #9aa4a3;
}

.flow-graphic > i::after {
  position: absolute;
  top: -4px;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid #9aa4a3;
  border-right: 1px solid #9aa4a3;
  content: "";
  transform: rotate(45deg);
}

.flow-pulse {
  position: absolute;
  top: 50%;
  left: 13%;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 15px rgba(166, 116, 52, .75);
  animation: flowPulse 4s ease-in-out infinite;
}

@keyframes flowPulse {
  0% { left: 13%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 87%; opacity: 0; }
}

.workflow-list li {
  position: relative;
  min-height: 250px;
  padding: 32px 28px 20px;
  border-top: 1px solid #8f999c;
  border-right: 1px solid var(--line-light);
}

.workflow-list li:last-child {
  border-right: 0;
}

.workflow-list li::before {
  position: absolute;
  top: -5px;
  left: 28px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a77637;
  content: "";
}

.step-number,
.product-code {
  display: block;
  margin-bottom: 34px;
  color: #8a622e;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.workflow-list h3 {
  margin-bottom: 14px;
  font-size: 21px;
}

.workflow-list p {
  margin-bottom: 0;
  color: var(--muted-dark);
  font-size: 15px;
}

.system {
  background: var(--navy-2);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.product-card {
  position: relative;
  grid-column: span 2;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .055), transparent 44%),
    var(--navy-3);
  box-shadow: 0 12px 0 #070d13, 0 28px 50px rgba(0, 0, 0, .22);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.product-card::after {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-top: 1px solid rgba(239, 210, 168, .42);
  border-right: 1px solid rgba(239, 210, 168, .42);
  content: "";
}

.product-card:hover {
  border-color: #705b42;
  box-shadow: 0 15px 0 #070d13, 0 34px 60px rgba(0, 0, 0, .28);
  transform: translateY(-5px);
}

.product-card-primary {
  border-color: #8b673d;
}

.product-card-wide {
  grid-column: span 3;
}

.product-card:nth-child(4) {
  grid-column: span 3;
}

.product-card h3 {
  margin-bottom: 16px;
  font-size: 25px;
}

.product-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.product-code {
  margin-bottom: 50px;
  color: var(--gold);
}

.agent-download,
.soon {
  padding: 112px 0;
}

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

.download-card {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid #cbd1cf;
  border-radius: 8px;
  background: #f8f8f5;
  box-shadow: 0 14px 34px rgba(20, 28, 31, .08);
}

.download-platform {
  position: relative;
  display: flex;
  height: 100px;
  align-items: center;
  margin-bottom: 28px;
  overflow: hidden;
  border-bottom: 1px solid #d9ddda;
}

.download-platform::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  width: 40%;
  height: 1px;
  background: #9aa39f;
  content: "";
}

.download-platform i {
  position: absolute;
  right: 0;
  bottom: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(105, 201, 154, .14);
}

.platform-mark {
  display: grid;
  width: 72px;
  height: 58px;
  place-items: center;
  border: 1px solid #141b20;
  border-radius: 8px;
  color: #f7f8f4;
  background: #11171b;
  font-size: 17px;
  font-weight: 750;
}

.platform-mark-windows {
  color: #11171b;
  border-color: #b68b54;
  background: var(--gold-light);
}

.download-label {
  margin-bottom: 12px;
  color: #7b592d;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.download-card h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 27px;
}

.download-card p {
  margin-bottom: 28px;
  color: var(--muted-dark);
  font-size: 15px;
}

.download-button {
  width: 100%;
  margin-top: auto;
}

.download-card small {
  margin-top: 13px;
  color: #727d7b;
  font-size: 12px;
  text-align: center;
}

.download-note {
  margin: 22px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid #cbd1cf;
  color: var(--muted-dark);
  font-size: 14px;
}

.download-note strong {
  color: var(--ink);
}

.home-lab {
  padding: 112px 0 122px;
  overflow: hidden;
  background: #05090e;
}

.lab-heading {
  margin-bottom: 54px;
}

.lab-heading h2 {
  max-width: 760px;
}

.lab-heading > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.lab-layout {
  display: grid;
  grid-template-columns: minmax(390px, 470px) minmax(650px, 1fr);
  align-items: center;
  gap: 26px;
  width: min(calc(100% - 48px), 1480px);
  margin: 0 auto;
}

.device-stack {
  position: relative;
  z-index: 3;
  min-height: 700px;
  padding: 16px 42px 0 0;
}

.tablet-device {
  position: relative;
  width: 100%;
  max-width: 430px;
  padding: 13px;
  border: 1px solid #47515a;
  border-radius: 28px;
  background: #171d22;
  box-shadow: 0 38px 80px rgba(0, 0, 0, .5), inset 0 0 0 3px #080b0e;
}

.device-camera {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #59636b;
  transform: translateX(-50%);
}

.tablet-screen {
  min-height: 620px;
  padding: 24px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(105, 201, 154, .08), transparent 25%),
    #09110f;
  overflow: hidden;
}

.app-header,
.app-section-title,
.control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.app-header {
  padding-bottom: 18px;
  border-bottom: 1px solid #26342f;
}

.app-logo {
  width: 70px;
  height: auto;
  object-fit: contain;
}

.app-header > div {
  text-align: right;
}

.app-header strong {
  display: block;
  font-size: 15px;
}

.app-header small {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: #8fc9aa;
  font-size: 10px;
}

.app-header small i,
.phone-top i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(105, 201, 154, .65);
}

.app-section-title {
  padding: 22px 0 14px;
}

.app-section-title > span {
  font-size: 21px;
  font-weight: 700;
}

.app-section-title small {
  color: #8e9b95;
  font-size: 11px;
}

.control-list {
  border-top: 1px solid #26342f;
}

.control-row {
  min-height: 62px;
  padding: 12px 0;
  border-bottom: 1px solid #26342f;
}

.control-row strong,
.quick-controls span {
  display: block;
  font-size: 13px;
}

.control-row small,
.quick-controls small {
  display: block;
  margin-top: 3px;
  color: #7e8b85;
  font-size: 10px;
}

.app-switch {
  position: relative;
  width: 44px;
  height: 26px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid #39443f;
  border-radius: 14px;
  background: #1b2420;
  cursor: pointer;
}

.app-switch span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #9ba49f;
  transition: transform .2s ease, background .2s ease;
}

.app-switch.active {
  border-color: #4e9f77;
  background: rgba(105, 201, 154, .24);
}

.app-switch.active span {
  background: #85e0b0;
  box-shadow: 0 0 12px rgba(105, 201, 154, .7);
  transform: translateX(18px);
}

.range-row {
  display: grid;
  grid-template-columns: 100px 1fr;
}

.range-row label {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
}

.color-swatches {
  display: flex;
  gap: 8px;
}

.color-swatch {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 12px color-mix(in srgb, var(--swatch) 45%, transparent);
  cursor: pointer;
}

.color-swatch.selected {
  border-color: #fff;
  outline: 2px solid var(--swatch);
  outline-offset: 2px;
}

.temp-stepper {
  display: grid;
  grid-template-columns: 28px 42px 28px;
  align-items: center;
  text-align: center;
}

.temp-stepper button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #3c4842;
  border-radius: 50%;
  color: var(--white);
  background: #151e1a;
  cursor: pointer;
}

.temp-stepper > strong {
  font-size: 16px;
}

.quick-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 14px;
  border: 1px solid #26342f;
  border-radius: 7px;
  overflow: hidden;
  background: #26342f;
}

.quick-controls button {
  min-height: 58px;
  padding: 10px 12px;
  border: 0;
  color: #dfe4e1;
  text-align: left;
  background: #101815;
  cursor: pointer;
}

.quick-controls button.active {
  background: rgba(105, 201, 154, .16);
  box-shadow: inset 0 0 0 1px rgba(105, 201, 154, .35);
}

.phone-device {
  position: absolute;
  right: -160px;
  bottom: 0;
  z-index: 5;
  width: 188px;
  padding: 8px;
  border: 1px solid #505a62;
  border-radius: 30px;
  background: #11171c;
  box-shadow: 0 28px 60px rgba(0, 0, 0, .56), inset 0 0 0 2px #050709;
}

.phone-speaker {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 2;
  width: 48px;
  height: 5px;
  border-radius: 4px;
  background: #020304;
  transform: translateX(-50%);
}

.phone-screen {
  min-height: 368px;
  padding: 22px 13px 15px;
  border-radius: 23px;
  background:
    linear-gradient(160deg, rgba(105, 201, 154, .11), transparent 42%),
    #09110f;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.phone-top img {
  width: 54px;
  height: auto;
}

.phone-screen > p {
  margin: 24px 0 12px;
  color: #9ca7a1;
  font-size: 10px;
}

.phone-hero {
  padding-bottom: 16px;
  border-bottom: 1px solid #27342f;
}

.phone-hero span {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.phone-hero small {
  color: #8fc9aa;
  font-size: 9px;
}

.phone-screen ul {
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
}

.phone-screen li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid #202c27;
  font-size: 9px;
}

.phone-screen li span {
  color: #8e9994;
}

/* Approved ENCO application language shared by tablet and phone mockups. */
.tablet-screen,
.phone-screen {
  position: relative;
  color: #f6fbf7;
  background:
    radial-gradient(circle at 8% 4%, rgba(113, 239, 177, .15), transparent 34%),
    linear-gradient(160deg, #142822 0%, #0a1713 42%, #07110e 100%);
}

.tablet-screen::before,
.phone-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, .035), transparent 42%);
  pointer-events: none;
}

.tablet-screen > *,
.phone-screen > * {
  position: relative;
  z-index: 1;
}

.tablet-screen {
  display: flex;
  min-height: 620px;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.app-header {
  min-height: 38px;
  padding: 0 2px;
  border-bottom: 0;
}

.app-logo {
  width: 82px;
}

.app-title-block strong {
  font-size: 14px;
  font-weight: 800;
}

.app-title-block small {
  margin-top: 3px;
  color: rgba(246, 251, 247, .58);
  font-size: 9px;
}

.approved-status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.approved-pill {
  display: flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px);
}

.approved-pill > i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #58db8d;
  box-shadow: 0 0 12px rgba(88, 219, 141, .74);
}

.approved-pill span,
.approved-pill strong,
.approved-pill small {
  display: block;
  min-width: 0;
}

.approved-pill span,
.approved-pill strong {
  color: #f6fbf7;
  font-size: 11px;
  line-height: 1.05;
  font-weight: 850;
}

.approved-pill small {
  margin-top: 3px;
  overflow: hidden;
  color: rgba(246, 251, 247, .55);
  font-size: 8px;
  line-height: 1.05;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.approved-room-tabs {
  display: flex;
  gap: 5px;
  overflow: hidden;
}

.approved-room-tabs button {
  min-width: 0;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: rgba(246, 251, 247, .62);
  background: rgba(255, 255, 255, .055);
  font-size: 9px;
  font-weight: 800;
}

.approved-room-tabs button.active {
  color: #10231a;
  border-color: rgba(88, 219, 141, .7);
  background: #58db8d;
}

.approved-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1px 2px 0;
}

.approved-section-head strong {
  font-size: 13px;
  font-weight: 850;
}

.approved-section-head span {
  color: rgba(246, 251, 247, .48);
  font-size: 8px;
  font-weight: 750;
}

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

.enco-device-card,
.enco-card-tap {
  color: #f6fbf7;
}

.enco-device-card {
  position: relative;
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) 7px;
  min-width: 0;
  min-height: 57px;
  align-items: center;
  column-gap: 8px;
  padding: 9px 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 17px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .055)),
    rgba(255, 255, 255, .055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09);
  text-align: left;
  transition: transform .12s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

button.enco-device-card,
.enco-card-tap,
.phone-enco-card {
  cursor: pointer;
}

.enco-device-card:active,
.phone-enco-card:active {
  transform: scale(.985);
}

.enco-device-card.is-on {
  border-color: rgba(88, 219, 141, .5);
  background:
    linear-gradient(150deg, rgba(88, 219, 141, .3), rgba(88, 219, 141, .1)),
    rgba(255, 255, 255, .075);
  box-shadow: 0 10px 26px rgba(88, 219, 141, .1), inset 0 1px 0 rgba(255, 255, 255, .13);
}

.enco-device-card.is-moving {
  border-color: rgba(255, 184, 79, .7);
  background:
    linear-gradient(150deg, rgba(255, 184, 79, .32), rgba(255, 184, 79, .11)),
    rgba(255, 255, 255, .075);
  box-shadow: 0 10px 28px rgba(255, 184, 79, .14), inset 0 1px 0 rgba(255, 255, 255, .14);
  animation: encoMotionGlow 1s ease-in-out infinite;
}

@keyframes encoMotionGlow {
  50% { box-shadow: 0 10px 30px rgba(255, 184, 79, .28), inset 0 1px 0 rgba(255, 255, 255, .17); }
}

.enco-device-with-slider {
  display: block;
  min-height: 65px;
  padding: 0;
}

.enco-card-tap {
  display: grid;
  width: 100%;
  min-height: 58px;
  grid-template-columns: 29px minmax(0, 1fr) 7px;
  align-items: center;
  column-gap: 8px;
  padding: 8px 10px 13px;
  border: 0;
  background: transparent;
  text-align: left;
}

.enco-device-icon {
  position: relative;
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  color: rgba(246, 251, 247, .7);
  background: rgba(255, 255, 255, .1);
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
}

.enco-device-card.is-on .enco-device-icon {
  color: #ffd55c;
  background: rgba(255, 207, 66, .18);
  box-shadow: 0 0 16px rgba(255, 207, 66, .18);
}

.enco-rgb-icon {
  color: var(--rgb-knob, #d9a85f);
  text-shadow: 0 0 12px var(--rgb-knob, #d9a85f);
}

.enco-device-card.is-on .enco-rgb-icon {
  color: var(--rgb-knob, #d9a85f);
  text-shadow: 0 0 12px var(--rgb-knob, #d9a85f);
}

.enco-device-card.is-moving .enco-device-icon {
  color: #ffd68a;
  background: rgba(255, 184, 79, .22);
}

.enco-device-copy {
  min-width: 0;
}

.enco-device-copy strong,
.enco-device-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.enco-device-copy strong {
  max-height: 2.2em;
  font-size: 10px;
  line-height: 1.1;
  font-weight: 850;
  overflow-wrap: anywhere;
  white-space: normal;
}

.enco-device-copy small {
  margin-top: 3px;
  color: rgba(246, 251, 247, .5);
  font-size: 8px;
  line-height: 1.1;
  font-weight: 700;
  white-space: nowrap;
}

.enco-device-card.is-on .enco-device-copy small {
  color: rgba(246, 251, 247, .7);
}

.enco-device-card.is-moving .enco-device-copy small {
  color: #ffe0a3;
}

.enco-state-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .52);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
}

.enco-device-card.is-on .enco-state-dot {
  background: #58db8d;
  box-shadow: 0 0 9px rgba(88, 219, 141, .8);
}

.enco-device-card.is-moving .enco-state-dot {
  background: #ffb84f;
  box-shadow: 0 0 9px rgba(255, 184, 79, .82);
}

.enco-motion-arrow {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: none;
  width: 14px;
  height: 14px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .66);
  border-radius: 50%;
  color: #142118;
  background: #ffbf5f;
  font-size: 8px;
  font-style: normal;
  line-height: 1;
}

.enco-device-card.is-moving .enco-motion-arrow {
  display: grid;
}

.enco-card-slider {
  position: absolute;
  right: 10px;
  bottom: 7px;
  left: 10px;
  width: calc(100% - 20px);
  height: 4px;
  margin: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #f2c36f, #fff4da);
  accent-color: #ffe0a0;
  appearance: none;
}

.enco-card-slider::-webkit-slider-thumb {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  background: #fff3d9;
  box-shadow: 0 0 8px rgba(255, 222, 165, .6);
  appearance: none;
}

.enco-card-slider::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  background: #fff3d9;
  box-shadow: 0 0 8px rgba(255, 222, 165, .6);
}

.enco-rgb-slider {
  --rgb-knob: #d9a85f;
  background: linear-gradient(90deg, #fff 0 12%, #ff3b30 21%, #ffcc00 36%, #34c759 51%, #32ade6 66%, #5856d6 80%, #ff2d8d 93%, #fff 100%);
}

.enco-rgb-slider::-webkit-slider-thumb {
  background: var(--rgb-knob);
  box-shadow: 0 0 9px var(--rgb-knob);
}

.enco-rgb-slider::-moz-range-thumb {
  background: var(--rgb-knob);
  box-shadow: 0 0 9px var(--rgb-knob);
}

.enco-climate-card {
  grid-template-columns: 25px minmax(0, 1fr) auto;
  column-gap: 6px;
}

.enco-climate-card .enco-device-icon {
  width: 25px;
  height: 25px;
  font-size: 10px;
}

.enco-climate-card .temp-stepper {
  grid-template-columns: 21px 28px 21px;
}

.enco-climate-card .temp-stepper button {
  width: 21px;
  height: 21px;
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  font-size: 11px;
}

.enco-climate-card .temp-stepper > strong {
  font-size: 11px;
}

.approved-app-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  min-height: 42px;
  margin-top: auto;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  background: rgba(24, 38, 34, .72);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(20px);
}

.approved-app-nav span,
.phone-app-nav span {
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: rgba(246, 251, 247, .5);
  font-size: 12px;
  line-height: 1;
}

.approved-app-nav span.active,
.phone-app-nav span.active {
  color: #10231a;
  background: #58db8d;
}

.approved-app-nav small {
  display: block;
  margin-top: 2px;
  font-size: 6px;
  font-weight: 800;
}

.phone-screen {
  display: flex;
  min-height: 368px;
  flex-direction: column;
  padding: 23px 11px 11px;
}

.phone-top img {
  width: 54px;
}

.phone-top > span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
}

.phone-room-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 20px 1px 9px;
}

.phone-room-head strong {
  font-size: 14px;
}

.phone-room-head small {
  color: rgba(246, 251, 247, .58);
  font-size: 9px;
}

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

.phone-enco-card {
  display: grid;
  min-width: 0;
  min-height: 72px;
  align-content: center;
  justify-items: start;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 15px;
  color: #f6fbf7;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .055)),
    rgba(255, 255, 255, .055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  text-align: left;
}

.phone-enco-card.active {
  border-color: rgba(88, 219, 141, .5);
  background:
    linear-gradient(150deg, rgba(88, 219, 141, .3), rgba(88, 219, 141, .1)),
    rgba(255, 255, 255, .075);
}

.phone-enco-card > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  margin-bottom: 5px;
  border-radius: 50%;
  color: rgba(246, 251, 247, .72);
  background: rgba(255, 255, 255, .1);
  font-size: 10px;
}

.phone-enco-card.active > span {
  color: #ffd55c;
  background: rgba(255, 207, 66, .18);
}

.phone-enco-card strong,
.phone-enco-card small {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-enco-card strong {
  font-size: 8px;
  line-height: 1.05;
}

.phone-enco-card small {
  margin-top: 2px;
  color: rgba(246, 251, 247, .52);
  font-size: 7px;
  line-height: 1.05;
}

.phone-app-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  min-height: 31px;
  margin-top: auto;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 19px;
  background: rgba(24, 38, 34, .72);
  backdrop-filter: blur(18px);
}

.house-scene {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
}

.house-scene > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.83) saturate(.96) contrast(1.03);
  transition: filter .5s ease;
}

.house-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, .65);
  pointer-events: none;
}

.room-window {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.room-upper-left {
  top: 32.9%;
  left: 19.6%;
  width: 15.5%;
  height: 15.8%;
}

.room-upper-center {
  top: 31.3%;
  left: 42.1%;
  width: 15.6%;
  height: 17.5%;
}

.room-upper-right {
  top: 32.9%;
  left: 64.7%;
  width: 17%;
  height: 15.9%;
}

.room-living {
  top: 53.5%;
  left: 14.1%;
  width: 27.4%;
  height: 22.1%;
}

.room-kitchen {
  top: 53.5%;
  left: 59.8%;
  width: 25.7%;
  height: 22.1%;
}

.room-dim,
.room-glow {
  position: absolute;
  inset: 0;
  transition: opacity .45s ease;
}

.room-dim {
  z-index: 1;
  background: rgba(2, 7, 12, .94);
  opacity: var(--room-dim-opacity);
}

.room-glow {
  z-index: 2;
  background:
    radial-gradient(ellipse at 50% 22%, rgba(255, 231, 194, .86), transparent 56%),
    linear-gradient(180deg, rgba(255, 196, 117, .54), transparent 76%);
  box-shadow: inset 0 0 22px rgba(255, 210, 148, .36);
  mix-blend-mode: screen;
  opacity: var(--room-light-opacity);
}

.rgb-strip {
  position: absolute;
  z-index: 3;
  height: 1.2%;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, var(--rgb-color) 18%, var(--rgb-color) 82%, transparent);
  box-shadow: 0 0 9px var(--rgb-color), 0 0 20px var(--rgb-color);
  filter: blur(.4px);
  opacity: var(--rgb-opacity);
  transition: background .35s ease, box-shadow .35s ease, opacity .35s ease;
  pointer-events: none;
}

.rgb-strip-living {
  top: 72.4%;
  left: 18.5%;
  width: 20%;
}

.rgb-strip-kitchen {
  top: 72.4%;
  left: 63.2%;
  width: 19.3%;
}

.curtain-set {
  position: absolute;
  z-index: 4;
  overflow: hidden;
  perspective: 600px;
  pointer-events: none;
}

.curtains-upper-left { top: 32.9%; left: 19.6%; width: 15.5%; height: 15.8%; }
.curtains-upper-center { top: 31.3%; left: 42.1%; width: 15.6%; height: 17.5%; }
.curtains-upper-right { top: 32.9%; left: 64.7%; width: 17%; height: 15.9%; }
.curtains-living { top: 53.5%; left: 14.1%; width: 27.4%; height: 22.1%; }
.curtains-kitchen { top: 53.5%; left: 59.8%; width: 25.7%; height: 22.1%; }

.curtain-panel {
  position: absolute;
  top: -1%;
  bottom: -1%;
  width: 13%;
  border-bottom: 2px solid rgba(77, 66, 58, .55);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .08), transparent 18% 72%, rgba(0, 0, 0, .2)),
    repeating-linear-gradient(90deg, rgba(63, 60, 57, .94) 0 7px, rgba(112, 106, 99, .9) 8px 14px, rgba(70, 66, 62, .94) 15px 21px);
  box-shadow: 0 0 9px rgba(0, 0, 0, .46);
  filter: saturate(.76) brightness(.82);
  opacity: .9;
  transition: width .85s cubic-bezier(.22, .76, .18, 1), filter .5s ease;
}

.curtain-panel-left {
  left: 0;
  transform-origin: left center;
}

.curtain-panel-right {
  right: 0;
  transform-origin: right center;
}

.curtains-closed .curtain-panel {
  width: 50.5%;
  filter: saturate(.68) brightness(.8);
}

.curtains-closed .curtain-panel-left {
  box-shadow: inset -3px 0 6px rgba(48, 40, 34, .46), 2px 0 8px rgba(0, 0, 0, .42);
}

.curtains-closed .curtain-panel-right {
  box-shadow: inset 3px 0 6px rgba(48, 40, 34, .46), -2px 0 8px rgba(0, 0, 0, .42);
}

.floor-heat {
  position: absolute;
  z-index: 3;
  height: 5.2%;
  background: radial-gradient(ellipse, rgba(255, 120, 54, .68), transparent 72%);
  opacity: calc(var(--heat-level) * .38);
  filter: blur(7px);
  mix-blend-mode: screen;
  transition: opacity .4s ease;
  pointer-events: none;
}

.floor-heat-living { top: 69.7%; left: 17.5%; width: 21%; }
.floor-heat-kitchen { top: 69.7%; left: 63%; width: 19%; }

.air-zone {
  position: absolute;
  z-index: 3;
  height: 7%;
  overflow: hidden;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.air-upper-left { top: 38%; left: 22.5%; width: 10%; }
.air-upper-right { top: 38%; left: 68.3%; width: 10%; }
.air-living { top: 61%; left: 20%; width: 16%; }
.air-kitchen { top: 60.2%; left: 65%; width: 15%; }

.air-zone span {
  position: absolute;
  left: -15%;
  width: 72%;
  height: 10px;
  border-top: 2px solid rgba(192, 241, 234, .92);
  border-radius: 50%;
  background: transparent;
  filter: drop-shadow(0 0 4px rgba(123, 231, 220, .72));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  animation: roomAir 2.6s ease-in-out infinite;
}

.air-zone span:nth-child(1) { top: 18%; }
.air-zone span:nth-child(2) { top: 46%; animation-delay: -.85s; }
.air-zone span:nth-child(3) { top: 73%; animation-delay: -1.7s; }

.ventilation-on .air-zone,
.ac-on .air-kitchen {
  opacity: .92;
}

.ac-on .air-kitchen {
  opacity: 1;
}

.ac-on .air-kitchen span {
  border-top-color: rgba(168, 229, 255, .98);
  filter: drop-shadow(0 0 5px rgba(91, 203, 246, .72));
  animation-duration: 1.35s;
}

@keyframes roomAir {
  0% { opacity: 0; transform: translateX(0) scaleX(.65); }
  24% { opacity: .9; }
  72% { opacity: .72; }
  100% { opacity: 0; transform: translateX(82%) scaleX(1.04); }
}

.entry-door {
  position: absolute;
  top: 54.5%;
  left: 45.8%;
  z-index: 6;
  width: 4.35%;
  height: 21.3%;
  perspective: 420px;
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}

.entry-depth,
.entry-leaf,
.entry-light-spill {
  position: absolute;
  display: block;
}

.entry-depth {
  inset: 0;
  border: 1px solid rgba(167, 132, 92, .3);
  background:
    radial-gradient(circle at 52% 30%, rgba(255, 220, 168, .58), transparent 50%),
    linear-gradient(90deg, #07090a, #49311c 62%, #0a0908);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, .72), 0 0 18px rgba(228, 174, 108, .28);
}

.entry-leaf {
  inset: 0;
  border: 1px solid rgba(112, 95, 74, .54);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035), transparent 24%),
    linear-gradient(180deg, #17191a, #090b0c 72%);
  box-shadow: inset -7px 0 12px rgba(0, 0, 0, .56), 5px 0 9px rgba(0, 0, 0, .48);
  transform-origin: left center;
  transition: transform .8s cubic-bezier(.22, .75, .2, 1);
}

.entry-leaf::after {
  position: absolute;
  top: 48%;
  right: 12%;
  width: 2px;
  height: 12%;
  border-radius: 2px;
  background: #a88a63;
  content: "";
}

.entry-light-spill {
  top: 92%;
  left: -42%;
  width: 190%;
  height: 36%;
  background: radial-gradient(ellipse at top, rgba(255, 193, 111, .54), transparent 72%);
  filter: blur(5px);
  opacity: 0;
  transform: perspective(120px) rotateX(62deg);
  transition: opacity .45s ease .25s;
}

.door-open .entry-door {
  opacity: 1;
}

.door-open .entry-leaf {
  transform: rotateY(-72deg);
}

.door-open .entry-light-spill {
  opacity: .72;
}

.camera-feed {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 8;
  width: 185px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 7px;
  background: rgba(4, 8, 12, .82);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity .25s ease, transform .25s ease;
}

.camera-on .camera-feed {
  opacity: 1;
  transform: translateY(0);
}

.camera-feed > div {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  color: #c8d0d4;
  font-size: 10px;
}

.camera-feed i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e56868;
  box-shadow: 0 0 9px rgba(229, 104, 104, .8);
}

.camera-feed strong {
  font-size: 12px;
}

.scene-status {
  position: absolute;
  bottom: 22px;
  left: 22px;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 7px;
  background: rgba(4, 8, 12, .8);
  backdrop-filter: blur(10px);
}

.scene-status span {
  color: var(--gold);
  font-size: 10px;
  text-transform: uppercase;
}

.scene-status strong {
  font-size: 12px;
}

.interface {
  background: var(--light-2);
}

.interface-layout {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(580px, 1.28fr);
  align-items: center;
  gap: 74px;
}

.interface-copy h2 {
  max-width: 420px;
}

.interface-copy > p:not(.eyebrow) {
  max-width: 420px;
  color: var(--muted-dark);
  font-size: 17px;
}

.demo-tabs {
  display: inline-flex;
  gap: 0;
  margin-top: 26px;
  border: 1px solid #b9c1c0;
  border-radius: 7px;
  overflow: hidden;
}

.demo-tab {
  min-width: 116px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-right: 1px solid #b9c1c0;
  color: #465055;
  background: transparent;
  cursor: pointer;
}

.demo-tab:last-child {
  border-right: 0;
}

.demo-tab.active {
  color: var(--white);
  background: #182228;
}

.product-screen {
  min-height: 470px;
  border: 1px solid #28343e;
  border-radius: 8px;
  overflow: hidden;
  color: var(--white);
  background: #0a1117;
  box-shadow: 0 30px 60px rgba(20, 26, 29, .18);
}

.screen-bar {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid #26313a;
  background: #0e171e;
}

.screen-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.screen-mark {
  color: var(--gold-light);
  font-weight: 800;
}

.screen-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b7d8c7;
  font-size: 13px;
}

.screen-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.screen-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 405px;
}

.screen-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 24px 14px;
  border-right: 1px solid #26313a;
  background: #0c141b;
}

.screen-nav span {
  padding: 10px 12px;
  border-radius: 5px;
  color: #84919a;
  font-size: 12px;
}

.screen-nav .selected {
  color: var(--white);
  background: #18242d;
}

.screen-content {
  padding: 46px;
}

.screen-kicker {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.screen-content h3 {
  margin-bottom: 13px;
  font-size: 28px;
}

.screen-description {
  max-width: 480px;
  margin-bottom: 34px;
  color: #9da8af;
  font-size: 14px;
}

.screen-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid #2a3540;
  border-bottom: 1px solid #2a3540;
}

.screen-metrics div {
  padding: 18px 12px 18px 0;
}

.screen-metrics div + div {
  padding-left: 14px;
  border-left: 1px solid #2a3540;
}

.screen-metrics dt {
  margin-bottom: 6px;
  color: #74818a;
  font-size: 10px;
  text-transform: uppercase;
}

.screen-metrics dd {
  margin: 0;
  color: #e8ecee;
  font-size: 13px;
}

.screen-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 34px;
}

.screen-progress span {
  height: 3px;
  background: var(--green);
}

.screen-progress .muted {
  background: #303b43;
}

.soon {
  color: var(--ink);
}

.soon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #aeb7b4;
  border-bottom: 1px solid #aeb7b4;
}

.soon-feature {
  min-height: 440px;
  padding: 30px 38px 36px 0;
}

.soon-feature + .soon-feature {
  padding-right: 0;
  padding-left: 38px;
  border-left: 1px solid #cbd1cf;
}

.soon-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.soon-status {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid #9ba6a1;
  border-radius: 999px;
  color: #3b4843;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.soon-number {
  color: #8b673d;
  font-size: 12px;
  font-weight: 750;
}

.voice-wave,
.neural-visual {
  position: relative;
  height: 132px;
  margin: 32px 0 28px;
  border-top: 1px solid #d7dcda;
  border-bottom: 1px solid #d7dcda;
  overflow: hidden;
}

.voice-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.voice-wave i {
  width: 5px;
  height: 24px;
  border-radius: 3px;
  background: #b4874f;
  box-shadow: 0 0 16px rgba(180, 135, 79, .24);
}

.voice-wave i:nth-child(2),
.voice-wave i:nth-child(8) {
  height: 42px;
}

.voice-wave i:nth-child(3),
.voice-wave i:nth-child(7) {
  height: 64px;
}

.voice-wave i:nth-child(4),
.voice-wave i:nth-child(6) {
  height: 88px;
}

.voice-wave i:nth-child(5) {
  height: 112px;
  background: #417a61;
}

.neural-visual {
  background:
    linear-gradient(31deg, transparent 0 31%, #aeb7b4 31.2% 31.5%, transparent 31.7%),
    linear-gradient(151deg, transparent 0 39%, #aeb7b4 39.2% 39.5%, transparent 39.7%),
    linear-gradient(16deg, transparent 0 55%, #c1c7c4 55.2% 55.5%, transparent 55.7%);
}

.neural-visual i {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 3px solid #f0f1ed;
  border-radius: 50%;
  background: #3f7b60;
  box-shadow: 0 0 0 1px #3f7b60, 0 0 20px rgba(63, 123, 96, .26);
}

.neural-visual i:nth-child(1) { top: 22px; left: 9%; }
.neural-visual i:nth-child(2) { bottom: 20px; left: 24%; }
.neural-visual i:nth-child(3) { top: 28px; left: 45%; }
.neural-visual i:nth-child(4) { right: 30%; bottom: 22px; }
.neural-visual i:nth-child(5) { top: 18px; right: 12%; }
.neural-visual i:nth-child(6) { top: 57px; left: 58%; background: #b4874f; box-shadow: 0 0 0 1px #b4874f, 0 0 22px rgba(180, 135, 79, .3); }

.neural-visual span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  border: 1px solid #b4874f;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.soon-feature h3 {
  margin-bottom: 14px;
  font-size: 27px;
}

.soon-feature p {
  max-width: 480px;
  margin-bottom: 0;
  color: var(--muted-dark);
  font-size: 15px;
}

.security {
  background: #0b1116;
}

.security-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
}

.security-list {
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.security-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.security-list > li > span {
  color: var(--gold);
  font-size: 12px;
}

.security-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.security-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.final-cta {
  color: var(--black);
  background: var(--gold);
}

.cta-inner {
  display: flex;
  min-height: 300px;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.cta-inner > div {
  max-width: 700px;
}

.cta-eyebrow {
  color: #4f3820;
}

.cta-inner h2 {
  margin-bottom: 14px;
}

.cta-inner p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: #3e3429;
  font-size: 17px;
}

.site-footer {
  padding: 46px 0;
  border-top: 1px solid var(--line);
  background: var(--black);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 42px;
}

.footer-inner > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-brand img {
  width: 92px;
}

@media (max-width: 1040px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero-copy {
    width: min(610px, 64%);
  }

  .hero h1 {
    font-size: 60px;
  }

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

  .workflow-list li:nth-child(2) {
    border-right: 0;
  }

  .product-card {
    grid-column: span 3;
  }

  .product-card:nth-child(3) {
    grid-column: span 6;
  }

  .interface-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .interface-copy h2,
  .interface-copy > p:not(.eyebrow) {
    max-width: 700px;
  }

  .lab-layout {
    grid-template-columns: 1fr;
    gap: 52px;
    width: min(calc(100% - 48px), var(--shell));
  }

  .house-scene {
    grid-row: 1;
  }

  .device-stack {
    grid-row: 2;
    width: min(100%, 560px);
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  h2 {
    font-size: 34px;
  }

  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .site-header {
    position: absolute;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    min-height: 64px;
    gap: 12px;
  }

  .brand img {
    width: 92px;
  }

  .header-actions .text-link {
    display: none;
  }

  .header-actions .button {
    display: none;
  }

  .menu-toggle {
    display: block;
    grid-column: 3;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 32px 24px;
    background: rgba(5, 8, 12, .98);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }

  .site-nav.open .mobile-account-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .mobile-account-links a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid #39434b;
    border-radius: 6px;
    font-size: 15px;
  }

  .mobile-account-links a:last-child {
    color: #18130d;
    border-color: var(--gold-light);
    background: var(--gold-light);
  }

  .hero {
    min-height: 650px;
    height: 78svh;
    max-height: 760px;
    align-items: flex-end;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(4, 8, 13, 1) 0%, rgba(4, 8, 13, .92) 55%, rgba(4, 8, 13, .18) 100%);
  }

  .hero-inner {
    padding-top: 92px;
    padding-bottom: 44px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-title {
    font-size: 22px;
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-route {
    margin-top: 24px;
  }

  .hero-route li {
    grid-template-columns: 115px 1fr;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .hero-route strong,
  .hero-route span {
    font-size: 12px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-points {
    display: none;
  }

  .workflow,
  .system,
  .interface,
  .home-lab,
  .agent-download,
  .soon,
  .security {
    padding: 78px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }

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

  .flow-graphic {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 52px;
    padding: 22px;
  }

  .flow-point {
    width: min(100%, 240px);
    min-height: 72px;
    justify-self: center;
  }

  .flow-graphic > i {
    width: 1px;
    height: 26px;
    justify-self: center;
  }

  .flow-graphic > i::after {
    top: auto;
    right: -4px;
    bottom: 0;
    transform: rotate(135deg);
  }

  .flow-pulse {
    display: none;
  }

  .workflow-list li {
    min-height: 0;
    padding: 28px 8px 36px;
    border-right: 0;
  }

  .workflow-list li::before {
    left: 8px;
  }

  .step-number {
    margin-bottom: 22px;
  }

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

  .product-card,
  .product-card:nth-child(3),
  .product-card:nth-child(4),
  .product-card-wide {
    grid-column: auto;
    min-height: 0;
  }

  .product-card:hover {
    transform: none;
  }

  .product-code {
    margin-bottom: 30px;
  }

  .download-grid,
  .soon-grid {
    grid-template-columns: 1fr;
  }

  .download-card {
    min-height: 0;
    padding: 24px;
  }

  .download-card p {
    min-height: 0;
  }

  .soon-feature,
  .soon-feature + .soon-feature {
    min-height: 0;
    padding: 28px 0 34px;
    border-left: 0;
  }

  .soon-feature + .soon-feature {
    border-top: 1px solid #cbd1cf;
  }

  .demo-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .demo-tab {
    min-width: 0;
    padding: 0 8px;
    font-size: 13px;
  }

  .product-screen {
    min-height: 0;
  }

  .screen-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .screen-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 10px;
    border-right: 0;
    border-bottom: 1px solid #26313a;
  }

  .screen-nav span {
    padding: 8px 4px;
    text-align: center;
  }

  .screen-content {
    padding: 28px 22px 34px;
  }

  .screen-content h3 {
    font-size: 23px;
  }

  .screen-metrics {
    grid-template-columns: 1fr;
  }

  .screen-metrics div + div {
    padding-left: 0;
    border-top: 1px solid #2a3540;
    border-left: 0;
  }

  .security-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lab-heading {
    margin-bottom: 38px;
  }

  .lab-layout {
    width: min(calc(100% - 24px), var(--shell));
    gap: 36px;
  }

  .house-scene {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .house-scene > img {
    object-position: center;
  }

  .device-stack {
    min-height: 0;
    padding: 0;
  }

  .tablet-device {
    margin: 0 auto;
  }

  .tablet-screen {
    min-height: 0;
    padding: 18px 16px;
  }

  .enco-climate-card {
    grid-template-columns: 20px minmax(0, 1fr) auto;
    column-gap: 4px;
    padding: 8px;
  }

  .enco-climate-card .enco-device-icon {
    width: 20px;
    height: 20px;
    font-size: 8px;
  }

  .enco-climate-card .temp-stepper {
    grid-template-columns: 18px 26px 18px;
  }

  .enco-climate-card .temp-stepper button {
    width: 18px;
    height: 18px;
  }

  .enco-climate-card .enco-device-copy strong {
    font-size: 9px;
  }

  .enco-climate-card .enco-device-copy small {
    font-size: 7px;
  }

  .phone-device {
    position: relative;
    right: auto;
    bottom: auto;
    width: 176px;
    margin: 24px auto 0;
  }

  .phone-screen {
    min-height: 345px;
  }

  .camera-feed {
    top: 12px;
    right: 12px;
    width: 160px;
  }

  .scene-status {
    right: 12px;
    bottom: 12px;
    left: 12px;
    justify-content: center;
  }

  .cta-inner {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 34px;
  }

  .button-dark {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* Shared multi-room application and the interactive 3D house. */
.lab-layout {
  grid-template-columns: minmax(360px, 430px) minmax(0, 1fr);
  gap: 24px;
}

.device-stack {
  min-width: 0;
  padding-right: 0;
}

.approved-room-tabs,
.phone-room-tabs {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.approved-room-tabs::-webkit-scrollbar,
.phone-room-tabs::-webkit-scrollbar,
.phone-device-grid::-webkit-scrollbar {
  display: none;
}

.approved-room-tabs button {
  flex: 0 0 auto;
}

.tablet-screen {
  min-height: 632px;
}

.approved-device-grid {
  grid-auto-rows: minmax(57px, auto);
}

.enco-ceiling-slider {
  background: linear-gradient(90deg, #9d6c35, #ffe9c3);
}

.enco-street-slider {
  background: linear-gradient(90deg, #52616a, #fff2be);
}

.phone-device {
  width: 206px;
}

.phone-screen {
  min-height: 462px;
}

.phone-room-head {
  margin: 16px 1px 7px;
}

.phone-room-tabs {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
  margin-bottom: 7px;
}

.phone-room-tabs button {
  flex: 0 0 auto;
  min-height: 22px;
  padding: 0 7px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: rgba(246, 251, 247, .58);
  background: rgba(255, 255, 255, .055);
  font-size: 7px;
  font-weight: 800;
}

.phone-room-tabs button.active {
  color: #10231a;
  border-color: rgba(88, 219, 141, .72);
  background: #58db8d;
}

.phone-device-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  max-height: 302px;
  overflow-y: auto;
  scrollbar-width: none;
}

.phone-enco-card {
  position: relative;
  min-height: 78px;
}

.phone-enco-card.is-moving {
  border-color: rgba(255, 184, 79, .72);
  background:
    linear-gradient(150deg, rgba(255, 184, 79, .32), rgba(255, 184, 79, .11)),
    rgba(255, 255, 255, .075);
  animation: encoMotionGlow 1s ease-in-out infinite;
}

.phone-enco-card.with-slider {
  padding-bottom: 14px;
}

.phone-card-tap {
  display: contents;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

.phone-mini-slider {
  position: absolute;
  right: 8px;
  bottom: 7px;
  left: 8px;
  width: calc(100% - 16px);
  height: 3px;
  margin: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #9d6c35, #ffe9c3);
  appearance: none;
}

.phone-mini-slider.street {
  background: linear-gradient(90deg, #52616a, #fff2be);
}

.phone-mini-slider::-webkit-slider-thumb {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  background: #fff1d2;
  appearance: none;
}

.phone-mini-slider::-moz-range-thumb {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  background: #fff1d2;
}

.phone-climate-card {
  grid-template-columns: 22px minmax(0, 1fr);
  align-content: start;
}

.phone-temp-stepper {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 18px 1fr 18px;
  align-items: center;
  gap: 3px;
  width: 100%;
  margin-top: 6px;
}

.phone-temp-stepper button {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  color: #f6fbf7;
  background: rgba(255, 255, 255, .08);
  font-size: 9px;
}

.phone-temp-stepper strong {
  text-align: center;
  font-size: 9px;
}

.phone-app-nav {
  flex: 0 0 auto;
  margin-top: 8px;
}

.house-scene-3d {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 72%, rgba(30, 73, 58, .28), transparent 38%),
    linear-gradient(180deg, #081628 0%, #07111c 48%, #05090d 100%);
  cursor: grab;
  touch-action: pan-y;
}

.house-scene-3d:active {
  cursor: grabbing;
}

.house-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity .45s ease;
}

.house-scene-3d.is-ready .house-fallback {
  opacity: 0;
}

#house-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  outline: 0;
  transition: opacity .45s ease;
}

.house-scene-3d.is-ready #house-canvas {
  opacity: 1;
}

.scene-room-picker {
  position: absolute;
  top: 14px;
  right: 14px;
  left: 14px;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
}

.scene-room-picker button,
.scene-orbit-controls button {
  pointer-events: auto;
  cursor: pointer;
}

.scene-room-picker button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: rgba(246, 251, 247, .68);
  background: rgba(8, 20, 17, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
  backdrop-filter: blur(16px);
  font-size: 9px;
  font-weight: 800;
}

.scene-room-picker button.active {
  color: #10231a;
  border-color: rgba(88, 219, 141, .8);
  background: #58db8d;
}

.scene-orbit-controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 7;
  display: grid;
  grid-template-columns: 34px 32px 34px;
  align-items: center;
  min-height: 36px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  color: rgba(246, 251, 247, .7);
  background: rgba(7, 17, 14, .72);
  backdrop-filter: blur(16px);
}

.scene-orbit-controls button {
  height: 34px;
  padding: 0;
  border: 0;
  color: #f6fbf7;
  background: transparent;
  font-size: 17px;
}

.scene-orbit-controls button:hover {
  background: rgba(88, 219, 141, .14);
}

.scene-orbit-controls span {
  text-align: center;
  color: #58db8d;
  font-size: 9px;
  font-weight: 900;
}

.house-scene-3d .scene-status {
  right: auto;
  bottom: 16px;
  left: 16px;
  z-index: 7;
  max-width: calc(100% - 150px);
  background: rgba(5, 12, 10, .72);
  backdrop-filter: blur(16px);
}

@media (max-width: 1040px) {
  .house-scene-3d {
    min-height: 0;
  }

  .device-stack {
    width: min(100%, 600px);
  }
}

@media (max-width: 760px) {
  .tablet-screen {
    min-height: 620px;
  }

  .approved-room-tabs {
    margin-right: -16px;
    padding-right: 16px;
  }

  .phone-device {
    width: 206px;
  }

  .phone-screen {
    min-height: 462px;
  }

  .house-scene-3d {
    min-height: 0;
    aspect-ratio: 6 / 5;
  }

  .scene-room-picker {
    top: 9px;
    right: 9px;
    left: 9px;
    flex-wrap: wrap;
    gap: 4px;
  }

  .scene-room-picker button {
    min-height: 24px;
    padding: 0 7px;
    font-size: 7px;
  }

  .house-scene-3d .scene-status {
    right: 92px;
    bottom: 10px;
    left: 10px;
    max-width: none;
    justify-content: flex-start;
  }

  .scene-orbit-controls {
    right: 10px;
    bottom: 10px;
    grid-template-columns: 28px 24px 28px;
  }
}

/* Photorealistic facade scene and identical tablet/phone cards. */
.phone-device {
  right: -232px;
  width: 292px;
}

.phone-screen {
  min-height: 500px;
}

.phone-device-grid {
  max-height: 326px;
}

.phone-device-grid .enco-device-card {
  grid-template-columns: 23px minmax(0, 1fr) 5px;
  min-height: 57px;
  column-gap: 5px;
  padding: 7px;
  border-radius: 15px;
}

.phone-device-grid .enco-device-with-slider {
  display: block;
  min-height: 62px;
  padding: 0;
}

.phone-device-grid .enco-card-tap {
  min-height: 56px;
  grid-template-columns: 23px minmax(0, 1fr) 5px;
  column-gap: 5px;
  padding: 7px 7px 12px;
}

.phone-device-grid .enco-device-icon {
  width: 23px;
  height: 23px;
  font-size: 9px;
}

.phone-device-grid .enco-device-copy strong {
  font-size: 8px;
}

.phone-device-grid .enco-device-copy small {
  font-size: 6.5px;
}

.phone-device-grid .enco-state-dot {
  width: 5px;
  height: 5px;
}

.phone-device-grid .enco-card-slider {
  right: 7px;
  bottom: 5px;
  left: 7px;
  width: calc(100% - 14px);
  height: 3px;
}

.phone-device-grid .enco-climate-card {
  grid-column: span 2;
  grid-template-columns: 23px minmax(0, 1fr) auto;
}

.house-scene-static {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 9;
  contain: layout paint;
  overflow: hidden;
  background: #03070b;
  cursor: default;
}

.house-scene-static > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.9) saturate(1.02) contrast(1.04);
}

.room-window.is-selected {
  box-shadow: inset 0 0 0 1px rgba(88, 219, 141, .42), 0 0 20px rgba(88, 219, 141, .14);
}

.cove-strip {
  position: absolute;
  z-index: 5;
  height: .52%;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, #ffe2b3 12%, #fff2d9 88%, transparent);
  box-shadow: 0 0 7px rgba(255, 210, 148, .92), 0 0 16px rgba(255, 187, 96, .62);
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity .35s ease;
}

.cove-master { top: 34.2%; left: 20.5%; width: 13.7%; }
.cove-guest { top: 32.7%; left: 43%; width: 13.8%; }
.cove-kids { top: 34.2%; left: 65.7%; width: 15%; }
.cove-living { top: 55.2%; left: 15.8%; width: 24.1%; }
.cove-kitchen { top: 55.2%; left: 61.1%; width: 23%; }

.house-scene-static .rgb-strip {
  z-index: 5;
  height: .42%;
  background: linear-gradient(90deg, transparent, var(--rgb-color) 12%, var(--rgb-color) 88%, transparent);
  box-shadow: 0 0 7px var(--rgb-color), 0 0 17px var(--rgb-color);
}

.rgb-master { top: 35%; left: 20.5%; width: 13.7%; }
.rgb-guest { top: 33.5%; left: 43%; width: 13.8%; }
.rgb-kids { top: 35%; left: 65.7%; width: 15%; }
.rgb-living { top: 56%; left: 15.8%; width: 24.1%; }
.rgb-kitchen { top: 56%; left: 61.1%; width: 23%; }

.curtain-set::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(180, 164, 146, .86) 5% 95%, transparent);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .65);
  content: "";
}

.house-scene-static .curtain-panel {
  width: 10%;
  border-bottom: 1px solid rgba(66, 58, 52, .58);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .1), transparent 17% 78%, rgba(0, 0, 0, .2)),
    repeating-linear-gradient(90deg, #59534d 0 4px, #817970 5px 8px, #4c4742 9px 12px);
  box-shadow: inset 0 0 8px rgba(255, 255, 255, .035), 0 2px 8px rgba(0, 0, 0, .5);
  filter: saturate(.7) brightness(.84);
  opacity: .94;
}

.house-scene-static .curtains-closed .curtain-panel {
  width: 50.5%;
}

.curtain-set.is-moving .curtain-panel {
  filter: saturate(.86) brightness(.94) sepia(.08);
}

.air-master { top: 38%; left: 22.5%; width: 10%; }
.air-guest { top: 37%; left: 45%; width: 10%; }
.air-kids { top: 38%; left: 68.3%; width: 10%; }
.air-living { top: 61%; left: 20%; width: 16%; }
.air-kitchen { top: 60.2%; left: 65%; width: 15%; }

.air-zone.is-active {
  opacity: .48;
}

.air-zone.is-active.is-selected {
  opacity: .96;
}

.air-zone.is-cooling span {
  border-top-color: rgba(168, 229, 255, .98);
  filter: drop-shadow(0 0 5px rgba(91, 203, 246, .76));
  animation-duration: 1.35s;
}

.facade-lighting {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(90deg, transparent 7%, rgba(255, 204, 132, .78) 16% 84%, transparent 93%) center 30.4% / 100% 2px no-repeat,
    linear-gradient(90deg, transparent 8%, rgba(255, 188, 106, .7) 14% 86%, transparent 92%) center 51.4% / 100% 2px no-repeat,
    radial-gradient(ellipse at 16% 52%, rgba(255, 189, 105, .26), transparent 22%),
    radial-gradient(ellipse at 84% 52%, rgba(255, 189, 105, .26), transparent 22%);
  filter: blur(.25px);
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity .35s ease;
}

.path-lights {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  transition: opacity .35s ease;
}

.path-lights i {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff2c3;
  box-shadow: 0 0 7px 3px rgba(255, 205, 125, .76), 0 0 16px 6px rgba(255, 173, 73, .28);
  transform: translate(-50%, -50%);
}

.irrigation-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.irrigation-layer.is-active {
  opacity: 1;
}

.sprinkler {
  position: absolute;
  top: 76%;
  width: 1px;
  height: 1px;
}

.sprinkler-left { left: 25%; }
.sprinkler-right { right: 23%; transform: scaleX(-1); }

.sprinkler i {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 95px;
  height: 38px;
  border-top: 1.5px solid rgba(157, 225, 255, .88);
  border-radius: 54% 48% 0 0;
  filter: drop-shadow(0 0 4px rgba(90, 195, 239, .72));
  transform-origin: left bottom;
  animation: sprinklerArc 1.15s ease-in-out infinite;
}

.sprinkler i:nth-child(2) { width: 72px; height: 29px; animation-delay: -.38s; }
.sprinkler i:nth-child(3) { width: 50px; height: 21px; animation-delay: -.76s; }

@keyframes sprinklerArc {
  0%, 100% { opacity: .2; transform: rotate(-9deg) scaleX(.82); }
  50% { opacity: .95; transform: rotate(8deg) scaleX(1.05); }
}

.house-scene-static .scene-status {
  right: auto;
  bottom: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
}

@media (max-width: 760px) {
  .phone-device {
    position: relative;
    right: auto;
    bottom: auto;
    width: 292px;
    margin: 24px auto 0;
  }

  .phone-screen {
    min-height: 500px;
  }

  .house-scene-static {
    aspect-ratio: 6 / 5;
  }

  .house-scene-static > img {
    object-position: center;
  }

  .house-scene-static .scene-status {
    right: 10px;
    bottom: 10px;
    left: 10px;
    justify-content: flex-start;
  }
}

/* The site renders the approved ENCO demo instead of a separate imitation. */
.approved-demo-frame {
  overflow: hidden;
  background: #07110e;
}

.approved-demo-frame iframe {
  display: block;
  border: 0;
  background: #07110e;
}

.approved-demo-frame-tablet {
  width: 100%;
  max-width: 430px;
  height: 700px;
  padding: 11px;
}

.approved-demo-frame-tablet iframe {
  width: 100%;
  height: 100%;
  border-radius: 18px;
}

.approved-demo-frame-phone {
  position: absolute;
  right: -124px;
  bottom: 4px;
  width: 206px;
  height: 438px;
  padding: 9px;
}

.approved-demo-phone-scale {
  width: 430px;
  height: 900px;
  overflow: hidden;
  border-radius: 24px;
  transform: scale(.437);
  transform-origin: top left;
}

.approved-demo-phone-scale iframe {
  width: 430px;
  height: 900px;
}

/* Curtains stay above every room-light layer and move at a real motor pace. */
.house-scene-static .curtain-set {
  z-index: 8;
}

.house-scene-static .curtain-panel {
  z-index: 2;
  transition:
    width 3.25s cubic-bezier(.34, .03, .18, 1),
    filter .8s ease,
    box-shadow .8s ease;
}

.house-scene-static .curtains-closed .curtain-panel {
  width: 50.25%;
  filter: saturate(.64) brightness(.72);
}

/* Larger lawn irrigation: five heads, visible droplets and ground mist. */
.irrigation-layer {
  z-index: 7;
}

.irrigation-layer::before {
  position: absolute;
  right: 2%;
  bottom: -4%;
  left: 2%;
  height: 30%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 20% 72%, rgba(126, 214, 237, .2), transparent 28%),
    radial-gradient(ellipse at 50% 75%, rgba(126, 214, 237, .25), transparent 34%),
    radial-gradient(ellipse at 82% 72%, rgba(126, 214, 237, .2), transparent 28%);
  filter: blur(6px);
  content: "";
  animation: irrigationGround 2.4s ease-in-out infinite;
}

.sprinkler {
  top: auto;
  bottom: 13%;
}

.sprinkler-far-left { left: 7%; transform: scale(.72); }
.sprinkler-left { left: 24%; transform: scale(.94); }
.sprinkler-center { left: 49%; transform: scale(1.08); }
.sprinkler-right { right: 24%; transform: scaleX(-1) scale(.94); }
.sprinkler-far-right { right: 7%; transform: scaleX(-1) scale(.72); }

.sprinkler::before {
  position: absolute;
  bottom: -5px;
  left: -4px;
  width: 8px;
  height: 9px;
  border-radius: 3px 3px 1px 1px;
  background: #4c6866;
  box-shadow: 0 0 0 1px rgba(195, 236, 236, .3), 0 0 10px rgba(99, 207, 239, .5);
  content: "";
}

.sprinkler::after {
  position: absolute;
  bottom: -8px;
  left: -22px;
  width: 48px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(155, 225, 241, .27), transparent 68%);
  filter: blur(3px);
  content: "";
}

.sprinkler i {
  width: 160px;
  height: 72px;
  border-top-width: 2px;
  border-top-color: rgba(187, 236, 255, .92);
  filter: drop-shadow(0 0 5px rgba(80, 190, 232, .8));
  animation-duration: 2.2s;
}

.sprinkler i:nth-child(2) {
  width: 132px;
  height: 59px;
  animation-delay: -.73s;
}

.sprinkler i:nth-child(3) {
  width: 104px;
  height: 45px;
  animation-delay: -1.46s;
}

.sprinkler b {
  position: absolute;
  bottom: 18px;
  left: 36px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(207, 246, 255, .95);
  box-shadow:
    22px -19px 0 rgba(207, 246, 255, .82),
    48px -31px 0 rgba(207, 246, 255, .76),
    78px -35px 0 rgba(207, 246, 255, .68),
    105px -24px 0 rgba(207, 246, 255, .62),
    126px -8px 0 rgba(207, 246, 255, .52);
  animation: irrigationDrops 1.35s linear infinite;
}

.sprinkler b:nth-of-type(2) { animation-delay: -.34s; transform: translateY(-5px); }
.sprinkler b:nth-of-type(3) { animation-delay: -.68s; transform: translateY(4px); }
.sprinkler b:nth-of-type(4) { animation-delay: -1.02s; transform: translateY(-2px); }

@keyframes irrigationDrops {
  0% { opacity: 0; translate: -8px 8px; }
  18% { opacity: .95; }
  82% { opacity: .72; }
  100% { opacity: 0; translate: 30px 20px; }
}

@keyframes irrigationGround {
  0%, 100% { opacity: .5; transform: scaleX(.96); }
  50% { opacity: .9; transform: scaleX(1.02); }
}

@media (max-width: 760px) {
  .approved-demo-frame-tablet {
    height: 690px;
  }

  .approved-demo-frame-phone {
    position: relative;
    right: auto;
    bottom: auto;
    width: 206px;
    height: 438px;
    margin: 24px auto 0;
  }

  .sprinkler i {
    width: 112px;
    height: 52px;
  }

  .sprinkler i:nth-child(2) { width: 92px; height: 42px; }
  .sprinkler i:nth-child(3) { width: 72px; height: 33px; }
}

/* Canvas effects keep indoor air and outdoor water in separate physical planes. */
.scene-particle-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.scene-air-layer {
  z-index: 7;
}

.scene-water-layer {
  z-index: 10;
}

.fx-canvas-ready .air-zone {
  opacity: 0 !important;
}

.fx-canvas-ready .irrigation-layer {
  opacity: 0 !important;
}

.air-master { top: 35.8%; left: 20.5%; width: 13.7%; height: 10.6%; }
.air-guest { top: 34.6%; left: 43%; width: 13.8%; height: 11.8%; }
.air-kids { top: 35.8%; left: 65.7%; width: 15%; height: 10.6%; }
.air-living { top: 57.4%; left: 15.8%; width: 24.1%; height: 15.6%; }
.air-kitchen { top: 57.4%; left: 61.1%; width: 23%; height: 15.6%; }

.house-scene-static .curtain-panel {
  border-right: 1px solid rgba(211, 201, 188, .1);
  border-left: 1px solid rgba(22, 20, 18, .26);
  background-image:
    linear-gradient(90deg, rgba(255, 232, 201, .13), transparent 14% 76%, rgba(0, 0, 0, .25)),
    linear-gradient(180deg, rgba(255, 230, 196, .07), transparent 24%, rgba(0, 0, 0, .22)),
    url("./assets/curtain-fabric-v2.png");
  background-position: center, center, center center;
  background-size: 100% 100%, 100% 100%, auto 112%;
  box-shadow:
    inset 5px 0 8px rgba(255, 255, 255, .035),
    inset -7px 0 12px rgba(0, 0, 0, .22),
    0 3px 10px rgba(0, 0, 0, .48);
  clip-path: polygon(0 0, 100% 0, 98.5% 100%, 1.5% 100%);
  filter: saturate(.72) brightness(.78) contrast(1.08);
}

.house-scene-static .curtain-panel-left {
  background-position: center, center, 42% center;
}

.house-scene-static .curtain-panel-right {
  background-position: center, center, 58% center;
}

.house-scene-static .curtains-closed .curtain-panel {
  filter: saturate(.68) brightness(.68) contrast(1.12);
  box-shadow:
    inset 8px 0 13px rgba(255, 255, 255, .025),
    inset -9px 0 14px rgba(0, 0, 0, .28),
    0 4px 13px rgba(0, 0, 0, .54);
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
