.hybrid-hero {
  padding: 48px 20px 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 34%, rgba(239, 224, 201, .78), transparent 28%),
    radial-gradient(circle at 91% 36%, rgba(237, 234, 255, .94), transparent 31%),
    linear-gradient(180deg, #fffdf9 0%, #fbfaf7 72%, #f7f5f1 100%);
  color: #121833;
}

.hybrid-shell {
  width: min(1460px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 34px;
}

.hybrid-copy {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.hybrid-eyebrow {
  margin: 0 0 17px;
  color: #4538d8;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hybrid-copy h1 {
  margin: 0;
  color: #121833;
  font-size: clamp(58px, 7.1vw, 104px);
  font-weight: 830;
  letter-spacing: -.072em;
  line-height: .88;
}

.hybrid-copy h1 span { white-space: nowrap; }

.hybrid-copy h1 em {
  color: #6257f6;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.hybrid-lead {
  margin: 24px 0 0;
  color: #31394f;
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.4;
}

.hybrid-support {
  max-width: 760px;
  margin: 9px auto 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.62;
}

.hybrid-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 23px;
}

.hybrid-text-link {
  color: #121833;
  font-weight: 760;
  text-decoration: none;
}

.hybrid-text-link:hover,
.hybrid-text-link:focus-visible {
  color: #4538d8;
  text-decoration: underline;
}

.hybrid-launch-note {
  margin: 16px 0 0;
  color: #8991a3;
  font-size: 11px;
  line-height: 1.5;
}

.hybrid-studio {
  position: relative;
  width: min(1370px, 100%);
  margin: 0 auto;
  padding-top: 8px;
}

.hybrid-studio::before {
  content: "";
  position: absolute;
  inset: 80px 4% 100px;
  border-radius: 48%;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 45%, rgba(239, 224, 201, .64), transparent 36%),
    radial-gradient(circle at 74% 42%, rgba(98, 87, 246, .13), transparent 43%);
  filter: blur(3px);
}

.hybrid-status {
  position: absolute;
  top: 0;
  right: 2%;
  z-index: 8;
  padding: 8px 12px;
  border: 1px solid rgba(98, 87, 246, .13);
  border-radius: 999px;
  background: rgba(237, 234, 255, .92);
  color: #4538d8;
  font-size: 10px;
  font-weight: 830;
  box-shadow: 0 10px 28px rgba(69, 56, 216, .1);
  transition: background .35s ease, color .35s ease;
}

.hybrid-studio.is-ready .hybrid-status {
  background: #f3e6d2;
  color: #765a34;
}

.hybrid-workspace {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 270px) 70px minmax(620px, 1fr);
  grid-template-rows: 520px auto;
  gap: 18px 8px;
  align-items: center;
  padding: 24px 8px 8px;
}

.hybrid-source-panel,
.hybrid-output-panel { min-width: 0; }

.hybrid-source-panel {
  align-self: start;
  padding-top: 8px;
}

