:root {
  --bg: #f6f8f4; --surface: #fff; --ink: #18221a; --muted: #5d6b60; --line: #e0e6dd;
  --brand: #15803d; --brand-soft: #e3f3e8; --spring: #0e7490; --fall: #b45309; --radius: 12px;
  --c-indoor: #6366f1; --c-transplant: #16a34a; --c-sow: #f59e0b; --c-fall: #c2410c;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); line-height: 1.55; }
a { color: var(--brand); }
h1 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); letter-spacing: -.02em; line-height: 1.15; margin: 14px 0 12px; }
h2 { font-size: 1.3rem; margin: 30px 0 10px; }
h3 { font-size: 1.05rem; margin: 18px 0 6px; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 16px; }
.row { display: flex; align-items: center; gap: 8px 24px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.between h2 { margin-bottom: 10px; }
.muted { color: var(--muted); } .small { font-size: .875rem; }
.lede { font-size: 1.08rem; color: #34433a; max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top .row { justify-content: space-between; min-height: 56px; padding: 8px 16px; }
.brand { font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; display: flex; gap: 8px; align-items: center; }
.logo { width: 30px; height: 30px; border-radius: 8px; background: var(--brand); color: #fff; display: grid; place-items: center; }
nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; } nav a:hover { color: var(--brand); }
.crumbs { font-size: .85rem; color: var(--muted); margin-top: 14px; } .crumbs a { color: var(--muted); }
.btn { background: var(--brand); color: #fff; border: 0; border-radius: 9px; padding: 9px 15px; font: inherit; font-weight: 650; cursor: pointer; }
.btn.ghost { background: var(--brand-soft); color: var(--brand); }

.hero { padding: 26px 0 6px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
.zipform { display: flex; gap: 8px; max-width: 460px; margin: 10px 0; }
.zipform input { flex: 1; min-width: 0; font: inherit; font-size: 1.05rem; padding: 10px 14px; border: 1.5px solid #c9d3c6; border-radius: 10px; letter-spacing: .08em; }
.zipform input:focus { outline: 2px solid var(--brand); border-color: transparent; }
.zipform button { font: inherit; font-weight: 700; background: var(--brand); color: #fff; border: 0; border-radius: 10px; padding: 0 16px; cursor: pointer; white-space: nowrap; }
.zipform.big input { font-size: 1.3rem; padding: 14px 16px; }
.zipform.big button { font-size: 1.05rem; padding: 0 20px; }

.cards4, .cards3 { display: grid; gap: 12px; margin: 6px 0 8px; }
.cards4 { grid-template-columns: repeat(4, 1fr); } .cards3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .cards4, .cards3 { grid-template-columns: repeat(2, 1fr); } }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 2px; }
.kpi span { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.kpi b { font-size: 1.75rem; letter-spacing: -.02em; }
.kpi small { color: var(--muted); }
.kpi.spring b { color: var(--spring); } .kpi.fall b { color: var(--fall); }
.countdown { background: var(--brand-soft); border-radius: 10px; padding: 10px 14px; margin: 12px 0; }
.countdown:empty { display: none; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .two { grid-template-columns: 1fr; } }
table { border-collapse: collapse; width: 100%; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); font-size: .95rem; }
caption { text-align: left; font-weight: 700; padding: 0 0 6px; }
th, td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); }
thead th { background: #f0f4ee; font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
tr.hl td { font-weight: 700; background: #fbfdf9; }
.tablewrap { overflow-x: auto; }
.pt th a, .st td a { font-weight: 600; }
.pt td { white-space: nowrap; }
.warn { color: var(--fall); cursor: help; }

/* Planting calendar chart */
.calsec h2 { margin-top: 30px; }
.cal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; }
.cal-row { display: grid; grid-template-columns: 170px 1fr; align-items: center; min-height: 26px; }
.cal-row + .cal-row { border-top: 1px solid #f0f2ee; }
.cal-name { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 8px; }
.cal-name a { color: var(--ink); text-decoration: none; } .cal-name a:hover { color: var(--brand); }
.cal-track { position: relative; height: 26px; background: linear-gradient(90deg, transparent calc(100% / 12 - 1px), #eef1ec calc(100% / 12 - 1px)) 0 0 / calc(100% / 12) 100%; }
.cal-head { font-size: .78rem; color: var(--muted); font-weight: 700; }
.cal-track.months { display: grid; grid-template-columns: repeat(12, 1fr); background: none; height: auto; }
.cal-track.months span { text-align: center; }
.bar { position: absolute; top: 7px; height: 12px; border-radius: 6px; }
.bar.indoor, .sw.indoor { background: var(--c-indoor); } .bar.transplant, .sw.transplant { background: var(--c-transplant); }
.bar.sow, .sw.sow { background: var(--c-sow); } .bar.fall, .sw.fall { background: var(--c-fall); }
.fl { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px dashed #7aa0b4; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .85rem; margin: 10px 0 0; color: var(--muted); }
.legend span { display: flex; align-items: center; gap: 6px; }
.sw { display: inline-block; width: 18px; height: 10px; border-radius: 5px; }
i.sw.fl { position: static; height: 14px; width: 0; border-radius: 0; }
@media (max-width: 620px) { .cal-row { grid-template-columns: 96px 1fr; } .cal-name { font-size: .78rem; } }
.bar, .sw, .fl { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

/* Reserve the height of a typical responsive unit (250–280px) so ads don't shift the page when they load. */
.ad { margin: 18px 0; min-height: 280px; display: flex; justify-content: center; align-items: center; }
@media (max-width: 620px) { .ad { min-height: 250px; } }
.ad-ph { min-height: 120px; } /* placeholders (no AdSense id) stay compact so demos aren't mostly grey boxes */
.ad-ph { background: repeating-linear-gradient(45deg, #eef1ec, #eef1ec 10px, #e5eae2 10px, #e5eae2 20px); color: #9aa69c; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; border-radius: 8px; }
.notes { max-width: 780px; margin-bottom: 30px; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin: 14px 0; }
.box p { margin: 0 0 6px; }
.links { list-style: none; padding: 0; margin: 0; }
.links li { padding: 3px 0; }
.links.cols { columns: 3 220px; column-gap: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--ink); font-size: .92rem; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.letters { font-weight: 700; word-spacing: 6px; margin: 12px 0; line-height: 2; }
.letters a, .letters b { display: inline-block; min-width: 1.6em; text-align: center; }
nav.letters a { color: var(--brand); text-decoration: underline; }
@media (max-width: 520px) { table.st th:nth-child(4), table.st td:nth-child(4) { display: none; } }
.steps { margin: 0; padding-left: 20px; } .steps li { margin: 4px 0; }
.printonly { display: none; }
.foot { border-top: 1px solid var(--line); background: var(--surface); margin-top: 40px; padding: 14px 0; font-size: .9rem; color: var(--muted); }

@media print {
  body { background: #fff; }
  .noprint, .ad, .foot, .crumbs, .notes, .zipform, .box, .countdown { display: none !important; }
  .printonly { display: block; }
  h1, .cards4, .cards3, section:not(.calsec) { display: none; }
  .calsec h2 { margin-top: 0; }
  .cal { border: 0; padding: 0; }
  .cal-row { min-height: 20px; } .cal-track { height: 20px; } .bar { top: 5px; height: 10px; }
}
.facts ul { padding-left: 20px; max-width: 800px; } .facts li { margin: 6px 0; }
.facts-t { border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); max-width: 720px; width: 100%; }
.facts-t th, .facts-t td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts-t th { width: 34%; font-weight: 600; } .facts-t tr:last-child th, .facts-t tr:last-child td { border-bottom: 0; }
