:root {
  --ink: #18201a;
  --muted: #4f5b50;
  --paper: #f7f5f0;
  --line: #d9ddd6;
  --green: #27614a;
  --green-dark: #1f4f3c;
  --orange: #c64f00;
  --gold: #ffb347;
  --rust: #bb4f0b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(8, 24, 18, 0.86) 0%,
    rgba(8, 24, 18, 0.7) 42%,
    rgba(8, 24, 18, 0.28) 76%,
    rgba(8, 24, 18, 0.08) 100%
  );
}

.hero-content {
  display: flex;
  min-height: 88vh;
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 56px;
  flex-direction: column;
  justify-content: space-between;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: white;
}

.brand,
.header-button,
.primary-button,
.secondary-button {
  text-decoration: none;
  font-weight: 700;
}

.brand {
  font-size: 16px;
}

.header-button,
.secondary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  padding: 12px 20px;
  color: white;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.header-button:hover,
.secondary-button:hover {
  border-color: white;
  background: white;
  color: var(--ink);
}

.hero-grid {
  display: grid;
  align-items: end;
  gap: 48px;
  padding: 80px 0 32px;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.55fr);
}

.hero-copy {
  max-width: 760px;
  color: white;
}

.eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.orange {
  color: var(--gold);
}

.green {
  color: var(--green);
}

.rust {
  color: var(--rust);
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.02;
  font-weight: 750;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.6;
}

.hero-near-me-list {
  display: grid;
  gap: 6px;
  max-width: 680px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
}

.hero-near-me-list a {
  color: white;
  font-weight: 800;
  text-decoration: none;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
  transition: color 160ms ease;
}

.hero-near-me-list a:hover,
.hero-near-me-list a:focus-visible {
  color: var(--gold);
}

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

.primary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--orange);
  padding: 12px 24px;
  color: white;
  transition: background 160ms ease;
}

.primary-button:hover {
  background: #a84100;
}

.panel-button {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--green);
  padding: 12px 16px;
  color: white;
  font-weight: 750;
  text-decoration: none;
  transition: background 160ms ease;
}

.panel-button:hover {
  background: var(--green-dark);
}

.signup-panel {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 20px;
  color: var(--ink);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
}

.signup-panel h2 {
  margin: 12px 0 10px;
  font-size: 28px;
  line-height: 1.15;
}

.signup-panel p {
  color: #4a554c;
  font-size: 14px;
  line-height: 1.7;
}

form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #c8cfc5;
  border-radius: 6px;
  background: white;
  padding: 0 12px;
  color: var(--ink);
  font-size: 16px;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(39, 97, 74, 0.18);
}

form button {
  min-height: 44px;
  margin-top: 8px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  padding: 12px 16px;
  color: white;
  font-weight: 750;
  cursor: pointer;
}

form button:hover {
  background: var(--green-dark);
}

.status-strip {
  display: grid;
  max-width: 1280px;
  margin: 0 auto;
  gap: 20px;
  padding: 48px 56px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.status-strip article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  padding: 24px;
}

.status-strip h2 {
  margin-bottom: 12px;
  font-size: 20px;
}

.status-strip p,
.story-copy p {
  margin-bottom: 0;
  color: #596257;
  font-size: 15px;
  line-height: 1.7;
}

.story {
  display: grid;
  max-width: 1280px;
  margin: 0 auto;
  gap: 40px;
  padding: 56px;
  grid-template-columns: 0.85fr 1fr;
}

.story h2 {
  margin: 12px 0 0;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.15;
}

.story-copy {
  display: grid;
  gap: 20px;
}

.story-copy a {
  color: var(--green);
  font-weight: 750;
  text-underline-offset: 4px;
}

.race-search {
  border-y: 1px solid #ded8cc;
  background: #edf4ec;
  padding: 56px;
}

.race-search-grid {
  display: grid;
  max-width: 1280px;
  margin: 0 auto;
  gap: 32px;
  grid-template-columns: 320px minmax(0, 1fr);
}

.race-search h2 {
  margin: 12px 0 0;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.15;
}

.race-search p {
  max-width: 580px;
  margin: 16px 0 0;
  color: #4f5b50;
  font-size: 16px;
  line-height: 1.7;
}

