/* O'Flynn London - privacy page. Same tokens as style.css: pure black,
   white, two greys, Bricolage for headings, system Helvetica for reading.
   Measure capped at ~76ch for long legal text. */

@font-face {
  font-family: "Bricolage";
  src: url("/assets/fonts/bricolage-grotesque-v9-latin-700.woff2?v=20261030-1") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000000;
  --white: #FFFFFF;
  --ash: #A3A3A3;
  --ash-dim: #8C8C8C;
  --line: #262626;
  --line-hi: #3A3A3A;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Bricolage", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--black); scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ash);
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
a { color: var(--white); text-underline-offset: 2px; }

/* ---------- header: back link + the wordmark ---------- */
.legal-hero {
  max-width: 76ch;
  margin: 0 auto;
  padding: 26px clamp(18px, 5vw, 32px) 0;
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ash);
  text-decoration: none;
}
.legal__back:hover { color: var(--white); }
.legal__back svg { width: 18px; height: 18px; }
.legal-hero__mark { display: block; width: min(300px, 62vw); margin: 34px 0 0; color: var(--white); }
.legal-hero__mark svg { display: block; width: 100%; height: auto; }

/* ---------- body ---------- */
.legal {
  max-width: 76ch;
  margin: 0 auto;
  padding: 40px clamp(18px, 5vw, 32px) 64px;
}
.legal h1 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--white);
  text-wrap: balance;
}
.legal__intro { margin: 0 0 8px; font-size: 17px; color: var(--ash); }
.legal__meta { margin: 0 0 28px; font-size: 13px; color: var(--ash-dim); }

.legal h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--white);
}
.legal h2 a { color: inherit; text-decoration: none; }
.legal h2 a:hover { text-decoration: underline; }
.legal h3 { margin: 22px 0 6px; font-size: 1rem; color: var(--white); }
.legal p { margin: 0 0 12px; }
.legal strong { color: var(--white); font-weight: 600; }
.legal ul, .legal ol { margin: 0 0 14px; padding-left: 1.25em; }
.legal li { margin: 0 0 6px; }
.legal li::marker { color: var(--ash-dim); }

.sec { padding: 28px 0 6px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.sec.group { padding-bottom: 0; }
.updated { margin-top: 26px; color: var(--ash-dim); }

/* contents: one collapsible list, every width */
.toc { margin: 0 0 24px; border: 1px solid var(--line); border-radius: 14px; }
.toc summary {
  padding: 13px 16px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
}
.toc ol { margin: 0; padding: 0 16px 14px 2.2em; font-size: 14.5px; }
.toc a { color: var(--ash); text-decoration: none; }
.toc a:hover { color: var(--white); text-decoration: underline; }

/* cookie table (rebuilt from the source's image) */
.tablewrap { overflow-x: auto; margin: 6px 0 18px; }
.cookies { width: 100%; min-width: 30rem; border-collapse: collapse; font-size: 14.5px; }
.cookies caption { text-align: left; padding: 0 0 8px; color: var(--ash-dim); font-size: 13px; }
.cookies th, .cookies td { padding: 9px 12px; text-align: left; border: 1px solid var(--line-hi); }
.cookies th { color: var(--white); font-weight: 600; background: #141414; }

/* ---------- footer (same band as the sign-up page) ---------- */
.foot {
  padding: 18px clamp(16px, 4vw, 40px) 26px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.foot__right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot__legal { margin: 0; font-size: 12px; color: var(--ash-dim); }
.foot__legal a { color: var(--ash-dim); text-decoration: none; }
.foot__legal a:hover { color: var(--white); }
.foot__legal [data-louder-consent-open] { margin-left: .75em; padding-left: .85em; border-left: 1px solid var(--line-hi); }
.site-built { margin: 0; }
.site-built a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ash-dim);
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease;
}
.site-built a:hover { color: var(--white); border-color: var(--white); }
.site-built img { display: block; opacity: .9; }
@media (max-width: 899px) {
  .foot { justify-content: center; text-align: center; }
  .foot__right { justify-content: center; }
}
@media (max-width: 480px) {
  .foot { flex-direction: column; align-items: center; gap: 10px; padding-bottom: 22px; }
  .foot__right { flex-direction: column; align-items: center; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
