/* ── Parker legal pages (Privacy · Security · Terms) ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #f7f3ee;
  --bg-warm:   #efe9e0;
  --bg-dark:   #1e1a17;
  --ink:        #1a1612;
  --ink-mid:    #4a4540;
  --ink-muted:  #8a837a;
  --rust:       #c04f28;
  --rust-light: #e87a52;
  --rust-pale:  #f5ddd5;
  --rust-dim:   rgba(192,79,40,0.12);
  --border:     rgba(26,22,18,0.1);
  --border-warm:rgba(192,79,40,0.18);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Epilogue', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.65;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 18px 56px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(247,243,238,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.5px; text-decoration: none;
}
.logo span { color: var(--rust); }
nav ul { display: flex; gap: 36px; list-style: none; align-items: center; }
nav ul li a { font-size: 14px; color: var(--ink-muted); text-decoration: none; transition: color 0.2s; }
nav ul li a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink) !important;
  color: var(--bg) !important;
  padding: 9px 22px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
}
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 9px; margin: -9px -9px -9px 0;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── PAGE HEADER ── */
.legal-header {
  padding: 150px 56px 60px;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
}
.legal-header .wrap { max-width: 820px; margin: 0 auto; }
.legal-eyebrow {
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--rust); font-weight: 600; margin-bottom: 18px;
}
.legal-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 6vw, 60px); font-weight: 700;
  line-height: 1.05; letter-spacing: -1px; color: var(--ink);
}
.legal-updated { margin-top: 20px; font-size: 14px; color: var(--ink-muted); }

/* ── CONTENT ── */
.legal-body {
  max-width: 820px; margin: 0 auto; padding: 60px 56px 100px;
}
.legal-body .intro {
  font-size: 19px; color: var(--ink-mid); line-height: 1.7;
  padding-bottom: 36px; margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.legal-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px; font-weight: 700; letter-spacing: -0.5px;
  color: var(--ink); margin: 52px 0 16px;
}
.legal-body h3 {
  font-size: 17px; font-weight: 600; color: var(--ink);
  margin: 30px 0 10px;
}
.legal-body p { font-size: 16px; color: var(--ink-mid); margin-bottom: 16px; }
.legal-body ul, .legal-body ol { margin: 0 0 18px 22px; }
.legal-body li { font-size: 16px; color: var(--ink-mid); margin-bottom: 9px; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a { color: var(--rust); text-decoration: none; border-bottom: 1px solid var(--border-warm); }
.legal-body a:hover { color: var(--rust-light); }
.legal-body .toc {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 26px 30px; margin: 8px 0 44px;
}
.legal-body .toc h4 {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 600; margin-bottom: 14px;
}
.legal-body .toc ul { list-style: none; margin: 0; columns: 2; column-gap: 34px; }
.legal-body .toc li { margin-bottom: 8px; break-inside: avoid; }
.legal-body .toc a { border-bottom: 0; font-size: 15px; }
.legal-body .callout {
  background: var(--rust-dim); border-left: 3px solid var(--rust);
  border-radius: 0 10px 10px 0; padding: 20px 26px; margin: 26px 0;
}
.legal-body .callout p { margin: 0; color: var(--ink-mid); font-size: 15px; }
.section-anchor { scroll-margin-top: 100px; }

/* ── FOOTER ── */
footer {
  background: #141210; padding: 36px 56px;
  border-top: 1px solid rgba(247,243,238,0.06);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 700; color: #f7f3ee; text-decoration: none; }
.footer-logo span { color: var(--rust-light); }
.footer-links { display: flex; gap: 26px; list-style: none; }
.footer-links li a { font-size: 13px; color: rgba(247,243,238,0.3); text-decoration: none; transition: color 0.2s; }
.footer-links li a:hover { color: rgba(247,243,238,0.65); }
.footer-copy { font-size: 13px; color: rgba(247,243,238,0.2); }

/* ── TABLET ── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-toggle { display: flex; }
  nav ul {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 18px;
    background: rgba(247,243,238,0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  nav ul.open { display: flex; }
  nav ul li a {
    display: block; padding: 14px 0; font-size: 15px; color: var(--ink);
    border-bottom: 1px solid var(--border);
  }
  nav ul li:last-child a { border-bottom: 0; }
  .nav-cta {
    display: block !important; text-align: center; margin-top: 12px;
    padding: 13px 22px !important; font-size: 14px !important;
  }
  .legal-header { padding: 120px 24px 48px; }
  .legal-body { padding: 48px 24px 80px; }
  footer { padding: 32px 24px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links { gap: 18px; flex-wrap: wrap; }
}

/* ── MOBILE ── */
@media (max-width: 600px) {
  nav { padding: 14px 20px; }
  nav ul { padding: 8px 20px 18px; }
  .legal-body .toc ul { columns: 1; }
  .legal-body h2 { font-size: 26px; }
  footer { padding: 28px 20px; gap: 16px; }
}
