/* Terms of Use and Privacy Policy: English only, same night theme as the landing page, built for long reading. */
:root {
  color-scheme: dark;
  --night: #0c0a12;
  --paper: #f1ebe2;
  --body: #d9d2e4;
  --mist: #a69fb4;
  --link: #b9a3ff;
  --leaf: #e0b157;
  --line: rgba(241, 235, 226, .12);
  --glass: rgba(22, 18, 32, .72);
  --glass-edge: rgba(255, 255, 255, .14);
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: radial-gradient(80% 50% at 50% 0%, rgba(155, 123, 255, .12), transparent 70%) no-repeat, var(--night);
  color: var(--body);
  font: 400 1rem/1.7 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 20px 10px;
  background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--glass-edge);
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--paper); text-decoration: none; font: italic 500 1.3rem/1 var(--f-display); }
.brand img { width: 30px; height: 30px; }
.back { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--glass-edge); border-radius: 999px; color: var(--paper); text-decoration: none; font-size: .875rem; font-weight: 600; }
.back:hover { background: rgba(255, 255, 255, .08); }

.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 40px; }
.eyebrow { margin: 0; color: var(--leaf); font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 6px 0 0; color: var(--paper); font: 500 clamp(2.2rem, 6vw, 3.2rem)/1.08 var(--f-display); letter-spacing: -.015em; }
.meta { margin: 10px 0 0; color: var(--mist); font-size: .875rem; }
.lede { margin: 24px 0 0; padding: 16px 18px; border: 1px solid rgba(224, 177, 87, .35); border-radius: 16px; background: rgba(224, 177, 87, .06); color: var(--paper); }
.toc { margin: 28px 0 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; }
.toc h2 { margin: 0 0 8px; font: 600 .8125rem/1.4 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--mist); }
.toc ol { margin: 0; padding-left: 1.4em; columns: 2 240px; column-gap: 28px; }
.toc li { break-inside: avoid; }
.toc a { color: var(--body); text-decoration: none; }
.toc a:hover { color: var(--paper); text-decoration: underline; }

section { margin-top: 40px; }
section h2 { margin: 0; color: var(--paper); font: 500 1.45rem/1.25 var(--f-display); }
section h3 { margin: 22px 0 0; color: var(--paper); font-size: 1rem; font-weight: 600; }
p, ul, ol { margin: 12px 0 0; }
li + li { margin-top: 6px; }
b, strong { color: var(--paper); font-weight: 600; }
.caps { font-size: .9375rem; text-transform: uppercase; letter-spacing: .01em; }
table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: .9375rem; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--paper); font-weight: 600; }
.wide { overflow-x: auto; }
.end { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--mist); font-size: .875rem; text-align: center; }

footer { padding: 24px 20px calc(36px + env(safe-area-inset-bottom, 0px)); color: var(--mist); font-size: .8125rem; text-align: center; }
footer .in { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 1160px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--line); }
footer p { margin: 0; }
.legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; }
.legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--paper); text-decoration: none; font-weight: 500; }
.legal a:hover, .legal a[aria-current="page"] { text-decoration: underline; }
.made a { color: var(--paper); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(241, 235, 226, .3); }
.heart { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -.17em; fill: #ff3d6e; }

@media print {
  body { background: #fff; color: #000; }
  .bar, footer, .toc { display: none; }
  h1, section h2, section h3, b, strong, th { color: #000; }
  a { color: #000; }
}
