/* ═══════════════════════════════════════════════════════════
   Board Insight Studio — Policy Page Styles
   Shared by privacy.html, terms.html, refunds.html
   ═══════════════════════════════════════════════════════════ */

:root {
  --ink: #0f172a;
  --indigo-deep: #1e1b4b;
  --indigo: #4338ca;
  --indigo-light: #c7d2fe;
  --indigo-faint: #eef2ff;
  --purple: #64288C;
  --cream: #faf7f2;
  --mist: #f5f3ef;
  --rule: #e5e7eb;
  --muted: #6b7280;
  --body: #374151;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-weight: 400;
  color: var(--body);
  background: var(--cream);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--indigo);
  text-decoration: none;
  transition: color 0.2s;
  border-bottom: 1px solid transparent;
}
a:hover {
  color: var(--purple);
  border-bottom-color: var(--purple);
}

strong { color: var(--ink); font-weight: 600; }
em { font-style: italic; color: var(--purple); }

.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
  display: inline-block;
}

/* ─── NAV ─── */
.nav {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: none;
}
.brand:hover { color: var(--purple); border-bottom: none; }
.brand-mark { display: inline-flex; align-items: center; }
.nav-back {
  font-size: 14px;
  color: var(--body);
  border-bottom: none;
}
.nav-back:hover { color: var(--purple); border-bottom: none; }
@media (max-width: 700px) {
  .nav-inner { padding: 16px 24px; }
  .nav-back { font-size: 13px; }
}

/* ─── DOC HEADER ─── */
.doc-header {
  padding: 80px 40px 60px;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}
.doc-header-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.doc-header .eyebrow {
  margin-bottom: 20px;
}
.doc-header h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.doc-meta {
  font-family: 'DM Mono', 'DM Sans', monospace;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ─── DOC BODY ─── */
.doc-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 40px 100px;
}
.doc-intro {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-style: italic;
  color: var(--indigo-deep);
  line-height: 1.55;
  margin-bottom: 56px;
  padding-left: 24px;
  border-left: 2px solid var(--purple);
}

.doc-body h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 30px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 56px 0 20px;
  line-height: 1.2;
}
.doc-body h2:first-of-type { margin-top: 0; }

.doc-body h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--indigo-deep);
  margin: 36px 0 14px;
  line-height: 1.3;
}

.doc-body p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--body);
}

.doc-body ul {
  margin: 0 0 24px 0;
  padding-left: 0;
  list-style: none;
}
.doc-body ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  line-height: 1.75;
}
.doc-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 1.5px;
  background: var(--purple);
}

.doc-rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 64px 0 40px;
}

/* ─── CALLOUT ─── */
.doc-callout {
  background: var(--mist);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 28px 32px;
  margin-top: 32px;
}
.doc-callout-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}
.doc-callout p {
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--body);
}
.doc-callout p:last-child { margin-bottom: 0; }

/* ─── FOOTER ─── */
footer {
  background: var(--ink);
  color: #c7d2fe;
  padding: 64px 40px 32px;
  margin-top: 80px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: none;
}
.footer-brand:hover { color: #a78bfa; border-bottom: none; }
.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 14px;
  color: #c7d2fe;
  border-bottom: none;
}
.footer-links a:hover { color: #fff; border-bottom: none; }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(199, 210, 254, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #6b7280;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 700px) {
  .doc-header { padding: 56px 24px 40px; }
  .doc-body { padding: 48px 24px 72px; }
  .doc-body h2 { font-size: 26px; }
  .doc-intro { font-size: 18px; padding-left: 18px; }
  footer { padding: 48px 24px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
}
