/* Legal pages layout (Terms 4:20760, Privacy 4:20778).
   Everything reusable lives in ../forec.css; this file only holds what
   these two pages need on top of it. */

/* Page body ("Hero Section" 4:20764 / 4:20782): ground, 40 top, 98 bottom */
.legal {
  background: var(--fc-ground);
  padding: 40px var(--fc-section-x) var(--fc-section-y);
}
.legal__inner {
  max-width: var(--fc-container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--fc-space-5);
}
.legal .fc-title { line-height: 1; }


/* CANDIDATE FOR forec.css: page note ---------------------------------------
   Small muted line under a page title (draft notice, "last updated", etc.).
   Figma: 4:20766 / 4:20784. DM Sans 16, muted, line-height 1.          */
.fc-page-note {
  font-size: 16px;
  line-height: 1;
  color: var(--fc-muted);
}


/* CANDIDATE FOR forec.css: clause list -------------------------------------
   Flat list of heading + text rows with a hairline under each row.
   Used for Terms / Privacy sections (Figma layers named "faq", e.g. 4:20768).
   <div class="fc-clauses">
     <section class="fc-clause">
       <h2 class="fc-clause__title">…</h2>
       <p class="fc-clause__text">…</p>
     </section>
   </div>                                                                    */
.fc-clauses { display: flex; flex-direction: column; width: 100%; }
.fc-clause {
  display: flex;
  flex-direction: column;
  gap: var(--fc-space-2);
  padding: 18px 0 19px;
  border-bottom: 1px solid #E3E8F0;
}
.fc-clause__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.42px;
  color: var(--fc-ink);
}
.fc-clause__text {
  font-size: 16px;
  line-height: 1;
  color: var(--fc-muted);
}

/* No mobile frame. Below the desktop width the lines start to wrap,
   so loosen line-height to keep them readable. */
@media (max-width: 1279px) {
  .fc-page-note,
  .fc-clause__text { line-height: 1.4; }
  .fc-clause__title { line-height: 1.25; }
}
@media (max-width: 767px) {
  .fc-clause__title { font-size: 18px; }
}
