 .hero-legal {
  padding-top: var(--space-16);
  padding-bottom: var(--space-12);
}
.hero-grid-legal {
  align-items: flex-start;
}
.hero-legal .hero-title {
  max-width: 32rem;
}
.hero-legal .hero-subtitle {
  max-width: 34rem;
}
.hero-preview-panel-legal .hero-preview-inner {
  background: linear-gradient(145deg, #fefce8, #bbf7d0);
}
.legal-content-grid {
  display: grid;
  gap: 2rem;
  align-items: flex-start;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
}
.legal-toc {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.legal-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: var(--font-size-sm);
}
.legal-toc-nav a {
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  background: rgba(255, 247, 237, 0.6);
  border: 1px solid transparent;
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base), transform var(--transition-fast);
}
.legal-toc-nav a:hover {
  background: #ffedd5;
  color: var(--color-text);
  border-color: var(--color-border-soft);
  transform: translateX(2px);
}
.legal-shortcut-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.legal-article {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.legal-section h3 {
  margin-bottom: var(--space-2);
}
.legal-section p:last-child {
  margin-bottom: 0;
}
.legal-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: var(--space-4);
}
.legal-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}
.legal-list li::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-amber));
}
.legal-final-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-3);
}
.legal-preview-content {
  padding: 1.25rem;
}
.legal-farm-card {
  width: 100%;
  border-radius: 16px;
  background: rgba(255, 247, 237, 0.96);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
}
.legal-farm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.9rem 0.45rem;
  font-size: var(--font-size-xs);
}
.legal-farm-tag {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  color: #166534;
}
.legal-farm-status {
  color: var(--color-amber);
}
.legal-farm-body {
  padding: 0 0.75rem 0.75rem;
}
.legal-farm-scene {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(to top, #bbf7d0 0, #22c55e 40%, #60a5fa 100%);
  height: 160px;
}
.legal-field {
  position: absolute;
  bottom: 0;
  width: 40%;
  height: 40%;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 10px rgba(15, 23, 42, 0.25);
}
.legal-field-wheat {
  left: 6%;
  background: repeating-linear-gradient(135deg, #fbbf24 0, #facc15 6px, #f97316 6px, #f97316 9px);
}
.legal-field-cabbage {
  right: 6%;
  background: radial-gradient(circle at 20% 0, #bbf7d0 0, #16a34a 35%, #166534 70%);
}
.legal-barn {
  position: absolute;
  bottom: 38%;
  left: 34%;
  width: 22%;
  height: 30%;
  background: #b91c1c;
  border-radius: 4px;
  box-shadow: 0 6px 10px rgba(120, 53, 15, 0.55);
}
.legal-barn::before {
  content: "";
  position: absolute;
  inset: -28% 10% 62%;
  background: #7f1d1d;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.legal-barn::after {
  content: "";
  position: absolute;
  left: 26%;
  bottom: 0;
  width: 48%;
  height: 40%;
  background: #fefce8;
  border-radius: 4px 4px 0 0;
}
.legal-windmill {
  position: absolute;
  bottom: 42%;
  right: 18%;
  width: 10%;
  height: 30%;
  background: #e5e7eb;
  border-radius: 999px;
}
.legal-windmill::before {
  content: "";
  position: absolute;
  left: -70%;
  right: -70%;
  top: 10%;
  height: 6px;
  background: #fefce8;
}
.legal-windmill::after {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #f97316;
}
.legal-animal {
  position: absolute;
  bottom: 8%;
  width: 13%;
  height: 18%;
  border-radius: 999px;
  background: #fef9c3;
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.3);
}
.legal-cow {
  left: 32%;
}
.legal-chicken {
  right: 32%;
  width: 10%;
}
.legal-farm-footer {
  padding-top: 0.55rem;
}
.legal-farm-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}
@media (max-width: 960px) {
  .legal-content-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .legal-toc {
    position: static;
    order: -1;
  }
}
@media (max-width: 640px) {
  .legal-farm-scene {
    height: 140px;
  }
  .legal-farm-meta {
    flex-direction: column;
  }
}
