/* Bale My Land: styles. Mobile-first, no framework. */
:root {
  --cream: #fbf7ee;
  --cream-2: #f3ecda;
  --straw: #e2b85a;
  --straw-dark: #7a5a1c;
  --green: #2f5a35;
  --green-dark: #1f3a24;
  --ink: #23271f;
  --muted: #545849;
  --rule: #ddd2b8;
  --error: #a3261b;
  --error-bg: #fbeae7;
  --focus: #9a4f12;
  --radius: 10px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 1.0625rem/1.6 var(--sans);
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
a { color: var(--green); text-underline-offset: 2px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--green-dark); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 7vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--green-dark); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 10; }
.skip-link:focus { top: 8px; color: #fff; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Header */
.site-header { background: var(--cream); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; padding: 6px 0; text-decoration: none; flex: none; }
.brand-logo { display: block; height: 32px; width: auto; max-width: 100%; }
@media (max-width: 480px) { .brand-logo { height: 28px; } }
.site-nav { display: flex; gap: 18px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 2px; }
.site-nav a:hover { color: var(--green); text-decoration: underline; }
.nav-wide { display: none; }
@media (min-width: 640px) { .nav-wide { display: inline; } }

/* Hero */
.hero { position: relative; background: linear-gradient(180deg, var(--cream) 0%, #f5ead0 100%); overflow: hidden; }
.hero-inner { padding-top: 48px; padding-bottom: 150px; position: relative; z-index: 1; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; font-weight: 700; color: var(--straw-dark); margin-bottom: .8em; }
.lede { font-size: 1.2rem; max-width: 40em; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-field { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 140px; display: block; }
@media (min-width: 768px) { .hero-inner { padding-top: 80px; padding-bottom: 170px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: 8px; border: 2px solid transparent; font: 700 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; text-align: center; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.1rem; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-secondary { background: var(--straw); color: var(--ink); border-color: var(--straw-dark); }
.btn-secondary:hover { background: #d4a744; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn[disabled] { opacity: .7; cursor: progress; }
.hero-actions .btn { flex: 1 1 200px; }
@media (min-width: 640px) { .hero-actions .btn { flex: 0 0 auto; min-width: 200px; } }

/* Sections */
.section { padding: 56px 0; }
.section-tint { background: var(--cream-2); }
.section-intro { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }
.two-col { display: grid; gap: 20px; }
@media (min-width: 800px) { .two-col { grid-template-columns: 1fr 1fr; } }
.card { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; }
.section-tint .card { background: var(--cream); }
.card-title { display: flex; align-items: center; gap: 12px; }
.icon { width: 40px; height: 40px; flex: none; color: var(--green); }
.steps { margin: 0; padding-left: 1.3em; }
.steps li { margin-bottom: .8em; padding-left: .2em; }
.steps li::marker { font-family: var(--serif); font-weight: 700; color: var(--straw-dark); }

.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: .9em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--straw); box-shadow: inset 0 0 0 4px var(--cream), inset 0 0 0 6px var(--straw-dark); }
.section-tint .checklist li::before { box-shadow: inset 0 0 0 4px var(--cream-2), inset 0 0 0 6px var(--straw-dark); }
.source { font-size: .95rem; color: var(--muted); }

/* Example box */
.example { margin-top: 32px; border: 2px dashed var(--straw-dark); border-radius: var(--radius); background: var(--cream); padding: 22px; }
.example h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tag { display: inline-block; font: 700 .75rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; background: var(--straw-dark); color: #fff; padding: 6px 8px; border-radius: 4px; }
.example-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: 1rem; }
.example-table th, .example-table td { padding: 10px 6px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.example-table th { text-align: left; font-weight: 600; color: var(--muted); }
.example-table td { text-align: right; font-weight: 700; }
@media (min-width: 480px) { .example-table td { white-space: nowrap; } }
.disclaimer { background: #fff7e0; border-left: 4px solid var(--straw-dark); padding: 10px 14px; border-radius: 4px; }

/* Pricing */
.price { font: 700 2.4rem/1 var(--serif); color: var(--green-dark); margin: .2em 0 .5em; }
.price-note { font: 600 1rem var(--sans); color: var(--muted); }

/* Forms */
.match-form { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px; }
@media (min-width: 640px) { .match-form { padding: 32px; } }
.grid { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
.field { margin: 0 0 20px; min-width: 0; }
fieldset.field { border: 0; padding: 0; }
label, legend { display: block; font-weight: 600; margin-bottom: 6px; }
legend { padding: 0; }
.sub-label { font-weight: 500; font-size: .95rem; color: var(--muted); }
.req { color: var(--error); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=search], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid #8b8a7c; border-radius: 6px;
}
textarea { resize: vertical; }
select { appearance: none; -webkit-appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2323271f' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 12px 8px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; margin: 0; min-height: 32px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--green); }
.check-row { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.consent { font-size: .97rem; }
.hint { color: var(--muted); font-size: .95rem; margin: 8px 0; }

.has-error input:not([type=checkbox]):not([type=radio]), .has-error select, .has-error textarea { border-color: var(--error); border-width: 2px; }
.field-error { color: var(--error); font-weight: 600; font-size: .95rem; margin: 6px 0 0; }
.field-error::before { content: "! "; }

.county-list { max-height: 260px; overflow-y: auto; border: 1.5px solid #8b8a7c; border-radius: 6px; padding: 8px 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 2px 12px; background: #fff; }
.county-option { padding: 4px 0; font-size: .97rem; }
.county-option[hidden] { display: none; }
.county-empty { grid-column: 1 / -1; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 10px 0 0; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--green); background: #e7efe2; color: var(--green-dark); font: 600 .9rem/1 var(--sans); cursor: pointer; }
.chip:hover { background: #d6e4cf; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-slot:not(:empty) { margin: 0 0 18px; }
.form-status { background: var(--error-bg); color: var(--error); border: 1px solid var(--error); border-radius: 6px; padding: 12px 14px; margin: 0 0 18px; font-weight: 600; }
.form-status a { color: var(--error); }
.match-form button[type=submit] { width: 100%; }
@media (min-width: 640px) { .match-form button[type=submit] { width: auto; } }
.form-success { outline: none; }
.form-success h3 { color: var(--green); }
.form-success ol { padding-left: 1.3em; }
.form-success li { margin-bottom: .6em; }

/* Lease list */
.lease-list { padding-left: 1.2em; }
.lease-list li { margin-bottom: .6em; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font: 700 1.12rem/1.35 var(--serif); color: var(--green-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--sans); color: var(--straw-dark); }
.faq details[open] summary::after { content: "\2212"; }
.faq-a { padding: 0 0 14px; }

/* Footer */
.site-footer { background: var(--green-dark); color: #f1ecdd; padding: 40px 0 28px; }
.site-footer a { color: #fbe6a8; }
.site-footer a:hover { color: #fff; }
.footer-inner { display: grid; gap: 14px; }
.footer-brand { font: 700 1.3rem var(--serif); margin: 0; color: #fff; }
.footer-disclaimer { font-size: .95rem; max-width: 60em; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-inner > * { min-width: 0; }
.copyright { font-size: .9rem; opacity: .85; margin: 0; }

/* Simple pages (privacy, terms) */
.doc { padding: 40px 0 64px; }
.doc h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
.doc h2 { font-size: 1.35rem; margin-top: 1.6em; }
.draft-banner { background: #fff7e0; border: 2px solid var(--straw-dark); border-radius: 6px; padding: 12px 16px; font-weight: 700; margin-bottom: 24px; }

.tier-list{list-style:none;margin:1rem 0 0;padding:0;border-top:1px solid rgba(0,0,0,.12)}
.tier-list li{display:flex;justify-content:space-between;gap:1rem;padding:.5rem 0;border-bottom:1px solid rgba(0,0,0,.12)}
/* Ag uses (multi-use expansion) */
.hero-uses { font-weight: 600; color: var(--straw-dark); margin: -.2em 0 0; }
.use-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .use-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .use-grid { grid-template-columns: repeat(3, 1fr); } }
.use-card p:last-child { margin-bottom: 0; }
.use-note { font-size: .97rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: .8em; }
.icon-sm { width: 26px; height: 26px; vertical-align: -6px; margin-right: 8px; }
.type-panel { background: var(--cream); border: 1px solid var(--rule) !important; border-left: 4px solid var(--straw) !important; border-radius: 6px; padding: 14px 16px !important; }
.type-panel legend { float: left; width: 100%; margin-bottom: 10px; }
.type-panel legend + * { clear: both; }
.sub-row { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--rule); }
.input-short { max-width: 10rem; }
.use-warning { background: #fff7e0; border-left: 4px solid var(--straw-dark); padding: 8px 12px; border-radius: 4px; color: var(--ink); }
.lease-sub { margin-top: 1.4em; }

/* Producer Premium (interest list) */
.price-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 760px) { .price-grid { grid-template-columns: 1fr 1fr; } .premium-card { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .price-grid { grid-template-columns: 1fr 1fr 1.4fr; } .premium-card { grid-column: auto; } }
.premium-card { border: 2px solid var(--straw-dark); background: #fffaf0 !important; display: flex; flex-direction: column; }
.premium-card .btn { align-self: flex-start; margin-top: auto; }
.tag-soon { align-self: flex-start; margin: 0 0 12px; }
.price-intro { font-weight: 600; color: var(--straw-dark); }
.premium-list { padding-left: 1.1em; margin: 0 0 1em; }
.premium-list li { margin-bottom: .55em; }
.price-fine { font-size: .95rem; color: var(--muted); }
.premium-field { background: #fffaf0; border: 1px dashed var(--straw-dark); border-radius: 6px; padding: 12px 14px; }
.premium-thanks { background: #e7efe2; border-left: 4px solid var(--green); padding: 10px 14px; border-radius: 4px; }

/* SEO pages: counties and guides */
.breadcrumb { font-size: .95rem; color: var(--muted); margin-bottom: 1em; overflow-wrap: anywhere; }
.breadcrumb a { color: var(--green-dark); }
.seo-page .lede { font-size: 1.15rem; }
.seo-page p, .seo-page li { overflow-wrap: anywhere; }
.cad-box, .cta-box { background: var(--cream); border: 1px solid var(--rule); border-left: 4px solid var(--green); border-radius: 6px; padding: 16px 18px; margin: 1.2em 0; }
.cta-box h2 { margin-top: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.county-list { list-style: none; padding: 0; display: grid; gap: 6px 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.county-list .muted, .muted { color: var(--muted); }
.guide-list { padding-left: 1.2em; }
.guide-list li { margin-bottom: 1em; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { border-collapse: collapse; width: 100%; font-size: .97rem; }
.compare th, .compare td { border-bottom: 1px solid var(--rule); padding: 8px 10px; text-align: left; vertical-align: top; }
.compare thead th { border-bottom: 2px solid var(--rule); }
.counties-strip { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 0; list-style: none; }
