@import url("/assets/css/design-system.css");

body.studio-flow-page {
  --studio-flow-width: 1180px;
  --studio-flow-gutter: 40px;
  --studio-flow-container: min(var(--studio-flow-width), calc(100% - var(--studio-flow-gutter)));
  --studio-flow-ink: #17171d;
  --studio-flow-muted: rgba(23, 23, 29, .64);
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 12% 4%, rgba(91, 63, 242, .055), transparent 24rem),
    radial-gradient(ellipse at 92% 18%, rgba(45, 212, 191, .065), transparent 24rem),
    linear-gradient(180deg, #fbfaf7 0%, #fff 48%, #f8f8f5 100%);
  color: var(--studio-flow-ink);
  font-family: var(--laerry-font, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

body.studio-flow-page *,
body.studio-flow-page *::before,
body.studio-flow-page *::after {
  box-sizing: border-box;
}

.studio-flow-main {
  overflow: hidden;
}

.studio-flow-shell {
  width: var(--studio-flow-container);
  margin: 0 auto;
}

.studio-flow-hero {
  padding: clamp(58px, 8vw, 106px) 0 clamp(34px, 5vw, 64px);
}

.studio-flow-hero .studio-flow-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .42fr);
  gap: clamp(26px, 5vw, 62px);
  align-items: end;
}

.studio-flow-eyebrow {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 16px;
  padding: .52rem .78rem;
  border: 1px solid rgba(91, 63, 242, .12);
  border-radius: 999px;
  background: rgba(239, 236, 255, .76);
  color: #4835c7;
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
}

.studio-flow-hero h1,
.studio-flow-section-head h2,
.studio-flow-cta h2 {
  margin: 0;
  color: var(--studio-flow-ink);
  letter-spacing: 0;
}

.studio-flow-hero h1 {
  max-width: 820px;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  font-weight: 820;
  line-height: .98;
  hyphens: auto;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.studio-flow-hero-copy > p:not(.studio-flow-eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--studio-flow-muted);
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  font-weight: 400;
  line-height: 1.62;
}

.studio-flow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.studio-flow-actions-center {
  justify-content: center;
}

.studio-flow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.24rem;
  border-radius: 8px;
  font-weight: 820;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.studio-flow-btn:hover {
  transform: translateY(-1px);
}

.studio-flow-btn-primary {
  background: #17171d;
  color: #fff;
  box-shadow: 0 18px 42px rgba(23, 23, 29, .17);
}

.studio-flow-btn-secondary {
  border: 1px solid rgba(23, 23, 29, .09);
  background: rgba(255, 255, 255, .76);
  color: var(--studio-flow-ink);
}

.studio-flow-btn-secondary-light {
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.studio-flow-proof {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(23, 23, 29, .08);
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 20px 56px rgba(31, 27, 46, .07);
}

.studio-flow-proof span {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid rgba(23, 23, 29, .07);
  border-radius: 12px;
  background: #fff;
  color: rgba(23, 23, 29, .72);
  font-weight: 760;
}

.studio-flow-icon {
  width: 20px;
  height: 20px;
}

.studio-flow-proof .studio-flow-icon {
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 9px;
  background: #efecff;
  color: #4835c7;
}

.studio-flow-stage-section,
.studio-flow-steps-section {
  padding: clamp(36px, 6vw, 76px) 0;
}

.studio-flow-section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.studio-flow-section-head h2,
.studio-flow-cta h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 780;
  line-height: 1;
  text-wrap: balance;
}

.studio-flow-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 29, .10);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 10% 38%, rgba(235, 233, 226, .88), rgba(235, 233, 226, .56) 32%, transparent 64%),
    radial-gradient(ellipse at 78% 42%, rgba(177, 153, 118, .34), rgba(177, 153, 118, .20) 28%, transparent 60%),
    radial-gradient(ellipse at 52% 6%, rgba(186, 181, 171, .44), rgba(186, 181, 171, .26) 32%, transparent 68%),
    linear-gradient(125deg, #ecebea 0%, #dedbd5 34%, #d1c9bc 62%, #b79b71 84%, #7f7a71 100%);
  background-size: 128% 128%, 140% 140%, 132% 132%, 180% 180%;
  animation: studioFlowStageGradient 20s ease-in-out infinite alternate;
  box-shadow: 0 30px 90px rgba(31, 27, 46, .12);
}

.studio-flow-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 67% 50%, rgba(255, 255, 255, .48), transparent 42%),
    linear-gradient(90deg, rgba(255, 255, 255, .30), transparent 38%, transparent 76%, rgba(60, 55, 48, .10));
  pointer-events: none;
}

.studio-flow-topbar {
  position: relative;
  z-index: 2;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(22px, 3vw, 34px);
  border-bottom: 1px solid rgba(23, 23, 29, .08);
  background: rgba(255, 255, 255, .66);
  backdrop-filter: blur(14px);
}

.studio-flow-topbar div,
.studio-flow-topbar strong {
  min-width: 0;
}

.studio-flow-topbar div > span {
  display: block;
  margin-bottom: 4px;
  color: rgba(23, 23, 29, .48);
  font-size: .76rem;
  font-weight: 540;
}

.studio-flow-topbar strong {
  position: relative;
  display: block;
  width: min(620px, 54vw);
  height: 1.35em;
  overflow: hidden;
  color: #17171d;
  font-size: .98rem;
  font-weight: 720;
}

.studio-flow-topbar strong span {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  animation: studioFlowContext 16s ease-in-out infinite;
}

