/* ===== THE AMERICAN FARMSTEAD — Design System ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

:root {
  --green-900: #1b4332;
  --green-800: #2d6a4f;
  --green-700: #40916c;
  --green-600: #52b788;
  --green-500: #74c69d;
  --green-400: #95d5b2;
  --green-100: #d8f3dc;
  --cream: #faf8f4;
  --cream-dark: #f0ece4;
  --cream-darker: #e4dfd5;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a5a;
  --text-muted: #8a8a9a;
  --white: #fff;
  --red: #e74c3c;
  --gold: #f0a500;
  --profit: #27ae60;
  --loss: #e74c3c;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, .04), 0 2px 4px rgba(0, 0, 0, .03), 0 10px 20px rgba(0, 0, 0, .04);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, .06), 0 4px 10px rgba(0, 0, 0, .04), 0 20px 40px rgba(0, 0, 0, .06);
  --shadow-glow: 0 0 0 3px rgba(82, 183, 136, .15);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --max-w: 800px;
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px
}

section {
  padding: 64px 0
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: -.01em
}

h2 {
  font-size: 1.75rem;
  color: var(--green-900);
  margin-bottom: 6px
}

.section-desc {
  color: var(--text-muted);
  font-size: .92rem;
  margin-bottom: 32px;
  line-height: 1.5
}

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

a:hover {
  color: var(--green-600)
}

/* CARDS */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, .04);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease)
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px)
}

/* FORMS */
label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .06em
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--cream-darker);
  border-radius: var(--radius-xs);
  font-size: .95rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  outline: none;
  margin-bottom: 20px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

textarea {
  min-height: 80px;
  resize: vertical;
  line-height: 1.5
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-600);
  box-shadow: var(--shadow-glow)
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--green-800);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  letter-spacing: .01em;
  transition: background .25s var(--ease), transform .15s var(--ease), box-shadow .25s var(--ease)
}

.btn:hover {
  background: var(--green-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md)
}

.btn:active {
  transform: translateY(0)
}

.btn:focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 2px
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  background: transparent;
  color: var(--green-800);
  border: 2px solid var(--green-800);
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all .25s var(--ease)
}

.btn-outline:hover {
  background: var(--green-800);
  color: var(--white);
  transform: translateY(-1px)
}

.btn-outline:focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 2px
}

.btn-danger {
  background: var(--red)
}

.btn-danger:hover {
  background: #c0392b
}

/* RESULT BOX */
.result-box {
  margin-top: 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--green-100) 0%, rgba(216, 243, 220, .4) 100%);
  border-left: 4px solid var(--green-600);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .95rem;
  line-height: 1.8;
  display: none
}

.result-box.visible {
  display: block;
  animation: fadeSlideUp .4s var(--ease)
}

.result-value {
  font-weight: 700;
  color: var(--green-900);
  font-size: 1.05rem
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(12px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease)
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0)
}

/* HEADER */
.site-header {
  background: linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 50%, var(--green-700) 100%);
  padding: 32px 0 36px;
  text-align: center;
  position: relative;
  overflow: hidden
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, .06) 0%, transparent 60%), radial-gradient(ellipse at 70% 80%, rgba(0, 0, 0, .1) 0%, transparent 50%);
  pointer-events: none
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 36px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%)
}

.site-header.hero {
  padding: 56px 0 64px
}

.brand {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1.2;
  position: relative
}

.brand a {
  color: var(--white);
  text-decoration: none
}

.brand-icon {
  display: inline-block;
  margin-right: 8px;
  font-size: 1.6rem
}

.site-header.hero .brand {
  font-size: 2.8rem
}

.site-header.hero .brand-icon {
  font-size: 2.2rem
}

.tagline {
  color: rgba(255, 255, 255, .7);
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: .02em;
  margin-top: 4px
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  margin-top: 20px;
  margin-bottom: 8px;
  line-height: 1.35;
  position: relative
}

.hero-sub {
  color: rgba(255, 255, 255, .55);
  font-size: .92rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.65
}

.page-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  margin-top: 8px
}

/* NAV */
.site-nav {
  background: var(--green-900);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .2)
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none
}

.nav-inner::-webkit-scrollbar {
  display: none
}

.nav-link {
  display: inline-block;
  padding: 12px 10px;
  color: rgba(255, 255, 255, .65);
  font-size: .67rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: .04em;
  text-transform: uppercase;
  position: relative;
  transition: color .25s var(--ease)
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 13px;
  right: 13px;
  height: 3px;
  background: var(--green-500);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s var(--ease)
}

