/* Private Party: the legal pages (privacy.html, terms.html).
   Same identity as the site: black and ivory, Geist, the seal, one ember accent.
   Layout: a contents rail on the left that stays put, the text on the right at a reading width. */

:root {
  --black: #050505; --tile: #0d0c0b; --ivory: #EDE7DC; --grey: #8d877d; --grey-light: #b9b3a8;
  --ember: #FF6A3A; --line: rgba(255, 250, 240, .1);
  --f-sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 28px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--black); color: var(--ivory); font: 400 1rem/1.6 var(--f-sans); letter-spacing: -.005em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
svg { display: block; }
::selection { background: var(--ember); color: var(--black); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 4px; }

.page { max-width: 1200px; margin: 0 auto; padding: clamp(24px, 4vw, 44px) clamp(20px, 4.4vw, 56px) 0; }
.label { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); }
.wordmark { font-weight: 800; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; margin-right: -.16em; font-size: .84rem; }
.mark { fill: currentColor; flex: none; width: 30px; height: 30px; }

.top { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; }
.top a { text-decoration: none; }
.lock { display: inline-flex; align-items: center; gap: .9rem; }
.top nav { display: flex; gap: 1.6rem; }
.top nav a { color: var(--grey); transition: color .15s ease; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--ivory); }

.intro { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); display: grid; gap: 1.5rem; }
h1 { font-weight: 800; font-size: clamp(2.8rem, 7.4vw, 6rem); line-height: .92; letter-spacing: -.065em; text-wrap: balance; }
h1 em { font-style: normal; color: var(--ember); }
.intro p { color: var(--grey-light); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.5; max-width: 36em; }
.intro p b { font-weight: inherit; color: var(--ivory); }
.intro p.label { font-size: .68rem; line-height: 1.6; color: var(--grey); max-width: none; }

.short { margin-top: .5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.short li { background: var(--tile); border-radius: 22px; box-shadow: inset 0 1px 0 rgba(255, 250, 240, .08); padding: 22px 22px 24px; display: grid; gap: .5rem; align-content: start; }
.short b { font-weight: 800; font-size: 1.25rem; line-height: 1.08; letter-spacing: -.045em; }
.short span { color: var(--grey-light); font-size: .95rem; line-height: 1.45; }

.cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 9vw, 7rem); }
.toc { display: grid; gap: 1rem; align-content: start; }
.toc ol { display: grid; gap: .1rem; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 2.1em minmax(0, 1fr); padding: .32rem 0; color: var(--grey); text-decoration: none; font-size: .95rem; line-height: 1.35; transition: color .15s ease; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-variant-numeric: tabular-nums; font-size: .72rem; letter-spacing: .08em; padding-top: .2em; color: var(--grey); opacity: .7; }
.toc a:hover { color: var(--ivory); }
@media (min-width: 940px) {
  .cols { grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: clamp(3rem, 7vw, 7rem); }
  .toc { position: sticky; top: 28px; max-height: calc(100vh - 56px); overflow-y: auto; }
}

.text { max-width: 44rem; counter-reset: sec; }
.text section { counter-increment: sec; padding: clamp(2rem, 4vw, 3rem) 0; border-top: 1px solid var(--line); display: grid; gap: 1rem; }
.text section:first-child { border-top: 0; padding-top: 0; }
.text h2 { font-weight: 800; font-size: clamp(1.6rem, 2.9vw, 2.25rem); line-height: 1.04; letter-spacing: -.055em; text-wrap: balance; display: grid; gap: .7rem; }
.text h2::before { content: counter(sec, decimal-leading-zero); font-weight: 600; font-size: .68rem; letter-spacing: .16em; color: var(--ember); font-variant-numeric: tabular-nums; }
.text h3 { font-weight: 700; font-size: 1.06rem; letter-spacing: -.02em; margin-top: .6rem; }
.text p, .text li { color: var(--grey-light); }
.text b, .text strong { font-weight: 600; color: var(--ivory); }
.text a { color: var(--ivory); text-decoration: underline; text-decoration-color: rgba(237, 231, 220, .35); text-underline-offset: 3px; }
.text a:hover { text-decoration-color: var(--ember); }
.text ul { display: grid; gap: .55rem; }
.text ul li { position: relative; padding-left: 1.3rem; }
.text ul li::before { content: ""; position: absolute; left: .15rem; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--grey); }
.text .loud { background: var(--tile); border-radius: 22px; box-shadow: inset 0 1px 0 rgba(255, 250, 240, .08); padding: 22px 24px; display: grid; gap: .9rem; }
.text .loud p { color: var(--ivory); }
.table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th { text-align: left; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); padding: 0 16px 10px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); color: var(--grey-light); }
td:first-child { color: var(--ivory); font-weight: 600; white-space: nowrap; }
td:last-child, th:last-child { padding-right: 0; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 44px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.foot div { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; }
.foot a { color: var(--grey); text-decoration: none; transition: color .15s ease; }
.foot a:hover { color: var(--ivory); }
@media (max-width: 560px) { td:first-child { white-space: normal; } }