.studio-flow-topbar strong span:nth-child(2) { animation-delay: 4s; }
.studio-flow-topbar strong span:nth-child(3) { animation-delay: 8s; }
.studio-flow-topbar strong span:nth-child(4) { animation-delay: 12s; }

.studio-flow-topbar em,
.studio-flow-prompt-card > span,
.studio-flow-output-card > span,
.studio-flow-unit-card > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  color: rgba(23, 23, 29, .58);
  font-style: normal;
  font-size: .82rem;
  font-weight: 640;
}

.studio-flow-topbar em {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(23, 23, 29, .08);
  border-radius: 8px;
  background: #fff;
  white-space: nowrap;
}

.studio-flow-board {
  position: relative;
  z-index: 1;
  min-height: clamp(540px, 48vw, 660px);
  padding: clamp(24px, 4vw, 56px);
}

.studio-flow-prompt-card,
.studio-flow-output-card,
.studio-flow-unit-card {
  position: absolute;
  border: 1px solid rgba(23, 23, 29, .08);
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 22px 62px rgba(23, 24, 28, .12);
}

.studio-flow-prompt-card {
  left: clamp(22px, 4vw, 62px);
  top: 50%;
  width: min(330px, 32%);
  min-height: 260px;
  display: grid;
  align-content: start;
  padding: 24px;
  transform: translateY(-50%);
}

.studio-flow-prompt-card strong {
  display: block;
  margin-top: 22px;
  color: #17171d;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 820;
  line-height: 1.08;
}

.studio-flow-prompt-lines {
  position: relative;
  min-height: 126px;
  margin-top: 26px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 29, .07);
  border-radius: 12px;
  background: rgba(248, 248, 245, .90);
}

.studio-flow-prompt-lines p {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 16px;
  margin: 0;
  opacity: 0;
  animation: studioFlowPrompt 12s ease-in-out infinite;
}

.studio-flow-prompt-lines p:nth-child(2) { animation-delay: 4s; }
.studio-flow-prompt-lines p:nth-child(3) { animation-delay: 8s; }

.studio-flow-prompt-lines p span {
  display: block;
  color: rgba(23, 23, 29, .70);
  font-size: .93rem;
  line-height: 1.42;
}

.studio-flow-prompt-lines i {
  position: absolute;
  left: 16px;
  bottom: 18px;
  width: 34px;
  height: 10px;
  background:
    radial-gradient(circle, rgba(23, 23, 29, .42) 45%, transparent 48%) 0 50% / 6px 6px no-repeat,
    radial-gradient(circle, rgba(23, 23, 29, .42) 45%, transparent 48%) 50% 50% / 6px 6px no-repeat,
    radial-gradient(circle, rgba(23, 23, 29, .42) 45%, transparent 48%) 100% 50% / 6px 6px no-repeat;
  animation: studioFlowLoader 1.3s ease-in-out infinite;
}

.studio-flow-output-card {
  right: clamp(22px, 4vw, 62px);
  top: 50%;
  width: min(660px, 58%);
  min-height: 390px;
  display: grid;
  align-content: center;
  padding: clamp(26px, 4vw, 42px);
  opacity: 0;
  transform: translateY(-50%) translateX(28px);
  animation: studioFlowOutput 16s ease-in-out infinite;
}

.studio-flow-output-card-listening { animation-delay: 0s; }
.studio-flow-output-card-worksheet { animation-delay: 4s; }
.studio-flow-output-card-quiz { animation-delay: 8s; }

.studio-flow-output-card strong,
.studio-flow-unit-card strong {
  display: block;
  margin-top: 14px;
  color: #17171d;
  font-size: clamp(1.5rem, 2.7vw, 2.35rem);
  font-weight: 820;
  line-height: 1.06;
}

.studio-flow-wave {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 62px;
  margin-top: 22px;
}

.studio-flow-wave i {
  width: 7px;
  height: 24px;
  border-radius: 99px;
  background: #17171d;
  opacity: .72;
  animation: studioFlowWave 1.7s ease-in-out infinite;
}

.studio-flow-wave i:nth-child(2) { height: 42px; animation-delay: .08s; }
.studio-flow-wave i:nth-child(3) { height: 58px; animation-delay: .16s; }
.studio-flow-wave i:nth-child(4) { height: 35px; animation-delay: .24s; }
.studio-flow-wave i:nth-child(5) { height: 50px; animation-delay: .32s; }
.studio-flow-wave i:nth-child(6) { height: 30px; animation-delay: .4s; }
.studio-flow-wave i:nth-child(7) { height: 44px; animation-delay: .48s; }

.studio-flow-caption-preview,
.studio-flow-sheet-preview,
.studio-flow-quiz-preview,
.studio-flow-unit-card div {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(23, 23, 29, .07);
  border-radius: 14px;
  background: rgba(248, 248, 245, .90);
}

.studio-flow-caption-preview,
.studio-flow-sheet-preview {
  display: grid;
  gap: 12px;
}

.studio-flow-caption-preview i,
.studio-flow-sheet-preview i,
.studio-flow-sheet-preview b {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(23, 23, 29, .12);
}

.studio-flow-caption-preview i:nth-child(2),
.studio-flow-sheet-preview i:nth-child(2) { width: 54%; }
.studio-flow-caption-preview i:nth-child(3),
.studio-flow-sheet-preview i:nth-child(3) { width: 86%; }
.studio-flow-caption-preview i:nth-child(4),
.studio-flow-sheet-preview i:nth-child(4) { width: 72%; }

