:root {
  color-scheme: light dark;
  --bg: #f2f2f7;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #111827;
  --muted: #667085;
  --faint: #8e8e93;
  --line: rgba(17, 24, 39, 0.08);
  --accent: #0ea5e9;
  --accent-strong: #0284c7;
  --shadow: 0 24px 70px rgba(20, 20, 40, 0.11);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.18), transparent 34rem),
    var(--bg);
}

a {
  color: inherit;
}

.page {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 24px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-header {
  padding: 8px 0 42px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0, 20, 40, 0.14);
}

.brand span {
  display: block;
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  border-radius: 999px;
  padding: 10px 12px;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.92fr);
  gap: 88px;
  align-items: center;
  min-height: calc(100vh - 122px);
  padding: 28px 0 72px;
}

.hero-copy {
  max-width: 620px;
}

h1 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(42px, 6.4vw, 72px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 850;
  text-wrap: balance;
}

.lead {
  max-width: 540px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.36;
}

.hero-media {
  position: relative;
  min-height: 560px;
  isolation: isolate;
}

.hero-media::before {
  position: absolute;
  inset: 9% 3% 12% 9%;
  z-index: -1;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.1);
  filter: blur(40px);
  content: "";
}

.hero-phone {
  position: absolute;
  display: block;
  width: 205px;
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
}

.hero-phone-main {
  right: 30%;
  top: 0;
  z-index: 3;
  width: 255px;
}

.hero-phone-stats {
  right: 0;
  top: 86px;
  z-index: 2;
}

.hero-phone-replay {
  left: -52px;
  bottom: 4px;
  z-index: 1;
  width: 215px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button,
.quiet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 13px;
  padding: 13px 17px;
  text-decoration: none;
  font-weight: 760;
}

.button {
  background: var(--accent);
  color: #ffffff;
}

.quiet-button {
  background: rgba(14, 165, 233, 0.1);
  color: var(--accent-strong);
}

.section-heading {
  margin-bottom: 30px;
}

.walkthrough {
  padding: 56px 0;
}

.carousel-frame {
  display: grid;
  grid-template-columns: minmax(96px, 1fr) minmax(0, 690px) minmax(96px, 1fr);
  gap: 0;
  align-items: stretch;
  width: 100%;
  margin: 0 auto;
}

.carousel-frame::before,
.carousel-frame::after {
  min-height: 100%;
  filter: blur(16px);
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
  content: "";
}

.carousel-frame::before {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(14, 165, 233, 0.05) 22%,
    rgba(14, 165, 233, 0.13) 58%,
    rgba(14, 165, 233, 0.22) 100%
  );
}

.carousel-frame::after {
  background: linear-gradient(
    90deg,
    rgba(14, 165, 233, 0.22) 0%,
    rgba(14, 165, 233, 0.13) 42%,
    rgba(14, 165, 233, 0.05) 78%,
    transparent 100%
  );
}

.product-carousel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-areas: "copy stage";
  grid-template-columns: minmax(0, 320px) 190px;
  justify-content: center;
  gap: 20px 46px;
  align-items: center;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.carousel-copy {
  grid-area: copy;
  align-self: center;
}

.carousel-kicker {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
}

.carousel-copy h2 {
  margin: 0;
  max-width: 310px;
  font-size: clamp(24px, 2.2vw, 31px);
  line-height: 1.04;
  letter-spacing: 0;
}

.carousel-copy p:not(.carousel-kicker) {
  margin: 10px 0 0;
  max-width: 300px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.42;
}

.carousel-stage {
  grid-area: stage;
  justify-self: center;
}

.carousel-stage img,
.carousel-stage video {
  display: block;
  width: 180px;
  max-width: 100%;
  border-radius: 26px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.15);
}

.carousel-stage video {
  background: #f2f2f7;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 22px;
}

.carousel-arrow,
.carousel-dots button {
  border: 0;
  cursor: pointer;
}

.carousel-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--accent-strong);
  font-size: 18px;
  font-weight: 800;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  padding: 0;
  background: rgba(102, 112, 133, 0.32);
}

