@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800;900&family=Manrope:wght@400;600;700;800&display=swap");

:root {
  --black: #050506;
  --charcoal: #111216;
  --soft-charcoal: #1a1c21;
  --off-white: #f4f1ea;
  --white: #ffffff;
  --muted: #a8adb5;
  --ink-muted: #5f6269;
  --line: rgba(255, 255, 255, 0.14);
  --dark-line: rgba(5, 5, 6, 0.12);
  --yellow: #d2a51f;
  --radius: 18px;
  --max: 1180px;
}



* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Manrope, Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 78px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(5, 5, 6, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand-logo {
  display: inline-grid;
  grid-template-columns: auto auto;
  width: 192px;
  max-width: 192px;
  align-items: end;
  justify-content: start;
  gap: 0 8px;
  line-height: 0.82;
  text-transform: uppercase;
}

.logo-run,
.logo-this {
  font-size: 28px;
  font-weight: 1000;
  letter-spacing: -0.06em;
}

.logo-this {
  color: var(--yellow);
}

.logo-collective {
  grid-column: 1 / -1;
  margin-top: 5px;
  padding-top: 4px;
  border-top: 2px solid currentColor;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.4em;
}

.nav-links {
  display: flex;
  gap: clamp(16px, 2vw, 30px);
  color: #dbdde2;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a,
.footer-links a,
.text-link {
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--yellow);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.feature-card:hover,
.pathway:hover,
.event-preview:hover {
  transform: translateY(-3px);
}

.button-accent {
  background: var(--yellow);
  color: var(--black);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.46);
  color: var(--white);
}

.button-light {
  background: var(--white);
  color: var(--black);
}

.button.dark {
  background: var(--black);
  color: var(--white);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.46);
  color: var(--white);
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding: clamp(72px, 9vw, 128px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.94), rgba(5, 5, 6, 0.6)),
    url("https://images.unsplash.com/photo-1502224562085-639556652f33?auto=format&fit=crop&w=1900&q=82") center / cover;
}

.hero-copy {
  max-width: 840px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-family: "Barlow Condensed", Impact, Arial Narrow, sans-serif;
  font-size: clamp(62px, 12vw, 154px);
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-family: "Barlow Condensed", Impact, Arial Narrow, sans-serif;
  font-size: clamp(32px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.12;
}

.hero-copy p:not(.eyebrow),
.section-heading > p,
.join-section p,
.site-footer p {
  color: #d7d9de;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(17, 18, 22, 0.74);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(10px);
}

.hero-card-image {
  min-height: 420px;
  background:
    linear-gradient(0deg, rgba(5, 5, 6, 0.35), transparent 40%),
    url("https://images.unsplash.com/photo-1461896836934-ffe607ba8211?auto=format&fit=crop&w=1200&q=82") center / cover;
}

.hero-image-panel {
  min-height: 560px;
  border-radius: 28px;
  background:
    linear-gradient(0deg, rgba(5, 5, 6, 0.26), transparent 50%),
    url("https://images.unsplash.com/photo-1524646349956-1590eacfa324?auto=format&fit=crop&w=1000&q=82") center / cover;
  border: 1px solid var(--line);
}

.run-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.run-metrics div {
  padding: 18px;
  background: rgba(5, 5, 6, 0.9);
}

.run-metrics strong {
  display: block;
  margin-bottom: 5px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.run-metrics span {
  color: var(--muted);
  font-size: 13px;
}

.section-dark,
.section-light,
.section,
.join-section {
  padding: clamp(58px, 8vw, 112px) clamp(18px, 4vw, 56px);
}

.section-light,
.section.light {
  background: var(--off-white);
  color: var(--black);
}

.section-dark,
.community-section {
  background: var(--black);
}

.section-heading,
.section-head {
  width: min(var(--max), 100%);
  margin: 0 auto 34px;
}

.section-heading.split,
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading > p,
.section-head > p {
  max-width: 680px;
}

.section-light .section-heading > p,
.section.light .section-head > p,
.section-light .feature-card p,
.section-light .event-preview p {
  color: var(--ink-muted);
}

.pathways {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  padding: 0;
}

.pathway {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(24px, 3vw, 38px);
  background: var(--black);
  transition: transform 180ms ease, background 180ms ease;
}

.pathway:hover {
  background: var(--charcoal);
}

.pathway span,
.tag,
.event-preview span {
  display: inline-flex;
  margin-bottom: auto;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pathway h2 {
  font-size: clamp(38px, 5vw, 72px);
}

.pathway p,
.goal-card p,
.feature-card p,
.event-preview p,
.tip-card p,
.article-card p,
.gear-card p,
.shop-card p,
.mini-card p,
.tool-card p,
.chart-card p,
.card p {
  color: var(--muted);
}

.goal-grid,
.plan-overview-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

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

.plan-overview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.goal-card,
.plan-card-deep {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft-charcoal);
  color: var(--white);
  transition: transform 180ms ease, background 180ms ease;
}

.goal-card:hover,
.plan-card-deep:hover {
  transform: translateY(-3px);
  background: #22252c;
}

.goal-card span {
  margin-bottom: auto;
  color: var(--yellow);
  font-weight: 900;
}

.plan-card-deep {
  min-height: 430px;
  overflow: hidden;
  background: var(--white);
  color: var(--black);
  border-color: var(--dark-line);
}

.plan-card-deep img {
  width: calc(100% + 48px);
  height: 210px;
  margin: -24px -24px 24px;
  object-fit: cover;
  background: var(--black);
}

.plan-card-deep dl {
  display: grid;
  gap: 12px;
  margin: 8px 0 24px;
}

.plan-card-deep dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--dark-line);
}