.studio-flow-sheet-preview b {
  height: 12px;
  background: rgba(91, 63, 242, .15);
}

.studio-flow-sheet-preview b:nth-of-type(2) { width: 78%; }
.studio-flow-sheet-preview b:nth-of-type(3) { width: 46%; }

.studio-flow-quiz-preview {
  display: grid;
  gap: 11px;
}

.studio-flow-quiz-preview i {
  position: relative;
  display: block;
  height: 38px;
  border: 1px solid rgba(23, 23, 29, .08);
  border-radius: 10px;
  background: #fff;
}

.studio-flow-quiz-preview i::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 58%;
  height: 7px;
  border-radius: 999px;
  background: rgba(23, 23, 29, .18);
  transform: translateY(-50%);
}

.studio-flow-quiz-preview i:nth-child(2)::before { width: 74%; }
.studio-flow-quiz-preview i:nth-child(4)::before { width: 42%; }

.studio-flow-quiz-preview i.is-selected {
  border-color: rgba(34, 197, 94, .24);
  background: rgba(240, 253, 244, .9);
}

.studio-flow-quiz-preview i.is-selected::after {
  content: "";
  position: absolute;
  right: 13px;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #22c55e;
  transform: translateY(-50%);
}

.studio-flow-unit-card {
  right: clamp(24px, 5vw, 86px);
  bottom: clamp(20px, 3.4vw, 46px);
  z-index: 3;
  width: min(280px, 28%);
  padding: 18px;
  opacity: 0;
  transform: translateY(14px);
  animation: studioFlowUnit 16s ease-in-out infinite;
}

.studio-flow-unit-card strong {
  font-size: 1.05rem;
}

.studio-flow-unit-card div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  padding: 10px;
}

.studio-flow-unit-card div i {
  min-height: 38px;
  border-radius: 9px;
  background:
    linear-gradient(90deg, rgba(23, 23, 29, .16), rgba(23, 23, 29, .16)) 10px 12px / 48% 6px no-repeat,
    linear-gradient(90deg, rgba(91, 63, 242, .18), rgba(91, 63, 242, .18)) 10px 25px / 62% 6px no-repeat,
    #fff;
}

.studio-flow-stage {
  min-height: clamp(680px, 58vw, 820px);
  border-color: rgba(23, 23, 29, .07);
  background:
    radial-gradient(circle, rgba(23, 23, 29, .14) 1.6px, transparent 1.8px) 0 0 / 28px 28px,
    linear-gradient(180deg, #fff 0%, #fbfaf7 100%);
  animation: none;
  box-shadow: 0 28px 78px rgba(31, 27, 46, .08);
}

.studio-flow-stage::before {
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, .08), rgba(255, 255, 255, .74) 68%),
    linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, 0) 24%, rgba(255, 255, 255, .34));
}

.studio-flow-appbar {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 28px);
}

.studio-flow-app-tabs {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 29, .09);
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 42px rgba(31, 27, 46, .07);
}

.studio-flow-app-tabs span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 18px;
  border-right: 1px solid rgba(23, 23, 29, .08);
  color: rgba(23, 23, 29, .92);
  font-size: .98rem;
  font-weight: 830;
  white-space: nowrap;
}

.studio-flow-app-tabs span:last-child {
  border-right: 0;
}

.studio-flow-app-tabs span:nth-child(2) {
  font-weight: 560;
}

.studio-flow-board {
  min-height: clamp(560px, 47vw, 680px);
  padding: 0 clamp(22px, 4vw, 52px) clamp(28px, 4vw, 52px);
}

.studio-flow-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transform: translateY(16px) scale(.99);
  pointer-events: none;
  animation: studioFlowScene 36s ease-in-out infinite;
}

.studio-flow-scene-1 { animation-delay: 0s; }
.studio-flow-scene-2 { animation-delay: 6s; }
.studio-flow-scene-3 { animation-delay: 12s; }
.studio-flow-scene-4 { animation-delay: 18s; }
.studio-flow-scene-5 { animation-delay: 24s; }
.studio-flow-scene-6 { animation-delay: 30s; }

.studio-flow-dialog-card,
.studio-flow-summary-card,
.studio-flow-ready-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(700px, calc(100% - 80px));
  padding: clamp(22px, 3.4vw, 36px);
  border: 1px solid rgba(23, 23, 29, .08);
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 26px 74px rgba(31, 27, 46, .10);
  transform: translate(-50%, -50%);
}

.studio-flow-dialog-card-compact {
  width: min(720px, calc(100% - 80px));
}

.studio-flow-dialog-card.is-focused {
  border-color: rgba(80, 120, 255, .80);
  box-shadow: 0 0 0 3px rgba(80, 120, 255, .14), 0 26px 74px rgba(31, 27, 46, .10);
}

.studio-flow-dialog-card h3,
.studio-flow-dialog-card h4 {
  margin: 0;
  color: #17171d;
  letter-spacing: 0;
}

.studio-flow-dialog-card h3 {
  font-size: clamp(1.18rem, 1.9vw, 1.55rem);
  font-weight: 850;
  line-height: 1.18;
}

.studio-flow-dialog-card h4 {
  margin-top: 16px;
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  font-weight: 800;
  line-height: 1.2;
}

