:root {
  --nf-blue: #0021a5;
  --nf-orange: #fa4616;
  --nf-ink: #172033;
  --nf-muted: #5d6678;
  --nf-surface: #ffffff;
  --nf-soft: #f4f6fa;
  --nf-line: #dfe4ec;
  --nf-success: #146c43;
  --nf-shadow: 0 12px 35px rgba(23, 32, 51, 0.10);
  --nf-radius: 18px;
}

main.content {
  max-width: none;
  padding: 0;
}

.nf-hero,
.nf-section,
.nf-method-note {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.nf-hero {
  margin-top: 24px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(0, 33, 165, 0.98), rgba(0, 58, 145, 0.92)),
    radial-gradient(circle at top right, rgba(250, 70, 22, 0.55), transparent 42%);
  color: #ffffff;
  box-shadow: var(--nf-shadow);
}

.nf-hero--desk {
  background:
    linear-gradient(135deg, rgba(23, 32, 51, 0.99), rgba(0, 33, 165, 0.92)),
    radial-gradient(circle at top right, rgba(250, 70, 22, 0.48), transparent 42%);
}

.nf-hero__copy {
  max-width: 780px;
}

.nf-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.nf-hero__dek {
  max-width: 780px;
  margin: 20px 0 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.nf-eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nf-orange);
}

.nf-hero .nf-eyebrow {
  color: #ffbd9f;
}

.nf-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.nf-summary-strip > div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
}

.nf-summary-strip span,
.nf-summary-strip strong {
  display: block;
}

.nf-summary-strip span {
  margin-bottom: 4px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.66);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nf-summary-strip strong {
  font-size: 1rem;
  color: #ffffff;
}

.nf-section {
  margin-top: 28px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--nf-line);
  border-radius: var(--nf-radius);
  background: var(--nf-surface);
  box-shadow: 0 8px 26px rgba(23, 32, 51, 0.06);
}

.nf-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.nf-section-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  letter-spacing: -0.025em;
}

.nf-section-description {
  max-width: 780px;
  margin: 10px 0 0;
  color: var(--nf-muted);
  line-height: 1.6;
}

.nf-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.nf-story-card {
  position: relative;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--nf-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f9fafc);
  overflow: hidden;
}

.nf-story-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  content: "";
  background: linear-gradient(var(--nf-blue), var(--nf-orange));
}

.nf-story-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nf-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e8edff;
  color: var(--nf-blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nf-story-card__player {
  color: var(--nf-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.nf-story-card h3 {
  margin: 20px 0 10px;
  font-size: 1.28rem;
  line-height: 1.25;
}

.nf-story-card__summary {
  margin: 0;
  color: var(--nf-muted);
  line-height: 1.6;
}

.nf-story-card__support {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--nf-line);
  color: var(--nf-ink);
  font-size: 0.9rem;
  line-height: 1.5;
}

.nf-story-card__boundary {
  margin: auto 0 0;
  padding-top: 18px;
  color: #7a8291;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nf-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.nf-chart-card {
  margin: 0;
  border: 1px solid var(--nf-line);
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
}

.nf-chart-card img {
  display: block;
  width: 100%;
  height: auto;
  background: #ffffff;
}

.nf-chart-card figcaption {
  display: grid;
  gap: 5px;
  padding: 16px 18px 18px;
}

.nf-chart-card figcaption span {
  color: var(--nf-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.nf-leaderboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.nf-leaderboard-card {
  padding: 20px;
  border: 1px solid var(--nf-line);
  border-radius: 15px;
  background: var(--nf-soft);
}

.nf-leaderboard-card h3 {
  margin: 0 0 14px;
  color: var(--nf-blue);
  font-size: 1rem;
}

.nf-leaderboard-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nf-leaderboard-list li {
  display: grid;
  grid-template-columns: 24px 1fr auto auto;
  gap: 7px;
  align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
  font-size: 0.86rem;
}

.nf-leaderboard-list__rank,
.nf-leaderboard-list__season {
  color: var(--nf-muted);
}

.nf-leaderboard-list__name {
  font-weight: 700;
}

.nf-leaderboard-list__value {
  font-weight: 800;
  color: var(--nf-orange);
}

.nf-empty {
  padding: 24px;
  border: 1px dashed #bdc6d5;
  border-radius: 14px;
  background: var(--nf-soft);
  color: var(--nf-muted);
}

.nf-empty p {
  margin: 0;
}

.nf-method-note {
  margin-top: 28px;
  margin-bottom: 42px;
  padding: 22px 26px;
  border-left: 5px solid var(--nf-orange);
  border-radius: 12px;
  background: #fff3ee;
}

.nf-method-note p {
  margin: 6px 0 0;
  color: #5c4b43;
}

.nf-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--nf-line);
  border-radius: 14px;
}

.nf-desk-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.nf-desk-table th {
  position: sticky;
  top: 0;
  padding: 11px 12px;
  background: var(--nf-ink);
  color: #ffffff;
  text-align: left;
  white-space: nowrap;
}

.nf-desk-table td {
  max-width: 420px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--nf-line);
  vertical-align: top;
  line-height: 1.45;
}

.nf-desk-table tbody tr:nth-child(even) {
  background: var(--nf-soft);
}

@media (max-width: 900px) {
  .nf-summary-strip,
  .nf-leaderboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nf-story-grid,
  .nf-chart-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .nf-hero,
  .nf-section,
  .nf-method-note {
    width: min(100% - 18px, 1180px);
  }

  .nf-summary-strip,
  .nf-leaderboard-grid {
    grid-template-columns: 1fr;
  }

  .nf-hero,
  .nf-section {
    border-radius: 16px;
  }

  .nf-story-card {
    min-height: 0;
  }
}

.nf-hero {
  display: grid;
  grid-template-columns:
    minmax(0, 1.25fr)
    minmax(300px, 0.75fr);
  gap: 1.5rem;
  align-items: stretch;

  width: min(100%, 1180px);
  margin: 1.5rem auto 2rem;
  padding: 2rem;

  border: 1px solid var(--wruf-border);
  border-radius: 24px;

  background:
    linear-gradient(
      135deg,
      #123b73 0%,
      #274f86 55%,
      #f04b23 100%
    );

  box-shadow: var(--wruf-shadow);
}

.nf-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0.5rem;
  color: #ffffff;
}

