.network-page {
  background:
    radial-gradient(circle at 8% 12%, rgba(240, 180, 59, 0.18), transparent 26rem),
    linear-gradient(180deg, #f7f2e9, #eef1ed);
}

.network-page [hidden] {
  display: none !important;
}

.network-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 640px;
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.55fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: end;
  color: #fffaf1;
  background:
    linear-gradient(90deg, rgba(10, 38, 29, 0.96), rgba(10, 38, 29, 0.64)),
    url("/assets/images/bee-pollen.jpg") center / cover;
  border-bottom: 12px solid var(--amber);
}

.network-hero h1 {
  max-width: 12ch;
  margin: 0;
  font: 800 clamp(3rem, 7vw, 6.4rem) / 0.92 Georgia, "Times New Roman", serif;
}

.network-hero > div > p:not(.kicker) {
  max-width: 760px;
  margin: 1.2rem 0 0;
  color: #fff7dc;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.network-hero .button-primary {
  border-color: var(--amber);
  background: var(--amber);
  color: #10251b;
}

.network-hero-panel {
  padding: 1.2rem;
  border: 1px solid rgba(255, 250, 241, 0.3);
  border-radius: 8px;
  background: rgba(15, 61, 49, 0.84);
  box-shadow: var(--shadow);
}

.network-hero-panel span {
  color: #f7d36f;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.network-hero-panel strong {
  display: block;
  margin-top: 0.35rem;
  font: 800 clamp(1.6rem, 3vw, 2.5rem) / 1 Georgia, "Times New Roman", serif;
}

.network-hero-panel p {
  color: rgba(255, 250, 241, 0.86);
}

.network-hero-panel a,
.safety-links a,
.privacy-panel a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: inherit;
  font-weight: 900;
}

.safety-banner {
  width: min(1120px, calc(100% - 32px));
  margin: 1rem auto;
  padding: clamp(1rem, 3vw, 1.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 1rem;
  border: 2px solid #9a3d2e;
  border-left-width: 10px;
  background: #fff8e8;
}

.safety-banner h2 {
  margin: 0;
  color: #6f261c;
  font: 800 clamp(1.8rem, 4vw, 3.2rem) / 1 Georgia, "Times New Roman", serif;
}

.safety-banner p:not(.kicker) {
  margin-bottom: 0;
  color: #4b352d;
  font-weight: 720;
}

.safety-links {
  display: grid;
  align-content: center;
  gap: 0.55rem;
}

.safety-links a {
  padding: 0.7rem;
  border: 1px solid rgba(111, 38, 28, 0.25);
  color: #6f261c;
  background: #fff;
}

.training-section,
.registry-layout,
.mentra-network-ad {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 1rem;
  align-items: stretch;
}

.training-copy {
  padding: clamp(0.2rem, 2vw, 1rem);
}

.training-copy h2,
.coverage-model h2,
.public-directory-section h2,
.pollination-section h2,
.registry-section h2,
.swarm-section h2,
.mentra-network-ad h2 {
  margin: 0;
  font: 800 clamp(2.2rem, 5vw, 4.4rem) / 0.98 Georgia, "Times New Roman", serif;
}

.training-copy > p:not(.kicker) {
  max-width: 760px;
  color: #3d493f;
  font-size: 1.08rem;
}

.training-prices {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.training-prices div {
  padding: 0.75rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  border-top: 1px solid rgba(15, 61, 49, 0.18);
}

.training-prices span {
  color: #3d493f;
  font-weight: 800;
}

.training-prices strong {
  color: var(--green-dark);
}

.training-ad {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: #10251b;
}

.training-ad img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
}

.training-ad::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 38, 29, 0.94), transparent 64%);
}

.training-ad div {
  position: absolute;
  z-index: 1;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  color: #fff;
}

.training-ad span,
.training-ad strong {
  display: block;
}

.training-ad span {
  color: #f7d36f;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.training-ad strong {
  margin-top: 0.35rem;
  font: 800 clamp(1.7rem, 3.5vw, 3rem) / 1 Georgia, "Times New Roman", serif;
}

