/* TypeUI data-contracts-enterprise tokens */
@font-face {
  font-family: Saira;
  src: url("assets/saira.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --neutral-primary: #ffffff;
  --neutral-primary-soft: #ffffff;
  --neutral-secondary-medium: #f9fafb;
  --brand: #1447e6;
  --brand-strong: #193cb8;
  --brand-medium: #bedbff;
  --brand-soft: #dbeafe;
  --white: #ffffff;
  --heading: #111827;
  --body: #4b5563;
  --fg-brand: #1447e6;
  --fg-danger: #be123c;
  --fg-success-strong: #065f46;
  --border-default: #e5e7eb;
  --border-default-medium: #e5e7eb;
  --seal-body: #193cb8;
  --seal-ring: #dbeafe;
  --color-1-400: rgba(255, 255, 255, 0.25);
  --color-1-700: rgba(0, 0, 0, 0.12);
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --radius: 8px;
  --gutter: clamp(24px, 5vw, 80px);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --neutral-primary: #030712;
    --neutral-primary-soft: #101828;
    --neutral-secondary-medium: #1e2939;
    --brand: #155dfc;
    --brand-strong: #1447e6;
    --brand-medium: #1c398e;
    --brand-soft: #1c398e;
    --heading: #ffffff;
    --body: #9ca3af;
    --fg-brand: #51a2ff;
    --fg-danger: #f43f5e;
    --fg-success-strong: #10b981;
    --border-default: #1f2937;
    --border-default-medium: #374151;
    --seal-body: #155dfc;
    --seal-ring: #1c398e;
    --color-1-400: rgba(255, 255, 255, 0.12);
    --color-1-700: rgba(0, 0, 0, 0.25);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--neutral-primary);
}
body {
  margin: 0;
  font-family: Saira, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: transparent;
  overflow-x: clip;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
p {
  margin: 0;
  max-width: 60ch;
}
.defs {
  position: absolute;
}
.i16 {
  width: 16px;
  height: 16px;
  flex: none;
}
:focus-visible {
  outline: 2px solid var(--fg-brand);
  outline-offset: 3px;
  border-radius: 4px;
}

#field {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  pointer-events: none;
}
main,
.top {
  position: relative;
  z-index: 1;
}