.hybrid-step {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  color: #667085;
  font-size: 11px;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.hybrid-step span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: #6257f6;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}

.hybrid-step strong { color: #30384d; font-size: 10px; }

.hybrid-source-card {
  margin: 0;
  padding: 8px;
  border: 1px solid #dfe4ef;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 26px 60px rgba(23, 28, 56, .15);
  transform: rotate(-2.2deg);
  transition: transform .55s cubic-bezier(.22, .8, .22, 1), opacity .4s ease;
}

.hybrid-source-image {
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  border-radius: 13px;
  background: #eef0f5;
}

.hybrid-source-image img,
.hybrid-output-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hybrid-source-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 5px 4px;
}

.hybrid-source-card figcaption span {
  color: #121833;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hybrid-source-card figcaption small { color: #8991a3; font-size: 9px; }

.hybrid-upload {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 11px 12px;
  border: 1px dashed #a9a2ff;
  border-radius: 14px;
  background: rgba(255, 255, 255, .8);
  color: #2d3550;
  text-align: left;
  cursor: pointer;
}

.hybrid-upload > span:first-child {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: #6257f6;
  color: #fff;
  font-size: 17px;
}

.hybrid-upload > span:last-child { display: grid; gap: 2px; }
.hybrid-upload strong { font-size: 10px; }
.hybrid-upload small { color: #8991a3; font-size: 8px; }

.hybrid-upload:hover,
.hybrid-upload:focus-visible { border-color: #6257f6; background: #f4f2ff; }

.hybrid-arrow {
  display: grid;
  align-self: center;
  place-items: center;
  padding-top: 42px;
}

.hybrid-arrow > span {
  position: relative;
  width: 48px;
  height: 2px;
  overflow: hidden;
  background: #c7cbd8;
}

.hybrid-arrow > span::before,
.hybrid-arrow > span::after {
  content: "";
  position: absolute;
}

.hybrid-arrow > span::before {
  top: -3px;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid #8d87bd;
  border-right: 2px solid #8d87bd;
  transform: rotate(45deg);
}

.hybrid-arrow > span::after {
  inset: 0;
  background: linear-gradient(90deg, transparent, #6257f6, transparent);
  transform: translateX(-100%);
}

.hybrid-studio.is-processing .hybrid-arrow > span::after { animation: hybrid-flow 1s ease-in-out infinite; }
@keyframes hybrid-flow { to { transform: translateX(100%); } }

.hybrid-output-panel {
  align-self: stretch;
  padding-top: 8px;
}

.hybrid-deck {
  position: relative;
  height: 465px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 54%, rgba(255, 255, 255, .96), rgba(237, 234, 255, .56) 64%, transparent 70%);
}

.hybrid-deck::before {
  content: "Generated views";
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 8;
  color: #6257f6;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hybrid-output-card {
  position: absolute;
  top: 84px;
  left: 50%;
  width: 24%;
  max-width: 190px;
  min-width: 145px;
  margin: 0;
  padding: 7px;
  border: 1px solid #e1e5ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 48px rgba(31, 35, 68, .17);
  opacity: 0;
  transform: translate(-76%, 48px) rotate(-15deg) scale(.78);
  transform-origin: 50% 100%;
  transition: transform .88s cubic-bezier(.16, 1, .3, 1), opacity .5s ease;
  will-change: transform, opacity;
}

.hybrid-output-card > div {
  aspect-ratio: .84 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: #eef0f5;
}

.hybrid-output-card figcaption {
  padding: 8px 3px 3px;
  color: #4b5563;
  font-size: 9px;
  font-weight: 820;
  text-align: center;
}

.hybrid-card-main { z-index: 3; }
.hybrid-card-detail { z-index: 4; }
.hybrid-card-use { z-index: 6; }
.hybrid-card-life { z-index: 4; }
.hybrid-card-campaign { z-index: 3; }

.hybrid-studio.is-dealt .hybrid-card-main { opacity: 1; transform: translate(-215%, 48px) rotate(-10deg) scale(.94); transition-delay: .05s; }
.hybrid-studio.is-dealt .hybrid-card-detail { opacity: 1; transform: translate(-132%, 18px) rotate(-5deg) scale(.98); transition-delay: .18s; }
.hybrid-studio.is-dealt .hybrid-card-use { opacity: 1; transform: translate(-50%, 0) rotate(0deg) scale(1.02); transition-delay: .31s; }
.hybrid-studio.is-dealt .hybrid-card-life { opacity: 1; transform: translate(32%, 18px) rotate(5deg) scale(.98); transition-delay: .44s; }
.hybrid-studio.is-dealt .hybrid-card-campaign { opacity: 1; transform: translate(115%, 48px) rotate(10deg) scale(.94); transition-delay: .57s; }

.hybrid-progress {
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 35px;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e4ec;
  opacity: 0;
  transition: opacity .25s ease;
}

.hybrid-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6257f6, #8e83ff, #7de4b6);
}

.hybrid-studio.is-processing:not(.is-dealt) .hybrid-progress { opacity: 1; }
.hybrid-studio.is-processing:not(.is-dealt) .hybrid-progress span { animation: hybrid-progress 1.1s ease forwards; }
@keyframes hybrid-progress { to { width: 100%; } }

.hybrid-listing {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(220px, 1.35fr) minmax(220px, 1.2fr) minmax(170px, .85fr);
  gap: 11px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid rgba(98, 87, 246, .15);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(245,243,255,.94), rgba(236,233,255,.94));
  box-shadow: 0 20px 52px rgba(69, 56, 216, .09);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .7s cubic-bezier(.16, 1, .3, 1);
}

.hybrid-studio.is-ready .hybrid-listing { opacity: 1; transform: translateY(0); }

.hybrid-listing-heading { display: flex; align-items: center; gap: 9px; }

.hybrid-listing-heading > span {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #6257f6;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}

.hybrid-listing-heading > div { display: grid; gap: 4px; }

.hybrid-listing small,
.hybrid-fields small {
  color: #6257f6;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.hybrid-listing-heading strong { font-size: 12px; line-height: 1.2; }

.hybrid-listing > p {
  margin: 0;
  padding: 9px 11px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .72);
  color: #667085;
  font-size: 9px;
  line-height: 1.45;
}

.hybrid-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }

.hybrid-fields div {
  min-width: 0;
  padding: 9px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .76);
}

.hybrid-fields strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  font-size: 8px;
  line-height: 1.3;
}

.hybrid-draft {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 12px;
  background: #f3e6d2;
  color: #121833;
}

.hybrid-draft > span {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #6257f6;
  color: #fff;
  font-weight: 900;
}