.studio-flow-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.studio-flow-choice-row span,
.studio-flow-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(23, 23, 29, .09);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #17171d;
  font-size: .98rem;
  font-weight: 850;
  line-height: 1.1;
  box-shadow: 0 10px 30px rgba(31, 27, 46, .05);
}

.studio-flow-pill {
  position: absolute;
  right: clamp(20px, 3vw, 34px);
  top: clamp(20px, 3vw, 30px);
}

.studio-flow-pill-small {
  top: calc(clamp(20px, 3vw, 30px) + 56px);
  font-size: .94rem;
}

.studio-flow-pill-small + .studio-flow-pill-small {
  top: calc(clamp(20px, 3vw, 30px) + 112px);
}

.studio-flow-input-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  margin-top: 18px;
  padding: 10px 10px 10px 18px;
  border: 1px solid rgba(23, 23, 29, .08);
  border-radius: 18px;
  background: #fff;
}

.studio-flow-input-shell > span {
  min-width: 0;
  overflow: hidden;
  color: rgba(23, 23, 29, .38);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-weight: 520;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-flow-input-shell strong {
  display: inline-flex;
  color: #17171d;
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
  font-weight: 560;
}

.studio-flow-input-shell strong::after {
  content: "";
  width: 2px;
  height: 1.25em;
  margin-left: 2px;
  background: #17171d;
  animation: studioFlowCaret 1s steps(2, end) infinite;
}

.studio-flow-input-shell b {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #111827;
  color: #fff;
}

.studio-flow-context-row {
  position: absolute;
  left: clamp(20px, 3vw, 34px);
  top: 22px;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(280px, 1fr);
  gap: 14px;
  width: min(650px, calc(100% - 80px));
}

.studio-flow-context-row article {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(23, 23, 29, .08);
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 46px rgba(31, 27, 46, .07);
}

.studio-flow-context-row span,
.studio-flow-material-card span,
.studio-flow-ready-card > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(23, 23, 29, .58);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.studio-flow-context-row strong {
  display: block;
  margin-top: 6px;
  color: #17171d;
  font-size: 1.22rem;
  font-weight: 880;
}

.studio-flow-context-row small {
  display: block;
  margin-top: 4px;
  color: rgba(23, 23, 29, .56);
  font-size: .94rem;
  font-weight: 680;
}

.studio-flow-context-row p {
  margin: 8px 0 0;
  color: rgba(23, 23, 29, .66);
  font-weight: 720;
  line-height: 1.28;
}

.studio-flow-summary-card {
  top: 26%;
  width: min(780px, calc(100% - 120px));
}

.studio-flow-summary-card > div {
  position: absolute;
  right: 28px;
  top: 24px;
  display: grid;
  gap: 10px;
  justify-items: end;
}

.studio-flow-summary-card .studio-flow-pill {
  position: static;
}

.studio-flow-summary-card p {
  max-width: 620px;
  margin: 84px 0 0;
  color: #17171d;
  font-size: clamp(1.16rem, 1.7vw, 1.44rem);
  font-weight: 850;
  line-height: 1.26;
}

.studio-flow-material-head {
  position: absolute;
  left: 50%;
  top: 53%;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  transform: translateX(-50%);
}

.studio-flow-material-head strong {
  color: #17171d;
  font-size: 1.08rem;
  font-weight: 880;
}

.studio-flow-material-head span {
  color: rgba(23, 23, 29, .52);
  font-weight: 760;
}

.studio-flow-material-row {
  position: absolute;
  left: max(28px, calc(50% - 520px));
  right: 28px;
  bottom: 16px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 310px);
  gap: 14px;
  overflow: hidden;
}

.studio-flow-material-card {
  position: relative;
}

.studio-flow-material-card,
.studio-flow-ready-card {
  min-height: 340px;
  padding: 22px;
  border: 1px solid rgba(23, 23, 29, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 20px 54px rgba(31, 27, 46, .08);
}

.studio-flow-material-card strong,
.studio-flow-ready-card strong {
  display: block;
  margin-top: 10px;
  color: #17171d;
  font-size: 1.12rem;
  font-weight: 880;
  line-height: 1.1;
}

.studio-flow-material-card p,
.studio-flow-ready-card p {
  margin: 12px 0 14px;
  color: rgba(23, 23, 29, .62);
  font-weight: 700;
  line-height: 1.36;
}

.studio-flow-material-card em,
.studio-flow-ready-card em {
  display: inline-flex;
  max-width: 100%;
  margin: 0 5px 8px 0;
  padding: 6px 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #f5f5f6;
  color: rgba(23, 23, 29, .76);
  font-style: normal;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-flow-material-card button {
  position: absolute;
  right: 20px;
  bottom: 20px;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #17171d;
  color: #fff;
  font: inherit;
  font-size: .9rem;
  font-weight: 850;
}

.studio-flow-ready-card {
  top: 54%;
  width: min(360px, calc(100% - 80px));
}

.studio-flow-scene-4 .studio-flow-dialog-card {
  top: 60%;
}

.studio-flow-scene-6 .studio-flow-material-head {
  top: 24%;
}

.studio-flow-scene-6 .studio-flow-ready-card {
  top: 56%;
}

.studio-flow-preview-box {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 260px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #edf0f4, #f8f9fb);
  color: rgba(23, 23, 29, .48);
}

.studio-flow-preview-box .studio-flow-icon {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
}

.studio-flow-preview-box span {
  font-weight: 780;
}

.studio-flow-board-guided {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  width: min(860px, calc(100% - 36px));
  min-height: 0;
  margin: 12px auto 0;
  padding: 0 0 clamp(26px, 4vw, 44px);
}

.studio-flow-spine {
  position: absolute;
  left: 50%;
  top: 112px;
  bottom: 36px;
  z-index: 0;
  width: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(23, 23, 29, .08);
  transform: translateX(-50%);
}

.studio-flow-spine::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 30%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(91, 63, 242, 0), rgba(91, 63, 242, .72), rgba(45, 212, 191, .72));
  animation: studioFlowSpine 12s ease-in-out infinite;
}

