/* ChoiceSpin editorial pages: resource guides and localized About pages. */

@font-face {
  font-family: "ChoiceSpin Editorial";
  src: url("/fonts/Outfit-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "ChoiceSpin Text";
  src: url("/fonts/Figtree-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

.ep-shell {
  margin: 0;
  background: #050b12;
}

html[data-theme="light"] body.ep-shell {
  background: #f7f7f4 !important;
}

.ep-shell .site-footer {
  position: relative;
  z-index: 2;
  background: #050a10;
  border-top-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.76);
}

.ep-shell .site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] body.ep-shell .site-footer {
  background: #f7f7f4;
  border-top-color: rgba(17, 24, 39, 0.12);
  color: #5d665f;
}

html[data-theme="light"] body.ep-shell .site-footer a {
  color: #25332b;
}

/* About keeps its dark opening scene in light mode, so its fixed chrome stays readable. */
html[data-theme="light"] body.ep-shell--about .site-header::before {
  background: #0d100f !important;
}

html[data-theme="light"] body.ep-shell--about .site-header .logo-text,
html[data-theme="light"] body.ep-shell--about .site-header .nav a,
html[data-theme="light"] body.ep-shell--about .site-header #langDD #langBtn {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html[data-theme="light"] body.ep-shell--about .site-header #themeToggle .theme-toggle__thumb,
html[data-theme="light"] body.ep-shell--about .site-header #themeToggle .theme-toggle__icon--sun {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.ep-page {
  --ep-bg: #07111b;
  --ep-bg-soft: #0c1824;
  --ep-surface: #101d29;
  --ep-ink: #f6f8fb;
  --ep-muted: #abb7c4;
  --ep-line: rgba(255, 255, 255, 0.12);
  --ep-accent: #b8ef20;
  --ep-accent-rgb: 184 239 32;
  --ep-accent-2: #33c8c6;
  --ep-light: #f8f7f3;
  --ep-light-soft: #ffffff;
  --ep-light-ink: #101b28;
  --ep-light-muted: #56616c;
  --ep-light-line: rgba(16, 27, 40, 0.14);
  --ep-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
  --ep-radius: 18px;
  min-height: 100vh;
  overflow: clip;
  background: var(--ep-bg);
  color: var(--ep-ink);
  font-family: "ChoiceSpin Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color-scheme: dark;
}

.ep-page--teachers {
  --ep-bg: #fff2d9;
  --ep-bg-soft: #f9e5bd;
  --ep-surface: #fff8ea;
  --ep-ink: #102438;
  --ep-muted: #506273;
  --ep-line: rgba(16, 36, 56, 0.14);
  --ep-accent: #b9ef00;
  --ep-accent-rgb: 185 239 0;
  --ep-accent-2: #f26f4f;
  --ep-light: #fff8e9;
  --ep-light-soft: #fffdf8;
  --ep-light-ink: #102438;
  --ep-light-muted: #526170;
  --ep-light-line: rgba(16, 36, 56, 0.13);
  color-scheme: light;
}

.ep-page--streamers {
  --ep-bg: #030d17;
  --ep-bg-soft: #071421;
  --ep-surface: #0b1724;
  --ep-ink: #f6f8ff;
  --ep-muted: #a8b5c6;
  --ep-line: rgba(164, 190, 220, 0.14);
  --ep-accent: #b8ee25;
  --ep-accent-rgb: 184 238 37;
  --ep-accent-2: #9d5cff;
  --ep-shadow: 0 28px 74px rgba(0, 0, 0, 0.34);
}

.ep-page--audit {
  --ep-bg: #08110e;
  --ep-bg-soft: #101a16;
  --ep-surface: #14211b;
  --ep-ink: #f3f7f3;
  --ep-muted: #b4c0b7;
  --ep-line: rgba(230, 242, 232, 0.14);
  --ep-accent: #9ed65a;
  --ep-accent-rgb: 158 214 90;
  --ep-accent-2: #43b5a4;
}

/* The runtime toggles data-theme on <html>. Each editorial family resolves its
   own palette here so the switch changes the whole page without flattening the
   page-specific art direction. */
html[data-theme="light"] .ep-page--fairness {
  --ep-bg: #f7f8f4;
  --ep-bg-soft: #edf1ec;
  --ep-surface: #ffffff;
  --ep-ink: #152019;
  --ep-muted: #5c685f;
  --ep-line: rgba(21, 32, 25, 0.15);
  --ep-light: #ffffff;
  --ep-light-soft: #ffffff;
  --ep-light-ink: #152019;
  --ep-light-muted: #5c685f;
  --ep-light-line: rgba(21, 32, 25, 0.15);
  --ep-shadow: 0 28px 70px rgba(34, 49, 40, 0.14);
  color-scheme: light;
}

html[data-theme="light"] .ep-page--streamers {
  --ep-bg: #f5f7fb;
  --ep-bg-soft: #eaf0f7;
  --ep-surface: #ffffff;
  --ep-ink: #111a2a;
  --ep-muted: #586579;
  --ep-line: rgba(17, 26, 42, 0.14);
  --ep-light: #ffffff;
  --ep-light-soft: #ffffff;
  --ep-light-ink: #111a2a;
  --ep-light-muted: #586579;
  --ep-light-line: rgba(17, 26, 42, 0.14);
  --ep-shadow: 0 28px 74px rgba(43, 49, 76, 0.16);
  color-scheme: light;
}

html[data-theme="light"] .ep-page--audit {
  --ep-bg: #f4f7f3;
  --ep-bg-soft: #e8efe9;
  --ep-surface: #ffffff;
  --ep-ink: #132019;
  --ep-muted: #5a685f;
  --ep-line: rgba(19, 32, 25, 0.14);
  --ep-light: #ffffff;
  --ep-light-soft: #ffffff;
  --ep-light-ink: #132019;
  --ep-light-muted: #5a685f;
  --ep-light-line: rgba(19, 32, 25, 0.14);
  --ep-shadow: 0 28px 70px rgba(32, 50, 39, 0.14);
  color-scheme: light;
}

html:not([data-theme="light"]) .ep-page--teachers {
  --ep-bg: #08121c;
  --ep-bg-soft: #0d1924;
  --ep-surface: #13212d;
  --ep-ink: #f5f8fb;
  --ep-muted: #afbbc6;
  --ep-line: rgba(245, 248, 251, 0.13);
  --ep-light: #0d1924;
  --ep-light-soft: #13212d;
  --ep-light-ink: #f5f8fb;
  --ep-light-muted: #afbbc6;
  --ep-light-line: rgba(245, 248, 251, 0.13);
  --ep-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  color-scheme: dark;
}

html:not([data-theme="light"]) .ep-page--about {
  --ep-light: #121714;
  --ep-light-soft: #171d19;
  --ep-light-ink: #f2f4ef;
  --ep-light-muted: #b4bbb5;
  --ep-light-line: rgba(242, 244, 239, 0.15);
  color-scheme: dark;
}

.ep-page *,
.ep-page *::before,
.ep-page *::after {
  box-sizing: border-box;
}

.ep-page ::selection {
  background: var(--ep-accent);
  color: #07111b;
}

.ep-page h1,
.ep-page h2,
.ep-page h3,
.ep-page strong,
.ep-page summary,
.ep-page .ep-button {
  font-family: "ChoiceSpin Editorial", "Segoe UI", system-ui, sans-serif;
}

.ep-page h1,
.ep-page h2,
.ep-page h3,
.ep-page p {
  text-wrap: pretty;
}

.ep-page h1,
.ep-page h2,
.ep-page h3,
.ep-page p {
  margin-top: 0;
}

.ep-page h2 {
  margin-bottom: 18px;
  color: currentColor;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 730;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.ep-page h3 {
  color: currentColor;
  font-size: 1.08rem;
  font-weight: 720;
  line-height: 1.24;
}

.ep-page p {
  margin-bottom: 0;
  color: var(--ep-muted);
  font-size: 1rem;
  line-height: 1.72;
}

.ep-page p + p {
  margin-top: 14px;
}

.ep-page a:not(.ep-button) {
  color: currentColor;
  text-decoration-color: rgba(var(--ep-accent-rgb), 0.58);
  text-underline-offset: 3px;
}

.ep-page a.ep-text-link {
  text-decoration-line: underline;
}

.ep-page code {
  padding: 0.12em 0.38em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: currentColor;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.88em;
}

.ep-wrap,
.ep-hero__inner {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.ep-wrap--narrow {
  width: min(980px, calc(100% - 48px));
}

.ep-section {
  position: relative;
  padding: clamp(68px, 8vw, 112px) 0;
  border-top: 1px solid var(--ep-line);
  background: var(--ep-bg);
  color: var(--ep-ink);
}

.ep-section--light {
  background: var(--ep-light);
  color: var(--ep-light-ink);
}

.ep-section--light p {
  color: var(--ep-light-muted);
}

.ep-section--light code {
  background: rgba(16, 27, 40, 0.07);
}

.ep-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
}

.ep-section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.ep-section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.ep-section-heading--center p {
  margin-inline: auto;
}

.ep-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ep-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #081018;
  background: var(--ep-accent);
  box-shadow: 0 16px 34px rgba(var(--ep-accent-rgb), 0.2);
  font-size: 0.96rem;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.ep-button:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(var(--ep-accent-rgb), 0.26);
}

.ep-button:focus-visible {
  outline: 3px solid rgba(var(--ep-accent-rgb), 0.45);
  outline-offset: 4px;
}

.ep-button__icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.ep-button:hover .ep-button__icon {
  transform: translateX(3px);
}

[data-ep-reveal] {
  opacity: 1;
  transform: none;
}

.ep-motion [data-ep-reveal].ep-reveal-pending {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
}

