.elo-page {
  --elo-acid: #d9ff57;
  --elo-aqua: #7ce7e0;
  --elo-coral: #ff735c;
  --elo-ink: #081419;
  --elo-ink-soft: #10252b;
  --elo-paper: #f1f0e8;
  min-height: 100vh;
  overflow: clip;
  background: var(--elo-paper);
  color: var(--elo-ink);
}

.elo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  max-width: 1540px;
  margin: 0 auto;
  padding: 20px clamp(20px, 5.5vw, 92px);
  color: #53636a;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.elo-breadcrumb a {
  text-decoration: underline;
  text-decoration-color: #8d999e;
  text-underline-offset: 4px;
}

.elo-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .65fr);
  gap: clamp(48px, 9vw, 150px);
  align-items: end;
  max-width: 1540px;
  min-height: 650px;
  margin: 0 auto;
  padding: clamp(78px, 10vw, 148px) clamp(20px, 5.5vw, 92px);
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 15%, rgba(124, 231, 224, .22), transparent 24%),
    linear-gradient(90deg, rgba(217, 255, 87, .055) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(rgba(217, 255, 87, .055) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(136deg, #071217 0%, #0c2027 58%, #15333a 100%);
  color: #fff;
}

.elo-hero::before {
  position: absolute;
  right: -130px;
  bottom: -235px;
  width: 560px;
  aspect-ratio: 1;
  border: 1px solid rgba(217, 255, 87, .36);
  border-radius: 50%;
  box-shadow: 0 0 0 78px rgba(217, 255, 87, .025);
  content: "";
}

.elo-heroCopy,
.elo-heroAnswer {
  position: relative;
  z-index: 1;
}

.elo-eyebrow,
.elo-heroKicker,
.elo-panelHeading > span,
.elo-resultLead > span,
.elo-tableHeading span,
.elo-boundary > span,
.elo-methodLabel {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.elo-heroKicker {
  color: var(--elo-acid);
}

.elo-hero h1 {
  max-width: 1000px;
  margin: 15px 0 0;
  font-family: var(--font-display);
  font-size: clamp(54px, 7.7vw, 114px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .84;
  text-wrap: balance;
  text-transform: uppercase;
}

.elo-heroLead {
  max-width: 770px;
  margin: 28px 0 0;
  color: #d2dee1;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.62;
}

.elo-heroAnswer {
  padding: clamp(25px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, .38);
  border-top: 5px solid var(--elo-acid);
  background: rgba(4, 13, 17, .7);
  box-shadow: 13px 13px 0 rgba(217, 255, 87, .11);
  backdrop-filter: blur(13px);
}

.elo-heroAnswer > span {
  color: var(--elo-aqua);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.elo-heroAnswer strong {
  display: block;
  margin: 12px 0;
  color: var(--elo-acid);
  font-family: var(--font-display);
  font-size: clamp(33px, 4vw, 57px);
  letter-spacing: -.04em;
  line-height: .95;
}

.elo-heroAnswer p {
  margin: 0;
  color: #e1e8ea;
  font-size: 14px;
  line-height: 1.65;
}

.elo-heroAnswer small {
  display: block;
  margin-top: 20px;
  color: #a8b8be;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.55;
  text-transform: uppercase;
}

.elo-trustStrip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1540px;
  margin: 0 auto;
  border: 1px solid var(--elo-ink);
  border-top: 0;
  background: var(--elo-acid);
}

.elo-trustStrip span {
  padding: 15px 12px;
  border-right: 1px solid var(--elo-ink);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .035em;
  text-align: center;
  text-transform: uppercase;
}

.elo-trustStrip span:last-child {
  border-right: 0;
}

.elo-lab {
  max-width: 1540px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 126px) clamp(20px, 5.5vw, 92px);
}

.elo-labIntro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr);
  gap: 30px clamp(52px, 9vw, 140px);
  align-items: end;
}

.elo-eyebrow,
.elo-panelHeading > span,
.elo-tableHeading span,
.elo-methodLabel {
  color: #536d19;
}

.elo-labIntro h2,
.elo-method h2 {
  max-width: 900px;
  margin: 11px 0 0;
  font-size: clamp(40px, 5.3vw, 76px);
  letter-spacing: -.045em;
  line-height: .98;
  text-wrap: balance;
}

.elo-labIntro > p {
  margin: 0;
  color: #506067;
  line-height: 1.72;
}

.elo-modeTabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 720px;
  margin-top: 48px;
  border: 1px solid var(--elo-ink);
  background: #fff;
}

