:root {
  color-scheme: dark;
  --black: #050505;
  --charcoal: #242424;
  --white: #edf0f2;
  --muted: #c1c1c1;
  --blue: #102b4e;
  --font: "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

main {
  width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero {
  min-height: min(780px, 100vh);
  min-height: max(720px, min(780px, 100vh));
  position: relative;
  overflow: hidden;
  display: block;
  isolation: isolate;
  background: #000;
}

.site-header {
  position: absolute;
  z-index: 3;
  top: 40px;
  right: clamp(24px, 4vw, 58px);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 126px;
  height: 70px;
  text-decoration: none;
}

.brand-logo {
  width: 150px;
  height: 150px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.hero-copy {
  width: min(540px, 43vw);
  position: absolute;
  z-index: 2;
  top: 58%;
  left: 48%;
  transform: translateY(-50%);
  text-align: left;
  animation: hero-copy-enter 850ms 120ms both;
}

.hero h1 {
  margin: 0 0 32px;
  font-size: clamp(42px, 4.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.hero-copy p {
  margin: 0;
  font-size: clamp(16px, 1.75vw, 21px);
  font-weight: 700;
  line-height: 1.2;
}

.hero-art {
  width: min(800px, 50vw);
  aspect-ratio: 1;
  position: absolute;
  z-index: 1;
  top: 50%;
  bottom: auto;
  left: 18vw;
  object-fit: contain;
  transform: translateY(-50%);
  animation:
    hero-art-enter 1s ease-out both,
    hero-art-float 8s 1s ease-in-out infinite;
}

@keyframes hero-copy-enter {
  from {
    opacity: 0;
    translate: 30px 0;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes hero-art-enter {
  from {
    opacity: 0;
    translate: -35px 0;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes hero-art-float {
  0%,
  100% {
    transform: translateY(-50%);
  }

  50% {
    transform: translateY(calc(-50% - 10px));
  }
}

.sara-section {
  min-height: 690px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 66px 22px 86px;
  position: relative;
  background: #000;
  text-align: center;
}

.sara-heading {
  margin-bottom: 25px;
}

.sara-heading h2,
.sara-heading p {
  margin: 0;
  font-size: clamp(30px, 4vw, 49px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.sara-video {
  width: min(560px, 90vw);
  aspect-ratio: 1;
  display: block;
  border: 0;
  background: #050505;
  object-fit: cover;
}

.workflow-section {
  padding: 74px max(22px, calc((100% - 1360px) / 2)) 88px;
  background: #000;
  text-align: center;
}

.workflow-section > h2 {
  margin: 0 auto 36px;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.workflow-lead {
  max-width: 880px;
  margin: 0 auto 32px;
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 700;
  line-height: 1.3;
}

.workflow-animation {
  width: min(780px, 76vw);
  aspect-ratio: 1;
  position: relative;
  margin: 0 auto 34px;
}

.workflow-animation::before {
  position: absolute;
  z-index: 0;
  inset: 24%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 180, 190, 0.22), transparent 70%);
  content: "";
  animation: team-glow 2.8s ease-in-out infinite;
}

.workflow-team {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  display: block;
  object-fit: contain;
  animation: team-pulse 3.6s ease-in-out infinite;
}

.workflow-orbit {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
}

.workflow-orbit-outer {
  inset: 8%;
  animation: orbit 3.2s linear infinite;
}

.workflow-orbit-inner {
  inset: 20%;
  border-color: rgba(39, 183, 176, 0.32);
  animation: orbit 2.4s linear infinite reverse;
}

.workflow-orbit-dot {
  width: 22px;
  height: 22px;
  position: absolute;
  top: -11px;
  left: calc(50% - 11px);
  border-radius: 50%;
  background: #edf0f2;
  box-shadow: 0 0 16px 6px rgba(255, 255, 255, 0.75);
  animation: dot-pulse 1.4s ease-in-out infinite;
}

.workflow-orbit-inner .workflow-orbit-dot {
  width: 16px;
  height: 16px;
  top: -8px;
  left: calc(50% - 8px);
  background: #27b7b0;
  box-shadow: 0 0 16px 6px rgba(39, 183, 176, 0.75);
  animation: dot-pulse 1s ease-in-out infinite reverse;
}

@keyframes orbit {
  to {
    transform: rotate(1turn);
  }
}

@keyframes team-pulse {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }

  50% {
    transform: scale(1.07) translateY(-18px);
    filter: brightness(1.22);
  }
}

@keyframes dot-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.75);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@keyframes team-glow {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.84);
  }

  50% {
    opacity: 1;
    transform: scale(1.16);
  }
}

.workflow-art {
  width: 100%;
  height: clamp(420px, 52vw, 680px);
  display: block;
  object-fit: cover;
  object-position: center 48%;
}

.workflow-art-mobile {
  width: min(100%, 350px);
  margin: 0 auto;
  display: none;
}

.workflow-art-mobile img {
  width: 100%;
  height: auto;
  display: block;
}

.workflow-art-mobile img.workflow-step-arrow {
  width: 28px;
  margin: 20px auto;
  transform: rotate(90deg);
}

.workflow-art-mobile .workflow-step-arrow.scroll-reveal {
  transform: rotate(90deg) translateY(20px);
}

.workflow-art-mobile .workflow-step-arrow.scroll-reveal.is-visible {
  transform: rotate(90deg) translateY(0);
}

.workflow-art-mobile > img:not(.workflow-step-arrow) {
  transition-delay: 100ms;
}

.workflow-art-mobile > img:nth-of-type(3) {
  transition-delay: 200ms;
}

.workflow-art-mobile > img:nth-of-type(5) {
  transition-delay: 300ms;
}

.workflow-art-mobile > img:nth-of-type(7) {
  transition-delay: 400ms;
}

.features-section {
  padding: 72px max(28px, calc((100% - 1280px) / 2)) 88px;
  background:
    radial-gradient(ellipse 48% 75% at 74% 52%, rgba(65, 65, 65, 0.34), transparent 76%),
    #050505;
  text-align: center;
}

.features-section > h2 {
  max-width: 950px;
  margin: 0 auto 64px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.features-list {
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: left;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 18px;
}

.feature-mark {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #e5f5f3;
  color: #102b4e;
  font-size: 23px;
}

.feature-mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.features-list strong,
.features-list small {
  display: block;
}

.features-list strong {
  margin: 2px 0 5px;
  font-size: 17px;
  font-weight: 700;
}

.features-list small {
  color: #c8c8c8;
  font-size: 14px;
  line-height: 1.5;
}

.app-preview {
  width: 100%;
  max-width: 1400px;
  display: block;
  margin: 24px auto 0;
  object-fit: contain;
}

.signup-section {
  min-height: 950px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding: 80px 20px 120px;
  background:
    radial-gradient(ellipse 50% 53% at 50% 44%, rgba(110, 110, 110, 0.48), rgba(47, 47, 47, 0.31) 58%, transparent 82%),
    linear-gradient(180deg, #050505 0%, #151515 45%, #050505 100%);
}

.signup-copy {
  width: min(850px, 100%);
  text-align: center;
}

.signup-copy h2 {
  margin: 0 auto 34px;
  font-size: clamp(35px, 4.4vw, 59px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.form-lead {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.22;
  text-align: center;
}

.signup-form {
  width: min(620px, 82vw);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 38px 40px 32px;
  border: 2px solid #f4f4f4;
  border-radius: 42px;
  background: #000;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.08);
}

.visually-hidden {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.signup-form input:not([type="checkbox"]) {
  width: 100%;
  height: 57px;
  padding: 0 20px;
  border: 2px solid #f2f2f2;
  border-radius: 999px;
  outline: none;
  background: #000;
  color: #fff;
  font: 600 14px var(--font);
}

.signup-form input::placeholder {
  color: #f0f0f0;
  opacity: 1;
}

.signup-form input:focus {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.28);
}

.signup-form button {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  background: #f7f7f7;
  color: #050505;
  font: 700 17px var(--font);
  cursor: pointer;
  transition: background-color 150ms ease;
}

.signup-form button:hover {
  background: #d8d8d8;
}

.signup-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  min-height: 20px;
  margin: 12px 5px 0;
  color: #fff;
  font-size: 12px;
  line-height: 1.45;
}

.form-status.is-error {
  color: #ffb2b2;
}

.website-field {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-footer {
  min-height: 82px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 18px 20px;
  background: #000;
  color: #ededed;
}

.site-footer a,
.site-footer span {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.motion-enabled .scroll-reveal {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 900ms ease,
    transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.motion-enabled .scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.features-list li:nth-child(2) {
  transition-delay: 100ms;
}

.features-list li:nth-child(3) {
  transition-delay: 200ms;
}

@media (min-width: 761px) and (max-width: 1150px) {
  .hero-copy {
    width: 40%;
    top: 55%;
    left: 56%;
  }

  .hero h1 {
    margin-bottom: 32px;
    font-size: clamp(32px, 4.3vw, 48px);
  }

  .hero-art {
    width: 60vw;
    top: 50%;
    left: 13vw;
  }
}

@media (max-width: 760px), (max-width: 1150px) and (hover: none) and (pointer: coarse) {
  .hero {
    min-height: 640px;
  }

  .site-header {
    top: 8px;
    right: 12px;
    left: auto;
  }

  .brand {
    width: 68px;
    height: 58px;
  }

  .brand-logo {
    width: 100px;
    height: 100px;
  }

  .hero-copy {
    width: calc(100% - 40px);
    top: 106px;
    left: 20px;
    transform: none;
    text-align: center;
  }

  .hero h1 {
    margin-bottom: 13px;
    font-size: clamp(29px, 8vw, 38px);
    line-height: 1;
  }

  .hero-copy p {
    max-width: 300px;
    margin-inline: auto;
    font-size: clamp(13px, 3.8vw, 16px);
  }

  .hero-art {
    width: min(112vw, 440px);
    top: auto;
    bottom: -48px;
    left: 50%;
    transform: translateX(-50%);
    animation:
      hero-art-enter 1s ease-out both,
      hero-art-mobile-float 8s 1s ease-in-out infinite;
  }

  @keyframes hero-art-mobile-float {
    0%,
    100% {
      transform: translate(-50%, 0);
    }

    50% {
      transform: translate(-50%, -10px);
    }
  }

  .sara-section {
    min-height: 550px;
    padding: 49px 15px 66px;
  }

  .sara-heading {
    margin-bottom: 21px;
  }

  .sara-heading h2,
  .sara-heading p {
    font-size: clamp(18px, 6vw, 30px);
  }

  .sara-video {
    width: min(100%, 345px);
  }

  .workflow-section {
    padding: 53px 15px 62px;
  }

  .workflow-section > h2 {
    margin-bottom: 25px;
    font-size: clamp(22px, 7.2vw, 41px);
  }

  .workflow-lead {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .workflow-animation {
    width: min(100%, 350px);
    margin-bottom: 25px;
  }

  .workflow-art {
    display: none;
  }

  .workflow-art-mobile {
    width: min(100%, 350px);
    display: block;
  }

  .features-section {
    padding: 58px 19px 65px;
  }

  .features-section > h2 {
    margin-bottom: 34px;
    font-size: clamp(28px, 7.2vw, 38px);
  }

  .features-list {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .features-list strong {
    font-size: 15px;
  }

  .features-list small {
    font-size: 12px;
  }

  .feature-mark {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 19px;
  }

  .feature-mark svg {
    width: 24px;
    height: 24px;
  }

  .app-preview {
    margin-top: 10px;
  }

  .signup-section {
    min-height: 880px;
    gap: 30px;
    padding: 57px 18px 95px;
    background:
      radial-gradient(ellipse 96% 49% at 50% 46%, rgba(110, 110, 110, 0.53), rgba(47, 47, 47, 0.4) 57%, transparent 82%),
      linear-gradient(180deg, #050505 0%, #171717 48%, #030303 100%);
  }

  .signup-copy h2 {
    margin-bottom: 25px;
    font-size: clamp(26px, 7vw, 39px);
  }

  .form-lead {
    font-size: 18px;
  }

  .signup-form {
    width: min(100%, 390px);
    gap: 12px;
    padding: 28px 20px 23px;
    border-width: 2px;
    border-radius: 39px;
  }

  .signup-form input:not([type="checkbox"]) {
    height: 53px;
    padding-inline: 16px;
    font-size: 13px;
  }

  .signup-form button {
    min-height: 55px;
    font-size: 16px;
  }

  .site-footer {
    min-height: 78px;
    flex-wrap: wrap;
    gap: 9px 19px;
  }

  .site-footer a,
  .site-footer span {
    font-size: 11px;
  }
}

@media (max-width: 370px) {
  .signup-form {
    padding-inline: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
