@font-face {
  font-family: "SBSansDisplay-Semibold";
  src: url("/fonts/SBSansDisplay-SemiBold.woff") format("woff");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

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

@font-face {
  font-family: "SBSansText-Semibold";
  src: url("/fonts/SBSansText-Semibold.woff") format("woff");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "SB Sans Text";
  src: url("/fonts/SBSansText-Regular.woff") format("woff");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "SB Sans Text";
  src: url("/fonts/SBSansText-Medium.woff") format("woff");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

:root {
  --surface-ring: 0 0 0 1px rgba(255, 255, 255, 0.12);
  --surface-ring-hover: 0 0 0 1px rgba(255, 255, 255, 0.18);
  background: #000000;
  color: #ffffff;
  font-family: "SB Sans Text", system-ui, sans-serif;
  font-synthesis: none;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  min-height: 100%;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #000000;
  overflow-x: hidden;
}

a {
  color: inherit;
}

::selection {
  background: #ffffff;
  color: #000000;
}

.page-viewport {
  width: min(100%, 1280px);
  margin: 0 auto;
  overflow: visible;
  background: #000000;
}

.site-shell {
  --page-pad: clamp(48px, 4.6875vw, 60px);
  --page-container-width: min(100vw, 1280px);
  --content-width: calc(var(--page-container-width) - (var(--page-pad) * 2));
  display: flex;
  width: 100%;
  min-height: 100vh;
  flex-direction: column;
  padding: 40px var(--page-pad) 60px;
  overflow: visible;
  background: #000000;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 160px;
}

.logo-small {
  width: 396px;
  height: auto;
  flex-shrink: 0;
  filter: invert(1);
  opacity: 0.3;
}

.hero-reveal,
.hero-reveal-media {
  backface-visibility: hidden;
  will-change: filter, opacity, transform;
}

.hero-reveal {
  animation: hero-enter 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94)
    var(--hero-reveal-delay, 0ms) both;
}

.hero-reveal-media {
  animation: hero-media-enter 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94)
    var(--hero-reveal-delay, 0ms) both;
}

.hero-reveal-logo {
  --hero-reveal-delay: 0ms;
  animation-name: hero-logo-enter;
}

.hero-reveal-title {
  --hero-reveal-delay: 150ms;
}

.hero-reveal-description {
  --hero-reveal-delay: 300ms;
}

.hero-reveal-link {
  --hero-reveal-delay: 450ms;
}

.hero-reveal-screenshot {
  --hero-reveal-delay: 600ms;
}