.coverage-model {
  width: min(1120px, calc(100% - 32px));
  margin: clamp(1.3rem, 4vw, 3rem) auto;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.coverage-grid article {
  padding: 1rem;
  border-top: 6px solid var(--amber);
  background: #fffaf1;
  box-shadow: 0 12px 28px rgba(37, 29, 16, 0.1);
}

.coverage-grid span {
  color: var(--honey);
  font-weight: 950;
}

.coverage-grid h3 {
  margin: 0.25rem 0 0;
  font: 800 1.35rem / 1.05 Georgia, "Times New Roman", serif;
}

.coverage-grid p {
  margin-bottom: 0;
  color: #3d493f;
}

.public-directory-section {
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.96), rgba(239, 246, 232, 0.94)),
    #fffaf1;
}

.directory-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1rem 0;
}

.directory-facts div {
  min-height: 116px;
  padding: 0.9rem;
  display: grid;
  align-content: center;
  border-top: 5px solid var(--amber);
  background: #fff;
  box-shadow: 0 10px 24px rgba(37, 29, 16, 0.08);
}

.directory-facts strong,
.directory-facts span {
  display: block;
}

.directory-facts strong {
  color: var(--green-dark);
  font: 800 clamp(1.45rem, 3vw, 2.4rem) / 1 Georgia, "Times New Roman", serif;
}

.directory-facts span {
  margin-top: 0.35rem;
  color: #536058;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.directory-controls {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0.8rem;
  margin-top: 1rem;
}

.directory-location-card,
.directory-filter-form {
  padding: clamp(0.9rem, 2.5vw, 1.25rem);
  border: 1px solid rgba(15, 61, 49, 0.18);
  background: #fff;
}

.directory-location-card {
  border-left: 7px solid var(--amber);
}

.directory-location-card h3,
.directory-method h3,
.pollination-checklist h3 {
  margin: 0;
  font: 800 clamp(1.5rem, 3vw, 2.4rem) / 1 Georgia, "Times New Roman", serif;
}

.directory-location-card p:not(.kicker) {
  color: #48534b;
}

.directory-location-card .button {
  margin: 0.25rem 0.35rem 0 0;
}

.directory-filter-form {
  display: grid;
  align-content: center;
  gap: 0.75rem;
}

.directory-filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.text-button {
  width: fit-content;
  min-height: 40px;
  padding: 0.45rem 0;
  border: 0;
  border-bottom: 2px solid var(--amber);
  color: var(--green-dark);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.directory-status {
  margin: 1rem 0 0.75rem;
  color: var(--green-dark);
  font-weight: 900;
}

.directory-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.directory-card,
.directory-empty {
  padding: 1rem;
  border: 1px solid rgba(15, 61, 49, 0.18);
  border-top: 6px solid var(--green);
  background: #fff;
  box-shadow: 0 12px 26px rgba(37, 29, 16, 0.08);
}

.directory-card h3,
.directory-empty h3 {
  margin: 0.55rem 0 0;
  color: var(--green-dark);
  font: 800 clamp(1.45rem, 2.5vw, 2rem) / 1 Georgia, "Times New Roman", serif;
}

.directory-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.directory-badges span,
.directory-badge {
  width: fit-content;
  margin: 0;
  padding: 0.28rem 0.42rem;
  color: #5e3e08;
  background: #fff0bc;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.directory-location,
.directory-contact-name,
.directory-distance {
  margin: 0.55rem 0 0;
  color: #4c5a50;
  font-weight: 850;
}

.directory-distance {
  color: #8a5411;
}

.directory-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.8rem 0;
  padding: 0;
  list-style: none;
}

.directory-services li {
  padding: 0.32rem 0.48rem;
  border: 1px solid rgba(15, 61, 49, 0.15);
  border-radius: 999px;
  color: var(--green-dark);
  background: #eff5ea;
  font-size: 0.74rem;
  font-weight: 900;
}

.directory-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.directory-card-actions a {
  min-height: 42px;
  padding: 0.58rem 0.68rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--green-dark);
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 900;
}

.directory-source {
  margin: 0.85rem 0 0;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(15, 61, 49, 0.14);
  color: #59645c;
  font-size: 0.76rem;
}