.elo-modeTabs button {
  display: flex;
  gap: 13px;
  align-items: center;
  min-height: 58px;
  padding: 0 20px;
  border: 0;
  border-right: 1px solid var(--elo-ink);
  background: transparent;
  color: var(--elo-ink);
  cursor: pointer;
  font-weight: 850;
  text-align: left;
}

.elo-modeTabs button:last-child {
  border-right: 0;
}

.elo-modeTabs button span {
  color: #748087;
  font-family: var(--font-mono);
  font-size: 9px;
}

.elo-modeTabs button.elo-activeTab {
  background: var(--elo-ink);
  color: #fff;
}

.elo-modeTabs button.elo-activeTab span {
  color: var(--elo-acid);
}

.elo-workspace {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
  gap: 1px;
  margin-top: 1px;
  background: var(--elo-ink);
  box-shadow: 16px 16px 0 rgba(8, 20, 25, .08);
}

.elo-controls,
.elo-results {
  min-width: 0;
  padding: clamp(24px, 3.6vw, 50px);
}

.elo-controls {
  background: #fff;
}

.elo-results {
  background:
    radial-gradient(circle at 95% 0, rgba(124, 231, 224, .1), transparent 24%),
    var(--elo-ink-soft);
  color: #fff;
}

.elo-panelHeading h3 {
  margin: 9px 0 0;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -.035em;
  line-height: 1;
}

.elo-panelHeading p {
  margin: 13px 0 0;
  color: #5d696e;
  font-size: 13px;
  line-height: 1.6;
}

.elo-singleFields,
.elo-batchFields {
  margin-top: 30px;
}

.elo-fieldPair,
.elo-parameterGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.elo-field {
  display: grid;
  gap: 8px;
}

.elo-field > span,
.elo-csvField > span,
.elo-outcomeFieldset legend {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .02em;
}

.elo-field input,
.elo-csvField textarea {
  width: 100%;
  border: 1px solid #a7b0b3;
  border-radius: 0;
  background: #fbfcf7;
  color: var(--elo-ink);
}

.elo-field input {
  min-height: 50px;
  padding: 0 13px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 850;
}

.elo-field small {
  color: #68757a;
  font-size: 9px;
  line-height: 1.4;
}

.elo-outcomeFieldset {
  margin: 27px 0 0;
  padding: 0;
  border: 0;
}

.elo-segmentedControl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 11px;
  border: 1px solid var(--elo-ink);
  background: var(--elo-ink);
}

.elo-segmentedControl label {
  position: relative;
  cursor: pointer;
}

.elo-segmentedControl input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.elo-segmentedControl label > span {
  display: grid;
  place-items: center;
  min-height: 68px;
  padding: 8px;
  background: #fff;
  text-align: center;
}

.elo-segmentedControl strong,
.elo-segmentedControl small {
  display: block;
}

.elo-segmentedControl strong {
  font-size: 11px;
}

.elo-segmentedControl small {
  margin-top: 4px;
  color: #66747a;
  font-family: var(--font-mono);
  font-size: 8px;
}

.elo-segmentedControl input:checked + span {
  background: var(--elo-acid);
}

.elo-segmentedControl input:focus-visible + span {
  outline: 3px solid #287b75;
  outline-offset: -4px;
}

.elo-parameters {
  margin-top: 30px;
  padding-top: 23px;
  border-top: 1px solid #c9ceca;
}

.elo-parameters summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  font-weight: 850;
  list-style-position: inside;
}

.elo-parameters summary small {
  color: #6a777b;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
}

.elo-parameterGrid {
  margin-top: 22px;
}

.elo-parameterGrid .elo-field:last-child {
  grid-column: 1 / -1;
}

.elo-textButton,
.elo-csvActions button,
.elo-fileButton,
.elo-runButton,
.elo-downloadRow button {
  border-radius: 0;
  cursor: pointer;
  font-weight: 850;
}

.elo-textButton {
  margin-top: 19px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #2d6966;
  font-size: 10px;
}

.elo-csvActions,
.elo-downloadRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.elo-csvActions button,
.elo-fileButton,
.elo-downloadRow button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid currentColor;
  background: transparent;
  font-size: 10px;
}

.elo-fileButton {
  display: inline-flex;
  align-items: center;
  background: var(--elo-ink);
  color: #fff;
}

.elo-fileButton input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.elo-csvActions > span {
  color: #657277;
  font-family: var(--font-mono);
  font-size: 8px;
}

.elo-csvField {
  display: grid;
  gap: 9px;
  margin-top: 19px;
}

.elo-csvField textarea {
  min-height: 270px;
  padding: 14px;
  resize: vertical;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.55;
  white-space: pre;
}

.elo-csvContract {
  margin: 12px 0 0;
  color: #647176;
  font-size: 9px;
  line-height: 1.55;
}

