.comparison-hero {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(24px, 4vh, 48px) clamp(16px, 4vw, 52px) clamp(32px, 5vw, 64px);
  text-align: center;
}
.comparison-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -.052em;
  text-wrap: balance;
}
.comparison-intro {
  max-width: 62ch;
  margin: 12px auto clamp(16px, 2.6vh, 26px);
  color: #c5c8c1;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.45;
  text-wrap: pretty;
}
.closing p { max-width: 52ch; margin: 12px auto 24px; color: #c5c8c1; font-size: 16px; line-height: 1.5; letter-spacing: normal; }
.comparison-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1.6vw, 18px);
  max-width: min(100%, max(560px, 82vh));
  margin: 0 auto;
}
.comparison-pair figure { margin: 0; }
.comparison-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: clamp(12px, 1.6vw, 20px);
}
.comparison-result { background: #090a09; }
.comparison-frame img, .comparison-frame model-viewer {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.comparison-frame model-viewer {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.comparison-result[data-ready] img { visibility: hidden; }
.comparison-result[data-ready] model-viewer { opacity: 1; pointer-events: auto; }
#comparison-rotate {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  min-height: 44px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: clamp(6px, 1.2vw, 14px);
  border: 0;
  background: transparent;
  color: white;
  font: inherit;
  cursor: pointer;
}
#comparison-rotate[hidden] { display: none; }
#comparison-rotate span {
  padding: 5px 10px;
  border-radius: 99px;
  background: #242620;
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 600;
}
#comparison-rotate:focus-visible { outline: 3px solid #3264ca; outline-offset: -4px; }
.comparison-pair figcaption { margin-top: 8px; font-size: clamp(14px, 1.4vw, 18px); font-weight: 600; }
.comparison-status { font-size: 14px; color: #cdcec7; }
.comparison-status:empty { margin: 0; }
.comparison-upload { margin-top: clamp(16px, 2.6vh, 28px); min-height: 44px; }

.project-uses article {
  display: grid;
  grid-template-columns: clamp(100px, 15vw, 160px) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding-block: 24px;
}
.project-uses article + article { border-top: 1px solid var(--line); }
.project-uses article > img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #282b27;
}
.project-uses h2 { margin: 0; font-size: clamp(23px, 3vw, 36px); line-height: 1.16; }
.project-uses p { max-width: 68ch; margin: 8px 0; color: #c5c8c1; line-height: 1.55; }
.project-uses :is(button, a) {
  display: inline-block;
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: var(--yellow);
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
@media (max-width: 540px) {
  .project-uses article { grid-template-columns: 68px minmax(0, 1fr); align-items: start; gap: 12px; }
  .project-uses article > img { border-radius: 10px; }
  .project-uses :is(button, a) { display: block; width: fit-content; text-align: left; }
}

.input-choices h3 { margin: 16px 0 2px; font-size: 1em; }
.input-choices h3 + p { margin: 2px 0; color: #bec4b8; max-width: 44ch; }
.input-choices a, .workflow-steps a { text-decoration: underline; text-underline-offset: 3px; }
.workflow-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-left: 1.6em; }
.workflow-steps li::marker { color: var(--yellow); font-weight: 700; }
.workflow-steps h3 { margin-top: 0; }
@media (max-width: 800px) { .workflow-steps { column-gap: 32px; } }
@media (max-width: 540px) { .workflow-steps { grid-template-columns: minmax(0, 1fr); } }
