/* ==========================================================================
   Knight Frank — legal page styles (privacy.html, terms.html)
   ==========================================================================
   This file is intentionally IDENTICAL in Knight-Frank-Office and
   Knight-Frank-Microsite. Diff the two before editing either, and apply every
   change to both.

   It replaces four separate inline copies of these rules — one per legal page
   across the two projects — which had already drifted apart: .policy-wrap
   bottom padding was 80px in one and 100px in the other, .policy-eyebrow was
   700 vs 600, .policy-section h2 was 1.25rem with a bottom border vs 1.3rem
   with none, .policy-table th was 700 vs 600, and .back-link:hover changed
   two properties in one and one in the other. Nothing recorded which of those
   differences was deliberate.

   It defines only .policy-* and .back-link. The design tokens it consumes
   (--kf-red, --ink, --paper, --line, --grey, --radius, --font-serif) come from
   each project's own base stylesheet: /css/app.css in the Microsite, and the
   inline :root block in the Office pages.
   ========================================================================== */

.policy-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 100px;
}

.policy-eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--kf-red);
  margin-bottom: 12px;
}

.policy-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 8px;
}

.policy-meta {
  font-size: 12px;
  color: var(--grey);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.policy-section { margin-bottom: 36px; }

.policy-section h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 12px;
}

.policy-section p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 12px;
}

.policy-section ul { margin: 8px 0 12px 20px; }

.policy-section ul li {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 6px;
}

.policy-section a { color: var(--kf-red); }
.policy-section a:hover { text-decoration: underline; }

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 13px;
  overflow-x: auto;
  display: block;
}

.policy-table th {
  background: var(--paper-2);
  padding: 10px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--grey);
  border-bottom: 2px solid var(--kf-red);
  white-space: nowrap;
}

.policy-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: top;
}

.policy-table tr:hover td { background: var(--paper-2); }

.policy-contact-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-top: 8px;
}

.policy-contact-card p { margin-bottom: 6px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--grey);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.15s;
}

.back-link:hover { color: var(--kf-red); }
.back-link::before { content: '\2190'; }

/* Legal-page footer. The Microsite's privacy and terms pages previously had no
   footer and no link to each other, so a reader landing on one had no route to
   the other. */
.policy-footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 24px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--grey);
}

.policy-footer-links { display: inline-flex; gap: 8px; align-items: center; }
.policy-footer a { color: var(--grey); text-decoration: none; }
.policy-footer a:hover { color: var(--kf-red); text-decoration: underline; }
