.up-story {
  max-width: 1168px;
  margin: 0 auto;
  padding: 20px 24px 80px;
  color: #333;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.up-hero {
  position: relative;
  padding: 0 0 24px;
}

.up-hero .section-label,
.universal-pension-story .section-label {
  display: inline-block;
  margin: 0 0 12px;
  padding-top: 6px;
  border-top: 2px solid var(--green, #2ca156);
  color: var(--green, #2ca156);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.up-lab-link {
  position: absolute;
  top: 0;
  right: 0;
  padding: 8px 11px;
  border: 1px solid #26323a;
  border-radius: 4px;
  color: #26323a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.up-lab-link:hover,
.up-lab-link:focus-visible {
  background: #26323a;
  color: #fff;
}

.up-hero h1 {
  max-width: 990px;
  margin: 64px 0 32px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.up-standfirst {
  max-width: none;
  margin: 0;
  color: #59636d;
  font-size: 20px;
  line-height: 1.48;
}

.up-standfirst a,
.up-close a {
  color: #1182ff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.up-hero-action {
  margin: 16px 0 0;
  text-align: center;
}

.up-hero-challenge {
  margin: 0;
  color: #26323a;
  font-size: clamp(20px, 2.3vw, 25px);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.up-hero-action .subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.up-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 42px 0 0;
}

.up-numbers p {
  margin: 0;
  padding: 12px 0px;
  border-top: 5px solid #eb5555;
}

.up-numbers p:nth-child(2) {
  border-color: #1182ff;
}

.up-numbers p:nth-child(3) {
  border-color: #f7ac2f;
}

.up-numbers p:nth-child(4) {
  border-color: #2ca156;
}

.up-numbers strong {
  display: block;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.up-numbers span {
  display: block;
  margin-top: 4px;
  color: #68737d;
  font-size: 14px;
  line-height: 1.3;
}

.up-system-compare {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 48px;
  margin: 32px 0 38px;
  padding: 24px 0;
  border-top: 1px solid #dfe4e8;
  border-bottom: 1px solid #dfe4e8;
}

.up-system-compare > div {
  min-width: 0;
}

.up-system-compare > div + div {
  padding-left: 48px;
  border-left: 1px solid #dfe4e8;
}

.up-system-label {
  margin: 0 0 15px;
  color: #14844c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.up-system-compare strong,
.up-system-compare span {
  display: block;
}

.up-system-compare strong {
  margin-top: 19px;
  color: #26323a;
  font-size: 23px;
  letter-spacing: -.03em;
}

.up-system-compare strong:first-of-type {
  margin-top: 0;
}

.up-system-compare span {
  margin-top: 5px;
  color: #68737d;
  font-size: 15px;
  line-height: 1.35;
}

.up-scenario-note {
  color: #68737d;
  font-size: 14px;
  line-height: 1.45;
}

.up-examples {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.up-examples > div {
  padding-top: 13px;
  border-top: 5px solid #eb5555;
}

.up-examples > div:nth-child(2) { border-color: #1182ff; }
.up-examples > div:nth-child(3) { border-color: #f7ac2f; }
.up-examples > div:nth-child(4) { border-color: #2ca156; }

.up-examples strong,
.up-examples span {
  display: block;
}

.up-examples strong {
  color: #26323a;
  font-size: 16px;
}

.up-examples span {
  margin-top: 7px;
  color: #26323a;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -.04em;
}

.up-examples p {
  margin: 7px 0 0;
  color: #68737d;
  font-size: 14px;
  line-height: 1.4;
}

.up-section {
  padding: 38px 0 64px;
  border-top: 1px solid #dfe4e8;
}

.up-section > :last-child,
.up-section > .up-copy:last-child > :last-child {
  margin-bottom: 0;
}

.up-copy {
  max-width: none;
  margin-bottom: 30px;
}

.up-copy h2,
.up-copy .up-kicker {
  max-width: 970px;
}

.up-kicker {
  margin: 0 0 9px;
  color: #2ca156;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.up-copy h2,
.up-close h2 {
  margin: 0 0 15px;
  font-size: clamp(29px, 4vw, 45px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.up-copy p {
  margin: 10px 0;
  font-size: 17px;
  line-height: 1.6;
}

.up-copy a {
  color: #1182ff;
  font-weight: 700;
  text-decoration: none;
}

.up-copy a:hover {
  color: #0b6dcc;
}

.up-copy em {
  color: #68737d;
}

.up-list {
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.up-list li {
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid #eceff1;
  font-size: 16px;
  line-height: 1.5;
}

.up-list li:first-child {
  border-top: none;
}

.up-list strong {
  color: #26323a;
}

.up-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 24px;
}

.up-list-grid li {
  border-top: 1px solid #eceff1;
}

.up-list-grid li:nth-child(-n+2) {
  border-top: none;
}

@media (max-width: 640px) {
  .up-list-grid {
    grid-template-columns: 1fr;
  }

  .up-list-grid li:nth-child(2) {
    border-top: none;
  }
}

.up-list span {
  display: block;
  margin-top: 2px;
  color: #68737d;
  font-size: 13px;
}

.up-figure {
  margin: 0;
  padding: 22px;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  background: #fff;
}

.up-figure figcaption {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
  padding-right: 96px;
}

.up-figure figcaption strong {
  font-size: 17px;
}

.up-figure figcaption span {
  display: none;
}

.up-figure figcaption span,
.up-note {
  color: #68737d;
  font-size: 13px;
}

.up-figure svg {
  display: block;
  width: 100%;
  height: auto;
}

.up-note {
  margin: 6px 0 0;
  line-height: 1.5;
}

.up-export {
  position: absolute;
  top: -4px;
  right: 0;
  padding: 6px 8px;
  border: 1px solid #aeb8bf;
  border-radius: 4px;
  background: #fff;
  color: #26323a;
  cursor: pointer;
  font: 700 12px/1 var(--font-sans, Arial, sans-serif);
}

.up-export:hover {
  border-color: #14844c;
  color: #14844c;
}

.up-close {
  max-width: none;
  margin: 0 auto;
  padding: 48px 0 64px;
  border-top: 1px solid #dfe4e8;
  text-align: center;
}

.up-section:has(+ .up-close) {
  padding-bottom: 48px;
}

.up-close p {
  color: #59636d;
  font-size: 18px;
  line-height: 1.55;
}

.up-close .up-conclusion {
  max-width: 850px;
  margin: 0 auto 24px;
  color: #26323a;
  font-size: clamp(20px, 2.3vw, 25px);
  font-weight: 700;
  line-height: 1.4;
}

.up-close .up-limits {
  max-width: none;
  margin: 0;
  color: #68737d;
  font-size: 14px;
  text-align: left;
}

.up-close .up-hero-challenge {
  margin: 0;
  color: #26323a;
  font-size: clamp(20px, 2.3vw, 25px);
  font-weight: 700;
  line-height: 1.45;
}

.up-close .up-hero-action {
  margin-top: 18px;
}

.up-close .subscribe-btn {
  color: var(--white, #fff);
  text-decoration: none;
}

.ps-story {
  max-width: 1168px;
}

.ps-board {
  border-top: 1px solid #dfe4e8;
  padding-top: 36px;
}

.ps-score {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 0 28px;
}

.ps-score p {
  margin: 0;
  padding: 12px 0;
  border-top: 5px solid #eb5555;
}

.ps-score p:nth-child(2) {
  border-color: #1182ff;
}

.ps-score p:nth-child(3) {
  border-color: #f0bf24;
}

.ps-score p:nth-child(4) {
  border-color: #2ca156;
}

.ps-score strong {
  display: block;
  color: #26323a;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.ps-score span {
  display: block;
  margin-top: 4px;
  color: #68737d;
  font-size: 14px;
  line-height: 1.3;
}

.ps-figure {
  margin-bottom: 22px;
}

.ps-controls {
  margin-top: 42px;
  padding-top: 36px;
  border-top: 1px solid #dfe4e8;
}

.ps-controls-head {
  margin-bottom: 22px;
}

.ps-controls-head p:last-child {
  max-width: 760px;
  margin: 0;
  color: #59636d;
  font-size: 17px;
  line-height: 1.55;
}

.ps-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
}

.ps-control {
  display: block;
  padding: 0 0 16px;
  border-bottom: 1px solid #dfe4e8;
}

.ps-control > span {
  display: block;
  margin-bottom: 7px;
  color: #26323a;
  font-size: 15px;
  font-weight: 700;
}

.ps-control select {
  width: 100%;
  border: 1px solid #aeb8bf;
  border-radius: 3px;
  background: #fff;
  color: #26323a;
  font: inherit;
  padding: 9px 10px;
}

.ps-control small {
  display: block;
  margin-top: 7px;
  color: #68737d;
  font-size: 13px;
  line-height: 1.35;
}

.ps-macro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.ps-macro label {
  color: #26323a;
  font-size: 14px;
  font-weight: 700;
}

.ps-macro output {
  float: right;
  color: #14844c;
}

.ps-macro input {
  display: block;
  width: 100%;
  margin-top: 10px;
  accent-color: #14844c;
}

.ps-status {
  max-width: 820px;
  margin: 28px 0 0;
  color: #26323a;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.ps-method {
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid #dfe4e8;
}

.ps-method p {
  max-width: none;
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.58;
}

/* Pension simulator: one decision workspace, deliberately separate from the story-page cards. */
.ps-board {
  border-top: 0;
  padding-top: 0;
}

.ps-mandate {
  max-width: 790px;
  margin: 0 0 28px;
}

.ps-mandate h2 {
  margin: 6px 0 12px;
  color: #26323a;
  font-size: 31px;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.ps-mandate p:last-child {
  margin: 0;
  color: #59636d;
  font-size: 17px;
  line-height: 1.55;
}

.ps-ledger {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 36px;
  border-top: 1px solid #dfe4e8;
  border-bottom: 1px solid #dfe4e8;
}

.ps-ledger p {
  flex: 1 1 180px;
  margin: 0;
  padding: 15px 18px 15px 0;
}

.ps-ledger p + p {
  padding-left: 18px;
  border-left: 1px solid #dfe4e8;
}

.ps-ledger span,
.ps-ledger strong {
  display: block;
}

.ps-ledger span {
  color: #68737d;
  font-size: 13px;
}

.ps-ledger strong {
  margin-top: 3px;
  color: #26323a;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.ps-controls {
  margin: 0 0 38px;
  padding: 28px 0 0;
}

.ps-control-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.ps-control {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(250px, 1.4fr) minmax(200px, 1fr);
  align-items: center;
  column-gap: 28px;
  padding: 16px 0;
}

.ps-control > span {
  margin: 0;
}

.ps-control > input,
.ps-control > select {
  margin: 0;
}

.ps-control small {
  margin: 0;
}

.ps-control output {
  float: right;
  color: #14844c;
}

.ps-figure {
  margin: 0 0 44px;
}

@media (max-width: 760px) {
  .ps-mandate h2 { font-size: 26px; }
  .ps-ledger p { flex-basis: 45%; }
  .ps-ledger p:nth-child(3) { border-left: 0; }
  .ps-control { grid-template-columns: 1fr; row-gap: 9px; }
  .ps-control small { margin-top: 0; }
}

.up-politics {
  margin-top: 32px;
}

.up-sim-hero {
  padding-bottom: 18px;
}

.up-sim-section {
  border-top: 0;
}

.up-back-link {
  color: #14844c;
  font-weight: 700;
  text-decoration: none;
}

.up-politics h2,
.up-copy h2.up-tier-two {
  margin: 34px 0 12px;
  font-size: clamp(22px, 2.7vw, 31px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.up-cost-detail {
  margin-top: 36px;
}

.up-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 10px 0 0;
  color: #59636d;
  font-size: 13px;
}

.up-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.up-chart-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 1px;
}

.up-chart-legend .legend-blue {
  background: #1182ff;
}

.up-chart-legend .legend-green {
  background: #2ca156;
}

.up-growth-figure .up-chart-legend {
  justify-content: center;
  margin-top: 6px;
}

.up-game {
  margin-top: 28px;
}

.up-game-intro {
  max-width: 760px;
}

.up-game-intro h2 {
  margin: 0 0 10px;
}

.up-game-intro p {
  font-size: 16px;
  line-height: 1.55;
}

.up-game-scores {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.up-game-scores div {
  padding-top: 9px;
  border-top: 4px solid #eb5555;
}

.up-game-scores div:nth-child(2) {
  border-color: #1182ff;
}

.up-game-scores div:nth-child(3) {
  border-color: #f7ac2f;
}

.up-game-scores div:nth-child(4) {
  border-color: #2ca156;
}

.up-game-scores strong {
  display: block;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.up-game-scores span {
  display: block;
  color: #68737d;
  font-size: 12px;
  line-height: 1.3;
}

.up-game-scores em {
  font-style: normal;
}

.up-game-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.up-game-controls button {
  min-height: 68px;
  padding: 10px;
  border: 1px solid #d4dce0;
  border-radius: 5px;
  background: #fff;
  color: #26323a;
  cursor: pointer;
  text-align: left;
}

.up-game-controls button.is-active {
  border-color: #14844c;
  box-shadow: inset 0 0 0 1px #14844c;
}

.up-game-controls b {
  display: block;
  font-size: 14px;
}

.up-game-controls span {
  display: block;
  margin-top: 3px;
  color: #68737d;
  font-size: 12px;
  line-height: 1.3;
}

.up-game-transition {
  display: grid;
  gap: 7px;
  max-width: 520px;
  margin: 18px 0;
  color: #26323a;
  font-size: 14px;
  font-weight: 700;
}

.up-game-transition select {
  padding: 9px;
  border: 1px solid #cfd6da;
  border-radius: 3px;
  background: #fff;
  font: inherit;
}

.up-game-transition small {
  color: #68737d;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.up-game-status {
  margin: 18px 0 0;
  padding-top: 15px;
  border-top: 1px solid #dfe4e8;
  color: #46525b;
  font-size: 15px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .up-story {
    padding: 20px 12px 55px;
  }

  .up-hero {
    padding-bottom: 24px;
  }

  .up-hero h1 {
    margin-top: 62px;
    font-size: 47px;
  }

  .up-lab-link {
    padding: 7px 9px;
    font-size: 12px;
  }

  .up-numbers {
    grid-template-columns: 1fr;
  }

  .up-numbers p {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
  }

  .up-numbers span {
    margin: 0;
  }

  .up-system-compare,
  .up-examples {
    grid-template-columns: 1fr;
  }

  .up-system-compare {
    gap: 24px;
  }

  .up-system-compare > div + div {
    padding: 24px 0 0;
    border-top: 1px solid #dfe4e8;
    border-left: 0;
  }

  .up-section {
    padding: 35px 0 45px;
  }

  .up-figure {
    padding: 14px;
  }

  .up-figure figcaption {
    display: block;
    padding-right: 88px;
  }

  .up-figure figcaption span {
    display: block;
    margin-top: 4px;
  }

  .up-export {
    padding: 5px 6px;
    font-size: 11px;
  }

  .up-game-scores {
    grid-template-columns: repeat(2, 1fr);
  }

  .up-game-scores strong {
    font-size: 22px;
  }

  .up-game-controls {
    grid-template-columns: repeat(2, 1fr);
  }

  .up-game-controls button {
    min-height: 78px;
  }

  .ps-score,
  .ps-control-grid,
  .ps-macro {
    grid-template-columns: 1fr;
  }

  .ps-score p {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
  }

  .ps-score span {
    margin: 0;
  }

  .ps-macro {
    gap: 18px;
  }

  .up-story .subscribe-btn {
    display: inline-flex;
    width: auto;
    text-align: center;
  }
}
