.experiment-hero {
  background: linear-gradient(125deg,#101a33,#29205b);
  color: #fff;
  padding: 66px 0 72px;
}

.experiment-hero h1 {
  margin: 17px 0;
  font-size: clamp(36px,4.5vw,58px);
}

.experiment-hero h1 span { color: #c4aaff; }

.experiment-hero .subtitle {
  margin-bottom: 23px;
  max-width: 720px;
}

.hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-pills span {
  font-size: 12px;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 25px;
  padding: 7px 12px;
  color: #e9e1ff;
}

.back-link {
  color: #6547b7;
  text-decoration: none;
  font-weight: 650;
  font-size: 13px;
}

.experiment-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: 40px;
  padding-top: 54px;
  padding-bottom: 90px;
}

.step-label,.aside-eyebrow {
  color: #7255c7;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1.7px;
}

.experiment-primary h2 {
  margin: 9px 0;
  font-size: 29px;
  letter-spacing: -.7px;
}

.muted {
  color: #66738b;
  font-size: 14px;
  max-width: 640px;
}

.choice-fieldset {
  padding: 0;
  margin: 28px 0 0;
  border: 0;
  min-width: 0;
}

.choice-fieldset legend {
  font-size: 14px;
  font-weight: 750;
  margin-bottom: 13px;
}

.required { color: #a33c66; }

.role-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
}

.choice {
  text-align: left;
  background: #fff;
  color: #27344e;
  border: 1.5px solid #e3e6f0;
  border-radius: 12px;
  padding: 13px 14px;
  cursor: pointer;
  font: inherit;
  min-height: 57px;
  transition: border-color .15s,background .15s;
}

.choice:hover { border-color: #a88bfa; }

.choice[aria-pressed="true"] {
  border-color: #7255c7;
  background: #f0ebff;
  box-shadow: inset 0 0 0 1px #7255c7;
}

.choice:focus-visible {
  outline: 3px solid #7255c7;
  outline-offset: 3px;
}

.role-choice {
  font-size: 13px;
  font-weight: 700;
}

.section-separator {
  border-top: 1px solid #e4e8f1;
  margin: 37px 0 33px;
}

.archetype-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}

.archetype-choice {
  display: flex;
  gap: 12px;
  align-items: start;
}

.archetype-letter {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #ede8fa;
  color: #6749b5;
  border-radius: 10px;
  font-weight: 800;
}

.archetype-name {
  font-weight: 750;
  font-size: 13px;
  display: block;
}

.archetype-short {
  color: #66738b;
  font-size: 12px;
  display: block;
  margin-top: 3px;
}

.selection-summary {
  margin-top: 28px;
  padding: 24px;
  background: #fff;
  border: 1px solid #dcd5fa;
  border-left: 4px solid #7255c7;
  border-radius: 13px;
}

.selection-summary h3 { font-size: 20px; }

.selection-summary p {
  color: #56647d;
  font-size: 14px;
}

.summary-label {
  color: #7255c7;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 800;
}

.summary-ready {
  color: #246d55;
  font-weight: 750;
}

.summary-pending {
  color: #66738b;
  font-weight: 650;
}

.experiment-aside {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.aside-card {
  background: #fff;
  border: 1px solid #e4e8f1;
  border-radius: 16px;
  padding: 24px;
}

.aside-card h3 {
  margin: 9px 0;
  font-size: 23px;
}

.aside-card p {
  font-size: 13px;
  color: #66738b;
}

.metric-row {
  padding: 12px 0;
  border-top: 1px solid #e4e8f1;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
}

.metric-row span { color: #66738b; }

.metric-row strong {
  text-align: right;
  color: #26334c;
}

.aside-note { background: #f7f5ff; }

.aside-note strong { font-size: 14px; }

@media(max-width:850px) {
  .experiment-layout {
    grid-template-columns: 1fr;
  }
}

@media(max-width:600px) {
  .role-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .archetype-grid {
    grid-template-columns: 1fr;
  }

  .experiment-hero {
    padding: 45px 0 52px;
  }
}
