
.try-section {
  scroll-margin-top: 86px;
}

.try-section .section-heading p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--color-muted);
}

.try-layout {
  display: block;
}

.try-widget {
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.54);
  box-shadow: 0 16px 44px rgba(2, 6, 23, 0.18);
}

.try-widget {
  padding: 22px;
}

.try-widget-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.try-widget-header h3 {
  margin: 10px 0 0;
  font-size: 1.28rem;
  line-height: 1.35;
}

.try-widget-header p {
  max-width: 360px;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.try-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.try-tab,
.try-choice {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  color: var(--color-text);
  font: inherit;
  text-align: left;
  background: rgba(30, 41, 59, 0.72);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.try-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 10px;
  font-size: 0.9rem;
  font-weight: 800;
}

.try-tab span,
.try-question-head span,
.try-choice span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.18);
  color: #C4B5FD;
  font-size: 0.78rem;
  font-weight: 900;
}

.try-tab[aria-selected="true"] {
  border-color: var(--color-line-strong);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.28), rgba(0, 212, 255, 0.16));
}

.try-panel {
  min-height: 560px;
}

.try-questions {
  display: grid;
  gap: 14px;
}

.try-question {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: rgba(30, 41, 59, 0.5);
}

.try-question-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.try-question-head strong {
  color: var(--color-muted);
  font-size: 0.84rem;
}

.try-question-head .is-correct {
  color: #86EFAC;
}

.try-question-head .is-incorrect {
  color: #FCA5A5;
}

.try-question h3 {
  margin-bottom: 14px;
  font-size: 1rem;
  line-height: 1.65;
}

.try-choice-grid {
  display: grid;
  gap: 8px;
}

.try-choice {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 10px 12px;
}

.try-tab:hover,
.try-choice:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 212, 255, 0.38);
}

.try-choice.is-selected {
  border-color: rgba(196, 181, 253, 0.66);
  background: rgba(124, 58, 237, 0.22);
}

.try-choice.is-answer {
  border-color: rgba(34, 197, 94, 0.55);
  background: rgba(22, 163, 74, 0.16);
}

.try-explanation {
  margin: 14px 0 0;
  border-left: 3px solid var(--color-line-strong);
  padding-left: 12px;
  color: #CBD5E1;
  font-size: 0.94rem;
}

.try-loading,
.try-error {
  margin: 0;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  padding: 18px;
  color: var(--color-muted);
  background: rgba(30, 41, 59, 0.5);
}

.try-error {
  color: #FCA5A5;
}

@media (prefers-reduced-motion: reduce) {
  .try-tab,
  .try-choice {
    transition: none;
  }
  .try-tab:hover,
  .try-choice:hover {
    transform: none;
  }
}