.studio-flow-spine i {
  position: absolute;
  left: 50%;
  width: 13px;
  height: 13px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #17171d;
  box-shadow: 0 0 0 8px rgba(23, 23, 29, .055);
  transform: translate(-50%, -50%);
}

.studio-flow-spine i:nth-child(1) { top: 4%; }
.studio-flow-spine i:nth-child(2) { top: 26%; }
.studio-flow-spine i:nth-child(3) { top: 48%; }
.studio-flow-spine i:nth-child(4) { top: 70%; }
.studio-flow-spine i:nth-child(5) { top: 94%; }

.studio-flow-guided-card {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: clamp(18px, 2.7vw, 28px);
  border: 1px solid rgba(23, 23, 29, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 20px 58px rgba(31, 27, 46, .085);
  animation: studioFlowGuidedCard 12s ease-in-out infinite;
}

.studio-flow-guided-card:nth-of-type(2n) {
  justify-self: end;
}

.studio-flow-guided-card-prompt { animation-delay: 0s; }
.studio-flow-guided-card-questions { animation-delay: .55s; }
.studio-flow-guided-card-context { animation-delay: 1.1s; }
.studio-flow-guided-card-suggestions { animation-delay: 1.65s; }
.studio-flow-guided-card-ready { animation-delay: 2.2s; }

.studio-flow-step-label {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 30px;
  align-items: center;
  margin-bottom: 14px;
  padding: 0 10px;
  border: 1px solid rgba(23, 23, 29, .08);
  border-radius: 999px;
  background: #f8f8f5;
  color: rgba(23, 23, 29, .58);
  font-size: .78rem;
  font-weight: 820;
  line-height: 1.1;
}

.studio-flow-guided-card h3 {
  margin: 0;
  color: #17171d;
  font-size: clamp(1.18rem, 1.9vw, 1.55rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.16;
}

.studio-flow-guided-card .studio-flow-choice-row {
  margin-top: 16px;
}

.studio-flow-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.studio-flow-chip-cloud span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: rgba(23, 23, 29, .68);
  font-size: .84rem;
  font-weight: 820;
}

.studio-flow-skeleton-lines,
.studio-flow-unit-skeleton {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(23, 23, 29, .07);
  border-radius: 12px;
  background: #fbfaf7;
}

.studio-flow-skeleton-lines i,
.studio-flow-unit-skeleton i,
.studio-flow-suggestion-grid i {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: rgba(23, 23, 29, .12);
}

.studio-flow-skeleton-lines i:nth-child(2),
.studio-flow-unit-skeleton i:nth-child(2),
.studio-flow-suggestion-grid i:nth-of-type(2) {
  width: 68%;
}

.studio-flow-skeleton-lines i:nth-child(3) {
  width: 84%;
}

.studio-flow-unit-skeleton span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: rgba(23, 23, 29, .62);
  font-size: .84rem;
  font-weight: 850;
}

.studio-flow-suggestion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.studio-flow-suggestion-grid div {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(23, 23, 29, .08);
  border-radius: 14px;
  background: #fbfaf7;
}

.studio-flow-suggestion-grid span,
.studio-flow-ready-grid span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(23, 23, 29, .72);
  font-size: .86rem;
  font-weight: 850;
}

.studio-flow-suggestion-grid button {
  align-self: end;
  justify-self: start;
  min-height: 38px;
  margin-top: auto;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #17171d;
  color: #fff;
  font: inherit;
  font-size: .86rem;
  font-weight: 850;
}

.studio-flow-ready-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.studio-flow-ready-grid span {
  min-height: 58px;
  justify-content: center;
  padding: 10px;
  border: 1px solid rgba(23, 23, 29, .08);
  border-radius: 12px;
  background: #f8f8f5;
  text-align: center;
}

.studio-flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.studio-flow-steps article {
  min-height: 250px;
  padding: 22px;
  border: 1px solid rgba(23, 23, 29, .08);
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 52px rgba(31, 27, 46, .06);
}

.studio-flow-steps span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 54px;
  color: rgba(23, 23, 29, .42);
  font-size: .86rem;
  font-weight: 850;
}

.studio-flow-steps h3 {
  margin: 0 0 10px;
  color: #17171d;
  font-size: 1.24rem;
  line-height: 1.12;
}

.studio-flow-steps p {
  margin: 0;
  color: rgba(23, 23, 29, .62);
  font-weight: 400;
  line-height: 1.52;
}

.studio-flow-cta {
  padding: clamp(68px, 9vw, 120px) 0;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 10% 10%, rgba(45, 212, 191, .26), transparent 24rem),
    linear-gradient(135deg, #17171d 0%, #2a2256 72%, #17171d 100%);
}

.studio-flow-cta h2 {
  max-width: 920px;
  margin-inline: auto;
  color: #fff;
}

.studio-flow-cta p {
  max-width: 640px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, .72);
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.55;
}

