.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 20px;
  row-gap: 14px;
}

.design-intro {
  max-width: 690px;
  color: #c6c6cb;
  line-height: 1.75;
  word-break: keep-all;
}

.design-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 28px 0;
  border-top: 1px solid #29313b;
  border-bottom: 1px solid #29313b;
}

.design-step {
  min-width: 0;
  padding: 17px 15px;
  border-right: 1px solid #29313b;
}

.design-step:first-child { padding-left: 0; }
.design-step:last-child { border-right: 0; }

.design-step-number {
  display: block;
  margin-bottom: 7px;
  color: #39ff14;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.design-step-label {
  display: block;
  color: #dee2ec;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  word-break: keep-all;
}

.design-workbench {
  border: 1px solid #29313b;
  background: #090f15;
}

.design-workbench-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 16px;
}

.design-workbench-heading h3 {
  color: #dee2ec;
  font-size: 18px;
  font-weight: 700;
}

.design-workbench-heading p {
  color: #909096;
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.design-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid #29313b;
  border-bottom: 1px solid #29313b;
}

.design-tab {
  min-width: 0;
  min-height: 52px;
  padding: 10px 6px;
  border-right: 1px solid #29313b;
  color: #aeb5bf;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  word-break: keep-all;
}

.design-tab:last-child { border-right: 0; }
.design-tab:hover { color: #dee2ec; background: rgba(57, 255, 20, .04); }

.design-tab[aria-selected="true"] {
  color: #39ff14;
  background: rgba(57, 255, 20, .09);
  box-shadow: inset 0 -2px #39ff14;
}

.design-tab:focus-visible { outline: 2px solid #39ff14; outline-offset: -3px; }
.design-panel { padding: 22px; }

.design-panel-summary {
  min-height: 48px;
  margin-bottom: 14px;
  color: #dee2ec;
  font-size: 15px;
  line-height: 1.65;
  word-break: keep-all;
}

.design-output { border-top: 1px solid #29313b; }

.design-output > div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #29313b;
}

.design-output dt {
  color: #39ff14;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1.6;
}

.design-output dd {
  min-width: 0;
  color: #c6c6cb;
  font-size: 13px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.design-close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}

.design-close p {
  color: #909096;
  font-size: 12px;
  line-height: 1.6;
  word-break: keep-all;
}

.design-close a {
  flex: 0 0 auto;
  color: #39ff14;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  white-space: nowrap;
}

.design-close a:hover { text-decoration: underline; }

.design-guide-link {
  margin-top: 14px;
  color: #aeb5bf;
  font-size: 13px;
  line-height: 1.6;
  word-break: keep-all;
}

.design-guide-link a { color: #39ff14; }
.design-guide-link a:hover { text-decoration: underline; }

@media (max-width: 767px) {
  .design-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .design-step { padding: 14px 12px; border-bottom: 1px solid #29313b; }
  .design-step:nth-child(2) { border-right: 0; }
  .design-step:nth-child(n+3) { border-bottom: 0; }
  .design-step:nth-child(3) { padding-left: 0; }
  .design-workbench-heading { display: block; padding: 18px 16px 14px; }
  .design-workbench-heading p { margin-top: 6px; text-align: left; }
  .design-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .design-tab { border-bottom: 1px solid #29313b; }
  .design-tab:nth-child(3) { border-right: 0; }
  .design-tab:nth-child(n+4) { border-bottom: 0; }
  .design-panel { padding: 18px 16px; }
  .design-panel-summary { min-height: 0; }
  .design-output > div { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; }
  .design-close { align-items: flex-start; flex-direction: column; }
}
