:root {
  --ink: #f5f2e9;
  --night: #090b0d;
  --amber: #f9bd00;
  --cyan: #00bce8;
  --pink: #ff2d78;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

button,
a,
input {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #6be1ff;
  outline-offset: 2px;
}

.experience-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.05), transparent 24%),
    #090b0d;
}

.site-header {
  position: relative;
  z-index: 10;
  height: 88px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  isolation: isolate;
  overflow: hidden;
}

.site-header::before {
  background: url("/voyager-mark-white.png") center / contain no-repeat;
  content: "";
  height: 190px;
  left: 88px;
  opacity: 0.055;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 190px;
  z-index: 0;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.brand {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo-brand-logo {
  display: block;
  height: 68px;
  object-fit: contain;
  width: 68px;
  mix-blend-mode: screen;
}

.header-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header-label span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #87cf8f;
  box-shadow: 0 0 12px #87cf8f;
}

.experience-stage {
  position: relative;
  min-height: calc(100vh - 88px);
  max-width: 1480px;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
}

.room-image {
  position: absolute;
  left: 50%;
  top: 0;
  width: auto;
  height: 100%;
  aspect-ratio: 1923 / 817;
  z-index: -2;
  background-image: url("/room-panorama-tv-v2.png");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #111317;
  filter: brightness(var(--room-brightness, 0.58))
    saturate(var(--room-saturation, 0.9));
  transform: translateX(-50%) perspective(1600px) scale(1.045)
    translate3d(0, 0, 0) rotateY(0deg);
  transform-origin: 50% 54%;
  will-change: transform, filter;
  transition:
    filter 1.2s cubic-bezier(0.2, 0.75, 0.2, 1),
    transform 1.65s cubic-bezier(0.18, 0.76, 0.16, 1);
}

.room-image[data-view="lights"] {
  transform: translateX(-50%) perspective(1450px) scale(1.22)
    translate3d(-10%, 10%, 0) rotateX(-3.5deg) rotateY(4.5deg);
}

.room-image[data-view="shades"] {
  transform: translateX(-50%) perspective(1450px) scale(1.13)
    translate3d(-25%, 4%, 0) rotateY(6.5deg);
}

.room-image[data-view="music"] {
  transform: translateX(-50%) perspective(1400px) scale(1.31)
    translate3d(8%, 17%, 0) rotateX(-6deg) rotateY(-4deg);
}

.room-image[data-view="climate"] {
  transform: translateX(-50%) perspective(1400px) scale(1.29)
    translate3d(10%, 15%, 0) rotateX(-6.5deg) rotateY(-4.5deg);
}

.room-image[data-view="video"] {
  transform: translateX(-50%) perspective(1350px) scale(1.28)
    translate3d(25%, 5%, 0) rotateY(-7.5deg);
}

.room-image[data-view="security"] {
  transform: translateX(-50%) perspective(1500px) scale(1.14)
    translate3d(-7%, 4%, 0) rotateY(3.5deg);
}

.room-image[data-view="pool"] {
  transform: translateX(-50%) perspective(1450px) scale(1.18)
    translate3d(-17%, 5%, 0) rotateY(5deg);
}

.room-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 4, 6, 0.82) 0%, rgba(2, 4, 6, 0.45) 35%, rgba(2, 4, 6, 0.08) 70%),
    linear-gradient(0deg, rgba(2, 4, 6, 0.6), transparent 34%);
  z-index: 3;
}

.light-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: var(--downlights-opacity, 0.35);
  background:
    radial-gradient(
      ellipse at 20% 13%,
      rgba(255, 241, 190, 0.58),
      transparent 12%
    ),
    radial-gradient(
      ellipse at 89% 14%,
      rgba(255, 241, 190, 0.62),
      transparent 13%
    ),
    radial-gradient(
      ellipse at 95% 48%,
      rgba(255, 225, 174, 0.32),
      transparent 21%
    );
  mix-blend-mode: screen;
  transition: opacity 0.8s ease;
}

.lamp-glow,
.chandelier-glow {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  filter: blur(20px);
  mix-blend-mode: screen;
  transition: opacity 0.8s ease;
}

.lamp-glow {
  opacity: var(--wall-wash-opacity, 0.35);
  width: 160px;
  height: 220px;
  right: 2%;
  top: 31%;
  background: rgba(255, 184, 96, 0.5);
}

.chandelier-glow {
  opacity: var(--cove-opacity, 0.35);
  width: 72%;
  height: 85px;
  left: 0;
  top: 0;
  border-radius: 0;
  background: rgba(255, 220, 150, 0.34);
}

.window-treatments {
  position: absolute;
  z-index: 2;
  left: 27.4%;
  top: 24.6%;
  width: 52.7%;
  height: 54.5%;
  pointer-events: none;
  filter: drop-shadow(0 8px 9px rgba(0, 0, 0, 0.16));
  transform: perspective(1200px) rotateY(-0.25deg);
  transform-origin: left center;
}

.roller-shades,
.horizontal-sheers,
.drapes {
  position: absolute;
  top: 0;
  bottom: 0;
  overflow: hidden;
}

.roller-shades::before,
.horizontal-sheers::before,
.drapes::before {
  content: "";
  position: absolute;
  z-index: 4;
  left: 2px;
  right: 2px;
  top: 0;
  height: 9px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #ddd9ce, #918d85 68%, #6f6b64);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.26),
    inset 0 1px rgba(255, 255, 255, 0.64);
}

.roller-shades {
  left: 0;
  width: 28%;
  padding: 9px 5px 0 2px;
}

