.page-buyers-guide {
  --buyers-shadow: 0 24px 68px rgba(0, 0, 0, 0.2);
  --buyers-border: rgba(255, 255, 255, 0.09);
  --buyers-surface: rgba(255, 255, 255, 0.032);
  --buyers-surface-strong: rgba(255, 255, 255, 0.045);
  --buyers-text-soft: rgba(255, 255, 255, 0.74);
  --buyers-text-muted: rgba(255, 255, 255, 0.62);
}

.buyers-guide-page {
  position: relative;
  z-index: 1;
  padding-top: clamp(24px, 3.8vw, 56px);
}

.section-shell {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(52px, 6vw, 88px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2 {
  max-width: 840px;
  margin: 16px 0 12px;
  font-size: clamp(1.9rem, 3.2vw, 3.15rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  max-width: 58ch;
  color: var(--buyers-text-soft);
  font-size: 1rem;
  line-height: 1.72;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: rgba(255, 255, 255, 0.94);
  color: #0a0d14;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
}

/* Hero */
.bg-hero {
  padding-top: clamp(24px, 3vw, 48px);
  padding-bottom: clamp(42px, 5vw, 68px);
}

.bg-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.products-guide-strip {
  max-width: 980px;
  margin-bottom: 34px;
  padding: 14px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.015));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.products-guide-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.96rem;
  line-height: 1.55;
}

.products-guide-strip strong {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 800;
}

.bg-hero__copy {
  max-width: 720px;
}

.bg-hero__copy h1 {
  margin: 16px 0 22px;
  max-width: 11.5ch;
  font-size: clamp(2.85rem, 4.5vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.048em;
}

.bg-hero__lead {
  max-width: 50ch;
  margin: 0 0 28px;
  color: var(--buyers-text-soft);
  font-size: 1.05rem;
  line-height: 1.74;
}

.bg-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bg-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.bg-hero__stack {
  display: grid;
  gap: 16px;
}

.bg-card {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--buyers-border);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--buyers-shadow);
}

.bg-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.bg-card--hero-product {
  position: relative;
  isolation: isolate;
  width: min(100%, 540px);
  aspect-ratio: 5 / 4;
  min-height: 0;
  padding: clamp(14px, 1.8vw, 24px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.1), transparent 54%),
    rgba(8, 12, 20, 0.78);
}

.bg-card--hero-product::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -2;
  background: url("../../img/products/fullkit.jpg") center / cover no-repeat;
  filter: blur(30px) brightness(0.42) saturate(0.8);
  opacity: 0.72;
  transform: scale(1.08);
}

.bg-card--hero-product::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(166, 255, 181, 0.055), transparent 42%),
    linear-gradient(180deg, rgba(8, 12, 20, 0.08), rgba(8, 12, 20, 0.3));
  pointer-events: none;
}

.bg-card--hero-product img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  filter: brightness(0.88) contrast(1.06) saturate(0.92);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.bg-card--lg {
  min-height: 500px;
}

.bg-hero__stack .bg-card:first-child,
.bg-hero__stack .bg-card:last-child {
  min-height: 242px;
}

/* Decision cards */
.bg-decision {
  padding-top: clamp(22px, 3vw, 40px);
}

.bg-decision .section-heading {
  margin-bottom: 26px;
}

.bg-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bg-choice-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bg-choice-card {
  min-height: 0;
  padding: 28px 28px 24px;
  border-radius: 24px;
  border: 1px solid var(--buyers-border);
  background: var(--buyers-surface);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}

.bg-choice-card--featured {
  background:
    radial-gradient(circle at top left, rgba(166, 255, 181, 0.12), transparent 45%),
    rgba(255, 255, 255, 0.042);
  border-color: rgba(166, 255, 181, 0.17);
}

.bg-choice-card__tag {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--buyers-text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bg-choice-card h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.bg-choice-card ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  line-height: 1.62;
}

.bg-choice-card ul li + li {
  margin-top: 6px;
}