.ep-motion [data-ep-reveal].is-visible {
  animation: epReveal 620ms cubic-bezier(0.16, 1, 0.3, 1) var(--ep-delay, 0ms) both;
}

@keyframes epReveal {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.ep-hero {
  position: relative;
  min-height: 640px;
  padding: 96px 0 42px;
  overflow: hidden;
  background: #06101a;
  color: #f7f9fc;
}

.ep-hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 5%;
  bottom: 0;
  left: 5%;
  height: 2px;
  background: linear-gradient(90deg, #f15b5d, #ffb523, #b9ee20, #37b8a7, #407bc9, #8a55d4);
  opacity: 0.92;
}

.ep-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  gap: clamp(38px, 6vw, 88px);
  align-items: center;
}

.ep-hero__copy {
  position: relative;
  z-index: 3;
  max-width: 610px;
}

.ep-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
}

.ep-breadcrumb a {
  color: inherit !important;
  text-decoration: none !important;
}

.ep-breadcrumb a:hover {
  color: #ffffff !important;
}

.ep-hero h1 {
  max-width: 780px;
  margin-bottom: 24px;
  color: #ffffff;
  font-size: clamp(3rem, 4.6vw, 4.35rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.ep-hero p {
  max-width: 600px;
  color: rgba(235, 241, 247, 0.75);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.7;
}

.ep-hero .ep-button {
  margin-top: 30px;
}

.ep-hero__visual {
  position: relative;
  min-height: 450px;
}

.ep-wheel {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border: 3px solid #0d1823;
  border-radius: 50%;
  background:
    conic-gradient(
      from -18deg,
      #ef4770 0 12.5%,
      #f57936 12.5% 25%,
      #ffbc1f 25% 37.5%,
      #b4d719 37.5% 50%,
      #4bb98c 50% 62.5%,
      #2d9ac5 62.5% 75%,
      #4f66c8 75% 87.5%,
      #8250bd 87.5% 100%
    );
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.16), 0 24px 50px rgba(0, 0, 0, 0.32);
}

.ep-wheel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    repeating-conic-gradient(from -18deg, rgba(5, 13, 22, 0.62) 0 1px, transparent 1px 45deg),
    radial-gradient(circle, transparent 0 57%, rgba(255, 255, 255, 0.12) 58%, transparent 62%);
}

.ep-wheel__hub {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 21%;
  aspect-ratio: 1;
  border: 3px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: #101923;
  box-shadow: 0 0 0 5px #08111a;
  transform: translate(-50%, -50%);
}

.ep-wheel__pointer {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: -8%;
  width: 16%;
  height: 11%;
  border: 2px solid #101923;
  border-radius: 58% 18% 18% 58%;
  background: #ffffff;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  transform: translateY(-50%);
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.24));
}

.ep-hero__visual--fairness {
  display: grid;
  place-items: center;
}

.ep-orbits {
  position: absolute;
  width: min(92%, 530px);
  aspect-ratio: 1;
  border: 1px solid rgba(var(--ep-accent-rgb), 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(var(--ep-accent-rgb), 0.035),
    0 0 0 70px rgba(var(--ep-accent-rgb), 0.025),
    0 0 0 108px rgba(var(--ep-accent-rgb), 0.018);
}

.ep-wheel--hero {
  width: min(68%, 390px);
  animation: epWheelSettle 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes epWheelSettle {
  from {
    opacity: 0;
    transform: rotate(-24deg) scale(0.92);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

.ep-hero--for-teachers {
  min-height: 670px;
  background: #f8dfb4;
  color: #102438;
}

.ep-hero--for-teachers::after {
  display: none;
}

.ep-hero--for-teachers .ep-hero__inner {
  min-height: 530px;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
}

.ep-hero--for-teachers .ep-hero__copy {
  max-width: 510px;
}

.ep-hero--for-teachers h1 {
  color: #102438;
}

.ep-hero--for-teachers p {
  color: #405363;
}

.ep-hero--for-teachers .ep-breadcrumb {
  color: #66715e;
}

.ep-hero__visual--teachers {
  position: absolute;
  top: -96px;
  bottom: -42px;
  left: 50%;
  width: min(100vw, 1440px);
  transform: translateX(-50%);
}

.ep-hero__visual--teachers::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f8dfb4 2%, rgba(248, 223, 180, 0.96) 22%, transparent 48%);
  pointer-events: none;
}

.ep-hero__visual--teachers picture,
.ep-hero__visual--teachers img {
  display: block;
  width: 100%;
  height: 100%;
}

.ep-hero__visual--teachers img {
  object-fit: cover;
  object-position: center;
}

.ep-hero--for-streamers {
  background:
    radial-gradient(circle at 78% 30%, rgba(111, 58, 189, 0.18), transparent 40%),
    #030b15;
}

.ep-broadcast {
  position: absolute;
  inset: 8% 0 6%;
  border: 1px solid rgba(163, 91, 255, 0.66);
  border-radius: 8px;
  background: rgba(5, 12, 23, 0.82);
  box-shadow:
    0 0 0 2px rgba(133, 78, 211, 0.16),
    0 0 34px rgba(147, 75, 235, 0.2),
    var(--ep-shadow);
}

.ep-broadcast__bar {
  display: flex;
  gap: 6px;
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.ep-broadcast__bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f56d6d;
}

.ep-broadcast__bar span:nth-child(2) {
  background: #f4c24d;
}

.ep-broadcast__bar span:nth-child(3) {
  background: #58c892;
}

.ep-wheel--broadcast {
  position: absolute;
  top: 14%;
  left: 12%;
  width: 58%;
}

.ep-broadcast__chat {
  position: absolute;
  top: 15%;
  right: 4%;
  width: 24%;
  height: 54%;
  padding: 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: rgba(6, 13, 25, 0.9);
}

.ep-broadcast__chat i {
  display: block;
  width: 100%;
  height: 8px;
  margin: 11px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #8754d2 0 12%, rgba(255, 255, 255, 0.18) 12% 88%, transparent 88%);
}

.ep-broadcast__result {
  position: absolute;
  right: 8%;
  bottom: 7%;
  left: 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 16px;
  border: 1px solid rgba(var(--ep-accent-rgb), 0.72);
  border-radius: 7px;
  background: rgba(6, 13, 24, 0.9);
  box-shadow: 0 0 20px rgba(var(--ep-accent-rgb), 0.14);
  color: #ffffff;
}

.ep-broadcast__result span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ep-hero--randomness-audit {
  background:
    radial-gradient(circle at 80% 42%, rgba(92, 151, 91, 0.12), transparent 38%),
    #08100d;
}

.ep-audit-preview {
  position: absolute;
  inset: 12% 0 10%;
  display: grid;
  grid-template-columns: 1fr 0.76fr;
  gap: 38px;
  align-items: center;
}

.ep-audit-preview__bars {
  display: grid;
  gap: 22px;
}

.ep-audit-preview__bars span {
  display: block;
  width: var(--bar);
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38765b, #afd967);
  box-shadow: 0 0 18px rgba(121, 190, 96, 0.13);
}

.ep-audit-preview__arc {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(var(--ep-accent-rgb), 0.15);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #08100d 0 32%, transparent 33%),
    conic-gradient(from 0deg, #9ed65a 0 20%, #6db887 20% 40%, #4da497 40% 60%, transparent 60% 100%);
  box-shadow: 0 0 0 28px rgba(var(--ep-accent-rgb), 0.025);
}

.ep-summary {
  background: var(--ep-bg-soft);
}

.ep-summary__intro {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 70px;
  align-items: start;
  margin-bottom: 54px;
}

.ep-summary__intro p {
  max-width: 760px;
}

.ep-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ep-line);
  border-bottom: 1px solid var(--ep-line);
}

.ep-highlight {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  padding: 28px clamp(20px, 3vw, 34px);
}

.ep-highlight + .ep-highlight {
  border-left: 1px solid var(--ep-line);
}

.ep-highlight__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(var(--ep-accent-rgb), 0.6);
  border-radius: 50%;
  color: var(--ep-accent);
}

.ep-highlight h3 {
  margin: 1px 0 7px;
}

.ep-highlight p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.ep-section--light .ep-highlights {
  border-color: var(--ep-light-line);
}

.ep-section--light .ep-highlight + .ep-highlight {
  border-color: var(--ep-light-line);
}

.ep-numbered > p {
  margin-bottom: 22px;
}

.ep-numbered__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ep-numbered__list li {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.ep-numbered__list li + li {
  margin-top: 24px;
}

.ep-numbered__number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(var(--ep-accent-rgb), 0.76);
  border-radius: 50%;
  background: var(--ep-bg);
  color: var(--ep-accent);
  font-family: "ChoiceSpin Editorial", system-ui, sans-serif;
  font-weight: 760;
}

.ep-numbered__copy p {
  margin: 3px 0 0;
  font-size: 0.96rem;
}

.ep-numbered--vertical .ep-numbered__list {
  position: relative;
}

.ep-numbered--vertical .ep-numbered__list::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 20px;
  width: 1px;
  background: linear-gradient(var(--ep-accent), rgba(var(--ep-accent-rgb), 0.08));
  transform-origin: top;
  animation: epDrawLine 900ms ease-out both;
}