.nav-link:hover,
.nav-link.active {
  color: var(--white)
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1)
}

.nav-link:focus-visible {
  outline: 2px solid var(--green-500);
  outline-offset: -2px;
  border-radius: 4px
}

/* GRIDS */
.calc-grid,
.zone-grid,
.profile-grid,
.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.zone-grid select {
  margin-bottom: 0
}

.calc-full {
  grid-column: 1/-1
}

.profile-full {
  grid-column: 1/-1
}

/* TOOL GRID (landing page) */
.tool-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px
}

.tool-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, .04);
  text-align: center;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
  text-decoration: none;
  color: var(--text-primary)
}

.tool-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  color: var(--text-primary)
}

.tool-card-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block
}

.tool-card h3 {
  font-size: 1rem;
  color: var(--green-900);
  margin-bottom: 6px
}

.tool-card p {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.4
}

/* ACTION CARDS */
.actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.action-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid rgba(0, 0, 0, .04);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease)
}

.action-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px)
}

.action-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px
}

.action-text {
  font-size: .92rem;
  color: var(--text-secondary);
  font-weight: 600;
  line-height: 1.45
}

/* SEASON BANNER */
.season-banner {
  background: var(--white);
  border-left: 4px solid var(--green-600);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, .04);
  border-left: 4px solid var(--green-600)
}

.season-banner-title {
  font-family: var(--font-heading);
  font-size: .95rem;
  color: var(--green-900);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .04em
}

.season-banner-msg {
  font-size: .92rem;
  color: var(--text-secondary);
  line-height: 1.5
}

.season-banner-msg strong {
  color: var(--green-800)
}

/* WEATHER */
.weather-card {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap
}

.weather-temp {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--green-900);
  line-height: 1
}

.weather-detail {
  font-size: .92rem;
  color: var(--text-secondary);
  line-height: 1.6
}

.weather-detail strong {
  color: var(--text-primary)
}

.weather-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--green-800);
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  transition: color .2s
}

.weather-link:hover {
  color: var(--green-600)
}

/* EMAIL */
.email-card {
  text-align: center;
  border: 2px dashed var(--green-400)
}

.email-card h2 {
  margin-bottom: 4px
}

.email-form {
  max-width: 420px;
  margin: 0 auto;
  text-align: left
}

.email-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px
}

.email-msg {
  margin-top: 16px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .92rem;
  display: none;
  text-align: center
}

.email-msg.success {
  display: block;
  background: rgba(39, 174, 96, .1);
  color: var(--profit)
}

.email-msg.error {
  display: block;
  background: rgba(231, 76, 60, .08);
  color: var(--red)
}

/* PROFILE */
.profile-msg {
  margin-top: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .88rem;
  text-align: center;
  display: none
}

.profile-msg.visible {
  display: block;
  background: rgba(39, 174, 96, .1);
  color: var(--profit);
  animation: fadeSlideUp .4s var(--ease)
}

/* CHECKLIST */
.season-block {
  margin-bottom: 12px
}

.season-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--cream);
  border: 2px solid var(--cream-darker);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 700;
  color: var(--green-900);
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .2s var(--ease), border-color .2s var(--ease)
}

.season-toggle:hover {
  background: var(--cream-dark);
  border-color: var(--green-400)
}

.season-toggle:focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 2px
}

.season-arrow {
  transition: transform .35s var(--ease-spring);
  font-size: .85rem;
  color: var(--text-muted)
}

.season-block.open .season-arrow {
  transform: rotate(180deg)
}

.checklist {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
  padding: 0 4px
}

.season-block.open .checklist {
  max-height: 600px;
  padding-top: 12px
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--cream-dark);
  font-size: .92rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background .15s var(--ease);
  border-radius: var(--radius-xs)
}

.checklist-item:last-child {
  border-bottom: none
}

.checklist-item:hover {
  background: rgba(82, 183, 136, .06)
}

.checklist-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green-700);
  cursor: pointer;
  flex-shrink: 0
}

.checklist-item.checked span {
  text-decoration: line-through;
  color: var(--text-muted)
}

/* ROTATION */
.rotation-card {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 12px;
  border-left: 4px solid var(--green-600)
}

.rotation-card h3 {
  font-size: 1rem;
  color: var(--green-900);
  margin-bottom: 4px
}