.bg-choice-card__actions {
  margin-top: 1rem;
}

/* Simulator */
/* Simulator full-width classroom background */
.bg-sim {
  position: relative;
  isolation: isolate;
  padding-top: clamp(76px, 8vw, 120px);
  padding-bottom: clamp(76px, 8vw, 120px);
}

.bg-sim::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -2;
  width: 100vw;
  transform: translateX(-50%);
  background:
    linear-gradient(
      90deg,
      rgba(8, 12, 20, 0.76) 0%,
      rgba(8, 12, 20, 0.46) 48%,
      rgba(8, 12, 20, 0.72) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(8, 12, 20, 0.28),
      rgba(8, 12, 20, 0.68)
    ),
    url("../../img/photos/classroom1.jpg") center 45% / cover no-repeat;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 38px 70px rgba(0, 0, 0, 0.18),
    inset 0 -38px 70px rgba(0, 0, 0, 0.24);
}

.bg-sim::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
  background:
    radial-gradient(
      circle at 18% 22%,
      rgba(166, 255, 181, 0.09),
      transparent 42%
    ),
    radial-gradient(
      circle at 82% 18%,
      rgba(142, 153, 251, 0.11),
      transparent 46%
    );
  pointer-events: none;
}

.bg-sim > * {
  position: relative;
  z-index: 1;
}

/* Keep the simulator panels readable over the photograph */
.bg-sim .bg-sim__controls,
.bg-sim .bg-sim__output {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.025)
    ),
    rgba(8, 12, 20, 0.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.bg-sim .section-heading {
  margin-bottom: 34px;
}

.bg-sim__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.bg-sim__controls,
.bg-sim__output {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--buyers-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.028)),
    rgba(10, 14, 22, 0.62);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.bg-sim__controls {
  padding: 22px;
}

.bg-sim__output {
  padding: 28px 30px;
}

.bg-sim__controls::before,
.bg-sim__output::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(166, 255, 181, 0.18),
    rgba(142, 153, 251, 0.14),
    rgba(255, 255, 255, 0)
  );
  pointer-events: none;
}

.bg-control-card {
  padding: 18px 18px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(255, 255, 255, 0.018);
}

.bg-control-card + .bg-control-card {
  margin-top: 16px;
}

.bg-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.01em;
}

#studentsValue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 36px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(166, 255, 181, 0.16);
  background: rgba(166, 255, 181, 0.08);
  color: #a6ffb5;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bg-range {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  --range-fill: 60%;
  margin-top: 2px;
}

.bg-range:focus {
  outline: none;
}

.bg-range::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(166, 255, 181, 0.95) 0%,
      rgba(166, 255, 181, 0.95) var(--range-fill),
      rgba(255, 255, 255, 0.12) var(--range-fill),
      rgba(255, 255, 255, 0.12) 100%
    );
}

.bg-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -7px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: #a6ffb5;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    0 0 0 6px rgba(166, 255, 181, 0.08);
  cursor: pointer;
}

.bg-range::-moz-range-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.bg-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: #a6ffb5;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    0 0 0 6px rgba(166, 255, 181, 0.08);
  cursor: pointer;
}

.bg-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bg-pill {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.028);
  color: rgba(255, 255, 255, 0.86);
  font: inherit;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.bg-pill:hover {
  transform: translateY(-1px);
}

.bg-pill.active {
  border-color: rgba(166, 255, 181, 0.28);
  background:
    linear-gradient(180deg, rgba(166, 255, 181, 0.16), rgba(166, 255, 181, 0.07)),
    rgba(255, 255, 255, 0.04);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.14);
}

