/* =====================================================
  NativePlantIndex - Main Stylesheet
  Brand: Leaf Green #43701f
  Responsive, accessible, no external dependencies
  ===================================================== */
:root {
  --green: #43701f;
  --green-dark: #315719;
  --green-light: #edf4e8;
  --green-pale: #f5f8f1;
  --slate: #25312a;
  --slate-light: #526057;
  --muted: #68756b;
  --white: #ffffff;
  --background-alt: #f6f8f4;
  --border: #dce4d8;
  --border-dark: #c5d1c0;
  --success: #256b3a;
  --warning: #805b12;
  --danger: #a12f2f;
  --shadow-sm: 0 2px 8px rgba(30, 50, 25, 0.06);
  --shadow-md: 0 8px 24px rgba(30,50,25,.09);
  --radius-sm: 7px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --container-width: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* RESET AND FOUNDATIONS */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--slate);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
}

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

a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

button, input, select, textarea {
  font: inherit;
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

h4 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

ul, ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

li {
  margin-bottom: 7px;
}

strong {
  font-weight: 700;
}

code {
  padding: 3px 6px;
  border-radius: 4px;
  background: #eef1ec;
  color: var(--slate);
  font-size: .9em;
  overflow-wrap: anywhere;
}

::selection {
  background: #dcebd0;
  color: var(--slate);
}

:focus-visible {
  outline: 3px solid #85a967;
  outline-offset: 3px;
}

.container {
  width: min(var(--container-width), calc(100% - 48px));
  margin-inline: auto;
}

.narrow-container {
  max-width: 760px;
}

/* ACCESSIBILITY */

.skip-link {
  position: absolute;
  z-index: 1000;
  top: -100px;
  left: 16px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--green-dark);
  color: var(--white);
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

/* HEADER */

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 9px;
  color: var(--slate);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1.2;
  text-decoration: none;
}

.wordmark:hover {
  color: var(--slate);
  text-decoration: none;
}

.wordmark-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  font-size: 24px;
  line-height: 1;
}

.wordmark-accent {
  color: #a8cc87;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.main-nav a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  color: var(--slate);
  font-size: .94rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--green-light);
  color: var(--green-dark);
  text-decoration: none;
}

/* HERO SECTIONS */

.hero {
  padding: 100px 0 88px;
  background: radial-gradient(ellipse at 85% 20%, rgba(115, 153, 76,.12), transparent 40%),
    linear-gradient(135deg, #f5f8f1, #fff 75%);
}

.hero-content {
  max-width: 850px;
}

.hero h1 {
  max-width: 850px;
}

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

.hero-description {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--slate-light);
  font-size: 1.2rem;
  line-height: 1.7;
}

.hero-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: .92rem;
}

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

.eyebrow {
  margin-bottom: 13px;
  color: var(--green);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.page-hero {
  padding: 58px 0 62px;
  background: linear-gradient(135deg, #f5f8f1, #fff);
}

.page-hero h1 {
  max-width: 900px;
}

.page-intro {
  margin-bottom: 15px;
  color: var(--slate-light);
  font-size: 1.17rem;
  line-height: 1.75;
}

.supporting-copy {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: .96rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: .9rem;
}

.breadcrumbs span:last-child {
  color: var(--slate);
  font-weight: 600;
}

/* BUTTONS AND LINKS */

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-size: .97rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn-secondary {
  border-color: var(--green);
  background: var(--white);
  color: var(--green-dark);
}

.btn-secondary:hover {
  background: var(--green-light);
  color: var(--green-dark);
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--green);
  font-weight: 700;
}

/* GENERAL SECTIONS */

.section {
  padding: 82px 0;
}

.section-alt {
  background: var(--background-alt);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 35px;
}

.section-heading h2 {
  margin-bottom: 12px;
}

.section-description {
  max-width: 760px;
  margin: 0;
  color: var(--slate-light);
  font-size: 1.04rem;
}

.section-heading-link {
  flex-shrink: 0;
}

.section-footnote {
  margin-top: 25px;
  color: var(--muted);
  font-size: .9rem;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
  margin-top: 28px;
}

.content-block {
  max-width: 850px;
  margin-top: 28px;
}

.content-block h2 {
  margin-top: 38px;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block h3 {
  margin-top: 30px;
}

.content-block h3:first-child {
  margin-top: 0;
}

.content-block p,
.content-block ul,
.content-block ol {
  color: var(--slate-light);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px,.85fr);
  align-items: start;
  gap: 55px;
}

.split-section > div:first-child > p {
  color: var(--slate-light);
}

/* PANELS */

.info-panel {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.info-panel p {
  color: var(--slate-light);
}

.info-panel p:last-child {
  margin-bottom: 0;
}

.info-panel h3 {
  margin-bottom: 16px;
}

.info-panel ul:last-child {
  margin-bottom: 0;
}

/* FEATURE CARDS */

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

.feature-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.feature-card:hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow-md);
}