.plan-card-deep dt {
  color: var(--ink-muted);
  font-weight: 900;
}

.plan-card-deep dd {
  margin: 0;
}

.plan-card-deep strong {
  margin-top: auto;
  color: var(--yellow);
}

.run-matcher {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 18px;
}

.matcher-form,
.matcher-result {
  display: grid;
  gap: 13px;
  padding: 24px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: var(--white);
}

.matcher-result {
  align-content: end;
  min-height: 330px;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.88), rgba(5, 5, 6, 0.42)),
    url("https://images.unsplash.com/photo-1502904550040-7534597429ae?auto=format&fit=crop&w=1200&q=82") center / cover;
  color: var(--white);
}

.matcher-result p {
  max-width: 720px;
  color: #d7d9de;
}

.matcher-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.matcher-links a {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  font-weight: 900;
}

.feature-grid,
.tips-grid,
.event-preview-grid,
.weekly-dashboard,
.blog-grid,
.event-grid,
.gear-grid,
.shop-grid,
.card-grid,
.chart-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.feature-grid.three,
.tips-grid,
.event-preview-grid,
.weekly-dashboard,
.blog-grid,
.event-grid,
.gear-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid.two,
.shop-grid,
.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.feature-card,
.tip-card,
.article-card,
.event-card,
.gear-card,
.shop-card,
.mini-card,
.tool-card,
.chart-card,
.card,
.event-preview {
  overflow: hidden;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.dark-card,
.section-dark .tip-card,
.section-dark .feature-card,
.section-dark .card,
.section-dark .mini-card {
  border-color: var(--line);
  background: var(--soft-charcoal);
  color: var(--white);
}

.image-card img,
.tip-card img,
.article-card img,
.gear-card img,
.shop-card img {
  height: 250px;
  object-fit: cover;
  filter: grayscale(8%) contrast(1.06);
}

.image-card > div,
.card-body,
.card,
.mini-card,
.tool-card,
.chart-card,
.event-preview {
  padding: 24px;
}

.compact-tips .tip-card:nth-child(n+4) {
  display: none;
}

.event-preview {
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.community-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft-charcoal);
  color: var(--white);
}

.community-card .avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-weight: 1000;
}

.community-card p {
  color: var(--muted);
}

.weekly-dashboard {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.weekly-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: var(--white);
}

.weekly-card p {
  color: var(--ink-muted);
}

.weekly-card a {
  margin-top: auto;
  color: var(--black);
  font-weight: 900;
}

.image-weekly {
  position: relative;
  padding: 0;
  color: var(--white);
}

.image-weekly img {
  height: 100%;
  object-fit: cover;
}

.image-weekly::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 62%);
}

.image-weekly div {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 22px;
}

.event-preview a,
.text-link {
  margin-top: auto;
  color: var(--yellow);
  font-weight: 900;
}

.dark-link {
  color: var(--black);
}

