/* ============================================================
   FilexFlow - terms.css
   Página /terms.html
   ============================================================ */

.layout-terms {
  align-items: flex-start;
}

@media (min-width: 960px) {
  .layout-terms {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
}

/* Cards */

.card-terms-main .card-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-terms-side .card-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Hero label */

.card-terms-main .hero-label,
.card-terms-side .hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  align-self: flex-start;
}

.hero-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

.hero-label-text {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(148, 163, 184, 0.16);
  white-space: nowrap;
}

body[data-theme="light"] .hero-label-text {
  background: rgba(0, 0, 0, 0.06);
}

/* Legal header */

.legal-header .card-title {
  font-size: 1.4rem;
}

.legal-header .card-subtitle {
  font-size: 0.9rem;
  max-width: 720px;
}

.legal-meta {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Legal body */

.legal-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.legal-section h2 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.legal-section p,
.legal-section li {
  font-size: 0.9rem;
}

.legal-section ol,
.legal-section ul {
  padding-left: 1.2rem;
  margin: 4px 0 8px;
}

/* Right side summary */

.card-terms-side .card-title {
  font-size: 1.1rem;
}

.legal-keypoints {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}

.legal-keypoints li::before {
  content: "• ";
  margin-right: 4px;
}

.legal-side-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
}

.legal-side-links a {
  text-decoration: none;
  opacity: 0.9;
}

.legal-side-links a:hover {
  text-decoration: underline;
}

.legal-side-secondary {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.8rem;
}

/* Mobile */

@media (max-width: 768px) {
  .card-terms-side {
    margin-top: 20px;
  }
}
