/* ============================================================
   SUITED — legal document styling (Privacy Policy, Terms of Use)
   Editorial, printable, matches the brand tokens.
   ============================================================ */
:root{
  --paper:#ecebe5; --paper-2:#e4e2da;
  --ink:#121210; --ink-2:#3b3b36; --mute:#7c7c72;
  --line:rgba(0,0,0,.16); --line-soft:rgba(0,0,0,.08);
  --accent:#FF4C07; --on-ink:#f3f1ea;
  --head:"Hanken Grotesk",system-ui,sans-serif;
  --mono:"Space Mono",ui-monospace,monospace;
  --ease:cubic-bezier(.19,1,.22,1);
}
*{margin:0;padding:0;box-sizing:border-box}
html{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;scroll-behavior:smooth}
body{background:var(--paper);color:var(--ink);font-family:var(--head);line-height:1.6}
::selection{background:var(--accent);color:#fff}
a{color:inherit}

.doc-wrap{max-width:760px;margin:0 auto;padding:0 clamp(22px,5vw,40px)}

/* top bar */
.doc-top{position:sticky;top:0;z-index:5;background:color-mix(in srgb,var(--paper) 92%,transparent);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.doc-top__inner{max-width:760px;margin:0 auto;padding:18px clamp(22px,5vw,40px);
  display:flex;align-items:center;justify-content:space-between;gap:16px}
.doc-brand{font-family:var(--head);font-weight:900;letter-spacing:-.04em;font-size:24px;color:var(--ink);text-decoration:none}
.doc-brand .dot{color:var(--accent)}
.doc-back{font-family:var(--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--mute);
  text-decoration:none;display:inline-flex;align-items:center;gap:8px;min-height:44px}
.doc-back:hover{color:var(--accent)}

/* header */
.doc-head{padding:clamp(54px,9vw,104px) 0 clamp(30px,5vw,52px);border-bottom:1px solid var(--line)}
.doc-eyebrow{font-family:var(--mono);font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--mute);
  display:inline-flex;align-items:center;gap:11px;margin-bottom:22px}
.doc-eyebrow::before{content:"";width:26px;height:1.5px;background:var(--accent)}
.doc-head h1{font-family:var(--head);font-weight:900;letter-spacing:-.04em;line-height:.92;
  font-size:clamp(40px,8vw,76px)}
.doc-meta{margin-top:20px;font-family:var(--mono);font-size:12.5px;letter-spacing:.04em;color:var(--mute);text-transform:uppercase}

/* body */
.doc-body{padding:clamp(34px,6vw,60px) 0 40px}
.doc-note{background:var(--paper-2);border:1px solid var(--line);border-radius:14px;
  padding:18px 20px;font-size:14px;line-height:1.55;color:var(--ink-2);margin-bottom:42px}
.doc-note b{color:var(--ink)}
.doc-body section{margin-bottom:40px}
.doc-body h2{font-family:var(--head);font-weight:800;letter-spacing:-.02em;font-size:clamp(22px,3vw,28px);
  margin-bottom:14px;display:flex;gap:14px;align-items:baseline}
.doc-body h2 .s-num{font-family:var(--mono);font-weight:700;font-size:13px;color:var(--accent);letter-spacing:.04em;flex:none}
.doc-body h3{font-family:var(--head);font-weight:700;font-size:17px;margin:20px 0 8px}
.doc-body p{font-size:16px;color:var(--ink-2);margin-bottom:14px;text-wrap:pretty}
.doc-body p strong{color:var(--ink)}
.doc-body a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:3px}
.doc-body a:hover{color:var(--accent)}
.doc-body ul{list-style:none;display:flex;flex-direction:column;gap:9px;margin:0 0 16px}
.doc-body li{position:relative;padding-left:20px;font-size:16px;color:var(--ink-2);line-height:1.55}
.doc-body li::before{content:"";position:absolute;left:0;top:11px;width:6px;height:6px;border-radius:50%;background:var(--accent)}
.doc-body li strong{color:var(--ink)}

/* footer */
.doc-foot{border-top:1px solid var(--line);padding:36px 0 64px;
  font-family:var(--mono);font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--mute);
  display:flex;flex-wrap:wrap;gap:10px 26px;align-items:center}
.doc-foot a{color:var(--mute);text-decoration:none;min-height:34px;display:inline-flex;align-items:center}
.doc-foot a:hover{color:var(--accent)}
.doc-foot .sp{flex:1 1 auto}

@media print{
  .doc-top{position:static;background:none;backdrop-filter:none}
  .doc-back{display:none}
  body{background:#fff}
  .doc-note,.doc-body li::before,.doc-eyebrow::before{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* ============================================================
   Shared landing-page nav + footer on the legal pages
   (suited-clean.css supplies .nav / .foot; these are the few
   legal-only adjustments so the fixed bar clears the document)
   ============================================================ */
/* clear the fixed 74px nav (same height at every breakpoint) */
body{padding-top:74px}
/* the legal pages don't run the scroll script, so give the bar a
   permanent readable backdrop instead of the scroll-triggered one */
.nav{background:color-mix(in srgb,var(--bg) 82%,transparent);
  -webkit-backdrop-filter:blur(14px) saturate(120%);backdrop-filter:blur(14px) saturate(120%);
  border-bottom:1px solid var(--line-soft)}
/* the doc already had generous top padding for the old sticky bar — trim it
   now that the body is offset for the fixed nav */
.doc-head{padding-top:clamp(32px,5vw,60px)}
/* footer is full-bleed (outside the 760px column), matching the landing page */
@media print{ .nav,.nav__menu,.foot{display:none} body{padding-top:0} }