.hybrid-draft div { display: grid; gap: 2px; }
.hybrid-draft small { color: #39705c; text-transform: none; }
.hybrid-draft strong { font-size: 9px; line-height: 1.2; }

.hybrid-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.hybrid-dots {
  display: flex;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid #dfe4ef;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
}

.hybrid-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d3d7e2;
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.hybrid-dots button[aria-pressed="true"] { width: 24px; background: #6257f6; }

.hybrid-pause {
  min-height: 31px;
  padding: 0 12px;
  border: 1px solid #dfe4ef;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #4b5563;
  font-size: 9px;
  font-weight: 760;
  cursor: pointer;
}

.hybrid-studio.is-changing .hybrid-source-card,
.hybrid-studio.is-changing .hybrid-output-panel,
.hybrid-studio.is-changing .hybrid-listing {
  opacity: 0;
  transform: translateY(7px) scale(.985);
  transition: opacity .28s ease, transform .35s ease;
}

.hybrid-proof {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: -4px 0 0;
  padding: 0;
  color: #4f586d;
  font-size: 13px;
  list-style: none;
}

.hybrid-proof li::before {
  content: "✓";
  margin-right: 7px;
  color: #6257f6;
  font-weight: 900;
}

@media (max-width: 1120px) {
  .hybrid-workspace {
    grid-template-columns: minmax(190px, 235px) 48px minmax(500px, 1fr);
    grid-template-rows: 470px auto;
  }
  .hybrid-deck { height: 425px; }
  .hybrid-output-card { min-width: 122px; top: 78px; }
  .hybrid-listing { grid-template-columns: 1fr 1.25fr 1.15fr; }
  .hybrid-draft { grid-column: 1 / -1; justify-content: center; }
}

@media (max-width: 840px) {
  .hybrid-copy h1 { font-size: clamp(55px, 12vw, 82px); }
  .hybrid-workspace {
    grid-template-columns: 180px 34px minmax(410px, 1fr);
    grid-template-rows: 430px auto;
  }
  .hybrid-source-panel { padding-top: 22px; }
  .hybrid-deck { height: 385px; }
  .hybrid-output-card { min-width: 106px; top: 72px; padding: 5px; }
  .hybrid-arrow > span { width: 28px; }
}

@media (max-width: 720px) {
  .hybrid-hero { padding: 34px 10px 28px; }
  .hybrid-shell { gap: 28px; }
  .hybrid-copy { padding: 0 10px; }
  .hybrid-copy h1 { font-size: clamp(48px, 13.7vw, 65px); }
  .hybrid-lead { font-size: 18px; }
  .hybrid-support { font-size: 14px; }
  .hybrid-actions { flex-direction: column; gap: 13px; }
  .hybrid-status { top: -4px; right: 8px; }
  .hybrid-workspace {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 15px;
    padding: 18px 4px 6px;
  }
  .hybrid-source-panel {
    display: grid;
    grid-template-columns: 135px 1fr;
    gap: 11px;
    align-items: end;
    padding: 0 8px;
  }
  .hybrid-source-panel .hybrid-step { grid-column: 1 / -1; margin-bottom: 0; }
  .hybrid-source-card { grid-column: 1; }
  .hybrid-source-image { aspect-ratio: .9 / 1; }
  .hybrid-source-card figcaption { display: grid; gap: 2px; }
  .hybrid-upload { grid-column: 2; margin: 0 0 6px; }
  .hybrid-arrow { display: none; }
  .hybrid-output-panel { grid-row: 2; }
  .hybrid-deck { height: 345px; }
  .hybrid-output-card { width: 28%; min-width: 96px; top: 65px; }
  .hybrid-studio.is-dealt .hybrid-card-main { transform: translate(-170%, 42px) rotate(-10deg) scale(.9); }
  .hybrid-studio.is-dealt .hybrid-card-detail { transform: translate(-110%, 17px) rotate(-5deg) scale(.95); }
  .hybrid-studio.is-dealt .hybrid-card-use { transform: translate(-50%, 0) scale(.99); }
  .hybrid-studio.is-dealt .hybrid-card-life { transform: translate(10%, 17px) rotate(5deg) scale(.95); }
  .hybrid-studio.is-dealt .hybrid-card-campaign { transform: translate(70%, 42px) rotate(10deg) scale(.9); }
  .hybrid-listing { grid-row: 3; grid-template-columns: 1fr 1fr; margin: 0 4px; }
  .hybrid-listing > p { grid-column: 1 / -1; }
  .hybrid-draft { grid-column: auto; justify-content: flex-start; }
  .hybrid-proof { flex-wrap: wrap; gap: 8px 17px; margin-top: 0; font-size: 12px; }
}

@media (max-width: 440px) {
  .hybrid-copy h1 { font-size: clamp(45px, 13vw, 56px); }
  .hybrid-deck { height: 308px; }
  .hybrid-output-card { min-width: 88px; top: 61px; padding: 4px; }
  .hybrid-output-card figcaption { font-size: 8px; }
  .hybrid-listing { grid-template-columns: 1fr; }
  .hybrid-listing > p,
  .hybrid-fields,
  .hybrid-draft { grid-column: 1; }
  .hybrid-controls { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .hybrid-output-card,
  .hybrid-listing,
  .hybrid-source-card,
  .hybrid-output-panel { transition: none !important; }
  .hybrid-arrow > span::after,
  .hybrid-progress span { animation: none !important; }
}