.search-card {
  border: 1px solid #c9d8c8;
  border-radius: 8px;
  background: white;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(24, 32, 26, 0.06);
}

.race-results {
  display: grid;
  align-content: start;
  gap: 16px;
}

.race-results[hidden],
.race-map-panel[hidden],
.seo-results-head[hidden] {
  display: none !important;
}

.notice,
.race-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 20px;
  color: #4f5b50;
  box-shadow: 0 10px 24px rgba(24, 32, 26, 0.05);
}

.race-card.featured-race {
  border-color: #a8bdd5;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  box-shadow: 0 14px 30px rgba(0, 51, 102, 0.12);
}

.featured-race-ad {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-align: center;
}

.bottom-page-ad {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px 56px;
}

.featured-label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 10px;
  border-radius: 999px;
  background: #e8f0f8;
  padding: 5px 9px;
  color: #003366;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.notice.error {
  border-color: #e7b9a1;
  color: #8b3511;
}

.nearby-notice {
  border-color: #c9d8c8;
  background: #f8fbf6;
  color: var(--green);
  font-weight: 750;
}

.load-more-button {
  min-height: 48px;
  border: 1px solid #b9cdb7;
  border-radius: 6px;
  background: white;
  color: var(--green);
  cursor: pointer;
  font-weight: 800;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.load-more-button:hover,
.load-more-button:focus-visible {
  border-color: var(--green);
  background: #f6fbf4;
  color: var(--green-dark);
}

.load-more-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.race-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.race-card-head p {
  margin: 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 750;
}

.race-card-body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.race-logo {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  object-fit: contain;
  padding: 4px;
}

.race-provider-logo {
  display: inline-grid;
  place-items: center;
  color: var(--orange);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.race-card-content {
  min-width: 0;
  flex: 1;
}

.race-card h3 {
  margin: 6px 0 0;
  font-size: 20px;
  line-height: 1.25;
}

.race-title-link {
  text-decoration: none;
  text-underline-offset: 3px;
}

.race-title-link:hover,
.race-title-link:focus-visible {
  color: var(--green);
  text-decoration: underline;
}

.pill {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #e6f3ea;
  padding: 6px 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.race-card .race-details {
  max-width: none;
  margin: 14px 0 0;
  color: #596257;
  font-size: 14px;
}

.race-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 16px;
  border-radius: 6px;
  background: var(--orange);
  padding: 9px 16px;
  color: white;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: background 160ms ease;
}

.race-link:hover {
  background: #a84100;
}

.provider-icon {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 5px;
  background: white;
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.provider-runsignup {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.provider-usroadrunning {
  color: #003366;
  box-shadow: inset 0 0 0 1px rgba(0, 51, 102, 0.16);
}

.provider-active {
  color: #0068a8;
  box-shadow: inset 0 0 0 1px rgba(0, 104, 168, 0.16);
}

.provider-raceroster {
  color: #0f6f5c;
  box-shadow: inset 0 0 0 1px rgba(15, 111, 92, 0.18);
}

.provider-eventbrite {
  color: #f05537;
  box-shadow: inset 0 0 0 1px rgba(240, 85, 55, 0.18);
}

.provider-source {
  color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(39, 97, 74, 0.16);
}

.sidebar-card-stack {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.home-sidebar-card-stack {
  margin-top: 0;
}

.sidebar-card-stack .seo-panel,
.state-counts {
  margin: 0;
}

.state-count-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.state-counts h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.state-total {
  display: block;
  margin: 8px 0 0;
  color: #596257;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.5;
  text-align: left;
}

.state-count-grid {
  display: grid;
  gap: 10px;
  margin-top: 0;
  grid-template-columns: 1fr;
}

.collapsible-card-toggle {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.collapsible-card-toggle:focus-visible {
  border-radius: 6px;
  outline: 2px solid rgba(39, 97, 74, 0.3);
  outline-offset: 4px;
}

.collapsible-title {
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.collapsible-meta {
  display: block;
  margin-top: 8px;
  color: #596257;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.5;
}

.collapsible-icon {
  position: relative;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border: 1px solid #d7ded2;
  border-radius: 999px;
  background: #f6fbf4;
}

.collapsible-icon::before,
.collapsible-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
  content: "";
  transform: translate(-50%, -50%);
}

.collapsible-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity 160ms ease;
}

.collapsible-card-toggle[aria-expanded="true"] .collapsible-icon::after {
  opacity: 0;
}

.collapsible-card-body {
  margin-top: 14px;
}

.collapsible-card-body[hidden] {
  display: none;
}

.state-count-button {
  appearance: none;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #d7ded2;
  border-radius: 6px;
  background: white;
  padding: 9px 10px;
  color: var(--green);
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  text-align: left;
  text-decoration: none;
  font-weight: 800;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.state-count-button:hover,
.state-count-button:focus-visible {
  border-color: #b9cdb7;
  background: #f6fbf4;
  color: var(--green-dark);
  transform: translateY(-1px);
}

.state-count-button:focus-visible {
  outline: 2px solid rgba(39, 97, 74, 0.3);
  outline-offset: 2px;
}

.state-count-button strong,
.state-count-button span {
  color: inherit;
  font-weight: 800;
}

.state-count-button strong {
  white-space: nowrap;
}

.seo-links {
  border-top: 1px solid #ded8cc;
  background: #fff;
  padding: 52px 56px;
}

.seo-links-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.seo-links h2 {
  margin: 12px 0 0;
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.15;
}

.seo-links p {
  max-width: 760px;
  margin: 14px 0 0;
  color: #596257;
  font-size: 16px;
  line-height: 1.7;
}

.seo-link-groups {
  display: grid;
  gap: 24px;
  margin-top: 28px;
  grid-template-columns: minmax(0, 1fr);
}

.seo-link-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  padding: 20px;
}

.seo-link-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.seo-link-grid,
.seo-state-grid,
.seo-side-links,
.seo-state-list {
  display: grid;
  gap: 10px;
}

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

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

.seo-link-grid a,
.seo-state-grid a,
.seo-side-links a,
.seo-state-list a {
  border: 1px solid #d7ded2;
  border-radius: 6px;
  background: white;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.seo-link-grid a,
.seo-state-grid a {
  padding: 10px 12px;
}

.seo-link-grid a:hover,
.seo-state-grid a:hover,
.seo-side-links a:hover,
.seo-state-list a:hover {
  border-color: #b9cdb7;
  background: #f6fbf4;
  color: var(--green-dark);
  transform: translateY(-1px);
}

.seo-hero {
  background:
    linear-gradient(90deg, rgba(8, 24, 18, 0.9), rgba(8, 24, 18, 0.58)),
    url("/assets/hero-race-start-optimized.jpg") center / cover;
  color: white;
}

.seo-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 56px 72px;
}

.seo-header {
  margin-bottom: 86px;
}

.seo-hero h1 {
  max-width: 900px;
  margin: 16px 0 0;
}

.seo-page-layout {
  display: grid;
  max-width: 1280px;
  margin: 0 auto;
  gap: 32px;
  padding: 48px 56px 64px;
  grid-template-columns: 320px minmax(0, 1fr);
}

.seo-sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
}

.seo-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(24, 32, 26, 0.05);
}

.seo-panel h2 {
  margin: 0;
  font-size: 20px;
}

.seo-panel p {
  margin: 8px 0 0;
  color: #596257;
  font-size: 14px;
  line-height: 1.6;
}

.seo-side-links {
  margin-top: 14px;
}

.seo-side-links a {
  padding: 10px 12px;
}

.seo-state-list {
  margin-top: 14px;
}

.seo-state-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 10px;
}

.seo-results {
  min-width: 0;
}

.seo-search-panel {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(24, 32, 26, 0.05);
}

.seo-search-panel h2 {
  margin: 8px 0 0;
  font-size: clamp(24px, 2.8vw, 34px);
}

.seo-search-panel p:not(.eyebrow) {
  max-width: 680px;
  margin: 10px 0 0;
  color: #596257;
  font-size: 15px;
  line-height: 1.6;
}

.seo-search-card {
  align-items: end;
  grid-template-columns: minmax(220px, 1fr) minmax(170px, 220px) auto;
}

.home-search-card {
  grid-template-columns: minmax(210px, 1fr) minmax(140px, 0.45fr) minmax(160px, 0.55fr) auto;
}

.seo-search-card button {
  margin-top: 0;
  white-space: nowrap;
}

.seo-results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.seo-results-head h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 3vw, 38px);
}

