
.ftp-hero {
  --ftp-end: 0px;
  --f-bg: var(--paper);
  --f-fg: var(--ink);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  block-size: 100svh;
  overflow: hidden;
  background-color: var(--f-bg);
  color: var(--f-fg);
  box-shadow: 200px 0 0 var(--f-bg);
}
@media (min-width: 992px) {
  .ftp-hero { --ftp-end: var(--rail); inline-size: calc(100% + var(--rail)); }
}
@media (max-width: 991.98px) {
  .ftp-hero { block-size: auto; min-block-size: 100svh; }
}

.ftp-hero__stage {
  position: relative;
  flex: 1 1 auto;
  min-block-size: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: var(--prod-gap);
  align-items: center;
  padding: var(--space-2) calc(var(--gutter) + var(--ftp-end)) var(--space-1) var(--prod-start);
  container-type: size;
}

.ftp-hero__title { display: grid; margin: 0; font-family: var(--font-heading); font-size: min(7.6cqi, 19cqb); font-weight: 700; line-height: 1.04; letter-spacing: -.01em; white-space: nowrap; }
.ftp-hero__row { display: block; overflow: clip; overflow-clip-margin: .2em; padding-block-end: .06em; }
.ftp-hero__row > span { display: block; transition: translate 1.3s var(--prod-ease); transition-delay: calc(.25s + var(--i) * 120ms); }

