/* familycowfarmstand.com — Rustic Americana
   Palette: kraft #F5EFE0 / off-white #FAF6EC / forest green #2D5016 / barn red #8C2A1F
   Typography: Roboto Slab (display) + Source Sans 3 (body) — slab serif headlines
   Layout: single-column ledger style. No sticky sidebar. Honest. Modest.
   All layout-feedback rules from memory baked in. */

:root {
  --bg: #F5EFE0;
  --bg-soft: #FAF6EC;
  --bg-tint: #EFE7D2;
  --paper: #FBF7EB;
  --ink: #1F1B12;
  --ink-soft: #3D3528;
  --muted: #6B6149;
  --rule: #D9CFB6;
  --rule-strong: #B6A47B;
  --green: #2D5016;
  --green-dark: #1F3810;
  --green-soft: #E2E9D6;
  --barn: #8C2A1F;
  --barn-dark: #66201A;
  --good: #2D5016;
  --warn: #8C2A1F;
  --max: 920px;
  --max-wide: 1100px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  /* Subtle kraft-paper texture using layered radial gradients */
  background-image:
    radial-gradient(circle at 20% 35%, rgba(139, 105, 65, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 75% 70%, rgba(139, 105, 65, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 10%, rgba(45, 80, 22, 0.03) 0%, transparent 30%);
  color: var(--ink);
  font-family: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 400;
}
img { max-width: 100%; height: auto; }
a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--barn); }

h1, h2, h3, h4 {
  font-family: 'Roboto Slab', Georgia, serif;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin: 1.5em 0 .5em;
  font-weight: 700;
}
h1 {
  font-size: 46px; line-height: 1.1; font-weight: 800;
  margin-top: 0;
}
h2 { font-size: 30px; line-height: 1.2; margin-top: 1.8em; }
h3 { font-size: 22px; line-height: 1.3; }
h4 { font-size: 17px; line-height: 1.35; font-weight: 700; }
p { margin: 0 0 1.1em; }
@media (max-width: 760px) {
  body { font-size: 17px; }
  h1 { font-size: 34px; }
  h2 { font-size: 24px; }
}

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

/* === Hand-stamped dingbat === */
.stamp {
  display: inline-block;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--barn);
  border: 2px solid var(--barn);
  padding: 4px 10px;
  transform: rotate(-1.5deg);
  background: var(--paper);
}

