:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #10131a;
  color: #f5f2e9;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 20%, rgb(68 101 116 / 28%), transparent 32rem),
    radial-gradient(circle at 85% 80%, rgb(133 91 54 / 22%), transparent 30rem),
    #10131a;
}

main {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 4rem);
}

section {
  display: grid;
  width: min(100%, 80rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  align-items: center;
  column-gap: clamp(2rem, 6vw, 6rem);
  row-gap: clamp(2.5rem, 5vw, 4rem);
}

.copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: #91b9c5;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.25rem, 11vw, 7.5rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.trademark {
  position: relative;
  top: 0.08em;
  margin-left: 0.04em;
  color: #fff;
  font-size: 0.32em;
  letter-spacing: 0;
  vertical-align: top;
}

.lead {
  max-width: 34rem;
  margin: 2rem 0 0;
  color: #f5f2e9;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 600;
  line-height: 1.4;
}

.tagline {
  max-width: 34rem;
  margin: 0.5rem 0 0;
  color: #bbb9b2;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.6;
}

.rule {
  display: block;
  width: 4rem;
  height: 0.25rem;
  margin-top: 2.5rem;
  border-radius: 999px;
  background: #d78c52;
}

figure {
  position: relative;
  width: 100%;
  aspect-ratio: 1.75;
  overflow: hidden;
  margin: 0;
}

figure img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-16.5%);
  filter: drop-shadow(0 0 2rem rgb(145 185 197 / 12%));
}

.intro {
  grid-column: 1 / -1;
  max-width: 72ch;
  margin: 0;
  padding-left: 1.5rem;
  border-left: 0.25rem solid rgb(215 140 82 / 70%);
  color: #d2d0c9;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.8;
  text-wrap: pretty;
}

@media (max-width: 50rem) {
  section {
    width: min(100%, 48rem);
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  section {
    animation: arrive 700ms ease-out both;
  }

  @keyframes arrive {
    from {
      opacity: 0;
      transform: translateY(1rem);
    }
  }
}

.chart-main {
  align-items: start;
}

.chart-shell {
  width: min(100%, 72rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  row-gap: clamp(2rem, 5vw, 3.5rem);
}

.chart-header {
  max-width: 56rem;
}

.chart-header h1,
.chart-header h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.chart-header .lead {
  max-width: none;
}

.chart-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.chart-header-action {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border: 1px solid rgb(215 140 82 / 55%);
  border-radius: 999px;
  background: rgb(215 140 82 / 12%);
  color: #f5f2e9;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.chart-header-action:hover,
.chart-header-action:focus-visible {
  border-color: #d78c52;
  background: #d78c52;
  color: #10131a;
}

.eyebrow a {
  color: inherit;
  text-decoration: none;
}

.eyebrow a:hover,
.eyebrow a:focus-visible {
  color: #f5f2e9;
}

.chart-card {
  min-width: 0;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgb(145 185 197 / 18%);
  border-radius: 1.25rem;
  background: rgb(16 19 26 / 62%);
  box-shadow: 0 1.5rem 5rem rgb(0 0 0 / 20%);
  backdrop-filter: blur(0.75rem);
}

.chart-page-section {
  display: grid;
  min-width: 0;
  row-gap: clamp(2rem, 5vw, 3.5rem);
}

.chart-page-section + .chart-page-section {
  padding-top: clamp(3rem, 8vw, 6rem);
  border-top: 1px solid rgb(145 185 197 / 18%);
}

.chart {
  width: 100%;
  min-height: 28rem;
}

.chart-note {
  max-width: 68ch;
  margin: 1rem 0 0;
  color: #bbb9b2;
  font-size: 0.9rem;
  line-height: 1.6;
}

.chart-status {
  max-width: 42rem;
  margin: 2rem 0 0;
  color: #bbb9b2;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.6;
}

.chart-status-error {
  color: #e6ad85;
}

.chart-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1.5rem;
}

.chart-content-section {
  padding-left: 1.25rem;
  border-left: 0.25rem solid rgb(215 140 82 / 70%);
}

.chart-content-title {
  margin: 0;
  color: #f5f2e9;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.chart-content-description {
  max-width: 68ch;
  margin: 0.65rem 0 0;
  color: #d2d0c9;
  line-height: 1.75;
}

.chart-content-section-narrative {
  grid-column: 1 / -1;
  width: 100%;
  padding-left: 0;
  border-left: 0;
}

.chart-content-section-narrative .chart-content-title {
  max-width: none;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.chart-narrative-paragraph {
  width: 100%;
  max-width: none;
  margin: 1.25rem 0 0;
  color: #d2d0c9;
  font-size: 1rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.modified-term {
  font-weight: var(--modified-term-weight, inherit);
}

.modified-term-defined {
  position: relative;
  display: inline-block;
  cursor: help;
  text-decoration: underline dotted rgb(215 140 82 / 80%);
  text-underline-offset: 0.2em;
}

.modified-term-defined:focus-visible {
  border-radius: 0.15rem;
  outline: 2px solid #91b9c5;
  outline-offset: 0.15rem;
}

.modified-term-tooltip {
  position: absolute;
  bottom: calc(100% + 0.7rem);
  left: 50%;
  z-index: 20;
  width: max-content;
  max-width: min(22rem, calc(100vw - 3rem));
  padding: 0.75rem 0.9rem;
  border: 1px solid rgb(145 185 197 / 28%);
  border-radius: 0.65rem;
  background: #191e28;
  box-shadow: 0 1rem 2.5rem rgb(0 0 0 / 35%);
  color: #f5f2e9;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  text-decoration: none;
  transform: translate(-50%, 0.25rem);
  visibility: hidden;
}

.modified-term-defined:hover .modified-term-tooltip,
.modified-term-defined:focus .modified-term-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

.site-footer {
  width: 100%;
  padding: 0 clamp(1.5rem, 5vw, 4rem) clamp(2rem, 5vw, 3rem);
}

.site-footer-inner {
  display: flex;
  width: min(100%, 72rem);
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(145 185 197 / 18%);
  color: #bbb9b2;
  font-size: 0.85rem;
}

.site-footer a {
  color: #f5f2e9;
  font-weight: 650;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #91b9c5;
}

.site-footer p {
  margin: 0;
}

.modebar-btn path {
  fill: #bbb9b2 !important;
}

@media (max-width: 50rem) {
  .chart-shell {
    gap: 2rem;
  }

  .chart {
    min-height: 23rem;
  }

  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
