/* ==========================================================================
   Houseplant Heroes — base, hover states and responsive nav.
   Page layout lives in inline styles on each page.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #f5efe1;
  font-family: "Nunito Sans", "Segoe UI", Verdana, sans-serif;
  color: #3a4a3a;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: #2c5f2d; }
a:hover { color: #a6544c; }

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-variation-settings: "SOFT" 24, "WONK" 1;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

.skip-link:focus { left: 0 !important; }

/* FAQ disclosure */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details[open] summary span[data-plus] { transform: rotate(45deg); }

/* Hover states — inline styles win unless these are !important */
.hv1:hover, .hv1:focus-visible { background:#8c4239 !important; }
.hv2:hover, .hv2:focus-visible { border-color:#fdfaf3 !important;background:rgba(253,250,243,0.1) !important; }
.hv3:hover, .hv3:focus-visible { color:#a6544c !important; }
.hv4:hover, .hv4:focus-visible { text-decoration:underline !important; }
.hv5:hover, .hv5:focus-visible { background:#1f4721 !important; }

.hv-link:hover, .hv-link:focus-visible { color: #a6544c !important; border-color: #a6544c !important; }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid #2c5f2d;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #2c5f2d; margin: 4px 0; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .site-header .main-nav {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f5efe1;
    border-bottom: 1px solid rgba(60,130,78,0.16);
    box-shadow: 0 10px 30px rgba(44,61,44,0.12);
    padding: 10px 28px 20px;
    flex-direction: column;
    align-items: stretch !important;
    gap: 0 !important;
  }
  .site-header .main-nav.open { display: flex !important; }
  .site-header .main-nav ul {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100%;
  }
  .site-header .main-nav li { border-top: 1px solid rgba(60,130,78,0.1); }
  .site-header .main-nav li a { display: block !important; padding: 14px 4px !important; border-bottom: none !important; }
  .site-header .main-nav > a { margin-top: 14px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