.gear-shop-section .section-heading {
  text-align: left;
}

.join-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 34px;
  align-items: center;
  background: var(--off-white);
  color: var(--black);
}

.join-section > div {
  width: min(720px, 100%);
  justify-self: end;
}

.join-section p {
  color: var(--ink-muted);
}

.join-form,
.newsletter-form {
  display: grid;
  gap: 12px;
}

label {
  font-weight: 900;
}

input,
select {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  border: 1px solid var(--dark-line);
  border-radius: 12px;
  background: var(--white);
  color: var(--black);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1.4fr);
  gap: 28px;
  align-items: end;
  padding: 42px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--black);
}

.site-footer > div {
  min-width: 0;
}

.site-footer .brand-logo {
  justify-self: start;
}

.site-footer p {
  max-width: 460px;
  margin: 20px 0 0;
  font-size: 15px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-weight: 800;
  justify-content: flex-end;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-weight: 800;
}

.footer-grid div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.metric {
  padding: 8px 10px;
  border-radius: 999px;
  background: #efede5;
  color: var(--black);
  font-size: 13px;
  font-weight: 900;
}

.page-hero {
  min-height: 52vh;
  display: grid;
  align-content: end;
  padding: clamp(70px, 10vw, 130px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.92), rgba(5, 5, 6, 0.5)),
    var(--hero-image, url("https://images.unsplash.com/photo-1502224562085-639556652f33?auto=format&fit=crop&w=1800&q=82")) center / cover;
}

.page-hero h1,
.page-hero p {
  width: min(860px, 100%);
}