@keyframes epDrawLine {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.ep-numbered--horizontal .ep-numbered__list,
.ep-numbered--nodes .ep-numbered__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.ep-numbered--horizontal .ep-numbered__list li,
.ep-numbered--nodes .ep-numbered__list li {
  display: block;
}

.ep-numbered--horizontal .ep-numbered__list li + li,
.ep-numbered--nodes .ep-numbered__list li + li {
  margin-top: 0;
}

.ep-numbered--horizontal .ep-numbered__number,
.ep-numbered--nodes .ep-numbered__number {
  margin-bottom: 18px;
}

.ep-fairness-process__visual {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
}

.ep-wheel--process {
  width: min(78%, 360px);
}

.ep-motion-lines {
  position: absolute;
  left: 0;
  width: 32%;
  height: 58%;
  background: repeating-linear-gradient(180deg, transparent 0 22px, rgba(255, 255, 255, 0.18) 22px 23px);
  mask-image: linear-gradient(90deg, transparent, #000);
}

.ep-odds__chart {
  padding: 32px;
  border: 1px solid var(--ep-light-line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(17, 31, 45, 0.08);
}

.ep-odds__chart > p {
  margin-bottom: 20px;
  color: var(--ep-light-ink);
  font-weight: 700;
}

.ep-odds__row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 44px;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  color: var(--ep-light-muted);
  font-size: 0.88rem;
}

.ep-odds__row i {
  display: block;
  width: var(--odds);
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #315a9c, #65a4b5, #acd31d);
}

.ep-odds__row strong {
  color: var(--ep-light-ink);
  font-size: 0.84rem;
}

.ep-fairness-details {
  background: #07111b;
}

.ep-fairness-details > .ep-wrap > h2 {
  margin-bottom: 38px;
}

.ep-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ep-line);
  border-bottom: 1px solid var(--ep-line);
}

.ep-detail {
  position: relative;
  padding: 34px;
}

.ep-detail + .ep-detail {
  border-left: 1px solid var(--ep-line);
}

.ep-detail__icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--ep-accent);
}

.ep-detail h3 {
  margin-bottom: 14px;
}

.ep-detail p {
  font-size: 0.92rem;
}

.ep-page--teachers .ep-section {
  color: var(--ep-light-ink);
}

.ep-page--teachers .ep-section p {
  color: var(--ep-light-muted);
}

.ep-teacher-why .ep-section-heading {
  max-width: 860px;
}

.ep-page--teachers .ep-highlights {
  --ep-line: var(--ep-light-line);
}

.ep-classroom-setups {
  padding-top: 34px;
}

.ep-classroom-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ep-classroom-item {
  display: grid;
  grid-template-columns: 66px minmax(220px, 0.72fr) minmax(300px, 1.28fr);
  gap: 28px;
  align-items: center;
  min-height: 230px;
  padding: 30px 0;
  border-top: 1px solid var(--ep-light-line);
}

.ep-classroom-item:nth-child(even) {
  grid-template-columns: 66px minmax(300px, 1.28fr) minmax(220px, 0.72fr);
}

.ep-classroom-item:nth-child(even) .ep-classroom-item__copy {
  grid-column: 3;
}

.ep-classroom-item:nth-child(even) .ep-classroom-item__visual {
  grid-column: 2;
  grid-row: 1;
}

.ep-classroom-item__number {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #7855bd;
  font-family: "ChoiceSpin Editorial", system-ui, sans-serif;
  font-size: 1.45rem;
  font-weight: 780;
}