.bg-sim__output h3 {
  margin: 16px 0 6px;
  font-size: clamp(1.85rem, 2.5vw, 2.65rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.bg-output-confidence {
  margin: 0 0 14px;
  color: rgba(166, 255, 181, 0.86);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.bg-output-lead {
  margin: 0 0 24px;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.74;
}

.bg-output-block {
  padding-top: 2px;
}

.bg-output-block + .bg-output-block {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bg-output-block h4 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.96);
}

.bg-output-block ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.bg-output-block ul li + li {
  margin-top: 4px;
}

.bg-output-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}


/* Internal approval guidance */
.bg-output-block .bg-admin-points {
  margin: 14px 0 0;
  padding-left: 18px;
}

.bg-admin-points li {
  color: rgba(255, 255, 255, 0.8);
}

.bg-admin-points li + li {
  margin-top: 7px;
}

.bg-output-block .bg-admin-framing {
  margin-top: 16px;
  padding: 13px 15px;
  border-left: 2px solid rgba(166, 255, 181, 0.48);
  border-radius: 0 14px 14px 0;
  background: rgba(166, 255, 181, 0.055);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.bg-admin-framing strong {
  color: #a6ffb5;
  font-weight: 800;
}

.bg-output-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Proof */
.bg-proof .section-heading {
  margin-bottom: 28px;
}

.bg-proof__grid {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 18px;
}

.bg-proof__grid .bg-proof-card:last-child {
  display: none;
}

.bg-proof-card {
  overflow: hidden;
  min-height: 300px;
  border-radius: 26px;
  border: 1px solid var(--buyers-border);
  background: rgba(255, 255, 255, 0.032);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}

.bg-proof-card--wide {
  min-height: 360px;
}

.bg-proof-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Center the two bottom next-step cards */
.bg-next-steps .bg-choice-card {
  text-align: center;
}

.bg-next-steps .bg-choice-card ul {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.bg-next-steps .bg-choice-card__actions {
  text-align: center;
}

/* Responsive */
@media (max-width: 1100px) {
  .bg-hero__grid,
  .bg-sim__grid,
  .bg-proof__grid,
  .bg-choice-grid,
  .bg-choice-grid--two {
    grid-template-columns: 1fr;
  }

  .bg-hero__visual {
    justify-content: flex-start;
  }

  .bg-card--hero-product {
    width: min(100%, 620px);
  }

  .bg-proof__grid .bg-proof-card:last-child {
    display: block;
  }

  .bg-hero__stack .bg-card:first-child,
  .bg-hero__stack .bg-card:last-child {
    min-height: 300px;
  }

  .bg-sim__controls,
  .bg-sim__output {
    padding: 24px;
  }
}

@media (max-width: 760px) {
  .section-shell {
    width: min(100% - 28px, 1240px);
    padding: 40px 0;
  }

  .buyers-guide-page {
    padding-top: 16px;
  }

  .bg-hero {
    padding-top: 24px;
  }

  .products-guide-strip {
    margin-bottom: 22px;
    padding: 12px 14px;
  }

  .bg-hero__copy h1 {
    max-width: 12ch;
    font-size: clamp(2.55rem, 11vw, 3.65rem);
    line-height: 0.98;
  }

  .bg-hero__lead,
  .section-heading p,
  .bg-output-block p,
  .bg-choice-card ul {
    font-size: 0.96rem;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .bg-control-card {
    padding: 14px 14px 13px;
    border-radius: 18px;
  }

  .bg-choice-card,
  .bg-sim__controls,
  .bg-sim__output {
    border-radius: 22px;
  }

  .bg-choice-card {
    padding: 22px 20px 20px;
  }

  .bg-sim {
  padding-top: 64px;
  padding-bottom: 64px;
}

.bg-sim::before {
  background-position: 58% center;
}

  .bg-sim__controls,
  .bg-sim__output {
    padding: 20px;
  }

  .bg-pill {
    min-height: 40px;
    padding: 0 12px;
  }

  .bg-hero__visual {
    justify-content: center;
  }

  .bg-card--hero-product {
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 12px;
    border-radius: 22px;
  }

  .bg-card--hero-product img {
    border-radius: 14px;
  }

  .bg-proof-card,
  .bg-proof-card--wide {
    min-height: 240px;
  }
}