.directory-source a,
.directory-correction a {
  color: var(--green-dark);
  font-weight: 900;
}

.directory-empty {
  grid-column: 1 / -1;
}

.directory-more-button {
  margin-top: 0.8rem;
}

.directory-method {
  margin-top: 1rem;
  padding: clamp(1rem, 3vw, 1.35rem);
  color: #fffaf1;
  background:
    radial-gradient(circle at 90% 8%, rgba(240, 180, 59, 0.24), transparent 17rem),
    var(--green-dark);
}

.directory-method > div:first-child > p:not(.kicker),
.directory-correction {
  color: rgba(255, 250, 241, 0.84);
}

.directory-method .kicker {
  color: #f7d36f;
}

.state-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 0.7fr);
  gap: 0.8rem;
  align-items: stretch;
  margin-top: 1rem;
}

.state-map-panel {
  min-width: 0;
}

#us-state-map {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  background: rgba(255, 250, 241, 0.05);
}

#us-state-map .us-state {
  fill: rgba(255, 250, 241, 0.16);
  stroke: rgba(255, 250, 241, 0.72);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  transition: fill 0.16s ease, stroke 0.16s ease;
}

#us-state-map .us-state.has-listings {
  fill: rgba(240, 180, 59, 0.62);
}

#us-state-map .us-state:hover,
#us-state-map .us-state:focus-visible {
  fill: #f7d36f;
  stroke: #10251b;
  outline: none;
}

#us-state-map .us-state.is-selected {
  fill: #fffaf1;
  stroke: #d89720;
  stroke-width: 3;
}

.state-map-fallback {
  max-width: 420px;
  margin-top: 0.75rem;
  color: #fffaf1;
}

.state-map-detail {
  padding: 1rem;
  border: 1px solid rgba(255, 250, 241, 0.24);
  background: rgba(255, 250, 241, 0.08);
}

.state-map-detail h4 {
  margin: 0;
  color: #fffaf1;
  font: 800 clamp(1.5rem, 3vw, 2.4rem) / 1 Georgia, "Times New Roman", serif;
}

.state-map-detail > p:not(.kicker) {
  color: rgba(255, 250, 241, 0.82);
}

.state-map-actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.state-map-actions .button {
  width: 100%;
  text-align: center;
}

.state-map-actions .button-primary {
  border-color: #f7d36f;
  color: #10251b;
  background: #f7d36f;
}

.state-map-actions .button-secondary {
  border-color: rgba(255, 250, 241, 0.5);
  color: #fffaf1;
  background: rgba(255, 250, 241, 0.08);
}

.state-map-attribution {
  margin: 0.65rem 0 0;
  color: rgba(255, 250, 241, 0.62);
  font-size: 0.72rem;
}

.source-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1rem;
}

.source-link-grid a {
  min-height: 116px;
  padding: 0.8rem;
  display: grid;
  align-content: center;
  border: 1px solid rgba(255, 250, 241, 0.2);
  color: inherit;
  background: rgba(255, 250, 241, 0.06);
  text-decoration: none;
}

.source-link-grid a:hover,
.source-link-grid a:focus-visible {
  border-color: #f7d36f;
  background: rgba(240, 180, 59, 0.12);
}

.source-link-grid strong,
.source-link-grid span {
  display: block;
}

.source-link-grid strong {
  font: 800 1.08rem / 1.1 Georgia, "Times New Roman", serif;
}

.source-link-grid span {
  margin-top: 0.45rem;
  color: rgba(255, 250, 241, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
}

.directory-correction {
  margin-bottom: 0;
}

.directory-correction a {
  color: #f7d36f;
}

.pollination-section {
  border-top: 8px solid var(--amber);
}

.pollination-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  gap: 1rem;
  align-items: center;
}

.pollination-intro h2 {
  margin: 0;
}

.pollination-intro > div > p:not(.kicker),
.pollination-intro li {
  color: #3d493f;
}

.pollination-intro ul {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.2rem;
}

.pollination-intro img {
  width: 100%;
  height: auto;
  max-height: 430px;
  object-fit: cover;
}