.roller-shades i {
  display: block;
  width: 100%;
  max-height: 100%;
  background:
    linear-gradient(90deg, rgba(157, 153, 144, 0.98), rgba(232, 228, 216, 0.99) 48%, rgba(167, 163, 153, 0.99)),
    repeating-linear-gradient(0deg, transparent 0 2px, rgba(90, 84, 75, 0.09) 2px 3px);
  border-bottom: 5px solid rgba(122, 118, 109, 0.9);
  box-shadow:
    0 6px 9px rgba(0, 0, 0, 0.27),
    inset 0 -1px rgba(255, 255, 255, 0.52);
  transition: height 1.15s cubic-bezier(0.33, 1, 0.68, 1);
}

.horizontal-sheers {
  left: 35.4%;
  width: 28.5%;
  padding: 9px 4px 0;
}

.horizontal-sheers i {
  display: block;
  width: 100%;
  max-height: 100%;
  border-bottom: 3px solid rgba(226, 226, 217, 0.8);
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 252, 0.2) 0 10px,
      rgba(211, 210, 203, 0.78) 10px 14px,
      rgba(250, 250, 246, 0.34) 14px 24px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(232, 232, 226, 0.44), rgba(255, 255, 255, 0.14));
  box-shadow:
    0 5px 8px rgba(0, 0, 0, 0.11),
    inset 0 0 12px rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(1.3px) brightness(1.04);
  transition: height 1.1s cubic-bezier(0.33, 1, 0.68, 1);
}

.drapes {
  left: 71.8%;
  width: 28.2%;
  padding-top: 9px;
}

.drapes i {
  position: absolute;
  top: 9px;
  bottom: 0;
  max-width: 50%;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(83, 75, 67, 0.97) 0 6px,
      rgba(156, 146, 133, 0.98) 6px 13px,
      rgba(103, 92, 81, 0.98) 13px 20px
    );
  box-shadow:
    0 0 13px rgba(0, 0, 0, 0.33),
    inset -2px 0 rgba(255, 255, 255, 0.09);
  transition: width 1.2s cubic-bezier(0.33, 1, 0.68, 1);
}

.drape-left {
  left: 0;
  border-radius: 0 0 45% 0;
}

.drape-right {
  right: 0;
  border-radius: 0 0 0 45%;
}

.speaker {
  position: absolute;
  z-index: 4;
  top: 8.7%;
  width: 38px;
  height: 16px;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.speaker-left {
  left: 30.5%;
}

.speaker-right {
  left: 78%;
}

.speaker span,
.speaker i,
.speaker b {
  position: absolute;
  left: 50%;
  top: 35%;
  width: 54px;
  height: 26px;
  border: 2px solid rgba(255, 45, 120, 0.85);
  border-width: 0 2px 2px;
  border-radius: 0 0 50% 50%;
  transform: translateX(-50%);
  animation: signal 1.8s infinite ease-out;
}

.speaker i {
  animation-delay: 0.55s;
}

.speaker b {
  animation-delay: 1.1s;
}

@keyframes signal {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0.35);
  }
  28% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(72px) scale(1.5);
  }
}

.climate-feedback {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
}

.air-vent {
  position: absolute;
  top: 18.4%;
  width: 112px;
  height: 8px;
  border-radius: 2px;
  background: rgba(8, 10, 12, 0.2);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.18);
}

.vent-one {
  left: 29%;
}

.vent-two {
  left: 69%;
}

.air-current {
  position: absolute;
  top: 20%;
  color: rgba(62, 212, 255, 0.82);
  filter: drop-shadow(0 0 8px rgba(45, 200, 255, 0.45));
  opacity: 0;
  animation: airflow 3.4s infinite ease-in-out;
}

.climate-feedback.heat .air-current {
  color: rgba(255, 119, 70, 0.88);
  filter: drop-shadow(0 0 8px rgba(255, 104, 50, 0.48));
}

.current-1 {
  left: 29%;
  animation-delay: 0s;
}

.current-2 {
  left: 33%;
  animation-delay: 1.15s;
}

.current-3 {
  left: 37%;
  animation-delay: 2.25s;
}

.current-4 {
  left: 69%;
  animation-delay: 0.55s;
}

.current-5 {
  left: 73%;
  animation-delay: 1.7s;
}

.current-6 {
  left: 77%;
  animation-delay: 2.8s;
}

@keyframes airflow {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(90deg) scale(0.72);
  }
  18% {
    opacity: 0.9;
  }
  68% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translate3d(36px, 250px, 0) rotate(108deg) scale(1.18);
  }
}

.room-climate-badge {
  position: absolute;
  left: 46%;
  top: 27%;
  min-width: 142px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(4, 15, 22, 0.42);
  backdrop-filter: blur(12px);
  color: #eafaff;
}

.climate-feedback.heat .room-climate-badge {
  background: rgba(40, 12, 5, 0.43);
  color: #fff0e8;
}

.room-climate-badge > span {
  display: flex;
  flex-direction: column;
}

.room-climate-badge strong {
  font-size: 17px;
}

.room-climate-badge small {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.room-tv {
  position: absolute;
  z-index: 5;
  left: 4.89%;
  top: 28.15%;
  width: 16.95%;
  height: 39.78%;
  padding: 6px;
  overflow: hidden;
  background: linear-gradient(90deg, #030405, #101113);
  clip-path: polygon(0 0, 100% 27.7%, 100% 93.8%, 0 100%);
  filter: drop-shadow(13px 15px 15px rgba(0, 0, 0, 0.5));
  transform: translateZ(0);
}

.room-tv::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 6px;
  pointer-events: none;
  background:
    linear-gradient(
      118deg,
      rgba(255, 255, 255, 0.1),
      transparent 21%,
      transparent 72%,
      rgba(255, 255, 255, 0.035)
    );
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.045),
    inset 0 0 22px rgba(0, 0, 0, 0.26);
}

