/* Terms, privacy and cookie pages — the Absurd Dreams brand on a plain, readable page (no 3D). */
@font-face { font-family: 'Breul Grotesk'; font-weight: 400; font-display: swap; src: local('Breul Grotesk'), local('BreulGrotesk-Regular'), url('/fonts/BreulGrotesk-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Breul Grotesk'; font-weight: 100 300; font-display: swap; src: local('Breul Grotesk Thin'), local('BreulGrotesk-Thin'), url('/fonts/BreulGrotesk-Thin.woff2') format('woff2'); }

:root {
  --bg: #191919; --panel: #202020; --text: #f4f0e8; --muted: #b3afa6; --dim: #85827a;
  --line: rgba(244, 240, 232, 0.12); --accent: #d8ff3e; --lilac: #a99bff; --lilac-text: #a99bff;
  --font: 'Breul Grotesk', 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
[data-theme='light'] {
  --bg: #f4f0e8; --panel: #fbf9f4; --text: #191919; --muted: #55524c; --dim: #85827a;
  --line: rgba(25, 25, 25, 0.12); --lilac-text: #5f4fe0;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--lilac-text); text-underline-offset: 3px; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 40px); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.logo { display: inline-grid; justify-items: center; padding: 7px 13px 6px; border-radius: 11px; background: #191919; line-height: 0.92; text-decoration: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
.logo b { font: 800 15px/0.95 var(--font); letter-spacing: -0.01em; }
.logo .a { color: #d8ff3e; } .logo .d { color: #a99bff; }
.logo i { margin-top: 3px; padding-left: 0.32em; font: 500 5.4px/1 var(--font); font-style: normal; letter-spacing: 0.32em; color: #f1efe8; }
.top-links { display: flex; align-items: center; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; background: none; cursor: pointer; }
.pill.icon { width: 38px; padding: 0; justify-content: center; }
.pill:hover { border-color: var(--lilac); }
.i-moon, [data-theme='light'] .i-sun { display: none; }
[data-theme='light'] .i-moon { display: block; }

main { max-width: 780px; margin: 0 auto; padding: 48px clamp(16px, 4vw, 40px) 40px; }
.eyebrow { display: inline-flex; gap: 10px; margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lilac-text); }
h1 { margin: 0 0 10px; font-size: clamp(40px, 7vw, 64px); font-weight: 400; line-height: 1; letter-spacing: -0.035em; }
.updated { margin: 0 0 28px; color: var(--dim); font-size: 14px; }
.lede { margin: 0 0 28px; font-size: clamp(18px, 2vw, 21px); font-weight: 200; line-height: 1.5; color: var(--text); }
.note { margin: 0 0 32px; padding: 14px 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 36px; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: 13.5px; }
.toc a:hover { color: var(--text); border-color: var(--lilac); }
section { padding: 26px 0; border-top: 1px solid var(--line); }
h2 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 12px; font-size: 26px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; }
h2 .n { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--lilac-text); }
h3 { margin: 18px 0 6px; font-size: 17px; font-weight: 600; }
p, li { color: var(--muted); }
p { margin: 0 0 12px; }
ul { margin: 0 0 12px; padding-left: 20px; }
li { margin: 4px 0; }
strong { color: var(--text); font-weight: 600; }
.table { overflow-x: auto; margin: 6px 0 14px; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
td { color: var(--muted); }
td code, p code { font-size: 13px; padding: 1px 6px; border-radius: 6px; background: var(--panel); border: 1px solid var(--line); color: var(--text); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.contact-card { margin-top: 8px; padding: 18px 20px; border-radius: 18px; background: var(--lilac); color: #191919; }
.contact-card p { color: rgba(25, 25, 25, 0.8); margin: 0 0 4px; }
.contact-card a { color: #191919; font-weight: 600; }

.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; max-width: 780px; margin: 0 auto; padding: 22px clamp(16px, 4vw, 40px) 40px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.foot nav { display: flex; gap: 16px; }
.foot a { color: var(--text); text-decoration: none; }
.foot a[aria-current='page'] { color: var(--lilac-text); }
@media (max-width: 600px) {
  .top-links .pill:not(.icon) { padding: 0 12px; font-size: 13px; }
  .foot { flex-direction: column; align-items: center; text-align: center; }
}
/* phones: each cookie becomes a small labelled card */
@media (max-width: 600px) {
  .table { border: 0; overflow: visible; }
  table, tbody, tr, td { display: block; }
  thead { display: none; }
  tr { margin-bottom: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; }
  td { padding: 3px 0; border: 0; }
  td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
  tr:last-child td { border: 0; }
}
