/* DESIGN ROLL: seed packet back label · split top CTA band + link grid (accordion on narrow)
   · jagged grass blades SVG · cream paper on deep earth · plant-your-email + sprout feedback
   · growing-season tip strip · trust badges · inline UPI/COD SVG · rising-sprout back-to-top
   Family with Furrow Ridge: olive #4F5D3A · blush #E8B4A8 · cream #F7EFE6 · Caveat + Nunito Sans
   Signature: perforated tear edge + 12-bar sowing calendar with current month bar in lime */

.lf-root {
  --lf-olive: #4f5d3a;
  --lf-olive-deep: #364228;
  --lf-blush: #e8b4a8;
  --lf-cream: #f7efe6;
  --lf-ink: #1e2418;
  --lf-soil: #3d3028;
  --lf-lime: #a8c45a;
  --lf-ease: cubic-bezier(0.33, 1, 0.45, 1);
  --lf-dur: 220ms;
  margin-top: var(--a117-space-6);
  color: var(--lf-ink);
}

.lf-grass {
  display: block;
  width: 100%;
  height: clamp(18px, 3vw, 28px);
}

.lf-cta-band {
  background: var(--lf-olive-deep);
  color: var(--lf-cream);
  padding: clamp(14px, 2.5vw, 20px) 0;
}

.lf-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.lf-cta-lead {
  margin: 0;
  flex: 1 1 220px;
  font-size: var(--a117-type-sm);
  max-width: 52ch;
}

.lf-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lf-cta-primary,
.lf-cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-family: "Nunito Sans", var(--a117-font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform var(--lf-dur) var(--lf-ease), box-shadow var(--lf-dur) var(--lf-ease);
}

.lf-cta-primary {
  background: var(--lf-lime);
  color: var(--lf-ink);
  border: 2px solid var(--lf-olive);
}

.lf-cta-ghost {
  background: transparent;
  color: var(--lf-blush);
  border: 2px solid var(--lf-blush);
}

.lf-cta-primary:hover,
.lf-cta-ghost:hover {
  transform: translateY(-2px);
}

.lf-cta-primary:focus-visible,
.lf-cta-ghost:focus-visible,
.lf-mail:focus-visible,
.lf-panel a:focus-visible,
.lf-plant-btn:focus-visible,
.lf-rise:focus-visible {
  outline: 2px solid var(--lf-lime);
  outline-offset: 3px;
}

.lf-label-wrap {
  background: linear-gradient(180deg, var(--lf-soil) 0%, #2a221c 100%);
  padding: 0 0 clamp(20px, 4vw, 32px);
}

.lf-label {
  position: relative;
  background: var(--lf-cream);
  border: 2px solid var(--lf-olive);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  margin-top: -4px;
  box-shadow: 0 16px 40px rgba(30, 36, 24, 0.22);
}

.lf-perf {
  height: 10px;
  margin: -28px -2px 16px;
  background:
    radial-gradient(circle at 6px 50%, var(--lf-cream) 3px, transparent 3.5px);
  background-size: 12px 10px;
  background-color: var(--lf-olive-deep);
  border-radius: 4px 4px 0 0;
}

@media (min-width: 700px) {
  .lf-perf {
    margin-top: -30px;
  }
}

.lf-label-head {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

@media (min-width: 720px) {
  .lf-label-head {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
  }
}

.lf-back-kicker {
  margin: 0 0 6px;
  font-family: "Nunito Sans", var(--a117-font-body);
  font-size: var(--a117-type-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lf-olive);
}

.lf-brand-title {
  margin: 0 0 8px;
  line-height: 1.05;
}

.lf-brand-script {
  display: block;
  font-family: "Caveat", cursive;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--lf-soil);
}

.lf-brand-sans {
  display: block;
  font-family: "Nunito Sans", var(--a117-font-body);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lf-olive-deep);
}

.lf-brand-sub {
  margin: 0 0 10px;
  font-size: var(--a117-type-sm);
}

.lf-mail {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 14px;
  background: var(--lf-blush);
  border: 2px solid var(--lf-olive);
  border-radius: 6px;
  color: var(--lf-ink);
  font-weight: 700;
  text-decoration: none;
}

.lf-month-label {
  position: relative;
  top: auto;
  margin: 0 0 8px;
  font-size: var(--a117-type-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lf-olive);
}

.lf-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
}

.lf-bars li span {
  display: block;
  height: 28px;
  border-radius: 3px;
  background: rgba(79, 93, 58, 0.2);
  border: 1px solid rgba(30, 36, 24, 0.12);
  transition: background var(--lf-dur) var(--lf-ease), transform var(--lf-dur) var(--lf-ease);
}

.lf-bars li.is-now span {
  background: linear-gradient(180deg, var(--lf-lime), var(--lf-olive));
  transform: scaleY(1.08);
  border-color: var(--lf-olive);
}