.carousel-dots button.is-active {
  width: 24px;
  background: var(--accent);
}

.section {
  padding: 72px 0;
}

.section h2,
.legal h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-lead,
.legal .lead {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.feature-card,
.content-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  backdrop-filter: blur(18px);
}

.feature-card {
  min-height: 190px;
  padding: 20px;
}

.feature-card span {
  display: grid;
  place-items: center;
  min-width: 42px;
  width: fit-content;
  height: 42px;
  border-radius: 14px;
  margin-bottom: 28px;
  padding: 0 12px;
  background: rgba(14, 165, 233, 0.12);
  color: var(--accent-strong);
  font-size: 16px;
  font-weight: 800;
}

.feature-card h3,
.content-card h2,
.content-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.feature-card p,
.content-card p,
.content-card li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.feature-card p,
.content-card p {
  margin: 10px 0 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.6fr);
  gap: 24px;
  align-items: center;
}

.legal {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding-bottom: 44px;
}

.legal-nav {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 8px;
}

.legal-nav a {
  padding: 12px 14px;
  border-radius: 13px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 730;
}

.legal-nav a:hover,
.legal-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
}

.content-stack {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.content-card {
  padding: 24px;
}

.content-card ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.muted {
  color: var(--faint);
}

.site-footer {
  padding: 30px 4px 8px;
  color: var(--faint);
  font-size: 14px;
}

.site-footer a {
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero,
  .split,
  .legal,
  .product-carousel {
    grid-template-columns: 1fr;
  }

  .carousel-frame {
    display: block;
    width: min(690px, 100%);
  }

  .carousel-frame::before,
  .carousel-frame::after {
    display: none;
  }

  .product-carousel {
    grid-template-areas:
      "copy"
      "stage";
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 500px;
    width: min(620px, 100%);
    margin: 0 auto;
  }

  .hero-phone-main {
    left: 50%;
    right: auto;
    width: 235px;
    transform: translateX(-50%);
  }

  .hero-phone-stats {
    right: 7%;
    top: 84px;
    width: 185px;
  }

  .hero-phone-replay {
    left: 7%;
    bottom: 18px;
    width: 185px;
  }

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

  .legal-nav {
    display: none;
  }

  .carousel-copy,
  .carousel-stage {
    justify-self: center;
    text-align: center;
  }

  .carousel-controls {
    justify-content: space-between;
  }
}

@media (max-width: 620px) {
  .page {
    padding: 18px;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

  .section {
    padding: 50px 0;
  }

  .product-carousel {
    padding: 18px;
  }

  .hero-media {
    min-height: 430px;
  }

  .hero-phone {
    border-radius: 28px;
  }

  .hero-phone-main {
    left: 50%;
    right: auto;
    width: min(56vw, 220px);
    transform: translateX(-50%);
  }

  .hero-phone-stats {
    right: 0;
    top: 84px;
    width: min(39vw, 160px);
  }

  .hero-phone-replay {
    left: -8px;
    bottom: 18px;
    width: min(39vw, 160px);
  }

  .carousel-stage img,
  .carousel-stage video {
    width: 210px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101014;
    --surface: #1c1c1e;
    --surface-soft: #252529;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --faint: #8e8e93;
    --line: rgba(255, 255, 255, 0.09);
    --accent: #0a84ff;
    --accent-strong: #64d2ff;
    --shadow: none;
  }

  body {
    background:
      radial-gradient(circle at top left, rgba(10, 132, 255, 0.18), transparent 32rem),
      var(--bg);
  }

  .nav a:hover,
  .nav a[aria-current="page"],
  .legal-nav a:hover,
  .legal-nav a[aria-current="page"],
  .feature-card,
  .content-card,
  .product-carousel {
    background: rgba(28, 28, 30, 0.82);
  }

  .feature-card,
  .content-card,
  .product-carousel,
  .carousel-frame::before,
  .carousel-frame::after {
    box-shadow: none;
  }
}