.ep-classroom-item:nth-child(2) .ep-classroom-item__number { background: #ef5a6d; }
.ep-classroom-item:nth-child(3) .ep-classroom-item__number { background: #397ec2; }
.ep-classroom-item:nth-child(4) .ep-classroom-item__number { background: #f3af16; }
.ep-classroom-item:nth-child(5) .ep-classroom-item__number { background: #74b832; }

.ep-classroom-item__copy p {
  color: var(--ep-light-muted);
}

.ep-classroom-item__copy strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ep-light-ink);
  font-size: 1.34rem;
}

.ep-classroom-item__visual {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 9;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid rgba(16, 36, 56, 0.1);
  border-radius: 22px;
  background: linear-gradient(135deg, #ffe0ac, #f3c775);
  box-shadow: 0 20px 50px rgba(91, 67, 31, 0.1);
}

.ep-setup-scene {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ep-classroom-item__visual--2 { background: linear-gradient(135deg, #f8e8d3, #edc7ac); }
.ep-classroom-item__visual--3 { background: linear-gradient(135deg, #10283d, #24485e); }
.ep-classroom-item__visual--4 { background: linear-gradient(135deg, #f7e8c6, #d5b789); }
.ep-classroom-item__visual--5 { background: linear-gradient(135deg, #f2d3a1, #fff1c9); }

.ep-setup-results {
  width: min(88%, 420px);
  margin: auto;
  padding: 18px;
  border: 1px solid rgba(16, 36, 56, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 30px rgba(91, 67, 31, 0.1);
  color: #173047;
}

.ep-setup-results__head,
.ep-setup-results__row {
  display: grid;
  align-items: center;
}

.ep-setup-results__head {
  grid-template-columns: 1fr auto;
  margin-bottom: 8px;
  padding: 0 4px 9px;
  border-bottom: 1px solid rgba(16, 36, 56, 0.11);
}

.ep-setup-results__head span,
.ep-setup-results__row small {
  color: #607081;
  font-size: 0.7rem;
}

.ep-setup-results__row {
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 28px;
  padding: 0 5px;
  border-radius: 7px;
  font-size: 0.78rem;
}

.ep-setup-results__row i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #57a878;
}

.ep-setup-results__row.is-waiting i {
  background: #b8c2cc;
}

.ep-setup-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 90%;
  margin: auto;
}

.ep-setup-groups__card {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 13px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-align: center;
}

.ep-setup-groups__card strong {
  padding-bottom: 7px;
  border-bottom: 2px solid #ef5a6d;
  font-size: 0.72rem;
}

.ep-setup-groups__card:nth-child(2) strong { border-color: #f3af16; }
.ep-setup-groups__card:nth-child(3) strong { border-color: #74b832; }
.ep-setup-groups__card:nth-child(4) strong { border-color: #3ca9a0; }

.ep-setup-groups__card span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.67rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ep-setup-activities {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 88%;
  margin: auto;
}

.ep-setup-activities > span {
  display: grid;
  min-height: 70px;
  padding: 10px 6px;
  place-items: center;
  border-radius: 5px 5px 12px 5px;
  background: #62c493;
  box-shadow: 0 12px 20px rgba(91, 67, 31, 0.13);
  color: #173047;
  font-size: 0.72rem;
  font-weight: 760;
  transform: rotate(-2deg);
}

.ep-setup-activities > span:nth-child(2) { background: #ef7b67; transform: rotate(2deg); }
.ep-setup-activities > span:nth-child(3) { background: #f5c54d; transform: rotate(-1deg); }
.ep-setup-activities > span:nth-child(4) { background: #78b6d9; transform: rotate(2deg); }

.ep-teacher-privacy {
  background:
    radial-gradient(circle at 88% 50%, rgba(185, 239, 0, 0.09), transparent 28%),
    #062d31;
  color: #ffffff !important;
}

.ep-teacher-privacy p {
  color: rgba(255, 255, 255, 0.74) !important;
}

.ep-teacher-privacy__inner {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.ep-teacher-privacy__icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 2px solid var(--ep-accent);
  border-radius: 50%;
  color: var(--ep-accent);
}

.ep-teacher-privacy__icon .ep-icon {
  width: 32px;
  height: 32px;
}

.ep-teacher-pair__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
}

.ep-teacher-pair article {
  padding: clamp(28px, 4vw, 48px);
  border-radius: 24px;
  background: #fffdf7;
  box-shadow: 0 22px 60px rgba(68, 50, 24, 0.08);
}

.ep-projector-card {
  background: linear-gradient(145deg, #fff6d4, #f5cf72) !important;
}

.ep-teacher-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 34px;
}

.ep-teacher-flow span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(16, 36, 56, 0.16);
  border-radius: 50%;
  color: #244154;
  background: #fff6d9;
}

.ep-teacher-flow i {
  flex: 1;
  height: 1px;
  margin: 0 10px;
  background: repeating-linear-gradient(90deg, rgba(16, 36, 56, 0.25) 0 5px, transparent 5px 10px);
}

.ep-projector-card__screen {
  display: grid;
  min-height: 190px;
  margin-top: 28px;
  place-items: center;
  border: 10px solid #182635;
  border-width: 10px 3px 6px;
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: 0 18px 38px rgba(65, 46, 18, 0.15);
}

.ep-wheel--mini {
  width: 132px;
}

.ep-quick-start h2 {
  text-align: center;
}

.ep-page--teachers .ep-numbered__number {
  background: #fffaf0;
  color: #102438;
}

.ep-quick-start li:nth-child(1) .ep-numbered__number { background: #7855bd; color: #ffffff; }
.ep-quick-start li:nth-child(2) .ep-numbered__number { background: #ef5a6d; color: #ffffff; }
.ep-quick-start li:nth-child(3) .ep-numbered__number { background: #f3af16; color: #102438; }
.ep-quick-start li:nth-child(4) .ep-numbered__number { background: #74b832; color: #102438; }

.ep-stream-results {
  background: #071421;
}

.ep-result-example {
  min-width: 0;
  margin: 0;
}

.ep-result-example figcaption {
  margin-top: 8px;
  color: var(--ep-muted);
  font-size: 0.72rem;
}

.ep-result-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--ep-line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(2, 9, 17, 0.56);
}

.ep-result-strip > div {
  min-width: 0;
  padding: 22px 14px;
}

.ep-result-strip > div + div {
  border-left: 1px solid var(--ep-line);
}

.ep-result-strip span {
  display: grid;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  place-items: center;
  border: 1px solid rgba(157, 92, 255, 0.5);
  border-radius: 50%;
  background: rgba(157, 92, 255, 0.14);
  color: #cfb6ff;
  font-size: 0.78rem;
  font-weight: 760;
}

.ep-result-strip > div:nth-child(2) span { border-color: rgba(45, 198, 204, 0.5); background: rgba(45, 198, 204, 0.13); color: #79e4df; }
.ep-result-strip > div:nth-child(3) span { border-color: rgba(239, 71, 112, 0.5); background: rgba(239, 71, 112, 0.13); color: #ff9bb4; }
.ep-result-strip > div:nth-child(4) span { border-color: rgba(255, 188, 31, 0.5); background: rgba(255, 188, 31, 0.13); color: #ffd875; }
.ep-result-strip > div:nth-child(5) span { border-color: rgba(var(--ep-accent-rgb), 0.5); background: rgba(var(--ep-accent-rgb), 0.1); color: var(--ep-accent); }

.ep-result-strip strong {
  display: block;
  overflow: hidden;
  color: #ffffff;
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ep-result-strip small {
  display: block;
  margin-top: 5px;
  color: var(--ep-muted);
  font-size: 0.7rem;
}

.ep-stream-results > .ep-highlights {
  width: min(1180px, calc(100% - 48px));
  margin: 60px auto 0;
}

.ep-stream-setup__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
}

.ep-stream-studio {
  margin: 0 0 30px;
  overflow: hidden;
  border: 1px solid rgba(157, 92, 255, 0.34);
  border-radius: 18px;
  background: #050b14;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.ep-stream-studio img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ep-stream-studio figcaption {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #07111d;
}

.ep-stream-studio figcaption > div {
  min-width: 0;
  padding: 20px 22px;
}

.ep-stream-studio figcaption > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.ep-stream-studio figcaption strong,
.ep-stream-studio figcaption span {
  display: block;
}

.ep-stream-studio figcaption strong {
  color: #ffffff;
  font-family: "ChoiceSpin Editorial", system-ui, sans-serif;
  font-size: 1rem;
}

.ep-stream-studio figcaption span {
  margin-top: 6px;
  color: #a8b5c6;
  font-size: 0.82rem;
  line-height: 1.48;
}

.ep-stream-setup__grid article {
  min-height: 245px;
  padding: 32px;
  border: 1px solid rgba(157, 92, 255, 0.28);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(157, 92, 255, 0.08), rgba(8, 20, 32, 0.8));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.ep-stream-setup__grid article:nth-child(2) {
  border-color: rgba(45, 198, 204, 0.28);
  background: linear-gradient(145deg, rgba(45, 198, 204, 0.07), rgba(8, 20, 32, 0.8));
}

.ep-stream-setup__icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid var(--ep-line);
  border-radius: 10px;
  color: #d8c5ff;
}

.ep-stream-setup__grid strong {
  color: #ffffff;
  font-size: 1.26rem;
}

.ep-stream-setup > .ep-wrap > p:last-child {
  max-width: 720px;
  margin: 28px auto 0;
  text-align: center;
}

.ep-stream-workflow {
  background: #040e18;
}

.ep-numbered--nodes .ep-numbered__list {
  position: relative;
}

.ep-numbered--nodes .ep-numbered__list::before {
  content: "";
  position: absolute;
  top: 30px;
  right: 10%;
  left: 6%;
  height: 1px;
  background: linear-gradient(90deg, #a04fff, #4f83dc, #22c7bd, #c3ec2a);
  box-shadow: 0 0 16px rgba(119, 96, 255, 0.32);
}

.ep-numbered--nodes .ep-numbered__number {
  width: 60px;
  height: 60px;
  border-color: #9b57ef;
  background: #08121d;
  box-shadow: 0 0 26px rgba(157, 92, 255, 0.26);
}

.ep-numbered--nodes li:nth-child(2) .ep-numbered__number {
  border-color: #4f83dc;
  color: #7cacff;
}

.ep-numbered--nodes li:nth-child(3) .ep-numbered__number {
  border-color: #22c7bd;
  color: #57e4d8;
}

.ep-numbered--nodes li:nth-child(4) .ep-numbered__number {
  border-color: var(--ep-accent);
  color: var(--ep-accent);
}

.ep-stream-challenges {
  background: #071421;
}

.ep-challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.ep-challenge-grid article {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 20px 24px;
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(157, 92, 255, 0.34);
  border-radius: 13px;
  background: rgba(3, 11, 20, 0.72);
}

.ep-challenge-grid article:nth-child(2) { border-color: rgba(48, 198, 195, 0.34); }
.ep-challenge-grid article:nth-child(3) { border-color: rgba(var(--ep-accent-rgb), 0.34); }

.ep-challenge-grid h3 {
  grid-column: 1 / -1;
  margin-bottom: 0;
  text-align: center;
}

.ep-wheel--challenge {
  width: 132px;
  align-self: center;
}

.ep-challenge-list,
.ep-content-picker,
.ep-stream-goals {
  display: grid;
  align-self: center;
}

.ep-challenge-list i,
.ep-content-picker i,
.ep-stream-goals i {
  min-width: 0;
  padding: 8px 10px;
  border-bottom: 1px solid var(--ep-line);
  color: var(--ep-muted);
  font-size: 0.74rem;
  font-style: normal;
  line-height: 1.2;
}

.ep-challenge-list i:first-child,
.ep-content-picker i.is-active,
.ep-stream-goals i:first-child {
  border-radius: 6px;
  background: rgba(157, 92, 255, 0.12);
  color: var(--ep-ink);
}

.ep-content-picker,
.ep-stream-goals {
  grid-column: 1 / -1;
  align-self: stretch;
  padding: 5px 12px 12px;
}

.ep-stream-goals {
  align-content: center;
}

.ep-content-picker i.is-active {
  border-bottom-color: transparent;
  box-shadow: inset 3px 0 #22c7bd;
}

.ep-stream-live {
  background:
    radial-gradient(ellipse at center, rgba(116, 62, 179, 0.08), transparent 52%),
    #030d17;
}

.ep-live-diagram {
  display: grid;
  grid-template-columns: minmax(140px, 0.8fr) 1fr minmax(210px, 1fr) 1fr minmax(140px, 0.8fr);
  gap: 18px;
  align-items: center;
  margin: 52px auto 0;
  max-width: 930px;
}

.ep-live-diagram > div {
  display: grid;
  padding: 16px;
  place-items: center;
  border: 1px solid rgba(157, 92, 255, 0.3);
  border-radius: 12px;
  background: rgba(7, 19, 31, 0.8);
}

.ep-live-device {
  min-height: 210px;
  align-content: center;
  gap: 16px;
  color: var(--ep-ink);
}

.ep-live-device small,
.ep-live-device strong {
  display: block;
  text-align: center;
}

.ep-live-device small {
  color: var(--ep-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ep-live-device strong {
  font-size: 0.78rem;
}

.ep-live-reactions,
.ep-live-checks {
  display: grid;
  width: 78%;
  margin-inline: auto;
  gap: 11px;
}

.ep-live-reactions i,
.ep-live-checks i {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ef4770 0 16%, rgba(255, 255, 255, 0.12) 16% 100%);
}

.ep-live-reactions i:nth-child(2) { width: 80%; background: linear-gradient(90deg, #9d5cff 0 16%, rgba(255, 255, 255, 0.12) 16% 100%); }
.ep-live-reactions i:nth-child(3) { width: 62%; background: linear-gradient(90deg, #22c7bd 0 16%, rgba(255, 255, 255, 0.12) 16% 100%); }

.ep-live-checks i {
  position: relative;
  height: 28px;
  border: 1px solid var(--ep-line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.ep-live-checks i::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 10px;
  width: 8px;
  height: 5px;
  border-bottom: 2px solid var(--ep-accent);
  border-left: 2px solid var(--ep-accent);
  transform: rotate(-45deg);
}

.ep-live-diagram__host {
  box-shadow: 0 0 35px rgba(157, 92, 255, 0.16);
}

.ep-live-diagram > i {
  height: 1px;
  background: linear-gradient(90deg, rgba(157, 92, 255, 0.24), #9d5cff, rgba(157, 92, 255, 0.24));
}

.ep-wheel--room {
  width: min(100%, 180px);
}

.ep-stream-reuse {
  background: #071421;
}

.ep-reuse-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 780px;
  margin: 44px auto 0;
}

.ep-reuse-flow span {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid var(--ep-line);
  border-radius: 13px;
  color: #d9e2ec;
  background: rgba(255, 255, 255, 0.025);
}

.ep-reuse-flow i {
  flex: 1;
  height: 1px;
  margin: 0 14px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}

.ep-audit-highlights {
  padding: 48px 0;
  background: #101a16;
}

.ep-audit-highlights .ep-highlights {
  width: 100%;
}

.ep-audit-tool {
  scroll-margin-top: 76px;
}

.ep-audit-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 26px;
  align-items: start;
}

.ra-tool,
#raResults {
  min-width: 0;
  min-height: 420px;
  padding: 28px;
  border: 1px solid var(--ep-light-line);
  border-radius: 16px;
  background: #ffffff;
  color: var(--ep-light-ink);
  box-shadow: 0 18px 50px rgba(21, 39, 29, 0.07);
}

.ra-tool label {
  display: block;
  margin: 0 0 8px;
  color: var(--ep-light-ink);
  font-weight: 700;
}

.ra-tool textarea,
.ra-tool select {
  width: 100%;
  border: 1px solid rgba(16, 27, 40, 0.2);
  border-radius: 9px;
  background: #ffffff;
  color: #101b28;
  font: inherit;
}

.ra-tool textarea {
  min-height: 190px;
  padding: 12px 14px;
  resize: vertical;
}

.ra-row {
  display: grid;
  grid-template-columns: minmax(90px, 0.48fr) minmax(150px, 1fr);
  gap: 12px;
  align-items: end;
  margin-top: 18px;
}

.ra-row label {
  grid-column: 1 / -1;
  margin-bottom: -5px !important;
}

.ra-tool select {
  min-height: 46px;
  padding: 0 12px;
}

.ra-tool button,
.ra-copy {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #1e543e;
  border-radius: 9px;
  background: #1e543e;
  color: #ffffff;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.ra-tool button[disabled] {
  opacity: 0.6;
  cursor: wait;
}

.ra-tool textarea:focus-visible,
.ra-tool select:focus-visible,
.ra-tool button:focus-visible,
.ra-copy:focus-visible {
  outline: 3px solid rgba(var(--ep-accent-rgb), 0.36);
  outline-offset: 3px;
}

.ra-source {
  margin-top: 16px !important;
  font-size: 0.83rem !important;
}

#raResults:empty::before {
  content: "Run the audit to see the distribution here.";
  display: grid;
  min-height: 360px;
  place-items: center;
  color: var(--ep-light-muted);
}

#raResults > .ra-empty {
  display: grid;
  min-height: 360px;
  place-items: center;
  color: var(--ep-light-muted);
}

.ra-summary {
  margin-top: 0 !important;
  color: var(--ep-light-ink) !important;
  font-weight: 720;
}

.ra-tablewrap {
  overflow-x: auto;
  margin-top: 20px;
}

.ra-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.ra-table th,
.ra-table td {
  padding: 10px 9px;
  border-bottom: 1px solid rgba(16, 27, 40, 0.1);
  color: var(--ep-light-muted);
  text-align: left;
}

.ra-table th {
  color: var(--ep-light-ink);
  font-weight: 700;
}

.ra-barcell {
  min-width: 130px;
}

.ra-bar {
  display: inline-block;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, #36765a, #9ed65a);
  vertical-align: middle;
  transform-origin: left;
  animation: epBarGrow 520ms ease-out both;
}

@keyframes epBarGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.ra-note {
  font-size: 0.86rem !important;
}

.ra-copy {
  border-color: rgba(16, 27, 40, 0.18);
  background: transparent;
  color: var(--ep-light-ink);
}

.ep-range {
  padding: 34px;
  border: 1px solid var(--ep-light-line);
  border-radius: 16px;
  background: #ffffff;
}

.ep-range > span {
  display: block;
  margin-bottom: 22px;
  color: var(--ep-light-ink);
  font-family: "ChoiceSpin Editorial", system-ui, sans-serif;
  font-weight: 720;
}

.ep-range i {
  position: relative;
  display: block;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0 22%, rgba(var(--ep-accent-rgb), 0.42) 22% 78%, transparent 78%);
}

.ep-range i::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--ep-light-ink);
}

.ep-range b {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ep-light-ink);
  transform: translate(-50%, -50%);
}

.ep-range small {
  display: block;
  margin-top: 18px;
  color: var(--ep-light-muted);
}

.ep-audit-source {
  background: #101a16;
}

.ep-audit-source .ep-wrap > p {
  max-width: 840px;
}

.ep-algorithm-flow {
  display: flex;
  align-items: center;
  margin-top: 42px;
}

.ep-algorithm-flow span {
  padding: 14px 18px;
  border: 1px solid var(--ep-line);
  border-radius: 9px;
  color: var(--ep-ink);
  background: rgba(255, 255, 255, 0.025);
  font-weight: 650;
}

.ep-algorithm-flow i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--ep-accent-rgb), 0.15), var(--ep-accent), rgba(var(--ep-accent-rgb), 0.15));
}

.ep-audit-limits {
  background: #08100d;
}

.ep-audit-limits__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  gap: 42px;
  align-items: center;
  padding: 42px;
  border: 1px solid rgba(var(--ep-accent-rgb), 0.2);
  border-radius: 17px;
  background: #101a16;
}

.ep-audit-limits__icon {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 1px solid rgba(var(--ep-accent-rgb), 0.5);
  border-radius: 50%;
  color: var(--ep-accent);
}

.ep-faq {
  padding-top: 72px;
  background: var(--ep-bg);
}

.ep-page--teachers .ep-faq {
  background: #fff8e9;
  color: var(--ep-light-ink);
}

.ep-page--teachers .ep-faq p {
  color: var(--ep-light-muted);
}

.ep-faq h2 {
  margin-bottom: 28px;
}

.ep-faq__list {
  border-top: 1px solid var(--ep-line);
}

.ep-page--teachers .ep-faq__list {
  border-color: var(--ep-light-line);
}

.ep-faq__item {
  border-bottom: 1px solid var(--ep-line);
}

.ep-page--teachers .ep-faq__item {
  border-color: var(--ep-light-line);
}

.ep-faq__item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 24px;
  align-items: center;
  min-height: 62px;
  padding: 14px 2px;
  color: currentColor;
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

.ep-faq__item summary::-webkit-details-marker {
  display: none;
}

.ep-faq__item summary:focus-visible {
  outline: 2px solid var(--ep-accent);
  outline-offset: 5px;
  border-radius: 4px;
}

.ep-faq__chevron {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 180ms ease;
}

.ep-faq__item[open] .ep-faq__chevron {
  transform: rotate(180deg);
}

.ep-faq__answer {
  max-width: 780px;
  padding: 0 38px 22px 0;
}

.ep-faq__answer p {
  font-size: 0.94rem;
}

.ep-cta {
  position: relative;
  padding: 56px 0;
  border-top: 1px solid var(--ep-line);
  background: var(--ep-bg-soft);
  color: var(--ep-ink);
}

.ep-page--teachers .ep-cta {
  border-color: rgba(16, 36, 56, 0.1);
  background: linear-gradient(100deg, #fff5cf, #f9dc72);
  color: var(--ep-light-ink);
}

.ep-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
}

.ep-cta h2 {
  margin-bottom: 8px;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
}

.ep-cta p {
  max-width: 650px;
}

.ep-button--cta {
  min-width: 200px;
}

.ep-page--about {
  --ep-bg: #0d100f;
  --ep-bg-soft: #151917;
  --ep-surface: #171c19;
  --ep-ink: #f2f4ef;
  --ep-muted: #b4bbb5;
  --ep-line: rgba(242, 244, 239, 0.15);
  --ep-accent: #62c493;
  --ep-accent-rgb: 98 196 147;
  --ep-accent-2: #b8dc52;
  --ep-light: #f7f5ef;
  --ep-light-soft: #fffdfa;
  --ep-light-ink: #172019;
  --ep-light-muted: #5f6861;
  --ep-light-line: #d5d8d1;
}

.ep-about-hero {
  min-height: 660px;
  background:
    radial-gradient(circle at 76% 50%, rgba(77, 127, 97, 0.1), transparent 34%),
    #0d100f;
}

.ep-about-hero__visual {
  position: relative;
  min-height: 480px;
}

.ep-about-arc {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 430px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(
    from 206deg,
    transparent 0 30%,
    #2f8f99 30% 37%,
    #4da17e 37% 44%,
    #8db74f 44% 51%,
    #cbd04b 51% 58%,
    #f0be48 58% 65%,
    #ed8245 65% 72%,
    #da5c66 72% 79%,
    transparent 79% 100%
  );
  transform: translate(-50%, -50%);
  -webkit-mask: radial-gradient(circle, transparent 0 61%, #000 62% 79%, transparent 80%);
  mask: radial-gradient(circle, transparent 0 61%, #000 62% 79%, transparent 80%);
  animation: epAboutArc 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes epAboutArc {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-32deg) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0) scale(1);
  }
}

.ep-about-hero__visual > span {
  position: absolute;
  left: 35%;
  color: #ffffff;
  font-family: "ChoiceSpin Editorial", system-ui, sans-serif;
  max-width: 250px;
  font-size: clamp(1.4rem, 2.3vw, 2.25rem);
  font-weight: 760;
  line-height: 0.98;
}

.ep-about-hero__visual > span:nth-of-type(1) {
  top: 27%;
  color: #62c493;
}

.ep-about-hero__visual > span:nth-of-type(2) {
  top: 49%;
  color: #cbd04b;
}

.ep-about-hero__visual > span:nth-of-type(3) {
  top: 71%;
  color: #ffffff;
}

.ep-about-visible {
  background: #f7f5ef;
}

.ep-about-group {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
}

.ep-about-group::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 150px;
  border: 2px solid #23312a;
  border-bottom: 0;
  border-radius: 180px 180px 0 0;
}

.ep-about-group::after {
  content: "";
  position: absolute;
  top: 16%;
  width: 360px;
  height: 180px;
  border: 1px dashed rgba(35, 49, 42, 0.24);
  border-bottom: 0;
  border-radius: 210px 210px 0 0;
}

.ep-about-group > span {
  position: absolute;
  top: 34px;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(35, 49, 42, 0.18);
  border-radius: 50%;
  color: #245d43;
  background: #ffffff;
}

.ep-about-group > i {
  position: absolute;
  top: 90px;
  width: 1px;
  height: 112px;
  background: linear-gradient(#76a568, transparent);
}

.ep-about-group > b {
  position: relative;
  top: 85px;
  display: inline-block;
  width: 52px;
  height: 80px;
  margin: 0 12px;
  border: 2px solid #23312a;
  border-radius: 28px 28px 8px 8px;
}

.ep-about-simple {
  background: #fffdfa;
}

.ep-about-capabilities {
  border-top: 1px solid var(--ep-light-line);
}

.ep-about-capabilities article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 22px;
  gap: 18px;
  align-items: center;
  min-height: 108px;
  border-bottom: 1px solid var(--ep-light-line);
  transition: padding-left 180ms ease, background-color 180ms ease;
}

.ep-about-capabilities article:hover {
  padding-left: 10px;
  background: rgba(98, 196, 147, 0.05);
}

.ep-about-capabilities article > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(36, 93, 67, 0.34);
  border-radius: 50%;
  color: #245d43;
}

.ep-about-capabilities h3 {
  margin-bottom: 4px;
}

.ep-about-capabilities p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.ep-about-capabilities__arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #245d43;
  stroke-width: 2;
}

.ep-about-fairness {
  background: #0b100d;
}

.ep-about-fairness__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
}

.ep-about-proof {
  overflow: hidden;
  border: 1px solid rgba(118, 214, 164, 0.24);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.ep-about-proof__head,
.ep-about-proof__result {
  display: grid;
  align-items: center;
}

.ep-about-proof__head {
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--ep-line);
}

.ep-about-proof__head > span,
.ep-about-proof__result > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(118, 214, 164, 0.34);
  border-radius: 50%;
  color: #76d6a4;
}

.ep-about-proof__head strong,
.ep-about-proof__head small,
.ep-about-proof__result strong,
.ep-about-proof__result small {
  display: block;
}

.ep-about-proof__head strong {
  color: #ffffff;
  font-size: 1rem;
}

.ep-about-proof__head small,
.ep-about-proof__result small {
  color: var(--ep-muted);
  font-size: 0.75rem;
}

.ep-about-proof__head > i {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(118, 214, 164, 0.28);
  border-radius: 999px;
  color: #76d6a4;
  font-size: 0.7rem;
  font-style: normal;
}

.ep-about-proof__head > i .ep-icon {
  width: 17px;
  height: 17px;
}

.ep-about-proof__entries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 20px 22px;
  border-bottom: 1px solid var(--ep-line);
}

.ep-about-proof__entries > span {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 4px 9px;
  align-items: center;
  min-width: 0;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
}

.ep-about-proof__entries > span + span {
  padding-left: 16px;
  border-left: 1px solid var(--ep-line);
}

.ep-about-proof__entries i {
  grid-row: 1 / 3;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--proof-color);
  box-shadow: 0 0 14px color-mix(in srgb, var(--proof-color) 55%, transparent);
}

.ep-about-proof__entries small {
  overflow: hidden;
  color: var(--ep-muted);
  font-size: 0.68rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ep-about-proof__result {
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 16px;
  margin: 18px 22px;
  padding: 16px;
  border: 1px solid rgba(203, 208, 75, 0.28);
  border-radius: 13px;
  background: rgba(203, 208, 75, 0.08);
}

.ep-about-proof__result strong {
  color: #dce66e;
  font-size: 1.3rem;
}

.ep-about-proof__result time {
  color: var(--ep-muted);
  font-size: 0.78rem;
}

.ep-about-proof__steps {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 0 22px 22px;
  color: var(--ep-muted);
  font-size: 0.7rem;
}

.ep-about-proof__steps i {
  height: 1px;
  background: linear-gradient(90deg, rgba(118, 214, 164, 0.14), #76d6a4, rgba(118, 214, 164, 0.14));
}

.ep-about-cta {
  padding: 76px 0;
  background: #f7f5ef;
  color: var(--ep-light-ink);
}

.ep-about-cta__inner {
  max-width: 760px;
  text-align: center;
}

.ep-about-cta__icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  place-items: center;
  border: 1px solid rgba(36, 93, 67, 0.38);
  border-radius: 50%;
  color: #245d43;
}

.ep-about-cta h2 {
  margin-bottom: 12px;
}

.ep-about-cta p {
  max-width: 620px;
  margin-inline: auto;
  color: var(--ep-light-muted);
}

.ep-about-cta .ep-button {
  margin-top: 26px;
  color: #ffffff;
  background: #245d43;
}

/* ---------- Resolved light surfaces for the dark-led page families ---------- */
html[data-theme="light"] .ep-page--fairness .ep-hero,
html[data-theme="light"] .ep-page--streamers .ep-hero,
html[data-theme="light"] .ep-page--audit .ep-hero {
  background-color: var(--ep-bg);
  color: var(--ep-ink);
}

html[data-theme="light"] .ep-page--fairness .ep-hero {
  background: radial-gradient(circle at 76% 46%, rgba(var(--ep-accent-rgb), 0.1), transparent 35%), var(--ep-bg);
}

html[data-theme="light"] .ep-page--streamers .ep-hero {
  background: radial-gradient(circle at 78% 30%, rgba(111, 58, 189, 0.12), transparent 40%), var(--ep-bg);
}

html[data-theme="light"] .ep-page--audit .ep-hero {
  background: radial-gradient(circle at 80% 42%, rgba(92, 151, 91, 0.1), transparent 38%), var(--ep-bg);
}

html[data-theme="light"] .ep-page--fairness .ep-hero h1,
html[data-theme="light"] .ep-page--streamers .ep-hero h1,
html[data-theme="light"] .ep-page--audit .ep-hero h1 {
  color: var(--ep-ink);
}

html[data-theme="light"] .ep-page--fairness .ep-hero p,
html[data-theme="light"] .ep-page--streamers .ep-hero p,
html[data-theme="light"] .ep-page--audit .ep-hero p,
html[data-theme="light"] .ep-page--fairness .ep-breadcrumb,
html[data-theme="light"] .ep-page--streamers .ep-breadcrumb,
html[data-theme="light"] .ep-page--audit .ep-breadcrumb {
  color: var(--ep-muted);
}

html[data-theme="light"] .ep-page--fairness .ep-breadcrumb a:hover,
html[data-theme="light"] .ep-page--streamers .ep-breadcrumb a:hover,
html[data-theme="light"] .ep-page--audit .ep-breadcrumb a:hover {
  color: var(--ep-ink) !important;
}

html[data-theme="light"] .ep-page--fairness .ep-fairness-details,
html[data-theme="light"] .ep-page--streamers .ep-stream-workflow,
html[data-theme="light"] .ep-page--streamers .ep-stream-live,
html[data-theme="light"] .ep-page--audit .ep-audit-limits {
  background: var(--ep-bg);
}

html[data-theme="light"] .ep-page--streamers .ep-stream-results,
html[data-theme="light"] .ep-page--streamers .ep-stream-challenges,
html[data-theme="light"] .ep-page--streamers .ep-stream-reuse,
html[data-theme="light"] .ep-page--audit .ep-audit-highlights,
html[data-theme="light"] .ep-page--audit .ep-audit-source {
  background: var(--ep-bg-soft);
}

html[data-theme="light"] .ep-page--fairness .ep-motion-lines {
  background: repeating-linear-gradient(180deg, transparent 0 22px, rgba(21, 32, 25, 0.18) 22px 23px);
}

html[data-theme="light"] .ep-page--fairness .ep-odds__chart,
html[data-theme="light"] .ep-page--audit .ra-tool,
html[data-theme="light"] .ep-page--audit #raResults,
html[data-theme="light"] .ep-page--audit .ep-range {
  background: var(--ep-light-soft);
}

html[data-theme="light"] .ep-page--streamers .ep-result-strip,
html[data-theme="light"] .ep-page--streamers .ep-stream-setup__grid article,
html[data-theme="light"] .ep-page--streamers .ep-challenge-grid article,
html[data-theme="light"] .ep-page--streamers .ep-live-diagram > div,
html[data-theme="light"] .ep-page--audit .ep-audit-limits__inner {
  background: var(--ep-surface);
  box-shadow: var(--ep-shadow);
}

html[data-theme="light"] .ep-page--streamers .ep-result-strip strong,
html[data-theme="light"] .ep-page--streamers .ep-stream-setup__grid strong,
html[data-theme="light"] .ep-page--streamers .ep-challenge-list i:first-child,
html[data-theme="light"] .ep-page--streamers .ep-content-picker i.is-active,
html[data-theme="light"] .ep-page--streamers .ep-stream-goals i:first-child {
  color: var(--ep-ink);
}

html[data-theme="light"] .ep-page--streamers .ep-numbered--nodes .ep-numbered__number {
  background: var(--ep-surface);
}

html[data-theme="light"] .ep-page--streamers .ep-live-reactions i,
html[data-theme="light"] .ep-page--streamers .ep-live-checks i {
  background-color: rgba(17, 26, 42, 0.08);
}

/* ---------- Dark-mode surfaces for the warm Teachers page ---------- */
html:not([data-theme="light"]) .ep-page--teachers .ep-hero--for-teachers {
  background: #08121c;
  color: var(--ep-ink);
}

html:not([data-theme="light"]) .ep-page--teachers .ep-hero--for-teachers h1 {
  color: var(--ep-ink);
}

html:not([data-theme="light"]) .ep-page--teachers .ep-hero--for-teachers p,
html:not([data-theme="light"]) .ep-page--teachers .ep-hero--for-teachers .ep-breadcrumb {
  color: var(--ep-muted);
}

html:not([data-theme="light"]) .ep-page--teachers .ep-hero__visual--teachers::after {
  background: linear-gradient(90deg, #08121c 2%, rgba(8, 18, 28, 0.97) 23%, transparent 50%);
}

html:not([data-theme="light"]) .ep-page--teachers .ep-teacher-pair article {
  background: var(--ep-light-soft);
  box-shadow: var(--ep-shadow);
}

html:not([data-theme="light"]) .ep-page--teachers .ep-projector-card {
  background: linear-gradient(145deg, #172738, #2f3440) !important;
}

html:not([data-theme="light"]) .ep-page--teachers .ep-teacher-flow span,
html:not([data-theme="light"]) .ep-page--teachers .ep-projector-card__screen,
html:not([data-theme="light"]) .ep-page--teachers .ep-numbered__number {
  border-color: var(--ep-light-line);
  background: var(--ep-surface);
  color: var(--ep-ink);
}

html:not([data-theme="light"]) .ep-page--teachers .ep-teacher-flow i {
  background: repeating-linear-gradient(90deg, rgba(245, 248, 251, 0.24) 0 5px, transparent 5px 10px);
}

html:not([data-theme="light"]) .ep-page--teachers .ep-faq,
html:not([data-theme="light"]) .ep-page--teachers .ep-cta {
  border-color: var(--ep-light-line);
  background: var(--ep-light);
  color: var(--ep-light-ink);
}

html:not([data-theme="light"]) .ep-page--teachers .ep-cta p {
  color: var(--ep-light-muted);
}

/* ---------- About retains its mixed editorial rhythm in light mode and
   becomes fully dark when the moon theme is active. ---------- */
html:not([data-theme="light"]) .ep-page--about .ep-about-visible,
html:not([data-theme="light"]) .ep-page--about .ep-about-simple,
html:not([data-theme="light"]) .ep-page--about .ep-about-cta {
  background: var(--ep-light);
  color: var(--ep-light-ink);
}

html:not([data-theme="light"]) .ep-page--about .ep-about-group::before,
html:not([data-theme="light"]) .ep-page--about .ep-about-group > b {
  border-color: #c9d4cb;
}

html:not([data-theme="light"]) .ep-page--about .ep-about-group::after,
html:not([data-theme="light"]) .ep-page--about .ep-about-group > span,
html:not([data-theme="light"]) .ep-page--about .ep-about-capabilities article > span,
html:not([data-theme="light"]) .ep-page--about .ep-about-cta__icon {
  border-color: rgba(118, 214, 164, 0.32);
}

html:not([data-theme="light"]) .ep-page--about .ep-about-group > span,
html:not([data-theme="light"]) .ep-page--about .ep-about-capabilities article > span,
html:not([data-theme="light"]) .ep-page--about .ep-about-capabilities__arrow,
html:not([data-theme="light"]) .ep-page--about .ep-about-cta__icon {
  color: #76d6a4;
  stroke: currentColor;
}

html:not([data-theme="light"]) .ep-page--about .ep-about-group > span {
  background: var(--ep-surface);
}

html:not([data-theme="light"]) .ep-page--about .ep-about-cta p {
  color: var(--ep-light-muted);
}

@media (max-width: 980px) {
  .ep-hero {
    min-height: 0;
  }

  .ep-hero__inner {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 34px 0 48px;
  }

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

  .ep-hero__visual {
    min-height: 390px;
  }

  .ep-hero--for-teachers .ep-hero__inner {
    grid-template-columns: 1fr;
    padding-bottom: 340px;
  }

  .ep-hero__visual--teachers {
    top: auto;
    right: -24px;
    bottom: -42px;
    left: -24px;
    width: auto;
    height: 380px;
    transform: none;
  }

  .ep-hero__visual--teachers::after {
    background: linear-gradient(180deg, #f8dfb4 0, transparent 34%);
  }

  html:not([data-theme="light"]) .ep-page--teachers .ep-hero__visual--teachers::after {
    background: linear-gradient(180deg, #08121c 0, transparent 34%);
  }

  .ep-split {
    grid-template-columns: 1fr;
  }

  .ep-about-fairness__inner {
    grid-template-columns: 1fr;
  }

  .ep-summary__intro {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ep-highlights,
  .ep-detail-grid {
    grid-template-columns: 1fr;
  }

  .ep-highlight + .ep-highlight,
  .ep-detail + .ep-detail {
    border-top: 1px solid var(--ep-line);
    border-left: 0;
  }

  .ep-section--light .ep-highlight + .ep-highlight {
    border-top-color: var(--ep-light-line);
  }

  .ep-numbered--horizontal .ep-numbered__list,
  .ep-numbered--nodes .ep-numbered__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ep-numbered--nodes .ep-numbered__list::before {
    display: none;
  }

  .ep-teacher-pair__grid,
  .ep-stream-setup__grid,
  .ep-audit-grid {
    grid-template-columns: 1fr;
  }

  .ep-classroom-item,
  .ep-classroom-item:nth-child(even) {
    grid-template-columns: 60px minmax(0, 0.78fr) minmax(260px, 1.22fr);
  }

  .ep-classroom-item:nth-child(even) .ep-classroom-item__copy {
    grid-column: 2;
  }

  .ep-classroom-item:nth-child(even) .ep-classroom-item__visual {
    grid-column: 3;
  }

  .ep-challenge-grid {
    grid-template-columns: 1fr;
  }

  .ep-challenge-grid article {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .ep-live-diagram {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ep-live-diagram > i {
    display: none;
  }
}

@media (max-width: 700px) {
  .ep-wrap,
  .ep-wrap--narrow,
  .ep-hero__inner {
    width: min(100% - 32px, 1180px);
  }

  .ep-shell .about-nav {
    display: none;
  }

  .ep-section {
    padding: 62px 0;
  }

  .ep-hero {
    padding-top: 72px;
  }

  .ep-hero h1 {
    font-size: clamp(2.65rem, 14vw, 4.2rem);
  }

  .ep-hero__visual {
    min-height: 320px;
  }

  .ep-about-hero__visual {
    min-height: 360px;
  }

  .ep-about-hero__visual > span {
    left: 32%;
    max-width: 250px;
  }

  .ep-broadcast {
    inset: 3% 0;
  }

  .ep-highlights {
    border-top: 0;
  }

  .ep-highlight {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 24px 0;
    border-top: 1px solid var(--ep-line);
  }

  .ep-classroom-item,
  .ep-classroom-item:nth-child(even) {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
  }

  .ep-classroom-item__copy,
  .ep-classroom-item:nth-child(even) .ep-classroom-item__copy {
    grid-column: 2;
  }

  .ep-classroom-item__visual,
  .ep-classroom-item:nth-child(even) .ep-classroom-item__visual {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 150px;
  }

  .ep-numbered--horizontal .ep-numbered__list,
  .ep-numbered--nodes .ep-numbered__list {
    grid-template-columns: 1fr;
  }

  .ep-numbered--horizontal .ep-numbered__list li,
  .ep-numbered--nodes .ep-numbered__list li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
  }

  .ep-result-strip {
    grid-template-columns: 1fr;
  }

  .ep-result-strip > div {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
  }

  .ep-result-strip > div + div {
    border-top: 1px solid var(--ep-line);
    border-left: 0;
  }

  .ep-result-strip span {
    margin-bottom: 0;
  }

  .ep-result-strip small {
    margin-top: 0;
  }

  .ep-stream-studio figcaption {
    grid-template-columns: 1fr;
  }

  .ep-stream-studio figcaption > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }

  .ep-live-diagram {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .ep-reuse-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .ep-reuse-flow i {
    display: none;
  }

  .ep-reuse-flow span {
    width: 56px;
    height: 56px;
  }

  .ep-algorithm-flow {
    display: grid;
    gap: 12px;
  }

  .ep-algorithm-flow i {
    width: 1px;
    height: 22px;
    margin-left: 24px;
  }

  .ep-audit-limits__inner,
  .ep-teacher-privacy__inner,
  .ep-cta__inner {
    grid-template-columns: 1fr;
  }

  .ep-about-proof__entries {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ep-about-proof__entries > span + span {
    padding-top: 12px;
    border-top: 1px solid var(--ep-line);
    border-left: 0;
    padding-left: 0;
  }

  .ep-about-proof__steps {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }

  .ep-about-proof__steps i {
    width: 1px;
    height: 16px;
    margin-inline: auto;
  }

  .ep-audit-limits__icon {
    display: none;
  }

  .ep-button--cta {
    justify-self: start;
  }

  .ra-tool,
  #raResults {
    padding: 20px;
  }
}

@media (max-width: 430px) {
  .ep-hero--for-teachers .ep-hero__inner {
    padding-bottom: 280px;
  }

  .ep-hero__visual--teachers {
    height: 320px;
  }

  .ep-broadcast__chat {
    display: none;
  }

  .ep-wheel--broadcast {
    left: 18%;
    width: 64%;
  }

  .ep-broadcast__result {
    right: 5%;
    left: 5%;
  }

  .ep-challenge-grid article {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .ep-wheel--challenge {
    width: 120px;
  }

  .ep-setup-groups,
  .ep-setup-activities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (prefers-reduced-motion: reduce) {
  .ep-page *,
  .ep-page *::before,
  .ep-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ep-motion [data-ep-reveal].ep-reveal-pending {
    opacity: 1;
    transform: none;
  }
}

.ep-lesson-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.ep-lesson-links a,
.ep-lesson__permalink {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 4px;
}

.ep-lesson {
  scroll-margin-top: 90px;
}

.ep-lesson__layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(0, 2fr);
  gap: 48px;
}

.ep-lesson__heading,
.ep-lesson__body {
  min-width: 0;
}

.ep-lesson__heading h2 {
  max-width: 16ch;
  margin: 8px 0 16px;
}

.ep-lesson__eyebrow {
  font-size: 14px !important;
  font-weight: 600;
}

.ep-lesson__body {
  max-width: 68ch;
}

.ep-lesson__body p,
.ep-lesson__body li {
  font-size: 16px;
  line-height: 1.65;
}

.ep-lesson__body h3 {
  margin: 28px 0 12px;
  font-size: 20px;
  line-height: 1.4;
}

.ep-lesson__steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ep-lesson__steps li {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 20%, transparent);
}

.ep-lesson__steps strong {
  display: block;
  margin-bottom: 4px;
}

.ep-lesson__example {
  margin: 20px 0;
  padding: 0 0 0 20px;
  border-left: 3px solid currentColor;
}

.ep-lesson a,
.ep-lesson-links a {
  overflow-wrap: anywhere;
}

.ep-lesson a:focus-visible,
.ep-lesson-links a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.ep-worksheet {
  margin-top: 32px;
  padding-top: 8px;
  border-top: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 20%, transparent);
  scroll-margin-top: 90px;
}

.ep-worksheet__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.ep-worksheet__actions button {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.ep-worksheet__actions button[hidden],
.ep-worksheet__status[hidden] {
  display: none;
}

.ep-worksheet__preview summary {
  width: fit-content;
  min-height: 44px;
  padding: 10px 0;
  cursor: pointer;
}

.ep-worksheet button:focus-visible,
.ep-worksheet summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.ep-worksheet__sheet {
  margin-top: 16px;
  padding: clamp(16px, 3vw, 28px);
  background: #ffffff;
  color: #111111;
  font-family: Arial, sans-serif;
}

.ep-lesson .ep-worksheet__sheet :is(p, h4, h5, a) {
  color: #111111;
  font-family: inherit;
}

.ep-worksheet__sheet h4 {
  margin: 4px 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.ep-worksheet__part { margin-top: 16px; }
.ep-worksheet__part h5 { margin: 0 0 4px; font-size: 16px; line-height: 1.3; }
.ep-lesson .ep-worksheet__sheet p { margin: 0; font-size: 16px; line-height: 1.4; }
.ep-worksheet__lines span { display: block; height: 30px; border-bottom: 1px solid #888888; }
.ep-lesson .ep-worksheet__sheet .ep-worksheet__planning {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-height: 30px;
  padding-top: 8px;
}
.ep-worksheet__planning span { flex: 1; min-width: 24px; border-bottom: 1px solid #888888; }
.ep-lesson .ep-worksheet__sheet .ep-worksheet__source { margin-top: 16px; font-size: 12px; }

@media (max-width: 800px) {
  .ep-lesson__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

/* Fairness previews the shared frame. Reading fonts, cards and accents stay local. */
body.ep-shell--fairness,
html[data-theme="light"] body.ep-shell--fairness {
  background: var(--sc-page-canvas) !important;
}

/* The main and hero continue the canvas; sections retain their reading fills. */
body.ep-shell--fairness > main.ep-page--fairness,
body.ep-shell--fairness > main.ep-page--fairness > .ep-hero {
  background-color: inherit;
}

body.ep-shell--fairness .site-header::before {
  background: var(--sc-page-header-surface) !important;
}

body.ep-shell--fairness .site-header .logo-text,
body.ep-shell--fairness .site-header .nav a,
body.ep-shell--fairness .site-header .nav a:visited,
body.ep-shell--fairness .site-header #langBtn {
  color: var(--sc-page-text) !important;
  -webkit-text-fill-color: currentColor !important;
}

body.ep-shell--fairness .site-header .nav a:hover {
  color: var(--sc-page-link) !important;
  background-color: rgba(var(--sc-page-brand-channels), 0.08) !important;
}

body.ep-shell--fairness .site-footer {
  background: var(--sc-page-footer-surface) !important;
}

body.ep-shell--fairness .site-footer :is(.footer__inner, p, .footer__heading, .footer__socialshare-label) {
  color: var(--sc-page-text-muted) !important;
}

body.ep-shell--fairness .site-footer a {
  color: var(--sc-page-link) !important;
}

body.ep-shell--fairness .site-footer a:hover {
  color: var(--sc-page-text) !important;
}

body.ep-shell--fairness .site-header :is(a, button, #langDD #langBtn, #themeToggle):focus-visible,
body.ep-shell--fairness .site-footer a:focus-visible {
  outline: 2px solid var(--sc-page-focus-ring) !important;
  outline-offset: 3px;
}

@media print {
  @page choicespin-worksheet { margin: 12mm; }


  .ep-worksheet,
  .ep-lesson__worksheet-link { display: none !important; }

  body.ep-worksheet-printing > :not(.ep-page--teachers),
  .ep-worksheet-printing .ep-page--teachers > :not(.ep-lesson--printing),
  .ep-worksheet-printing .ep-lesson__heading,
  .ep-worksheet-printing .ep-lesson__body > :not(.ep-worksheet--printing),
  .ep-worksheet--printing > :not(.ep-worksheet__preview),
  .ep-worksheet--printing .ep-worksheet__preview > summary {
    display: none !important;
  }

  body.ep-worksheet-printing,
  .ep-worksheet-printing .ep-page--teachers,
  .ep-worksheet-printing .ep-lesson--printing,
  .ep-worksheet-printing .ep-lesson__layout,
  .ep-worksheet-printing .ep-lesson__body,
  .ep-worksheet-printing .ep-worksheet--printing,
  .ep-worksheet-printing .ep-worksheet__preview,
  .ep-worksheet-printing .ep-worksheet__sheet {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: visible !important;
    background: #ffffff !important;
    box-shadow: none !important;
    color: #111111 !important;
  }

  .ep-worksheet-printing .ep-page--teachers { page: choicespin-worksheet; }
  .ep-worksheet-printing .ep-worksheet__sheet { font: 12pt/1.25 Arial, sans-serif; }
  .ep-worksheet-printing .ep-worksheet__sheet h4 { margin: 1mm 0 2mm; font-size: 19pt; line-height: 1.2; }
  .ep-worksheet-printing .ep-worksheet__sheet h5 { margin: 0 0 1mm; font-size: 12pt; line-height: 1.25; }
  .ep-worksheet-printing .ep-worksheet__sheet p { margin: 0; font-size: 12pt; line-height: 1.25; }
  .ep-worksheet-printing .ep-worksheet__part { margin-top: 3mm; break-inside: avoid; }
  .ep-worksheet-printing .ep-worksheet__lines span { height: 8mm; border-color: #888888; }
  .ep-worksheet-printing .ep-worksheet__sheet .ep-worksheet__planning {
    min-height: 8mm;
    padding-top: 2mm;
    gap: 3mm;
  }
  .ep-worksheet-printing .ep-worksheet__sheet .ep-worksheet__source { margin-top: 3mm; font-size: 9pt; }
  .ep-worksheet-printing .ep-worksheet__source a::after { content: none !important; }
  body.ep-worksheet-printing .ep-lesson--printing .ep-lesson__body:has(> .ep-lesson__paper-credit) {
    display: flex !important;
    flex-direction: column;
  }
  body.ep-worksheet-printing .ep-lesson--printing .ep-lesson__body > .ep-lesson__paper-credit[hidden] {
    display: block !important;
    order: 1;
    margin-top: 3mm;
    font-size: 9pt;
  }
  .ep-lesson__body:has(> .ep-lesson__paper-credit) .ep-worksheet--printing .ep-worksheet__sheet > .ep-worksheet__source {
    display: none;
  }

  html body.ep-shell.ep-shell--for-teachers,
  .ep-page--teachers .ep-cta {
    background: #ffffff !important;
  }

  .ep-page--teachers .ep-lesson-links,
  .ep-page--teachers .ep-hero__visual,
  .ep-page--teachers .ep-classroom-item__visual,
  .ep-page--teachers .ep-teacher-flow,
  .ep-page--teachers .ep-projector-card__screen {
    display: none !important;
  }

  .ep-page--teachers :is(h1, h2, h3, a, strong) {
    color: #111111 !important;
  }

  .ep-page--teachers .ep-hero {
    min-height: 0;
    padding: 24px 0;
    overflow: visible;
    background: #ffffff !important;
  }

  .ep-page--teachers .ep-hero__inner {
    display: block;
    min-height: 0;
    padding: 0;
  }

  .ep-page--teachers .ep-hero__copy,
  .ep-page--teachers .ep-hero p {
    max-width: none;
  }

  .ep-page--teachers .ep-hero h1 {
    font-size: 28pt;
    line-height: 1.1;
  }

  .ep-page--teachers .ep-section {
    padding: 24px 0;
  }

  .ep-page--teachers .ep-section-heading {
    margin-bottom: 16px;
    text-align: left;
  }

  .ep-page--teachers h2,
  .ep-page--teachers h3 {
    break-after: avoid;
  }

  .ep-page--teachers .ep-classroom-item,
  .ep-page--teachers .ep-classroom-item:nth-child(even) {
    grid-template-columns: 2em minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-height: 0;
    padding: 12px 0;
    break-inside: avoid;
  }

  .ep-page--teachers .ep-classroom-item__copy,
  .ep-page--teachers .ep-classroom-item:nth-child(even) .ep-classroom-item__copy {
    grid-column: 2;
    grid-row: 1;
  }

  .ep-page--teachers .ep-classroom-item__number {
    grid-column: 1;
    grid-row: 1;
    width: 2em;
    height: auto;
    background: none !important;
    color: #111111 !important;
  }

  .ep-page--teachers .ep-teacher-pair__grid,
  .ep-page--teachers .ep-numbered__list {
    display: block;
  }

  .ep-page--teachers .ep-teacher-pair article,
  html:not([data-theme="light"]) .ep-page--teachers .ep-teacher-pair article {
    padding: 12px 0;
    border-radius: 0;
    background: #ffffff !important;
    box-shadow: none;
  }

  .ep-page--teachers .ep-numbered__list > li {
    break-inside: avoid;
  }

  .ep-lesson__permalink {
    display: inline;
    min-height: 0;
  }

  .ep-lesson__layout {
    display: block;
  }

  .ep-lesson__heading h2,
  .ep-lesson__body {
    max-width: none;
  }

  .ep-lesson h2,
  .ep-lesson h3 {
    break-after: avoid;
  }

  .ep-lesson__steps li,
  .ep-lesson__example {
    break-inside: avoid;
  }

  .ep-lesson a[href^="/"]::after {
    content: " (choicespin.com" attr(href) ")";
    font-size: 10pt;
    overflow-wrap: anywhere;
  }

  .ep-shell .site-header,
  .ep-shell .site-footer,
  .ep-button {
    display: none !important;
  }

  .ep-page,
  .ep-section,
  .ep-section--light {
    background: #ffffff !important;
    color: #111111 !important;
  }

  .ep-page p {
    color: #333333 !important;
  }

  body.ep-shell--fairness > main.ep-page--fairness > .ep-hero :is(h1, .ep-breadcrumb, .ep-breadcrumb a, .ep-breadcrumb span) {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
  }

  [data-ep-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Outfit and Figtree have no Vietnamese letters, so Vietnamese About text
   would mix two fonts inside one word. Vietnamese pages use the system
   interface font, which has every Vietnamese letter on each platform. */
html[lang="vi"] .ep-shell,
html[lang="vi"] .ep-shell *:not(code, pre, kbd, samp) {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}
