/* Privacy Policy and Terms of Use (/privacy/, /terms/): the B2B page's colours, fonts, header and footer, with one
   readable column of text. Tailwind skips this file and the two pages (see @source not in src/index.css) */
:root {
  --bg: #0f1622;
  --bg-deep: #0b1019;
  --card: #0c121b;
  --line: rgba(255, 255, 255, 0.07);
  --gold: #e5bf72;
  --gold-hi: #f3d79c;
  --cream: #f5f0e6;
  --text: #d6d9de;
  --muted: #8d939c;
  --display: Optima, 'Optima Nova', Candara, 'Segoe UI', sans-serif;
  --body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 63px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.7 var(--body); -webkit-font-smoothing: antialiased; font-variant-numeric: lining-nums; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-hi); }
::selection { background: var(--gold); color: var(--bg); }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.16); border-radius: 99px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* header: the brand as on the B2B page, two links back to the site */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(15, 22, 34, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { font: 700 1.2rem/1 var(--display); letter-spacing: 0.04em; color: var(--cream); text-decoration: none; white-space: nowrap; }
.brand span { color: var(--gold); }
.brand:hover { color: var(--cream); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); }
.nav-links a { color: #c4c9d1; text-decoration: none; font-size: 0.88rem; white-space: nowrap; }
.nav-links a:hover { color: var(--gold); }

/* the document */
.doc { max-width: 800px; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 104px); }
.doc h1 { font: 700 clamp(2.2rem, 5vw, 3.6rem)/1.05 var(--display); text-transform: uppercase; color: var(--cream); margin: 0 0 14px; letter-spacing: 0.005em; }
.doc .updated { color: var(--gold); margin: 0 0 28px; font-size: 0.95rem; }
.doc .intro { font-size: 1.08rem; color: var(--text); }
.doc h2 { font: 700 clamp(1.3rem, 2.4vw, 1.7rem)/1.2 var(--display); text-transform: uppercase; color: var(--cream); margin: 48px 0 12px; letter-spacing: 0.01em; scroll-margin-top: calc(var(--nav-h) + 16px); }
.doc h3 { font-size: 1.02rem; font-weight: 600; color: var(--gold); margin: 24px 0 6px; }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 6px; }
.doc li { position: relative; padding-left: 22px; }
.doc li::before { content: ''; position: absolute; left: 4px; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.doc strong { color: var(--cream); font-weight: 600; }

/* contents: a card of anchors at the top */
.toc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin: 28px 0 8px; }
.toc p { margin: 0 0 8px; color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.toc ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 32px; }
.toc li { padding: 0; margin-bottom: 4px; break-inside: avoid; }
.toc li::before { content: none; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--gold); }

/* the boxed bits: who to write to, the Limited Use statement */
.box { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 12px; padding: 16px 20px; margin: 16px 0 18px; }
.box p:last-child { margin-bottom: 0; }

.doc .settings { font: 600 0.9rem/1 var(--body); color: var(--cream); background: none; border: 1px solid rgba(229, 191, 114, 0.45); border-radius: 10px; padding: 11px 18px; cursor: pointer; }
.doc .settings:hover { border-color: var(--gold); color: var(--gold); }

/* the email is put together by a script, so spam bots reading the page see no address */
.mail { white-space: nowrap; }

/* footer: as on the B2B page, with the links row */
.foot { border-top: 1px solid var(--line); padding: 26px 0; color: var(--muted); font-size: 0.85rem; }
.foot .wrap { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; }
.foot p { margin: 6px 0 0; }
.foot .legal b { color: #b9bec6; font-weight: 600; letter-spacing: 0.02em; }
.foot .legal span { white-space: nowrap; }
.foot-links a, .foot-links button { color: var(--muted); text-decoration: none; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.foot-links a:hover, .foot-links button:hover, .foot-links [aria-current] { color: var(--gold); }
.site-link { display: inline-block; font: 700 0.95rem/1 var(--display); letter-spacing: 0.06em; color: var(--cream); text-decoration: none; white-space: nowrap; }
.site-link span { color: var(--gold); }
.site-link:hover { color: var(--gold-hi); }

@media (max-width: 640px) {
  .toc ol { columns: 1; }
  .nav-links .opt { display: none; }
}
