@font-face {
  font-family: "Alfred Outfit";
  src: url("/app-preview/fonts/Outfit-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

#hero {
  font-family: "Outfit", "Alfred Outfit", sans-serif;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .89fr) minmax(0, 1.11fr);
  align-items: center;
  padding: 105px max(6vw, calc((100vw - 1344px) / 2)) 42px;
  height: clamp(640px, 94svh, 960px);
  background: radial-gradient(ellipse at 76% 37%, #21252e80, transparent 50%),
              linear-gradient(to bottom, #0c0c11 62%, transparent);
}
#hero .hero-in {
  grid-area: 1 / 1;
  position: relative;
  inset: auto;
  width: auto;
  transform: none;
}
#hero h1 {
  max-width: none;
  font-size: clamp(46px, 4.65vw, 77px);
  font-weight: 470;
  line-height: 1.035;
  letter-spacing: -.054em;
  margin: 0;
  color: #f4f2f4;
  text-wrap: pretty;
}
#hero h1 b {
  font-size: .87em;
  line-height: 1.12;
  font-weight: 470;
  color: #bdb3da;
  background: linear-gradient(110deg, #e0d4f0, #b0a0d0);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
#hero .sub { max-width: 39ch; font-weight: 350; margin: 24px 0 30px; line-height: 1.52; }
.team-stage {
  grid-area: 1 / 2;
  position: relative;
  aspect-ratio: 800 / 610;
  width: 119%;
  margin-left: -10%;
  pointer-events: none;
  user-select: none;
  container-type: inline-size;
}
.team-floor { width: 100%; height: 100%; position: absolute; inset: 0; }
.team-member { position: absolute; transform: translate(-50%, -100%); display: block; height: auto; }
.team-member.lead { left: 32.25%; top: 64.8%; width: 27%; }
.team-member.finance { left: 56.63%; top: 33.5%; width: 16.8%; }
.team-member.operations { left: 80.75%; top: 58.3%; width: 18.2%; }
.team-name {
  position: absolute;
  transform: translateX(-50%);
  color: #ebedf2;
  font-size: max(12px, 1.98cqw);
  font-weight: 480;
  line-height: 1;
  letter-spacing: -.012em;
  text-shadow: 0 1px 6px #101218;
}
.team-name.lead { left: 32.25%; top: 68.3%; }
.team-name.finance { left: 56.63%; top: 35.9%; }
.team-name.operations { left: 80.75%; top: 60.9%; }
.team-result {
  position: absolute;
  left: 50.5%;
  top: 73%;
  width: 28%;
  padding: 2.15% 2.4%;
  border: 1px solid #706780;
  border-radius: 1.8cqw;
  background: linear-gradient(124deg, #383442, #26232e 65%);
  box-shadow: 1px 3px #393440, 2px 5px #1e1d24, 0 14px 22px #05050a75;
  color: #eeeaf4;
  transform: rotate(-6deg);
}
.team-result header { display: flex; gap: .55em; align-items: center; font-size: max(11px, 1.85cqw); line-height: 1.2; font-weight: 500; }
.team-result header svg { width: 1.13em; height: 1.13em; color: #c3b7e6; flex: none; }
.team-result-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 3%; margin-top: 1.2cqw; }
.team-result-body strong { display: block; font-weight: 520; font-size: max(17px, 3.7cqw); line-height: 1; letter-spacing: -.055em; }
.team-result-body small { display: block; color: #cbc6d4; font-size: max(9px, 1.5cqw); margin-top: .45cqw; }
.team-result-body svg { width: 43%; height: auto; color: #9fd7b8; }
@media (prefers-reduced-motion: no-preference) {
  .team-member { animation: team-arrive .85s cubic-bezier(.16,.8,.32,1) backwards; }
  .team-member.finance { animation-delay: 100ms; }
  .team-member.operations { animation-delay: 180ms; }
  .team-result { animation: report-arrive .8s .35s backwards; }
  @keyframes team-arrive { from { opacity: 0; translate: 0 10px; } }
  @keyframes report-arrive { from { opacity: 0; translate: 0 6px; } }
}
#partout .product-demo { background: #101014; width: min(1160px, calc(100% - 64px)); height: clamp(610px, 79vh, 740px); }
#partout .screens-head { padding-top: clamp(48px, 7vw, 94px); }
@media (max-width: 820px), (max-aspect-ratio: 21/20) {
  #hero {
    height: auto;
    min-height: min(100svh, 900px);
    grid-template-columns: minmax(0,1fr);
    align-content: center;
    padding: 120px 7vw 34px;
    row-gap: 4px;
  }
  #hero .hero-in { grid-area: 1 / 1; inset: auto; width: 100%; max-width: 560px; justify-self: center; }
  #hero h1 { max-width: none; font-size: clamp(39px, 7.35vw, 60px); }
  #hero .sub { font-size: clamp(15.5px, 2.7vw, 18px); max-width: 40ch; margin: 15px 0 19px; }
  .team-stage { grid-area: 2 / 1; width: min(118%, 650px); justify-self: center; margin: 0; }
  #partout .product-demo { width: calc(100% - 24px); height: clamp(500px, 76svh, 700px); }
}
@media (max-width: 500px) {
  #hero { min-height: 0; padding-top: 132px; padding-bottom: 12px; }
  #hero .team-stage { margin-top: 2px; }
  .team-result { width: 32%; left: 48.5%; }
  #partout .screens-head { padding-top: 44px; }
}
@media (max-width: 360px) { #hero { padding-top: 150px; } }
