:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --soft: #f5f5f7;
  --line: rgba(29, 29, 31, 0.12);
  --brand: #159f91;
  --brand-deep: #087b70;
  --coral: #e85f55;
  --white: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 54px;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(29, 29, 31, 0.06);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}

.nav-inner {
  width: min(1040px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 680;
}

.brand img {
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 7px;
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #424245;
  font-size: 12px;
}

.site-nav nav a,
.learn-more,
.policy-links a {
  transition: color 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  height: calc(100svh - 140px);
  min-height: 740px;
  max-height: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background: var(--white);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(760px, calc(100% - 40px));
  padding-top: 52px;
  text-align: center;
}

.hero-icon {
  width: 78px;
  height: 78px;
  display: block;
  margin: 0 auto 16px;
  border-radius: 18px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: 76px;
  line-height: 1.04;
  font-weight: 760;
}

.hero-line {
  margin: 18px 0 0;
  font-size: 28px;
  line-height: 1.34;
  font-weight: 620;
}

.hero-note {
  max-width: 620px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--brand-deep);
  font-size: 16px;
  font-weight: 600;
}

.hero-product {
  position: relative;
  flex: 1;
  width: min(1120px, 100%);
  min-height: 390px;
  margin-top: 24px;
}

.device,
.preview-device,
.gallery-device {
  margin: 0;
}

.device {
  position: absolute;
  bottom: -268px;
  width: 276px;
  overflow: hidden;
  border: 8px solid #111113;
  border-radius: 48px;
  background: var(--white);
  box-shadow: 0 38px 74px rgba(0, 0, 0, 0.18);
}

.device img,
.preview-device img,
.gallery-device img {
  width: 100%;
  height: auto;
  display: block;
}

.device-main {
  left: 50%;
  z-index: 2;
  width: 318px;
  bottom: -280px;
  transform: translateX(-50%);
}

.device-left {
  left: 14%;
  transform: rotate(-4deg);
}

.device-right {
  right: 14%;
  transform: rotate(4deg);
}

.section-band {
  padding: 116px max(24px, calc((100% - 1120px) / 2));
}

.section-intro {
  max-width: 840px;
}

.section-intro h2,
.privacy-copy h2 {
  margin: 0;
  font-size: 56px;
  line-height: 1.08;
  font-weight: 710;
}

.section-intro > p:last-child,
.privacy-copy > p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.62;
}

.experience {
  padding-top: 56px;
  background: var(--soft);
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 76px;
  align-items: center;
  margin-top: 64px;
}

.experience-copy {
  align-self: start;
  padding-top: 28px;
}