.feature-card h3 {
  margin-top: 17px;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--slate-light);
  font-size: .96rem;
}

.feature-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--green-light);
  color: var(--green);
}

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

.format-card {
  min-height: 265px;
}

/* STATE AND REGION GRIDS */

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

.state-card {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 19px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--slate);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.state-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.state-card strong {
  color: var(--green-dark);
  font-size: 1.06rem;
}

.state-card span {
  color: var(--muted);
  font-size: .9rem;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 42px 30px;
  border: 1px dashed var(--border-dark);
  border-radius: var(--radius-md);
  background: var(--green-pale);
  text-align: center;
}

.empty-state h3 {
  margin-bottom: 12px;
}

.empty-state p {
  max-width: 650px;
  margin: 0 auto 15px;
  color: var(--slate-light);
}

.empty-state .text-link {
  justify-content: center;
}

/* EMPTY STATES AND NOTICES */

.notice {
  padding: 16px 20px;
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--green-light);
  color: var(--slate);
}

/* NURSERY LISTINGS */

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

.nursery-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.nursery-card h3 {
  margin-bottom: 8px;
}

.nursery-card p {
  color: var(--slate-light);
}

.nursery-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.nursery-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 30px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: .82rem;
  font-weight: 700;
}

.badge-muted {
  background: #eef0ed;
  color: var(--slate-light);
}

/* RELATED LINKS */

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

.related-link-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--slate);
}

.related-link-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.related-link-card strong {
  margin: 8px 0;
  font-size: 1.15rem;
}

.related-link-card > span:not(.related-link-label) {
  color: var(--slate-light);
}

.related-link-label {
  color: var(--green);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* COMPARISON AND CONTENT GRIDS */

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

.comparison-grid .info-panel {
  height: 100%;
}

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

.step-card {
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
}

.step-number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 800;
}

.step-card p {
  margin-bottom: 0;
  color: var(--slate-light);
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--slate-light);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.checklist-panel h3 {
  margin-top: 25px;
}

/* STATUS INDICATORS */

.status-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.status-row:last-child {
  border-bottom: 0;
}

.status-row h3 {
  margin-bottom: 5px;
}

.status-row p {
  margin: 0;
}

.status-badge {
  min-width: 95px;
  padding: 6px 10px;
  border-radius: 30px;
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
}

.status-yes {
  background: var(--green-light);
  color: var(--success);
}

.status-no {
  background: #f9eaea;
  color: var(--danger);
}

.status-unknown {
  background: #eef0ed;
  color: var(--slate-light);
}

/* FORMS */

.site-form {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.form-intro {
  margin-bottom: 28px;
}

.form-intro p {
  color: var(--slate-light);
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-section +.form-section {
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.form-section h3 {
  margin-bottom: 0;
}

.form-section-description {
  margin-top: -10px;
  color: var(--muted);
  font-size: .94rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label,
.form-fieldset legend {
  color: var(--slate);
  font-weight: 700;
}

.required {
  color: var(--danger);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--slate);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  outline: 2px solid var(--green-light);
}

.field-help {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

/* FORM LAYOUTS */

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

.form-fieldset {
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.form-fieldset legend {
  padding: 0 7px;
  font-weight: 700;
}

.radio-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.radio-option,
.checkbox-option {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
}

.radio-option:hover,
.checkbox-option:hover {
  border-color: var(--green);
  background: var(--green-pale);
}

.radio-option input,
.checkbox-option input {
  width: 19px;
  height: 19px;
  margin: 0;
  accent-color: var(--green);
}

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

.form-notice {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--green-pale);
  color: var(--slate-light);
  font-size: .92rem;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--slate-light);
  font-size: .94rem;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--danger);
}

.form-privacy-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: .9rem;
}

.form-privacy-note a {
  font-weight: 700;
}

/* FORM VALIDATION */

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: var(--danger);
}

