/* Hardware chapter: fixed viewport; the parent page owns the scroll timeline. */
@font-face {
  font-family: EK;
  src: url("../../hero-assets/ek-notice-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Instrument;
  src: url("../../hero-assets/instrument-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  overflow: hidden;
}
html {
  overflow-anchor: none;
}
body {
  margin: 0;
  color: #151515;
  font-family: Instrument, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button {
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible {
  outline: 2px solid #8275d8;
  outline-offset: 4px;
}
.features {
  position: relative;
  height: 100svh;
  background: #fff;
}
.feature-pin {
  position: relative;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

/* Three everyday moments settle around the centered voice introduction. */
.feature-heading {
  position: absolute;
  inset: 0;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  text-align: center;
}
.feature-intro-stage {
  position: absolute;
  width: 1440px;
  height: 736px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(var(--intro-scale, 1));
  transform-origin: center;
}
.intro-copy {
  position: absolute;
  left: 333px;
  top: 250px;
  width: 774px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 2;
}
.intro-text {
  width: 774px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19.2px;
  transform-origin: center;
}
.feature-heading h1 {
  width: 1593.6px;
  margin: 0;
  font: 700 52.8px/53px EK, Instrument, sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
  color: #151515;
}
.feature-heading h1 .focus-word {
  display: inline-block;
  transform: translate3d(calc(var(--word-index) * var(--focus-spread, 0px)),0,0);
}
.feature-heading p {
  width: 864px;
  margin: 0;
  font-size: 26.4px;
  line-height: 34px;
  font-weight: 500;
  font-feature-settings: "ss01" 1;
  color: #6c6b66;
  opacity: var(--subtitle-focus, 1);
  white-space: nowrap;
}
.intro-wave {
  height: 68.85px;
  display: flex;
  align-items: center;
  gap: 6.3px;
}
.intro-wave span {
  display: block;
  flex: 0 0 var(--bar-w);
  width: var(--bar-w);
  height: var(--bar-h);
  border-radius: 3.24px;
  background: linear-gradient(#7781e5, #7159ff);
  transform-origin: center;
  animation: voice-wave 1.12s ease-in-out var(--wave-delay) infinite;
  animation-play-state: paused;
}
.features[data-voice-active="true"] .intro-wave span { animation-play-state: running; }
@keyframes voice-wave {
  0%, 100% { transform: scaleY(.48); }
  28% { transform: scaleY(1); }
  55% { transform: scaleY(.66); }
  78% { transform: scaleY(.9); }
}
.intro-photo-track {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}
.intro-photo {
  position: absolute;
  top: 0;
  margin: 0;
  overflow: hidden;
  background: #d9d9d9;
  isolation: isolate;
  will-change: transform, opacity;
}
.intro-photo img { position: absolute; display: block; max-width: none; }
.intro-photo-wall { left: 61.875px; top: 166.7251px; width: 257.25px; height: 263.55px; border-radius: 36.389px; }
.intro-photo-wall img { width: 170.55%; height: 111.04%; left: -35.48%; top: -.08%; }
.intro-photo-desk { left: 757px; top: 494px; width: 336px; height: 214px; border-radius: 33.44px; }
.intro-desk-underlay { width: 136.76%; height: 130.82%; left: -12.99%; top: -22.65%; }
.intro-desk-photo { width: 107.44%; height: 112.52%; left: -6.28%; top: -.24%; }
.intro-photo-child { left: 1032.7764px; top: 97.0986px; width: 277.4475px; height: 192.8025px; border-radius: 30.096px; }
.intro-photo-child img { width: 122.02%; height: 127%; left: -21.94%; top: -4.56%; }
@media (prefers-reduced-motion: reduce) {
  .intro-wave span { animation: none; }
  .intro-photo { will-change: auto; }
}

/* Three actual product poses share a four-corner screen projection. */
.device-world {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  z-index: 5;
  perspective: calc(1800px * var(--layout-scale, 1));
  perspective-origin: 50% 40%;
  touch-action: pan-y pinch-zoom;
}
.device-card {
  position: absolute;
  left: 50%;
  top: 0;
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  isolation: isolate;
  transform-origin: 50% 50%;
  will-change: transform;
  opacity: 0;
  visibility: hidden;
}
.device-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  left: var(--contact-x);
  top: var(--contact-y);
  width: var(--contact-span);
  height: 3.2%;
  transform: translate(-50%, -50%) rotate(var(--contact-angle));
  background:
    radial-gradient(ellipse 48% 16% at center, rgb(12 10 12 / .31), rgb(12 10 12 / .15) 64%, transparent),
    radial-gradient(ellipse closest-side at center, rgb(16 13 16 / .23), rgb(16 13 16 / .13) 54%, transparent);
}
.hardware-image {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hardware-pose {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
  backface-visibility: hidden;
}
.device-card.is-turning .hardware-pose {
  mix-blend-mode: plus-lighter;
}
.screen-warp {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  background: #fcfbf6;
  backface-visibility: hidden;
}
.screen-warp img,
.screen-warp video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  pointer-events: none;
}
.screen-warp video {
  object-fit: contain;
  background: #fcfbf6;
  opacity: 0;
  transition: opacity 0.24s;
}
.screen-warp video.is-playing {
  opacity: 1;
}
.screen-warp::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(132deg, #fff2, transparent 43%, #a1a0ab08);
  box-shadow: inset 0 3px 12px #8a837d13;
}

/* The controls share the fixed viewport with the devices. */
.features .feature-nav {
  position: absolute;
  inset: 0;
  display: block;
  inline-size: 100%;
  z-index: 20;
  isolation: isolate;
  will-change: transform, opacity;
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
}
.features .feature-dock,
.features .feature-description,
.features .feature-caption {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  pointer-events: none;
}
.features[data-interactive="true"] .feature-dock,
.features[data-interactive="true"] .feature-caption {
  pointer-events: auto;
}
.features .feature-description {
  width: min(calc(900px * var(--layout-scale, 1)), calc(100% - 40px));
  margin: 0;
  display: grid;
  align-items: center;
  text-align: center;
  font: 400 clamp(16px, 1.32vw, 22px)/1.4 Instrument, Arial, sans-serif;
  color: var(--page-muted, #6c6b66);
  text-wrap: balance;
}
/* The waveform shares the voice copy's color and has its own small listening beat. */
.features .feature-caption {
  inline-size: min(calc(660px * var(--layout-scale, 1)), calc(100% - 48px));
  color: rgba(35, 32, 43, 0.84);
  padding-top: 38px;
  will-change: transform, opacity;
}
.caption-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 53px;
  height: 28px;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  color: inherit;
  pointer-events: none;
}
.caption-wave > span {
  width: 4px;
  height: var(--bar-h);
  border-radius: 3px;
  background: currentColor;
  transform-origin: center;
  animation: prompt-voice-wave 1.15s ease-in-out var(--wave-delay) infinite;
  animation-play-state: paused;
}
.features[data-prompt-voice-active="true"] .caption-wave > span { animation-play-state: running; }
@keyframes prompt-voice-wave {
  0%, 100% { transform: scaleY(.5); }
  30% { transform: scaleY(1); }
  60% { transform: scaleY(.38); }
  82% { transform: scaleY(.72); }
}
.features[data-wave-position="inline"] .caption-wave {
  position: static;
  transform: none;
  flex: 0 0 53px;
}
.features[data-wave-position="inline"] .caption-bubble {
  display: flex;
  justify-content: center;
  gap: 18px;
}
.features[data-wave-position="inline"] .caption-copy { text-align: left; }
.features .caption-bubble {
  position: relative;
  width: 100%;
  max-inline-size: none;
  margin: 0;
  padding: max(16px, calc(18px * var(--layout-scale, 1)))
    max(24px, calc(28px * var(--layout-scale, 1)));
  font-family: Instrument, Arial, sans-serif;
  font-size: max(16px, calc(16px * var(--layout-scale, 1)));
  line-height: 1.45;
  font-weight: 400;
  font-feature-settings: "ss01" 1;
  color: inherit;
  min-height: calc(80px * var(--layout-scale, 1));
  display: grid;
  place-items: center;
  text-align: center;
  text-wrap: pretty;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.56);
  border-radius: max(24px, calc(30px * var(--layout-scale, 1)));
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.56),
    rgba(245, 244, 250, 0.3)
  );
  -webkit-backdrop-filter: blur(28px) saturate(115%);
  backdrop-filter: blur(28px) saturate(115%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(150, 143, 168, 0.06),
    0 18px 40px -24px rgba(67, 58, 91, 0.22),
    0 2px 4px -3px rgba(67, 58, 91, 0.14);
}
.features .caption-bubble::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom-color: transparent;
  border-radius: inherit;
  pointer-events: none;
}
.feature-caption .caption-word {
  display: inline-block;
  white-space: nowrap;
}
.feature-caption .caption-char {
  display: inline-block;
  opacity: 0;
  filter: blur(3px);
  transform: translateY(3px);
  transition:
    opacity 0.16s ease-out,
    filter 0.16s ease-out,
    transform 0.16s ease-out;
}
.feature-caption .caption-char.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}
@media (max-width: 650px) {
  .feature-heading {
    padding: 0 15px;
  }
  .feature-heading h1 {
    font-size: 30px;
    line-height: 1.1;
    white-space: normal;
  }
  .feature-heading p {
    font-size: 14px;
    line-height: 1.45;
    max-width: 300px;
    margin: 16px auto 0;
  }
  .features .feature-description {
    font-size: 14px;
  }
  .features .feature-caption {
    inline-size: min(360px, calc(100% - 36px));
  }
  .features .caption-bubble {
    font-size: 14px;
    line-height: 1.5;
    min-height: 42px;
    padding: 14px 18px;
    border-radius: 24px;
  }
  .features[data-wave-position="inline"] .caption-bubble { gap: 12px; }
  .features[data-wave-position="inline"] .caption-wave { flex-basis: 43px; width: 43px; gap: 2px; }
}
@media (max-width: 370px) {
  .feature-heading h1 {
    font-size: 27px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .feature-heading,
  .device-card,
  .features .feature-nav {
    will-change: auto;
  }
  .screen-warp video,
  .features .feature-tab,
  .features .tab-icon,
  .features .feature-caption {
    transition: none;
  }
  .feature-caption .caption-char {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
  .caption-wave > span { animation: none; }
}
