/* ==========================================================================
   TONAFLO — Editorial AgTech Design System
   Deep green, warm off-white, serif display + clean sans. No gradients,
   no glow, no pill buttons. Restrained radius, subtle borders/shadows.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --green-primary: #174A2A;
  --green-secondary: #2F6B3F;
  --green-accent: #7FA66B;
  --bg-warm: #F8F7F2;
  --card: #FFFFFF;
  --text: #172018;
  --text-muted: #667066;
  --border: rgba(20, 40, 25, 0.08);
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(20,40,25,0.04), 0 1px 8px rgba(20,40,25,0.04);
  --shadow-md: 0 4px 20px rgba(20,40,25,0.07);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg-warm);
  font-size: 16px;
  line-height: 1.65;
}

h1, h2, h3, .font-serif {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.text-muted-tf { color: var(--text-muted); }
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-secondary);
}

.section { padding: 96px 0; }
@media (max-width: 768px) { .section { padding: 56px 0; } }

/* ---- Buttons: solid, rectangular-ish, no gradients ---- */
.btn-tf-primary {
  background: var(--green-primary);
  color: #fff;
  border: 1px solid var(--green-primary);
  border-radius: 8px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-tf-primary:hover { background: var(--green-secondary); border-color: var(--green-secondary); color: #fff; }

.btn-tf-outline {
  background: transparent;
  color: var(--green-primary);
  border: 1px solid var(--green-primary);
  border-radius: 8px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-tf-outline:hover { background: var(--green-primary); color: #fff; }

/* ---- Header ---- */
.tf-header {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
}
.tf-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--green-primary);
}
.tf-nav-link {
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.tf-nav-link:hover { color: var(--green-primary); border-color: var(--green-accent); }

/* ---- Hero: split composition ---- */
.tf-hero { background: var(--bg-warm); }
.tf-hero-copy { padding: 80px 0; }
.tf-hero-image {
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border);
}
.tf-hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tf-hero h1 { font-size: 2.75rem; }
@media (min-width: 992px) { .tf-hero h1 { font-size: 3.25rem; } }

/* ---- Solutions cards ---- */
.tf-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  height: 100%;
}
.tf-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tf-card-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-primary);
  margin-bottom: 20px;
}
.tf-card h3 { font-size: 1.15rem; font-family: 'Inter', sans-serif; font-weight: 700; }
.tf-card p { color: var(--text-muted); font-size: 14.5px; margin-top: 8px; }

/* ---- Stats band: solid dark green, no gradient ---- */
.tf-stats { background: var(--green-primary); }
.tf-stat-num {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #fff;
}
.tf-stat-label {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  margin-top: 4px;
}

/* ---- Product / platform section ---- */
.tf-product-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 24px;
}
.tf-mock-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 13.5px;
}
.tf-mock-row:last-child { border-bottom: none; }
.tf-progress {
  height: 6px; background: var(--border); border-radius: 4px; overflow: hidden; width: 100px;
}
.tf-progress-fill { height: 100%; background: var(--green-secondary); }
.tf-benefit-check {
  width: 22px; height: 22px; border-radius: 6px;
  background: rgba(23,74,42,0.08); color: var(--green-primary);
  display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0;
}

/* ---- Final CTA ---- */
.tf-final-cta { background: var(--green-primary); }
.tf-final-cta h2 { color: #fff; }
.tf-final-cta p { color: rgba(255,255,255,0.75); }

/* ---- Footer ---- */
.tf-footer { background: #12241A; color: rgba(255,255,255,0.8); }
.tf-footer h6 { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.tf-footer a { color: rgba(255,255,255,0.72); font-size: 14.5px; }
.tf-footer a:hover { color: #fff; }
.tf-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; color: rgba(255,255,255,0.5); }