.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled {
  background: #f0f2ef;
  cursor: not-allowed;
}

/* CALL TO ACTION */

.section-cta {
  padding: 65px 0;
  background: var(--green-pale);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.cta-panel > div {
  max-width: 700px;
}

.cta-panel h2 {
  margin-bottom: 12px;
}

.cta-panel p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--slate-light);
}

.cta-panel .btn {
  flex-shrink: 0;
}

/* ADVERTISING SPACE */

.ad-slot {
  width: 100%;
  min-height: 100px;
  margin: 24px 0;
  background: transparent;
}

.ad-slot:empty {
  display: block;
}

/* FOOTER */

.site-footer {
  padding: 58px 0 25px;
  background: #202b23;
  color: #e7eee5;
}

.site-footer .wordmark {
  color: var(--white);
}

.site-footer .wordmark-accent {
  color: #a8cc87;
}

.site-footer .wordmark-icon {
  background: rgba(255, 255, 255,.12);
  color: #c1dda9;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 55px;
  padding-bottom: 42px;
}

.footer-brand p {
  max-width: 300px;
  margin-top: 18px;
  color: #c1ccc0;
  font-size: .94rem;
}

.footer-links-group h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0;
}

.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links-group li {
  margin: 0;
}

.footer-links-group a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  color: #d0dbce;
  font-size: .92rem;
}

.footer-links-group a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255,.16);
}

.footer-disclaimer {
  margin-bottom: 12px;
  color: #d0dbce;
  font-size: .9rem;
}

.footer-copyright {
  margin: 0;
  color: #aebcaf;
  font-size: .85rem;
}

/* RESPONSIVE LAYOUTS */

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

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

.footer-main {
    gap: 30px;
}

.split-section {
    gap: 30px;
}
}

@media (max-width: 760px) {
.container {
    width: min(100% - 36px, var(--container-width));
}

.header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 17px;
    padding-bottom: 14px;
}

.main-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 3px;
}

.main-nav a {
    padding: 8px 10px;
    font-size: .88rem;
}

.hero {
    padding: 68px 0 60px;
}

.page-hero {
    padding: 40px 0 45px;
}

.section {
    padding: 58px 0;
}

.section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
}

.split-section {
    grid-template-columns: 1fr;
    gap: 28px;
}

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

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

.listing-grid,
.related-links-grid,
.comparison-grid {
    grid-template-columns: 1fr;
}

.steps-grid {
    grid-template-columns: 1fr;
}

.footer-main {
    grid-template-columns: 1fr 1fr;
}

.footer-brand {
    grid-column: 1 / -1;
}

.cta-panel {
    align-items: flex-start;
    flex-direction: column;
}
}

@media (max-width: 480px) {
.container {
    width: calc(100% - 32px);
}

.wordmark {
    font-size: 1.2rem;
}

.main-nav {
    gap: 2px;
}

.main-nav a {
    padding: 7px 8px;
    font-size: .82rem;
}

.hero {
    padding: 55px 0 48px;
}

.hero-description,
.page-intro {
    font-size: 1.05rem;
}

.hero-actions {
    flex-direction: column;
}

.hero-actions .btn {
    width: 100%;
}

.feature-grid,
.format-grid,
.state-grid,
.form-grid,
.checkbox-grid {
    grid-template-columns: 1fr;
}

.feature-card {
    padding: 21px;
}

.site-form {
    padding: 20px;
}

.radio-options {
    flex-direction: column;
}

.radio-option {
    width: 100%;
}

.cta-panel {
    padding: 25px;
}

.footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
}

.footer-brand {
    grid-column: auto;
}

.status-row {
    flex-direction: column;
    gap: 10px;
}
}

/* REDUCED MOTION */

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms!important;
    animation-duration: .01ms!important;
}
}
