/* Shared styling for BullMoose legal / privacy pages */

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

:root {
  --forest:    #2C3B2D;
  --moss:      #4A5E3A;
  --fern:      #6B7F55;
  --sage:      #A3B18A;
  --cream:     #F5F0E8;
  --parchment: #EDE6D6;
  --warm-mid:  #C8B99A;
  --amber:     #B5722A;
  --bark:      #7A4F2D;
  --ink:       #1E2419;
  --muted:     #6B6358;
  --border:    rgba(44,59,45,0.12);
  --border-strong: rgba(44,59,45,0.22);
}

html { scroll-behavior: smooth; }

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

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245,240,232,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--forest); }

.nav-cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--forest) !important;
  background: var(--parchment);
  border: 1px solid var(--border-strong);
  padding: 7px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nav-cta:hover { background: var(--forest) !important; color: var(--cream) !important; }

/* DOC HEADER */
.doc-header {
  padding: 132px 2rem 48px;
  border-bottom: 1px solid var(--border);
  background: var(--parchment);
  position: relative;
  overflow: hidden;
}

.doc-header::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: repeating-linear-gradient(
    45deg,
    var(--forest) 0,
    var(--forest) 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 8px 8px;
  z-index: 0;
}

.doc-header-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.doc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fern);
  margin-bottom: 1.25rem;
}

.doc-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--fern);
}

.doc-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--forest);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.doc-meta {
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fern);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.back-link:hover { color: var(--forest); }

/* DOC BODY */
.doc-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 2rem 96px;
}

.doc-intro {
  font-size: 17px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.doc-intro:last-of-type { margin-bottom: 2.5rem; }

.doc-body section {
  margin-bottom: 2.5rem;
}

.doc-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}

.doc-body h2 .num {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fern);
  font-family: 'DM Sans', sans-serif;
  flex-shrink: 0;
  min-width: 1.4rem;
}

.doc-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--forest);
  margin: 1.25rem 0 0.4rem;
}

.doc-body p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0.9rem;
}

.doc-body p strong { color: var(--forest); font-weight: 500; }

.doc-body ul {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
}

.doc-body li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.doc-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

.doc-body a {
  color: var(--bark);
  text-decoration: none;
  border-bottom: 1px solid rgba(122,79,45,0.3);
  transition: border-color 0.2s;
}

.doc-body a:hover { border-color: var(--bark); }

.doc-callout {
  background: var(--parchment);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-top: 1rem;
}

.doc-callout p { margin-bottom: 0; }

.doc-callout .label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fern);
  display: block;
  margin-bottom: 0.4rem;
}

/* PRIVACY HUB / LANDING GRID */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.policy-card {
  background: var(--cream);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 1.75rem;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.policy-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(44,59,45,0.1); }

.policy-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--parchment);
  border: 1px solid var(--border);
}

.policy-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.policy-card-icon-svg {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.policy-card-icon-svg svg { width: 22px; height: 22px; stroke: var(--sage); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.policy-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.policy-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.policy-card-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--fern);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* FOOTER */
footer {
  background: var(--ink);
  color: rgba(245,240,232,0.5);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-brand img {
  height: 24px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1) opacity(0.75);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: rgba(245,240,232,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(245,240,232,0.75); }

.footer-copy {
  font-size: 12px;
  color: rgba(245,240,232,0.25);
}

/* RESPONSIVE */
@media (max-width: 600px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .doc-header { padding: 100px 1.25rem 40px; }
  .doc-body { padding: 48px 1.25rem 72px; }
}