h1,
h2 {
  margin: 0;
  color: var(--heading);
  font-weight: 600;
}
h1 {
  font-size: clamp(44px, 6.2vw, 112px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(34px, 4.5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.lead {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.6;
  color: var(--heading);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    var(--shadow-xs),
    inset var(--color-1-400) 0 6px 0 -5px,
    var(--color-1-700) 0 4px 10px -5px;
  transition:
    color 150ms ease-out,
    background-color 150ms ease-out;
}
.btn-xl {
  padding: 14px 24px;
  font-size: 16px;
}
.btn-brand {
  background: var(--brand);
  color: var(--white);
}
.btn-brand:hover {
  background: var(--brand-strong);
}
.btn-brand:focus-visible {
  outline: 4px solid var(--brand-medium);
  outline-offset: 1px;
  border-radius: var(--radius);
}
.btn-tertiary {
  background: var(--neutral-primary-soft);
  border-color: var(--border-default-medium);
  color: var(--heading);
}
.btn-tertiary:hover {
  background: var(--neutral-secondary-medium);
}

.top {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  pointer-events: none;
}
.top a {
  pointer-events: auto;
}
.brand-link {
  display: block;
}
.brand-link img {
  width: 129px;
  height: 32px;
}

.seal-body {
  fill: var(--seal-body);
}
.seal-ring {
  stroke: var(--seal-ring);
}
.seal-check {
  stroke: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 112px var(--gutter) 48px;
}
.hero-copy {
  width: 100%;
  max-width: 52vw;
}
.h-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.h-line > span {
  display: block;
}
.js .h-line > span {
  animation: rise 1100ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.js .h-line:nth-child(2) > span {
  animation-delay: 120ms;
}
.js .h-line:nth-child(3) > span {
  animation-delay: 240ms;
}
.hero-foot {
  display: flex;
  flex-flow: column wrap;
  align-items: flex-start;
  gap: 24px 48px;
  margin-top: 40px;
}
.hero-foot .lead {
  max-width: 54ch;
  font-size: clamp(16px, 1.25vw, 19px);
}

@keyframes rise {
  from {
    transform: translateY(112%);
  }
  to {
    transform: none;
  }
}

/* Scenes */
.scene:not(.hero) {
  min-height: 190vh;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: flex-start;
}
.scene-flip:not(.hero) {
  justify-content: flex-end;
}
.copy {
  position: sticky;
  top: 18vh;
  align-self: flex-start;
  width: min(46vw, 720px);
  margin-block: 18vh;
}
.copy .lead {
  margin-top: 32px;
}
.copy .lead + p {
  margin-top: 16px;
}
.lit .w {
  transition: opacity 120ms linear;
}

/* Product and FAQ */
.after {
  padding: 12vh var(--gutter) 16vh;
}
.showcase {
  margin: 0 calc(var(--gutter) * -1) 16vh;
  padding-inline: var(--gutter);
}
.show-pin > h2 {
  margin-bottom: 40px;
  font-size: clamp(34px, 3.6vw, 56px);
}
.step {
  margin-bottom: 56px;
}
.cap h3 {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.cap {
  margin-bottom: 20px;
}
.screen {
  width: 100%;
  border: 1px solid var(--border-default-medium);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2xl);
  background: var(--neutral-primary-soft);
}
.showcase.pinned {
  height: 360vh;
  margin-bottom: 8vh;
  padding-inline: 0;
}
.showcase.pinned.still {
  height: 100vh;
}
.pinned .show-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: clip;
  perspective: 1800px;
}
.pinned .show-pin > h2 {
  position: absolute;
  z-index: 8;
  top: 17vh;
  left: var(--gutter);
  width: 27vw;
  margin: 0;
}
.pinned .step {
  position: static;
  margin: 0;
}
.pinned .cap {
  position: absolute;
  z-index: 8;
  top: 50vh;
  left: var(--gutter);
  width: 26vw;
  margin: 0;
}
.pinned .screen {
  position: absolute;
  top: 0;
  right: auto;
  width: min(58vw, calc((100vh - 152px) * 1.6), 1040px);
  height: auto;
  transform-origin: 50% 50%;
}

.faq {
  max-width: 1040px;
  margin-inline: auto;
}
.faq h2 {
  margin-bottom: 40px;
}
.accordion {
  border-top: 1px solid var(--border-default-medium);
}
.accordion details {
  border-bottom: 1px solid var(--border-default-medium);
  background: var(--neutral-primary);
}
.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px 4px;
  color: var(--heading);
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 500;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
  transition: color 150ms ease-out;
}
.accordion summary::-webkit-details-marker {
  display: none;
}
.accordion summary:hover {
  color: var(--fg-brand);
}
.plus {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  transition: transform 200ms ease-out;
}
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 2px;
  background: currentcolor;
}
.plus::after {
  transform: rotate(90deg);
}
details[open] .plus {
  transform: rotate(45deg);
}
.accordion details p {
  padding: 0 44px 24px 4px;
  max-width: 72ch;
}

/* Closing */
.closing {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 48px var(--gutter) 32px;
  text-align: center;
}
.closing h2 {
  font-size: clamp(44px, 8vw, 136px);
  letter-spacing: -0.035em;
}
.closing .lead {
  margin: 16px 0 32px;
}
.legal {
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.6;
}

/* Static seal when WebGL is unavailable */
.fallback-seal {
  display: none;
}
html:not(.gl) .fallback-seal {
  display: block;
  max-width: none;
}
html:not(.gl) .hero .fallback-seal {
  position: absolute;
  top: 96px;
  right: var(--gutter);
  width: min(38vw, 56vh);
  height: min(38vw, 56vh);
}
html:not(.gl) .closing .fallback-seal {
  width: min(60vw, 36vh);
  height: min(60vw, 36vh);
  margin-bottom: 32px;
}

@media (width <= 899px) {
  .hero {
    align-items: flex-end;
    padding-top: 44vh;
  }
  .hero-foot {
    margin-top: 24px;
  }
  .scene:not(.hero),
  .scene-flip:not(.hero) {
    min-height: 170vh;
    justify-content: flex-start;
  }
  .copy {
    top: auto;
    bottom: 16px;
    align-self: flex-end;
    width: 100%;
    margin-block: 52vh 16px;
    padding: 24px;
    border: 1px solid var(--border-default-medium);
    border-radius: var(--radius);
    background: var(--neutral-primary);
  }
  .copy .lead {
    margin-top: 16px;
  }
  .btn-xl {
    padding: 14px 20px;
  }
  html:not(.gl) .hero {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 112px;
  }
  html:not(.gl) .hero .fallback-seal {
    position: static;
    width: 40vw;
    height: 40vw;
    margin-bottom: 24px;
  }
  html:not(.gl) .copy {
    margin-block: 32px;
  }
  html:not(.gl) .scene:not(.hero) {
    min-height: 0;
  }
}

html:not(.gl) .scene:not(.hero) {
  min-height: 70vh;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (width <= 899px) {
  .hero-copy {
    max-width: none;
  }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 16px 8px 10px;
  border: 1px solid color-mix(in srgb, var(--heading) 22%, transparent);
  border-radius: 9999px;
  background: color-mix(in srgb, var(--neutral-primary) 42%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--heading);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transform: translateX(-50%);
  transition:
    opacity 240ms ease-out,
    background-color 150ms ease-out;
}
.scroll-cue:hover {
  background: color-mix(in srgb, var(--neutral-primary) 12%, transparent);
}
.scroll-cue.is-gone {
  opacity: 0;
  pointer-events: none;
}
.cue-track {
  position: relative;
  display: block;
  width: 16px;
  height: 26px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--heading) 55%, transparent);
  border-radius: 9999px;
}
.cue-track span {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 4px;
  height: 6px;
  margin-left: -2px;
  border-radius: 9999px;
  background: var(--heading);
  animation: cue 1.7s cubic-bezier(0.6, 0, 0.3, 1) infinite;
}