.lf-plant {
  margin-bottom: 22px;
  padding: 14px;
  border: 2px dashed var(--lf-blush);
  border-radius: 8px;
  background: #fff;
}

.lf-plant label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--a117-type-sm);
  font-weight: 700;
}

.lf-plant-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lf-plant-row input {
  flex: 1 1 200px;
  min-height: 44px;
  padding: 10px 12px;
  border: 2px solid var(--lf-olive);
  border-radius: 6px;
  font: inherit;
}

.lf-plant-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid var(--lf-olive-deep);
  border-radius: 6px;
  background: var(--lf-olive);
  color: var(--lf-cream);
  font-family: "Nunito Sans", var(--a117-font-body);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.lf-plant-btn.is-sprout .lf-sprout {
  animation: lf-sprout-pop 480ms var(--lf-ease);
}

@keyframes lf-sprout-pop {
  0% { transform: scale(0.6) translateY(4px); opacity: 0.4; }
  50% { transform: scale(1.15) translateY(-4px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.lf-plant-done {
  margin: 10px 0 0;
  font-size: var(--a117-type-sm);
  color: var(--lf-olive-deep);
  font-weight: 700;
}

.lf-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 800px) {
  .lf-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
  }
  .lf-panel {
    border: 0;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 6px;
    padding: 0 12px 12px;
  }
  .lf-panel summary {
    pointer-events: none;
    list-style: none;
    cursor: default;
  }
  .lf-panel summary::-webkit-details-marker {
    display: none;
  }
  /* Closed <details> hides <ul> by default; desktop treats columns as static link lists */
  .lf-panel > ul {
    display: grid !important;
  }
}

.lf-panel {
  border: 1px solid rgba(30, 36, 24, 0.12);
  border-radius: 6px;
  padding: 0 12px 12px;
  background: rgba(255, 255, 255, 0.65);
}

.lf-panel summary {
  cursor: pointer;
  padding: 12px 0 8px;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.lf-panel summary h3 {
  position: relative;
  top: auto;
  margin: 0;
  font-family: "Nunito Sans", var(--a117-font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lf-olive-deep);
}

.lf-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.lf-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  color: var(--lf-ink);
  text-decoration: none;
  font-size: var(--a117-type-sm);
  font-weight: 600;
}

.lf-panel a:hover {
  color: var(--lf-olive);
  text-decoration: underline;
}

.lf-season {
  padding: 12px 0;
  background: var(--lf-olive);
  color: var(--lf-cream);
  font-size: var(--a117-type-sm);
  text-align: center;
}

.lf-sill {
  background: var(--lf-olive-deep);
  color: var(--lf-cream);
  padding: 16px 0 calc(16px + env(safe-area-inset-bottom));
}

.lf-sill-inner {
  display: grid;
  gap: 14px;
  align-items: center;
}

@media (min-width: 720px) {
  .lf-sill-inner {
    grid-template-columns: 1fr auto auto;
    grid-template-rows: auto auto;
  }
  .lf-trust { grid-column: 1 / -1; }
  .lf-legal { grid-column: 1; }
  .lf-pay { grid-column: 2; }
  .lf-rise { grid-column: 3; justify-self: end; }
}

.lf-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lf-trust li {
  font-size: var(--a117-type-xs);
  padding: 6px 10px;
  border: 1px solid rgba(247, 239, 230, 0.35);
  border-radius: 999px;
}

.lf-pay {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: var(--a117-type-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lf-pay-upi,
.lf-pay-cod {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lf-blush);
}

.lf-legal {
  margin: 0;
  font-size: var(--a117-type-xs);
  opacity: 0.9;
}

.lf-rise {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 12px;
  border: 2px solid var(--lf-lime);
  border-radius: 8px;
  background: rgba(168, 196, 90, 0.12);
  color: var(--lf-lime);
  font-family: "Nunito Sans", var(--a117-font-body);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.lf-rise:hover .lf-rise-leaf {
  transform: translateY(-3px);
}

.lf-rise-leaf {
  transition: transform var(--lf-dur) var(--lf-ease);
  transform-origin: center bottom;
}

.lf-rise.is-grow .lf-rise-leaf {
  animation: lf-rise-grow 520ms var(--lf-ease);
}

@keyframes lf-rise-grow {
  0% { transform: scale(0.7) translateY(6px); }
  60% { transform: scale(1.1) translateY(-6px); }
  100% { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .lf-cta-primary,
  .lf-cta-ghost,
  .lf-bars li span,
  .lf-rise-leaf {
    transition: none;
  }
  .lf-plant-btn.is-sprout .lf-sprout,
  .lf-rise.is-grow .lf-rise-leaf {
    animation: none;
  }
}
