/* Front Range Turf - hand-written, mobile first */
:root {
  --forest: #14382a;
  --green: #2c7a47;
  --green-dark: #1f5e36;
  --lime: #9ad66b;
  --amber: #f2b134;
  --amber-hover: #ffc455;
  --ink: #17231d;
  --muted: #4a5a51;
  --line: #d9e0d6;
  --bg: #fbfaf5;
  --tint: #eef3e8;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(20 56 42 / 8%), 0 8px 24px rgb(20 56 42 / 8%);
  --font: "Avenir Next", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  --maxw: 1120px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--bg); padding-bottom: 76px;
  overflow-x: hidden;
}
img, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--green-dark); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; color: var(--forest); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 7.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4.6vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--amber); color: var(--ink);
  padding: 12px 16px; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* Buttons: always >= 44px */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--amber-hover); color: var(--ink); }
.btn-secondary { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-secondary:hover { background: var(--forest); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row:empty { display: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); min-height: 44px; }
.brand-name { font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; }
.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line);
  background: var(--white); border-radius: 12px; color: var(--forest); cursor: pointer;
}
.js .nav-toggle { display: inline-flex; }
.nav { flex-basis: 100%; padding-bottom: 12px; }
.js .nav { display: none; }
.js .nav.is-open { display: block; }
.nav ul { display: flex; flex-direction: column; }
.nav a:not(.btn) {
  display: flex; align-items: center; min-height: 48px; color: var(--ink); text-decoration: none; font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.nav a[aria-current="page"] { color: var(--green-dark); box-shadow: inset 3px 0 0 var(--green); padding-left: 12px; }
.header-cta { padding-top: 12px; }
.header-cta .btn { width: 100%; }

/* Hero */
.hero { background: var(--forest); color: var(--white); padding: 28px 0 40px; }
.hero h1, .hero .lede { color: var(--white); }
.hero-grid { display: grid; gap: 28px; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; font-weight: 700; color: var(--lime); margin-bottom: .8em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.hero .btn-secondary { color: var(--white); border-color: rgb(255 255 255 / 70%); }
.hero .btn-secondary:hover { background: var(--white); color: var(--forest); }
.hero-note { margin: 18px 0 0; font-size: .95rem; color: #cfe3c4; }
.hero-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--shadow); }

.page-head { background: var(--tint); padding: 20px 0 36px; border-bottom: 1px solid var(--line); }
.page-head .lede { margin-bottom: 1.2em; }
.breadcrumbs { margin-bottom: 18px; font-size: .92rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumbs li { display: inline-flex; align-items: center; min-height: 32px; }
.breadcrumbs li + li::before { content: "/"; margin: 0 8px; color: var(--muted); }
.breadcrumbs a { color: var(--green-dark); padding: 6px 0; }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Sections */
.section { padding: 48px 0; }
.section-tint { background: var(--tint); }
.section-lede { color: var(--muted); max-width: 62ch; margin-bottom: 1.6em; }
.more-link { margin-top: 20px; font-weight: 700; }

.card-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 18px 18px 22px; }
.card-body h3 { margin-bottom: .4em; }
.card-body p { margin: 0; color: var(--muted); font-size: .98rem; }
.card-body h3 a { color: var(--forest); text-decoration: none; }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; }
.card:hover { border-color: var(--green); }
.card:focus-within { outline: 3px solid var(--amber); outline-offset: 2px; }
.card-body h3 a:focus-visible { outline: none; }

.feature-grid { display: grid; gap: 16px; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feature .icon { color: var(--green); margin-bottom: 10px; }
.feature p { margin: 0; color: var(--muted); }

.split { display: grid; gap: 28px; }
.split-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.steps { counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--forest); color: var(--white); display: grid; place-items: center; font-weight: 800;
}
.steps h3 { margin-bottom: .2em; }
.steps p { margin: 0; color: var(--muted); }

.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); color: var(--forest); font-weight: 650; text-decoration: none;
}
.chip:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }

.faq { padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq:first-of-type { padding-top: 0; }
.faq h3 { margin-bottom: .35em; }
.faq p { margin: 0; color: var(--muted); }

.prose h2 { margin-top: 1.6em; font-size: clamp(1.35rem, 4vw, 1.7rem); }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 68ch; }
.side { display: grid; gap: 6px; align-content: start; }
.side-media { margin-bottom: 14px; }
.side-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.side-h { font-size: 1.1rem; margin: 14px 0 6px; }
.link-list a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.link-list a:hover { text-decoration: underline; }
.check-list li { position: relative; padding: 6px 0 6px 28px; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 10px; height: 6px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.contact-line { font-size: 1.2rem; }

/* CTA band */
.cta-band { background: var(--forest); color: var(--white); padding: 44px 0; }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { margin: 0; color: #d7e8cc; }
.cta-inner { display: grid; gap: 20px; }
.cta-band .btn-secondary { color: var(--white); border-color: rgb(255 255 255 / 70%); }
.cta-band .btn-secondary:hover { background: var(--white); color: var(--forest); }

/* Footer */
.site-footer { background: #0f2c21; color: #d4e2cc; padding: 44px 0 20px; }
.site-footer a { color: #e6f1df; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 28px; }
.footer-h { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--lime); margin-bottom: 8px; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 36px; }
.brand-light { color: var(--white); }
.footer-brand p { margin: .6em 0 0; }
.two-col { columns: 2; column-gap: 20px; }
.footer-fine { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 15%); font-size: .85rem; color: #aebfa6; }
.footer-fine p { margin: 0; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 96%); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgb(20 56 42 / 10%);
}
.sticky-cta .btn { width: 100%; }

@media (min-width: 600px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  :root { --gutter: 32px; }
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .nav-toggle, .js .nav-toggle { display: none; }
  .nav, .js .nav, .js .nav.is-open { display: flex; align-items: center; flex-basis: auto; gap: 20px; padding-bottom: 0; }
  .nav ul { flex-direction: row; gap: 4px; }
  .nav a:not(.btn) { border-bottom: 0; padding: 0 14px; border-radius: 8px; }
  .nav a:not(.btn):hover { background: var(--tint); }
  .nav a[aria-current="page"] { box-shadow: none; padding-left: 14px; background: var(--tint); }
  .header-cta { padding-top: 0; }
  .header-cta .btn { width: auto; min-height: 44px; }
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; }
  .section { padding: 72px 0; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
  .split-top { grid-template-columns: 1.7fr 1fr; align-items: start; }
  .cta-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1.3fr 1fr; }
  .page-head { padding: 28px 0 52px; }
}

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