* {
  box-sizing:border-box
}
:root {
  color-scheme:dark;
  --panel:#212328;
  --ink:#c4c6cd;
  --line:#484a50;
  --wash:rgba(22,25,31,.40);
  --button:#323439;
  --edge:#52545b;
  --glyph:#e8e9ec
}
:root[data-mode=light] {
  color-scheme:light;
  --panel:#f4f4f6;
  --ink:#565960;
  --line:#d1d2d7;
  --wash:rgba(246,246,248,.03);
  --button:#fafafb;
  --edge:#d5d6da;
  --glyph:#36383d
}
body {
  margin:0;
  color:var(--ink);
  font:16px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--panel)
}
.cover {
  display:grid;
  grid-template-columns:46.09375% 1fr;
  grid-template-areas:"photo panel";
  min-height:100vh;
  min-height:100svh
}
.panel {
  grid-area:panel;
  position:relative;
  background:var(--panel);
  min-height:320px;
  --inset:11.5942%
}
.identity {
  position:absolute;
  left:var(--inset);
  top:47.1%;
  transform:translateY(-50%);
  width:68.84%
}
.brand {
  margin:0
}
.brand img {
  display:block;
  width:100%;
  height:auto
}
:root[data-mode=dark] .light-logo,:root[data-mode=light] .dark-logo {
  display:none
}
.tagline {
  margin:20px 0 0;
  border-top:1px solid var(--line);
  padding-top:12px;
  font-size:clamp(12px,1.25vw,16px);
  font-weight:400;
  line-height:1.5;
  text-align:right
}
.photo {
  grid-area:photo;
  background-image:linear-gradient(var(--wash),var(--wash)),url("images/smart-home.webp");
  background-position:35% center;
  background-size:cover
}
button {
  position:fixed;
  right:clamp(18px,3.35vw,48px);
  top:21px;
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid var(--edge);
  background:var(--button);
  color:var(--glyph);
  display:grid;
  place-items:center;
  cursor:pointer
}
button svg {
  width:21px;
  height:21px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.6;
  stroke-linecap:round
}
button:focus-visible {
  outline:2px solid currentColor;
  outline-offset:3px
}
:root[data-mode=dark] .moon,:root[data-mode=light] .sun {
  display:none
}
@media(max-width:650px) and (orientation:portrait) {
  .cover {
    height:100vh;
    height:100svh;
    grid-template-columns:1fr;
    grid-template-rows:1fr 1fr;
    grid-template-areas:"photo" "panel"
  }
  .photo {
    grid-area:photo
  }
  .panel {
    grid-area:panel;
    --inset:8%;
    min-height:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:10px;
    padding:16px var(--inset) 54px
  }
  .identity {
    position:static;
    transform:none;
    width:100%
  }
  .tagline {
    font-size:clamp(12px,3.5vw,15px);
    margin-top:16px;
    padding-top:10px
  }
  button {
    top:16px;
    right:16px
  }
}
.copyright {
  position: absolute;
  right: clamp(18px, 3.35vw, 48px);
  bottom: max(20px, env(safe-area-inset-bottom));
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  opacity: .65;
  text-align: right;
}
@media (max-width: 650px) and (orientation: portrait) {
  .copyright {
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
  }
}
