:root {
  color-scheme:dark;
  --bg:#071225;
  --panel:#101e39;
  --text:#f4f8ff;
  --muted:#afc0dc;
  --line:#263a58;
  --accent:#26c1df;
  --green:#78e7b0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:var(--bg);
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
  background:radial-gradient(ellipse at 75% 0, #112e46 0,transparent 40rem);
}
button,select {
  font:inherit;
}
button,a,select {
  -webkit-tap-highlight-color:transparent;
}
button {
  cursor:pointer;
}
button,select {
  min-height:44px;
}
button:focus-visible,a:focus-visible,select:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:4px;
}
button:disabled {
  cursor:default;
}
button {
  color:inherit;
}
a {
  color:inherit;
}
[hidden] {
  display:none!important;
}
.site-header,main,.site-footer {
  width:min(1300px,calc(100% - 64px));
  margin:auto;
}
.site-header {
  display:flex;
  align-items:center;
  gap:22px;
  padding:26px 0;
  border-bottom:1px solid var(--line);
}
.brand {
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}
.brand .wordmark {
  width:160px;
  height:auto;
}
.demo-label {
  display:flex;
  gap:8px;
  align-items:center;
  color:var(--muted);
  font-size:13px;
}
.demo-label>span {
  width:7px;
  height:7px;
  background:var(--green);
  border-radius:50%;
}
.site-header>.quiet-button {
  margin-left:auto;
}
.quiet-button,.primary-button,.view-button {
  border:1px solid var(--line);
  border-radius:10px;
  padding:10px 17px;
  background:var(--panel);
  font-weight:650;
}
.quiet-button:hover,.view-button:hover {
  background:#20334e;
}
.primary-button {
  background:#16a7c7;
  color:#02131e;
  border-color:#16a7c7;
}
.primary-button:hover {
  background:#4dd3e9;
}
.intro {
  padding:58px 0 32px;
  max-width:800px;
}
.eyebrow {
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:750;
  color:var(--accent);
}
h1 {
  font-size:clamp(34px,4.5vw,58px);
  line-height:1.08;
  letter-spacing:-.045em;
  margin:16px 0 22px;
  font-weight:720;
}
.lede {
  font-size:clamp(16px,1.6vw,21px);
  line-height:1.65;
  color:var(--muted);
  margin:0;
}
.simulation-note {
  font-size:13px;
  color:var(--muted);
  line-height:1.6;
  margin-top:20px;
}
.experience-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:14px 0 32px;
  padding-top:14px;
  scroll-margin-top:20px;
}
.view-switch {
  display:flex;
  gap:6px;
  padding:5px;
  border:1px solid var(--line);
  border-radius:14px;
}
.view-button {
  border-color:transparent;
  background:transparent;
  color:var(--muted);
}
.view-button[aria-pressed=true] {
  background:#eaf5fc;
  color:#11223a;
}
.page-selector {
  font-size:12px;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.page-selector select {
  padding:8px 30px 8px 10px;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--panel);
  color:var(--text);
  max-width:260px;
}
.demo-layout {
  display:grid;
  grid-template-columns:minmax(0, .9fr) minmax(0,1.2fr);
  gap:32px;
  align-items:start;
}
.guest-column,.home-column {
  min-width:0;
}
.home-column {
  position:sticky;
  top:24px;
}
.panel-caption {
  display:flex;
  gap:12px;
  align-items:center;
  margin-bottom:18px;
}
.panel-caption h2 {
  font-size:17px;
  margin:0 0 5px;
}
.panel-caption p {
  font-size:13px;
  color:var(--muted);
  line-height:1.5;
  margin:0;
}
.step-number {
  width:30px;
  height:30px;
  flex-shrink:0;
  border:1px solid var(--line);
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:13px;
  color:var(--muted);
}
iframe {
  display:block;
  width:100%;
  border:0;
  height:850px;
}
.guest-frame-wrap {
  position:relative;
  width:min(100%, 420px);
  aspect-ratio:420 / 860;
  margin:0 auto;
  padding:12px;
  border:2px solid #5b6062;
  border-radius:58px;
  background:linear-gradient(110deg,#343839,#080909 8%,#050505 92%,#303536);
  box-shadow:inset 0 0 0 2px #111314,inset 3px 0 5px #ffffff30,inset -3px 0 5px #ffffff1a,0 0 0 2px #151b1d,0 24px 55px #0007;
}
.phone-screen {
  height:100%;
  min-height:0;
  overflow:hidden;
  display:grid;
  grid-template-rows:54px 42px minmax(0,1fr) 26px;
  border-radius:44px;
  background:#1b1b1d;
}
.phone-screen #guest-frame {
  width:100%;
  height:100%;
  min-height:0;
  background:#0b1a35;
}
.phone-status {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:5px 23px 0;
  color:#f7f7f8;
}
.phone-time {
  font-size:14px;
  font-weight:650;
  letter-spacing:-.02em;
}
.phone-island {
  position:absolute;
  width:112px;
  height:31px;
  top:12px;
  left:50%;
  transform:translateX(-50%);
  border-radius:22px;
  background:#030303;
  box-shadow:inset 0 1px 2px #000;
}
.phone-island>span {
  position:absolute;
  right:12px;
  top:11px;
  width:9px;
  height:9px;
  border-radius:50%;
  background:radial-gradient(circle at 38% 36%,#254b7d,#0a1525 42%,#050608 65%);
}
.phone-indicators {
  display:flex;
  align-items:center;
  gap:6px;
}
.phone-battery {
  position:relative;
  width:22px;
  height:11px;
  border:1px solid #858587;
  border-radius:3px;
  box-shadow:inset -4px 0 #1b1b1d;
  background:#f7f7f8;
}
.phone-battery::after {
  content:"";
  position:absolute;
  width:2px;
  height:5px;
  top:2px;
  right:-4px;
  border-radius:0 2px 2px 0;
  background:#858587;
}
.phone-appbar {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border-bottom:1px solid #313338;
  color:#e2e3e5;
  font-size:14px;
  font-weight:500;
}
.phone-site-lock {
  position:relative;
  width:9px;
  height:8px;
  border-radius:2px;
  background:#afb4bc;
}
.phone-site-lock::before {
  content:"";
  position:absolute;
  width:7px;
  height:7px;
  border:1.5px solid #afb4bc;
  border-radius:6px 6px 0 0;
  top:-5px;
  left:1px;
}
.phone-home {
  display:grid;
  place-items:center;
  background:#111112;
}
.phone-home>span {
  width:105px;
  height:4px;
  border-radius:8px;
  background:#e6e6e8;
}
.phone-side-button {
  position:absolute;
  width:4px;
  border-radius:3px;
  background:linear-gradient(90deg,#131617,#747b7c,#24292b);
}
.phone-volume {
  left:-5px;
  top:21%;
  height:52px;
  box-shadow:0 66px 0 #454d50;
}
.phone-power {
  right:-5px;
  top:31%;
  height:76px;
}
.phone-hint {
  text-align:center;
  font-size:12px;
  color:var(--muted);
  line-height:1.5;
  margin:16px 0 0;
}
.home-card {
  color:#26383d;
  background:#f8f8f3;
  border-radius:20px;
  padding:24px;
  box-shadow:0 12px 40px #0002;
  color-scheme:light;
}
.home-card-heading {
  display:flex;
  gap:10px;
  align-items:start;
  justify-content:space-between;
}
.home-card h3 {
  font-size:19px;
  letter-spacing:-.025em;
  margin:6px 0 18px;
}
.home-card .eyebrow {
  color:#52756e;
  font-size:10px;
}
.sample-tag {
  font-size:10px;
  border:1px solid #cad7d2;
  border-radius:30px;
  padding:5px 8px;
  color:#4a6461;
  white-space:nowrap;
}
.floorplan {
  width:100%;
  height:auto;
  display:block;
  max-height:630px;
}
.floorplan text {
  font-family:inherit;
  fill:#4a5c5c;
}
.floorplan .room-name {
  font-size:14px;
  font-weight:600;
  letter-spacing:.04em;
}
.floorplan .room-hint {
  font-size:11px;
  fill:#627775;
}
.floorplan .wall {
  fill:none;
  stroke:#4d615e;
  stroke-width:5;
  stroke-linejoin:round;
  stroke-linecap:square;
}
.floorplan .thin {
  stroke:#849791;
  stroke-width:1.5;
  fill:none;
}
.floorplan .furniture {
  fill:#e7e9de;
  stroke:#b4beb3;
  stroke-width:1.5;
}
.floorplan .wood {
  fill:#ebe3d1;
}
.floorplan .window {
  stroke:#e4f5f5;
  stroke-width:6;
}
.floorplan .light-wash {
  fill:#ffd66b;
  opacity:0;
  transition:opacity .3s;
}
.floorplan .device circle {
  fill:#e5ebe7;
  stroke:#bbc9c2;
  stroke-width:1.5;
}
.floorplan .device use {
  stroke:#748b87;
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.floorplan .device.is-shared circle {
  fill:#e0f0ec;
  stroke:#6eaba0;
}
.floorplan .device.is-shared use {
  stroke:#287f76;
}
.floorplan .device.is-on circle {
  fill:#ffe7a4;
  stroke:#c49c35;
}
.floorplan .device.is-on use {
  stroke:#795609;
}
.floorplan .temperature rect {
  fill:#243b3c;
}
.floorplan .temperature text {
  fill:#f6fbfa;
  font-size:17px;
  font-weight:500;
}
.floorplan .climate rect { stroke:#778c8b; stroke-width:2; }
.floorplan .climate.is-shared[data-mode="cool"] rect { stroke:#78cfff; }
.floorplan .climate.is-shared[data-mode="heat"] rect { stroke:#ffbd76; }
.floorplan #climate-setting { font-size:12px; }
.floorplan .garage-door {
  transition:transform .4s;
  transform-origin:430px 474px;
}
.floorplan .garage-door.open {
  transform:translateY(-22px) scaleY(.25);
}
.floorplan-key {
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-top:12px;
  font-size:11px;
  color:#48625c;
}
.floorplan-key span {
  display:flex;
  align-items:center;
  gap:6px;
}
.key-dot {
  width:9px;
  height:9px;
  border:1px solid #9aacaa;
  background:#e5ebe7;
  border-radius:50%;
  display:inline-block;
}
.key-dot.shared {
  background:#287f76;
  border-color:#287f76;
}
.home-feedback {
  margin:18px 0 0;
  border-top:1px solid #d9e0d9;
  padding-top:16px;
  font-size:13px;
  line-height:1.5;
  color:#2c5751;
  min-height:38px;
}
.host-invitation {
  padding:22px 4px;
}
.host-invitation h3 {
  font-size:17px;
  margin:0 0 8px;
}
.host-invitation p {
  font-size:14px;
  line-height:1.6;
  color:var(--muted);
  margin:0;
}
.text-button {
  padding:12px 0;
  border:0;
  background:none;
  color:#6cdded;
  font-weight:600;
  font-size:14px;
  min-height:44px;
}
.text-button:hover {
  text-decoration:underline;
}
.host-heading {
  display:flex;
  gap:22px;
  justify-content:space-between;
  align-items:center;
}
.host-heading h2 {
  font-size:25px;
  letter-spacing:-.02em;
  margin:8px 0;
}
.host-heading p,.host-scope {
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
  max-width:780px;
}
.host-heading button {
  flex-shrink:0;
}
.host-scope {
  border-left:2px solid #488da5;
  padding-left:14px;
  margin:20px 0 28px;
}
#admin-frame {
  border:1px solid var(--line);
  border-radius:18px;
  min-height:600px;
}
.closing {
  border-top:1px solid var(--line);
  text-align:center;
  padding:48px 12px;
  margin-top:55px;
}
.closing h2 {
  font-size:25px;
  letter-spacing:-.025em;
}
.closing p {
  color:var(--muted);
  line-height:1.6;
}
.closing button {
  margin-top:10px;
}
.site-footer {
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:26px 0 34px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:12px;
  line-height:1.6;
}
.empty-state {
  padding:35px 24px;
  background:var(--panel);
  border-radius:16px;
}
.empty-state p {
  color:var(--muted);
  line-height:1.6;
}
.skip-link {
  position:absolute;
  left:20px;
  top:-100px;
  padding:12px;
  background:var(--text);
  color:var(--bg);
  z-index:10;
}
.skip-link:focus {
  top:10px;
}
dialog {
  width:min(440px,calc(100% - 32px));
  padding:26px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--panel);
  color:var(--text);
}
dialog::backdrop {
  background:#020815b8;
}
dialog h2 {
  margin-top:0;
}
dialog p {
  color:var(--muted);
  line-height:1.6;
}
.dialog-actions {
  display:flex;
  gap:10px;
  justify-content:flex-end;
  flex-wrap:wrap;
}
@media(min-width:1600px) {
  .home-column {
    position:static;
  }
}
@media(max-width:800px) {
  .site-header,main,.site-footer {
    width:calc(100% - 32px);
  }
  .site-header {
    gap:12px;
    flex-wrap:wrap;
    padding:18px 0;
  }
  .brand .wordmark {
    width:130px;
  }
  .demo-label {
    font-size:11px;
  }
  .intro {
    padding-top:34px;
  }
  .demo-layout {
    grid-template-columns:1fr;
    gap:28px;
  }
  .home-column {
    position:static;
  }
  .home-card {
    max-width:640px;
    margin:auto;
  }
  .host-heading {
    align-items:start;
    flex-direction:column;
  }
  .experience-toolbar {
    flex-wrap:wrap;
  }
  .page-selector {
    flex:1 1 100%;
  }
  .page-selector select {
    max-width:100%;
    flex:1;
    min-width:0;
  }
  .site-footer {
    flex-direction:column;
    gap:8px;
  }
  .closing {
    margin-top:24px;
  }
  .home-card-heading h3 {
    font-size:17px;
  }
}
@media(max-width:430px) {
  .guest-frame-wrap {
    padding:9px;
    border-radius:43px;
    aspect-ratio:390 / 820;
  }
  .phone-screen {
    border-radius:32px;
    grid-template-rows:46px 36px minmax(0,1fr) 23px;
  }
  .phone-status {
    padding:3px 17px 0;
  }
  .phone-island {
    width:86px;
    height:27px;
    top:9px;
  }
  .phone-island>span {
    top:9px;
    right:10px;
  }
  .phone-time {
    font-size:12px;
  }
  .phone-indicators {
    gap:4px;
  }
  .phone-indicators svg {
    width:28px;
  }
  .phone-battery {
    width:18px;
    height:10px;
  }
  .demo-label {
    display:none;
  }
  .site-header>.quiet-button {
    font-size:12px;
    padding:8px 10px;
  }
  .brand>img:first-child {
    width:30px;
    height:30px;
  }
  .brand .wordmark {
    width:115px;
  }
  .view-switch {
    width:100%;
  }
  .view-button {
    flex:1;
    font-size:13px;
    padding:10px 8px;
  }
  .home-card {
    padding:14px;
  }
  .sample-tag {
    display:none;
  }
  .floorplan .room-name {
    font-size:18px;
  }
  .floorplan .room-hint {
    display:none;
  }
  .floorplan .temperature text {
    font-size:22px;
  }
  .panel-caption p {
    font-size:12px;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior:auto!important;
    transition:none!important;
  }
}
