.slider-showcase {
  background:
    linear-gradient(180deg, rgba(252, 250, 246, 0.96) 0%, rgba(245, 247, 250, 0.94) 100%);
  border-bottom: 1px solid rgba(39, 56, 78, 0.08);
  border-top: 1px solid rgba(39, 56, 78, 0.06);
  padding-bottom: 4rem;
  padding-top: 3rem;
}

.showcase-header {
  margin: 0 auto 2.4rem;
  max-width: 860px;
}

.showcase-kicker {
  color: #8d6a2f;
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.showcase-header .title.is-3 {
  margin-bottom: 0.9rem;
}

.showcase-copy {
  color: #5e6c7d;
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 720px;
}

.slider-grid {
  display: grid;
  gap: 1.7rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.method-row {
  margin-top: 1.8rem;
}

.method-mini-card,
.token-example {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(250, 248, 243, 0.92));
  border: 1px solid rgba(39, 56, 78, 0.1);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(29, 44, 64, 0.07);
  padding: 1.2rem 1.25rem;
}

.token-selection-intro {
  color: #5e6c7d;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.4rem;
  max-width: 760px;
}

.token-selection-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1.35rem;
}

.token-selection-card,
.token-rules-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 245, 239, 0.94));
  border: 1px solid rgba(39, 56, 78, 0.1);
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(29, 44, 64, 0.07);
  padding: 1.25rem;
}

.token-selection-head {
  align-items: start;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.token-selection-head h3,
.token-rules-head h3 {
  color: #152235;
  font-family: 'Castoro', serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
}

.token-selection-tag {
  background: rgba(141, 106, 47, 0.1);
  border: 1px solid rgba(141, 106, 47, 0.16);
  border-radius: 999px;
  color: #8d6a2f;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.38rem 0.62rem;
  text-transform: uppercase;
}

.token-selection-example + .token-selection-example {
  margin-top: 0.95rem;
}

.token-selection-label {
  color: #788596;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.token-selection-prompt {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(39, 56, 78, 0.08);
  border-radius: 16px;
  color: #24364c;
  font-size: 0.98rem;
  line-height: 1.7;
  padding: 0.9rem 1rem;
}

.token-chip {
  border-radius: 8px;
  font-weight: 700;
  padding: 0.08rem 0.38rem;
}

.token-chip-target {
  background: rgba(78, 159, 127, 0.14);
  color: #2d755a;
}

.token-chip-attribute {
  background: rgba(199, 112, 83, 0.14);
  color: #a14d34;
}

.token-selection-decision {
  color: #667585;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 0.45rem;
}

.token-rules-head {
  margin-bottom: 0.9rem;
}

.token-rules-head p {
  color: #5e6c7d;
  font-size: 0.94rem;
  line-height: 1.7;
  margin-top: 0.45rem;
}

.token-rules-table {
  border: 1px solid rgba(39, 56, 78, 0.08);
  border-radius: 18px;
  overflow: hidden;
}

.token-rules-row {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
}

.token-rules-row > div {
  background: rgba(255, 255, 255, 0.8);
  border-right: 1px solid rgba(39, 56, 78, 0.06);
  border-top: 1px solid rgba(39, 56, 78, 0.06);
  color: #435366;
  font-size: 0.92rem;
  line-height: 1.6;
  padding: 0.85rem 0.95rem;
}

.token-rules-row > div:last-child {
  border-right: 0;
}

.token-rules-header > div {
  background: linear-gradient(180deg, rgba(35, 54, 77, 0.06), rgba(141, 106, 47, 0.05));
  border-top: 0;
  color: #152235;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.token-rules-type {
  color: #152235 !important;
  font-family: 'Castoro', serif;
  font-size: 1rem !important;
}

.method-mini-card h4,
.token-example-title {
  color: #152235;
  font-family: 'Castoro', serif;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.65rem;
}

.method-figure {
  background: #fff;
  border: 1px solid rgba(39, 56, 78, 0.1);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(29, 44, 64, 0.07);
  margin: 0;
  overflow: hidden;
}

.method-figure img {
  display: block;
  width: 100%;
}

.results-slider-grid {
  margin-top: 1.9rem;
}

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

.results-group + .results-group {
  margin-top: 2.6rem;
}

.results-group-title {
  color: #152235;
  font-family: 'Castoro', serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 0.8rem;
}

.results-highlight {
  background:
    radial-gradient(circle at top right, rgba(141, 106, 47, 0.12), transparent 36%),
    linear-gradient(135deg, rgba(255, 251, 243, 0.98), rgba(248, 244, 236, 0.96));
  border: 1px solid rgba(141, 106, 47, 0.22);
  border-radius: 999px;
  box-shadow: 0 14px 32px rgba(29, 44, 64, 0.08);
  margin-bottom: 1.6rem;
  padding: 0.95rem 1.2rem;
}

.results-highlight p {
  color: #314255;
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
}

.results-highlight strong {
  color: #8d6a2f;
}

.steering-demo {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
  margin-top: 1.9rem;
}

.steering-demo-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 244, 238, 0.94));
  border: 1px solid rgba(39, 56, 78, 0.1);
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(29, 44, 64, 0.07);
  padding: 1.35rem;
}

