.llmgrader-main {
  max-width: 72rem;
  margin: 0 auto;
}

.howto-hero,
.llmgrader-section {
  position: relative;
  overflow: hidden;
  margin-top: 0.7rem;
}

.howto-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.48fr);
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
  padding: clamp(1.45rem, 4vw, 2.75rem) 0 clamp(1.1rem, 3vw, 1.75rem);
}

.howto-hero__content {
  position: relative;
  max-width: 42rem;
}

.howto-hero__content::after {
  content: "";
  display: block;
  width: clamp(5rem, 12vw, 8rem);
  height: 0.28rem;
  margin-top: 1.15rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--theme-primary), rgba(var(--theme-base-rgb), 0.85));
  box-shadow: 0 10px 22px rgba(var(--theme-primary-rgb), 0.22);
}

.howto-hero__eyebrow {
  margin: 0;
  color: rgba(237, 247, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.howto-hero__title {
  margin: 0.55rem 0 0;
  color: var(--text-primary);
  font-size: clamp(2.2rem, 5vw, 3.55rem);
  font-weight: 700;
  line-height: 1.1;
}

.howto-hero__text {
  max-width: 39rem;
  margin: 1rem 0 0;
  color: var(--text-secondary);
  font-size: clamp(0.98rem, 1.7vw, 1.08rem);
  line-height: 1.8;
}

.howto-hero__panel {
  position: relative;
  overflow: hidden;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 0.25rem solid rgba(var(--theme-primary-rgb), 0.72);
}

.howto-hero__panel-label {
  margin: 0;
  color: #ff8a4f;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.howto-hero__steps {
  margin: 0.85rem 0 0;
  padding-left: 1.3rem;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
}

.llmgrader-section {
  padding: clamp(1.45rem, 4vw, 2.5rem);
  border-radius: 1.75rem;
  border: 1px solid rgba(var(--theme-base-light-rgb), 0.18);
  background:
    radial-gradient(circle at 14% 16%, rgba(var(--theme-primary-rgb), 0.16) 0 8rem, transparent 16rem),
    radial-gradient(circle at 86% 12%, rgba(var(--theme-base-rgb), 0.3) 0 9rem, transparent 18rem),
    linear-gradient(155deg, rgba(15, 45, 76, 0.96) 0%, rgba(9, 29, 52, 0.92) 100%);
  box-shadow:
    0 24px 48px rgba(2, 10, 20, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* .llmgrader-section__header {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(1.25rem, 3vw, 1.8rem);
  text-align: center;
} */

/* .llmgrader-section__title {
  margin: 0.55rem 0 0;
  color: var(--text-primary);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
} */

.llmgrader-section__text {
  max-width: 36rem;
  margin: 0.8rem 0 0;
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.75;
}

.llmgrader-section__layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1rem, 3vw, 1.5rem);
  align-items: stretch;
}

.llmgrader-section__image-frame {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  padding: 0.7rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(var(--theme-base-light-rgb), 0.24);
  background:
    radial-gradient(circle at 18% 12%, rgba(var(--theme-primary-rgb), 0.12) 0 5rem, transparent 10rem),
    linear-gradient(145deg, rgba(20, 58, 94, 0.82), rgba(8, 27, 49, 0.88));
  box-shadow:
    0 18px 34px rgba(2, 10, 20, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.llmgrader-section__image-frame::before,
.quizCreation__image-frame::before,
.Grading__image-frame::before {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 0.55rem;
  height: 0.18rem;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--theme-primary), rgba(var(--theme-base-light-rgb), 0.8), transparent);
  opacity: 0.82;
}

.llmgrader-section__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 24rem;
  object-fit: contain;
  padding: 0.65rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  opacity: 0.96;
}

.llmgrader-section__boxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.llmgrader-box {
  position: relative;
  overflow: hidden;
  padding: 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(var(--theme-base-light-rgb), 0.16);
  background:
    linear-gradient(145deg, rgba(20, 58, 94, 0.82) 0%, rgba(10, 32, 57, 0.88) 100%);
  box-shadow:
    0 14px 26px rgba(2, 10, 20, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.llmgrader-box::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--theme-primary), rgba(var(--theme-base-rgb), 0.7));
}