.rotation-card p {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.5
}

/* SPRAY LOG */
.log-entry {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  border-left: 3px solid var(--green-500)
}

.log-entry-info {
  flex: 1;
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.6
}

.log-entry-info strong {
  color: var(--text-primary)
}

.log-entry .btn-delete {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
  transition: color .2s
}

.log-entry .btn-delete:hover {
  color: var(--red)
}

.log-empty {
  text-align: center;
  padding: 32px;
  color: var(--text-muted);
  font-size: .92rem
}

/* JOURNAL */
.journal-entry {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 10px;
  border-left: 3px solid var(--gold)
}

.journal-date {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.journal-text {
  font-size: .92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  white-space: pre-wrap
}

/* CONVERTER */
.converter-group {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 16px
}

.converter-group h3 {
  font-size: .95rem;
  color: var(--green-900);
  margin-bottom: 12px
}

.converter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap
}

.converter-row input {
  max-width: 160px;
  margin-bottom: 0
}

.converter-row .conv-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 40px
}

.converter-row .conv-result {
  font-size: .95rem;
  font-weight: 700;
  color: var(--green-900);
  min-width: 100px
}

/* SPREADSHEET */
.upload-zone {
  border: 2px dashed var(--cream-darker);
  border-radius: var(--radius);
  padding: 44px 24px;
  text-align: center;
  cursor: pointer;
  position: relative;
  margin-bottom: 20px;
  transition: border-color .25s var(--ease), background .25s var(--ease)
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--green-600);
  background: rgba(82, 183, 136, .04)
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer
}

.upload-icon {
  font-size: 2.4rem;
  margin-bottom: 8px;
  display: block
}

.upload-text {
  font-size: .95rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 4px
}

.upload-hint {
  font-size: .82rem;
  color: var(--text-muted)
}

.sheet-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 2px solid var(--cream-darker);
  display: none
}

.table-wrapper.visible {
  display: block
}

.sheet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  min-width: 500px
}

.sheet-table thead th {
  background: var(--green-900);
  color: var(--white);
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
  position: sticky;
  top: 0
}

.sheet-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--cream-dark);
  white-space: nowrap
}

.sheet-table tbody tr:nth-child(even) {
  background: rgba(250, 248, 244, .6)
}

.sheet-table tbody tr:hover {
  background: rgba(82, 183, 136, .05)
}

.sheet-table tbody td[contenteditable="true"] {
  outline: none;
  cursor: text
}

.sheet-table tbody td[contenteditable="true"]:focus {
  background: rgba(45, 106, 79, .06);
  box-shadow: inset 0 0 0 2px var(--green-600);
  border-radius: 3px
}

.sheet-row-count {
  margin-top: 12px;
  font-size: .82rem;
  color: var(--text-muted)
}

.sheet-filename {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--cream);
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--green-800);
  margin-bottom: 16px
}

.sheet-filename .remove-file {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0 2px;
  transition: color .15s var(--ease)
}

.sheet-filename .remove-file:hover {
  color: var(--red)
}

/* SNAPSHOT */
.snapshot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.snapshot-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, .04);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease)
}

.snapshot-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px)
}

.snapshot-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 6px
}

.snapshot-value {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--green-900)
}

.snapshot-value.up {
  color: var(--profit)
}

.snapshot-value.down {
  color: var(--loss)
}

.snapshot-value.neutral {
  color: var(--text-primary)
}

.market-links {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.market-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--cream-darker);
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--green-800);
  text-decoration: none;
  transition: all .2s var(--ease)
}

.market-links a:hover {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800)
}

/* BLOG */
.blog-grid {
  display: grid;
  gap: 24px
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, .04);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
  text-decoration: none;
  color: var(--text-primary);
  display: block
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  color: var(--text-primary)
}

.blog-card h3 {
  font-size: 1.2rem;
  color: var(--green-900);
  margin-bottom: 6px
}

.blog-card p {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.5
}

.blog-card .blog-meta {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em
}

.blog-article {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px
}

.blog-article h2 {
  margin-top: 32px;
  margin-bottom: 12px
}

.blog-article p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--text-secondary)
}

.blog-article ul,
.blog-article ol {
  margin-bottom: 20px;
  padding-left: 24px;
  color: var(--text-secondary)
}

.blog-article li {
  margin-bottom: 8px;
  line-height: 1.6
}

.blog-article strong {
  color: var(--text-primary)
}

