.ix-demo {
  --ix-bg: #0a0c0b;
  --ix-panel: #111411;
  --ix-panel-soft: #171a17;
  --ix-line: rgba(241, 240, 233, 0.16);
  --ix-muted: #9c9d98;
  --ix-text: #f1f0e9;
  --ix-accent: #c8ff48;
  position: relative;
  width: min(1160px, calc(100% - 40px));
  margin: 72px auto 96px;
  color: var(--ix-text);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  text-align: left;
}

.ix-demo *,
.ix-demo *::before,
.ix-demo *::after {
  box-sizing: border-box;
}

.ix-demo button {
  font: inherit;
}

.ix-demo-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 22px;
}

.ix-demo-header > div > span,
.ix-overline,
.ix-demo-inspector > span {
  display: block;
  color: var(--ix-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ix-demo-header h3 {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--ix-text);
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.ix-demo-header > p {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 7px;
  max-width: 330px;
  margin: 0 0 2px;
  color: var(--ix-text);
  font-size: 12px;
  font-weight: 700;
}

.ix-demo-header > p i,
.ix-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ix-accent);
  box-shadow: 0 0 0 5px rgba(200, 255, 72, 0.14);
}

.ix-demo-header > p small {
  grid-column: 2;
  color: var(--ix-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}

.ix-demo-shell {
  overflow: hidden;
  border: 1px solid rgba(10, 12, 11, 0.2);
  border-radius: 26px;
  background: var(--ix-bg);
  box-shadow: 0 24px 70px rgba(10, 12, 11, 0.18);
}

.ix-demo-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--ix-line);
  background: #0d100e;
}

.ix-demo-steps button {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 88px;
  padding: 18px;
  border: 0;
  border-right: 1px solid var(--ix-line);
  color: var(--ix-muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.ix-demo-steps button:last-child {
  border-right: 0;
}

.ix-demo-steps button:hover,
.ix-demo-steps button:focus-visible {
  color: var(--ix-text);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

.ix-demo-steps button.is-active {
  color: var(--ix-text);
  background: linear-gradient(180deg, rgba(200, 255, 72, 0.11), transparent);
  box-shadow: inset 0 3px 0 var(--ix-accent);
}

.ix-demo-steps button > b {
  margin-right: 12px;
  color: var(--ix-accent);
  font-size: 11px;
}

.ix-demo-steps button > span {
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
}

.ix-demo-steps button small {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: var(--ix-muted);
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ix-demo-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  min-height: 420px;
}

.ix-demo-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
  min-width: 0;
  padding: 32px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--ix-panel);
  background-size: 26px 26px;
  animation: ix-stage-in 260ms ease both;
}

@keyframes ix-stage-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}

.ix-demo-inspector {
  padding: 32px 24px;
  border-left: 1px solid var(--ix-line);
  background: #0d100e;
}

.ix-demo-inspector h4 {
  margin: 10px 0 4px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.ix-demo-inspector p {
  margin: 0;
  color: var(--ix-muted);
  font-size: 12px;
}

.ix-demo-inspector ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.ix-demo-inspector li {
  position: relative;
  padding: 12px 0 12px 18px;
  border-bottom: 1px solid var(--ix-line);
  color: #d0d1cc;
  font-size: 12px;
  line-height: 1.45;
}

.ix-demo-inspector li::before {
  position: absolute;
  top: 17px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ix-accent);
  content: "";
}

.ix-demo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid var(--ix-line);
  background: #0d100e;
}

