/* Shared styles for PDF Signer legal/support pages.
   Tokens mirror public/index.html so these pages read as part of the site. */

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

:root {
  --bg:       #f5f0e8;
  --card:     #fbf8f2;
  --line:     #e3d8c5;
  --line-2:   #cbbca3;
  --ink:      #221a10;
  --ink-2:    #30271b;
  --text:     #4c4133;
  --muted:    #726352;
  --muted-2:  #8f8069;
  --accent:   #a8481a;
  --accent-l: #bd5522;
  --serif: 'Fraunces', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* subtle paper grain, matching the main site */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

::selection { background: rgba(168,72,26,0.18); }
a { color: var(--accent); }
a:hover { color: var(--accent-l); }

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

.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); }

.stone-icon {
  width: 30px; height: 30px;
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.66rem;
  color: var(--accent);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.stone-icon span { transform: rotate(-45deg); }

.nav-logo-text {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.nav-cta {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--bg);
  background: var(--accent);
  text-decoration: none;
  padding: 0.55rem 1.2rem;
  border-radius: 2px;
  transition: background 0.25s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-l); color: var(--bg); }

/* DOCUMENT BODY */
.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 9rem 2rem 4rem;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1rem;
}

.doc h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.updated {
  font-size: 0.85rem;
  color: var(--muted-2);
  margin-bottom: 2.5rem;
}

.lede {
  font-size: 1.1rem;
  color: var(--ink-2);
  margin-bottom: 2.5rem;
}

.doc h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 2.75rem 0 0.85rem;
}

.doc h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-2);
  margin: 1.75rem 0 0.4rem;
}

.doc p { margin-bottom: 1rem; }
.doc ul, .doc ol { margin: 0 0 1rem 1.25rem; }
.doc li { margin-bottom: 0.5rem; }
.doc strong { color: var(--ink-2); font-weight: 600; }

/* Callout used for the headline privacy claim */
.callout {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 1.35rem 1.5rem;
  margin: 2rem 0;
  border-radius: 2px;
}
.callout p:last-child { margin-bottom: 0; }

.divider {
  height: 1px;
  background: var(--line);
  margin: 3rem 0;
}

/* Support: Q&A blocks */
.faq {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0;
}
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.faq h3 { margin-top: 0; }
.faq p:last-child { margin-bottom: 0; }

/* Contact card */
.contact-card {
  background: var(--card);
  border: 1px solid var(--line-2);
  padding: 1.75rem;
  margin: 2rem 0;
  border-radius: 2px;
}
.contact-card p:last-child { margin-bottom: 0; }
.contact-email {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
}

/* FOOTER */
footer {
  padding: 2.25rem 2rem;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted-2);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-verse { font-style: italic; }

@media (max-width: 768px) {
  nav { padding: 1rem 1.25rem; }
  .nav-logo-text { font-size: 0.95rem; }
  .doc { padding: 7.5rem 1.25rem 3rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