.nf-hero__copy .nf-eyebrow {
  margin: 0 0 0.65rem;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nf-hero__copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.nf-hero__dek {
  max-width: 650px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.65;
}

.nf-hero .nf-summary-strip {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.nf-hero .nf-summary-strip > div {
  min-width: 0;
  padding: 0.9rem;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;

  background: rgba(255, 255, 255, 0.1);
}

.nf-hero .nf-summary-strip span {
  display: block;
  margin-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.nf-hero .nf-summary-strip strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.25;
}

@media (max-width: 800px) {
  .nf-hero {
    grid-template-columns: 1fr;
    padding: 1.35rem;
  }
}

@media (max-width: 520px) {
  .nf-hero .nf-summary-strip {
    grid-template-columns: 1fr;
  }
}

.nf-hero {
  display: grid;
  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(340px, 0.75fr);
  gap: 2rem;
  align-items: center;

  width: min(100%, 1135px);
  min-height: 0;
  margin: 1.5rem auto 2rem;
  padding: 2rem 2.6rem;

  border: 1px solid var(--wruf-border);
  border-radius: 24px;

  background:
    linear-gradient(
      135deg,
      #123b73 0%,
      #274f86 55%,
      #f04b23 100%
    );

  box-shadow: var(--wruf-shadow);
}

.nf-hero__copy {
  min-width: 0;
  padding: 0;
  color: #ffffff;
}

.nf-hero__copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1;
}

.nf-hero__dek {
  max-width: 650px;
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.65;
}

.nf-hero .nf-summary-strip {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  min-width: 0;
  margin: 0;
}

.nf-hero .nf-summary-strip > div {
  min-width: 0;
  padding: 0.9rem 1rem;

  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 13px;

  background: rgba(255, 255, 255, 0.12);
}

.nf-hero .nf-summary-strip span {
  display: block;
  margin-bottom: 0.3rem;

  color: rgba(255, 255, 255, 0.82);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nf-hero .nf-summary-strip strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.25;
}

@media (max-width: 800px) {
  .nf-hero {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.4rem;
  }
}

@media (max-width: 520px) {
  .nf-hero .nf-summary-strip {
    grid-template-columns: 1fr 1fr;
  }
}

.nf-story-card__context {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(15, 35, 64, 0.08);
}

.nf-story-card__context span {
  padding: 0.28rem 0.52rem;
  color: var(--wruf-blue);
  background: rgba(0, 33, 165, 0.07);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
}