.ix-demo-footer button,
.ix-result-card button,
.ix-delivery-score button,
.ix-publish-card button {
  padding: 10px 16px;
  border: 1px solid var(--ix-line);
  border-radius: 999px;
  color: var(--ix-text);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.ix-demo-footer button:last-child,
.ix-result-card button,
.ix-delivery-score button,
.ix-publish-card button {
  border-color: var(--ix-accent);
  color: #0a0c0b;
  background: var(--ix-accent);
}

.ix-demo-footer button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.ix-demo-footer > span {
  color: var(--ix-muted);
  font: 700 11px/1 monospace;
  letter-spacing: 0.12em;
}

.ix-form-stack,
.ix-brief-card,
.ix-brief-facts,
.ix-readiness,
.ix-detection-plan,
.ix-model-list,
.ix-editor,
.ix-publish-card,
.ix-result-card,
.ix-delivery,
.ix-delivery-score,
.ix-approval-note {
  padding: 26px;
  border: 1px solid var(--ix-line);
  border-radius: 18px;
  background: rgba(10, 12, 11, 0.86);
}

.ix-span-two {
  grid-column: 1 / -1;
}

.ix-form-stack h4,
.ix-brief-card h4,
.ix-detection-plan h4,
.ix-result-card h4,
.ix-delivery h4,
.ix-publish-card h4 {
  margin: 10px 0 18px;
  font-size: clamp(20px, 3vw, 31px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.ix-scene {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  border: 1px solid var(--ix-line);
  border-radius: 18px;
  background: linear-gradient(160deg, #14222a, #222132 50%, #090d10);
}

.ix-moon {
  position: absolute;
  top: 52px;
  right: 56px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #d5e7d1;
  box-shadow: 0 0 42px rgba(213, 231, 209, 0.35);
}

.ix-mountain {
  position: absolute;
  bottom: -14%;
  width: 80%;
  height: 58%;
  background: #111a1e;
  clip-path: polygon(0 100%, 28% 26%, 49% 68%, 70% 0, 100% 100%);
}

.ix-mountain-one { left: -10%; }
.ix-mountain-two { right: -18%; bottom: -23%; background: #0b1114; transform: scale(1.22); }

.ix-anime-portrait {
  background:
    radial-gradient(circle at 22% 24%, rgba(255, 181, 228, 0.28), transparent 22%),
    radial-gradient(circle at 78% 20%, rgba(170, 139, 255, 0.32), transparent 20%),
    linear-gradient(155deg, #2f2144, #171523 62%, #0d1013);
}

.ix-anime-halo {
  position: absolute;
  top: 44px;
  left: 50%;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 201, 235, 0.55);
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(224, 159, 255, 0.22);
  transform: translateX(-50%);
}

.ix-anime-hair {
  position: absolute;
  top: 76px;
  left: 50%;
  width: 142px;
  height: 176px;
  border-radius: 54% 54% 46% 46% / 38% 38% 62% 62%;
  background: linear-gradient(135deg, #d9c8ff, #8b6ec2 58%, #3d2c60);
  box-shadow: 0 20px 40px rgba(17, 10, 31, 0.5);
  transform: translateX(-50%);
}

.ix-anime-face {
  position: absolute;
  top: 104px;
  left: 50%;
  width: 92px;
  height: 112px;
  border-radius: 46% 46% 52% 52%;
  background: linear-gradient(145deg, #ffe9dc, #efc8c9);
  transform: translateX(-50%);
}

.ix-anime-face i {
  position: absolute;
  top: 47px;
  width: 13px;
  height: 8px;
  border-radius: 50%;
  background: #58426f;
  box-shadow: inset 0 -2px 0 #bba4ff;
}

.ix-anime-face i:first-child { left: 20px; }
.ix-anime-face i:nth-child(2) { right: 20px; }

.ix-anime-face b {
  position: absolute;
  bottom: 22px;
  left: 50%;
  width: 16px;
  height: 5px;
  border-bottom: 2px solid #b56f86;
  border-radius: 50%;
  transform: translateX(-50%);
}

.ix-anime-costume {
  position: absolute;
  bottom: -26px;
  left: 50%;
  width: 196px;
  height: 118px;
  border-radius: 60px 60px 0 0;
  background:
    linear-gradient(90deg, transparent 48%, rgba(200, 255, 72, 0.72) 49% 51%, transparent 52%),
    linear-gradient(145deg, #2b2344, #12151d);
  transform: translateX(-50%);
}

.ix-scene-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font: 700 10px/1 monospace;
  backdrop-filter: blur(8px);
}

.ix-product-screen,
.ix-product-result {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--ix-line);
  border-radius: 18px;
  background: #080b0d;
}

.ix-product-screen img,
.ix-product-result img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ix-product-screen img {
  min-height: 310px;
}

.ix-product-screen-tall {
  height: 560px;
  background: #eef3fb;
}

.ix-product-screen-tall img {
  min-height: 0;
  object-fit: cover;
  object-position: top center;
}

.ix-answerloom-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ix-answerloom-results .ix-product-screen-tall {
  height: 520px;
}

.ix-answerloom-viewer {
  overflow: hidden;
  border: 1px solid var(--ix-line);
  border-radius: 18px;
  background: #eef3fb;
}

.ix-answerloom-browserbar {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(10, 12, 11, 0.12);
  color: #252a33;
  background: #f9fbff;
  font-size: 11px;
}

.ix-answerloom-browserbar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9dee7;
}

.ix-answerloom-browserbar i:first-child { background: #ff7b78; }
.ix-answerloom-browserbar i:nth-child(2) { background: #f3c763; }
.ix-answerloom-browserbar i:nth-child(3) { background: #74c98a; }

.ix-answerloom-browserbar span {
  overflow: hidden;
  margin-left: 8px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ix-answerloom-browserbar b {
  margin-left: auto;
  color: #6d7480;
  font-size: 9px;
  font-weight: 600;
}

.ix-answerloom-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(10, 12, 11, 0.1);
  background: #f9fbff;
}

.ix-answerloom-tabs button {
  padding: 9px 14px;
  border: 1px solid #d8dfeb;
  border-radius: 999px;
  color: #5d6572;
  background: #fff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.ix-answerloom-tabs button.is-active {
  border-color: #397ff2;
  color: #fff;
  background: #397ff2;
}

.ix-answerloom-fullscreen {
  overflow: hidden;
  margin: 0;
  background: #eef3fb;
}

.ix-answerloom-fullscreen img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.ix-answerloom-fullscreen figcaption {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-top: 1px solid rgba(10, 12, 11, 0.1);
  color: #667080;
  background: #fff;
  font-size: 10px;
}

.ix-answerloom-fullscreen figcaption span {
  color: #246fd8;
  font-weight: 800;
}

.ix-answerloom-fullscreen figcaption b {
  color: #3e4652;
  font-weight: 600;
}

.ix-answerloom-fullscreen figcaption a {
  color: #246fd8;
  font-weight: 700;
  text-decoration: none;
}

.ix-product-screen figcaption,
.ix-product-result figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: #f1f0e9;
  background: rgba(8, 11, 13, 0.72);
  font-size: 10px;
  backdrop-filter: blur(12px);
}

.ix-product-screen figcaption span,
.ix-product-result figcaption span:first-child {
  color: var(--ix-accent);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ix-product-result {
  aspect-ratio: 1672 / 941;
  background: #f1f0e9;
}

.ix-product-result img {
  object-fit: contain;
}

.ix-result-strip {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 10px;
}

.ix-result-strip > div,
.ix-result-strip > span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 82px;
  padding: 14px 16px;
  border: 1px solid var(--ix-line);
  border-radius: 12px;
  background: rgba(10, 12, 11, 0.86);
  color: var(--ix-muted);
  font-size: 10px;
}

.ix-result-strip > div {
  position: relative;
  padding-left: 40px;
}

.ix-result-strip .ix-status-dot {
  position: absolute;
  left: 18px;
}

.ix-result-strip b {
  display: block;
  margin-bottom: 5px;
  color: var(--ix-text);
  font-size: 12px;
}

.ix-result-strip small {
  color: var(--ix-muted);
  font-size: 9px;
}

.ix-file-row,
.ix-field {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--ix-line);
  border-bottom: 1px solid var(--ix-line);
  color: #d4d5d0;
  font-size: 12px;
}

.ix-file-row b {
  color: var(--ix-muted);
  font-weight: 500;
}

.ix-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.ix-tags span {
  padding: 7px 10px;
  border: 1px solid var(--ix-line);
  border-radius: 999px;
  color: #d0d1cc;
  font-size: 11px;
}

.ix-choice-grid,
.ix-strategy-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.ix-choice-grid button,
.ix-strategy-list button,
.ix-review-grid button {
  min-height: 135px;
  padding: 18px;
  border: 1px solid var(--ix-line);
  border-radius: 14px;
  color: var(--ix-text);
  background: var(--ix-panel-soft);
  text-align: left;
  cursor: pointer;
}

.ix-choice-grid button.is-selected,
.ix-strategy-list button.is-selected,
.ix-review-grid button.is-selected {
  border-color: var(--ix-accent);
  background: rgba(200, 255, 72, 0.08);
  box-shadow: inset 0 0 0 1px rgba(200, 255, 72, 0.18);
}

.ix-choice-grid small,
.ix-choice-grid b,
.ix-choice-grid span,
.ix-strategy-list b,
.ix-strategy-list span,
.ix-review-grid small,
.ix-review-grid b,
.ix-review-grid span {
  display: block;
}

.ix-choice-grid small,
.ix-review-grid small {
  color: var(--ix-accent);
  font-size: 10px;
}

.ix-choice-grid b,
.ix-strategy-list b {
  margin: 20px 0 7px;
  font-size: 16px;
}

.ix-choice-grid span,
.ix-strategy-list span,
.ix-review-grid span {
  color: var(--ix-muted);
  font-size: 11px;
  line-height: 1.55;
}

.ix-effect-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--ix-line);
  border-radius: 18px;
  background: radial-gradient(circle at 68% 20%, rgba(200, 255, 72, 0.22), transparent 18%), linear-gradient(145deg, #17252a, #101416);
}

.ix-effect-preview::after {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(110deg, transparent 0 18px, rgba(255, 255, 255, 0.07) 19px, transparent 20px 31px);
  content: "";
  transform: translateX(-20%);
}

.ix-effect-preview span,
.ix-effect-preview b { position: relative; z-index: 2; }
.ix-effect-preview span { color: var(--ix-accent); font-size: 11px; }
.ix-effect-preview b { margin-top: 8px; font-size: 20px; }

.ix-control-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 30px;
  border: 1px solid var(--ix-line);
  border-radius: 18px;
  background: rgba(10, 12, 11, 0.86);
}

.ix-control-list > div {
  display: grid;
  grid-template-columns: 100px 1fr 28px;
  align-items: center;
  gap: 12px;
  font-size: 11px;
}

.ix-control-list i,
.ix-readiness > i,
.ix-bar-report i {
  overflow: hidden;
  height: 4px;
  border-radius: 999px;
  background: #292d29;
}

.ix-control-list i::after {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: var(--ix-accent);
  content: "";
}

.ix-control-list b { color: var(--ix-accent); font: 600 11px/1 monospace; }

.ix-option-rows > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--ix-line);
  color: var(--ix-muted);
  font-size: 12px;
}

.ix-option-rows b {
  display: flex;
  gap: 8px;
}

.ix-option-rows i {
  padding: 7px 12px;
  border: 1px solid var(--ix-line);
  border-radius: 999px;
  color: #d0d1cc;
  font-style: normal;
  font-weight: 500;
}

.ix-option-rows i.is-on {
  border-color: var(--ix-accent);
  color: #0a0c0b;
  background: var(--ix-accent);
}

.ix-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 300px;
  border: 1px solid var(--ix-line);
  border-radius: 18px;
}

.ix-mini-scene {
  position: relative;
  display: flex;
  align-items: end;
  padding: 16px;
  background: linear-gradient(155deg, #28323a, #14191c 65%);
}

.ix-mini-scene.is-before { filter: saturate(0.25); }
.ix-mini-scene.is-after { border-left: 1px solid var(--ix-accent); background: radial-gradient(circle at 65% 20%, #d9f3ce 0 4%, transparent 5%), linear-gradient(155deg, #173039, #101518 65%); }
.ix-mini-scene::before { position: absolute; inset: 36% 0 0; background: #0c1214; clip-path: polygon(0 100%, 0 52%, 24% 9%, 48% 66%, 72% 0, 100% 53%, 100% 100%); content: ""; }
.ix-mini-scene span { position: relative; z-index: 1; padding: 5px 8px; border-radius: 999px; background: rgba(0, 0, 0, 0.5); font-size: 10px; }

.ix-mini-scene.ix-anime-before,
.ix-mini-scene.ix-anime-after {
  background:
    radial-gradient(ellipse at 50% 44%, #efc8c9 0 15%, transparent 16%),
    radial-gradient(ellipse at 50% 47%, #74608e 0 27%, transparent 28%),
    linear-gradient(155deg, #332743, #15151f 68%);
}

.ix-mini-scene.ix-anime-after {
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 213, 238, 0.9) 0 3%, transparent 4%),
    radial-gradient(circle at 26% 25%, rgba(207, 177, 255, 0.8) 0 4%, transparent 5%),
    radial-gradient(ellipse at 50% 44%, #ffe5de 0 15%, transparent 16%),
    radial-gradient(ellipse at 50% 47%, #b295de 0 27%, transparent 28%),
    linear-gradient(155deg, #6c416f, #251b3b 68%);
}

.ix-mini-scene.ix-anime-before::before,
.ix-mini-scene.ix-anime-after::before {
  inset: auto 25% -18% 25%;
  width: 50%;
  height: 60%;
  border-radius: 50% 50% 0 0;
  background: #181420;
  clip-path: none;
}

.ix-result-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.ix-result-card small { margin: 0 0 4px 18px; color: var(--ix-accent); }
.ix-result-card .ix-status-dot { position: absolute; }
.ix-metrics { display: flex; width: 100%; gap: 8px; margin: 8px 0 24px; }
.ix-metrics span { flex: 1; padding: 11px; border: 1px solid var(--ix-line); border-radius: 10px; color: var(--ix-muted); font-size: 9px; }
.ix-metrics b { display: block; margin-bottom: 3px; color: var(--ix-text); font-size: 13px; }

.ix-brief-card p {
  color: var(--ix-muted);
  font-size: 13px;
  line-height: 1.7;
}

.ix-brief-facts {
  display: grid;
  align-content: center;
  gap: 14px;
}

.ix-brief-facts > div {
  padding: 15px 0;
  border-bottom: 1px solid var(--ix-line);
}

.ix-brief-facts small,
.ix-brief-facts b { display: block; }
.ix-brief-facts small { margin-bottom: 7px; color: var(--ix-muted); }
.ix-brief-facts b { font-size: 14px; }

.ix-brand-board {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
  padding: 32px;
  border: 1px solid var(--ix-line);
  border-radius: 18px;
  background: var(--ix-accent);
  color: #0a0c0b;
}

.ix-brand-board small { font: 700 10px/1 monospace; }
.ix-brand-board strong { margin: 44px 0 6px; font-size: clamp(50px, 8vw, 88px); line-height: 0.9; letter-spacing: -0.08em; }
.ix-brand-board strong span { font-weight: 300; }
.ix-brand-board p { margin: 0; font-size: 12px; }

.ix-palette-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ix-palette-board > span {
  display: flex;
  align-items: end;
  min-height: 180px;
  padding: 12px;
  border: 1px solid var(--ix-line);
  border-radius: 14px;
  color: var(--swatch);
  background: var(--swatch);
  font: 700 9px/1 monospace;
  text-shadow: 0 0 1px #fff;
}

.ix-palette-board > span:nth-child(1) { color: #fff; }
.ix-palette-board > span:nth-child(2) { color: #0a0c0b; }
.ix-palette-board > span:nth-child(3) { color: #0a0c0b; }
.ix-palette-board > div { grid-column: 1 / -1; padding: 17px; border: 1px solid var(--ix-line); border-radius: 12px; }
.ix-palette-board small, .ix-palette-board b { display: block; }
.ix-palette-board small { margin-bottom: 5px; color: var(--ix-muted); }

.ix-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ix-review-grid button { min-height: 240px; }
.ix-review-grid b { margin: 50px 0 18px; font-size: clamp(28px, 4vw, 48px); letter-spacing: -0.06em; }
.ix-approval-note { display: flex; flex-direction: column; justify-content: center; }
.ix-approval-note .ix-status-dot { margin-bottom: 18px; }
.ix-approval-note p { color: var(--ix-muted); line-height: 1.6; }

.ix-delivery ul,
.ix-readiness ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.ix-delivery li,
.ix-readiness li {
  padding: 10px 0;
  border-top: 1px solid var(--ix-line);
  color: #d0d1cc;
  font-size: 12px;
}

.ix-delivery li b { margin-right: 10px; color: var(--ix-accent); }
.ix-delivery-score { display: flex; flex-wrap: wrap; align-content: center; align-items: baseline; justify-content: center; }
.ix-delivery-score small { width: 100%; color: var(--ix-muted); text-align: center; }
.ix-delivery-score strong { margin-top: 12px; font-size: 96px; line-height: 1; letter-spacing: -0.08em; }
.ix-delivery-score > span { color: var(--ix-muted); }
.ix-delivery-score button { width: 100%; margin-top: 24px; }

.ix-field {
  display: block;
}

.ix-field small,
.ix-field b { display: block; }
.ix-field small { margin-bottom: 5px; color: var(--ix-muted); }

.ix-readiness {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ix-readiness > span { color: var(--ix-muted); font-size: 11px; }
.ix-readiness > strong { margin: 12px 0; font-size: 52px; }
.ix-readiness > i { display: block; }
.ix-readiness > i b { display: block; height: 100%; border-radius: inherit; background: var(--ix-accent); }

.ix-detection-plan { grid-column: 1 / -1; }
.ix-formula { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; }
.ix-formula span { flex: 1; padding: 14px; border: 1px solid var(--ix-line); border-radius: 12px; color: var(--ix-muted); font-size: 10px; }
.ix-formula span:last-child { border-color: var(--ix-accent); background: rgba(200, 255, 72, 0.08); }
.ix-formula b { display: block; margin-top: 5px; color: var(--ix-text); font-size: 22px; }
.ix-formula i { color: var(--ix-accent); font-style: normal; }
.ix-model-list { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 16px 20px; }
.ix-model-list span { flex: 1; padding-right: 16px; border-right: 1px solid var(--ix-line); }
.ix-model-list b, .ix-model-list small { display: block; }
.ix-model-list small { margin-top: 4px; color: var(--ix-muted); }
.ix-model-list em { color: var(--ix-accent); font-size: 11px; font-style: normal; }

.ix-score-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ix-score-grid > span {
  padding: 22px;
  border: 1px solid var(--ix-line);
  border-radius: 15px;
  background: rgba(10, 12, 11, 0.86);
}

.ix-score-grid small,
.ix-score-grid b,
.ix-score-grid i { display: block; }
.ix-score-grid small { color: var(--ix-muted); }
.ix-score-grid b { margin: 10px 0; font-size: 38px; }
.ix-score-grid i { color: var(--ix-accent); font-size: 11px; font-style: normal; }

.ix-bar-report {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px solid var(--ix-line);
  border-radius: 16px;
  background: rgba(10, 12, 11, 0.86);
}

.ix-bar-report h4 { margin: 0 0 20px; }
.ix-bar-report > div { display: grid; grid-template-columns: 140px 1fr 28px; align-items: center; gap: 12px; margin: 13px 0; font-size: 11px; }
.ix-bar-report i { display: block; }
.ix-bar-report i b { display: block; height: 100%; background: var(--ix-accent); }
.ix-bar-report em { color: var(--ix-accent); font-style: normal; }

.ix-editor { grid-column: 1 / -1; padding: 0; overflow: hidden; }
.ix-editor > div { display: flex; align-items: center; gap: 6px; padding: 12px 18px; border-bottom: 1px solid var(--ix-line); }
.ix-editor > div span { width: 7px; height: 7px; border-radius: 50%; background: #454845; }
.ix-editor > div b { margin-left: 8px; font-size: 11px; }
.ix-editor > div em { margin-left: auto; color: #f0c85a; font-size: 10px; font-style: normal; }
.ix-editor h4 { margin: 26px 26px 12px; font-size: 25px; }
.ix-editor p { margin: 0 26px; color: #c6c8c2; font-size: 13px; line-height: 1.8; }
.ix-editor mark { display: inline-block; margin: 20px 26px 26px; padding: 8px 11px; border-radius: 7px; color: #c9aa55; background: rgba(240, 200, 90, 0.1); font-size: 10px; }
.ix-checklist { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ix-checklist span { padding: 13px; border: 1px solid var(--ix-line); border-radius: 10px; color: #d0d1cc; font-size: 11px; }
.ix-checklist b { margin-right: 6px; color: var(--ix-accent); }
.ix-checklist .is-warn b { color: #f0c85a; }

.ix-retest {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
  border: 1px solid var(--ix-line);
  border-radius: 18px;
  background: rgba(10, 12, 11, 0.86);
}

.ix-retest > div { display: grid; grid-template-columns: 1fr auto auto auto auto; align-items: center; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--ix-line); }
.ix-retest small { color: var(--ix-muted); }
.ix-retest strong { font-size: 22px; }
.ix-retest strong.is-new, .ix-retest b { color: var(--ix-accent); }
.ix-retest i { color: var(--ix-muted); font-style: normal; }
.ix-retest b { font-size: 10px; }
.ix-publish-card { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.ix-publish-card .ix-status-dot { margin-bottom: 16px; }
.ix-publish-card p { color: var(--ix-muted); font-size: 12px; line-height: 1.6; }
.ix-publish-card button { margin-top: 15px; }

.ix-demo-toast {
  position: absolute;
  right: 24px;
  bottom: 76px;
  z-index: 30;
  max-width: 320px;
  padding: 12px 16px;
  border: 1px solid rgba(200, 255, 72, 0.4);
  border-radius: 10px;
  color: var(--ix-text);
  background: #111411;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 180ms ease;
}

.ix-demo-toast.is-visible {
  opacity: 1;
  transform: none;
}

#answerloom-project .ix-demo {
  width: 100%;
  margin-top: 42px;
}

@media (max-width: 900px) {
  .ix-demo-header { align-items: flex-start; flex-direction: column; }
  .ix-demo-header > p { max-width: none; }
  .ix-demo-steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .ix-demo-steps button { flex: 0 0 185px; min-height: 76px; scroll-snap-align: start; }
  .ix-demo-workspace { grid-template-columns: 1fr; }
  .ix-demo-inspector { border-top: 1px solid var(--ix-line); border-left: 0; }
  .ix-demo-inspector ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
  .ix-demo-inspector li { border: 1px solid var(--ix-line); border-radius: 10px; }
}

@media (max-width: 680px) {
  .ix-demo {
    width: calc(100vw - 24px);
    min-width: 0;
    max-width: calc(100vw - 24px);
    margin: 48px auto 68px;
  }
  .ix-demo-shell { border-radius: 18px; }
  .ix-demo-stage { grid-template-columns: 1fr; min-height: auto; padding: 16px; }
  .ix-span-two, .ix-detection-plan, .ix-model-list, .ix-score-grid, .ix-bar-report, .ix-editor, .ix-checklist { grid-column: auto; }
  .ix-choice-grid, .ix-strategy-list, .ix-score-grid { grid-template-columns: 1fr; }
  .ix-choice-grid button, .ix-strategy-list button { min-height: 100px; }
  .ix-review-grid { grid-template-columns: 1fr; }
  .ix-review-grid button { min-height: 160px; }
  .ix-palette-board > span { min-height: 120px; }
  .ix-formula { display: grid; grid-template-columns: 1fr 1fr; }
  .ix-formula i { display: none; }
  .ix-model-list { flex-direction: column; align-items: stretch; }
  .ix-model-list span { padding: 0 0 12px; border-right: 0; border-bottom: 1px solid var(--ix-line); }
  .ix-checklist { grid-template-columns: 1fr 1fr; }
  .ix-demo-inspector ul { grid-template-columns: 1fr; }
  .ix-retest > div { grid-template-columns: 1fr auto auto auto; }
  .ix-retest small { grid-column: 1 / -1; }
  .ix-product-screen img { min-height: 220px; }
  .ix-product-screen-tall,
  .ix-answerloom-results .ix-product-screen-tall { height: auto; }
  .ix-product-screen-tall img { width: 100%; height: auto; min-height: 0; object-fit: contain; }
  .ix-answerloom-results { grid-template-columns: 1fr; }
  .ix-answerloom-browserbar b { display: none; }
  .ix-answerloom-tabs { overflow-x: auto; }
  .ix-answerloom-tabs button { flex: 0 0 auto; }
  .ix-answerloom-fullscreen { overflow-x: auto; }
  .ix-answerloom-fullscreen img { width: 760px; max-width: none; }
  .ix-answerloom-fullscreen figcaption {
    position: sticky;
    left: 0;
    width: min(760px, calc(100vw - 58px));
    grid-template-columns: 1fr auto;
  }
  .ix-answerloom-fullscreen figcaption b { display: none; }
  .ix-product-screen figcaption,
  .ix-product-result figcaption { position: static; border: 0; border-radius: 0; }
  .ix-product-result { aspect-ratio: auto; }
  .ix-result-strip { grid-template-columns: 1fr 1fr; }
  .ix-option-rows > div { grid-template-columns: 1fr; gap: 10px; }
  .ix-option-rows b { overflow-x: auto; }
  .ix-control-list > div { grid-template-columns: 88px 1fr 24px; }
  .ix-demo-footer { position: sticky; bottom: 0; z-index: 4; }
}

@media (prefers-reduced-motion: reduce) {
  .ix-demo *,
  .ix-demo *::before,
  .ix-demo *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