@keyframes studioFlowStageGradient {
  0% { background-position: 0% 42%, 86% 48%, 48% 8%, 0% 50%; }
  100% { background-position: 10% 38%, 74% 56%, 56% 18%, 100% 50%; }
}

@keyframes studioFlowContext {
  0%, 18% { opacity: 1; transform: translateY(0); }
  23%, 100% { opacity: 0; transform: translateY(-12px); }
}

@keyframes studioFlowPrompt {
  0%, 25% { opacity: 1; transform: translateY(0); }
  32%, 100% { opacity: 0; transform: translateY(-14px); }
}

@keyframes studioFlowLoader {
  0%, 100% { opacity: .42; transform: translateY(1px); }
  50% { opacity: 1; transform: translateY(-1px); }
}

@keyframes studioFlowOutput {
  0%, 18% { opacity: 1; transform: translateY(-50%) translateX(0); }
  24%, 100% { opacity: 0; transform: translateY(-50%) translateX(-28px); }
}

@keyframes studioFlowUnit {
  0%, 72% { opacity: 0; transform: translateY(14px); }
  78%, 94% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-10px); }
}

@keyframes studioFlowWave {
  0%, 100% { transform: scaleY(.72); opacity: .58; }
  50% { transform: scaleY(1.08); opacity: .96; }
}

@keyframes studioFlowScene {
  0%, 13.5% { opacity: 1; transform: translateY(0) scale(1); }
  17%, 100% { opacity: 0; transform: translateY(-18px) scale(.992); }
}

@keyframes studioFlowCaret {
  0%, 46% { opacity: 1; }
  47%, 100% { opacity: 0; }
}

@keyframes studioFlowSpine {
  0% { transform: translateY(-18%); opacity: .25; }
  18%, 28% { transform: translateY(6%); opacity: 1; }
  42%, 52% { transform: translateY(40%); opacity: 1; }
  68%, 78% { transform: translateY(72%); opacity: 1; }
  100% { transform: translateY(108%); opacity: .25; }
}

@keyframes studioFlowGuidedCard {
  0%, 100% { transform: translateY(0); box-shadow: 0 20px 58px rgba(31, 27, 46, .085); }
  42%, 56% { transform: translateY(-4px); box-shadow: 0 26px 70px rgba(31, 27, 46, .12); }
}