.llmgrader-box__number {
  margin: 0;
  color: #ff8a4f;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.llmgrader-box__title {
  margin: 0.45rem 0 0;
  color: var(--text-primary);
  font-size: 1.08rem;
  line-height: 1.25;
}

.llmgrader-box__text,
.llmgrader-box__bullet {
  margin: 0.42rem 0 0;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.6;
}

.llmgrader-box__bullet {
  margin-left: 1rem;
}

.quizCreation,
.Grading {
  position: relative;
  overflow: hidden;
  margin-top: 1.25rem;
  padding: clamp(1.45rem, 4vw, 2.5rem);
  border-radius: 1.65rem;
  border: 1px solid rgba(var(--theme-base-light-rgb), 0.18);
  background:
    radial-gradient(circle at 18% 22%, rgba(var(--theme-primary-rgb), 0.12) 0 8rem, transparent 16rem),
    radial-gradient(circle at 86% 74%, rgba(var(--theme-base-rgb), 0.28) 0 10rem, transparent 18rem),
    linear-gradient(155deg, rgba(15, 45, 76, 0.94) 0%, rgba(8, 27, 49, 0.92) 100%);
  box-shadow:
    0 22px 44px rgba(2, 10, 20, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.Grading {
  background:
    radial-gradient(circle at 78% 18%, rgba(var(--theme-primary-rgb), 0.13) 0 7rem, transparent 15rem),
    radial-gradient(circle at 20% 88%, rgba(var(--theme-base-rgb), 0.26) 0 10rem, transparent 18rem),
    linear-gradient(150deg, rgba(10, 32, 57, 0.95) 0%, rgba(15, 45, 76, 0.9) 100%);
}

.quizCreation__layout,
.Grading__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(16rem, 0.98fr);
  gap: clamp(1.2rem, 3vw, 1.8rem);
  align-items: center;
}

.Grading__layout {
  grid-template-columns: minmax(16rem, 0.98fr) minmax(0, 1.02fr);
}

.quizCreation__content,
.Grading__content {
  max-width: 36rem;
}

.quizCreation__eyebrow,
.Grading__eyebrow {
  margin: 0;
  color: rgba(237, 247, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.quizCreation__title,
.Grading__title {
  margin: 0.55rem 0 0;
  color: var(--text-primary);
  font-size: clamp(1.9rem, 4.4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
}

.quizCreation__text,
.Grading__text {
  margin: 0.8rem 0 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.75;
}

.quizCreation__sections {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.quizCreation__section {
  position: relative;
  overflow: hidden;
  padding: 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(var(--theme-base-light-rgb), 0.16);
  background:
    linear-gradient(145deg, rgba(20, 58, 94, 0.82) 0%, rgba(10, 32, 57, 0.88) 100%);
  box-shadow:
    0 14px 26px rgba(2, 10, 20, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.quizCreation__section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--theme-primary), rgba(var(--theme-base-rgb), 0.7));
}

.quizCreation__section-title {
  margin: 0.45rem 0 0;
  color: var(--text-primary);
  font-size: 1.08rem;
  line-height: 1.25;
}

.quizCreation__section .quizCreation__text:first-of-type {
  margin-top: 0.45rem;
}

.llmgrader-box__text strong,
.llmgrader-box__bullet strong,
.quizCreation__text strong,
.Grading__text strong {
  color: var(--text-primary);
}

.quizCreation__image-frame,
.Grading__image-frame {
  position: relative;
  overflow: hidden;
  padding: 0.65rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(var(--theme-base-light-rgb), 0.22);
  background:
    radial-gradient(circle at 18% 12%, rgba(var(--theme-primary-rgb), 0.1) 0 5rem, transparent 10rem),
    linear-gradient(145deg, rgba(20, 58, 94, 0.78), rgba(8, 27, 49, 0.86));
  box-shadow:
    0 16px 30px rgba(2, 10, 20, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.quizCreation__image-frame,
.Grading__image-frame {
  height: 100%;
  min-height: 24rem;
}

.quizCreation__image,
.Grading__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 18rem;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 0.6rem;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  opacity: 0.96;
}

.llmgraderDemo {
  position: relative;
  overflow: hidden;
  margin-top: 1.25rem;
  padding: clamp(1.45rem, 4vw, 2.5rem);
  border-radius: 1.75rem;
  border: 1px solid rgba(var(--theme-base-light-rgb), 0.18);
  background:
    radial-gradient(circle at 18% 12%, rgba(var(--theme-primary-rgb), 0.14) 0 8rem, transparent 16rem),
    radial-gradient(circle at 88% 18%, rgba(var(--theme-base-rgb), 0.3) 0 10rem, transparent 18rem),
    radial-gradient(circle at 52% 100%, rgba(var(--theme-base-rgb), 0.16) 0 12rem, transparent 20rem),
    linear-gradient(155deg, rgba(15, 45, 76, 0.96) 0%, rgba(8, 27, 49, 0.94) 100%);
  box-shadow:
    0 24px 48px rgba(2, 10, 20, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.llmgraderDemo__header {
  max-width: 44rem;
  margin: 0 auto clamp(1.25rem, 3vw, 1.8rem);
  text-align: center;
}

.llmgraderDemo__eyebrow {
  margin: 0;
  color: rgba(237, 247, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.llmgraderDemo__title {
  margin: 0.55rem 0 0;
  color: var(--text-primary);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
}

.llmgraderDemo__grid {
  display: grid;
  gap: 1rem;
}

.llmgraderDemo__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(16rem, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  border-radius: 1.1rem;
  border: 1px solid rgba(var(--theme-base-light-rgb), 0.16);
  background:
    linear-gradient(145deg, rgba(20, 58, 94, 0.82) 0%, rgba(10, 32, 57, 0.88) 100%);
  box-shadow:
    0 16px 30px rgba(2, 10, 20, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.llmgraderDemo__panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--theme-primary), rgba(var(--theme-base-rgb), 0.7));
  z-index: 1;
}

.llmgraderDemo__image-frame {
  position: relative;
  overflow: hidden;
  min-height: 18rem;
  padding: 0.6rem;
  background:
    radial-gradient(circle at 14% 16%, rgba(var(--theme-primary-rgb), 0.1) 0 4rem, transparent 9rem),
    linear-gradient(145deg, rgba(var(--theme-base-rgb), 0.18), rgba(13, 38, 68, 0.55));
  border-right: 1px solid rgba(var(--theme-base-light-rgb), 0.14);
}

.llmgraderDemo__image-frame::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  top: 0.48rem;
  height: 0.16rem;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--theme-primary), rgba(var(--theme-base-light-rgb), 0.78), transparent);
  opacity: 0.78;
  z-index: 1;
}

.llmgraderDemo__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 18rem;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 0.55rem;
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.06);
  opacity: 0.96;
}

.llmgraderDemo__content {
  align-self: center;
  padding: clamp(1.15rem, 3vw, 1.6rem);
}

.llmgraderDemo__icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.75rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(var(--theme-primary-rgb), 0.45);
  background: rgba(var(--theme-base-rgb), 0.18);
  color: #ff8a4f;
}

.llmgraderDemo__icon::before,
.llmgraderDemo__icon::after {
  content: "";
  position: absolute;
}

.llmgraderDemo__icon--setup::before {
  width: 1rem;
  height: 1.2rem;
  border: 2px solid currentColor;
  border-radius: 0.18rem;
}

.llmgraderDemo__icon--setup::after {
  width: 0.55rem;
  height: 0.3rem;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.llmgraderDemo__icon--download::before {
  width: 0.16rem;
  height: 1rem;
  top: 0.5rem;
  background: currentColor;
}

.llmgraderDemo__icon--download::after {
  width: 0.64rem;
  height: 0.64rem;
  top: 0.82rem;
  border-right: 0.16rem solid currentColor;
  border-bottom: 0.16rem solid currentColor;
  transform: rotate(45deg);
}

.llmgraderDemo__icon--export::before {
  width: 1.05rem;
  height: 0.76rem;
  bottom: 0.58rem;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 0.2rem 0.2rem;
}

.llmgraderDemo__icon--export::after {
  width: 0.64rem;
  height: 0.64rem;
  top: 0.62rem;
  border-top: 0.16rem solid currentColor;
  border-right: 0.16rem solid currentColor;
  transform: rotate(-45deg);
}

.llmgraderDemo__panel-title {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.08rem;
  line-height: 1.25;
}

.llmgraderDemo__text {
  margin: 0.55rem 0 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
}

.llmgraderDemo__arrow {
  position: relative;
  width: 2.35rem;
  height: 2.35rem;
  margin: -0.15rem auto;
  border-radius: 999px;
  border: 1px solid rgba(var(--theme-primary-rgb), 0.5);
  background:
    linear-gradient(145deg, rgba(20, 58, 94, 0.96), rgba(10, 32, 57, 0.98));
}

.llmgraderDemo__arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.52rem;
  width: 0.16rem;
  height: 0.98rem;
  border-radius: 999px;
  background: #ff8a4f;
  transform: translateX(-50%);
}

.llmgraderDemo__arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.58rem;
  width: 0.62rem;
  height: 0.62rem;
  border-right: 0.16rem solid #ff8a4f;
  border-bottom: 0.16rem solid #ff8a4f;
  transform: translateX(-50%) rotate(45deg);
}

.feedback-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 4vw, 2rem);
  align-items: center;
  margin-top: 1.25rem;
  padding: clamp(1.45rem, 4vw, 2.35rem);
  border-radius: 1.55rem;
  border: 1px solid rgba(var(--theme-base-light-rgb), 0.18);
  background:
    radial-gradient(circle at 12% 30%, rgba(var(--theme-primary-rgb), 0.14) 0 8rem, transparent 16rem),
    radial-gradient(circle at 92% 70%, rgba(var(--theme-base-rgb), 0.3) 0 10rem, transparent 18rem),
    linear-gradient(150deg, rgba(8, 27, 49, 0.95) 0%, rgba(15, 45, 76, 0.92) 100%);
  box-shadow:
    0 24px 48px rgba(2, 10, 20, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.feedback-cta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.28rem;
  background: linear-gradient(90deg, var(--theme-primary), rgba(var(--theme-base-rgb), 0.8));
}

