/* ══════════════════════════════════════════════════════════
   WRENKIT — LEGAL PAGE STYLES
   Shared CSS for privacy.html and terms.html.
   Shared styles (root, reset, body, grain, header, nav)
   live in global.css.
   ══════════════════════════════════════════════════════════ */


/* ── NAV CTA (legal pages use a CTA button in nav) ────── */

.nav-cta {
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; background: var(--tide); padding: 8px 18px;
  border-radius: var(--r); text-decoration: none; transition: background 0.15s;
}
.nav-cta:hover { background: #3a5658; }

/* ── PAGE HERO ──────────────────────────────────────────── */

.page-hero {
  background: var(--sand); border-bottom: 1px solid var(--border);
  padding: 80px 56px 72px;
  position: relative; overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute; right: -120px; top: -120px;
  width: 400px; height: 400px; border-radius: 50%;
  border: 1px solid var(--border); opacity: 0.5; pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--drift); margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}

.hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--stone); }

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 300;
  letter-spacing: -0.01em; color: var(--ink); margin-bottom: 16px;
}

.page-hero .updated {
  font-size: 0.65rem; color: var(--stone); letter-spacing: 0.14em;
}

/* ── DOCUMENT BODY ──────────────────────────────────────── */

.doc-body {
  max-width: 760px; margin: 0 auto;
  padding: 72px 56px 120px;
}

.doc-section { margin-bottom: 52px; }

.doc-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 400; color: var(--ink);
  margin-bottom: 16px; letter-spacing: 0.02em;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}

.doc-section p {
  font-size: 0.85rem; line-height: 1.9; color: var(--drift);
  letter-spacing: 0.02em; margin-bottom: 14px;
}

.doc-section p:last-child { margin-bottom: 0; }

.doc-section ul {
  list-style: none; margin: 14px 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}

.doc-section ul li {
  font-size: 0.85rem; color: var(--drift); line-height: 1.7;
  letter-spacing: 0.02em; padding-left: 18px; position: relative;
}

.doc-section ul li::before {
  content: '\2014'; position: absolute; left: 0;
  color: var(--stone);
}

.highlight-box {
  background: var(--sand); border: 1px solid var(--border);
  border-left: 3px solid var(--tide);
  border-radius: 3px; padding: 20px 24px; margin: 20px 0;
}

.highlight-box p {
  color: var(--ink); font-size: 0.82rem; margin: 0;
}

a { color: var(--tide); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── FOOTER ─────────────────────────────────────────────── */

footer {
  background: var(--ink);
  color: rgba(250,247,242,0.6);
  padding: 56px 56px 36px;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(250,247,242,0.1);
  margin-bottom: 32px;
}

.footer-logo-sm {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(250,247,242,0.9);
  margin-bottom: 12px; display: block;
}

.footer-logo-sm em { color: #7ab5b8; font-style: italic; }

.footer-tagline-sm {
  font-size: 0.75rem; line-height: 1.75;
  color: rgba(250,247,242,0.45); max-width: 260px;
  letter-spacing: 0.03em;
}

.footer-col-title-sm {
  font-size: 0.58rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(250,247,242,0.35);
  margin-bottom: 16px;
}

.footer-links-sm { display: flex; flex-direction: column; gap: 10px; }

.footer-links-sm a {
  font-size: 0.75rem; color: rgba(250,247,242,0.55);
  text-decoration: none; letter-spacing: 0.04em; transition: color 0.15s;
}

.footer-links-sm a:hover { color: rgba(250,247,242,0.9); }

.footer-bottom-sm {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}

.footer-copy-sm {
  font-size: 0.6rem; letter-spacing: 0.1em;
  color: rgba(250,247,242,0.25);
}

.footer-note-sm {
  font-size: 0.58rem; color: rgba(250,247,242,0.2);
  letter-spacing: 0.08em; text-align: center; margin-top: 24px;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 768px) {
  nav .nav-link { display: none; }
  .page-hero { padding: 56px 24px 48px; }
  .doc-body { padding: 48px 24px 80px; }
  footer { padding: 32px 24px; }
}
