@font-face {
  font-family: "Inter Display";
  src: url("fonts/InterDisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display Regular";
  src: url("fonts/SFProDisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display Medium";
  src: url("fonts/SFProDisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #000;
  --muted: rgba(0, 0, 0, 0.54);
  --line: #dedede;
  --stage: #eee;
  --side: 40px;
  --section-space: 80px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: -0.025em;
}

img {
  display: block;
  max-width: 100%;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-underline-offset: 2px;
}

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.skip {
  position: fixed;
  z-index: 100;
  top: -48px;
  left: 12px;
  padding: 8px 12px;
  color: #fff;
  background: #000;
}

.skip:focus {
  top: 12px;
}

.section-inner {
  width: 100%;
  height: 100%;
  padding-inline: var(--side);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 70.4px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  pointer-events: none;
}

.site-header.is-visible {
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
}

.site-header a {
  color: #000;
  font-family: "Inter Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.0225em;
  text-decoration: none;
}

.site-header a:hover,
.site-header a:focus-visible {
  text-decoration: underline;
}

.site-name {
  letter-spacing: -0.0274em;
}

.hero .section-inner,
.proof .section-inner,
.motion .section-inner,
.split .section-inner,
.extensions .section-inner,
.fundamentals .section-inner,
.testimonial .section-inner {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.hero .section-inner {
  padding-top: 120px;
}

.project {
  min-height: calc(100svh - 70.4px);
}

.hero-copy {
  margin-bottom: 40px;
}

h1 {
  width: min(848px, 100%);
  margin: 0;
  font-family: "SF Pro Display Regular", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 47.5px;
  letter-spacing: -0.76px;
}

h1 .hero-muted {
  display: block;
  color: var(--muted);
}

h1 .word {
  display: inline-block;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy h1:not(.is-ready),
  .hero-stage:not(.is-ready) {
    visibility: hidden;
  }
}

.media-stage {
  position: relative;
  overflow: hidden;
  background: var(--stage);
}

.hero-stage {
  width: 100%;
  aspect-ratio: 3.27 / 1;
  background: #e0e0e0;
}

.hero-loop {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.slot {
  position: absolute;
}

.slot-tl {
  z-index: 3;
  top: 11%;
  left: 3.2%;
  width: 12.4%;
  aspect-ratio: 1;
}

.slot-bl {
  z-index: 1;
  top: 34%;
  left: 2%;
  width: 26%;
  height: 80%;
}

.slot-c {
  z-index: 4;
  top: 7%;
  left: 20.5%;
  width: 20%;
  height: 88%;
}

.slot-c2 {
  z-index: 5;
  top: 48%;
  left: 32.2%;
  width: 13.6%;
  height: 64%;
}

.slot-right {
  z-index: 2;
  top: 30px;
  left: 46.8%;
  width: 51.6%;
  bottom: -48px;
}

.card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  border-radius: 16px;
  background: transparent;
}

.card.is-shown {
  opacity: 1;
  visibility: visible;
}

.card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  -webkit-user-drag: none;
  user-select: none;
}

.card-screen {
  border-radius: 12px 12px 0 0;
}

.screen-scroll {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.card-screen[data-long="true"] .screen-scroll {
  height: calc(100% + 80px);
}

.card-screen[data-long="true"] img {
  object-fit: cover;
  object-position: center top;
}

.hero-stage .media-control {
  z-index: 4;
}

.reel,
.card,
.screen-scroll {
  transition: none;
}

.media-control {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  grid-auto-flow: column;
  width: 48px;
  height: 48px;
  place-content: center;
  gap: 3px;
  border-radius: 50%;
  background: #000;
}

.media-control span {
  display: block;
  width: 2px;
  height: 12px;
  background: #fff;
}

.media-control.is-play span {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #fff;
  background: transparent;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: -0.015em;
}

.section-intro h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-intro p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.usecase .section-intro {
  max-width: 848px;
}

#rp-bess .section-intro,
#sv-accounts-c .section-intro {
  max-width: none;
}

#rp-bess .section-intro h2,
#sv-accounts-c .section-intro h2 {
  white-space: nowrap;
}

#rp-bess .section-intro p,
#sv-accounts-c .section-intro p {
  max-width: 848px;
}

.usecase .section-intro h2,
.usecase .section-intro p {
  font-family: "SF Pro Display Regular", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 47.5px;
  letter-spacing: -0.76px;
}

.proof-stage {
  width: 100%;
  margin-top: 40px;
  aspect-ratio: 16 / 9;
}

.stage-caption {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.34;
  letter-spacing: -0.015em;
}

.stage-caption p {
  margin: 0;
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
}

.text-link::after {
  content: "→";
  display: inline-block;
  margin-left: 2px;
  text-decoration: none;
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(3px);
}

.motion-grid {
  display: grid;
  grid-template-columns: 452px minmax(0, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.feature-card img,
.feature-card video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.usecase-stage img,
.usecase-stage video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-stage.is-pending,
.card-pending {
  display: grid;
  place-items: center;
  background: var(--stage);
}

.card-pending {
  aspect-ratio: 1.5 / 1;
}

.stage-pending {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: -0.015em;
}

.feature-card h3 {
  margin: 6px 0 1px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.feature-card p {
  max-width: 450px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.motion-grid .feature-card:last-child p {
  max-width: 630px;
}

.split .section-intro {
  max-width: none;
}

.split .section-intro h2,
.split .section-intro p {
  font-size: 30px;
}

.split .section-intro h2 {
  white-space: nowrap;
}

.split .section-intro p {
  max-width: 781px;
}

.nowrap {
  white-space: nowrap;
}

.split-grid {
  display: grid;
  grid-template-columns: 781px 383px;
  gap: 16px;
  margin-top: 40px;
  align-items: start;
}

.split-media {
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  background: var(--stage);
}

.split-grid .feature-card h3,
.split-grid .feature-card p {
  font-size: 16px;
}

.split-grid .feature-card:first-child p {
  max-width: 650px;
}

.split-grid .feature-card:last-child p {
  max-width: 359px;
}

.three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  margin-top: 56px;
}

.extensions .feature-card:nth-child(1) img,
.extensions .feature-card:nth-child(3) img {
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
}

.extensions .feature-card:nth-child(2) img {
  aspect-ratio: 452 / 559;
  object-fit: cover;
}

.feature-card .text-link {
  margin-top: 14px;
}

.fundamentals .three-grid {
  margin-top: 56px;
}

.fundamentals .feature-card:nth-child(1) img,
.fundamentals .feature-card:nth-child(3) img {
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
}

.fundamentals .feature-card:nth-child(2) img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  align-items: center;
  gap: 40px;
}

figure {
  margin: 0;
  padding-left: 40px;
}

blockquote {
  margin: 0;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -0.045em;
}

figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
}

figcaption img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

figcaption strong,
figcaption small {
  display: block;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

figcaption small {
  color: var(--muted);
}

.stat {
  min-height: 224px;
  padding: 0 40px;
  border-left: 1px solid var(--line);
}

.stat-number {
  margin: -8px 0 30px;
  font-size: 88px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.065em;
}

.stat > p:not(.stat-number) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
}

.stat small {
  display: block;
  margin-top: 32px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: -0.01em;
}

.site-footer {
  display: flex;
  min-height: 105.4px;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: #fafafa;
  box-shadow: inset 0 1px var(--line);
}

.footer-contact {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 3px;
}

.footer-contact a {
  color: #000;
  font-family: "SF Pro Display Medium", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none;
}

.footer-contact a:first-child {
  color: #575768;
  text-decoration: underline;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: #000;
}

.copy-mail {
  cursor: copy;
  display: grid;
  place-items: center;
}

.copy-mail-idle,
.copy-mail-hover {
  grid-area: 1 / 1;
  transition: opacity 220ms ease, transform 220ms ease;
}

.copy-mail-hover {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

.copy-mail:hover .copy-mail-idle,
.copy-mail:focus-visible .copy-mail-idle {
  opacity: 0;
  transform: translateY(-6px);
}

.copy-mail:hover .copy-mail-hover,
.copy-mail:focus-visible .copy-mail-hover,
.copy-mail.is-copied .copy-mail-hover {
  opacity: 1;
  transform: none;
}

.copy-mail.is-copied .copy-mail-idle {
  opacity: 0;
  transform: translateY(-6px);
}

.reveal {
  will-change: transform, opacity;
}

@media (max-width: 1199px) {
  :root {
    --side: 24px;
    --section-space: 64px;
  }

  .motion-grid {
    grid-template-columns: 32% 1fr;
  }

  .split .section-intro h2,
  #rp-bess .section-intro h2,
  #sv-accounts-c .section-intro h2 {
    white-space: normal;
  }

  .split-grid {
    grid-template-columns: minmax(0, 1fr) 28%;
  }

  blockquote {
    font-size: 32px;
  }
}

@media (max-width: 760px) {
  .hero .section-inner {
    padding-top: 64px;
  }

  .site-header {
    height: 51px;
    padding: 16px 24px;
  }

  .site-header a {
    font-family: "SF Pro Display Medium", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0;
  }

  h1 {
    width: 100%;
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.04em;
  }

  .desktop-break {
    display: none;
  }

  .hero-stage {
    width: calc(100% + 48px);
    height: auto;
    margin-left: -24px;
    aspect-ratio: 3.27 / 1;
  }

  .section-intro h2,
  .section-intro p,
  .usecase .section-intro h2,
  .usecase .section-intro p {
    font-size: 25px;
    line-height: 1.12;
    letter-spacing: -0.04em;
  }

  .proof-stage {
    width: calc(100% + 48px);
    margin-left: -24px;
  }

  .project {
    min-height: 0;
  }

  .split .section-intro {
    max-width: none;
  }

  .motion-grid,
  .split-grid,
  .three-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .motion-grid,
  .split-grid,
  .three-grid {
    gap: 48px;
  }

  .split-grid .feature-card:last-child p {
    max-width: 450px;
  }

  .motion-grid .feature-card:last-child p {
    max-width: 450px;
  }

  .extensions .feature-card:nth-child(2) img,
  .fundamentals .feature-card:nth-child(2) img {
    aspect-ratio: auto;
  }

  .testimonial-grid {
    gap: 56px;
  }

  figure {
    padding-left: 0;
  }

  blockquote {
    font-size: 30px;
  }

  .stat {
    padding: 40px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .site-footer {
    min-height: 84.6px;
    padding: 24px;
  }

  .footer-contact a {
    font-size: 14px;
  }
}

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

  .reveal {
    will-change: auto;
  }
}