.feedback-cta__content {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.feedback-cta__eyebrow {
  margin: 0;
  color: rgba(237, 247, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.feedback-cta__title {
  margin: 0.5rem 0 0;
  color: var(--text-primary);
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  line-height: 1.12;
}

.feedback-cta__text {
  margin: 0.55rem 0 0;
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.7vw, 1.05rem);
  line-height: 1.65;
}

.feedback-cta__button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: linear-gradient(135deg, #e56b2a 0%, var(--theme-primary) 58%, #9f3609 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(var(--theme-primary-rgb), 0.28);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.feedback-cta__button:hover {
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow: 0 16px 28px rgba(var(--theme-primary-rgb), 0.34);
}

.feedback-cta__button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

@media (max-width: 52rem) {
  .howto-hero {
    grid-template-columns: 1fr;
  }

  .howto-hero,
  .llmgrader-section {
    border-radius: 1.35rem;
  }

  .llmgrader-section__layout,
  .quizCreation__layout,
  .Grading__layout,
  .llmgraderDemo__panel,
  .feedback-cta {
    grid-template-columns: 1fr;
  }

  .feedback-cta__button {
    width: 100%;
  }

  .llmgrader-section__image,
  .quizCreation__image,
  .Grading__image,
  .llmgraderDemo__image {
    min-height: 15rem;
  }

  .quizCreation__image-frame,
  .Grading__image-frame,
  .llmgraderDemo__image-frame {
    min-height: 15rem;
  }

  .llmgraderDemo__image-frame {
    border-right: 0;
    border-bottom: 1px solid rgba(var(--theme-base-light-rgb), 0.14);
  }
}