/* === Site header / masthead === */
.masthead {
  border-top: 6px solid var(--green);
  border-bottom: 2px solid var(--ink);
  padding: 28px 0 22px;
  background: var(--bg-soft);
  position: relative;
}
.masthead::before, .masthead::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--rule-strong);
}
.masthead::before { top: 6px; }
.masthead::after { bottom: 0; }
.masthead .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 44px; height: 44px;
  background: var(--green);
  color: var(--bg-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  flex-shrink: 0;
}
.brand-words {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-name {
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-tag {
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-top: 4px;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.nav a {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav a:hover { color: var(--barn); text-decoration: underline; }
@media (max-width: 720px) {
  .masthead .container { flex-direction: column; align-items: flex-start; }
  .nav { gap: 14px; }
  .nav a { font-size: 13px; }
}

/* === Hero === */
.hero {
  padding: 56px 0 32px;
  border-bottom: 1px dashed var(--rule-strong);
}
.hero .eyebrow {
  margin-bottom: 18px;
}
.hero .lede {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 18px 0 26px;
  max-width: 720px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
  margin-bottom: 28px;
}
.hero .byline-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.hero .byline-row img { width: 36px; height: 36px; border-radius: 50%; display: block; }
.hero .byline-row .sep { color: var(--rule-strong); }

/* === Section === */
.section {
  padding: 48px 0;
  border-bottom: 1px dashed var(--rule-strong);
}
.section:last-child { border-bottom: none; }
.kicker {
  display: inline-block;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--barn);
  font-weight: 700;
  margin-bottom: 14px;
  padding: 4px 0;
  border-bottom: 2px solid var(--barn);
}

/* === Breadcrumb === */
.breadcrumb-wrap { padding: 14px 24px 0; max-width: var(--max); margin: 0 auto; }
.breadcrumb { font-size: 14px; color: var(--muted); padding: 12px 0; border-bottom: 1px solid var(--rule); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--barn); }

/* === Article body === */
.article { padding: 36px 0 48px; }
.article-body { font-size: 18px; line-height: 1.75; }
.article-body p { font-size: 18px; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 13px 24px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: 'Roboto Slab', Georgia, serif;
  letter-spacing: 0.04em;
  transition: background .2s ease, color .2s ease;
}
.btn-primary {
  background: var(--green);
  color: var(--bg-soft);
  border-color: var(--green-dark);
}
.btn-primary:hover { background: var(--green-dark); color: var(--bg-soft); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg-soft); text-decoration: none; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* === Author tooltip === */
.author-mention { position: relative; display: inline-block; }
.author-name {
  cursor: help;
  border-bottom: 1px dotted var(--green);
  font-weight: 700; color: var(--ink);
  text-decoration: none; outline: none;
}
.author-name:hover, .author-name:focus { color: var(--green); }
.author-card {
  position: absolute; left: 0; top: calc(100% + 6px); z-index: 30;
  width: 300px; max-width: calc(100vw - 32px);
  background: var(--paper); border: 1px solid var(--rule-strong);
  border-left: 3px solid var(--green);
  padding: 12px 14px; box-shadow: 0 4px 12px rgba(31,27,18,.12);
  font-size: 13px; line-height: 1.55; color: var(--ink-soft);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  pointer-events: none; white-space: normal;
}
.author-card strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 4px; font-family: 'Roboto Slab', Georgia, serif; }
.author-mention:hover .author-card,
.author-name:focus ~ .author-card,
.author-card:hover { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
@media (max-width: 600px) { .author-card { width: 260px; left: -20px; } }

/* === The price ledger (signature element) === */
.ledger {
  background: var(--paper);
  border: 2px solid var(--ink);
  margin: 28px 0;
  position: relative;
}
.ledger-head {
  background: var(--ink);
  color: var(--bg-soft);
  padding: 12px 22px;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Roboto Slab', Georgia, serif;
}
.ledger-table th, .ledger-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  vertical-align: top;
}
.ledger-table th {
  background: var(--bg-tint);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  border-bottom: 2px solid var(--ink);
}
.ledger-table tr:last-child td { border-bottom: none; }
.ledger-table tr.top-pick td {
  background: var(--green-soft);
  border-left: 4px solid var(--green);
  font-weight: 600;
}
.ledger-table .price { font-weight: 700; color: var(--barn); white-space: nowrap; }
.ledger-table .pick-tag {
  display: inline-block;
  background: var(--green);
  color: var(--bg-soft);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: middle;
}
.ledger-table .platform-name { font-size: 17px; font-weight: 700; color: var(--ink); }
@media (max-width: 720px) {
  .ledger-table th, .ledger-table td { padding: 10px 12px; font-size: 14px; }
  .ledger-table .platform-name { font-size: 15px; }
}

/* === Review card on homepage (single-col entries) === */
.review-entry {
  margin: 36px 0;
  padding: 28px 0 12px;
  border-top: 2px solid var(--ink);
}
.review-entry .rank-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.review-entry .rank {
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 800;
  font-size: 38px;
  line-height: 1;
  color: var(--barn);
}
.review-entry h2 { margin: 0; font-size: 28px; }
.review-entry .verdict {
  font-style: italic;
  color: var(--muted);
  font-size: 17px;
  margin: 6px 0 16px;
}
.review-entry .stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 14px 0 18px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--green);
  font-size: 14px;
}
.review-entry .stat-row strong { color: var(--ink); display: block; font-family: 'Roboto Slab', Georgia, serif; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2px; }

/* === TLDR === */
.tldr {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-left: 8px solid var(--green);
  padding: 22px 26px;
  margin: 28px 0;
}
.tldr h4 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--barn);
  margin: 0 0 12px;
  font-weight: 700;
}
.tldr ul { margin: 0; padding-left: 22px; }
.tldr li { margin-bottom: 8px; font-size: 16px; }
.tldr .overall { margin-top: 14px; font-family: 'Roboto Slab', Georgia, serif; font-weight: 700; font-size: 17px; color: var(--ink); border-top: 1px solid var(--rule); padding-top: 12px; }

.tldr-cta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: -6px 0 28px;
  padding: 14px 18px;
  background: var(--green-soft);
  border: 1px solid var(--rule);
}
.tldr-cta .subtext { font-size: 13px; color: var(--muted); margin: 0; }

.tldr-crosslink {
  margin: 18px 0 28px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-left: 3px solid var(--green);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
}
.tldr-crosslink p { margin: 0; }
.tldr-crosslink strong { color: var(--ink); font-weight: 700; }
.tldr-crosslink a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.tldr-crosslink a:hover { color: var(--barn); }

/* === CTA card === */
.cta-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 26px 28px;
  text-align: left;
  margin: 32px 0;
  position: relative;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px dashed var(--rule-strong);
  pointer-events: none;
}
.cta-card h4 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 20px; font-weight: 800;
  margin: 0 0 14px; letter-spacing: -0.01em;
  color: var(--ink);
  position: relative;
}
.cta-card .btn { margin: 0; position: relative; }
.cta-card p { position: relative; }
.cta-card .subtext { margin-top: 12px; margin-bottom: 0; font-size: 13px; color: var(--muted); }

/* === Pricing list === */
.pricing-list { list-style: none; padding: 0; margin: 16px 0; }
.pricing-list li {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 16px;
}
.pricing-list .plan { font-weight: 700; font-family: 'Roboto Slab', Georgia, serif; }
.pricing-list .price { color: var(--barn); font-weight: 700; font-family: 'Roboto Slab', Georgia, serif; }