@keyframes hero-enter {
  from {
    filter: blur(8px);
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }

  to {
    filter: blur(0);
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-logo-enter {
  from {
    filter: invert(1) blur(8px);
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }

  to {
    filter: invert(1) blur(0);
    opacity: 0.3;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-media-enter {
  from {
    filter: blur(8px);
    opacity: 0;
    transform: translate3d(var(--hero-media-shift-x, -50%), 8px, 0);
  }

  to {
    filter: blur(0);
    opacity: 1;
    transform: translate3d(var(--hero-media-shift-x, -50%), 0, 0);
  }
}

.hero-text-block {
  --hero-column-gap: 40px;
  --hero-description-width: 367px;
  --hero-title-max-width: 598px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.hero-row {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--hero-column-gap);
}

.hero-title-column {
  max-width: var(--hero-title-max-width);
  flex: 1 1 var(--hero-title-max-width);
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero-row h1 {
  width: 100%;
  flex: none;
  margin: 0;
  color: #ffffff;
  font-family: "SBSansDisplay-Semibold", system-ui, sans-serif;
  font-size: 60px;
  font-weight: 600;
  line-height: 90%;
}

.hero-row p {
  width: min(var(--hero-description-width), 100%);
  flex: 0 1 var(--hero-description-width);
  min-width: 0;
  margin: 0;
  color: #ffffff66;
  font-family: "SB Sans Text", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 130%;
  text-wrap: pretty;
}

@media (min-width: 1025px) and (max-width: 1109px) {
  .hero-row h1 {
    font-size: clamp(52px, calc(9.0928vw - 40.835px), 60px);
  }
}

.hero-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  color: #ffffff;
  font-family: "SBSansText-Medium", "SB Sans Text", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 130%;
  text-decoration: underline 1px #ffffff4d;
  text-underline-offset: 8px;
  transition-duration: 150ms;
  transition-property: color, text-decoration-color;
  transition-timing-function: ease-out;
}

.hero-link:hover {
  color: rgba(255, 255, 255, 0.6);
  text-decoration-color: rgba(255, 255, 255, 0.28);
}

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

  .hero-reveal,
  .hero-reveal-media {
    animation: none;
    filter: none;
    opacity: 1;
  }

  .hero-reveal {
    transform: none;
  }

  .logo-small.hero-reveal {
    filter: invert(1);
    opacity: 0.3;
  }

  .hero-reveal-media {
    transform: translateX(-50%);
  }
}

.hero-media {
  --hero-bottom-gap: 100px;
  --hero-editor-top: 98px;
  isolation: isolate;
  position: relative;
  width: 100vw;
  height: calc(
    var(--hero-editor-top) +
      (
        var(--hero-editor-width, var(--content-width)) *
          var(--hero-editor-ratio, 1632 / 2660)
      ) +
      var(--hero-bottom-gap)
  );
  margin: 0 calc(50% - 50vw);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: 50%;
  width: min(calc(var(--page-container-width) + 400px), 1680px);
  height: auto;
  max-width: none;
  border-radius: 32px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  transform: translateX(-50%);
}

.hero-editor {
  display: block;
  position: absolute;
  z-index: 1;
  top: var(--hero-editor-top);
  left: var(--hero-editor-left, 50%);
  width: var(--hero-editor-width, var(--content-width));
  height: auto;
  transform: translateX(var(--hero-media-shift-x, -50%));
}

.hero-editor img {
  display: block;
  width: 100%;
  height: auto;
}

.features {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  margin-top: 100px;
}

.features h2,
.download-title {
  margin: 0;
  color: #ffffff;
  font-family: "SBSansDisplay-Semibold", system-ui, sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 110%;
  text-wrap: balance;
}

.features h2 {
  max-width: 637px;
}

.feature-card-row {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 22px;
}

.feature-card {
  display: flex;
  flex: 1;
  height: 200px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px;
  border-radius: 32px;
  background: #ffffff14;
  box-shadow: var(--surface-ring);
  transition-duration: 160ms;
  transition-property: background-color, box-shadow;
  transition-timing-function: ease-out;
}

.feature-card:hover {
  background: #ffffff18;
  box-shadow: var(--surface-ring-hover);
}

.feature-card img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.feature-card h3 {
  height: 52px;
  flex-shrink: 0;
  margin: 0;
  color: #ffffff;
  font-family: "SBSansText-Medium", "SB Sans Text", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 130%;
  text-wrap: pretty;
}

@media (min-width: 1025px) and (max-width: 1180px) {
  .feature-card-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .feature-card {
    width: 100%;
  }

  .feature-card:nth-child(-n + 2) {
    grid-column: span 3;
  }

  .feature-card:nth-child(n + 3) {
    grid-column: span 2;
  }
}

.download-title {
  max-width: 696px;
  margin: 192px auto 0;
  font-size: 60px;
  text-align: center;
}

.download-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
}

.tilt-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 180ms ease-out;
  will-change: transform;
}

.download-tilt {
  width: min(555px, 100%);
  height: 160px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 1000px;
}

.tilt-card-spotlight {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease-out;
}

.download-button {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffffff1a;
  border-radius: 1000px;
  background: #ffffff33;
  color: #ffffff;
  font-family: "SBSansText-Semibold", "SB Sans Text", system-ui, sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 130%;
  text-decoration: none;
  transition-duration: 150ms;
  transition-property: scale, box-shadow;
  transition-timing-function: ease-out;
}

.download-button:active {
  scale: 0.96;
}

.download-dialog-layer {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.download-dialog-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: default;
}

.download-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 380px);
  flex-direction: column;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #090909;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  color: #ffffff;
  padding: 24px;
}

.download-dialog h3 {
  margin: 0;
  padding-right: 36px;
  font-family: "SBSansText-Semibold", "SB Sans Text", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 120%;
}

.download-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.64);
  cursor: pointer;
  font-family: system-ui, sans-serif;
  font-size: 28px;
  line-height: 1;
}