.room-tv-screen {
  position: relative;
  z-index: 1;
  width: 234%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 25% 20%, #6b72ff, transparent 34%),
    radial-gradient(circle at 76% 76%, #ce42a9, transparent 38%),
    linear-gradient(145deg, #071224, #201238);
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  backface-visibility: hidden;
  transform: perspective(1000px) rotateY(48deg) skewY(6deg);
  transform-origin: left center;
}

.room-tv:not(.front-door) .room-tv-screen {
  align-items: flex-start;
}

.room-tv:not(.front-door) .room-tv-screen > small,
.room-tv:not(.front-door) .room-tv-screen > strong,
.room-tv:not(.front-door) .room-tv-screen > span {
  margin-left: 38%;
  transform: translateX(-50%);
}

.room-tv.roku .room-tv-screen {
  background:
    radial-gradient(circle at 70% 35%, rgba(255, 255, 255, 0.18), transparent 25%),
    linear-gradient(145deg, #31106e, #7134a8);
}

.room-tv.front-door .room-tv-screen {
  align-items: stretch;
  justify-content: flex-start;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.06)),
    url("/front-door-camera.jpg") center / cover;
  filter: saturate(0.72) contrast(1.08);
}

.room-tv-screen > small {
  font-size: 9px;
  letter-spacing: 0.25em;
}

.room-tv-screen > strong {
  margin: 7px 0;
  font-size: clamp(26px, 4vw, 56px);
  letter-spacing: -0.04em;
}

.room-tv-screen > span {
  font-size: 11px;
  letter-spacing: 0.12em;
}

.room-camera-live,
.camera-live {
  position: absolute;
  left: 13px;
  top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px !important;
  font-weight: 800;
  letter-spacing: 0.16em !important;
}

.room-camera-live i,
.camera-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 8px rgba(255, 59, 48, 0.85);
}

.room-camera-label {
  position: absolute;
  left: 13px;
  bottom: 11px;
  padding: 5px 7px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.54);
  font-size: 8px !important;
  letter-spacing: 0.13em !important;
}

.tv-soundbar {
  position: absolute;
  left: 23%;
  right: 23%;
  bottom: -11px;
  height: 5px;
  border-radius: 4px;
  background: #111216;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.35);
}

.stage-copy {
  position: absolute;
  z-index: 5;
  left: clamp(34px, 6vw, 90px);
  top: 50%;
  width: min(480px, 36vw);
  transform: translateY(-48%);
}

.stage-copy.video-on,
.stage-copy.control-active {
  top: auto;
  bottom: 54px;
  width: auto;
  transform: none;
}

.stage-copy.video-on > :not(.status-pill),
.stage-copy.control-active > :not(.status-pill) {
  display: none;
}

.stage-copy > * {
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.eyebrow {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.stage-copy h1 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 6.8vw, 102px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.stage-description {
  max-width: 370px;
  margin: 32px 0 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.status-pill {
  width: max-content;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.27);
  backdrop-filter: blur(16px);
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pill > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5bd4c;
}

.status-pill > span.pulse {
  background: #ff2d78;
  box-shadow: 0 0 0 0 rgba(255, 45, 120, 0.75);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(255, 45, 120, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 45, 120, 0);
  }
}

.device-wrap {
  position: absolute;
  z-index: 6;
  right: clamp(34px, 5vw, 78px);
  top: 50%;
  display: flex;
  align-items: center;
  gap: 24px;
  transform: translateY(-50%);
}

.device-prompt {
  position: absolute;
  right: calc(100% + 24px);
  top: 45%;
  width: 150px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.device-prompt::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.42);
}

.device-prompt span {
  color: rgba(255, 255, 255, 0.38);
}

.device {
  position: relative;
  width: 332px;
  height: 720px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 42px;
  background: #f1f1f7;
  color: #16161b;
  box-shadow:
    0 36px 80px rgba(0, 0, 0, 0.55),
    0 0 0 7px rgba(10, 10, 12, 0.74);
  font-family: Arial, Helvetica, sans-serif;
}