/* === Pros and cons === */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 22px 0; }
.proscons > div {
  padding: 18px 22px;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
}
.proscons ul { padding-left: 22px; margin: 8px 0 0; }
.proscons li { margin-bottom: 6px; font-size: 16px; }
.proscons .pros { border-left: 4px solid var(--green); }
.proscons .pros h4 { color: var(--green); margin: 0 0 8px; }
.proscons .cons { border-left: 4px solid var(--barn); }
.proscons .cons h4 { color: var(--barn); margin: 0 0 8px; }
@media (max-width: 600px) { .proscons { grid-template-columns: 1fr; } }

/* === Pull-quote === */
.pull-quote {
  margin: 32px 0;
  padding: 22px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule-strong);
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
  font-style: italic;
}

/* === Tool homepage screenshot === */
.tool-screenshot {
  margin: 28px 0 32px;
  padding: 0;
  border: 2px solid var(--ink);
  background: var(--paper);
}
.tool-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--rule);
}
.tool-screenshot figcaption {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 14px;
  font-style: italic;
}

/* === FAQ details === */
details {
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  padding: 14px 18px;
  margin: 10px 0;
}
details summary {
  cursor: pointer;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  list-style: none;
}
details summary::-webkit-details-marker { display: none; }
details summary::before {
  content: '+';
  display: inline-block;
  width: 20px;
  color: var(--barn);
  font-weight: 800;
}
details[open] summary::before { content: '−'; }
details summary:hover { color: var(--barn); }
details p { margin: 10px 0 0; }

/* === Verdict box === */
.verdict-box {
  background: var(--green-soft);
  border: 2px solid var(--green);
  padding: 26px 28px;
  margin: 32px 0;
}
.verdict-box h3 {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 22px;
}
.verdict-box p { margin: 0 0 10px; font-size: 17px; }
.verdict-box p:last-child { margin-bottom: 0; }

/* === Footer === */
.site-footer {
  background: var(--ink);
  color: var(--rule);
  padding: 48px 0 24px;
  margin-top: 56px;
  border-top: 6px solid var(--green);
}
.site-footer h4 {
  color: var(--bg-soft);
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
  font-weight: 700;
}
.site-footer a { color: var(--rule); text-decoration: none; }
.site-footer a:hover { color: var(--bg-soft); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 28px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; font-size: 14px; }
.footer-grid p { font-size: 14px; color: #B0A98E; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.disclosure {
  border-top: 1px solid #3D3528;
  padding-top: 18px;
  font-size: 12px;
  color: #8A8062;
  line-height: 1.6;
}
.disclosure a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.disclosure a:hover { color: var(--bg-soft); }

/* === Utility === */
.muted { color: var(--muted); font-size: 14px; }
.divider { border: none; border-top: 1px dashed var(--rule-strong); margin: 36px 0; }
.text-center { text-align: center; }

/* === Author block === */
.author-block {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  padding: 22px 24px;
  margin: 32px 0;
}
.author-block img {
  width: 80px; height: 80px; border-radius: 50%;
  flex-shrink: 0;
}
.author-block .name {
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 4px;
}
.author-block .role {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.author-block p { margin: 0 0 8px; font-size: 14.5px; }
.author-block p:last-child { margin-bottom: 0; }

/* === Trust strip === */
.trust-strip {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
  margin-top: 22px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.trust-strip strong { color: var(--ink); }
.trust-strip .sep { color: var(--rule-strong); }

/* === Reviews dropdown === */
.nav-dropdown { position: relative; }
.nav-dropdown > .dropdown-trigger {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  /* font-family, font-size, font-weight, text-transform, letter-spacing,
     color all inherit from the sibling nav <a> rule so the trigger matches
     the rest of the nav. */
}
.nav-dropdown > .dropdown-trigger::after {
  content: "\25BE";
  font-size: 0.72em;
  margin-left: 3px;
  opacity: 0.6;
  color: currentColor;
  transition: opacity .15s ease, color .15s ease;
}
.nav-dropdown:hover > .dropdown-trigger,
.nav-dropdown:focus-within > .dropdown-trigger,
.nav-dropdown > .dropdown-trigger:hover { color: var(--green); }
.nav-dropdown:hover > .dropdown-trigger::after,
.nav-dropdown:focus-within > .dropdown-trigger::after { color: var(--green); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(31, 27, 18, .12);
  min-width: 260px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.nav-dropdown-menu a:hover {
  background: var(--green-soft);
  color: var(--green);
}
.nav-dropdown-menu .pick-tag {
  font-family: 'Roboto Slab', serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--barn);
  background: var(--bg-tint);
  padding: 2px 8px;
  border-radius: 2px;
  margin-left: 12px;
  border: 1px solid var(--rule-strong);
}
@media (max-width: 760px) {
  .nav { flex-wrap: wrap; gap: 12px; }
  .nav-dropdown-menu { min-width: 220px; }
}