.elo-csvContract code {
  overflow-wrap: anywhere;
  color: #2b625f;
}

.elo-runButton {
  width: 100%;
  min-height: 54px;
  margin-top: 17px;
  border: 1px solid var(--elo-ink);
  background: var(--elo-acid);
  color: var(--elo-ink);
}

.elo-runButton:hover,
.elo-modeTabs button:hover,
.elo-downloadRow button:hover,
.elo-csvActions button:hover,
.elo-fileButton:hover {
  filter: brightness(.94);
}

.elo-resultLead {
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.elo-resultLead > span,
.elo-boundary > span {
  color: var(--elo-aqua);
}

.elo-resultLead > strong {
  display: block;
  margin: 12px 0 18px;
  color: var(--elo-acid);
  font-family: var(--font-display);
  font-size: clamp(82px, 10vw, 142px);
  letter-spacing: -.06em;
  line-height: .78;
}

.elo-expectationTrack {
  height: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, .14);
}

.elo-expectationTrack i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--elo-aqua), var(--elo-acid));
}

.elo-resultLead p {
  max-width: 680px;
  margin: 17px 0 0;
  color: #b6c4c8;
  font-size: 13px;
  line-height: 1.65;
}

.elo-resultLead b {
  color: #fff;
}

.elo-ratingCards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1px;
  background: rgba(255, 255, 255, .18);
}

.elo-ratingCards article {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  background: var(--elo-ink-soft);
}

.elo-ratingCards article > span {
  color: #9eafb5;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.elo-ratingCards article > strong {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -.04em;
}

.elo-ratingCards article p {
  margin: 3px 0 0;
  color: #95a7ad;
  font-size: 10px;
}

.elo-ratingCards article em {
  position: absolute;
  top: 23px;
  right: 23px;
  padding: 5px 7px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
}

.elo-positive,
.elo-positiveText {
  color: var(--elo-acid);
}

.elo-negative,
.elo-negativeText {
  color: #ff9b88;
}

.elo-auditGrid,
.elo-batchSummary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 1px 0 0;
  background: rgba(255, 255, 255, .18);
}

.elo-auditGrid > div,
.elo-batchSummary > div {
  min-width: 0;
  padding: 19px;
  background: var(--elo-ink-soft);
}

.elo-auditGrid dt,
.elo-batchSummary span {
  color: #93a4aa;
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.elo-auditGrid dd {
  margin: 9px 0 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 850;
}

.elo-batchSummary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.elo-batchSummary > div {
  min-height: 120px;
}

.elo-batchSummary strong {
  display: block;
  margin-top: 12px;
  color: var(--elo-acid);
  font-family: var(--font-display);
  font-size: clamp(37px, 4vw, 56px);
}

.elo-downloadRow {
  margin: 22px 0 35px;
}

.elo-downloadRow button {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}

.elo-tableSection + .elo-tableSection {
  margin-top: 43px;
}

.elo-tableHeading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 14px;
}

.elo-tableHeading span {
  color: var(--elo-aqua);
}

.elo-tableHeading h3 {
  margin: 7px 0 0;
  font-size: clamp(23px, 3vw, 36px);
}

.elo-tableHeading > small {
  color: #94a5aa;
  font-family: var(--font-mono);
  font-size: 8px;
  text-align: right;
  text-transform: uppercase;
}

.elo-tableScroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, .2);
}

.elo-tableScroll table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 11px;
}

.elo-tableScroll th,
.elo-tableScroll td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  text-align: left;
  vertical-align: middle;
}

.elo-tableScroll thead th {
  color: #92a5aa;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.elo-tableScroll tbody th {
  color: #fff;
  font-weight: 800;
}

.elo-tableScroll tbody tr:last-child > * {
  border-bottom: 0;
}

.elo-tableScroll td:last-child {
  font-family: var(--font-mono);
  font-weight: 850;
}

.elo-tableScroll small {
  display: block;
  margin-top: 3px;
  color: #86999f;
  font-size: 8px;
  font-weight: 500;
}

.elo-errorPanel {
  padding: clamp(25px, 4vw, 44px);
  border: 1px solid rgba(255, 115, 92, .65);
  background: rgba(255, 115, 92, .08);
}

.elo-errorPanel span {
  color: #ffac9e;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.elo-errorPanel strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(26px, 3vw, 40px);
}

.elo-errorPanel p {
  margin: 13px 0 0;
  color: #f1cac3;
  line-height: 1.65;
}

.elo-boundary {
  display: grid;
  grid-template-columns: minmax(180px, .42fr) minmax(0, 1.58fr);
  gap: 28px clamp(44px, 8vw, 115px);
  margin-top: 1px;
  padding: clamp(24px, 3.5vw, 44px);
  background: var(--elo-ink);
  color: #fff;
}

