@font-face {
  font-family: DM;
  src: url(assets/sans.ttf);
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url(assets/medium.ttf);
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url(assets/semibold.ttf);
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url(assets/bold.ttf);
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #f7f7ff;
  --muted: #b7b8cb;
  --lav: #b6aaff;
  --line: #ffffff20;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #090a15;
  color: var(--ink);
  font:
    400 1rem/1.6 DM,
    sans-serif;
}
a,
button {
  color: inherit;
  text-decoration: none;
}
button,
summary {
  cursor: pointer;
}
button {
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
}
:focus-visible {
  outline: 3px solid #ffd3a4;
  outline-offset: 5px;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.symbols {
  position: absolute;
  width: 0;
  height: 0;
}
.skip {
  position: fixed;
  top: -100px;
  z-index: 10;
  background: #181831;
  padding: 12px;
}
.skip:focus {
  top: 8px;
}
.wrap {
  width: min(88%, 1280px);
  margin-inline: auto;
}
.bar,
footer,
nav,
.brand,
.primary,
.availability,
.eyebrow {
  display: flex;
  align-items: center;
}
.bar,
footer {
  justify-content: space-between;
}
.bar {
  height: 98px;
  position: relative;
  z-index: 4;
}
.brand {
  font-weight: 700;
  letter-spacing: -0.05em;
  font-size: 1.55rem;
  gap: 11px;
  white-space: nowrap;
}
.brand img,
.release img {
  width: 44px;
  border-radius: 25%;
  box-shadow: 0 0 0 1px #ffffff20;
}
nav {
  gap: clamp(22px, 3vw, 46px);
  font-size: 0.97rem;
  font-weight: 500;
  color: #e1e0ed;
}
nav a:hover,
footer a:hover,
.text:hover,
summary:hover {
  color: var(--lav);
}
.primary,
.availability {
  border-radius: 99px;
  justify-content: center;
  gap: 10px;
  transition:
    transform 0.25s,
    filter 0.25s;
  font-weight: 600;
}
.availability {
  background: #f6f5ff;
  color: #12121c;
  padding: 11px 21px;
  font-size: 0.93rem;
}
.availability svg {
  width: 18px;
}
.primary {
  background: #b7acff;
  color: #101128;
  padding: 16px 26px;
  box-shadow: 0 6px 35px #8a73ff20;
  font-size: 1.03rem;
}
.primary svg {
  width: 17px;
}
.primary:hover,
.availability:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}
.menu {
  display: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.08;
}
h2 {
  font-size: clamp(2.3rem, 4vw, 3.8rem);
}
em {
  font-style: normal;
  color: #c2b5ff;
}
.privacy {
  background: #151526;
}
.privacy .wrap {
  display: flex;
  align-items: center;
  gap: 25px;
  padding-block: 54px;
}
.privacy svg {
  width: 44px;
  height: 44px;
  color: var(--lav);
}
.privacy h2 {
  font-size: clamp(1.65rem, 2.4vw, 2.4rem);
  letter-spacing: -0.045em;
}
.privacy p,
.release p,
details p {
  color: var(--muted);
  margin-top: 12px;
}
.text {
  color: #c4b8ff;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.privacy a {
  margin-left: auto;
  white-space: nowrap;
}
.faq {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 8%;
  padding-block: 90px;
}
.faq .text {
  display: inline-block;
  margin-top: 24px;
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 0;
  font-size: 1.08rem;
  font-weight: 500;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "+";
  color: var(--lav);
  font-size: 1.45rem;
}
details[open] summary:after {
  content: "−";
}
details p {
  margin: 0 0 22px;
}
.safety {
  color: var(--muted);
  font-size: 0.91rem;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
footer {
  padding: 35px 0;
  gap: 25px;
}
footer small {
  margin-right: auto;
  color: var(--muted);
}
dialog::backdrop {
  background: #040511cd;
  backdrop-filter: blur(9px);
}
.release {
  width: min(92%, 480px);
  padding: 50px 36px;
  background: #18182e;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 26px;
  text-align: center;
}
.release h2 {
  font-size: 2.4rem;
  margin-top: 20px;
}
.release button {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 40px;
  height: 40px;
}
.release .text {
  display: inline-block;
  margin-top: 20px;
}
body:has(dialog[open]) {
  overflow: hidden;
}
@media (max-width: 1100px) {
  .bar {
    width: 90%;
  }
  .brand {
    font-size: 1.3rem;
  }
  .brand img {
    width: 36px;
  }
  nav {
    gap: 18px;
    font-size: 0.9rem;
  }
  .availability {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
}
@media (max-width: 760px) {
  .bar {
    height: 70px;
    gap: 8px;
  }
  .bar .availability {
    margin-left: auto;
  }
  .menu {
    display: grid;
    align-content: center;
    gap: 6px;
    width: 32px;
    height: 44px;
    justify-items: center;
  }
  .menu span {
    width: 22px;
    height: 1.5px;
    background: currentColor;
  }
  .menu[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }
  .menu[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }
  nav {
    display: none;
    position: absolute;
    top: 96%;
    width: 100%;
    background: #191a2b;
    padding: 12px 25px;
    border-radius: 20px;
    border: 1px solid var(--line);
    box-shadow: 0 18px 60px #09091b77;
  }
  nav.open {
    display: grid;
    gap: 0;
  }
  nav a {
    padding: 12px 0;
    font-size: 1rem;
  }
  .privacy .wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding-block: 38px;
  }
  .privacy a {
    margin-left: 0;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-block: 58px;
  }
  .faq .eyebrow {
    justify-content: flex-start;
  }
  footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }
  footer small {
    order: 3;
    width: 100%;
    text-align: center;
  }
  footer .brand {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 500px) {
  .brand {
    font-size: 1.2rem;
    gap: 7px;
  }
  .brand img {
    width: 34px;
  }
  .bar .availability {
    font-size: 0.74rem;
    padding: 8px 11px;
    gap: 5px;
  }
  .bar .availability svg {
    width: 15px;
  }
}
@media (max-width: 370px) {
  .bar {
    gap: 4px;
  }
  .brand {
    font-size: 1.07rem;
    gap: 5px;
  }
  .brand img {
    width: 29px;
  }
  .bar .availability {
    font-size: 0.69rem;
    padding: 7px;
  }
  .actions {
    gap: 12px;
  }
  .primary {
    padding: 12px 15px;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.bar {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 88%;
  max-width: none;
}
.hero {
  position: relative;
  isolation: isolate;
  height: 100svh;
  min-height: 620px;
  max-height: 1250px;
  overflow: hidden;
  background: #090a15;
  --edge: 6vw;
}
.film,
.shot,
.photo,
.shot:after,
.hero:after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero:after {
  z-index: 2;
  content: "";
  background: linear-gradient(
    #060713bb,
    transparent 20%,
    transparent 78%,
    #060712d9
  );
}
.shot {
  overflow: hidden;
  visibility: hidden;
  background: #080914;
  isolation: isolate;
}
.shot.active,
.shot.outgoing {
  visibility: visible;
}
.shot.active {
  z-index: 1;
}
.photo {
  background-position: center;
  background-size: cover;
}
.shot:after {
  content: "";
  background: linear-gradient(90deg, #080914ed, #080914a8 35%, transparent 65%);
  z-index: 0;
}
.stir .photo {
  background-image: url(assets/stirring.webp);
  background-position: 73% 42%;
}
.embrace .photo {
  background-image: url(assets/embrace.webp);
  background-position: 73% 44%;
}
.words {
  position: absolute;
  z-index: 3;
  left: var(--edge);
  top: 48%;
  transform: translateY(-50%);
  width: 49%;
}
.eyebrow {
  gap: 12px;
  font-size: clamp(0.75rem, 0.92vw, 1rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: #c5baff;
  margin-bottom: 26px;
}
.headline {
  font-size: min(5.36vw, 10.2vh, 108px);
  line-height: 1.04;
  letter-spacing: -0.066em;
  font-weight: 600;
}
.headline span {
  display: block;
}
.line {
  font-size: clamp(1.06rem, 1.45vw, 1.48rem);
  line-height: 1.52;
  max-width: 23em;
  color: #ecebf4;
  margin-top: 26px;
  text-wrap: pretty;
}
.handset {
  position: absolute;
  left: 62%;
  top: 51%;
  height: min(65%, 42vw);
  aspect-ratio: 1206/2622;
  transform: translate(-50%, -50%);
  z-index: 2;
  border-radius: 15% / 7%;
  background: #050611;
  box-shadow:
    0 0 0 5px #02030a,
    0 0 0 6px #9d96a8,
    0 0 0 8px #3a3843,
    0 0 0 9px #968f9f,
    0 16px 15px #0009,
    0 30px 55px #0009;
}
.handset img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  display: block;
}
.island {
  position: absolute;
  top: 1.35%;
  left: 35%;
  width: 30%;
  height: 4.2%;
  background: black;
  border-radius: 99px;
}
.shot canvas {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  width: 42%;
  height: 19%;
  left: 53%;
  top: 46%;
}
.stir .eyebrow,
.voice .eyebrow,
.embrace .eyebrow,
.embrace em {
  color: #ffcea4;
}
.stir .headline {
  font-size: min(13vw, 22vh);
  font-weight: 500;
  letter-spacing: -0.08em;
}
.stir small {
  font-size: 0.25em;
  letter-spacing: -0.04em;
  color: #ffcea4;
}
.stir .line {
  font-size: clamp(1.6rem, 3vw, 3.6rem);
  letter-spacing: -0.045em;
  margin-top: 10px;
}
.stir canvas {
  left: 0;
  top: 64%;
  width: 68%;
  height: 18%;
}
.detect .photo {
  background: radial-gradient(
    ellipse at 22% 47%,
    #18564e,
    #0e1d2c 36%,
    #070b19 74%
  );
}
.detect:after {
  display: none;
}
.detect .handset {
  left: 26%;
  height: auto;
  width: min(40vw, 76vh);
  top: 49%;
  transform: translate(-50%, -50%) rotate(-9deg);
}
.detect .handset:after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 43.8%;
  height: 13.9%;
  border-radius: 6% / 15%;
  box-shadow:
    0 0 0 2px #82f6d1,
    0 0 48px #48ffd165;
  background: linear-gradient(
    100deg,
    transparent 25%,
    #78ffce42,
    transparent 75%
  );
  background-size: 250% 100%;
  animation: sweep 1.5s linear infinite;
}
@keyframes sweep {
  from {
    background-position: 150% center;
  }
  to {
    background-position: -50% center;
  }
}
.detect .words {
  left: 54%;
  width: 41%;
}
.detect .eyebrow,
.detect em {
  color: #83e6cc;
}
.detect .headline {
  font-size: 5.6vw;
}
.detect canvas {
  left: 35%;
  top: 66%;
  width: 70%;
  height: 20%;
}
.voice .headline {
  font-size: min(6vw, 12vh, 124px);
  font-weight: 500;
  color: #ffe4c9;
}
.voice .headline span {
  display: inline-block;
}
.voice .handset > img {
  opacity: 0.48;
}
.sound-source {
  position: absolute;
  top: 65%;
  left: 83%;
  width: 64%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 3px solid #ffd4ae;
  box-shadow:
    0 0 45px #ffa56580,
    0 10px 24px #10071688;
}
.sound-source svg {
  position: absolute;
  width: 42%;
  height: 42%;
  right: -7%;
  bottom: 0;
  border-radius: 50%;
  background: #ffcf9f;
  color: #251527;
  padding: 5%;
}
.alert .photo {
  background:
    radial-gradient(ellipse at 75% 52%, #3e5184, transparent 53%),
    linear-gradient(140deg, #0b0b1c, #191736);
}
.alert .handset {
  left: 73%;
  height: min(66%, 49vw);
  top: 50%;
}
.alert-focus {
  position: absolute;
  left: 3.7%;
  top: 77.8%;
  width: 92.6%;
  height: 7.5%;
  background: url(assets/caregiver.webp) center 84.1% / 108% auto no-repeat;
  border-radius: 7% / 36%;
  box-shadow:
    0 0 0 1px #ffffff60,
    0 12px 32px #07091d88;
  transform: scale(1.55);
}
.embrace .headline {
  font-size: min(5.1vw, 9vh);
}
.actions {
  position: absolute;
  z-index: 3;
  bottom: 5.5%;
  left: var(--edge);
  right: var(--edge);
  display: flex;
  align-items: center;
  gap: 10px;
}
.actions .primary {
  margin-right: auto;
  padding: 15px 24px;
}
.story-toggle,
.restart {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #fff5;
  background: #10111c55;
  backdrop-filter: blur(12px);
}
.story-toggle:hover,
.restart:hover {
  background: #ffffff22;
}
.story-toggle svg {
  width: 16px;
}
.restart svg {
  width: 18px;
}
.hero:not(.running) *:after {
  animation-play-state: paused;
}
@media (max-width: 760px) {
  .hero {
    min-height: 700px;
    max-height: 1040px;
  }
  .bar {
    width: 90%;
  }
  .hero:after {
    background: linear-gradient(
      #060713b3,
      transparent 15%,
      transparent 82%,
      #060712f2
    );
  }
  .words,
  .detect .words {
    top: 14%;
    left: 5%;
    width: 90%;
    text-align: center;
    transform: none;
  }
  .eyebrow {
    justify-content: center;
    font-size: 0.68rem;
    margin-bottom: 16px;
  }
  .headline,
  .embrace .headline {
    font-size: min(10.3vw, 6.6svh);
  }
  .line {
    margin: 15px auto 0;
    font-size: 1rem;
    max-width: 23em;
    text-wrap: balance;
  }
  .stir .photo,
  .embrace .photo {
    top: 35%;
    background-position: 94% 60%;
    mask-image: linear-gradient(transparent, black 22%);
  }
  .shot:after {
    display: none;
  }
  .handset {
    box-shadow:
      0 0 0 3px black,
      0 0 0 4px #9993a3,
      0 0 0 5px #44404e,
      0 0 0 6px #948b9c,
      0 20px 32px #0009;
  }
  .stir .photo,
  .embrace .photo {
    top: 25%;
    background-position: 73% 42%;
  }
  .stir .headline {
    font-size: min(23vw, 12svh);
  }
  .stir .line {
    font-size: 1.55rem;
    margin-top: 0;
  }
  .stir canvas {
    top: 68%;
    width: 100%;
    height: 17%;
  }
  .detect .headline {
    font-size: 11vw;
  }
  .detect .handset {
    width: min(70vw, 39svh);
    top: 76%;
    left: 49%;
  }
  .detect .words {
    background: linear-gradient(#0b1624 75%, transparent);
    padding: 10px 0 44px;
    width: 100%;
    left: 0;
  }
  .detect canvas {
    top: 49%;
    left: 0;
    width: 100%;
    height: 25%;
  }
  .voice .headline {
    font-size: 11.5vw;
  }
  .alert .handset {
    top: 64%;
    left: 50%;
    height: 44%;
  }
  .alert-focus {
    transform: scale(1.5);
  }
  .actions {
    bottom: 3.5%;
  }
  .actions .primary {
    padding: 12px 17px;
    font-size: 0.9rem;
  }
  .story-toggle,
  .restart {
    width: 40px;
    height: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero *:after {
    animation: none;
  }
}
@media (max-width: 760px) {
  .detect .words {
    background: linear-gradient(
      #0b162400,
      #0b1624 28%,
      #0b1624 74%,
      transparent
    );
    padding: 42px 12px;
    top: calc(14% - 32px);
  }
}
@media (min-width: 761px) {
  .detect .handset {
    mask-image: linear-gradient(
      transparent 12%,
      black 31%,
      black 65%,
      transparent 88%
    );
  }
}

/* Keep the phone, dresser, floor and crib in one coordinate system.
   Only the whole room moves when the camera pushes in. */
.nursery {
  container-type: size;
}
.nursery:after {
  display: none;
}
.nursery .room {
  inset: 54% 0 auto auto;
  translate: 0 -50%;
  width: min(56cqw, 122cqh);
  aspect-ratio: 1;
  background: url(assets/across-room.webp) center / 100% auto no-repeat;
  mask-image:
    linear-gradient(90deg, transparent, black 14%),
    linear-gradient(transparent, black 12%, black 90%, transparent);
  mask-composite: intersect;
}
.nursery .handset {
  left: 24%;
  top: auto;
  bottom: 27%;
  width: 21%;
  height: auto;
  transform: translateX(-50%);
}
.nursery canvas {
  left: 32%;
  width: 50%;
  top: 45%;
  height: 19%;
  rotate: -7deg;
}
.opening canvas {
  opacity: 0.78;
}
@media (min-width: 761px) {
  .nursery .words {
    width: 42%;
  }
  .opening .headline {
    font-size: min(4.8vw, 10vh, 108px);
  }
  .voice .headline {
    font-size: min(5.5vw, 11vh, 120px);
  }
}
@container (aspect-ratio < 1.16) {
  .nursery .words {
    top: 13%;
    left: 5%;
    width: 90%;
    text-align: center;
    transform: none;
  }
  .nursery .eyebrow {
    justify-content: center;
    margin-bottom: 1.8cqh;
  }
  .nursery .headline {
    font-size: min(10.3cqw, 6.5cqh);
  }
  .nursery .line {
    margin: 1.8cqh auto 0;
    text-wrap: balance;
  }
  .nursery .room {
    inset: 68% auto auto 50%;
    translate: -50% -50%;
    width: min(108cqw, 76cqh);
    mask-image:
      linear-gradient(transparent 5%, black 29%, black 83%, transparent 96%),
      linear-gradient(90deg, transparent, black 9%, black 95%, transparent);
  }
}

@container (aspect-ratio < 0.57) {
  .nursery .room {
    top: 64%;
  }
}
