:root {
  color-scheme: light;
  --ink: #17201b;
  --muted: #667067;
  --line: #dce1d8;
  --paper: #f7f5ef;
  --panel: #ffffff;
  --field: #ece8dd;
  --green: #214b39;
  --lime: #bddf72;
  --rust: #b7562c;
  --gold: #d49b3a;
  --blue: #406b86;
  --shadow: 0 18px 50px rgba(23, 32, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 245, 239, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--green);
  color: var(--lime);
  font-weight: 800;
}

.brand small,
.site-footer p,
.section-heading p,
.split-section p,
.sponsor-section p,
.hero-copy,
.intro-grid p {
  color: var(--muted);
}

.brand strong,
.brand small {
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.94rem;
}

nav a {
  text-decoration: none;
  color: var(--muted);
}

nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #18221d;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 24, 20, 0.93), rgba(15, 24, 20, 0.58) 48%, rgba(15, 24, 20, 0.16)),
    url("assets/boom-town-gear-hero.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding: clamp(96px, 14vw, 160px) clamp(20px, 5vw, 72px) clamp(56px, 9vw, 92px);
  color: #fffdf5;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--rust);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--lime);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  font-size: clamp(1.04rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.hero-actions,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.filter-button,
.directory-filter {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--lime);
  color: #132018;
}

.button.secondary,
.filter-button,
.directory-filter {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.filter-button,
.directory-filter {
  background: var(--field);
  color: var(--ink);
  border-color: var(--line);
}

.filter-button.active,
.filter-button:hover,
.directory-filter.active,
.directory-filter:hover {
  background: var(--green);
  color: white;
}

.filter-row.compact {
  margin-bottom: 16px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: var(--panel);
}

.proof-strip div {
  padding: 22px clamp(18px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.proof-strip span {
  color: var(--muted);
}

.section {
  padding: clamp(58px, 9vw, 110px) clamp(18px, 5vw, 72px);
}

.content-section {
  max-width: 920px;
}

.content-section h1 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 0.96;
  max-width: 780px;
}

.copy-stack {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.copy-stack article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.copy-stack h2 {
  margin-bottom: 8px;
}

.intro-grid,
.section-heading,
.split-section,
.deals-band,
.sponsor-section,
.seo-section,
.lead-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.section-heading {
  margin-bottom: 28px;
}

.feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 22px;
  padding: 14px;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(23, 32, 27, 0.08);
}

.feature-panel img {
  width: 100%;
  min-height: 280px;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.feature-panel div {
  display: grid;
  align-content: center;
  padding: clamp(18px, 4vw, 34px);
}

.feature-panel h3 {
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
}

.feature-panel p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card,
.service-card,
.sponsor-grid article,
.area-card,
.directory-card,
.needs-card,
.seo-list article {
  min-height: 100%;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(23, 32, 27, 0.06);
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--field);
  color: var(--green);
  font-size: 1.35rem;
}

.product-card h3,
.service-card h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.product-card p,
.service-card p,
.area-card p,
.directory-card p,
.needs-card p {
  color: var(--muted);
  line-height: 1.45;
}

.mini-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--rust);
  font-size: 0.8rem;
}

.product-card .button {
  margin-top: auto;
  text-align: center;
  background: var(--green);
  color: white;
}

.service-list,
.directory-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-card strong,
.sponsor-grid span,
.area-card strong,
.directory-card strong,
.needs-card strong,
.seo-list span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--rust);
}

.directory-card {
  display: grid;
  gap: 12px;
}

.directory-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

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

.market-section {
  background: #ece8dd;
}

.needs-grid,
.area-grid,
.seo-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

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

.area-section {
  background: #fffaf0;
}

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

.source-note {
  max-width: 920px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.seo-list article strong {
  display: block;
  font-size: 1.06rem;
}

.text-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.seo-page {
  background: var(--cream);
}

.seo-hero {
  padding: 92px clamp(18px, 5vw, 72px) 54px;
  background: #17201b;
  color: white;
}

.seo-hero .eyebrow {
  color: var(--lime);
}

.seo-hero h1 {
  max-width: 980px;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
}

.seo-hero p {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.55;
}

.seo-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 5vw, 64px);
}

.seo-article {
  display: grid;
  gap: 24px;
}

.seo-article article,
.seo-sidebar {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.seo-article h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.seo-article ul,
.seo-sidebar ul {
  margin-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.seo-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 18px;
}

.deals-band {
  background: var(--green);
  color: white;
}

.lead-section {
  background: #f7f5ee;
}

.deals-band .eyebrow {
  color: var(--lime);
}

.deals-band p,
.signup-form small {
  color: rgba(255, 255, 255, 0.72);
}

.signup-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.lead-section .signup-form,
.sponsor-section .signup-form {
  background: var(--panel);
  border-color: var(--line);
}

.lead-section .signup-form small,
.sponsor-section .signup-form small {
  color: var(--muted);
}

.sponsor-form {
  grid-column: 1 / -1;
  margin-top: 24px;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success {
  color: var(--lime);
  font-weight: 800;
}

.lead-section .form-success,
.sponsor-section .form-success {
  color: var(--green);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 650;
  line-height: 1.35;
}

.checkbox-label input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
}

input:not([type="checkbox"]),
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
}

input:focus,
select:focus {
  outline: 3px solid rgba(206, 226, 77, 0.5);
  border-color: var(--green);
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: #141b17;
  color: white;
}

.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.affiliate-note {
  max-width: 520px;
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .section-heading,
  .split-section,
  .deals-band,
  .sponsor-section,
  .seo-section,
  .lead-section {
    grid-template-columns: 1fr;
  }

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

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

  .seo-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 18px;
    overflow: visible;
    padding-bottom: 0;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 84vh;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(15, 24, 20, 0.44), rgba(15, 24, 20, 0.92)),
      url("assets/boom-town-gear-hero.jpg");
    background-position: 66% center;
  }

  .proof-strip,
  .feature-panel,
  .product-grid,
  .service-list,
  .directory-list,
  .needs-grid,
  .area-grid,
  .seo-list,
  .sponsor-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  h1 {
    font-size: clamp(2.65rem, 16vw, 4.2rem);
  }
}
