:root {
  --bg: #ffffff;
  --panel: rgba(255, 255, 255, 0.82);
  --text: #212529;
  --panel-text: #212529;
  --panel-border: rgba(22, 22, 22, 0.12);
  --shadow: rgba(22, 22, 22, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Roboto", sans-serif;
  color: var(--text);
  background: var(--bg);
}

.page-shell {
  min-height: 100vh;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0 clamp(12px, 2.4vw, 28px);
}

.scrolly {
  position: relative;
  min-height: 100vh;
}

.chart-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: clamp(16px, 2.5vh, 28px) 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chart-card {
  width: 100%;
  max-width: 1280px;
  height: min(92vh, 920px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

#chart {
  width: 100%;
  height: 100%;
}

.steps {
  position: relative;
  margin-top: -100vh;
  width: 100%;
  padding-bottom: 25vh;
}

a:hover {
  text-decoration: none;
  color: var(--text);
}

.step {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(16px, 4vw, 48px);
}

.step-copy {
  width: min(42rem, calc(100% - 2rem));
  padding: 1.6rem 1.8rem;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: 0 18px 50px rgba(22, 22, 22, 0.12);
  transition: transform 240ms ease, box-shadow 240ms ease, opacity 240ms ease;
  opacity: 0.48;
  backdrop-filter: blur(8px);
}

.step.is-active .step-copy {
  transform: translateY(-4px);
  opacity: 1;
  box-shadow: 0 24px 56px rgba(22, 22, 22, 0.18);
}

.step h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.step p:not(.title):not(.dek) {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--panel-text);
}

.container-fluid {
 --bs-gutter-x: 3.5rem;
}

#graphic {
  margin-top: 35px;
  margin-bottom: 35px;
}

a {
  color: #212529;
  text-decoration: underline;
}

span.sona {
  background-color: #bc4c96;
  color: #ffffff;
  border-radius: 3px;
  padding: 2px 4px;
}

.title {
  text-align: center !important;
  justify-content: center;
  position: relative;
  margin: 0;
  font-size: 40px;
  font-weight: bold;
}

.dek {
  text-align: center !important;
  justify-content: center;
  position: relative;
  margin: 0.75rem 0 0;
  font-size: 16px;
}


@media (max-width: 960px) {
  .page-shell {
    padding: 0 14px;
  }

  .chart-panel {
    padding: 12px 0;
  }

  .chart-card {
    height: min(88vh, 760px);
    border-radius: 0;
  }

  .step {
    padding: 0 1rem;
  }

  .step-copy {
    width: min(30rem, 100%);
    padding: 1.35rem 1.25rem;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: 100%;
    padding: 0 10px;
  }

  .chart-panel {
    padding: 8px 0;
    height: 100vh;
  }

  .chart-card {
    height: min(82vh, 640px);
  }

  .steps {
    padding-bottom: 15vh;
  }

  .step {
    min-height: 100vh;
    align-items: flex-end;
    padding: 0 0.75rem 10vh;
  }

  .step-copy {
    width: 100%;
    padding: 1rem 0.95rem;
    border-radius: 14px;
  }

  .step h2 {
    font-size: 1.2rem;
  }

  .step p:not(.title):not(.dek) {
    font-size: 0.92rem;
    line-height: 1.55;
  }
}

  @media only screen and (max-width: 500px) and (min-width: 250px) {
  .title {
    text-align: center !important;
    justify-content: center;
    position: relative;
    margin-bottom: auto;
    font-size: 20px;
    font-weight: bold;
  }

    .dek {
    text-align: center !important;
    justify-content: center;
    position: relative;
    font-size: 16px;
  }


}