#basket table {
  min-width: 1080px;
}

#basket th:nth-child(2),
#basket td:nth-child(2) {
  min-width: 148px;
}

#basket th:nth-child(6),
#basket td:nth-child(6) {
  width: 30%;
  min-width: 280px;
  text-align: left;
  white-space: normal;
}

#basket th:first-child,
#basket td:first-child {
  width: 29%;
}

.elon-index-app .hero {
  display: block;
  padding-bottom: 26px;
}

.elon-index-app .feature-headline {
  max-width: none;
}

.hero-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  max-width: 1080px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: var(--border-thin);
}

.hero-overview p {
  margin: 0;
  color: var(--color-accent-gray-700);
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.65;
}

.hero-basket-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 26px 0 0;
  border-top: var(--border-4);
  border-bottom: var(--border-1);
}

.hero-basket-stats div {
  min-width: 0;
  padding: 14px 14px 14px 0;
}

.hero-basket-stats div + div {
  padding-left: 14px;
  border-left: var(--border-thin);
}

.hero-basket-stats dt,
.hero-basket-stats small {
  display: block;
  color: var(--fg-muted);
  font-family: var(--font-headline);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-basket-stats dd {
  margin: 5px 0 4px;
  color: var(--fg);
  font-family: var(--font-headline);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.hero-basket-stats small {
  min-height: 26px;
  letter-spacing: 0.06em;
}

.hero-basket-stats #hero-delta {
  color: var(--color-yes-text);
  font-family: var(--font-mono);
  text-transform: none;
}

.hero-basket-stats #hero-delta.dn {
  color: var(--fg-accent);
}

.hero-allocation {
  margin: 0 6px 28px;
  padding: 26px 28px 28px;
  border: var(--border-1);
  border-top: var(--border-4);
  background: var(--bg);
}

.hero-allocation-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  padding-bottom: 13px;
  border-bottom: var(--border-thin);
}

.hero-allocation h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.05;
}

.hero-allocation-head p {
  max-width: 370px;
  margin: 0;
  color: var(--fg-muted);
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.5;
  text-align: right;
}

.core-allocation-label {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-bottom: 9px;
  border-bottom: var(--border-thin);
  font-family: var(--font-headline);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.core-allocation-label span {
  color: var(--fg-accent);
}

.hero-sleeve-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(520px, 1.28fr);
  gap: 48px;
  align-items: center;
  padding: 26px 0 24px;
}

.hero-sleeve-figure {
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}

.hero-sleeve-figure .sleeve-pie {
  max-width: 360px;
  filter: none;
}

.hero-sleeve-figure figcaption {
  gap: 4px;
}

.hero-sleeve-legend {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.hero-sleeve-legend li {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 11px;
  padding: 12px 0 0;
  border-top-width: 4px;
}

.hero-sleeve-legend .sleeve-percent {
  font-size: 21px;
}

.hero-sleeve-legend p {
  font-size: 12px;
  line-height: 1.42;
}

.primary-basket-row {
  padding-top: 24px;
}

.primary-basket-row .basket-panel {
  border-width: 4px;
}

.basket-holding-row {
  box-shadow: inset 4px 0 0 var(--fg);
}

.basket-holding-row.sleeve-fortune-control {
  box-shadow: inset 4px 0 0 var(--fg-accent);
}

.basket-holding-row.sleeve-influence-reputation {
  box-shadow: inset 4px 0 0 var(--color-accent-gray-500);
}

.basket-holding-row.sleeve-personal-life {
  box-shadow: inset 4px 0 0 var(--color-warning);
}

.sleeve-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-headline);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.sleeve-label::before {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border: 1px solid var(--fg);
  background: var(--fg);
  content: "";
}

.sleeve-fortune-control .sleeve-label::before {
  border-color: var(--fg-accent);
  background: var(--fg-accent);
}

.sleeve-influence-reputation .sleeve-label::before {
  border-color: var(--color-accent-gray-500);
  background: var(--color-accent-gray-500);
}

.sleeve-personal-life .sleeve-label::before {
  border-color: var(--color-warning);
  background: var(--color-warning);
}

.basket-rationale {
  display: -webkit-box;
  overflow: hidden;
  color: var(--color-accent-gray-700);
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.secondary-performance {
  padding-top: 0;
}

.basket-snapshot-row {
  padding: 0 24px 24px;
}

.elon-live-section {
  padding: 0 24px 24px;
}

.paired-performance-panel {
  padding: 24px;
  border-top: var(--border-4);
}

.live-section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  padding-bottom: 17px;
  border-bottom: var(--border-thin);
}