.page-hero p:not(.eyebrow) {
  color: #d7d9de;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-training { --hero-image: url("https://images.unsplash.com/photo-1571008887538-b36bb32f4571?auto=format&fit=crop&w=1800&q=82"); }
.hero-calculator { --hero-image: url("https://images.unsplash.com/photo-1552674605-db6ffd4facb5?auto=format&fit=crop&w=1800&q=82"); }
.hero-chart { --hero-image: url("https://images.unsplash.com/photo-1552674605-db6ffd4facb5?auto=format&fit=crop&w=1200&q=82"); }
.hero-blog { --hero-image: url("https://images.unsplash.com/photo-1461896836934-ffe607ba8211?auto=format&fit=crop&w=1800&q=82"); }
.hero-events { --hero-image: url("https://images.unsplash.com/photo-1524646349956-1590eacfa324?auto=format&fit=crop&w=1800&q=82"); }
.hero-gear { --hero-image: url("https://images.unsplash.com/photo-1460353581641-37baddab0fa2?auto=format&fit=crop&w=1800&q=82"); }
.hero-music { --hero-image: url("https://images.unsplash.com/photo-1502904550040-7534597429ae?auto=format&fit=crop&w=1800&q=82"); }
.hero-shop { --hero-image: url("https://images.unsplash.com/photo-1542291026-7eec264c27ff?auto=format&fit=crop&w=1800&q=82"); }
.hero-newsletter { --hero-image: url("https://images.unsplash.com/photo-1524646349956-1590eacfa324?auto=format&fit=crop&w=1200&q=82"); }
.hero-running-world { --hero-image: url("https://images.unsplash.com/photo-1461896836934-ffe607ba8211?auto=format&fit=crop&w=1200&q=82"); }

.gear-hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.78fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(72px, 9vw, 128px) clamp(18px, 4vw, 56px);
  background:
    radial-gradient(circle at 80% 18%, rgba(210, 165, 31, 0.18), transparent 32%),
    linear-gradient(135deg, #050506, #111216 62%, #050506);
}

.gear-hero h1 {
  max-width: 780px;
}

.gear-hero p:not(.eyebrow) {
  max-width: 680px;
  color: #d7d9de;
  font-size: clamp(18px, 2vw, 24px);
}

.gear-hero-panel {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 14px;
  align-items: stretch;
}

.gear-hero-panel img {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 24px;
  object-fit: contain;
  padding: 18px;
  background: linear-gradient(145deg, #f8f7f2, #ffffff);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
}

.gear-hero-panel img:first-child {
  grid-row: span 2;
  min-height: 470px;
}

.premium-product-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.premium-product-card {
  overflow: hidden;
  display: flex;
  min-height: 610px;
  flex-direction: column;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.premium-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(5, 5, 6, 0.12);
}

.premium-product-card img {
  height: 260px;
  object-fit: contain;
  padding: 22px;
  background: linear-gradient(145deg, #f8f7f2, #ffffff);
}

.premium-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.premium-product-body h3 {
  font-size: clamp(25px, 3vw, 34px);
}

.premium-product-body p {
  color: var(--ink-muted);
}

.best-for {
  padding: 13px 14px;
  border-radius: 14px;
  background: #efede5;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
}

.product-card-footer small {
  color: var(--ink-muted);
  font-weight: 800;
}

.gear-category-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gear-category-card {
  min-height: 285px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(210, 165, 31, 0.12), transparent 48%),
    var(--soft-charcoal);
}

.gear-category-card p {
  color: var(--muted);
}

.comparison-block {
  width: min(var(--max), 100%);
  margin: 0 auto 32px;
}

.comparison-block h3 {
  margin-bottom: 14px;
  font-family: "Barlow Condensed", Impact, Arial Narrow, sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  text-transform: uppercase;
}

.comparison-table {
  min-width: 980px;
}

.comparison-table a {
  color: var(--black);
  font-weight: 900;
}

.tool-layout {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tool-card small,
.helper-text {
  display: block;
  color: var(--ink-muted);
  font-size: 14px;
}

.result-box {
  min-height: 76px;
  padding: 18px;
  border-radius: 14px;
  background: var(--black);
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
}

.structured-result {
  display: grid;
  gap: 12px;
}

.structured-result div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.structured-result div:nth-child(n+6) {
  font-size: 16px;
}

.structured-result span {
  color: var(--muted);
  font-size: 14px;
}

.structured-result p {
  margin: 4px 0 0;
  color: #d7d9de;
  font-size: 15px;
  font-weight: 500;
}

.custom-distance-group {
  display: grid;
  gap: 8px;
}

.custom-distance-group small {
  color: var(--ink-muted);
}

.plan-detail {
  padding-top: clamp(38px, 6vw, 74px);
}

.plan-layout {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.plan-summary {
  position: sticky;
  top: 100px;
  padding: 24px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: var(--white);
}

.plan-summary ul,
.plan-content ul {
  padding-left: 18px;
}

.plan-summary li,
.plan-content li {
  margin-bottom: 10px;
}

.plan-content {
  display: grid;
  gap: 22px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.plan-content h2 {
  margin: 18px 0 0;
  font-size: clamp(28px, 4vw, 48px);
}

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

.checklist-grid span {
  padding: 16px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--dark-line);
  font-weight: 800;
}

.plan-table {
  min-width: 720px;
}

.split-table-wrap {
  width: min(var(--max), 100%);
  max-height: 620px;
  margin: 0 auto;
  overflow: auto;
  border-radius: var(--radius);
  border: 1px solid var(--dark-line);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--dark-line);
  text-align: left;
}

th {
  position: sticky;
  top: 0;
  background: var(--black);
  color: var(--white);
}

.affiliate-note {
  padding: 14px;
  border-radius: 14px;
  background: #efede5;
  color: var(--ink-muted);
  font-size: 14px;
}

.affiliate-product-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.affiliate-product-group {
  padding: 24px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
}

.affiliate-product-list {
  display: grid;
  gap: 12px;
}

.affiliate-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--dark-line);
}

.affiliate-product h3 {
  margin-bottom: 6px;
}

.affiliate-product p {
  margin-bottom: 0;
  color: var(--ink-muted);
}

.buyer-grid,
.race-guide-grid,
.story-grid,
.download-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.guide-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
}

.guide-card ul {
  padding-left: 18px;
}

.guide-card li {
  margin-bottom: 8px;
  color: var(--ink-muted);
}

.disclosure-strip {
  width: min(var(--max), 100%);
  margin: 22px auto 0;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
}

.running-world-grid,
.majors-grid,
.event-calendar-grid,
.athlete-grid,
.source-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.running-world-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.majors-grid,
.event-calendar-grid,
.athlete-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.source-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.world-card,
.major-card,
.calendar-card,
.athlete-card,
.source-grid a {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  transition: transform 180ms ease, background 180ms ease;
}

.world-card:hover,
.major-card:hover,
.calendar-card:hover,
.athlete-card:hover,
.source-grid a:hover {
  transform: translateY(-3px);
}

