/* Urban Sprout Farms — shared styles for generated guide pages.
   Design tokens mirror index.html so pages read as one site. */

:root {
    --leaf: #2d6a4f;
    --leaf-light: #40916c;
    --leaf-dark: #1b4332;
    --soil: #3d2c1e;
    --sun: #e8a840;
    --sun-light: #f0c060;
    --tomato: #c0392b;
    --cream: #fdfaf5;
    --sage: #f0ebe3;
    --stone: #f7f5f2;
    --text: #2c2420;
    --text-light: #6b5e54;
    --border: #e8e2da;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--leaf); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 3px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--leaf-dark); color: #fff; padding: 12px 20px; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Nav ---------- */
nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border); padding: 0 24px;
}
.nav-inner {
    max-width: 1140px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; min-height: 68px; flex-wrap: wrap;
}
.nav-logo { font-family: 'DM Serif Display', serif; font-size: 1.15rem; color: var(--leaf-dark); }
.nav-logo span { color: var(--leaf-light); }
.nav-logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--text-light); font-size: 0.88rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--leaf); text-decoration: none; }
.nav-cta-btn {
    background: var(--leaf); color: #fff !important; padding: 9px 22px;
    border-radius: 6px; font-weight: 600; font-size: 0.85rem; transition: all 0.2s;
}
.nav-cta-btn:hover { background: var(--leaf-light); transform: translateY(-1px); }

/* ---------- Article shell ---------- */
.article-head { background: linear-gradient(175deg, var(--cream) 0%, #fff 100%); padding: 56px 24px 40px; }
.wrap { max-width: 760px; margin: 0 auto; }

.breadcrumbs { font-size: 0.8rem; color: var(--text-light); margin-bottom: 18px; }
.breadcrumbs a { color: var(--text-light); }
.breadcrumbs span { margin: 0 6px; opacity: 0.5; }

.article-head h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); line-height: 1.2; color: var(--leaf-dark); margin-bottom: 14px; }
.byline { font-size: 0.82rem; color: var(--text-light); display: flex; gap: 14px; flex-wrap: wrap; }

article { padding: 8px 24px 64px; }
article h2 { font-size: 1.55rem; color: var(--leaf-dark); margin: 44px 0 14px; }
article h3 { font-size: 1.18rem; color: var(--leaf-dark); margin: 30px 0 10px; }
article p { margin-bottom: 18px; }
article ul, article ol { margin: 0 0 20px 22px; }
article li { margin-bottom: 8px; }
article strong { font-weight: 600; color: var(--text); }

.lede { font-size: 1.1rem; color: var(--text-light); }

/* ---------- FTC disclosure ---------- */
.disclosure {
    background: var(--sage); border-left: 3px solid var(--leaf-light);
    padding: 14px 18px; border-radius: 0 6px 6px 0;
    font-size: 0.83rem; color: var(--text-light); margin: 24px 0 32px;
}
.disclosure strong { color: var(--leaf-dark); }

/* ---------- Product card ---------- */
.pick {
    border: 1px solid var(--border); border-radius: 12px; padding: 22px;
    margin: 26px 0; background: #fff; transition: border-color 0.2s, box-shadow 0.2s;
}
.pick:hover { border-color: var(--leaf); box-shadow: 0 10px 28px rgba(0,0,0,0.07); }
.pick-tag {
    display: inline-block; background: var(--leaf-dark); color: #fff;
    font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 4px; margin-bottom: 12px;
}
.pick h3 { margin: 0 0 8px; font-size: 1.25rem; }
.pick-specs { font-size: 0.84rem; color: var(--text-light); margin-bottom: 14px; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 16px 0; }
.pros-cons h4 { font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 700;
    letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 8px; }
.pros h4 { color: var(--leaf); }
.cons h4 { color: var(--tomato); }
.pros-cons ul { margin: 0 0 0 18px; font-size: 0.88rem; }
.pick-btn {
    display: inline-block; background: var(--leaf); color: #fff !important;
    padding: 11px 26px; border-radius: 6px; font-weight: 600; font-size: 0.9rem;
    transition: background 0.2s;
}
.pick-btn:hover { background: var(--leaf-light); text-decoration: none; }
.pick-btn-note { font-size: 0.75rem; color: var(--text-light); margin-top: 8px; }

/* ---------- Comparison table ---------- */
.table-scroll { overflow-x: auto; margin: 24px 0; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.88rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); }
th { background: var(--stone); font-family: 'DM Sans', sans-serif; font-weight: 600; color: var(--leaf-dark); }
tbody tr:hover { background: var(--cream); }

/* ---------- FAQ ---------- */
.faq { margin-top: 40px; }
.faq details {
    border: 1px solid var(--border); border-radius: 8px;
    padding: 14px 18px; margin-bottom: 10px; background: #fff;
}
.faq details[open] { border-color: var(--leaf-light); }
.faq summary { font-weight: 600; cursor: pointer; color: var(--leaf-dark); }
.faq details p { margin: 12px 0 0; font-size: 0.92rem; color: var(--text-light); }

/* ---------- Footer ---------- */
footer { background: var(--leaf-dark); color: var(--sage); padding: 52px 24px 26px; margin-top: 40px; }
.footer-inner {
    max-width: 1140px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px;
}
.footer-brand { font-family: 'DM Serif Display', serif; font-size: 1.2rem; color: #fff; margin-bottom: 10px; }
.footer-desc { font-size: 0.86rem; opacity: 0.75; line-height: 1.65; }
.footer-col h4 { font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.footer-col a { display: block; color: var(--sage); opacity: 0.78; font-size: 0.86rem; margin-bottom: 8px; }
.footer-col a:hover { opacity: 1; }
.footer-bottom {
    max-width: 1140px; margin: 34px auto 0; padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.14);
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-size: 0.76rem; opacity: 0.65;
}

@media (max-width: 720px) {
    .pros-cons { grid-template-columns: 1fr; gap: 12px; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 26px; }
    .nav-links { gap: 14px; }
    .nav-links a { font-size: 0.82rem; }
}
