/* ShamarrFarms site design system — hand-written, no frameworks, no external assets.
   Rules adapted from ShamarrConnect website-design: system fonts, inline SVG icons
   only, no emoji, no AI iconography, plain-language copy, honest claims. */

:root {
  --brand: #14532d;
  --brand-mid: #1a5f3f;
  --brand-dark: #0a2c18;
  --brand-soft: #eaf3ec;
  --ink: #14201a;
  --muted: #55645b;
  --line: #e2e8e2;
  --bg: #ffffff;
  --bg-soft: #f7f9f6;
  --accent: #b45309;
  --accent-soft: #fdf3e3;
  --ok: #15803d;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20, 83, 45, .06), 0 4px 16px rgba(20, 83, 45, .07);
  --shadow-lg: 0 8px 32px rgba(20, 83, 45, .14);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-mid); }

/* Layout — fits 90%/100% desktop zoom and mobile: fluid type, capped container */
.wrap {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}
section { padding-block: clamp(48px, 7vw, 88px); }

h1, h2, h3 { letter-spacing: -.02em; text-wrap: balance; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46rem; }
.dark .lead, .dark p { color: #c9dccf; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--brand-dark);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brandmark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.brandmark svg { flex: none; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: #c9dccf; text-decoration: none; font-size: 14.5px; padding: 8px 12px; border-radius: 8px;
}
.site-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.site-nav a.active { color: #fff; font-weight: 600; }
.nav-toggle {
  display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer;
}
.nav-mobile { display: none; background: #fff; box-shadow: var(--shadow-lg); }
.nav-mobile a { display: block; padding: 13px 20px; color: var(--ink); text-decoration: none; border-top: 1px solid var(--line); }
.nav-mobile a:first-child { border-top: 0; }
.nav-mobile a.cta { color: var(--brand-mid); font-weight: 700; }
.nav-mobile.open { display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; font-weight: 700; font-size: 15.5px;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #92400e; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-mid); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.band-dark { background: linear-gradient(135deg, #0a2c18, #14532d); color: #fff; }
.band-soft { background: var(--bg-soft); border-block: 1px solid var(--line); }

.badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
}

/* Proof strip */
.proof { background: #fff; border-bottom: 1px solid var(--line); }
.proof .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.proof .num { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; color: var(--brand-mid); letter-spacing: -.02em; }
.proof .lbl { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* Cards + grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { margin-top: 14px; }
.card p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.card .kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; color: var(--brand-mid); }

.icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft);
  display: grid; place-items: center; color: var(--brand-mid); flex: none;
}
.icon svg { width: 24px; height: 24px; }

/* Steps list */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px;
}
.steps .n {
  width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 15px; flex: none; margin-top: 2px;
}

/* Ladder (honesty) */
.ladder { display: grid; gap: 12px; }
.ladder .rung {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px;
}
.ladder .tag {
  padding: 5px 12px; border-radius: 8px; font-size: 12px; font-weight: 800; letter-spacing: .05em;
  white-space: nowrap; margin-top: 2px;
}
.ladder .tag.now { background: var(--brand); color: #fff; }
.ladder .tag.next { background: #d6d3cd; color: #44403c; }
.ladder .tag.later { background: #e7e5e0; color: #57534e; }
.ladder p { font-size: 14.5px; color: var(--muted); }

/* Pricing */
.price { font-size: clamp(1.7rem, 3vw, 2.1rem); font-weight: 800; color: var(--brand-mid); letter-spacing: -.02em; margin-top: 8px; }
.price-sub { font-size: 13px; color: var(--muted); }
.card ul { margin: 16px 0 0; padding-left: 20px; color: var(--muted); font-size: 14.5px; display: grid; gap: 7px; }
.card.featured { border: 2px solid var(--brand); position: relative; }
.card .flag {
  position: absolute; top: -13px; left: 22px; background: var(--brand); color: #fff;
  font-size: 11.5px; font-weight: 800; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px;
}
.note {
  background: var(--brand-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; font-size: 14.5px; color: var(--ink);
}

/* Figures */
.figure { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.figure figcaption { padding: 12px 18px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.frame-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.frame-head span:last-child { font-weight: 400; font-size: 12.5px; color: var(--muted); }
.liveframe { width: 100%; height: min(72vh, 720px); border: 0; display: block; background: #0a2c18; }

/* Contact rows */
.contact-row {
  display: flex; gap: 16px; align-items: center; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.contact-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.contact-row .t { font-weight: 700; }
.contact-row .s { font-size: 14px; color: var(--muted); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .btn-row { justify-content: center; margin-top: 28px; }
.cta-band p { margin-top: 12px; }

/* Section heads */
.shead { margin-bottom: clamp(28px, 4vw, 44px); }
.shead h2 { margin-bottom: 12px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.mt-6 { margin-top: 24px; } .mt-10 { margin-top: 40px; }

/* Footer */
.site-footer { background: var(--brand-dark); color: #c9dccf; margin-top: 0; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-block: 48px; }
.site-footer h4 { color: #fff; font-size: 14px; margin: 0 0 10px; }
.site-footer p, .site-footer a { font-size: 14px; color: #c9dccf; }
.site-footer a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .fine { font-size: 12.5px; opacity: .65; margin-top: 10px; }
.site-footer .brandline { color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 8px; }

/* Focus + motion */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Responsive — mobile fit */
@media (max-width: 860px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .proof .grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 24px; }
  .liveframe { height: 70vh; }
  .card { padding: 20px; }
}