.seo-results-head p {
  margin: 0;
  color: #596257;
  font-size: 14px;
  font-weight: 750;
}

.seo-more-note {
  margin: 18px 0 0;
  color: #596257;
  font-size: 14px;
  line-height: 1.6;
}

.seo-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.seo-pagination a,
.seo-pagination span {
  display: inline-grid;
  min-width: 42px;
  min-height: 42px;
  place-items: center;
  border-radius: 6px;
  padding: 8px 11px;
  font-weight: 800;
}

.seo-pagination a {
  border: 1px solid #bfd3bc;
  background: white;
  color: var(--green);
  text-decoration: none;
}

.seo-pagination a:hover,
.seo-pagination a:focus-visible,
.seo-pagination a[aria-current="page"] {
  border-color: var(--green);
  background: var(--green);
  color: white;
}

.seo-pagination .pagination-direction {
  padding-inline: 16px;
}

.seo-guide {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 10px 24px rgba(24, 32, 26, 0.05);
}

.seo-guide h2 {
  margin: 10px 0 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
}

.seo-guide p:not(.eyebrow) {
  margin: 16px 0 0;
  color: #4f5b50;
  font-size: 16px;
  line-height: 1.75;
}

.seo-guide ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding-left: 22px;
  color: #4f5b50;
  line-height: 1.65;
}