.download-dialog-close:hover,
.download-dialog-close:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  outline: none;
}

.download-dialog-actions {
  display: grid;
  gap: 8px;
}

.download-dialog-button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  font-family: "SBSansText-Semibold", "SB Sans Text", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 120%;
}

.download-dialog-button:hover,
.download-dialog-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 200px;
  text-align: center;
}

  .footer-text {
    font-size: 16px;
  }

.footer-text {
  margin: 0;
  color: #ffffff40;
  font-family: "SB Sans Text", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 130%;
}

.footer-link {
  color: #ffffff40;
  font-family: "SBSansText-Medium", "SB Sans Text", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 130%;
  text-decoration: underline 1px #ffffff40;
  text-underline-offset: 8px;
  transition-duration: 150ms;
  transition-property: color, text-decoration-color;
  transition-timing-function: ease-out;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1024px) {
  .page-viewport {
    width: min(100%, 620px);
  }

  .site-shell {
    --page-pad: 24px;
    --page-container-width: min(100vw, 620px);
    padding: 28px var(--page-pad) 40px;
  }

  .hero-copy {
    gap: 72px;
  }

  .logo-small {
    width: auto;
    height: 16px;
  }

  .hero-text-block {
    gap: 20px;
  }

  .hero-row {
    flex-direction: column;
    gap: 20px;
  }

  .hero-title-column {
    display: contents;
  }

  .hero-row h1 {
    order: 1;
    width: 100%;
    max-width: 100%;
    flex: none;
    font-size: 44px;
    line-height: 92%;
    text-wrap: initial;
  }

  .hero-row p {
    order: 2;
    width: 100%;
    max-width: 440px;
    flex: none;
    font-size: 16px;
    line-height: 130%;
  }

  .hero-link {
    order: 3;
    max-width: 100%;
    font-size: 16px;
  }

  .hero-media {
    --hero-bottom-gap: 40px;
    --hero-editor-top: 40px;
    --hero-editor-ratio: 1356 / 1566;
    --hero-editor-width: var(--content-width);
    --hero-editor-left: 50%;
    --hero-media-shift-x: -50%;
    width: 100vw;
    margin-top: 0;
  }

  .hero-glow {
    width: 100vw;
    transform: translate(-50%, 10%);
  }

  .features {
    gap: 30px;
    margin-top: 74px;
  }

  .features h2 {
    max-width: 100%;
    font-size: 24px;
    line-height: 110%;
  }

  .feature-card-row {
    flex-direction: column;
    gap: 14px;
  }

  .feature-card {
    width: 100%;
    height: auto;
    min-height: 72px;
    flex: none;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    padding: 8px 22px;
    border-radius: 28px;
  }

  .feature-card img {
    width: 24px;
    height: 24px;
  }

  .feature-card h3 {
    width: auto !important;
    height: auto;
    min-width: 0;
    flex: 1;
    font-size: 16px;
  }

  .download-title {
    max-width: 560px;
    margin-top: 120px;
    font-size: 44px;
    line-height: 92%;
    text-wrap: balance;
  }

  .download-block {
    margin-top: 40px;
  }

  .download-button {
    font-size: 24px;
  }

  .download-tilt {
    width: min(320px, 100%);
    height: 80px;
    transform: none !important;
  }

  .tilt-card-spotlight {
    display: none;
  }

  .site-footer {
    margin-top: 150px;
  }

  .footer-text {
    font-size: 16px;
  }

  .footer-link {
    font-size: 16px;
  }
}

@media (max-width: 430px) {
  .site-shell {
    --page-pad: 20px;
  }

  .hero-row h1 {
    font-size: 34px;
  }

  .hero-copy {
    gap: 66px;
  }

  .hero-media {
    --hero-editor-top: 40px;
  }

  .features {
    margin-top: 58px;
  }

  .feature-card {
    min-height: 68px;
    padding: 6px 20px;
    border-radius: 26px;
  }

  .download-title {
    max-width: 350px;
    margin-top: 112px;
    font-size: 34px;
  }

  .download-button {
    height: 100%;
  }

  .download-tilt {
    width: min(280px, 100%);
    height: 104px;
  }
}

@media (max-width: 360px) {
  .hero-row h1 {
    font-size: 28px;
  }

  .download-title {
    font-size: 30px;
  }
}