.steering-demo-panel-center {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.steering-demo-intro {
  color: #415163 !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  margin-bottom: 1.1rem !important;
  max-width: 760px;
}

.steering-demo-head {
  align-items: start;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}

.steering-demo-head h4 {
  color: #152235;
  font-family: 'Castoro', serif;
  font-size: 1.16rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
}

.steering-demo-tag {
  background: rgba(141, 106, 47, 0.1);
  border: 1px solid rgba(141, 106, 47, 0.18);
  border-radius: 999px;
  color: #8d6a2f;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.42rem 0.65rem;
  text-transform: uppercase;
}

.steering-step-summary {
  color: #5e6c7d;
  font-size: 0.94rem;
  line-height: 1.7;
  margin: 0 0 0.95rem;
}

.steering-pair-list {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steering-pair-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(39, 56, 78, 0.08);
  border-radius: 18px;
  padding: 0.8rem 0.9rem;
}

.steering-pair-row {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 26px 1fr;
}

.steering-pair-row + .steering-pair-row {
  margin-top: 0.55rem;
}

.steering-pair-row p {
  color: #324255;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.steering-pair-badge {
  align-items: center;
  border-radius: 9px;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.steering-pair-row.is-negative .steering-pair-badge {
  background: rgba(202, 106, 76, 0.14);
  color: #a14d34;
}

.steering-pair-row.is-positive .steering-pair-badge {
  background: rgba(71, 148, 116, 0.14);
  color: #2d755a;
}

.steering-token {
  border-radius: 8px;
  font-weight: 700;
  padding: 0.08rem 0.38rem;
}

.steering-token.is-negative {
  background: rgba(202, 106, 76, 0.14);
  color: #a14d34;
}

.steering-token.is-positive {
  background: rgba(71, 148, 116, 0.14);
  color: #2d755a;
}

.steering-formula-box {
  background:
    radial-gradient(circle at top left, rgba(141, 106, 47, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 242, 235, 0.94));
  border: 1px solid rgba(39, 56, 78, 0.1);
  border-radius: 22px;
  display: grid;
  gap: 0.9rem;
  margin-bottom: 0;
  padding: 1.2rem 1.25rem 1rem;
}

.steering-formula-block {
  display: grid;
  gap: 0.8rem;
  overflow-x: auto;
  padding: 0.15rem 0.05rem;
}

.steering-formula-line {
  align-items: center;
  color: #1d3046;
  display: flex;
  flex-wrap: nowrap;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 1.18rem;
  gap: 0.12rem;
  justify-content: center;
  line-height: 1.55;
  min-width: max-content;
  text-align: center;
}

.formula-var,
.formula-fn {
  font-style: italic;
}

.formula-op,
.formula-sep,
.formula-paren,
.formula-bracket {
  color: #4d5d70;
}

.formula-frac {
  align-items: center;
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
  margin-left: 0.12rem;
}

.formula-frac-top {
  border-bottom: 1px solid rgba(29, 48, 70, 0.45);
  padding: 0 0.26rem 0.08rem;
}

.formula-frac-bottom {
  padding-top: 0.06rem;
}

.steering-formula-caption {
  color: #6a7888;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

.steering-chart-wrap {
  background:
    radial-gradient(circle at top right, rgba(141, 106, 47, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(247, 249, 252, 0.98), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(39, 56, 78, 0.1);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  overflow: hidden;
  padding: 0.9rem 0.9rem 0.8rem;
}

.steering-chart,
.steering-chart-gif {
  display: block;
  height: auto;
  min-height: 0;
  max-width: 100%;
  width: 100%;
}

.steering-chart-gif {
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(29, 44, 64, 0.08);
  object-fit: contain;
}

.steering-demo-panel-center .steering-demo-head,
.steering-demo-panel-center .steering-step-summary {
  display: none;
}

.steering-axis {
  stroke: rgba(35, 54, 77, 0.2);
  stroke-width: 1.6;
}

.steering-cluster {
  stroke-width: 1.5;
}

.steering-cluster-negative {
  fill: rgba(199, 112, 83, 0.1);
  stroke: rgba(199, 112, 83, 0.22);
}

.steering-cluster-positive {
  fill: rgba(78, 159, 127, 0.1);
  stroke: rgba(78, 159, 127, 0.22);
}

.steering-point {
  opacity: 0.9;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 2;
}

.steering-point-negative,
.steering-centroid-negative {
  fill: #c77053;
}

.steering-point-positive,
.steering-centroid-positive {
  fill: #4e9f7f;
}

.steering-centroid {
  stroke: #ffffff;
  stroke-width: 3;
}

.steering-centroid-ring {
  fill: none;
  stroke-width: 2;
}

.steering-centroid-ring-negative {
  stroke: rgba(199, 112, 83, 0.28);
}

.steering-centroid-ring-positive {
  stroke: rgba(78, 159, 127, 0.28);
}

.steering-vector-line {
  stroke: #8d6a2f;
  stroke-width: 3.4;
}

.steering-label-chip {
  stroke-width: 1;
}

.steering-label-chip-negative {
  fill: rgba(199, 112, 83, 0.12);
  stroke: rgba(199, 112, 83, 0.22);
}

.steering-label-chip-positive {
  fill: rgba(78, 159, 127, 0.12);
  stroke: rgba(78, 159, 127, 0.22);
}

.steering-label-chip-vector {
  fill: rgba(141, 106, 47, 0.12);
  stroke: rgba(141, 106, 47, 0.22);
}

.steering-label {
  fill: #46576a;
  font-family: 'Noto Sans', sans-serif;
  font-size: 13px;
}

.steering-label-vector {
  fill: #8d6a2f;
  font-weight: 700;
}

.steering-chart-note {
  color: #677687;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 0.25rem;
  text-align: center;
}


.slider-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 246, 241, 0.92));
  border: 1px solid rgba(39, 56, 78, 0.1);
  border-radius: 26px;
  box-shadow: 0 24px 54px rgba(29, 44, 64, 0.09);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.slider-card:hover {
  border-color: rgba(141, 106, 47, 0.26);
  box-shadow: 0 28px 62px rgba(29, 44, 64, 0.12);
  transform: translateY(-2px);
}

.slider-media {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(180deg, rgba(21, 34, 53, 0.12), rgba(21, 34, 53, 0.04)),
    #e8edf2;
  border-bottom: 1px solid rgba(39, 56, 78, 0.08);
  overflow: hidden;
  position: relative;
}

.slider-media img {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  user-select: none;
  visibility: hidden;
  width: 100%;
}

.slider-media video {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  user-select: none;
  visibility: hidden;
  width: 100%;
}

.slider-media img.is-active {
  opacity: 1;
  visibility: visible;
}

.slider-media video.is-active {
  opacity: 1;
  visibility: visible;
}

.slider-card-body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.slider-card-copy {
  display: flex;
  margin-bottom: 0.9rem;
}

.slider-label {
  color: #152235;
  font-family: 'Castoro', serif;
  font-size: 1.08rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
}

.showcase-range {
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, rgba(35, 54, 77, 0.14) 0%, rgba(141, 106, 47, 0.12) 100%);
  border-radius: 999px;
  height: 0.56rem;
  outline: none;
  width: 100%;
}

.showcase-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(135deg, #b49259 0%, #7f5f2a 100%);
  border: 3px solid #fdfbf7;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(127, 95, 42, 0.24);
  cursor: pointer;
  height: 1.24rem;
  width: 1.24rem;
}

.showcase-range::-moz-range-thumb {
  background: linear-gradient(135deg, #b49259 0%, #7f5f2a 100%);
  border: 3px solid #fdfbf7;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(127, 95, 42, 0.24);
  cursor: pointer;
  height: 1.24rem;
  width: 1.24rem;
}

@media screen and (min-width: 1024px) {
  .showcase-range {
    height: 0.74rem;
  }

  .showcase-range::-webkit-slider-thumb {
    height: 1.58rem;
    width: 1.58rem;
  }

  .showcase-range::-moz-range-thumb {
    height: 1.58rem;
    width: 1.58rem;
  }
}

@media screen and (max-width: 768px) {
  .token-selection-grid {
    grid-template-columns: 1fr;
  }

  .token-rules-row {
    grid-template-columns: 1fr;
  }

  .token-rules-row > div {
    border-right: 0;
  }

  .steering-pair-list {
    grid-template-columns: 1fr;
  }

  .steering-chart {
    min-height: 260px;
  }

  .steering-thumb-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

  .two-up-results {
    grid-template-columns: 1fr;
  }

  .showcase-header {
    max-width: 100%;
  }

  .slider-card:hover {
    transform: none;
  }
}
