.screen.factory-chrome {
  min-height: 0;
  height: 0;
  min-width: 0;
  width: 100%;
  overflow: visible;
  background: transparent;
  aspect-ratio: auto;
  container-type: normal;
}

.screen.factory-chrome > header.site-header .site-header__menu-btn {
  display: none;
}

@media (max-width: 1023px) {
  .screen.factory-chrome > header.site-header .menu,
  .screen.factory-chrome > header.site-header .header-actions {
    display: none;
  }

  .screen.factory-chrome > header.site-header .site-header__menu-btn {
    display: flex;
    margin-left: auto;
  }
}

.factory-main {
  width: 100%;
  overflow: hidden;
}

.factory-canvas {
  position: relative;
  margin-inline: auto;
  background: #fff;
}

.factory-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 0 0 30px 30px;
  min-height: 420px;
  padding: 120px 24px 80px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.factory-hero__dots {
  position: absolute;
  left: 0;
  top: -11px;
  width: min(2134px, 140%);
  height: auto;
  object-fit: cover;
  opacity: 0.3;
  pointer-events: none;
}

.factory-hero__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(900px, 90vw);
  height: auto;
  margin: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.03;
  pointer-events: none;
}

.factory-hero__title {
  position: relative;
  z-index: 2;
  margin: 0 0 28px;
  font-family: "Manrope", Helvetica, sans-serif;
  font-weight: 600;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.1;
  color: #000;
}

.factory-hero__title .accent {
  font-family: "Barlow Condensed", Helvetica, sans-serif;
  font-weight: 700;
  color: #43328a;
}

.factory-hero__lead {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 760px;
  font-family: "Manrope", Helvetica, sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.45;
  color: #242424;
}

.factory-section {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 88px 24px;
  box-sizing: border-box;
}

.factory-section--tint {
  background: #fbfafe;
  border-radius: 70px;
}

.factory-section--tint-round {
  background: #fbfafe;
  border-radius: 70px 70px 0 0;
}

.factory-section__dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.25;
  pointer-events: none;
  border-radius: inherit;
}

.factory-cloud {
  position: absolute;
  width: 420px;
  height: 380px;
  margin: 0;
  border-radius: 50%;
  background: rgba(115, 102, 189, 0.2);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.factory-cloud--a {
  left: -120px;
  top: 40px;
}

.factory-cloud--b {
  right: -140px;
  bottom: 20px;
}

.factory-inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 40px;
  align-items: center;
}

.factory-inner--split {
  grid-template-columns: 1fr 1fr;
}

.factory-inner--center {
  text-align: center;
  justify-items: center;
}

.factory-copy h2 {
  margin: 0 0 16px;
  font-family: "Manrope", Helvetica, sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.25;
  color: #000;
}

.factory-copy h2 .accent {
  font-family: "Barlow Condensed", Helvetica, sans-serif;
  font-weight: 700;
  color: #43328a;
}

.factory-copy p {
  margin: 0 0 12px;
  font-family: "Manrope", Helvetica, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #1b1b1b;
}

.factory-copy p:last-child {
  margin-bottom: 0;
}

.factory-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  height: 64px;
  padding: 18px 26px;
  box-sizing: border-box;
  border: 0;
  border-radius: 10px;
  background: #43328a;
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  font: inherit;
  appearance: none;
  margin-top: 24px;
}

.factory-cta span {
  font-family: "Manrope", Helvetica, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}

.factory-cta:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: 3px;
}

.factory-cta--spaced {
  display: flex;
  margin: 40px auto 0;
}

.factory-shot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(67, 50, 138, 0.14);
  background: #fff;
}

.factory-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.factory-shot--frame {
  box-shadow:
    0 0 20px rgba(0, 0, 0, 0.18),
    inset 0 0 0 2px #7f7d7d;
}

/* Collage — positions from home-text-factory crop (850×520 artboard) */
.factory-collage-section {
  padding-top: 40px;
  padding-bottom: 100px;
}

.factory-collage {
  --cf-w: 850;
  --cf-h: 520;
  position: relative;
  width: min(850px, 100%);
  aspect-ratio: 850 / 520;
  margin: 12px auto 0;
  pointer-events: none;
}

.factory-collage__shot,
.factory-collage__deco,
.factory-collage__label-pill,
.factory-collage__label-text {
  position: absolute;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.factory-collage__shot img,
.factory-collage__deco img,
.factory-collage__label-pill img,
.factory-collage__label-text img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  background: transparent;
}

.factory-collage__shot--wizard {
  top: calc(131.2 / var(--cf-h) * 100%);
  left: calc(43.2 / var(--cf-w) * 100%);
  width: calc(295.7 / var(--cf-w) * 100%);
  height: calc(313.3 / var(--cf-h) * 100%);
  z-index: 1;
}

