/* Livestock Rent production site: HTML5 + Tailwind CDN + vanilla JS. */
:root {
  color-scheme: dark;
  --ink: #07110d;
  --pine: #0d2a1b;
  --field: #d8ff5f;
  --mint: #74e6a3;
}

* { box-sizing: border-box; }
html { background: var(--ink); }
body {
  min-height: 100vh;
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(216, 255, 95, .88); color: var(--ink); }

.hero-grid {
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(circle at 25% 15%, rgba(216,255,95,.16), transparent 34%),
    radial-gradient(circle at 78% 24%, rgba(116,230,163,.12), transparent 30%),
    #07110d;
  background-size: 56px 56px, 56px 56px, auto, auto, auto;
  mask-image: linear-gradient(to bottom, black 72%, transparent 100%);
}

.data-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 1rem;
  background: rgba(255,255,255,.035);
  padding: 1rem;
}
.data-row span {
  color: rgba(255,255,255,.55);
  font-size: .86rem;
}
.data-row strong {
  max-width: 55%;
  text-align: right;
  color: rgba(255,255,255,.92);
  font-size: .9rem;
}

.eyebrow-dark,
.eyebrow-light {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.eyebrow-dark { color: rgba(7,17,13,.52); }
.eyebrow-light { color: rgba(216,255,95,.86); }

.light-card {
  min-height: 17rem;
  border: 1px solid rgba(7,17,13,.1);
  border-radius: 1.5rem;
  background:
    linear-gradient(135deg, rgba(216,255,95,.18), transparent 38%),
    #fff;
  padding: 1.5rem;
  box-shadow: 0 18px 45px rgba(9,32,21,.12);
}
.light-card .card-index {
  display: inline-flex;
  margin-bottom: 3.2rem;
  border-radius: 999px;
  background: #07110d;
  padding: .45rem .7rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: .72rem;
  color: #d8ff5f;
}
.light-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.04em;
}
.light-card p {
  margin-top: .8rem;
  color: rgba(7,17,13,.68);
  line-height: 1.65;
}

.flow-card {
  min-height: 13rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 1.4rem;
  background: rgba(255,255,255,.04);
  padding: 1.25rem;
}
.flow-card small {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(216,255,95,.26);
  padding: .35rem .6rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  color: #d8ff5f;
}
.flow-card strong {
  display: block;
  margin-top: 2.8rem;
  font-size: 1.1rem;
  letter-spacing: -.03em;
}
.flow-card span {
  display: block;
  margin-top: .65rem;
  color: rgba(255,255,255,.58);
  line-height: 1.55;
}
.dark-panel {
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 1.5rem;
  background: rgba(255,255,255,.035);
  padding: 1.4rem;
}
.dark-panel .panel-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(216,255,95,.78);
}
.dark-panel h3 {
  margin-top: 1.8rem;
  color: rgba(255,255,255,.96);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.04em;
}
.dark-panel p:not(.panel-label) {
  margin-top: .8rem;
  color: rgba(255,255,255,.61);
  line-height: 1.7;
}

.control-item {
  min-height: 8.5rem;
  border: 1px solid rgba(7,17,13,.08);
  border-radius: 1.25rem;
  background: #f8faf3;
  padding: 1.2rem;
}
.control-item strong {
  display: block;
  color: #07110d;
  font-size: 1.05rem;
  letter-spacing: -.025em;
}
.control-item span {
  display: block;
  margin-top: .7rem;
  color: rgba(7,17,13,.62);
  line-height: 1.55;
}

.timeline-card {
  min-height: 19rem;
  border: 1px solid rgba(7,17,13,.1);
  border-radius: 1.5rem;
  background: #f7f9f0;
  padding: 1.5rem;
}
.timeline-card.featured {
  background: #07110d;
  color: white;
  box-shadow: 0 24px 70px rgba(7,17,13,.28);
}
.timeline-card span {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(7,17,13,.46);
}
.timeline-card.featured span { color: #d8ff5f; }
.timeline-card h3 {
  margin-top: 5rem;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -.045em;
}
.timeline-card p {
  margin-top: .9rem;
  color: rgba(7,17,13,.65);
  line-height: 1.65;
}
.timeline-card.featured p { color: rgba(255,255,255,.68); }

.quote-card {
  border: 1px solid rgba(216,255,95,.18);
  border-radius: 2rem;
  background: rgba(216,255,95,.08);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: white;
  font-size: clamp(1.65rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.06em;
}

@media (max-width: 640px) {
  .data-row { align-items: flex-start; flex-direction: column; }
  .data-row strong { max-width: 100%; text-align: left; }
  .light-card, .timeline-card { min-height: auto; }
  .light-card .card-index, .timeline-card h3 { margin-top: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
