/* Shared styles for the privacy, terms and security pages. Matches index.html. */
:root {
  --bg: #f4f8f7;
  --ink: #0b0b0c;
  --soft: #1a1816;
  --muted: #8b8783;
  --line: #dce7e4;
  --card: #ffffff;
  --accent: #0b7d70;       /* Azar teal */
  --accent-soft: #ddf5f0;
  --radius: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* ---------- Nav ---------- */
nav { position: sticky; top: 0; z-index: 10; padding: 14px 0; background: rgba(245,245,245,.85);
      backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
nav .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 19px; letter-spacing: -.02em; text-decoration: none; }
.logo img { width: 26px; height: 26px; }
.btn { display: inline-flex; align-items: center; font-size: 15px; padding: 10px 16px; border-radius: 10px;
       background: var(--ink); color: #fff; text-decoration: none; letter-spacing: -.01em; }

/* ---------- Document ---------- */
main { padding: 64px 0 100px; }
.doc { max-width: 720px; margin: 0 auto; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; color: var(--soft); }
.updated { margin-top: 12px; font-size: 14px; color: var(--muted); }
.lede { margin-top: 24px; font-size: 18px; color: var(--soft); }
.doc h2 { margin-top: 48px; font-size: 22px; font-weight: 500; letter-spacing: -.01em; color: var(--soft); }
.doc h3 { margin-top: 24px; font-size: 16px; font-weight: 600; }
.doc p, .doc ul { margin-top: 12px; color: #3a3734; }
.doc ul { padding-left: 22px; }
.doc li { margin-top: 6px; }
.doc a { color: var(--accent); }
.card { margin-top: 24px; background: var(--card); border-radius: var(--radius); padding: 22px 24px; }
.card p:first-child { margin-top: 0; }
.toc { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--card); color: var(--soft); text-decoration: none; }
.toc a:hover { background: var(--accent-soft); }

/* ---------- FAQ ---------- */
.faq { margin-top: 32px; background: var(--card); border-radius: var(--radius); padding: 4px 26px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 32px 20px 0; font-size: 17px; letter-spacing: -.01em; position: relative; color: var(--soft); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin-top: 0; padding: 0 32px 20px 0; color: var(--muted); font-size: 15px; }
.back { margin-top: 32px; }
.back a { text-decoration: none; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; position: relative; z-index: 2; }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover, footer a[aria-current] { color: var(--ink); }
/* Big brand name across the bottom of the page */
footer { overflow: hidden; padding-bottom: 0; }
.footer-mark { margin: 40px 0 -.08em; text-align: left; font-size: 49vw; font-weight: 600; letter-spacing: 0;   /* footer-mark.js sizes it to the exact screen width */
               line-height: 1; white-space: nowrap; color: rgba(47,143,131,.09); user-select: none; pointer-events: none; }

/* ---------- Sub-processor table (privacy page) ---------- */
.subprocessors { width: 100%; border-collapse: collapse; margin: 16px 0 20px; font-size: 14px; }
.subprocessors th, .subprocessors td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); overflow-wrap: break-word; hyphens: manual; }
.subprocessors th { font-weight: 600; color: var(--ink); }
.subprocessors td:first-child { font-weight: 600; width: 28%; }
.subprocessors td:last-child, .subprocessors th:last-child { width: 22%; padding-right: 0; }