.factory-collage__shot--factories {
  top: calc(297.2 / var(--cf-h) * 100%);
  left: calc(212.2 / var(--cf-w) * 100%);
  width: calc(359.3 / var(--cf-w) * 100%);
  height: calc(198.5 / var(--cf-h) * 100%);
  z-index: 2;
}

.factory-collage__shot--post-a {
  top: calc(25.3 / var(--cf-h) * 100%);
  left: calc(369.6 / var(--cf-w) * 100%);
  width: calc(337.5 / var(--cf-w) * 100%);
  height: calc(356.9 / var(--cf-h) * 100%);
  z-index: 3;
}

.factory-collage__shot--post-c {
  top: calc(33.4 / var(--cf-h) * 100%);
  left: calc(630.2 / var(--cf-w) * 100%);
  width: calc(202.7 / var(--cf-w) * 100%);
  height: calc(314.9 / var(--cf-h) * 100%);
  z-index: 4;
}

.factory-collage__shot--post-b {
  top: calc(14 / var(--cf-h) * 100%);
  left: calc(528 / var(--cf-w) * 100%);
  width: calc(182 / var(--cf-w) * 100%);
  height: calc(310 / var(--cf-h) * 100%);
  z-index: 5;
}

.factory-collage__deco--20k {
  top: calc(112 / var(--cf-h) * 100%);
  left: calc(274 / var(--cf-w) * 100%);
  width: calc(256 / var(--cf-w) * 100%);
  height: calc(256 / var(--cf-h) * 100%);
  z-index: 8;
  opacity: 0.9;
}

.factory-collage__deco--20k img {
  object-fit: cover;
  object-position: center;
}

.factory-collage__deco--star {
  top: calc(230 / var(--cf-h) * 100%);
  left: calc(705 / var(--cf-w) * 100%);
  width: calc(158 / var(--cf-w) * 100%);
  height: calc(158 / var(--cf-h) * 100%);
  z-index: 7;
}

.factory-collage__label-pill {
  top: calc(14 / var(--cf-h) * 100%);
  left: calc(17 / var(--cf-w) * 100%);
  width: calc(347 / var(--cf-w) * 100%);
  height: calc(77 / var(--cf-h) * 100%);
  z-index: 9;
}

.factory-collage__label-text {
  top: calc(33 / var(--cf-h) * 100%);
  left: calc(49 / var(--cf-w) * 100%);
  width: calc(275 / var(--cf-w) * 100%);
  height: calc(33 / var(--cf-h) * 100%);
  z-index: 10;
}

.factory-collage__label-text img {
  object-fit: contain;
}

.factory-collage__deco--star-big {
  top: calc(298 / var(--cf-h) * 100%);
  left: calc(467 / var(--cf-w) * 100%);
  width: calc(222.1 / var(--cf-w) * 100%);
  height: calc(179.4 / var(--cf-h) * 100%);
  z-index: 11;
}

/* Feature grid */
.factory-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
}

.factory-feature {
  padding: 28px 24px;
  border-radius: 18px;
  border: 1px solid #ebe7f4;
  background: linear-gradient(165deg, #f3f0fa 0%, #ffffff 70%);
}

.factory-feature h3 {
  margin: 0 0 10px;
  font-family: "Manrope", Helvetica, sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #1b1b1b;
}

.factory-feature p {
  margin: 0;
  font-family: "Manrope", Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  color: #424242;
}

/* Steps */
.factory-steps {
  display: grid;
  gap: 56px;
  width: 100%;
}

.factory-step {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.factory-step:nth-child(even) {
  grid-template-columns: 0.95fr 1.05fr;
}

.factory-step:nth-child(even) .factory-step__copy {
  order: 2;
}

.factory-step:nth-child(even) .factory-shot {
  order: 1;
}

.factory-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: #43328a;
  color: #fff;
  font-family: "Manrope", Helvetica, sans-serif;
  font-weight: 700;
  font-size: 16px;
}

.factory-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
}

.factory-platforms span {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: #efeaf8;
  color: #43328a;
  font-family: "Manrope", Helvetica, sans-serif;
  font-weight: 600;
  font-size: 15px;
}