.pollination-request-layout {
  margin-top: 1rem;
}

.network-form {
  padding: clamp(1rem, 3vw, 1.25rem);
  border: 1px solid rgba(15, 61, 49, 0.2);
  border-top: 8px solid var(--amber);
  background: #fff;
}

.network-form-status {
  min-height: 1.5rem;
  margin-bottom: 0;
  color: #3d493f;
  font-weight: 800;
}

.privacy-panel,
.swarm-checklist,
.pollination-checklist {
  padding: clamp(1rem, 3vw, 1.35rem);
  color: #fffaf1;
  background:
    radial-gradient(circle at 92% 5%, rgba(240, 180, 59, 0.24), transparent 15rem),
    var(--green-dark);
}

.privacy-panel h3,
.swarm-checklist h3,
.pollination-checklist h3 {
  margin: 0;
  font: 800 clamp(1.7rem, 3vw, 2.6rem) / 1 Georgia, "Times New Roman", serif;
}

.privacy-panel ul,
.swarm-checklist ol,
.pollination-checklist ol {
  display: grid;
  gap: 0.6rem;
  padding-left: 1.2rem;
}

.privacy-panel li,
.swarm-checklist li,
.swarm-checklist p,
.pollination-checklist li,
.pollination-checklist p {
  color: rgba(255, 250, 241, 0.88);
}

.privacy-panel .kicker,
.swarm-checklist .kicker,
.pollination-checklist .kicker {
  color: #f7d36f;
}

.choice-fieldset {
  margin: 0.9rem 0 0;
  padding: 0.85rem;
  border: 1px solid rgba(15, 61, 49, 0.2);
}

.choice-fieldset legend {
  padding: 0 0.35rem;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 0.8rem;
}

.field-help,
.sms-proof-note {
  margin: 0.7rem 0 0;
  color: #556158;
  font-size: 0.82rem;
}

.field-help.is-error {
  color: #8c281d;
  font-weight: 900;
}

.sms-consent {
  padding: 0.8rem;
  border-left: 5px solid var(--amber);
  background: #fff8e3;
}

.sms-proof-note {
  padding-left: 0.8rem;
  border-left: 3px solid var(--green);
}

.mentra-network-ad {
  width: min(1120px, calc(100% - 32px));
  margin: clamp(1.3rem, 4vw, 3rem) auto;
  padding: clamp(1rem, 3vw, 1.5rem);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 15, 40, 0.98), rgba(34, 22, 65, 0.94));
  box-shadow: var(--shadow);
}

.mentra-network-ad img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1672 / 941;
  align-self: center;
  display: block;
  object-fit: contain;
}

.mentra-network-ad > div {
  align-self: center;
}

.mentra-network-ad .kicker {
  color: #c7b5ff;
}

.mentra-network-ad p:not(.kicker) {
  color: rgba(255, 255, 255, 0.84);
}

.mentra-network-ad .button {
  border-color: #c7b5ff;
  background: #c7b5ff;
  color: #1a1232;
}

.independence-note {
  padding-left: 0.75rem;
  border-left: 3px solid #c7b5ff;
  font-size: 0.84rem;
}

@media (max-width: 900px) {
  .network-hero,
  .training-section,
  .registry-layout,
  .mentra-network-ad,
  .safety-banner,
  .directory-controls,
  .pollination-intro,
  .state-map-layout {
    grid-template-columns: 1fr;
  }

  .network-hero {
    min-height: auto;
    padding-top: 5rem;
  }

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

  .directory-facts,
  .directory-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .pollination-intro img {
    max-height: 360px;
  }
}

@media (max-width: 620px) {
  .network-hero {
    width: 100%;
  }

  .network-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .network-hero .hero-actions,
  .training-copy .hero-actions,
  .network-form .form-actions {
    display: grid;
  }

  .network-hero .button,
  .training-copy .button,
  .network-form .button {
    width: 100%;
  }

  .coverage-grid,
  .form-grid,
  .directory-facts,
  .directory-results,
  .directory-filter-grid,
  .source-link-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .training-prices div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .training-ad {
    min-height: 310px;
  }

  .pollination-intro img {
    max-height: 310px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
