.cloud-editor-page {
  --editor-mint: #58edc2;
  --editor-blue: #61c8ff;
  overflow-x: clip;
}

.editor-hero {
  padding: clamp(3rem, 7vw, 7rem) 0 clamp(4.5rem, 8vw, 8rem);
}

.editor-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.editor-hero h1 {
  max-width: 820px;
  margin: 1.1rem 0 1.4rem;
  font-size: clamp(3rem, 5.5vw, 6rem);
  line-height: .96;
  letter-spacing: -.06em;
}

.editor-hero__lead {
  color: #eef7ff;
  font-size: clamp(1.12rem, 1.7vw, 1.4rem);
}

.editor-hero__copy p { max-width: 720px; }

.editor-hero__support {
  display: inline-flex;
  gap: .5rem;
  margin-top: 1rem;
  color: var(--editor-mint);
  font-weight: 800;
}

.editor-hero__compare {
  aspect-ratio: 3 / 2;
}

.editor-hero__compare img {
  object-fit: cover;
  object-position: center;
}

.editor-workspace,
.editor-final-image {
  overflow: hidden;
  max-width: 1160px;
  margin: 0 auto 2.5rem;
}

.editor-workspace img,
.editor-final-image img {
  display: block;
  width: 100%;
  height: auto;
}

.editor-workspace figcaption,
.editor-task figcaption,
.editor-final-image figcaption {
  display: grid;
  gap: .3rem;
  padding: 1rem 1.1rem;
  border-top: 1px solid rgba(180, 204, 226, .13);
  color: #91a6b9;
}

.editor-workspace figcaption strong,
.editor-task figcaption strong { color: #eef7ff; }

.editor-task-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: max-content;
  gap: 1rem;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto 2.5rem;
}

.editor-task {
  display: grid;
  grid-template-rows: auto auto;
  align-self: start;
  min-height: 0;
  height: auto;
  overflow: hidden;
  margin: 0;
}

.editor-task > div {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #07131f;
}

.editor-task img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.editor-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  max-width: 1120px;
  margin: 0 auto 2.5rem;
  padding: 0;
  list-style: none;
}

.editor-flow li {
  display: grid;
  min-height: 170px;
  align-content: center;
  gap: .35rem;
  padding: 1.35rem;
  background: rgba(7, 19, 31, .78);
}

.editor-flow span {
  color: var(--editor-mint);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.editor-flow strong { color: #eef7ff; font-size: 1.2rem; }
.editor-flow small { color: #91a6b9; }

.editor-prompt {
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(88, 237, 194, .24);
  border-left: 3px solid var(--editor-mint);
  border-radius: .85rem;
  color: #e8f5ff;
  background: rgba(88, 237, 194, .06);
}

.editor-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto 2.5rem;
  align-items: start;
}

.editor-evidence-grid .editor-workspace { margin: 0; }
.editor-evidence-grid img { aspect-ratio: 3 / 2; object-fit: cover; object-position: center; }

.editor-table-note {
  max-width: 900px;
  margin: 1.25rem auto 2.5rem;
  text-align: center;
}

.editor-final-image {
  max-width: 680px;
}

.editor-final-image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 55%;
}

.editor-final-image figcaption {
  text-align: center;
  color: #dce8f3;
}

@media (max-width: 1100px) {
  .editor-hero__grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .editor-task-gallery,
  .editor-evidence-grid { grid-template-columns: 1fr; }
  .editor-flow { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .editor-hero { padding-top: 2rem; }
  .editor-hero h1 { font-size: clamp(2.35rem, 12.5vw, 4rem); }
  .editor-hero__compare { aspect-ratio: 4 / 3; }
  .editor-flow { grid-template-columns: 1fr; }
  .editor-flow li { min-height: 120px; }
}