.world-card {
  background:
    linear-gradient(135deg, rgba(210, 165, 31, 0.12), transparent 42%),
    var(--white);
}

.world-card span,
.major-card span,
.calendar-card span,
.athlete-card span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.world-card p,
.major-card p,
.calendar-card p,
.athlete-card p {
  color: var(--ink-muted);
}

.world-card h3,
.major-card h3,
.calendar-card h3,
.athlete-card h3 {
  margin-top: 18px;
}

.world-card a,
.major-card a,
.calendar-card a,
.athlete-card a {
  margin-top: auto;
  color: var(--black);
  font-weight: 900;
}

.source-grid a {
  min-height: 120px;
  justify-content: center;
  font-weight: 900;
}

.source-note {
  width: min(var(--max), 100%);
  margin: 22px auto 0;
  color: var(--ink-muted);
}

.source-note a {
  color: var(--black);
  font-weight: 900;
}

.record-section {
  padding-top: clamp(38px, 5vw, 70px);
}

.record-table {
  min-width: 1120px;
}

.record-note-card {
  width: min(var(--max), 100%);
  margin: 24px auto 0;
  padding: 24px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
}

.record-note-card p {
  color: var(--ink-muted);
}

.article-layout {
  width: min(920px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.article-layout h2 {
  margin-top: 18px;
}

.article-layout p,
.article-layout li {
  color: var(--ink-muted);
  font-size: 18px;
}

.article-layout ul,
.article-layout ol {
  padding-left: 22px;
}

.article-callout {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
}

.article-callout p {
  color: #d7d9de;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.athlete-mark {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--black);
  color: var(--yellow);
  font-size: 24px;
  font-weight: 1000;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .gear-hero,
  .join-section,
  .site-footer,
  .tool-layout {
    grid-template-columns: 1fr;
  }

  .pathways,
  .run-matcher,
  .goal-grid,
  .plan-overview-grid,
  .running-world-grid,
  .majors-grid,
  .event-calendar-grid,
  .athlete-grid,
  .source-grid,
  .feature-grid.three,
  .tips-grid,
  .event-preview-grid,
  .weekly-dashboard,
  .blog-grid,
  .event-grid,
  .gear-grid,
  .feature-grid.two,
  .shop-grid,
  .card-grid,
    .card-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .buyer-grid,
  .race-guide-grid,
  .story-grid,
  .download-grid,
  .premium-product-grid,
  .gear-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .join-section > div {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
  }

  .button-light {
    display: none;
  }

  .logo-run,
  .logo-this {
    font-size: 24px;
  }

  .logo-collective {
    font-size: 8px;
  }

  .hero {
    min-height: 82vh;
    padding-top: 86px;
  }

  .hero-card-image {
    min-height: 300px;
  }

  .run-metrics,
  .pathways,
  .run-matcher,
  .goal-grid,
  .plan-overview-grid,
  .running-world-grid,
  .majors-grid,
  .event-calendar-grid,
  .athlete-grid,
  .source-grid,
  .feature-grid.three,
  .tips-grid,
  .event-preview-grid,
  .weekly-dashboard,
  .blog-grid,
  .event-grid,
  .gear-grid,
  .feature-grid.two,
  .shop-grid,
  .card-grid,
  .card-grid.four {
    grid-template-columns: 1fr;
  }

  .buyer-grid,
  .race-guide-grid,
  .story-grid,
  .download-grid,
  .premium-product-grid,
  .gear-category-grid {
    grid-template-columns: 1fr;
  }

  .gear-hero-panel {
    grid-template-columns: 1fr;
  }

  .gear-hero-panel img,
  .gear-hero-panel img:first-child {
    min-height: 240px;
  }

  .premium-product-card {
    min-height: auto;
  }

  .product-card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .affiliate-product {
    grid-template-columns: 1fr;
  }

  .section-heading.split {
    display: block;
  }

  .compact-tips .tip-card:nth-child(n+4) {
    display: block;
  }

  .hero-image-panel {
    min-height: 320px;
  }

  .plan-layout {
    grid-template-columns: 1fr;
  }

  .plan-summary {
    position: static;
  }

  .checklist-grid,
  .plan-card-deep dl div {
    grid-template-columns: 1fr;
  }
}