@keyframes cue {
  0% {
    opacity: 0;
    transform: translateY(-3px);
  }
  25% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

@media (width <= 899px) {
  .hero {
    padding-bottom: 88px;
  }
  .scroll-cue {
    bottom: 20px;
  }
}

/* Keep showcase copy clear of the particle field */
.pinned .show-pin::before {
  content: "";
  position: absolute;
  z-index: 7;
  inset: 0 auto 0 0;
  width: 38vw;
  background: linear-gradient(to right, var(--neutral-primary) 72%, transparent);
  pointer-events: none;
}

@media (width <= 899px) {
  .top {
    position: absolute;
  }
}

@media (width >= 900px) {
  :root {
    --gutter: clamp(72px, 5vw, 88px);
  }
  .showcase:not(.pinned) .step {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(58vw, 1040px);
    gap: 48px;
    align-items: center;
  }
  .showcase:not(.pinned) .cap {
    margin: 0;
  }
  .top {
    transition:
      background-color 180ms ease-out,
      border-color 180ms ease-out;
    border-bottom: 1px solid transparent;
  }
  .top.is-solid {
    border-bottom-color: color-mix(in srgb, var(--heading) 12%, transparent);
    background: color-mix(in srgb, var(--neutral-primary) 84%, transparent);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}

/* Numbered page rail */
.pager {
  position: fixed;
  z-index: 18;
  top: 50%;
  right: 14px;
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 6px 4px;
  border: 1px solid color-mix(in srgb, var(--heading) 16%, transparent);
  border-radius: 9999px;
  background: color-mix(in srgb, var(--neutral-primary) 46%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
}
.pager a {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: clamp(24px, 3.6vh, 32px);
  color: var(--heading);
  text-decoration: none;
}
.pager-dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  color: color-mix(in srgb, var(--heading) 68%, transparent);
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  transition:
    background-color 160ms ease-out,
    color 160ms ease-out,
    transform 160ms ease-out;
}
.pager a:hover .pager-dot {
  background: color-mix(in srgb, var(--heading) 14%, transparent);
  color: var(--heading);
}
.pager a[aria-current] .pager-dot {
  background: var(--brand);
  color: var(--white);
  transform: scale(1.08);
}
.pager a:focus-visible {
  outline-offset: -1px;
  border-radius: 9999px;
}
.pager-label {
  position: absolute;
  right: calc(100% + 10px);
  padding: 5px 10px;
  border: 1px solid var(--border-default-medium);
  border-radius: var(--radius);
  background: var(--neutral-primary-soft);
  color: var(--heading);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(4px);
  transition:
    opacity 140ms ease-out,
    transform 140ms ease-out;
}
.pager a:hover .pager-label,
.pager a:focus-visible .pager-label {
  opacity: 1;
  transform: none;
}

@media (width >= 900px) {
  .pager {
    display: flex;
  }
}

/* Product screen dots */
.shot-dots {
  position: sticky;
  z-index: 12;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 2px;
  width: fit-content;
  margin-inline: auto;
  padding: 2px 8px;
  border: 1px solid color-mix(in srgb, var(--heading) 16%, transparent);
  border-radius: 9999px;
  background: color-mix(in srgb, var(--neutral-primary) 62%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.pinned .shot-dots {
  position: absolute;
  bottom: auto;
  margin: 0;
  transform: translateX(-50%);
}
.shot-dots button {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  padding: 0 4px;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  cursor: pointer;
}
.shot-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--heading) 55%, transparent);
  transition:
    width 200ms ease-out,
    background-color 150ms ease-out;
}
.shot-dots button:hover .shot-dot {
  background: var(--heading);
}
.shot-dots button[aria-pressed="true"] .shot-dot {
  width: 28px;
  background: var(--brand);
}
.shot-dots button:focus-visible {
  outline-offset: -2px;
  border-radius: 9999px;
}
.shot-tip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  padding: 5px 10px;
  border: 1px solid var(--border-default-medium);
  border-radius: var(--radius);
  background: var(--neutral-primary-soft);
  color: var(--heading);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 3px);
  transition:
    opacity 140ms ease-out,
    transform 140ms ease-out;
}
.shot-dots button:hover .shot-tip,
.shot-dots button:focus-visible .shot-tip {
  opacity: 1;
  transform: translate(-50%, 0);
}
