:root {
  --n50-border: #e7e7e7;
  --n50-text-sub: #666;
  --n50-surface: #fff;
  --n50-soft: #f7f7f7;
  --n50-radius: 18px;
  --n50-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.n50-card-list,
.n50-race-shell {
  display: grid;
  gap: 20px;
}

.n50-card,
.n50-hero-card,
.n50-section-card,
.n50-cta-card {
  background: var(--n50-surface);
  border: 1px solid var(--n50-border);
  border-radius: var(--n50-radius);
  box-shadow: var(--n50-shadow);
  padding: clamp(18px, 3vw, 30px);
}

.n50-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--n50-text-sub);
  margin-bottom: 8px;
}

.n50-date,
.n50-disclosure {
  color: var(--n50-text-sub);
  font-size: .88rem;
}

.n50-title {
  margin: 4px 0 18px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.35;
}

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

.n50-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.n50-kpi-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.n50-kpi-grid > div,
.n50-plan-grid > div,
.n50-hero-main > div {
  background: var(--n50-soft);
  border-radius: 14px;
  padding: 14px;
}

.n50-kpi-grid span,
.n50-plan-grid span,
.n50-hero-main span,
.n50-cta-card span,
.n50-keypoint span {
  display: block;
  color: var(--n50-text-sub);
  font-size: .8rem;
  margin-bottom: 4px;
}

.n50-kpi-grid strong,
.n50-plan-grid strong,
.n50-hero-main strong,
.n50-keypoint strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.25;
}

.n50-kpi-main {
  grid-column: span 1;
}

.n50-hero-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.n50-hero-main strong {
  font-size: clamp(1.8rem, 5vw, 3.3rem);
}

.n50-summary {
  margin: 18px 0 0;
  line-height: 1.8;
}

.n50-section-card h2 {
  margin-top: 0;
}

.n50-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.n50-riders {
  display: grid;
  gap: 10px;
}

.n50-rider {
  border-bottom: 1px solid var(--n50-border);
  padding: 10px 0;
}

.n50-rider:last-child {
  border-bottom: 0;
}

.n50-rider strong,
.n50-rider span {
  display: block;
}

.n50-rider span {
  margin-top: 4px;
  color: var(--n50-text-sub);
}

.n50-actions {
  margin-top: 18px;
}

.n50-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 700;
  background: #111;
  color: #fff !important;
}

.n50-button:hover {
  opacity: .86;
}

.n50-cta-card {
  text-align: center;
}

.n50-cta-card > strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.n50-button--cta {
  width: min(100%, 420px);
}

.n50-answer-card {
  border-style: dashed;
}

.n50-keypoint {
  margin-top: 18px;
  background: var(--n50-soft);
  border-radius: 14px;
  padding: 14px;
}

.n50-empty {
  padding: 18px;
  border: 1px solid var(--n50-border);
  border-radius: 14px;
  color: var(--n50-text-sub);
}

@media (max-width: 760px) {
  .n50-kpi-grid,
  .n50-kpi-grid--four,
  .n50-hero-main,
  .n50-plan-grid {
    grid-template-columns: 1fr 1fr;
  }

  .n50-plan-grid > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .n50-kpi-grid,
  .n50-kpi-grid--four,
  .n50-hero-main {
    grid-template-columns: 1fr;
  }
}