@media (prefers-reduced-motion: reduce) {
  .studio-flow-stage,
  .studio-flow-topbar strong span,
  .studio-flow-prompt-lines p,
  .studio-flow-prompt-lines i,
  .studio-flow-output-card,
  .studio-flow-unit-card,
  .studio-flow-scene,
  .studio-flow-input-shell strong::after,
  .studio-flow-spine::before,
  .studio-flow-guided-card,
  .studio-flow-wave i {
    animation: none;
  }

  .studio-flow-topbar strong span:first-child,
  .studio-flow-prompt-lines p:first-child,
  .studio-flow-output-card-listening {
    opacity: 1;
    transform: none;
  }

  .studio-flow-output-card-listening {
    transform: translateY(-50%);
  }

  .studio-flow-scene {
    opacity: 0;
    transform: none;
  }

  .studio-flow-scene-5 {
    opacity: 1;
  }

  .studio-flow-input-shell strong::after {
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .studio-flow-hero .studio-flow-shell {
    grid-template-columns: 1fr;
  }

  .studio-flow-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .studio-flow-board {
    min-height: 760px;
  }

  .studio-flow-prompt-card {
    left: 24px;
    right: 24px;
    top: 28px;
    width: auto;
    min-height: 230px;
    transform: none;
  }

  .studio-flow-output-card {
    left: 24px;
    right: 24px;
    top: 326px;
    width: auto;
    min-height: 340px;
    transform: translateX(22px);
  }

  .studio-flow-unit-card {
    right: 42px;
    bottom: 28px;
    width: min(280px, calc(100% - 84px));
  }

  @keyframes studioFlowOutput {
    0%, 18% { opacity: 1; transform: translateX(0); }
    24%, 100% { opacity: 0; transform: translateX(-24px); }
  }

  .studio-flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-flow-stage {
    min-height: 940px;
  }

  .studio-flow-appbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .studio-flow-app-tabs-right {
    align-self: flex-end;
  }

  .studio-flow-board {
    min-height: 760px;
    padding-inline: 20px;
  }

  .studio-flow-dialog-card,
  .studio-flow-dialog-card-compact,
  .studio-flow-summary-card {
    width: calc(100% - 40px);
  }

  .studio-flow-context-row {
    left: 20px;
    right: 20px;
    width: auto;
    grid-template-columns: 1fr;
  }

  .studio-flow-scene-4 .studio-flow-dialog-card {
    top: 66%;
  }

  .studio-flow-summary-card {
    top: 27%;
  }

  .studio-flow-summary-card p {
    max-width: none;
    margin-top: 150px;
  }

  .studio-flow-material-head {
    top: 54%;
  }

  .studio-flow-material-row {
    left: 20px;
    right: 20px;
    grid-auto-columns: minmax(248px, 1fr);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .studio-flow-material-row::-webkit-scrollbar {
    display: none;
  }

  .studio-flow-scene-6 .studio-flow-material-head {
    top: 25%;
  }

  .studio-flow-ready-card {
    width: min(380px, calc(100% - 40px));
  }
}

@media (max-width: 980px) and (prefers-reduced-motion: reduce) {
  .studio-flow-output-card-listening {
    transform: none;
  }
}

@media (max-width: 680px) {
  body.studio-flow-page {
    --studio-flow-gutter: 28px;
  }

  .studio-flow-hero {
    padding-top: 46px;
  }

  .studio-flow-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .studio-flow-actions,
  .studio-flow-actions-center,
  .studio-flow-proof,
  .studio-flow-steps {
    display: grid;
    grid-template-columns: 1fr;
  }

  .studio-flow-btn {
    width: 100%;
  }

  .studio-flow-stage {
    border-radius: 16px;
    min-height: 1040px;
  }

  .studio-flow-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .studio-flow-topbar strong {
    width: calc(100vw - 86px);
  }

  .studio-flow-board {
    min-height: 850px;
    padding: 16px;
  }

  .studio-flow-appbar {
    padding: 14px;
  }

  .studio-flow-app-tabs {
    max-width: 100%;
  }

  .studio-flow-app-tabs span {
    min-height: 46px;
    padding-inline: 12px;
    font-size: .9rem;
  }

  .studio-flow-app-tabs-right {
    align-self: stretch;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .studio-flow-app-tabs-right::-webkit-scrollbar {
    display: none;
  }

  .studio-flow-dialog-card,
  .studio-flow-dialog-card-compact,
  .studio-flow-summary-card,
  .studio-flow-ready-card {
    width: calc(100% - 28px);
    padding: 18px;
  }

  .studio-flow-dialog-card h3 {
    padding-right: 0;
  }

  .studio-flow-pill {
    position: static;
    margin: 0 0 14px auto;
  }

  .studio-flow-summary-card > div {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 18px;
  }

  .studio-flow-summary-card p {
    margin-top: 0;
    font-size: 1.08rem;
  }

  .studio-flow-input-shell {
    grid-template-columns: minmax(0, 1fr) 46px;
    min-height: 62px;
    border-radius: 16px;
  }

  .studio-flow-input-shell b {
    width: 46px;
    height: 46px;
  }

  .studio-flow-context-row {
    left: 14px;
    right: 14px;
    top: 12px;
  }

  .studio-flow-context-row article {
    min-height: 0;
    padding: 14px;
  }

  .studio-flow-scene-4 .studio-flow-dialog-card {
    top: 70%;
  }

  .studio-flow-material-head {
    left: 14px;
    top: 50%;
    transform: none;
  }

  .studio-flow-material-row {
    left: 14px;
    right: 14px;
    bottom: 12px;
    grid-auto-columns: minmax(250px, 82vw);
  }

  .studio-flow-material-card {
    min-height: 330px;
  }

  .studio-flow-scene-6 .studio-flow-material-head {
    top: 22%;
  }

  .studio-flow-scene-6 .studio-flow-ready-card {
    top: 58%;
  }

  .studio-flow-ready-card {
    min-height: 0;
  }

  .studio-flow-preview-box {
    min-height: 190px;
  }

  .studio-flow-prompt-card,
  .studio-flow-output-card {
    left: 16px;
    right: 16px;
  }

  .studio-flow-prompt-card {
    top: 18px;
    padding: 18px;
  }

  .studio-flow-output-card {
    top: 318px;
    min-height: 322px;
    padding: 20px;
  }

  .studio-flow-unit-card {
    right: 24px;
    bottom: 20px;
    width: calc(100% - 48px);
  }

  .studio-flow-output-card strong,
  .studio-flow-unit-card strong {
    font-size: 1.36rem;
  }

  .studio-flow-steps article {
    min-height: 0;
  }

  .studio-flow-steps span {
    margin-bottom: 34px;
  }
}

.studio-flow-board-guided {
  min-height: 0;
}

@media (max-width: 980px) {
  .studio-flow-board-guided {
    min-height: 0;
  }

  .studio-flow-guided-card,
  .studio-flow-guided-card:nth-of-type(2n) {
    justify-self: center;
    width: min(720px, 100%);
  }

  .studio-flow-spine {
    left: 28px;
    transform: none;
  }

  .studio-flow-suggestion-grid {
    grid-template-columns: 1fr;
  }

  .studio-flow-suggestion-grid div {
    min-height: 0;
  }

  .studio-flow-ready-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .studio-flow-board-guided {
    gap: 14px;
    padding-inline: 0;
  }

  .studio-flow-spine {
    display: none;
  }

  .studio-flow-guided-card {
    padding: 18px;
    border-radius: 16px;
  }

  .studio-flow-guided-card h3 {
    font-size: 1.12rem;
  }

  .studio-flow-guided-card .studio-flow-input-shell {
    margin-top: 14px;
  }

  .studio-flow-input-shell strong {
    overflow-wrap: anywhere;
    line-height: 1.25;
  }

  .studio-flow-ready-grid {
    grid-template-columns: 1fr;
  }
}

/* Compact animated flow viewport: cards enter, scroll upward, and leave again. */
.studio-flow-stage {
  min-height: clamp(650px, 58vw, 760px);
}

.studio-flow-board.studio-flow-board-guided {
  position: relative;
  display: block;
  width: min(920px, calc(100% - 44px));
  height: clamp(500px, 44vw, 590px);
  min-height: 0;
  margin: 8px auto 0;
  padding: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 88%, transparent 100%);
}

.studio-flow-board-guided .studio-flow-spine {
  left: 50%;
  top: 26px;
  bottom: 18px;
  opacity: .78;
  transform: translateX(-50%);
}

.studio-flow-board-guided .studio-flow-spine i:nth-child(1) { top: 11%; }
.studio-flow-board-guided .studio-flow-spine i:nth-child(2) { top: 31%; }
.studio-flow-board-guided .studio-flow-spine i:nth-child(3) { top: 51%; }
.studio-flow-board-guided .studio-flow-spine i:nth-child(4) { top: 71%; }
.studio-flow-board-guided .studio-flow-spine i:nth-child(5) { top: 90%; }

.studio-flow-board-guided .studio-flow-guided-card {
  position: absolute;
  left: 50%;
  width: min(690px, 88%);
  opacity: 0;
  transform: translate(-50%, 52px) scale(.985);
  animation-duration: 18s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  will-change: transform, opacity;
}

.studio-flow-board-guided .studio-flow-guided-card:nth-of-type(2n) {
  justify-self: auto;
}

.studio-flow-board-guided .studio-flow-guided-card-prompt {
  top: 24px;
  animation-name: studioFlowCardPrompt;
}

.studio-flow-board-guided .studio-flow-guided-card-questions {
  top: 118px;
  animation-name: studioFlowCardQuestions;
}

.studio-flow-board-guided .studio-flow-guided-card-context {
  top: 204px;
  animation-name: studioFlowCardContext;
}

.studio-flow-board-guided .studio-flow-guided-card-suggestions {
  top: 272px;
  width: min(850px, 94%);
  animation-name: studioFlowCardSuggestions;
}

.studio-flow-board-guided .studio-flow-guided-card-ready {
  top: 348px;
  animation-name: studioFlowCardReady;
}

.studio-flow-board-guided .studio-flow-guided-card-suggestions .studio-flow-suggestion-grid div {
  min-height: 166px;
}

.studio-flow-board-guided .studio-flow-ready-grid span {
  min-height: 50px;
}

@keyframes studioFlowCardPrompt {
  0% { opacity: 0; transform: translate(-50%, 58px) scale(.985); }
  5%, 22% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  34%, 100% { opacity: 0; transform: translate(-50%, -120px) scale(.985); }
}

@keyframes studioFlowCardQuestions {
  0%, 12% { opacity: 0; transform: translate(-50%, 58px) scale(.985); }
  18%, 40% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  52%, 100% { opacity: 0; transform: translate(-50%, -128px) scale(.985); }
}

@keyframes studioFlowCardContext {
  0%, 28% { opacity: 0; transform: translate(-50%, 58px) scale(.985); }
  34%, 58% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  70%, 100% { opacity: 0; transform: translate(-50%, -138px) scale(.985); }
}

@keyframes studioFlowCardSuggestions {
  0%, 46% { opacity: 0; transform: translate(-50%, 70px) scale(.985); }
  54%, 82% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  93%, 100% { opacity: 0; transform: translate(-50%, -116px) scale(.988); }
}

@keyframes studioFlowCardReady {
  0%, 68% { opacity: 0; transform: translate(-50%, 72px) scale(.985); }
  76%, 96% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -22px) scale(.99); }
}

