/* Legal (/legal): page-level styles. Shared tokens/components come from tyten-v2.css. */

.lg-hero__inner { display: grid; gap: 22px; justify-items: start; }
.lg-docs { padding-top: 0; }

.lg-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 820px;
}

/* One document per row: name (+ version line) on the left, PDF badge on the right */
.lg-doc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r-card);
  background: var(--v2-card-bg);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--v2-dur-slow) ease, background-color var(--v2-dur-slow) ease,
              transform var(--v2-dur-slow) var(--v2-ease);
}
.lg-doc:hover {
  border-color: var(--v2-accent-deep);
  background: var(--v2-card-bg-hover);
  transform: translateY(-2px);
  color: inherit;
}
.lg-doc:focus-visible { outline: 2px solid var(--v2-focus); outline-offset: 3px; }

.lg-doc__text { display: grid; gap: 4px; min-width: 0; }
.lg-doc__name {
  font-family: var(--v2-font-display);
  font-weight: 500;
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.lg-doc:hover .lg-doc__name { color: var(--v2-accent-ink); }
.lg-doc__meta { font-size: var(--v2-fs-small); color: var(--v2-text-muted); }

.lg-doc__badge {
  flex: none;
  padding: 6px 12px;
  border-radius: var(--v2-r-pill);
  border: 1px solid var(--v2-accent-tint-border);
  background: var(--v2-accent-tint);
  font-size: var(--v2-fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--v2-accent-ink);
}

@media (prefers-reduced-motion: reduce) {
  .lg-doc:hover { transform: none; }
}