.ftp-hero__bottom {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem 4rem;
  padding: 0 calc(var(--gutter) + var(--ftp-end)) var(--space-2) var(--prod-start);
}
.ftp-hero__text { min-inline-size: 0; }
.ftp-hero__lines { display: grid; row-gap: .3em; max-inline-size: 32em; margin: 0; font-size: var(--text-base); line-height: 1.8; }
.ftp-hero__line { display: block; overflow: clip; overflow-clip-margin: .3em; }
.ftp-hero__line > span { display: block; transition: translate 1.1s var(--prod-ease); transition-delay: calc(.6s + var(--i) * 90ms); }
.ftp-hero__line:first-child { font-weight: 700; letter-spacing: .02em; }
.ftp-hero__line:last-child { font-size: var(--text-sm); letter-spacing: .04em; opacity: .75; }
.ftp-hero__cta { flex-shrink: 0; margin: 0; transition: opacity 1s var(--prod-ease) 1s, translate 1.2s var(--prod-ease) 1s; }
@media (min-width: 1200px) {
  .ftp-hero__bottom { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

.ftp-hero__card {
  --blue: #3a8bd6;
  position: relative;
  inline-size: min(25rem, 32cqi);
  overflow: hidden;
  border-radius: 6px;
  background-color: #fff;
  color: #222;
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / .45), 0 0 0 1px rgb(0 0 0 / .04);
  transition: opacity 1.1s var(--prod-ease) .5s, translate 1.3s var(--prod-ease) .5s;
}
.ftp-hero__pane { display: flex; flex-direction: column; align-items: center; padding: 3.2rem 2.4rem 2.4rem; text-align: center; }
.ftp-hero__pane[hidden] { display: none; }
.ftp-hero__pane :where(p) { margin: 0; }
.ftp-hero__plus svg { display: block; inline-size: 64px; block-size: 64px; fill: none; stroke: var(--blue); stroke-width: 1.6; }
.ftp-hero__lead { margin-block-start: 1.6rem; font-size: var(--text-xs); font-weight: 700; line-height: 1.5; }
.ftp-hero__sub { margin-block-start: .4rem; font-size: var(--text-xs); line-height: 1.5; text-decoration: underline; text-underline-offset: .3em; }
.ftp-hero__files { display: grid; row-gap: .4rem; inline-size: 100%; min-block-size: 0; margin: 2rem 0 0; padding: 0; list-style: none; font-size: var(--text-xs); line-height: 1.5; text-align: start; }
.ftp-hero__files li { display: flex; justify-content: space-between; gap: 1.2rem; padding: .7rem 1rem; border-radius: 4px; background-color: #f4f5f7; }
.ftp-hero__files li span:last-child { color: #777; font-variant-numeric: tabular-nums; }
.ftp-hero__btns { display: flex; justify-content: center; align-items: center; gap: 1.2rem; inline-size: 100%; margin-block-start: 2.4rem; padding-block-start: 2rem; border-block-start: 1px solid #eee; }
.ftp-hero__btn { flex: 1 1 auto; max-inline-size: 18rem; padding: .85rem 1.6rem; border-radius: 999px; background-color: var(--blue); color: #fff; font-size: var(--text-xs); line-height: 1.4; }
.ftp-hero__more { display: grid; place-items: center; flex: none; inline-size: 2.8em; block-size: 2.8em; border-radius: 50%; background-color: var(--blue); }
.ftp-hero__more svg { inline-size: 1.4em; block-size: 1.4em; fill: #fff; }
.ftp-hero__ring { position: relative; display: grid; place-items: center; inline-size: 168px; block-size: 168px; }
.ftp-hero__ring svg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; rotate: -90deg; fill: none; stroke-width: 9; }
.ftp-hero__ring circle:first-child { stroke: #ededed; }
.ftp-hero__ring circle:last-child { stroke: var(--blue); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); }
.ftp-hero__ring b { position: relative; color: var(--blue); font-family: var(--font-heading); font-size: 40px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ftp-hero__stats { margin-block-start: 2rem; font-size: var(--text-xs); line-height: 1.9; font-variant-numeric: tabular-nums; }
.ftp-hero__cloud svg { display: block; inline-size: 84px; block-size: 64px; fill: none; stroke: #1d1d3a; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ftp-hero__cloud svg path:last-child { stroke: #2b9be8; }
.ftp-hero__ready { margin-block-start: 1.6rem; font-family: var(--font-heading); font-size: var(--text-md); font-weight: 700; line-height: 1.4; }
.ftp-hero__limit { margin-block-start: .6rem; font-size: var(--text-xs); line-height: 1.6; }
.ftp-hero__total { display: flex; justify-content: space-between; align-items: center; gap: 1.6rem; inline-size: calc(100% + 4.8rem); margin: 2.4rem -2.4rem 0; padding: 1.6rem 2.4rem; background-color: #f4f5f7; font-size: var(--text-xs); line-height: 1.6; text-align: start; }
.ftp-hero__total p:last-child { color: var(--blue); white-space: nowrap; }
.ftp-hero__total { flex-wrap: wrap; row-gap: .6rem; }
.ftp-hero__total p:first-child { white-space: nowrap; }
.ftp-hero__total + .ftp-hero__btns { margin-block-start: 0; border-block-start: 0; }

.ftp-hero__card { box-sizing: border-box; border-radius: 20px; }
.ftp-hero__bar { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.6rem 0; }
.ftp-hero__dots { display: flex; gap: 7px; }
.ftp-hero__dots > span { inline-size: 10px; block-size: 10px; border-radius: 50%; background-color: #dcdcdc; }
.ftp-hero__badge { padding: .35em .9em; border: 1px solid rgb(0 0 0 / .3); border-radius: 999px; font-family: var(--font-heading); font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; color: rgb(0 0 0 / .55); }
.ftp-hero__card > .ftp-hero__pane { padding-block-start: 2rem; }

@media (min-width: 992px) {
  .ftp-hero__card { inline-size: min(25rem, max(32cqi, 20rem)); }
  .ftp-hero__title { font-size: min(7.6cqi, 19cqb, (100cqi - min(25rem, max(32cqi, 20rem)) - var(--prod-gap)) / 8.2); }
}
@container (max-height: 640px) {
  .ftp-hero__card > .ftp-hero__pane { padding: 1.2rem 2rem 1.6rem; }
  .ftp-hero__plus svg { inline-size: 48px; block-size: 48px; }
  .ftp-hero__lead { margin-block-start: 1rem; }
  .ftp-hero__files { row-gap: .3rem; margin-block-start: 1.2rem; }
  .ftp-hero__files li { padding-block: .45rem; }
  .ftp-hero__btns { margin-block-start: 1.4rem; padding-block-start: 1.2rem; }
  .ftp-hero__ring { inline-size: 136px; block-size: 136px; }
  .ftp-hero__ring b { font-size: 32px; }
  .ftp-hero__stats { margin-block-start: 1.2rem; }
  .ftp-hero__cloud svg { inline-size: 64px; block-size: 48px; }
  .ftp-hero__ready { margin-block-start: 1rem; }
  .ftp-hero__total { margin-block-start: 1.4rem; padding-block: 1.2rem; }
}

[data-motion="on"] .ftp-hero:not([data-in]) :is(.ftp-hero__row, .ftp-hero__line) > span { translate: 0 110%; }
[data-motion="on"] .ftp-hero:not([data-in]) :is(.ftp-hero__cta, .ftp-hero__card) { opacity: 0; translate: 0 1.6rem; }

@media (max-width: 991.98px) {
  .ftp-hero__stage { grid-template-columns: minmax(0, 1fr); row-gap: 3rem; justify-items: center; padding: 3rem var(--gutter) 2.5rem; container-type: inline-size; }
  .ftp-hero__title { justify-self: stretch; font-size: 12cqi; }
  .ftp-hero__card { inline-size: min(100%, 25rem); }
  .ftp-hero__bottom { align-items: stretch; padding: 0 var(--gutter) var(--space-2); }
}
@media (max-width: 767.98px) {
  .ftp-hero__card {
    display: flex;
    flex-direction: column;
    inline-size: min(280px, 100%);
    aspect-ratio: 71.6 / 147.6;
    border: 7px solid #111;
    border-radius: 40px;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 14%, transparent), 0 24px 48px -24px rgb(0 0 0 / .4);
  }
  .ftp-hero__card > .ftp-hero__pane:not([hidden]) { flex: 1 1 auto; justify-content: center; min-block-size: 0; }
  .ftp-hero__bar { justify-content: center; padding: 12px 0 0; }
  .ftp-hero__dots, .ftp-hero__badge { display: none; }
  .ftp-hero__bar::before { content: ""; inline-size: 72px; block-size: 20px; border-radius: 999px; background-color: #111; }
  .ftp-hero__pane { padding-inline: 1.2rem; padding-block-end: 1.4rem; }
  .ftp-hero__card > .ftp-hero__pane { padding-block-start: 1rem; }
  .ftp-hero__plus svg { inline-size: 56px; block-size: 56px; }
  .ftp-hero__lead { margin-block-start: 1.2rem; }
  .ftp-hero__files { row-gap: .3rem; margin-block-start: 1.4rem; }
  .ftp-hero__files li { padding-block: .5rem; }
  .ftp-hero__btns { margin-block-start: 1.6rem; padding-block-start: 1.4rem; }
  .ftp-hero__total { inline-size: calc(100% + 2.8rem); margin-inline: -1.4rem; padding-inline: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ftp-hero *, .ftp-hero *::before, .ftp-hero *::after { transition: none !important; }
}
