/* Privacy and terms pages: a plain reading column on the site ground.
   Tokens mirror styles.css :root; the main stylesheet is not loaded here
   because its fixed header and scroll chrome belong to the film page. */
:root {
  color-scheme: dark;
  --bg: #050607;
  --ink: #f4f6f0;
  --accent: #01a2f6;
  --font-display: "Clash Display", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Satoshi", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Cascadia Code", "JetBrains Mono", "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --pad-x: max(16px, calc((100vw - 1240px) / 2));
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--ink) 82%, transparent);
  background: var(--bg);
}

::selection { color: #07100b; background: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent);
  text-underline-offset: 0.2em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}
a:hover { color: var(--accent); text-decoration-color: var(--accent); }

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--pad-x);
  border-bottom: 1px solid rgba(244, 246, 240, 0.1);
}
.legal-header img { display: block; width: 120px; height: auto; }
.legal-header a { display: inline-flex; align-items: center; min-height: 44px; }
.legal-back {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}

.legal {
  width: min(100% - 32px, 44rem);
  margin: 0 auto;
  padding: 3.5rem 0 5rem;
}

.legal-kicker {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.legal h1 {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.legal-lede {
  margin: 0 0 2.6rem;
  font-size: 1.2rem;
  color: color-mix(in srgb, var(--ink) 90%, transparent);
}

.legal h2 {
  margin: 2.8rem 0 0.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(244, 246, 240, 0.1);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ink);
}

.legal p,
.legal ul,
.legal dl { margin: 0 0 1rem; }

.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: 0.4rem; }
.legal li::marker { color: var(--accent); }

.legal strong { color: var(--ink); font-weight: 500; }

/* "what we hold" table reads as a definition list, stacked on phones */
.legal dl {
  display: grid;
  gap: 0.2rem 1.6rem;
}
.legal dt { color: var(--ink); font-weight: 500; }
.legal dd { margin: 0 0 0.8rem; }
@media (min-width: 640px) {
  .legal dl { grid-template-columns: 11rem minmax(0, 1fr); }
  .legal dd { margin: 0; padding-bottom: 0.8rem; }
}

.legal address {
  font-style: normal;
  margin: 0 0 1rem;
  padding: 1rem 1.2rem;
  border-left: 2px solid var(--accent);
  background: rgba(244, 246, 240, 0.03);
}

.legal-footer {
  padding: 1.6rem var(--pad-x) 2.4rem;
  border-top: 1px solid rgba(244, 246, 240, 0.08);
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--ink) 62%, transparent);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  justify-content: space-between;
  align-items: center;
}
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 0 1.4rem; }
.legal-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}
.legal-footer a[aria-current="page"] { color: var(--ink); text-decoration-color: var(--accent); }