.blog-cta {
  background: var(--green-100);
  border-radius: var(--radius);
  padding: 28px 32px;
  text-align: center;
  margin: 32px 0
}

.blog-cta p {
  color: var(--green-900);
  font-weight: 600;
  margin-bottom: 12px
}

/* MORE TOOLS */
.more-tools {
  padding: 40px 0 20px;
  border-top: 2px solid var(--cream-dark);
  margin-top: 40px
}

.more-tools h3 {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-family: var(--font-body);
  font-weight: 600
}

.more-tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.more-tools-grid a {
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--cream-darker);
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--green-800);
  text-decoration: none;
  transition: all .2s var(--ease)
}

.more-tools-grid a:hover {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800)
}

/* FOOTER */
footer {
  background: linear-gradient(160deg, var(--green-900) 0%, #142e24 100%);
  padding: 40px 0;
  text-align: center;
  color: rgba(255, 255, 255, .5);
  font-size: .85rem;
  margin-top: 20px
}

footer strong {
  color: rgba(255, 255, 255, .8)
}

footer a {
  color: rgba(255, 255, 255, .6)
}

footer a:hover {
  color: var(--white)
}

/* SIGNUP GATE */
.signup-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px
}

.signup-gate-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  animation: fadeSlideUp .4s var(--ease)
}

.signup-gate-card h2 {
  text-align: center;
  margin-bottom: 4px
}

.signup-gate-card .section-desc {
  text-align: center
}

.gate-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px
}

.signup-gate-msg {
  margin-top: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .92rem;
  display: none;
  text-align: center
}

.signup-gate-msg.error {
  display: block;
  background: rgba(231, 76, 60, .08);
  color: var(--red)
}

.signup-gate-msg.success {
  display: block;
  background: rgba(39, 174, 96, .1);
  color: var(--profit)
}

/* PRINT */
@media print {

  .signup-gate,
  .site-nav,
  .site-header,
  .email-card,
  .season-banner,
  .btn,
  .btn-outline,
  .no-print,
  .more-tools,
  footer {
    display: none !important
  }

  body {
    background: #fff;
    font-size: 14px
  }

  .card {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important
  }

  section {
    padding: 24px 0
  }
}

/* RESPONSIVE */
@media(max-width:640px) {
  .brand {
    font-size: 1.6rem
  }

  .site-header.hero .brand {
    font-size: 2rem
  }

  .tagline {
    font-size: .88rem
  }

  .hero-headline {
    font-size: 1.2rem
  }

  h2 {
    font-size: 1.4rem
  }

  section {
    padding: 48px 0
  }

  .card {
    padding: 28px 22px
  }

  .calc-grid,
  .zone-grid,
  .profile-grid,
  .snapshot-grid,
  .actions-grid,
  .gate-row {
    grid-template-columns: 1fr
  }

  .tool-grid {
    grid-template-columns: 1fr 1fr
  }

  .btn {
    padding: 13px 24px
  }

  .nav-link {
    padding: 12px 10px;
    font-size: .68rem
  }

  .weather-card {
    flex-direction: column;
    gap: 12px
  }

  .weather-temp {
    font-size: 2.2rem
  }

  .converter-row {
    flex-direction: column;
    align-items: stretch
  }

  .converter-row input {
    max-width: 100%
  }
}

@media(max-width:400px) {
  .tool-grid {
    grid-template-columns: 1fr
  }
}

/* RELATED BLOG */
.related-blog{padding:20px 0 0;margin-top:0}
.related-blog h3{font-size:1rem;color:var(--text-muted);margin-bottom:12px;text-transform:uppercase;letter-spacing:.04em;font-family:var(--font-body);font-weight:600}
.related-blog a{display:inline-flex;align-items:center;gap:6px;padding:12px 22px;background:var(--green-100);border:2px solid var(--green-400);border-radius:var(--radius-sm);font-size:.92rem;font-weight:600;color:var(--green-900);text-decoration:none;transition:all .2s var(--ease);line-height:1.4}
.related-blog a:hover{background:var(--green-800);color:var(--white);border-color:var(--green-800)}

/* BLOG FILTERS */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px
}

.filter-btn {
  padding: 8px 18px;
  border: 2px solid var(--cream-darker);
  border-radius: 20px;
  background: var(--white);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-body);
  transition: all .2s var(--ease)
}

.filter-btn:hover {
  border-color: var(--green-600);
  color: var(--green-800)
}

.filter-btn.active {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800)
}