/* ================================================
   SPEND MOMENTS — POLICY PAGES STYLESHEET
   Matches site design tokens: cream, sage, charcoal
   Cormorant Garamond + DM Sans
   ================================================ */

:root {
  --cream:        #fdf7f1;
  --warm-white:   #f9f3ec;
  --parchment:    #efe6d8;
  --sage:         #6b8f71;
  --sage-dark:    #4a6b50;
  --sage-pale:    #d6e8d8;
  --charcoal:     #2a2e2b;
  --charcoal-mid: #4a514b;
  --muted:        #7a877b;
  --border:       rgba(74,107,80,0.12);
  --border-dark:  rgba(74,107,80,0.22);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', 'Helvetica Neue', sans-serif;
  --radius-lg:    22px;
  --shadow-sm:    0 2px 12px rgba(42,46,43,0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--sage-dark); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--sage); }

/* ---- NAV BAR ---- */
.policy-nav {
  background: rgba(253,247,241,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.policy-nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
}

.policy-nav-back {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.18s;
}

.policy-nav-back:hover { color: var(--sage-dark); }

/* ---- PAGE WRAP ---- */
.policy-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}

/* ---- ARTICLE CARD ---- */
.policy-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  box-shadow: var(--shadow-sm);
}

/* ---- TYPOGRAPHY ---- */
.policy-card h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.policy-updated {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 36px;
  display: block;
}

.policy-card h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-top: 44px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.policy-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-top: 28px;
  margin-bottom: 8px;
}

.policy-card p {
  font-size: 0.95rem;
  color: var(--charcoal-mid);
  line-height: 1.78;
  font-weight: 300;
  margin-bottom: 16px;
}

.policy-card ul, .policy-card ol {
  padding-left: 0;
  list-style: none;
  margin-bottom: 18px;
}

.policy-card ul li, .policy-card ol li {
  font-size: 0.95rem;
  color: var(--charcoal-mid);
  font-weight: 300;
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.policy-card ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-size: 1.3rem;
  line-height: 1.4;
}

.policy-card ol { counter-reset: item; }
.policy-card ol li { counter-increment: item; }
.policy-card ol li::before {
  content: counter(item) '.';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.9;
}

.policy-card strong { font-weight: 500; color: var(--charcoal); }

.policy-note {
  background: rgba(107,143,113,0.06);
  border: 1px solid rgba(107,143,113,0.18);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0;
}

.policy-note p { color: var(--sage-dark); margin-bottom: 0; font-size: 0.88rem; }

/* Divider between intro and sections */
.policy-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* ---- FOOTER ---- */
.policy-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.4);
  padding: 40px;
  text-align: center;
}

.policy-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-bottom: 16px;
  list-style: none;
}

.policy-footer-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.18s;
}

.policy-footer-links a:hover { color: rgba(255,255,255,0.8); }

.policy-footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
  font-weight: 300;
}

.policy-footer-disclaimer {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.2);
  font-weight: 300;
  font-style: italic;
  max-width: 600px;
  margin: 12px auto 0;
  line-height: 1.6;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
  .policy-nav { padding: 0 20px; }
  .policy-wrap { padding: 40px 20px 64px; }
  .policy-card { padding: 32px 24px; }
  .policy-card h1 { font-size: 1.8rem; }
  .policy-footer { padding: 32px 20px; }
}
