/* ============================================================
   Shared styles for the legal / support pages.
   Lifts the palette + typography from index.html so the experience
   is identical across the site without duplicating the full <style>
   block in every file.
   ============================================================ */

:root {
  --bg-top:        #F5EFE6;
  --bg-bottom:     #EDE5D3;
  --pine-deep:     #0B3D2E;
  --pine:          #1A4D3A;
  --pine-light:    #2D5F4A;
  --cream:         #FAF6EE;
  --cream-deep:    #EDE5D3;
  --ink:           #0A0A0A;
  --muted:         #6B5D4D;
  --line:          #1A1A1A;
  --warn:          #B85C00;
  --warn-bg:       #FBEFD4;
  --max-w:         860px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg-top);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--pine-deep); transition: opacity .2s cubic-bezier(0.22, 1, 0.36, 1); }
a:hover { opacity: 0.7; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ----- Nav (matches index.html) ----- */
nav.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 239, 230, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1.5px solid var(--line);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 28px; height: 32px; flex-shrink: 0; }
.brand-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.nav-cta {
  background: var(--pine-deep); color: var(--cream) !important;
  padding: 10px 20px;
  border: 1.5px solid var(--pine-deep);
  box-shadow: 0 2px 0 var(--ink);
  font-weight: 700; font-size: 13px; letter-spacing: 0.4px; text-transform: uppercase;
}
@media (max-width: 760px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ----- Long-form content ----- */
main.legal { padding: 56px 0 100px; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--pine-deep);
  margin-bottom: 14px;
  display: inline-block;
}

main.legal h1 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 600;
  font-size: clamp(44px, 6vw, 64px);
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin: 0 0 14px;
  color: var(--ink);
}
main.legal h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: -0.4px;
  margin: 48px 0 14px;
  color: var(--ink);
}
main.legal h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.2px;
  margin: 32px 0 8px;
  color: var(--ink);
}
main.legal p { margin: 0 0 14px; color: var(--ink); }
main.legal .meta { font-size: 13px; color: var(--muted); margin-bottom: 30px; }
main.legal .lead { font-size: 18px; color: var(--ink); margin-bottom: 28px; line-height: 1.55; }
main.legal ul { padding-left: 20px; margin: 0 0 20px; }
main.legal ul li { margin: 8px 0; color: var(--ink); }
main.legal strong { font-weight: 700; color: var(--ink); }

.callout {
  background: var(--warn-bg);
  border: 1.5px solid var(--line);
  border-left-width: 4px;
  padding: 18px 22px;
  margin: 24px 0 32px;
  font-size: 15px;
}

.legal-foot {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1.5px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
