/* ==========================================================================
   Helpfl — shared shell for the document pages (/privacy, /terms, /support).

   index.html deliberately keeps its CSS inline and self-contained; these three
   pages share this file instead, because they are the same page with different
   prose. Tokens below are the same design system, so a change here and a change
   in index.html's <style> block should be made together.
   ========================================================================== */
:root{
  --page:#FFFFFF;
  --band:#FAF7FF;
  --purple:#9055FC;
  --purple-dark:#7B3FEA;      /* text and buttons — 4.3:1 vs 7.0:1 on white */
  --hairline:#EDE9F5;
  --ink:#1D1D1F;
  --body:#4A4A52;
  --muted:#6E6E73;
  --gradient:linear-gradient(135deg,#9055FC,#F78C73);
  --radius-card:20px;
  --radius-btn:12px;
  --measure:720px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--page);
  color:var(--body);
  font-family:-apple-system,BlinkMacSystemFont,'Inter',system-ui,sans-serif;
  font-size:17px;
  line-height:1.72;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--purple-dark)}
a:hover{text-decoration:none}
:focus-visible{outline:2px solid var(--purple);outline-offset:3px;border-radius:4px}

.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.measure{max-width:var(--measure);margin:0 auto;padding:0 24px}

/* ---------- nav ------------------------------------------------------- */
.nav{
  position:sticky;top:0;z-index:50;height:64px;
  background:rgba(255,255,255,.82);
  -webkit-backdrop-filter:saturate(180%) blur(20px);
  backdrop-filter:saturate(180%) blur(20px);
  border-bottom:1px solid var(--hairline);
}
.nav .wrap{height:100%;display:flex;align-items:center;justify-content:space-between}
.nav img{width:96px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  font-size:15px;font-weight:600;letter-spacing:-.01em;
  padding:10px 20px;border-radius:var(--radius-btn);
  background:var(--purple);color:#fff;text-decoration:none;
  transition:background .2s ease,transform .2s ease;
}
.btn:hover{background:var(--purple-dark);transform:translateY(-1px);text-decoration:none}

/* ---------- page header ----------------------------------------------- */
.doc-head{background:var(--band);border-bottom:1px solid var(--hairline);padding:64px 0 56px}
@media (min-width:768px){.doc-head{padding:88px 0 72px}}
.doc-head .eyebrow{
  font-size:14px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;
  color:var(--purple-dark);margin:0 0 14px;
}
.doc-head h1{
  font-size:clamp(34px,5.5vw,52px);font-weight:600;letter-spacing:-.02em;line-height:1.08;
  color:var(--ink);margin:0;
}
.doc-head .updated{margin:18px 0 0;font-size:14px;color:var(--muted)}
.doc-head .lede{margin:20px 0 0;font-size:clamp(18px,2.2vw,20px);color:var(--body);line-height:1.5}

/* ---------- prose ------------------------------------------------------ */
.prose{padding:56px 0 72px}
@media (min-width:768px){.prose{padding:72px 0 96px}}
.prose h2,.prose h3{color:var(--ink);font-weight:600;letter-spacing:-.02em;line-height:1.2}
.prose h2{font-size:clamp(23px,3vw,27px);margin:56px 0 16px}
.prose h2:first-child{margin-top:0}
.prose h3{font-size:19px;margin:36px 0 10px}
.prose p{margin:0 0 20px}
.prose ul,.prose ol{margin:0 0 20px;padding-left:24px}
.prose li{margin:0 0 10px}
.prose li::marker{color:var(--muted)}
.prose strong{color:var(--ink);font-weight:600}
.prose hr{border:0;border-top:1px solid var(--hairline);margin:48px 0}
.prose blockquote{
  margin:24px 0;padding:16px 20px;border-left:3px solid var(--purple);
  background:var(--band);border-radius:0 12px 12px 0;color:var(--body);
}
.prose blockquote p:last-child{margin-bottom:0}
.prose code{
  background:var(--band);border:1px solid var(--hairline);border-radius:6px;
  padding:2px 6px;font-size:.88em;
  font-family:'SF Mono',ui-monospace,Menlo,Consolas,monospace;
}
.prose pre{
  background:#1D1B24;color:#EDEAF5;padding:18px 20px;border-radius:14px;
  overflow-x:auto;font-size:14px;line-height:1.6;
}
.prose pre code{background:none;border:0;padding:0;color:inherit}
.prose table{border-collapse:collapse;width:100%;margin:0 0 24px;font-size:16px}
.prose td,.prose th{border:1px solid var(--hairline);padding:10px 14px;text-align:left}
.prose th{background:var(--band);color:var(--ink);font-weight:600}

/* A callout for the one thing a visitor most likely came for. */
.card{
  background:var(--band);border:1px solid var(--hairline);border-radius:var(--radius-card);
  padding:28px 26px;margin:0 0 40px;
}
.card h2{margin-top:0}
.card p:last-child{margin-bottom:0}
.card-mail{
  display:inline-block;font-size:clamp(19px,2.6vw,23px);font-weight:600;
  letter-spacing:-.02em;margin:4px 0 10px;text-decoration:none;
}
.card-mail:hover{text-decoration:underline}

/* ---------- footer ----------------------------------------------------- */
footer{border-top:1px solid var(--hairline);padding:56px 0 64px}
.foot-top{display:flex;flex-wrap:wrap;gap:28px;justify-content:space-between;align-items:center}
.foot-top img{width:92px}
.foot-links{display:flex;flex-wrap:wrap;gap:24px;font-size:15px}
.foot-links a{color:var(--body);text-decoration:none}
.foot-links a:hover{text-decoration:underline}
.foot-legal{margin-top:36px;font-size:13px;color:var(--muted);line-height:1.7}
.foot-legal a{color:var(--muted)}

@media (prefers-reduced-motion:reduce){
  .btn:hover{transform:none}
}
