/* Shared styles for the document pages (privacy, terms, support, 404).
   Tokens mirror collektor_premium/branding/brand.md — keep them in sync. */
:root {
  --bg: #080C16;
  --surface: #0E1424;
  --surface-mid: #151D33;
  --text: #EDE9F5;
  --text-2: #A8A8BC;
  --text-3: #787890;
  --gold: #F0B85F;
  --copper: #D2842E;
  --jewel: linear-gradient(150deg, #F0B85F 0%, #D2842E 42%, #7A84C4 100%);
  --gem-h: linear-gradient(95deg, #F0B85F 0%, #D2842E 48%, #6E2812 100%);
  --hairline: rgba(255,228,181,0.10);
  --hairline-warm: rgba(255,228,181,0.20);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-reading: "Newsreader", Georgia, serif;
  --font-ui: "Schibsted Grotesk", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; transition: color 180ms var(--ease); }
a:hover { color: #F6D08C; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,12,22,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { width: 34px; height: 34px; }
.wordmark {
  font-family: var(--font-display);
  font-style: italic; font-weight: 600;
  font-size: 26px; color: #EDE9F5;
  letter-spacing: 0.01em;
}
.nav-cta {
  display: inline-block;
  font-size: 15px; font-weight: 600;
  color: #fff !important;
  background: var(--gem-h);
  padding: 10px 22px;
  border-radius: 13px;
  box-shadow: inset 0 1px 0 rgba(255,247,230,0.5), 0 12px 26px -14px rgba(91,61,28,0.6);
}
.nav-cta:hover { filter: brightness(1.08); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--copper);
}

main { padding: 80px 0 110px; }
h1 {
  font-family: var(--font-display);
  font-style: italic; font-weight: 600;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.08;
  color: #EDE9F5;
  margin: 16px 0 12px;
  text-wrap: pretty;
}
.updated { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-3); margin-bottom: 48px; }
h2 {
  font-family: var(--font-display);
  font-style: italic; font-weight: 600;
  font-size: 30px; color: #EDE9F5;
  margin: 48px 0 14px;
}
h3 { font-size: 18px; font-weight: 600; color: var(--text); margin: 28px 0 8px; }
p, li { font-family: var(--font-reading); font-size: 17px; color: var(--text-2); text-wrap: pretty; }
p { margin-bottom: 16px; }
ul, ol { margin: 0 0 16px 22px; }
li { margin-bottom: 8px; }
strong { color: var(--text); font-weight: 600; }
code { font-family: var(--font-mono); font-size: 14px; color: var(--gold); }

.lede { font-size: 20px; color: var(--text-2); margin-bottom: 8px; }

.callout {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 24px 28px;
  margin: 32px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout.warn { border-color: var(--hairline-warm); }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--hairline-warm);
  border-radius: 18px;
  padding: 32px;
  margin: 32px 0;
  text-align: center;
}
.contact-card .email {
  font-family: var(--font-ui);
  font-size: 22px; font-weight: 600;
  color: var(--gold);
  display: inline-block; margin-top: 6px;
}

footer {
  border-top: 1px solid var(--hairline);
  padding: 36px 0 48px;
}
.foot-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand img { width: 24px; height: 24px; }
.foot-brand span { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 19px; color: #EDE9F5; }
footer .fine { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-3); }
footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
footer nav a { font-family: var(--font-ui); font-size: 14px; color: var(--text-2); }
footer nav a:hover { color: var(--text); }

/* 404 */
.notfound { text-align: center; padding: 120px 0 140px; }
.notfound .mark-lg { width: 88px; height: 88px; margin: 0 auto 28px; }
.notfound h1 { margin-top: 0; }
.notfound p { font-size: 19px; margin-bottom: 36px; }

@media (max-width: 560px) {
  main { padding: 56px 0 80px; }
  h2 { font-size: 26px; }
  .foot-inner { justify-content: center; text-align: center; }
  footer nav { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
