/* Resources index: the approved LawnCareWebsite forest-and-grass light theme. */
body.resource-index {
  color-scheme: light;
  --brand-forest: #123b27;
  --brand-grass: #34832e;
  --brand-grass-hover: #2d7428;
  --brand-grass-pale: #edf7e9;
  --brand-grass-wash: #f5faf2;
  --brand-line: #d8e7d3;
  --brand-line-strong: #bfd6b8;
  --bg: #f8faf7;
  --bg-card: #fff;
  --bg-elevated: #f2f7ef;
  --green-400: #34832e;
  --green-600: #123b27;
  --text-primary: #123b27;
  --text-secondary: #43584a;
  --text-muted: #66796a;
  --border: #d8e7d3;
  min-height: 100vh;
  color: var(--brand-forest);
  background: var(--bg);
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
}

body.resource-index header {
  position: sticky;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px max(24px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid var(--brand-line);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 3px 14px rgba(18, 59, 39, .045);
  backdrop-filter: blur(12px);
}

body.resource-index .header-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-grass);
}

body.resource-index .header-brand a {
  color: var(--brand-forest);
  font-family: "Archivo Black", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -.045em;
}

body.resource-index .header-brand a:hover { color: var(--brand-grass); }
body.resource-index .header-brand-sub { color: var(--text-muted); }

body.resource-index .nav-cta,
body.resource-index .cta-btn {
  border: 1px solid var(--brand-grass);
  border-radius: 100px;
  color: #fff;
  background: var(--brand-grass);
  font-family: "Archivo Black", sans-serif;
  font-weight: 400;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

body.resource-index .nav-cta { padding: 10px 18px; }
body.resource-index .nav-cta:hover,
body.resource-index .cta-btn:hover {
  border-color: var(--brand-grass-hover);
  color: #fff;
  background: var(--brand-grass-hover);
  transform: translateY(-1px);
}

body.resource-index main {
  max-width: 1120px;
  padding: 68px 32px 96px;
  color: var(--brand-forest);
}

body.resource-index .page-intro { margin-bottom: 42px; }

body.resource-index h1,
body.resource-index .cta h2 {
  color: var(--brand-forest);
  font-family: "Archivo Black", sans-serif;
  font-weight: 400;
  letter-spacing: -.045em;
}

body.resource-index h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.06;
  margin-bottom: 14px;
}

body.resource-index .intro-text {
  max-width: 680px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.6;
}

body.resource-index .pillars {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

body.resource-index .pillar {
  overflow: hidden;
  border: 1px solid var(--brand-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(18, 59, 39, .055);
}

body.resource-index .pillar-header {
  padding: 22px 26px 20px;
  border-bottom: 1px solid var(--brand-line);
  background: var(--brand-grass-wash);
}

body.resource-index .pillar-title {
  color: var(--brand-forest);
  font-family: "Archivo Black", sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.2;
}

body.resource-index .pillar-title a {
  color: inherit;
  text-decoration: none;
}

body.resource-index .pillar-title a:hover,
body.resource-index .pillar-title a:focus-visible { color: var(--brand-grass); }

body.resource-index .pillar-body { padding: 16px 20px 22px; }
body.resource-index .article-list { gap: 2px; }

body.resource-index .article-list li {
  border-radius: 9px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  transition: background 150ms ease;
}

body.resource-index .article-list li a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}

body.resource-index .article-list li:hover { background: var(--brand-grass-wash); }
body.resource-index .article-list li a:hover {
  color: var(--brand-grass);
  text-decoration-color: currentColor;
}

body.resource-index .calculator-cluster {
  margin-top: 26px;
  border-color: var(--brand-line-strong);
}

body.resource-index .calculator-cluster .pillar-header {
  text-align: center;
  background: var(--brand-grass-pale);
}

body.resource-index .calculator-cluster .pillar-title a {
  color: var(--brand-forest);
  text-decoration: none;
}

body.resource-index .calculator-cluster .pillar-title a:hover,
body.resource-index .calculator-cluster .pillar-title a:focus-visible { color: var(--brand-grass); }

body.resource-index .calculator-grid { gap: 12px; padding: 22px; }

body.resource-index .calculator-tile {
  min-height: 92px;
  border: 1px solid var(--brand-line);
  border-radius: 14px;
  color: var(--brand-forest);
  background: var(--brand-grass-wash);
  font-size: 14px;
  font-weight: 700;
}

body.resource-index a.calculator-tile {
  color: var(--brand-forest);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

body.resource-index a.calculator-tile:hover,
body.resource-index a.calculator-tile:focus-visible {
  border-color: var(--brand-grass);
  color: var(--brand-forest);
  background: var(--brand-grass-pale);
  transform: translateY(-2px);
}

body.resource-index .cta {
  margin-top: 52px;
  padding: 46px 32px;
  border: 1px solid var(--brand-forest);
  border-radius: 22px;
  color: #fff;
  background: var(--brand-forest);
  box-shadow: 0 14px 34px rgba(18, 59, 39, .13);
}

body.resource-index .cta h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(27px, 4vw, 34px);
}

body.resource-index .cta p {
  margin-bottom: 24px;
  color: #d4ead0;
  font-size: 15px;
}

body.resource-index .cta-btn {
  display: inline-block;
  padding: 14px 30px;
  text-decoration: none;
}

body.resource-index footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 20px;
  border-top: 1px solid var(--brand-line);
  color: var(--text-muted);
  background: var(--bg);
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  text-align: center;
}

body.resource-index footer .site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
}

body.resource-index footer .site-footer-nav a {
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 13px;
  text-decoration: none;
  transition: color 150ms ease;
}

body.resource-index footer .site-footer-nav a:hover {
  color: var(--brand-grass);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.resource-index :focus-visible {
  outline: 3px solid var(--brand-grass);
  outline-offset: 3px;
}

@media (max-width: 700px) {
  body.resource-index header { padding: 14px 18px; }
  body.resource-index main { padding: 42px 18px 68px; }
  body.resource-index .page-intro { margin-bottom: 30px; }
  body.resource-index .pillars { grid-template-columns: 1fr; gap: 16px; }
  body.resource-index .pillar-header { padding: 20px 20px 18px; }
  body.resource-index .pillar-body { padding: 14px 14px 18px; }
  body.resource-index .calculator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px;
  }
  body.resource-index .calculator-tile { min-height: 84px; padding: 14px 10px; }
  body.resource-index .cta { padding: 34px 22px; }
  body.resource-index .nav-cta { display: none; }
}

@media (max-width: 420px) {
  body.resource-index .header-brand a { font-size: 14px; }
  body.resource-index .header-brand-sub { font-size: 11px; }
  body.resource-index .calculator-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.resource-index *,
  body.resource-index *::before,
  body.resource-index *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