.top-clicked-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 56px 64px;
}

.top-clicked-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.top-clicked-head h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 3vw, 38px);
}

.top-clicked-head p {
  margin: 0;
  color: #596257;
  font-size: 14px;
  font-weight: 750;
}

.top-clicked-card {
  position: relative;
  padding-left: 72px;
}

.top-race-rank {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 6px;
  background: var(--green);
  color: white;
  font-size: 13px;
  font-weight: 900;
}

.click-pill {
  background: #fff2e6;
  color: var(--rust);
}

.race-detail-layout {
  align-items: start;
}

.race-detail-hero h1 {
  max-width: 1040px;
  overflow-wrap: anywhere;
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1.04;
}

.race-facts h2 {
  margin-top: 8px;
}

.race-facts dl {
  display: grid;
  gap: 0;
  margin: 16px 0 0;
}

.race-facts dl div {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.race-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.race-facts dd {
  margin: 0;
  font-weight: 750;
}

.race-detail-card,
.content-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 12px 28px rgba(24, 32, 26, 0.06);
}

.race-detail-card {
  margin-bottom: 18px;
}

.race-detail-card h2,
.content-card h2 {
  margin: 10px 0 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.race-detail-card h3 {
  margin: 30px 0 0;
  font-size: 21px;
  line-height: 1.25;
}

.race-detail-card p:not(.eyebrow),
.content-card p {
  margin: 18px 0 0;
  color: #4f5b50;
  font-size: 16px;
  line-height: 1.75;
}

.race-detail-card .primary-button {
  margin-top: 24px;
}

.race-detail-logo {
  display: block;
  width: 112px;
  height: 112px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  object-fit: contain;
  padding: 8px;
}

.race-detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.race-detail-links a {
  border: 1px solid #bfd3bc;
  border-radius: 6px;
  background: white;
  padding: 10px 14px;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.race-detail-links a:hover,
.race-detail-links a:focus-visible {
  border-color: var(--green);
  background: #f6fbf4;
}

.related-race-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.related-race-list a {
  display: grid;
  gap: 5px;
  border: 1px solid #d7ded2;
  border-radius: 6px;
  background: white;
  padding: 13px 15px;
  color: var(--green);
  text-decoration: none;
}

.related-race-list a:hover,
.related-race-list a:focus-visible {
  border-color: var(--green);
  background: #f6fbf4;
}

.related-race-list span {
  color: #596257;
  font-size: 14px;
  line-height: 1.5;
}

.content-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 56px 64px;
}

.content-card h2:not(:first-child) {
  margin-top: 36px;
}

.content-card a {
  color: var(--green);
  font-weight: 750;
}

.site-footer {
  border-top: 1px solid #ded8cc;
  background: var(--paper);
  padding: 56px;
  color: var(--ink);
}

.site-footer-inner {
  display: grid;
  max-width: 1280px;
  margin: 0 auto;
  justify-items: stretch;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 32px;
  box-shadow: 0 12px 28px rgba(24, 32, 26, 0.06);
}

.footer-story {
  display: grid;
  gap: 40px;
  grid-template-columns: 0.85fr 1fr;
  border-bottom: 1px solid var(--line);
  padding: 0 0 26px;
  text-align: left;
}

.footer-story h2 {
  margin: 12px 0 0;
  font-size: clamp(30px, 3.3vw, 42px);
  line-height: 1.15;
}

.footer-story .rust {
  color: var(--rust);
}

.footer-copy {
  align-content: center;
}

.footer-copy p {
  margin: 0;
  color: #596257;
}

.footer-brand {
  color: var(--green);
  font-weight: 850;
  text-decoration: none;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #596257;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

.footer-meta p {
  margin: 0;
}

.footer-meta a {
  color: var(--green);
  font-weight: 850;
  text-decoration: none;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--orange);
}

.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.site-footer nav a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid #bfd3bc;
  border-radius: 6px;
  background: #f7faf4;
  padding: 12px 24px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.site-footer nav a:first-child {
  border-color: var(--orange);
  background: var(--orange);
  color: white;
}

.site-footer nav a[aria-current="page"] {
  border-color: var(--green);
  background: #eaf3e8;
  color: var(--green-dark);
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  border-color: var(--orange);
  background: var(--orange);
  color: white;
}

@media (max-width: 900px) {
  .seo-hero {
    background-image:
      linear-gradient(90deg, rgba(8, 24, 18, 0.9), rgba(8, 24, 18, 0.58)),
      url("/assets/hero-race-start-mobile.jpg");
  }

  .bottom-page-ad {
    padding: 0 24px 40px;
  }

  .hero-content,
  .status-strip,
  .race-search,
  .story,
  .seo-links,
  .seo-hero-inner,
  .seo-page-layout,
  .top-clicked-page,
  .content-page,
  .site-footer-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-grid,
  .race-search-grid,
  .story,
  .status-strip,
  .seo-link-groups,
  .seo-page-layout,
  .footer-story {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 64px;
  }

  .header-button {
    display: none;
  }

  .seo-header {
    margin-bottom: 60px;
  }

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

  .seo-results-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-clicked-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: center;
  }

  .site-footer {
    padding: 40px 24px;
  }

  .seo-search-card {
    grid-template-columns: 1fr;
  }

  .seo-search-card button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .bottom-page-ad {
    padding: 0 18px 32px;
  }

  .state-count-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .state-total {
    text-align: left;
  }

  .hero-content {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .lead {
    font-size: 18px;
  }

  .actions a {
    width: 100%;
  }

  .state-count-grid {
    grid-template-columns: 1fr;
  }

  .race-card-body {
    gap: 12px;
  }

  .race-logo {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  .top-clicked-card {
    padding-left: 20px;
    padding-top: 68px;
  }

  .site-footer {
    padding: 32px 18px;
  }

  .site-footer-inner {
    padding: 22px;
  }

  .footer-story {
    padding-bottom: 22px;
  }

  .site-footer nav a {
    width: 100%;
  }
}

.race-details a {
  color: inherit;
  font-weight: 800;
  text-decoration-color: rgba(23, 63, 53, 0.35);
  text-underline-offset: 3px;
}

.race-details a:hover {
  color: var(--green);
  text-decoration-color: currentColor;
}

.results-head-actions {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.home-results-head {
  align-items: center;
  margin-top: 6px;
}

.home-results-head h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.home-race-map-panel {
  margin-top: 0;
}

.view-toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.view-toggle-button {
  min-height: 36px;
  padding: 6px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--green);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.view-toggle-button.is-active {
  background: var(--green);
  color: #fff;
}

.race-map-panel {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.race-map-copy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.race-map-copy h2 {
  margin: 6px 0 0;
  font-size: clamp(25px, 3vw, 36px);
}

.race-map-copy > p,
.map-disclaimer {
  margin: 0;
  color: #596257;
  font-size: 14px;
}

.race-map {
  width: 100%;
  height: min(66vh, 620px);
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #e8eee9;
}

.race-map-count-marker {
  border: 0;
  background: transparent;
}

.race-map-count-marker > span {
  display: grid;
  width: var(--race-map-marker-size);
  height: var(--race-map-marker-size);
  place-items: center;
  border: 3px solid #fff;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 5px 14px rgba(18, 42, 33, 0.32);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  transition:
    filter 140ms ease,
    transform 140ms ease;
}

.race-map-count-marker:hover > span,
.race-map-count-marker:focus > span {
  filter: brightness(1.08);
  transform: scale(1.08);
}

.race-map-count-cluster {
  background: var(--green);
}

.race-map-count-zip {
  background: var(--orange);
}

.map-popup-loading,
.map-popup-count {
  margin: 8px 0 0;
  color: #596257;
  font-size: 13px;
}

.map-popup-count {
  font-weight: 800;
}

.map-popup-races {
  display: grid;
  gap: 0;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.map-popup-races li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  line-height: 1.35;
}

.map-popup-races a {
  color: var(--green);
  text-underline-offset: 3px;
}

.map-popup-races span {
  display: block;
  margin-top: 3px;
  color: #596257;
  font-size: 12px;
}

.map-disclaimer {
  margin-top: 12px;
}

.map-disclaimer a {
  color: var(--green);
  font-weight: 800;
}

.text-action-link {
  display: inline-flex;
  margin: 24px 0 0 16px;
  color: var(--green);
  font-weight: 900;
  text-underline-offset: 4px;
}

.form-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.race-update-form-panel {
  margin: 0;
}

.race-update-form {
  display: grid;
  gap: 20px;
  margin-top: 26px;
}

.race-update-form label {
  display: grid;
  gap: 8px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.race-update-form input,
.race-update-form select,
.race-update-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #b9c4ba;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.race-update-form textarea {
  min-height: 150px;
  resize: vertical;
}

.race-update-form input:focus,
.race-update-form select:focus,
.race-update-form textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(23, 63, 53, 0.16);
  outline-offset: 1px;
}

.race-update-form button {
  min-height: 50px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.race-update-form button:hover {
  background: #a84100;
}

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

.form-grid-location {
  grid-template-columns: minmax(0, 1.5fr) minmax(130px, 0.65fr) minmax(170px, 0.85fr);
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-privacy-note {
  margin: 0;
  color: #596257;
  font-size: 13px;
}

.form-privacy-note a {
  color: var(--green);
  font-weight: 800;
}

.notice.success {
  border-color: #a7c9b4;
  background: #f1faf4;
  color: var(--green);
}

.notice h2 {
  margin: 0 0 10px;
}

.notice ul {
  margin-bottom: 0;
}

.submission-guidelines {
  align-self: start;
}

.submission-guidelines h2 {
  margin: 8px 0 0;
}

.submission-guidelines ul {
  display: grid;
  gap: 12px;
  padding-left: 20px;
}

.review-page {
  min-height: 100vh;
  background: #eef3f0;
}

.review-hero {
  padding: 0 0 58px;
  background:
    radial-gradient(circle at 85% 15%, rgba(234, 122, 34, 0.18), transparent 27%),
    linear-gradient(145deg, #102f23, #174f38);
  color: #fff;
}

.review-shell {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
}

.review-hero .site-header {
  margin-bottom: 46px;
}

.review-hero h1 {
  margin: 8px 0 12px;
  color: #fff;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1;
}

.review-hero .lead {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.review-content {
  display: grid;
  gap: 24px;
  padding: 0 0 72px;
  transform: translateY(-30px);
}

.review-card {
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.review-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.review-title-row h2,
.review-decision-form h2,
.duplicate-card h2,
.review-empty h2 {
  margin: 8px 0 0;
  color: var(--green);
  font-size: clamp(25px, 4vw, 38px);
  line-height: 1.15;
}

.review-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #e8f4ed;
  color: #0b6b45;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.status-duplicate_review,
.status-duplicate {
  background: #fff0df;
  color: #99430e;
}

.status-approved {
  background: #dff5e7;
  color: #086239;
}

.status-rejected,
.status-trash {
  background: #f4e9e7;
  color: #8a3029;
}

.review-title-row .eyebrow {
  margin-top: 22px;
}

.review-id {
  flex: 0 0 auto;
  color: #748078;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.review-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 28px 0 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.review-facts > div {
  min-width: 0;
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
}

.review-facts > div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.review-facts dt {
  margin-bottom: 5px;
  color: #6e786f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.review-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 750;
}

.review-facts a,
.duplicate-list a {
  color: var(--green);
  font-weight: 900;
  text-underline-offset: 3px;
}

.review-notes {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #f4f7f5;
}

.review-notes h3 {
  margin: 0 0 8px;
  color: var(--green);
}

.review-notes p {
  margin: 0;
  color: #4f5e55;
  line-height: 1.65;
}

.review-suggestion {
  margin-top: 22px;
  border-color: #efc59f;
  background: #fff7ed;
  color: #7c390f;
}

.duplicate-card {
  border-color: #eac9a9;
}

.duplicate-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.duplicate-list article {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.65fr);
  gap: 20px;
  padding: 17px 18px;
  border: 1px solid #eed9c4;
  border-radius: 13px;
  background: #fffaf4;
}

.duplicate-list article > div {
  display: grid;
  align-content: start;
  gap: 4px;
}

.duplicate-list article > div:last-child {
  justify-items: end;
  text-align: right;
}

.duplicate-list span {
  color: #68736b;
  font-size: 13px;
}

.duplicate-list .duplicate-reason {
  color: #90420f;
  font-weight: 800;
}

.review-decision-form {
  display: grid;
  gap: 20px;
}

.review-help {
  margin: -8px 0 4px;
  color: #596257;
}

.review-target {
  display: grid;
  gap: 4px;
  padding: 15px 17px;
  border: 1px solid #a9c7b4;
  border-radius: 12px;
  background: #f1faf4;
  color: var(--green);
}

.review-target span {
  color: #526258;
  font-size: 14px;
}

.review-decision-form label {
  display: grid;
  gap: 8px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.review-decision-form input,
.review-decision-form select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #b9c4ba;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.review-decision-form input:focus,
.review-decision-form select:focus {
  border-color: var(--green);
  outline: 3px solid rgba(23, 63, 53, 0.16);
  outline-offset: 1px;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  padding-top: 8px;
}

.review-actions button {
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.review-actions .review-approve {
  background: var(--orange);
  color: #fff;
}

.review-actions .review-secondary {
  border-color: #acc0b3;
  background: #f7faf8;
  color: var(--green);
}

.review-actions .review-trash {
  border-color: #d5b8b4;
  background: #fff;
  color: #8a3029;
}

.review-actions button:hover,
.review-actions button.suggested {
  box-shadow: 0 0 0 3px rgba(234, 122, 34, 0.2);
  transform: translateY(-1px);
}

.review-safety {
  margin: -5px 0 0;
  color: #748078;
  font-size: 12px;
}

.review-empty {
  text-align: center;
}

@media (max-width: 900px) {
  .form-page-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .results-head-actions {
    justify-items: start;
  }

  .race-map-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .race-map {
    min-height: 360px;
  }

  .form-page-layout {
    width: min(100% - 32px, 1120px);
    padding-top: 32px;
  }

  .form-grid,
  .form-grid-location {
    grid-template-columns: 1fr;
  }

  .text-action-link {
    display: block;
    margin-left: 0;
  }

  .review-shell {
    width: min(100% - 28px, 980px);
  }

  .review-title-row,
  .duplicate-list article {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .duplicate-list article > div:last-child {
    justify-items: start;
    text-align: left;
  }

  .review-facts {
    grid-template-columns: 1fr;
  }

  .review-facts > div:nth-child(odd) {
    border-right: 0;
  }

  .review-actions {
    display: grid;
  }
}

.home-value-section,
.home-method-section {
  padding: 84px 0;
}

.home-value-section {
  background: #fff;
}

.home-method-section {
  background: #e8eee8;
  border-top: 1px solid #d4ded5;
}

.home-value-inner {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.home-value-heading,
.home-method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  gap: 56px;
  align-items: start;
}

.home-value-heading h2,
.home-method-section h2 {
  max-width: 720px;
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.3vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.home-value-heading > p,
.home-method-section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.home-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.home-guide-grid article {
  min-height: 100%;
  padding: 30px;
  background: #f7f5f0;
  border: 1px solid #e0e2dc;
  border-radius: 20px;
}

.home-guide-grid h3,
.home-resource-callout h3 {
  margin: 10px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.15;
}

.home-guide-grid article > p:last-child,
.home-resource-callout p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.home-guide-number {
  margin: 0;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.home-resource-callout {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 30px;
  color: #fff;
  background: var(--green-dark);
  border-radius: 20px;
}

.home-resource-callout > div {
  max-width: 760px;
}

.home-resource-callout .eyebrow {
  color: #ffd0a8;
}

.home-resource-callout p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

.home-resource-callout .primary-button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.home-method-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: method;
}

.home-method-list li {
  position: relative;
  padding: 20px 22px 20px 60px;
  color: var(--muted);
  line-height: 1.55;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(39, 97, 74, 0.15);
  border-radius: 15px;
  counter-increment: method;
}

.home-method-list li::before {
  position: absolute;
  top: 19px;
  left: 20px;
  color: var(--orange);
  font-weight: 800;
  content: counter(method, decimal-leading-zero);
}

.home-method-list strong {
  color: var(--ink);
}

.resource-page {
  padding-top: 54px;
}

.resource-article {
  max-width: 960px;
}

.resource-article > section {
  scroll-margin-top: 24px;
}

.resource-meta {
  display: flex;
  gap: 16px 32px;
  justify-content: space-between;
  margin: -4px 0 30px;
  padding: 18px 20px;
  background: #eef3ee;
  border: 1px solid #d8e2d9;
  border-radius: 14px;
}

.resource-meta p {
  margin: 0;
  font-size: 14px;
}

.resource-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 34px;
  padding: 20px;
  background: #fff9f1;
  border: 1px solid #ead8c4;
  border-radius: 14px;
}

.resource-nav strong {
  width: 100%;
}

.resource-nav a {
  color: var(--green-dark);
  font-weight: 700;
}

.resource-intro {
  font-size: 20px;
  line-height: 1.75;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.resource-grid > div {
  padding: 22px;
  background: #f7f5f0;
  border: 1px solid #e0e2dc;
  border-radius: 14px;
}

.resource-grid h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.resource-grid p {
  margin: 0;
}

.resource-table-wrap {
  margin: 24px 0;
  overflow-x: auto;
}

.resource-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.resource-table caption {
  padding: 0 0 12px;
  font-weight: 800;
  text-align: left;
}

.resource-table th,
.resource-table td {
  padding: 15px;
  vertical-align: top;
  border: 1px solid #d9ddd6;
  text-align: left;
  line-height: 1.5;
}

.resource-table thead th {
  color: #fff;
  background: var(--green-dark);
}

.resource-table tbody th {
  color: var(--green-dark);
  background: #eef3ee;
}

.resource-checklist {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.resource-checklist li {
  position: relative;
  padding: 14px 16px 14px 48px;
  line-height: 1.6;
  background: #f7f5f0;
  border-radius: 12px;
}

.resource-checklist li::before {
  position: absolute;
  top: 14px;
  left: 17px;
  width: 20px;
  height: 20px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  line-height: 20px;
  text-align: center;
  content: "✓";
}

.resource-faq {
  margin: 10px 0;
  padding: 0 18px;
  background: #fff;
  border: 1px solid #d9ddd6;
  border-radius: 12px;
}

.resource-faq summary {
  padding: 17px 0;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.resource-faq p {
  margin-top: 0;
  padding-bottom: 16px;
}

.resource-next-step {
  padding: 28px;
  background: #eef3ee;
  border-radius: 16px;
}

.resource-next-step h2 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .home-value-heading,
  .home-method-grid,
  .home-guide-grid {
    grid-template-columns: 1fr;
  }

  .home-value-heading,
  .home-method-grid {
    gap: 24px;
  }

  .home-resource-callout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .home-value-section,
  .home-method-section {
    padding: 58px 0;
  }

  .home-value-inner {
    width: min(100% - 30px, 1180px);
  }

  .home-guide-grid article,
  .home-resource-callout {
    padding: 24px;
  }

  .resource-meta,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-meta {
    align-items: flex-start;
    flex-direction: column;
  }

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