.live-section-head h2 {
  margin: 4px 0 6px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.live-section-head p {
  max-width: 720px;
  margin: 0;
  color: var(--fg-muted);
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.5;
}

.performance-ranges {
  display: flex;
  flex: 0 0 auto;
  border: var(--border-1);
}

.performance-ranges button {
  min-width: 58px;
  padding: 8px 10px;
  border: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
}

.performance-ranges button + button {
  border-left: var(--border-thin);
}

.performance-ranges button:hover,
.performance-ranges button:focus-visible,
.performance-ranges button.active {
  background: var(--fg);
  color: var(--bg);
}

.paired-fund-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
  border: var(--border-1);
}

.fund-stat {
  padding: 16px 18px;
  border-top: 5px solid var(--fg);
}

.fund-stat + .fund-stat {
  border-left: var(--border-thin);
}

.fund-stat-w {
  border-top-color: #16794f;
}

.fund-stat-l {
  border-top-color: var(--fg-accent);
}

.fund-stat > span,
.fund-stat small {
  display: block;
  font-family: var(--font-headline);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.fund-stat strong {
  display: block;
  margin: 6px 0 5px;
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 36px);
}

.fund-stat small {
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

.paired-performance-chart {
  min-height: 280px;
  margin-top: 20px;
  border: var(--border-1);
  background: var(--bg);
}

.paired-performance-chart svg {
  display: block;
  width: 100%;
  height: 340px;
}

.performance-grid-line {
  stroke: var(--color-accent-gray-300);
  stroke-width: 1;
}

.performance-base-line {
  stroke: var(--fg);
  stroke-width: 1.5;
  stroke-dasharray: 6 5;
  opacity: 0.55;
}

.performance-line {
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: square;
  stroke-linejoin: round;
}

.performance-line-w {
  stroke: #16794f;
}

.performance-line-l {
  stroke: var(--fg-accent);
}

.performance-dot-w {
  fill: #16794f;
}

.performance-dot-l {
  fill: var(--fg-accent);
}

.performance-axis-label {
  fill: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.performance-empty {
  display: grid;
  min-height: 200px;
  place-items: center;
  padding: 28px;
  color: var(--fg-muted);
  font-family: var(--font-headline);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.performance-partial {
  margin: 0;
  padding: 10px 14px;
  border-top: var(--border-thin);
  color: var(--fg-muted);
  font-family: var(--font-headline);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.performance-legend {
  display: flex;
  gap: 22px;
  margin-top: 12px;
  font-family: var(--font-headline);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.performance-legend span::before {
  display: inline-block;
  width: 22px;
  height: 4px;
  margin: 0 7px 2px 0;
  background: var(--fg);
  content: "";
}

.performance-legend .legend-w::before {
  background: #16794f;
}

.performance-legend .legend-l::before {
  background: var(--fg-accent);
}

.performance-disclosure {
  max-width: 1050px;
  padding-top: 12px;
  border-top: var(--border-thin);
}

.basket-snapshot-row .gauge-panel {
  max-width: none;
}

.scoreboard-panel {
  overflow: hidden;
  padding: 0;
  border: var(--border-4);
  background: var(--bg);
}

.scoreboard-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 22px 24px;
  border-bottom: var(--border-1);
}

.scoreboard-header h2 {
  margin: 0 0 6px;
  font-size: clamp(30px, 3.5vw, 46px);
}

.scoreboard-header p {
  margin: 0;
  color: var(--color-accent-gray-700);
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.5;
}

.scoreboard-readout {
  min-width: 240px;
  padding: 14px 18px;
  border-top: 5px solid var(--fg-accent);
  background: var(--fg);
  color: var(--bg);
  text-align: right;
}

.scoreboard-verdict {
  display: block;
  color: var(--bg);
  font-family: var(--font-headline);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scoreboard-panel .gauge-readout {
  gap: 16px;
  margin-top: 5px;
}

.scoreboard-panel .gauge-readout strong,
.scoreboard-panel .gauge-readout span {
  color: var(--bg);
}

.scoreboard-panel .gauge-readout strong {
  font-size: 48px;
}

.scoreboard-panel .gauge-track {
  position: relative;
  height: 46px;
  margin: 30px 24px 16px;
  border: var(--border-1);
  background:
    linear-gradient(
      90deg,
      #f0d7d4 0%,
      #f7eeee 50%,
      #eaf3ea 50%,
      #cfe1cf 100%
    );
}

.scoreboard-panel .gauge-track::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 2px dashed var(--fg);
  content: "";
  opacity: 0.55;
}

.scoreboard-panel .gauge-track span {
  position: absolute;
  top: -8px;
  left: 0;
  width: 5px;
  height: 62px;
  background: var(--fg);
  box-shadow: 0 0 0 3px var(--bg);
  transform: translateX(-50%);
  transition: left var(--motion-normal);
  z-index: 1;
}

.scoreboard-scale {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 24px;
}

.scoreboard-scale span {
  display: grid;
  gap: 4px;
}

.scoreboard-scale span:nth-child(2) {
  text-align: center;
}

.scoreboard-scale span:last-child {
  text-align: right;
}

.scoreboard-scale strong {
  color: var(--fg);
  font-size: 15px;
}

.scoreboard-scale small {
  color: var(--fg-muted);
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.scoreboard-panel > .serif-note {
  margin: 24px 24px 0;
}

.scoreboard-panel .quality-list {
  margin: 20px 24px 24px;
}

.elon-index-app .panel-footnote,
.pilot-disclosure {
  margin: 14px 0 0;
  color: var(--fg-muted);
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.55;
}

.elon-methodology {
  padding: 0 24px 24px;
}

.elon-method-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.recipe-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 28px;
  margin-top: 16px;
  padding: 24px 0;
  border-top: var(--border-4);
  border-bottom: var(--border-thin);
}

.recipe-intro-single {
  grid-template-columns: minmax(0, 1fr);
}

.recipe-intro-single .recipe-thesis {
  max-width: 1040px;
}

.recipe-label {
  display: block;
  margin-bottom: 7px;
  color: var(--fg-accent);
  font-family: var(--font-headline);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.recipe-thesis h3 {
  max-width: 760px;
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(25px, 3vw, 39px);
  line-height: 1.08;
}

.recipe-thesis p,
.recipe-principle p,
.sleeve-legend p,
.recipe-boundaries p {
  margin: 0;
  color: var(--color-accent-gray-700);
  font-family: var(--font-serif);
  line-height: 1.6;
}

.recipe-thesis p {
  max-width: 78ch;
  font-size: 16px;
}

.recipe-thesis p + p {
  margin-top: 12px;
}

.method-section-heading {
  margin-top: 26px;
}

.method-section-heading h3 {
  margin: 0;
  font-family: var(--font-headline);
  font-size: clamp(20px, 2.3vw, 28px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.recipe-principle {
  align-self: stretch;
  padding: 18px 20px;
  border: var(--border-1);
  border-top: 6px solid var(--fg-accent);
  background: var(--bg-paper);
}

.recipe-principle strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.recipe-principle p {
  font-size: 14px;
}

.sleeve-allocation-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.55fr);
  gap: 28px;
  padding: 26px 0;
  border-bottom: var(--border-1);
}

.sleeve-figure {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  justify-items: center;
  margin: 0;
  padding: 22px;
  border: var(--border-1);
  background: var(--bg-paper);
}

.sleeve-pie {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  justify-self: center;
  overflow: visible;
  filter: drop-shadow(5px 5px 0 var(--color-accent-gray-300));
}

.sleeve-slice {
  stroke: var(--fg);
  stroke-width: 0.7;
  cursor: pointer;
  opacity: 0.72;
  outline: none;
  transition:
    opacity var(--motion-fast),
    stroke-width var(--motion-fast),
    filter var(--motion-fast);
}

.sleeve-slice.sleeve-technical {
  fill: var(--fg);
}

.sleeve-slice.sleeve-products {
  fill: var(--fg-accent);
}

.sleeve-slice.sleeve-capital {
  fill: var(--color-accent-gray-500);
}

.sleeve-slice.sleeve-power {
  fill: var(--color-yes-fill);
}

.sleeve-slice.sleeve-personal {
  fill: var(--color-warning);
}

.sleeve-slice.sleeve-win-now {
  fill: #2166ac;
}

.sleeve-slice:hover,
.sleeve-slice:focus-visible,
.sleeve-slice.is-active {
  stroke-width: 2;
  opacity: 1;
  filter: brightness(1.06);
}

.sleeve-figure figcaption {
  min-width: 0;
  overflow-wrap: anywhere;
  display: grid;
  gap: 6px;
  max-width: 340px;
  text-align: center;
}

.sleeve-figure figcaption span,
.sleeve-figure figcaption small {
  color: var(--fg-muted);
  font-family: var(--font-headline);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.sleeve-figure figcaption strong {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.5vw, 28px);
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.sleeve-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sleeve-legend li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 15px 0 0;
  border-top: 6px solid var(--fg);
}

.sleeve-legend .sleeve-products {
  border-top-color: var(--fg-accent);
}

.sleeve-legend .sleeve-capital {
  border-top-color: var(--color-accent-gray-500);
}

.sleeve-legend .sleeve-power {
  border-top-color: var(--color-yes-fill);
}

.sleeve-legend .sleeve-personal {
  border-top-color: var(--color-warning);
}

.sleeve-legend .sleeve-win-now {
  border-top-color: #2166ac;
}

.sleeve-percent {
  font-family: var(--font-headline);
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
}

.sleeve-legend h3,
.recipe-boundaries h3 {
  margin: 0 0 6px;
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.09em;
  line-height: 1.25;
  text-transform: uppercase;
}

.sleeve-legend p {
  font-size: 14px;
}

.sleeve-control {
  display: grid;
  width: 100%;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 4px;
  border: 0;
  background: transparent;
  color: var(--fg);
  text-align: left;
}

.sleeve-control:hover,
.sleeve-control:focus-visible,
.sleeve-control.is-active {
  background: var(--color-accent-gray-100);
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

.sleeve-control strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-headline);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.sleeve-control small {
  display: block;
  color: var(--color-accent-gray-700);
  font-family: var(--font-serif);
  font-size: 12px;
  line-height: 1.42;
}

.sleeve-market-browser {
  margin-top: 20px;
  padding-top: 17px;
  border-top: var(--border-4);
}

.sleeve-market-browser header {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: end;
}

.sleeve-market-browser h3 {
  margin: 5px 0 0;
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.sleeve-browser-summary {
  display: flex;
  gap: 20px;
  color: var(--fg-muted);
  font-family: var(--font-headline);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sleeve-browser-summary strong {
  display: block;
  margin-bottom: 2px;
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 17px;
  letter-spacing: 0;
}

.sleeve-market-list {
  display: grid;
  max-height: 330px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 13px;
  overflow: auto;
  border-top: var(--border-thin);
}

.sleeve-market-card {
  min-width: 0;
  padding: 13px 14px 14px 0;
  border-bottom: var(--border-thin);
}

.sleeve-market-card:nth-child(even) {
  padding-right: 0;
  padding-left: 14px;
  border-left: var(--border-thin);
}

.sleeve-market-card h4 {
  min-height: 39px;
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.35;
}

.sleeve-market-facts {
  display: flex;
  gap: 13px;
  align-items: center;
}

.sleeve-market-facts > span:not(.leg) {
  display: grid;
  gap: 2px;
}

.sleeve-market-facts small {
  color: var(--fg-muted);
  font-family: var(--font-headline);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sleeve-market-facts strong {
  font-family: var(--font-mono);
  font-size: 13px;
}

.sleeve-market-empty {
  grid-column: 1 / -1;
  padding: 32px 16px;
  color: var(--fg-muted);
  font-family: var(--font-headline);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.inline-formula {
  padding: 1px 4px;
  background: var(--color-accent-gray-100);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 0.84em;
  white-space: nowrap;
}

.elon-method-grid article,
.elon-method-grid article + article,
.elon-method-grid article:nth-child(odd),
.elon-method-grid article:nth-child(even) {
  padding: 20px;
  border-right: var(--border-thin);
  border-bottom: 0;
}

.elon-method-grid article:nth-child(odd) {
  padding-left: 0;
}

.elon-method-grid article:nth-child(even) {
  padding-right: 0;
  border-right: 0;
}

.elon-method-grid article:nth-child(n + 3) {
  border-top: var(--border-thin);
}

.method-number {
  display: block;
  margin-bottom: 8px;
  color: var(--fg-accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
}

.recipe-boundaries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
  border-top: var(--border-4);
}

.recipe-boundaries article {
  padding: 18px 18px 0 0;
  border-right: var(--border-thin);
}

.recipe-boundaries article + article {
  padding-left: 18px;
}

.recipe-boundaries article:last-child {
  padding-right: 0;
  border-right: 0;
}

.recipe-boundaries p {
  font-size: 14px;
}

.sleeve-figure.hero-sleeve-figure {
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}

.sleeve-legend.hero-sleeve-legend {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.sleeve-legend.hero-sleeve-legend li {
  display: block;
  padding: 12px 0 0;
  border-top-width: 4px;
}

.sleeve-legend.hero-sleeve-legend .sleeve-percent {
  font-size: 21px;
}

.sleeve-legend.hero-sleeve-legend p {
  font-size: 12px;
  line-height: 1.42;
}

.hero-allocation .sleeve-market-list {
  max-height: 380px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-allocation .sleeve-market-card,
.hero-allocation .sleeve-market-card:nth-child(even) {
  padding: 15px 16px;
  border-left: var(--border-thin);
}

.hero-allocation .sleeve-market-card:nth-child(3n + 1) {
  padding-left: 0;
  border-left: 0;
}

@media (max-width: 1120px) {
  .recipe-intro,
  .sleeve-allocation-layout {
    grid-template-columns: 1fr;
  }

  .hero-sleeve-layout {
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
    gap: 30px;
  }

  .hero-allocation .sleeve-market-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-allocation .sleeve-market-card,
  .hero-allocation .sleeve-market-card:nth-child(even),
  .hero-allocation .sleeve-market-card:nth-child(3n + 1) {
    padding: 15px 16px;
    border-left: var(--border-thin);
  }

  .hero-allocation .sleeve-market-card:nth-child(2n + 1) {
    padding-left: 0;
    border-left: 0;
  }

  .elon-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .elon-method-grid article:nth-child(2) {
    border-right: 0;
  }

  .elon-method-grid article:nth-child(3),
  .elon-method-grid article:nth-child(4) {
    border-top: var(--border-thin);
  }
}

@media (max-width: 760px) {
  .elon-methodology {
    padding-inline: 14px;
  }

  .basket-snapshot-row {
    padding-inline: 14px;
  }

  .elon-method-grid {
    grid-template-columns: 1fr;
  }

  .hero-basket-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-basket-stats div,
  .hero-basket-stats div + div {
    padding: 10px 7px;
    border-bottom: 0;
  }

  .hero-basket-stats div:first-child {
    padding-left: 0;
  }

  .hero-basket-stats dd {
    font-size: 18px;
  }

  .hero-basket-stats dt,
  .hero-basket-stats small {
    font-size: 7px;
    letter-spacing: 0.06em;
  }

  .hero-allocation {
    padding: 16px;
  }

  .paired-fund-stats {
    grid-template-columns: 1fr;
  }

  .fund-stat + .fund-stat {
    border-left: 0;
    border-top-width: 5px;
  }

  .hero-sleeve-layout {
    grid-template-columns: 1fr;
  }

  .sleeve-legend.hero-sleeve-legend,
  .hero-allocation .sleeve-market-list {
    grid-template-columns: 1fr;
  }

  .hero-overview {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-allocation-head,
  .scoreboard-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-allocation-head {
    display: flex;
  }

  .hero-allocation-head p {
    max-width: none;
    text-align: left;
  }

  .scoreboard-header {
    display: flex;
  }

  .elon-live-section {
    padding-inline: 14px;
  }

  .live-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .performance-ranges {
    width: 100%;
  }

  .performance-ranges button {
    flex: 1;
  }

  .performance-legend {
    align-items: flex-start;
    flex-direction: column;
  }

  .scoreboard-readout {
    width: 100%;
    min-width: 0;
    text-align: left;
  }

  .sleeve-market-browser header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .sleeve-market-list {
    grid-template-columns: 1fr;
  }

  .sleeve-market-card,
  .sleeve-market-card:nth-child(even) {
    padding: 12px 0;
    border-left: 0;
  }

  .hero-allocation .sleeve-market-card,
  .hero-allocation .sleeve-market-card:nth-child(even),
  .hero-allocation .sleeve-market-card:nth-child(2n + 1),
  .hero-allocation .sleeve-market-card:nth-child(3n + 1) {
    padding: 12px 0;
    border-left: 0;
  }

  .scoreboard-scale strong {
    font-size: 12px;
  }

  .scoreboard-scale small {
    font-size: 10px;
  }

  .recipe-intro {
    gap: 18px;
    padding: 20px 0;
  }

  .sleeve-allocation-layout,
  .sleeve-figure,
  .sleeve-legend,
  .recipe-boundaries {
    grid-template-columns: 1fr;
  }

  .sleeve-figure {
    justify-items: center;
  }

  .sleeve-figure figcaption {
    max-width: 320px;
    text-align: center;
  }

  .sleeve-figure figcaption strong {
    white-space: normal;
  }

  .sleeve-legend li {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .recipe-boundaries article,
  .recipe-boundaries article + article {
    padding: 16px 0;
    border-right: 0;
    border-bottom: var(--border-thin);
  }

  .recipe-boundaries article:last-child {
    border-bottom: 0;
  }

  .elon-method-grid article,
  .elon-method-grid article + article,
  .elon-method-grid article:nth-child(odd),
  .elon-method-grid article:nth-child(even) {
    padding: 15px 0;
    border-top: var(--border-thin);
    border-right: 0;
  }
}

@media (forced-colors: active) {
  .sleeve-slice {
    fill: Canvas;
    stroke: CanvasText;
  }

  .sleeve-slice.is-active {
    fill: Highlight;
    stroke: HighlightText;
  }
}