@media (prefers-reduced-motion: reduce) {
  .studio-flow-board-guided .studio-flow-guided-card {
    animation: none;
    opacity: 0;
  }

  .studio-flow-board-guided .studio-flow-guided-card-suggestions {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@media (max-width: 980px) {
  .studio-flow-stage {
    min-height: 760px;
  }

  .studio-flow-board.studio-flow-board-guided {
    height: 610px;
  }

  .studio-flow-board-guided .studio-flow-guided-card,
  .studio-flow-board-guided .studio-flow-guided-card:nth-of-type(2n) {
    left: 50%;
    width: min(680px, 92%);
  }

  .studio-flow-board-guided .studio-flow-guided-card-suggestions {
    width: min(680px, 94%);
  }

  .studio-flow-board-guided .studio-flow-guided-card-prompt { top: 22px; }
  .studio-flow-board-guided .studio-flow-guided-card-questions { top: 128px; }
  .studio-flow-board-guided .studio-flow-guided-card-context { top: 228px; }
  .studio-flow-board-guided .studio-flow-guided-card-suggestions { top: 292px; }
  .studio-flow-board-guided .studio-flow-guided-card-ready { top: 374px; }
}

@media (max-width: 680px) {
  .studio-flow-stage {
    min-height: 790px;
  }

  .studio-flow-board.studio-flow-board-guided {
    width: calc(100% - 24px);
    height: 630px;
  }

  .studio-flow-board-guided .studio-flow-spine {
    display: block;
    left: 14px;
    transform: none;
  }

  .studio-flow-board-guided .studio-flow-guided-card,
  .studio-flow-board-guided .studio-flow-guided-card:nth-of-type(2n) {
    left: calc(50% + 8px);
    width: calc(100% - 34px);
    padding: 16px;
  }

  .studio-flow-board-guided .studio-flow-guided-card-prompt { top: 18px; }
  .studio-flow-board-guided .studio-flow-guided-card-questions { top: 128px; }
  .studio-flow-board-guided .studio-flow-guided-card-context { top: 236px; }
  .studio-flow-board-guided .studio-flow-guided-card-suggestions { top: 300px; }
  .studio-flow-board-guided .studio-flow-guided-card-ready { top: 404px; }

  .studio-flow-board-guided .studio-flow-suggestion-grid {
    grid-template-columns: 1fr;
  }

  .studio-flow-board-guided .studio-flow-suggestion-grid div {
    min-height: 118px;
  }

  .studio-flow-board-guided .studio-flow-suggestion-grid div:nth-child(3) {
    display: none;
  }
}
