.home {
  --page: min(100% - 104px, 1320px);
  --ink: #14222c;
  --muted: #30444f;
  --accent: #213744;
  --line: #d2dad9;
  color: var(--ink);
  background: #fcfcf8;
  font-family: Inter, "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.home .site-header {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  border: 0;
  background: transparent;
}

.home .header-inner { min-height: 81px; }
.home .wordmark { font-size: clamp(1.45rem, 2.4vw, 2.05rem); font-weight: 790; }
.home .site-header nav a { color: var(--ink); font-size: .975rem; font-weight: 640; }
.home .site-header nav a:hover { text-underline-offset: .27em; }

.app-showcase { position: relative; }
.app-showcase.is-ready {
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}

.app-showcase.is-ready .carousel-track {
  display: flex;
  transform: translate3d(calc(var(--carousel-position, 1) * -100%), 0, 0);
  transition: transform 650ms cubic-bezier(.52, 0, .25, 1);
}

.app-showcase.is-jumping .carousel-track { transition: none; }

.app-slide {
  position: relative;
  isolation: isolate;
  flex: 0 0 100%;
  min-width: 0;
  align-content: center;
  overflow: hidden;
  background: var(--slide-surface);
}

.slide-wave {
  --slide-surface: #b9e6ff;
  --slide-shape: #d9f3ff;
  --image-surface: #61bff5;
}

.slide-remote {
  --slide-surface: #ffdab7;
  --slide-shape: #ffecd4;
  --image-surface: #bb926d;
}

.app-slide::before {
  position: absolute;
  z-index: -1;
  inset: auto;
  top: -32rem;
  left: -17rem;
  width: 61rem;
  height: 48rem;
  border: clamp(4rem, 10vw, 8rem) solid var(--slide-shape);
  border-radius: 50%;
  transform: rotate(-27deg);
  content: "";
  pointer-events: none;
}

.slide-inner {
  min-height: calc(100svh - 53px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 78px);
  padding-block: clamp(96px, 14svh, 138px) clamp(35px, 7svh, 70px);
}

.slide-copy h2 {
  font-size: clamp(3.2rem, 6.35vw, 6.55rem);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .98;
  text-wrap: balance;
}

.slide-remote .slide-copy h2 { font-size: clamp(2.75rem, 5.55vw, 5.6rem); }
.slide-copy p {
  max-width: 46ch;
  margin-block: 19px 27px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.55vw, 1.24rem);
  line-height: 1.52;
}

.slide-art {
  aspect-ratio: 1.28;
  max-height: 62svh;
  overflow: hidden;
  border-radius: 23px;
  background: var(--image-surface);
}

.slide-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slide-remote .slide-art img { object-position: 52% center; }

.app-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 9px 17px;
  border: 1px solid #798d50;
  border-radius: 9px;
  background: #e2f67e;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 745;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.app-link:hover { background: #effab9; }
.app-legal { display: flex; flex-wrap: wrap; gap: 7px 20px; margin-top: 13px; }
.app-legal a, .company-inner a { text-underline-offset: .24em; }
.app-legal a { color: var(--ink); font-size: .92rem; font-weight: 625; }

.app-metrics { display: flex; flex-wrap: wrap; gap: 14px 24px; margin: 34px 0 0; }
.app-metrics div { display: flex; flex-direction: column-reverse; gap: 4px; }
.app-metrics div + div { padding-left: 24px; border-left: 1px solid #3b6d8359; }
.app-metrics dt { font-size: .9rem; font-weight: 650; line-height: 1.35; }
.app-metrics dd { margin: 0; font-size: clamp(1.7rem, 3.15vw, 3.05rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; }

.showcase-company { border-bottom: 1px solid var(--line); background: #e2efe2; }
.company-inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 20px;
  padding-block: 10px;
  font-size: .9rem;
  font-weight: 610;
}
.company-inner a:first-child { text-decoration: none; }
.company-inner a:first-child:hover { text-decoration: underline; }
.company-inner a { overflow-wrap: anywhere; }

.visually-hidden, .motion-toggle:not(:focus-visible) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.motion-toggle:focus-visible {
  position: absolute;
  z-index: 3;
  top: 78px;
  left: 26px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 7px 10px;
  background: #f9fdf2;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.home .skip-link { background: #e2f67e; color: var(--ink); }
.home .support { background: #fffdf7; border-top: 0; }
.home .about, .home .site-footer { color: var(--ink); background: #e2efe2; }
.home .about p, .home .about h3, .home .about .text-link, .home .footer-inner,
.home .site-footer nav a, .home .site-footer nav a:hover { color: var(--ink); }
.home .site-footer { border-top-color: #c4d4c8; }
.home a:focus-visible, .home button:focus-visible, .home summary:focus-visible { outline-color: #244957; }

@media (max-width: 950px) {
  .home { --page: calc(100% - 60px); }
  .slide-inner { gap: 28px; }
  .slide-copy h2 { font-size: clamp(2.9rem, 6.5vw, 4.7rem); }
  .slide-remote .slide-copy h2 { font-size: clamp(2.5rem, 5.8vw, 4.1rem); }
  .slide-copy p { margin-block: 15px 20px; }
  .app-metrics { margin-top: 23px; }
}

@media (max-width: 700px) {
  .home { --page: min(100% - 36px, 535px); }
  .home .header-inner { min-height: 65px; gap: 12px; }
  .home .site-header nav { gap: clamp(10px, 3vw, 20px); }
  .home .site-header nav a { font-size: .9rem; }
  .app-slide::before { top: -25rem; left: -14rem; width: 40rem; height: 36rem; border-width: 5rem; }
  .slide-inner { grid-template-columns: 1fr; align-content: center; gap: 24px; padding-block: 84px 28px; }
  .slide-art { aspect-ratio: 1.4; max-height: none; border-radius: 16px; }
  .slide-copy p { font-size: 1rem; }
  .app-metrics { gap: 12px 17px; }
  .app-metrics div + div { padding-left: 17px; }
  .company-inner { font-size: .82rem; min-height: 48px; }
  .motion-toggle:focus-visible { top: 65px; left: 18px; }
}

@media (max-width: 375px) {
  .home { --page: calc(100% - 30px); }
  .home .wordmark { font-size: 1.3rem; }
  .remote-title-break { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .app-showcase.is-ready .carousel-track, .app-link { transition: none; }
}