@media (max-width: 960px) {
  .factory-main,
  .factory-canvas {
    max-width: 100%;
    overflow-x: hidden;
  }

  .factory-inner--split,
  .factory-step,
  .factory-step:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .factory-step:nth-child(even) .factory-step__copy,
  .factory-step:nth-child(even) .factory-shot {
    order: initial;
  }

  .factory-features {
    grid-template-columns: 1fr;
  }

  .factory-section--tint,
  .factory-section--tint-round {
    border-radius: 36px;
  }

  .factory-hero {
    min-height: 0;
    padding: 120px 28px 64px;
  }

  .factory-hero__title {
    margin-bottom: 18px;
    font-size: clamp(34px, 5.5vw, 52px);
  }

  .factory-hero__lead {
    font-size: clamp(15px, 2.2vw, 18px);
  }

  .factory-section {
    padding: 64px 28px;
  }

  .factory-collage-section {
    padding-top: 32px;
    padding-bottom: 64px;
  }

  .factory-inner {
    gap: 28px;
  }

  .factory-steps {
    gap: 40px;
  }

  .factory-step {
    gap: 20px;
  }

  .factory-copy h2 {
    font-size: clamp(24px, 3.4vw, 30px);
  }

  .factory-copy p {
    font-size: 16px;
  }

  .factory-cta {
    min-width: 0;
    width: 100%;
    max-width: 420px;
    height: auto;
    min-height: 52px;
    padding: 14px 20px;
  }

  .factory-cta span {
    white-space: normal;
    text-align: center;
    font-size: 17px;
  }

  .factory-cta--spaced {
    margin: 28px auto 0;
  }

  .factory-feature {
    padding: 22px 18px;
  }

  .factory-feature h3 {
    font-size: 18px;
  }

  .factory-feature p {
    font-size: 15px;
  }

  .factory-cloud {
    width: 280px;
    height: 250px;
    filter: blur(80px);
  }
}

@media (max-width: 749px) {
  .factory-hero {
    padding: 108px 20px 48px;
    border-radius: 0 0 24px 24px;
  }

  .factory-hero__title {
    margin-bottom: 14px;
    font-size: clamp(30px, 9vw, 40px);
    line-height: 1.12;
  }

  .factory-hero__lead {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.45;
  }

  .factory-hero__icon {
    width: min(640px, 120%);
  }

  .factory-section {
    padding: 48px 20px;
  }

  .factory-collage-section {
    padding-top: 24px;
    padding-bottom: 48px;
  }

  .factory-section--tint,
  .factory-section--tint-round {
    border-radius: 28px;
  }

  .factory-inner {
    gap: 22px;
  }

  .factory-copy h2 {
    margin-bottom: 12px;
    font-size: clamp(22px, 6.5vw, 28px);
  }

  .factory-copy p {
    font-size: 15px;
    line-height: 1.45;
  }

  .factory-collage {
    width: 100%;
    margin-top: 4px;
  }

  .factory-steps {
    gap: 32px;
  }

  .factory-step {
    gap: 16px;
  }

  .factory-shot {
    border-radius: 12px;
  }

  .factory-feature {
    padding: 18px 16px;
    border-radius: 14px;
  }

  .factory-feature h3 {
    margin-bottom: 8px;
    font-size: 17px;
  }

  .factory-feature p {
    font-size: 14px;
  }

  .factory-step__num {
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
    font-size: 14px;
  }

  .factory-platforms {
    gap: 8px;
  }

  .factory-platforms span {
    padding: 8px 12px;
    font-size: 13px;
  }

  .factory-cta {
    margin-top: 16px;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 10px;
  }

  .factory-cta span {
    font-size: 16px;
  }

  .factory-cta--spaced {
    margin: 24px auto 0;
  }

  .factory-cloud--a {
    left: -160px;
    top: 0;
  }

  .factory-cloud--b {
    right: -180px;
    bottom: -40px;
  }
}

@media (max-width: 480px) {
  .factory-hero {
    padding: 96px 16px 40px;
  }

  .factory-hero__title {
    font-size: 28px;
  }

  .factory-hero__lead {
    font-size: 14px;
  }

  .factory-section {
    padding: 40px 16px;
  }

  .factory-collage-section {
    padding-top: 16px;
    padding-bottom: 40px;
  }

  .factory-section--tint,
  .factory-section--tint-round {
    border-radius: 22px;
  }

  .factory-copy h2 {
    font-size: 22px;
  }

  .factory-copy p {
    font-size: 14px;
  }

  .factory-feature {
    padding: 16px 14px;
  }

  .factory-cta {
    box-shadow: 0 3px 2px rgba(0, 0, 0, 0.2);
  }

  .factory-cloud {
    width: 200px;
    height: 180px;
    opacity: 0.85;
  }
}

@media (min-width: 1920px) {
  .factory-hero {
    min-height: 720px;
    padding: 180px 24px 120px;
  }

  .factory-hero__title {
    font-size: 79px;
  }

  .factory-hero__lead {
    font-size: 24px;
    max-width: 900px;
  }

  .factory-collage {
    width: min(1100px, 100%);
  }
}

a.factory-cta {
  text-decoration: none;
  color: #fff;
  box-sizing: border-box;
}

a.factory-cta span {
  color: #fff;
}