.device button {
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.dynamic-island {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 50%;
  width: 118px;
  height: 27px;
  border-radius: 0 0 18px 18px;
  background: #000;
  transform: translateX(-50%);
}

.ios-status {
  position: relative;
  z-index: 10;
  height: 34px;
  padding: 8px 15px 0 17px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cell-bars {
  max-width: 20px;
  overflow: hidden;
  font-size: 7px;
  letter-spacing: 1px;
}

.home-screen {
  position: relative;
  height: 100%;
  background: #f3f3f9;
}

.home-photo {
  position: relative;
  height: 234px;
  background:
    linear-gradient(0deg, #f3f3f9 0, rgba(243, 243, 249, 0.55) 16%, transparent 52%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.24), transparent 62%),
    url("/room-panorama-tv-v2.png") 40% center / auto 100%;
}

.more-button {
  position: absolute;
  z-index: 4;
  right: 12px;
  top: 36px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  color: #34343a;
}

.home-photo-copy {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 15px;
}

.home-photo-copy h2 {
  margin: 0 0 5px;
  color: #111116;
  font-size: 30px;
  letter-spacing: -0.055em;
}

.home-photo-copy p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.home-content {
  height: calc(100% - 234px);
  padding: 0 11px 116px;
  overflow-y: auto;
  scrollbar-width: none;
}

.home-content::-webkit-scrollbar,
.screen-scroll::-webkit-scrollbar,
.scene-scroll::-webkit-scrollbar {
  display: none;
}

.home-content h3,
.screen-scroll > h3 {
  margin: 7px 0 8px;
  font-size: 17px;
  line-height: 1.2;
}

.actions-row,
.scene-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.action-card,
.scene-card {
  flex: 0 0 129px;
  min-height: 72px;
  padding: 12px 12px 10px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  color: #2b2b31;
  font-size: 14px;
  text-align: left;
}

.action-card svg {
  color: #f5bd00;
}

.control-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.control-tile {
  position: relative;
  min-height: 100px;
  padding: 14px 13px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  background: #fff;
  color: #28282e;
  text-align: left;
  overflow: hidden;
  transition: transform 0.18s ease;
}

.control-tile:active,
.scene-card:active,
.action-card:active {
  transform: scale(0.97);
}

.control-tile.wide {
  grid-column: 1 / -1;
  min-height: 92px;
}

.control-tile.music-active {
  background:
    linear-gradient(0deg, rgba(72, 22, 94, 0.64), rgba(21, 9, 41, 0.3)),
    radial-gradient(circle at 25% 30%, #f9599a, transparent 22%),
    radial-gradient(circle at 70% 30%, #6030d7, transparent 44%),
    #24144b;
  color: #fff;
}

.control-tile.video-active {
  background:
    linear-gradient(150deg, rgba(13, 20, 46, 0.4), rgba(8, 9, 15, 0.72)),
    radial-gradient(circle at 75% 25%, #4f6dff, transparent 38%),
    #111528;
  color: #fff;
}

.control-tile.climate-tile {
  position: relative;
}

.control-tile.climate-tile.cool,
.control-tile.climate-tile.auto {
  background: linear-gradient(145deg, #ffffff, #eefbff);
}

.control-tile.climate-tile.heat {
  background: linear-gradient(145deg, #ffffff, #fff2ed);
}

.tile-temperature {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 20px;
  font-weight: 600;
}

.cool-icon {
  color: #00b8e8;
}

.heat-icon {
  color: #ff453a;
}

.video-icon {
  color: #536dfe;
}

.security-tile svg {
  color: #b64ae8;
}

.security-tile.armed-away svg,
.security-tile.armed-stay svg {
  color: #ff5a5f;
}

.tile-copy {
  display: flex;
  flex-direction: column;
}

.tile-copy strong {
  font-size: 15px;
}

.tile-copy small {
  margin-top: 2px;
  color: #919197;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.music-active .tile-copy small {
  color: rgba(255, 255, 255, 0.72);
}

.amber-icon {
  color: var(--amber);
}

.pink-icon {
  color: var(--pink);
}

.cyan-icon {
  color: var(--cyan);
}

.whole-home-photo {
  height: 218px;
}

.whole-home-screen .home-content {
  height: calc(100% - 218px);
}

.whole-home-controls .pool-control-tile {
  grid-column: 1 / -1;
  min-height: 82px;
}

.pool-control-tile {
  color: #087f91;
}

.pool-control-tile.pool-active {
  color: #fff;
  background: linear-gradient(145deg, #08a8bc, #07526f);
}

.rooms-screen {
  padding-top: 29px;
  background: #f3f3f8;
}

.rooms-screen > .ios-status {
  top: 7px;
}

.rooms-title-row {
  height: 49px;
  padding: 6px 14px 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rooms-title-row h2 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.045em;
}

.rooms-title-row button {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
}

.floor-tabs {
  height: 37px;
  padding: 0 14px;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  scrollbar-width: none;
}

.floor-tabs button {
  position: relative;
  flex: 0 0 auto;
  padding: 0;
  background: transparent;
  color: #7c7c83;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.floor-tabs button.selected {
  color: #25252a;
}

.floor-tabs button.selected::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #ee2e78;
}

.rooms-list {
  height: calc(100% - 159px);
  padding: 7px 10px 115px;
  overflow-y: auto;
  scrollbar-width: none;
}

.rooms-list > p {
  margin: 8px 3px 6px;
  color: #7d7d85;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.room-card {
  position: relative;
  width: 100%;
  min-height: 114px;
  margin-bottom: 8px;
  padding: 0;
  overflow: hidden;
  border-radius: 13px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: #fff;
  text-align: left;
  background-position: center;
  background-size: cover;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.room-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 7, 10, 0.78), transparent 70%);
}

.living-room-card {
  background-image: url("/room-panorama-tv-v2.png");
  background-position: 48% center;
}

.kitchen-card {
  background-image:
    linear-gradient(100deg, rgba(60, 33, 18, 0.15), rgba(0, 0, 0, 0.22)),
    url("/room-panorama-tv-v2.png");
  background-position: 78% center;
}

.theater-card {
  background-image:
    linear-gradient(120deg, rgba(31, 9, 53, 0.3), rgba(0, 0, 0, 0.52)),
    url("/room-panorama-tv-v2.png");
  background-position: 9% center;
}

.pool-room-card {
  background:
    linear-gradient(120deg, rgba(2, 138, 168, 0.16), rgba(0, 20, 43, 0.5)),
    url("/front-door-camera.jpg") center / cover;
}

.room-card-copy,
.room-card-actions {
  position: relative;
  z-index: 1;
}

.room-card-copy {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.room-card-copy strong {
  font-size: 16px;
}

.room-card-copy small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 9px;
}

.room-card-actions {
  padding: 10px;
  display: flex;
  gap: 6px;
}

.room-card-actions i {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  color: #33343a;
  font-size: 11px;
  font-style: normal;
}

.app-dock {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  bottom: 0;
  height: 112px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  background: rgba(247, 247, 250, 0.92);
  backdrop-filter: blur(22px);
}

.now-playing-strip {
  width: 100%;
  height: 44px;
  padding: 0 19px;
  display: grid;
  grid-template-columns: 22px 1fr 34px;
  align-items: center;
  background: transparent;
  color: #292931;
  text-align: left;
  font-size: 13px;
}

.mini-levels {
  height: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 3px;
}

.mini-levels i {
  width: 2px;
  height: 7px;
  background: #a0a0a6;
}

.mini-levels i:nth-child(2) {
  height: 15px;
}

.mini-levels i:nth-child(3) {
  height: 20px;
}

.mini-levels i:nth-child(4) {
  height: 12px;
}

.mini-levels.playing i {
  background: var(--pink);
  animation: bars 0.75s infinite alternate ease-in-out;
}

.mini-levels.playing i:nth-child(2) {
  animation-delay: -0.3s;
}

.mini-levels.playing i:nth-child(3) {
  animation-delay: -0.55s;
}

@keyframes bars {
  to {
    height: 5px;
  }
}

.dock-nav {
  height: 54px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.dock-nav button {
  height: 42px;
  display: grid;
  place-items: center;
  background: transparent;
  color: #8b8b91;
}

.dock-nav .selected {
  color: #26262c;
}

.home-indicator {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 96px;
  height: 4px;
  border-radius: 8px;
  background: #050505;
  transform: translateX(-50%);
}

.subscreen {
  position: relative;
  height: 100%;
  background: #f3f3f9;
}

.grabber {
  position: absolute;
  z-index: 11;
  top: 36px;
  left: 50%;
  width: 62px;
  height: 4px;
  border-radius: 10px;
  background: #131318;
  transform: translateX(-50%);
}

.app-header {
  height: 62px;
  padding: 6px 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.app-header h2,
.source-top h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.app-header p {
  margin: 0;
  color: #87878e;
  font-size: 11px;
  font-weight: 700;
}

.header-actions {
  display: flex;
  gap: 8px;
}

.header-actions button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
}

.primary-toggle {
  height: 57px;
  padding-top: 4px;
  display: flex;
  justify-content: center;
  gap: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.035);
}

.primary-toggle button {
  width: 92px;
  height: 39px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fff;
  color: #202026;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.025);
  font-size: 12px;
  font-weight: 700;
}

.primary-toggle .active-on {
  color: var(--amber);
}

.primary-toggle .active-off {
  background: #242429;
  color: #fff;
}

.shades-toggle button:last-child,
.shades-toggle button:last-child svg {
  color: var(--cyan);
}

.screen-scroll {
  height: calc(100% - 153px);
  padding: 9px 11px 28px;
  overflow-y: auto;
  scrollbar-width: none;
}

.scene-card {
  min-height: 79px;
  font-size: 14px;
}

.scene-card .scene-icon {
  color: var(--amber);
}

.scene-card.cyan .scene-icon {
  color: var(--cyan);
}

.scene-card.active {
  box-shadow: inset 0 0 0 2px currentColor;
  color: #3f3f45;
}

.scene-card.active.amber {
  box-shadow: inset 0 0 0 2px rgba(249, 189, 0, 0.7);
}

.scene-card.active.cyan {
  box-shadow: inset 0 0 0 2px rgba(0, 188, 232, 0.7);
}

.all-lights-control,
.shade-master {
  height: 47px;
  margin-bottom: 11px;
  border-radius: 25px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: #fff;
}

.all-lights-control button,
.shade-master button {
  display: grid;
  place-items: center;
  border-right: 1px solid #ededf1;
  background: transparent;
  color: #26262c;
}

.all-lights-control .warm {
  color: #ff6a00;
}

.all-lights-control .cool {
  color: #00aadd;
}

.load-card,
.shade-card {
  margin: 10px 0;
  border-radius: 17px;
  overflow: hidden;
  background: #fff;
}

.load-heading,
.shade-heading {
  min-height: 43px;
  padding: 10px 12px 7px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 7px;
}

.load-heading strong,
.shade-heading strong {
  font-size: 13px;
}

.load-heading > span,
.shade-heading > span {
  color: #8c8c91;
  font-size: 12px;
}

.toggle {
  position: relative;
  width: 38px;
  height: 23px;
  padding: 0;
  border-radius: 20px;
  background: #e1e1e6;
}

.toggle i {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s ease;
}

.toggle.on {
  background: var(--load-color);
}

.toggle.on i {
  transform: translateX(15px);
}

.load-slider-row {
  padding: 1px 12px 12px;
  display: grid;
  grid-template-columns: 27px 1fr;
  align-items: center;
  gap: 8px;
}

.color-dot {
  width: 21px;
  height: 21px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--load-color);
}

input[type="range"] {
  width: 100%;
  height: 13px;
  margin: 0;
  border-radius: 8px;
  appearance: none;
  background: linear-gradient(
    90deg,
    var(--load-color, #ff2d78) 0 var(--value, 58%),
    #e4e4e7 var(--value, 58%) 100%
  );
}

input[type="range"]::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  appearance: none;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.shade-master {
  grid-template-columns: 1fr 1fr;
}

.shade-master button {
  color: var(--cyan);
}

.shade-card {
  margin: 10px 0;
}

.shade-heading {
  grid-template-columns: 1fr auto;
}

.shade-controls {
  height: 53px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid #ededf1;
}

.shade-controls button {
  display: grid;
  place-items: center;
  border-right: 1px solid #ededf1;
  background: #fff;
  color: #29292f;
  font-size: 11px;
  font-weight: 700;
}

.source-screen {
  background: #fff;
}

.source-top {
  height: 80px;
  padding: 7px 16px;
}

.source-top button {
  width: 28px;
  height: 28px;
  margin: 0 0 5px -5px;
  display: grid;
  place-items: center;
  background: transparent;
}

.source-list {
  border-top: 1px solid #ececf1;
}

.source-list > button {
  width: 100%;
  height: 76px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 45px 1fr;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #ececf1;
  background: #fff;
  color: #23232d;
  text-align: left;
}

.source-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
}

.source-list strong,
.source-list small {
  display: block;
}

.source-list strong {
  font-size: 14px;
}

.source-list small {
  margin-top: 2px;
  color: #8b8b92;
  font-size: 11px;
}

.music-scroll {
  padding: 14px 21px 30px;
}

.now-playing-art {
  aspect-ratio: 1;
  border-radius: 28px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.28), transparent 12%),
    radial-gradient(circle at 25% 22%, #f95b92, transparent 33%),
    radial-gradient(circle at 74% 70%, #542db5, transparent 42%),
    linear-gradient(135deg, #101647, #091023 58%, #1d0a35);
  box-shadow: 0 18px 34px rgba(18, 13, 62, 0.27);
  color: #fff;
  letter-spacing: 0.19em;
}

.now-playing-art svg {
  align-self: center;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.85);
}

.now-playing-art > span {
  font-size: 12px;
  font-weight: 700;
}

.now-playing-art small {
  font-size: 9px;
}

.track-copy {
  margin-top: 18px;
  text-align: center;
}

.track-copy small {
  color: var(--pink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.track-copy h3 {
  margin: 5px 0 2px;
  font-size: 20px;
}

.track-copy p {
  margin: 0;
  color: #87878e;
  font-size: 12px;
}

.transport {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
}

.transport button {
  display: grid;
  place-items: center;
  background: transparent;
}

.transport .play-button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #242429;
  color: #fff;
}

.volume-control {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 8px;
}

.volume-control input {
  --load-color: #ff2d78;
  --value: 58%;
  height: 6px;
}

.where-playing,
.change-source {
  width: 100%;
  margin-top: 20px;
  border-radius: 17px;
  background: #fff;
}

.where-playing {
  height: 64px;
  padding: 0 14px;
  display: grid;
  grid-template-columns: 30px 1fr 24px;
  align-items: center;
  text-align: left;
}

.where-playing span {
  display: flex;
  flex-direction: column;
}

.where-playing small {
  color: #919197;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.where-playing strong {
  margin-top: 2px;
  font-size: 13px;
}

.change-source {
  height: 43px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 700;
}

.climate-overview-scroll {
  padding: 8px 9px 28px;
}

.climate-overview-scroll > h3 {
  margin: 10px 3px 6px;
  color: #65656c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.climate-overview-card {
  min-height: 83px;
  padding: 10px 11px;
  border-radius: 13px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 9px;
  background: #fff;
  cursor: pointer;
}

.overview-temp-ring {
  width: 43px;
  height: 43px;
  border: 2px solid #26bde7;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #28282e;
  font-size: 16px;
  font-weight: 700;
}

.overview-temp-ring.heat {
  border-color: #ff5b45;
}

.overview-temp-ring.off {
  border-color: #b9bac1;
}

.climate-overview-card > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.climate-overview-card > span:nth-child(2) strong {
  font-size: 12px;
}

.climate-overview-card > span:nth-child(2) small {
  color: #818189;
  font-size: 8px;
  font-weight: 700;
}

.overview-setpoint {
  display: grid;
  grid-template-columns: 26px 30px 26px;
  align-items: center;
}

.overview-setpoint button {
  width: 26px;
  height: 30px;
  display: grid;
  place-items: center;
  background: transparent;
}

.overview-setpoint small {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
}

.climate-scroll {
  padding: 10px 7px 30px;
}

.climate-scroll > h3 {
  padding-left: 5px;
}

.thermostat-card {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
}

.schedule-row {
  min-height: 52px;
  padding: 12px 17px 7px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.schedule-icon {
  font-size: 22px;
}

.schedule-row > span:last-child {
  display: flex;
  flex-direction: column;
}

.schedule-row strong {
  font-size: 12px;
}

.schedule-row small {
  color: #888890;
  font-size: 8px;
  font-weight: 700;
}

.thermostat-dial {
  position: relative;
  width: 178px;
  height: 178px;
  margin: 0 auto 8px;
  border: 3px solid transparent;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(
        from 208deg,
        #0cc9e8 0 30%,
        transparent 30% 54%,
        #f13161 54% 84%,
        transparent 84% 100%
      )
      border-box;
  box-shadow: 0 8px 30px rgba(20, 25, 50, 0.06);
}

.thermostat-dial.heat {
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from 208deg, #ff453a 0 72%, transparent 72%) border-box;
}

.thermostat-dial.cool {
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from 208deg, #00c5e9 0 72%, transparent 72%) border-box;
}

.thermostat-dial.off {
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from 208deg, #c9c9ce 0 72%, transparent 72%) border-box;
}

.thermostat-dial svg {
  margin-bottom: 2px;
  color: #ff2d55;
}

.thermostat-dial.cool svg {
  color: #00afd5;
}

.thermostat-dial.off svg {
  color: #85858b;
}

.thermostat-dial > strong {
  font-size: 55px;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.thermostat-dial > small {
  margin-top: 8px;
  color: #ff2d55;
  font-size: 10px;
  font-weight: 800;
}

.thermostat-dial.cool > small {
  color: #00afd5;
}

.thermostat-dial.off > small {
  color: #85858b;
}

.dial-marker {
  position: absolute;
  left: 33px;
  top: -7px;
  width: 22px;
  height: 22px;
  border: 3px solid #343a70;
  border-radius: 50%;
  background: #fff;
}

.dial-marker::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 16px;
  width: 3px;
  height: 18px;
  border-radius: 3px;
  background: #343a70;
  transform: rotate(-32deg);
  transform-origin: top;
}

.setpoint-control {
  height: 55px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  border-top: 1px solid #ededf1;
}

.setpoint-control button {
  height: 100%;
  display: grid;
  place-items: center;
  background: #fff;
}

.setpoint-control > span {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.setpoint-control strong {
  font-size: 14px;
}

.setpoint-control small {
  color: #8c8c92;
  font-size: 8px;
}

.climate-segments {
  height: 55px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #ededf1;
}

.climate-segments button {
  border-right: 1px solid #ededf1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.climate-segments strong {
  font-size: 11px;
}

.climate-segments small {
  color: #8b8b92;
  font-size: 8px;
}

.climate-mode-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.climate-mode-grid button {
  height: 67px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fff;
  color: #727278;
  font-size: 10px;
}

.climate-mode-grid button.selected {
  box-shadow: inset 0 0 0 2px #19bfe1;
  color: #00a7cd;
}

.climate-mode-grid button:nth-child(2).selected {
  box-shadow: inset 0 0 0 2px #ff5b4f;
  color: #ff453a;
}

.climate-info-card {
  min-height: 66px;
  margin-top: 12px;
  padding: 0 15px;
  border-radius: 17px;
  display: grid;
  grid-template-columns: 29px 1fr 42px;
  align-items: center;
  background: #fff;
}

.climate-info-card > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.climate-info-card strong {
  font-size: 12px;
}

.climate-info-card small {
  color: #8b8b92;
  font-size: 9px;
}

.fan-state {
  position: relative;
  width: 38px;
  height: 23px;
  border-radius: 20px;
  background: #dedee3;
}

.fan-state::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.fan-state.on {
  background: #00b8df;
}

.fan-state.on::after {
  transform: translateX(15px);
}

.apple-source {
  background: #0d0d10;
  font-size: 14px;
  font-weight: 700;
}

.roku-source {
  background: #6d2aa6;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}

.camera-source {
  background: #2778e8;
}

.video-scroll {
  padding: 12px 16px 30px;
}

.phone-video-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 21px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 22%, #6d74ff, transparent 32%),
    radial-gradient(circle at 78% 75%, #db3ea8, transparent 37%),
    linear-gradient(145deg, #061326, #20113a);
  color: #fff;
  box-shadow: 0 15px 30px rgba(12, 17, 48, 0.2);
}

.phone-video-preview.roku {
  background:
    radial-gradient(circle at 76% 26%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(145deg, #2e0b68, #7b38b2);
}

.phone-video-preview.front-door {
  align-items: stretch;
  justify-content: flex-start;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.02)),
    url("/front-door-camera.jpg") center / cover;
}

.phone-video-preview > small {
  font-size: 8px;
  letter-spacing: 0.23em;
}

.phone-video-preview > strong {
  margin: 6px 0;
  font-size: 34px;
}

.phone-video-preview > span:not(.camera-live) {
  font-size: 10px;
}

.camera-name {
  position: absolute;
  left: 13px;
  bottom: 11px;
  padding: 5px 7px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.54);
  font-size: 8px !important;
  letter-spacing: 0.13em;
}

.video-transport {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.video-transport button,
.remote-pad button {
  display: grid;
  place-items: center;
  background: transparent;
}

.remote-pad {
  position: relative;
  width: 178px;
  height: 178px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 7px 24px rgba(17, 18, 30, 0.09);
}

.remote-pad button {
  position: absolute;
  width: 48px;
  height: 48px;
}

.remote-pad button:nth-child(1) {
  left: 65px;
  top: 7px;
}

.remote-pad button:nth-child(2) {
  left: 7px;
  top: 65px;
}

.remote-pad button:nth-child(3) {
  left: 59px;
  top: 59px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f2f2f7;
  font-size: 11px;
  font-weight: 800;
}

.remote-pad button:nth-child(4) {
  right: 7px;
  top: 65px;
}

.remote-pad button:nth-child(5) {
  left: 65px;
  bottom: 7px;
}

.camera-actions {
  margin: 14px 0 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.camera-actions button {
  height: 75px;
  border-radius: 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #fff;
  font-size: 10px;
}

.video-power {
  width: 100%;
  height: 43px;
  margin-top: 8px;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #fff;
  color: #ff3b30;
  font-size: 12px;
  font-weight: 700;
}

.security-overview-scroll {
  padding: 8px 9px 28px;
}

.security-overview-tabs {
  height: 43px;
  margin-bottom: 10px;
  border-radius: 11px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: #fff;
}

.security-overview-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: #818188;
  font-size: 10px;
  font-weight: 700;
}

.security-overview-tabs button.selected {
  color: #ee2e78;
  box-shadow: inset 0 -2px #ee2e78;
}

.security-overview-scroll > h3 {
  margin: 10px 4px 6px;
  font-size: 14px;
}

.alarm-overview-card {
  width: 100%;
  min-height: 68px;
  padding: 10px 12px;
  border-radius: 13px;
  display: grid;
  grid-template-columns: 39px 1fr 20px;
  align-items: center;
  gap: 9px;
  background: #fff;
  text-align: left;
}

.alarm-overview-icon {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #edf8ef;
  color: #35b552;
}

.alarm-overview-icon.armed-away,
.alarm-overview-icon.armed-stay {
  background: #fff0f3;
  color: #ef3e72;
}

.alarm-overview-card > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.alarm-overview-card strong {
  font-size: 12px;
}

.alarm-overview-card small {
  color: #85858c;
  font-size: 8px;
  font-weight: 700;
}

.quick-secure-row {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.quick-secure-row button {
  min-height: 68px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fff;
  color: #ee2e78;
}

.quick-secure-row span {
  color: #38383e;
  font-size: 8px;
  font-weight: 700;
}

.access-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.access-overview-grid button {
  min-height: 67px;
  padding: 11px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  color: #ee2e78;
  text-align: left;
}

.access-overview-grid span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #33333a;
}

.access-overview-grid strong {
  font-size: 10px;
}

.access-overview-grid small {
  color: #35b552;
  font-size: 7px;
  font-weight: 800;
}

.camera-overview-card {
  position: relative;
  width: 100%;
  height: 112px;
  overflow: hidden;
  border-radius: 13px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.66), transparent 65%),
    url("/front-door-camera.jpg") center / cover;
  color: #fff;
  text-align: left;
}

.camera-overview-card span {
  padding: 11px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.camera-overview-card strong {
  font-size: 13px;
}

.camera-overview-card small {
  font-size: 7px;
  letter-spacing: 0.08em;
}

.security-header {
  height: 48px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
}

.security-header button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: transparent;
}

.security-header h2 {
  margin: 0;
  text-align: center;
  font-size: 15px;
}

.security-scroll {
  height: calc(100% - 82px);
  padding: 5px 7px 30px;
}

.security-kicker {
  margin: 4px 5px 8px;
  color: #8b89b4;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.partition-card {
  padding: 14px 13px 15px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(22, 22, 35, 0.18);
}

.partition-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.partition-heading > span {
  display: flex;
  flex-direction: column;
}

.partition-heading strong {
  font-size: 13px;
}

.partition-heading small {
  margin-top: 2px;
  color: #8a89af;
  font-size: 8px;
}

.alarm-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.alarm-actions button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  background: transparent;
}

.alarm-actions button > span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}

.arm-away {
  background: #f15e65;
}

.arm-stay {
  background: #ff9b25;
}

.disarm {
  background: #66d4c5;
}

.alarm-actions small {
  font-size: 8px;
  font-weight: 700;
}

.security-status-panel {
  height: 43px;
  margin: 11px 0;
  border-radius: 7px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  background: #e5e4f1;
}

.security-status-panel div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.security-status-panel i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e2d600;
}

.security-status-panel .ready-dot {
  background: #28da49;
}

.security-status-panel .armed-dot {
  background: #7e78db;
}

.security-status-panel span {
  font-size: 7px;
  font-weight: 700;
}

.security-scroll > h3 {
  margin: 12px 5px 7px;
  font-size: 14px;
}

.zone-list {
  overflow: hidden;
  border-radius: 7px;
  background: #fff;
}

.zone-list > div {
  min-height: 49px;
  padding: 0 9px;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  border-bottom: 1px solid #ededf2;
}

.zone-check {
  color: #32c9bb;
  font-size: 15px;
}

.zone-list strong,
.zone-list small {
  display: block;
}

.zone-list strong {
  font-size: 10px;
}

.zone-list small {
  color: #7e7e87;
  font-size: 7px;
}

.zone-list button {
  padding: 5px 8px;
  border-radius: 10px;
  background: #e5e4f1;
  font-size: 7px;
  font-weight: 700;
}

.security-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.security-keypad button {
  height: 38px;
  border-radius: 5px;
  background: #e8e7f2;
  font-size: 13px;
  font-weight: 700;
}

.pool-screen {
  background: #111114;
  color: #fff;
}

.pool-screen .ios-status {
  color: #fff;
}

.pool-screen .app-header {
  background: #111114;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.pool-screen .app-header p {
  color: #8d8d96;
}

.pool-screen .header-actions button {
  background: #29292e;
  color: #fff;
}

.pool-scroll {
  background: #111114;
}

.pool-summary {
  min-height: 112px;
  margin: 3px 0 13px;
  padding: 18px;
  border-radius: 15px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  background:
    radial-gradient(circle at 80% 20%, rgba(74, 225, 237, 0.5), transparent 28%),
    linear-gradient(145deg, #087d9a, #043047);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.14);
}

.pool-summary span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pool-summary strong {
  font-size: 21px;
}

.pool-summary small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
}

.pool-screen .screen-scroll > h3 {
  color: #fff;
}

.pool-screen .scene-card {
  background: #252529;
  color: #fff;
}

.pool-screen .scene-card.active {
  box-shadow: inset 0 0 0 2px #08bfd6;
  color: #fff;
}

.pool-temperature-grid {
  display: grid;
  gap: 8px;
}

.pool-temperature-grid > div {
  padding: 12px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  background: #242428;
}

.pool-temperature-grid span {
  display: flex;
  flex-direction: column;
}

.pool-temperature-grid strong {
  font-size: 20px;
}

.pool-temperature-grid small,
.pool-toggle-row small {
  color: #97979e;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pool-temperature-grid input {
  grid-column: 1 / -1;
}

.pool-toggle-row {
  min-height: 51px;
  margin-bottom: 7px;
  padding: 9px 12px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #242428;
}

.pool-toggle-row > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pool-toggle-row strong {
  font-size: 12px;
}

.aqua-toggle.on {
  background: #09bed4;
}

.stage-footnote {
  position: absolute;
  z-index: 6;
  left: clamp(34px, 6vw, 90px);
  bottom: 31px;
  display: flex;
  gap: 28px;
  color: rgba(255, 255, 255, 0.43);
  font-size: 9px;
  letter-spacing: 0.22em;
}

@media (max-width: 1050px) {
  .stage-copy {
    width: 36vw;
  }

  .stage-copy h1 {
    font-size: 64px;
  }

  .device-wrap {
    right: 28px;
  }

  .device-prompt {
    display: none;
  }
}

@media (max-width: 780px) {
  .site-header {
    height: 70px;
    padding: 0 20px;
  }

  .site-header::before {
    height: 160px;
    left: 55px;
    opacity: 0.05;
    width: 160px;
  }

  .header-label {
    display: none;
  }

  .experience-stage {
    min-height: 1120px;
    padding-top: 1px;
  }

  .room-image {
    transform-origin: 50% 38%;
  }

  .room-image::before {
    background:
      linear-gradient(180deg, rgba(2, 4, 6, 0.55), rgba(2, 4, 6, 0.05) 38%, rgba(2, 4, 6, 0.3)),
      linear-gradient(90deg, rgba(2, 4, 6, 0.35), transparent 75%);
  }

  .stage-copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    margin: 62px 24px 0;
    transform: none;
  }

  .stage-copy.video-on,
  .stage-copy.control-active {
    position: absolute;
    left: 20px;
    bottom: auto;
    top: 350px;
    margin: 0;
  }

  .stage-copy h1 {
    font-size: clamp(52px, 15vw, 76px);
  }

  .stage-description {
    max-width: 310px;
    margin-top: 20px;
  }

  .device-wrap {
    top: 405px;
    right: 50%;
    transform: translateX(50%);
  }

  .device {
    width: min(332px, calc(100vw - 36px));
  }

  .stage-footnote {
    display: none;
  }

}

@media (max-height: 790px) and (min-width: 781px) {
  .device {
    width: 300px;
    height: 650px;
    border-radius: 38px;
  }

  .device-wrap {
    right: 36px;
  }

  .stage-copy h1 {
    font-size: 74px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
