/* Shared styles for legal/static pages: privacy, terms, about */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0F1419;
  --bg-elevated: #161C22;
  --bg-card: #1A2028;
  --text-primary: #E8E4DE;
  --text-body: #D4D0C8;
  --text-secondary: #B5AFA5;
  --text-muted: #8A8480;
  --accent: #c9bda5;
  --accent-bright: #e8dcc6;
  --rule: #1e1e28;
  --rule-light: #2a2833;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', -apple-system, sans-serif;
}

html {
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: linear-gradient(180deg, #0F1419 0%, #1A2028 100%);
  background-attachment: fixed;
  color: var(--text-body);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.8;
  min-height: 100vh;
}

::selection { background: var(--accent); color: var(--bg); }

a { color: var(--accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent-bright); }

/* ==================== HEADER ==================== */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 28px 0;
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--rule);
}
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo {
  font-family: var(--sans); font-weight: 500; font-size: 0.82rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text-primary); text-decoration: none;
}
.header-cta {
  font-family: var(--sans); font-size: 0.82rem; font-weight: 400;
  letter-spacing: 0.06em; color: var(--text-primary); text-decoration: none;
  padding: 11px 28px; border: 1px solid var(--text-muted);
  transition: all 0.3s ease;
}
.header-cta:hover {
  background: var(--text-primary); color: var(--bg);
  border-color: var(--text-primary);
}

/* ==================== CONTAINER ==================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 80px); }
.container--narrow { max-width: 760px; }

/* ==================== ARTICLE ==================== */
.article {
  padding: clamp(140px, 20vh, 200px) 0 clamp(80px, 12vh, 140px);
}

.article-eyebrow {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 24px; display: flex; align-items: center; gap: 16px;
}
.article-eyebrow::before {
  content: ''; display: block; width: 32px; height: 1px; background: var(--accent);
}

.article h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--text-primary); margin-bottom: 24px;
}

.article-updated {
  font-size: 0.85rem; color: var(--text-muted);
  letter-spacing: 0.04em; margin-bottom: 56px;
}

.article h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  line-height: 1.3; color: var(--text-primary);
  margin-top: 56px; margin-bottom: 20px;
}

.article h3 {
  font-family: var(--sans); font-weight: 500;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-top: 36px; margin-bottom: 14px;
}

.article p {
  font-size: 1.02rem; line-height: 1.85;
  color: var(--text-body); margin-bottom: 20px;
}

.article p strong { color: var(--text-primary); font-weight: 500; }

.article ul, .article ol {
  font-size: 1.02rem; line-height: 1.85;
  color: var(--text-body); margin-bottom: 24px; padding-left: 24px;
}

.article li { margin-bottom: 10px; }

.article hr {
  border: none; border-top: 1px solid var(--rule);
  margin: 56px 0;
}

.contact-block {
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  padding: 28px 32px; margin-top: 32px;
}
.contact-block h3 { margin-top: 0; }
.contact-block p { margin-bottom: 8px; font-size: 0.95rem; }
.contact-block p:last-child { margin-bottom: 0; }

/* ==================== FOOTER ==================== */
footer {
  border-top: 1px solid var(--rule);
  padding: 48px 0;
}
footer .container {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 32px;
  flex-wrap: wrap;
}
.footer-left {
  font-size: 0.85rem; color: var(--text-muted);
  line-height: 1.7;
}
.footer-left strong { color: var(--text-secondary); font-weight: 500; }
.footer-links {
  display: flex; gap: 24px; align-items: center;
  font-size: 0.82rem;
}
.footer-links a {
  color: var(--text-muted); text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--text-primary); }
.footer-easter-egg {
  font-size: 0.78rem; color: var(--text-muted);
  opacity: 0.4; font-style: italic;
  transition: opacity 0.4s ease;
}
.footer-easter-egg:hover { opacity: 0.8; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  footer .container { flex-direction: column; gap: 16px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}
