:root {
  --blue-300: #93C5FD;
  --blue-400: #60A5FA;
  --blue-500: #3B82F6;
  --blue-600: #1B62F1;
  --blue-900: #1E3A8A;
  --gray-200:#E5E5E5;
  --soft-gray-100: #F3F4F5;
  --soft-gray-200: #E4E4E7;
  --soft-gray-300: #D4D4D8;
  --soft-gray-500: #71717A;
  --soft-gray-900: #18181B;
  --green-700: #15803D;
  --red-800: #DF2A2A;
}

:root {
  font-family: 'Inter var', 'Inter', sans-serif;
  -webkit-font-feature-settings: 'liga' 1, 'calt' 1;
          font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
}

@supports (font-variation-settings: normal) {
  *, :after, :before {
    font-optical-sizing: auto !important;
  }
}

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


body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #EEEEF1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "case", "calt", "ccmp", "kern";
  -webkit-font-feature-settings: "case", "calt", "ccmp", "kern";
  -moz-font-feature-settings: "case", "calt", "ccmp", "kern";
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: 100%;
}

.tile {
  /* opacity: 0; */
  width: 980px;
  height: 520px;
  display: flex;
  background: var(--soft-gray-900);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.tile-content {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 48px 56px;
  gap: 80px;
}

.copy-wrapper {
  max-width: 370px;
  margin-left: auto;
  align-self: center;
}

.tile-title {
  font-size: 36px;
  letter-spacing: -0.04em;
  margin-bottom: 64px;
  font-weight: 600;
  line-height: 120%;
  color: var(--soft-gray-100);
  margin-bottom: 64px;
}

.tile-copy {
  font-size: 20px;
  line-height: 140%;
  letter-spacing: -.02em;
  color: var(--soft-gray-200);
}


.visual-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  order: -1;
}

.graph-container {
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
}

#graph-slider {
  flex-shrink: 0;
  position: relative;
  /* cursor: none; */
}

.line {
  --line-width: 2px;
  margin-top: 24px;
  height: calc(100% - 34px);
  width: var(--line-width);
  border-radius: 9999px;
  background: rgb(255 255 255 / 10%);
  position: absolute;
  -webkit-transform: translateX(var(--line-width));
          transform: translateX(var(--line-width));
}

.badge {
  background: #2e2e2e;
  -webkit-transform: translate(-50%, -100%);
          transform: translate(-50%, -100%);
}

.dot {
  --dot-size: 14px;
  width: var(--dot-size);
  height: var(--dot-size);
  position: absolute;
  box-shadow: rgb(255, 255, 255) 0px 0px 0px 2px, rgba(0, 0, 0, 0.12) 0px 0px 8px 2px;
  background: var(--blue-600);
  border-radius: 9999px;
  offset-path: path(var(--d));
  offset-rotate: 0deg;
}

.overlay {
  -webkit-clip-path: inset(0px 100% 0px 0px);
          clip-path: inset(0px 100% 0px 0px);
}

.graph-path {
  stroke: #505050;
}

.graph-overlay-path {
  stroke: var(--blue-500);
}

.graph-gradient {
  stop-color: #2e2e2e;
}

.graph-overlay-gradient {
  stop-color: var(--blue-900);
  opacity: .75;
}

.graph-legend {
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0;
  max-width: 200px;
  font-style: italic;
  color: var(--soft-gray-500);
  margin-bottom: 24px;
}

.graph-x-axis {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.graph-x-start,
.graph-x-end {
  font-size: 12px;
  letter-spacing: 0;
  color: var(--soft-gray-500);
}

.graph-x-line {
  flex-grow: 1;
  height: 1px;
  background: rgb(255 255 255 / 10%);
}