.learn-more-dialog {
  width: min(calc(100% - 2rem), 38rem);
  max-height: min(86vh, 44rem);
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 2rem;
  background: rgba(250, 251, 245, 0.96);
  color: #20380f;
  box-shadow: 0 2rem 6rem rgba(28, 53, 11, 0.28);
  backdrop-filter: blur(24px);
}

.learn-more-dialog::backdrop {
  background: rgba(23, 42, 10, 0.38);
  backdrop-filter: blur(7px);
}

.learn-more-dialog[open] {
  animation: learn-more-enter 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes learn-more-enter {
  from { opacity: 0; transform: translateY(1.5rem) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.learn-more-dialog__inner {
  position: relative;
  overflow: auto;
  max-height: min(86vh, 44rem);
  padding: clamp(2rem, 6vw, 3.5rem);
  border-radius: inherit;
  background:
    radial-gradient(circle at 92% 8%, rgba(126, 171, 70, 0.15), transparent 32%),
    rgba(250, 251, 245, 0.94);
}

.learn-more-dialog__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid rgba(56, 92, 25, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  color: #2c4a17;
  font-size: 1.35rem;
  cursor: pointer;
}

.learn-more-dialog__eyebrow {
  display: inline-flex;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(67, 104, 24, 0.09);
  color: #436818;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.learn-more-dialog h2 {
  width: auto !important;
  margin: 1.25rem 0 1rem !important;
  font-size: clamp(2rem, 6vw, 3rem) !important;
  line-height: 1.05 !important;
  text-align: left !important;
}

.learn-more-dialog p {
  margin: 0;
  color: rgba(32, 56, 15, 0.72);
  font-size: 1.1rem !important;
  line-height: 1.7 !important;
}

.learn-more-dialog__note {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid #6f9c36;
  border-radius: 0 1rem 1rem 0;
  background: rgba(67, 104, 24, 0.055);
  color: rgba(32, 56, 15, 0.68);
  font-size: 0.9rem;
  line-height: 1.6;
}

.learn-more-dialog__action {
  display: inline-flex;
  margin-top: 1.8rem;
  padding: 0.9rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(110deg, #294d13, #5f8b2b);
  color: white;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  box-shadow: 0 0.7rem 1.5rem rgba(44, 75, 20, 0.2);
  cursor: pointer;
}

[data-learn-more-trigger] {
  display: flex !important;
  width: 100%;
  min-height: 3.25rem;
  box-sizing: border-box;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.65rem;
  padding: 0.85rem 1.35rem !important;
  border: 1px solid var(--soft-button-border, rgba(67, 104, 24, 0.12)) !important;
  border-radius: 999px !important;
  background: var(--soft-button-bg, rgba(238, 241, 232, 0.9)) !important;
  color: #334e17 !important;
  -webkit-text-fill-color: #334e17 !important;
  box-shadow: var(--soft-button-shadow, 0 0.35rem 0.9rem rgba(46, 72, 25, 0.08)) !important;
  animation: none !important;
  font-size: 0.82rem !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.075em;
  white-space: nowrap;
  text-transform: uppercase;
  cursor: pointer !important;
}

[data-learn-more-trigger]:hover {
  border-color: rgba(67, 104, 24, 0.3) !important;
  background: rgba(228, 235, 218, 0.96) !important;
  color: #20380f !important;
  -webkit-text-fill-color: #20380f !important;
  transform: translateY(-0.1rem);
}

[data-learn-more-trigger]::after {
  display: none !important;
}

[data-learn-more-trigger] [data-learn-more-trigger] {
  width: auto;
  min-height: 0;
  padding: 0 !important;
  background: none !important;
  box-shadow: none !important;
  animation: none !important;
}

[data-learn-more-trigger] [data-learn-more-trigger]::after {
  display: none !important;
}

[data-learn-more-trigger]:focus-visible {
  outline: 2px solid #5f8b2b;
  outline-offset: 0.35rem;
}

@media (prefers-reduced-motion: reduce) {
  .learn-more-dialog[open] { animation: none; }
}