.elo-boundary p {
  margin: 0;
  color: #bdc9cc;
  line-height: 1.7;
}

.elo-method {
  border-top: 1px solid #bfc5c1;
  background:
    linear-gradient(rgba(8, 20, 25, .035) 1px, transparent 1px) 0 0 / 100% 40px,
    var(--elo-paper);
}

.elo-methodInner {
  max-width: 1540px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 126px) clamp(20px, 5.5vw, 92px);
}

.elo-formulaCard {
  margin-top: 42px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--elo-ink);
  border-left: 7px solid #4f8a31;
  background: #fff;
  box-shadow: 11px 11px 0 rgba(8, 20, 25, .08);
}

.elo-formulaCard code {
  display: block;
  overflow-wrap: anywhere;
  color: #164a4a;
  font-family: var(--font-display);
  font-size: clamp(25px, 4vw, 56px);
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.elo-formulaCard code + code {
  margin-top: 18px;
  color: #536d19;
}

.elo-formulaCard p {
  max-width: 950px;
  margin: 22px 0 0;
  color: #536168;
  line-height: 1.7;
}

.elo-ruleGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 62px;
  border: 1px solid var(--elo-ink);
  background: var(--elo-ink);
}

.elo-ruleGrid article {
  min-height: 260px;
  padding: clamp(24px, 3vw, 36px);
  background: #fff;
}

.elo-ruleGrid article > span {
  color: #4a7c37;
  font-family: var(--font-display);
  font-size: 45px;
  font-weight: 900;
}

.elo-ruleGrid h3 {
  margin: 16px 0 0;
  font-size: 22px;
  line-height: 1.15;
}

.elo-ruleGrid p {
  margin: 13px 0 0;
  color: #59676c;
  font-size: 13px;
  line-height: 1.65;
}

.elo-nextLinks {
  display: grid;
  grid-template-columns: minmax(250px, .65fr) minmax(0, 1.35fr);
  gap: 40px clamp(55px, 9vw, 140px);
  align-items: start;
  max-width: 1540px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 126px) clamp(20px, 5.5vw, 92px);
  background: #fff;
}

.elo-nextLinks h2 {
  margin: 10px 0 0;
  font-size: clamp(37px, 5vw, 68px);
  letter-spacing: -.04em;
  line-height: 1;
}

.elo-nextLinks nav {
  display: grid;
  border-top: 1px solid var(--elo-ink);
}

.elo-nextLinks a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px;
  padding: 20px 4px;
  border-bottom: 1px solid #bdc5c2;
  font-weight: 850;
}

.elo-nextLinks a::after {
  color: #4b782e;
  content: "↗";
}

.elo-controls button:focus-visible,
.elo-controls input:focus-visible,
.elo-controls textarea:focus-visible,
.elo-results button:focus-visible,
.elo-modeTabs button:focus-visible,
.elo-tableScroll:focus-visible,
.elo-nextLinks a:focus-visible,
.elo-breadcrumb a:focus-visible {
  outline: 3px solid #287b75;
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .elo-hero,
  .elo-workspace,
  .elo-labIntro,
  .elo-nextLinks {
    grid-template-columns: 1fr;
  }

  .elo-hero {
    min-height: auto;
  }

  .elo-heroAnswer {
    max-width: 620px;
  }

  .elo-labIntro > p {
    max-width: 760px;
  }

  .elo-workspace {
    gap: 1px;
  }

  .elo-ruleGrid {
    grid-template-columns: 1fr;
  }

  .elo-ruleGrid article {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .elo-hero h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .elo-trustStrip,
  .elo-batchSummary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .elo-trustStrip span:nth-child(2) {
    border-right: 0;
  }

  .elo-trustStrip span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--elo-ink);
  }

  .elo-modeTabs,
  .elo-fieldPair,
  .elo-parameterGrid,
  .elo-ratingCards,
  .elo-auditGrid,
  .elo-boundary {
    grid-template-columns: 1fr;
  }

  .elo-parameterGrid .elo-field:last-child {
    grid-column: auto;
  }

  .elo-modeTabs button {
    border-right: 0;
  }

  .elo-modeTabs button:first-child {
    border-bottom: 1px solid var(--elo-ink);
  }

  .elo-segmentedControl {
    grid-template-columns: 1fr;
  }

  .elo-segmentedControl label > span {
    min-height: 56px;
  }

  .elo-batchSummary > div {
    min-height: 100px;
  }

  .elo-tableHeading {
    display: block;
  }

  .elo-tableHeading > small {
    display: block;
    margin-top: 7px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .elo-page *,
  .elo-page *::before,
  .elo-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
