/* RPS Creative policy pages and footer legal navigation.
   Uses existing site typography and palette; original homepage layout untouched. */
.rps-policy-page {
  background: var(--surface);
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}
.rps-policy-page .site-nav {
  background: #0e0e0e;
  border-bottom-color: rgba(255,255,255,0.16);
}
.rps-policy-page main { background: var(--surface); }
.rps-policy-masthead {
  background: var(--black);
  color: #ffffff;
  padding: 150px 40px 78px;
}
.rps-policy-masthead-inner { max-width: 1120px; margin: 0 auto; }
.rps-policy-kicker {
  color: var(--cyan);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.23em;
  line-height: 1.4;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.rps-policy-masthead h1 {
  color: #ffffff;
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}
.rps-policy-subtitle {
  max-width: 740px;
  margin-top: 26px;
  color: #cccccc;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.8;
}
.rps-policy-content {
  max-width: 960px;
  padding: 66px 40px 105px;
  margin: 0 auto;
}
.rps-policy-toc {
  background: #f4f4f4;
  border: 1px solid #e7e7e7;
  border-left: 4px solid var(--cyan);
  padding: 28px 32px;
  border-radius: 3px;
  margin-bottom: 24px;
}
.rps-policy-toc h2 { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.rps-policy-toc ul { list-style: none; display: grid; gap: 11px; }
.rps-policy-toc a { color: #333333; font-size: 14px; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; }
.rps-policy-toc a:hover { color: #000000; }
.rps-policy-updated {
  margin-bottom: 34px;
  color: #666666;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.rps-policy-section {
  scroll-margin-top: 96px;
  padding: 38px 0;
  border-top: 1px solid #dedede;
}
.rps-policy-section:first-of-type { border-top: 0; }
.rps-policy-section h2 {
  font-size: clamp(24px, 3vw, 31px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
}
.rps-policy-section h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin: 26px 0 10px;
}
.rps-policy-section p,
.rps-policy-section li,
.rps-policy-section address {
  font-size: 15px;
  line-height: 1.82;
  color: #383838;
}
.rps-policy-section p + p { margin-top: 14px; }
.rps-policy-section ul { margin: 14px 0 20px; padding-left: 24px; }
.rps-policy-section li + li { margin-top: 12px; }
.rps-policy-section address { font-style: normal; margin: 12px 0; }
.rps-policy-section a { color: #111111; text-decoration: underline; text-underline-offset: 3px; }
.rps-policy-section a:hover { color: #555555; }
.rps-policy-section code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; }
.rps-policy-review-note {
  border-left: 4px solid #222222;
  background: #f4f4f4;
  padding: 20px 24px;
  font-size: 15px;
  line-height: 1.75;
  color: #222222;
}
.rps-policy-review-note strong { display: block; font-size: 15px; margin-bottom: 6px; }
.rps-policy-table-scroll { max-width: 100%; overflow-x: auto; margin: 18px 0 26px; }
.rps-policy-cookie-table { border-collapse: collapse; width: 100%; min-width: 560px; table-layout: fixed; }
.rps-policy-cookie-table th,
.rps-policy-cookie-table td {
  padding: 16px 17px;
  text-align: left;
  vertical-align: top;
  border: 1px solid #dcdcdc;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.rps-policy-cookie-table th { background: #efefef; color: #141414; font-weight: 700; }
.rps-policy-cookie-table td { background: #ffffff; color: #383838; }
.rps-policy-cookie-table th:first-child { width: 28%; }
.rps-policy-cookie-table th:last-child { width: 28%; }
.rps-policy-settings-button {
  display: inline-block;
  background: #101010;
  color: #ffffff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.07em;
  border: 1px solid #101010;
  border-radius: 50px;
  cursor: pointer;
  padding: 13px 27px;
  margin-top: 24px;
}
.rps-policy-settings-button:hover { background: #343434; }
.rps-policy-settings-button:focus-visible,
.rps-policy-page a:focus-visible { outline: 3px solid #008a7b; outline-offset: 4px; }

/* Extra legal links added to the existing footer, with no changes to other homepage sections. */
.rps-footer-meta { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.rps-footer-legal { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 17px; }
.rps-footer-legal a,
.rps-footer-legal button {
  background: transparent;
  border: 0;
  color: #cccccc;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.rps-footer-legal a:hover, .rps-footer-legal button:hover { color: var(--cyan); }
.rps-footer-legal a:focus-visible, .rps-footer-legal button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
@media (max-width: 850px) {
  .footer-inner { gap: 20px; }
  .rps-footer-meta { max-width: 64%; }
}
@media (max-width: 640px) {
  .rps-policy-masthead { padding: 122px 24px 60px; }
  .rps-policy-content { padding: 42px 24px 76px; }
  .rps-policy-toc { padding: 24px 20px; }
  .rps-policy-section { padding: 32px 0; }
  .rps-footer-meta { max-width: 100%; }
  .rps-footer-legal { gap: 12px 15px; }
}