.segmented {
  width: fit-content;
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(29, 29, 31, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.segmented button {
  min-height: 42px;
  padding: 0 18px;
  color: var(--muted);
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.segmented button[aria-selected="true"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 5px 16px rgba(29, 29, 31, 0.11);
}

.segmented button:focus-visible,
.site-nav a:focus-visible,
.learn-more:focus-visible,
.policy-links a:focus-visible {
  outline: 3px solid rgba(21, 159, 145, 0.35);
  outline-offset: 3px;
}

.experience-message {
  max-width: 480px;
  margin-top: 44px;
}

.experience-message h3 {
  margin: 0;
  font-size: 34px;
  line-height: 1.18;
  font-weight: 680;
}

.experience-message p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

.preview-stage {
  min-height: 720px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.preview-device {
  width: 350px;
  overflow: hidden;
  border: 9px solid #111113;
  border-radius: 54px;
  background: var(--white);
  box-shadow: 0 40px 86px rgba(0, 0, 0, 0.17);
}

.preview-device img {
  transition: opacity 160ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.preview-device img.is-switching {
  opacity: 0;
  transform: translateY(10px);
}

.principles {
  background: var(--white);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: 68px;
}

.principle-grid article {
  min-height: 264px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.step {
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 760;
}

.principle-grid h3 {
  margin: 42px 0 14px;
  font-size: 26px;
  font-weight: 680;
}

.principle-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.screens {
  color: var(--white);
  background: #101012;
}

.screens .kicker {
  color: #67d7cb;
}

.screens .section-intro > p:last-child {
  color: #a7a7ad;
}

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 68px;
}

.gallery-device {
  min-width: 0;
}

.gallery-device img {
  overflow: hidden;
  border: 6px solid #2d2d30;
  border-radius: 36px;
  background: var(--white);
}

.gallery-device figcaption {
  padding-top: 18px;
  color: #d2d2d7;
  font-size: 15px;
  text-align: center;
}

.privacy-promise {
  min-height: 640px;
  display: flex;
  align-items: center;
  background: #e9f6f4;
}

.privacy-copy {
  max-width: 900px;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 32px;
}

.policy-links a {
  color: var(--brand-deep);
  font-size: 17px;
  font-weight: 620;
}

footer {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  padding: 26px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal-pending.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.doc-shell {
  min-height: 100svh;
  background: var(--soft);
}

.doc-nav {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
}

.doc {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0 120px;
  line-height: 1.8;
}

.doc h1 {
  margin: 0 0 16px;
  font-size: 52px;
  line-height: 1.08;
}

.doc .updated {
  margin: 0 0 56px;
  color: var(--muted);
  font-size: 14px;
}

.doc h2 {
  margin: 48px 0 12px;
  font-size: 24px;
  line-height: 1.3;
}

.doc p,
.doc li {
  color: #424245;
  font-size: 17px;
  line-height: 1.82;
}

.doc ul {
  padding-left: 22px;
}

.doc a {
  color: var(--brand-deep);
}

@media (hover: hover) and (pointer: fine) {
  .site-nav nav a:hover,
  .learn-more:hover,
  .policy-links a:hover {
    color: var(--brand-deep);
  }
}

@media (max-width: 900px) {
  .device-left {
    left: 4%;
  }

  .device-right {
    right: 4%;
  }

  .experience-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .experience-copy {
    padding-top: 0;
  }

  .preview-stage {
    min-height: 680px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .principle-grid article {
    min-height: auto;
    padding-bottom: 30px;
  }

  .screen-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .nav-inner {
    width: calc(100% - 28px);
  }

  .site-nav nav {
    gap: 18px;
  }

  .site-nav nav a:nth-child(2) {
    display: none;
  }

  .hero {
    height: calc(100svh - 118px);
    min-height: 700px;
    max-height: 800px;
  }

  .hero-copy {
    width: calc(100% - 32px);
    padding-top: 36px;
  }

  .hero-icon {
    width: 62px;
    height: 62px;
    border-radius: 15px;
  }

  h1 {
    font-size: 52px;
  }

  .hero-line {
    font-size: 23px;
  }

  .hero-note {
    font-size: 15px;
  }

  .hero-product {
    min-height: 360px;
    margin-top: 18px;
  }

  .device {
    width: 210px;
    bottom: -178px;
    border-width: 6px;
    border-radius: 38px;
  }

  .device-main {
    width: 244px;
    bottom: -135px;
  }

  .device-left {
    left: -72px;
  }

  .device-right {
    right: -72px;
  }

  .section-band {
    padding: 82px 20px;
  }

  .experience {
    padding-top: 48px;
  }

  .section-intro h2,
  .privacy-copy h2 {
    font-size: 39px;
  }

  .section-intro > p:last-child,
  .privacy-copy > p {
    font-size: 17px;
  }

  .experience-layout,
  .principle-grid,
  .screen-gallery {
    margin-top: 48px;
  }

  .segmented {
    width: 100%;
  }

  .segmented button {
    flex: 1;
    min-width: 0;
    padding: 0 8px;
    font-size: 13px;
  }

  .experience-message h3 {
    font-size: 29px;
  }

  .preview-stage {
    min-height: 590px;
  }

  .preview-device {
    width: min(310px, 86vw);
    border-width: 7px;
    border-radius: 46px;
  }

  .screen-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .gallery-device img {
    border-width: 4px;
    border-radius: 25px;
  }

  .gallery-device figcaption {
    font-size: 13px;
  }

  .privacy-promise {
    min-height: 560px;
  }

  .doc {
    padding: 64px 0 96px;
  }

  .doc h1 {
    font-size: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal.reveal-pending {
    opacity: 1;
    transform: none;
  }
}
