/* Shared visual refinement, loaded after the existing section styles. */
:root {
  color-scheme: dark;
  --color-weak: #a0a9b3;
  --shadow-panel: 0 4px 16px rgba(0, 0, 0, 0.12);
  --color-button-shadow: rgba(245, 199, 106, 0.06);
}

body { font-size: 14px; }

:where(button, input, select, textarea) { font-family: inherit; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

.button {
  min-height: 44px;
  border-radius: 9px;
  line-height: 1.4;
  text-align: center;
}
.button:hover { transform: none; }
.button-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.025);
}
.button-secondary:hover {
  border-color: rgba(245, 199, 106, 0.5);
  background: rgba(245, 199, 106, 0.06);
}
.button:disabled { cursor: not-allowed; }

.content-main { padding-top: 40px; padding-bottom: 72px; }
.dashboard-hero { padding-top: 40px; padding-bottom: 24px; }
.page-hero h1,
.dashboard-hero-copy h1 {
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.04em;
}
.page-hero > p { max-width: 72ch; margin: 0; }
.page-hero .eyebrow { margin: 0; }
.page-section h2,
.page-card h2 { font-weight: 600; }

.page-section,
.page-card,
.table-wrap,
.dashboard-section-accordion,
.dashboard-overview,
.player-directory-tools {
  background: linear-gradient(160deg, #191e24, #15191e);
}
.info-card,
.leaderboard-row,
.player-card { box-shadow: none; }

.dashboard-overview-card::after { display: none; }
.dashboard-overview-card > span { font-weight: 600; letter-spacing: .04em; }
.dashboard-overview-card > strong { font-weight: 600; }

.hero { min-height: 0; gap: 36px; padding-top: 52px; padding-bottom: 48px; }
.hero h1 { font-size: clamp(36px, 4.6vw, 60px); font-weight: 600; line-height: 1.12; }
.hero-art { height: 420px; }
.hero-actions { flex-wrap: wrap; gap: 10px; }
.lead { font-size: 15px; line-height: 1.8; }
.home-news-callout { margin-top: 0; margin-bottom: 36px; }
.home-news-callout h2 { font-weight: 600; }

.news-hero {
  grid-template-columns: minmax(0, 1fr);
  padding: 0 0 8px;
  border: 0;
  background: none;
  box-shadow: none;
}
.news-hero-count { display: none; }
.news-archive-heading { padding-bottom: 8px; }

/* Home: editorial introduction and a numbered invitation journey. */
.home-values {
  padding-block: clamp(32px, 5vw, 64px);
}
.home-section-heading { max-width: 620px; }
.home-section-heading .eyebrow {
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: .14em;
}
.home-section-heading h2 {
  margin: 0;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.home-section-heading > p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.8;
}
.home-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.home-values-grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 22px 22px;
  border: 1px solid var(--color-border-soft);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(34, 40, 47, .5), rgba(21, 25, 30, .3));
}
.home-value-icon { display: block; color: var(--color-gold); margin-bottom: 24px; }
.home-value-icon svg { display: block; width: 26px; height: 26px; }
.home-values-grid h3,
.home-journey-list h3 { margin: 0 0 10px; font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: -.025em; }
.home-values-grid p,
.home-journey-list p { margin: 0; color: var(--color-muted); font-size: 13px; line-height: 1.8; }
.home-value-note {
  margin-top: auto;
  padding-top: 26px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--color-weak);
}
.home-journey {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 100px);
  padding-block: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--color-border-soft);
  scroll-margin-top: 100px;
}
.home-journey .home-section-heading { max-width: 390px; }
.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-block: 10px;
  color: var(--color-gold);
  font-size: 13px;
}
.home-text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.home-journey-list { margin: 0; padding: 0; list-style: none; }
.home-journey-list li {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 30px;
}
.home-journey-list li:last-child { padding-bottom: 0; }
.home-journey-list li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 46px;
  bottom: 6px;
  left: 21px;
  width: 1px;
  background: linear-gradient(rgba(245, 199, 106, .25), var(--color-border-soft));
}
.home-step-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245, 199, 106, .2);
  border-radius: 12px;
  background: rgba(245, 199, 106, .04);
  color: var(--color-gold);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.home-journey-list h3 { margin-top: 2px; margin-bottom: 5px; }

@media (max-width: 1220px) {
  .home-values, .home-journey { margin-inline: 22px; }
}
@media (max-width: 900px) {
  .home-values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .home-values, .home-journey { margin-inline: 20px; }
  .home-values-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .home-values-grid article { padding: 22px; }
  .home-value-icon { margin-bottom: 18px; }
  .home-value-note { padding-top: 18px; }
  .home-journey { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .home-journey-list li { gap: 16px; }
}

@media (max-width: 1020px) {
  .content-main { padding-top: 28px; padding-bottom: 48px; }
  .dashboard-hero { padding-top: 28px; padding-bottom: 24px; }
}

@media (max-width: 600px) {
  .hero { padding-top: 32px; padding-bottom: 32px; gap: 24px; }
  .hero-art { height: 280px; }
  .page-section, .page-card, .table-wrap { padding: 20px; }
  .home-news-callout { margin: 0 20px 28px; }
  .site-header nav a, .menu-button { font-size: 12px; }
  main input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="hidden"]),
  main select, main textarea { font-size: 16px; }
}
