/* ONE STYLESHEET FOR BOTH LEGAL PAGES, because two copies of it is two
   documents that start looking like different products the first time either
   is edited -- which is the failure this codebase records for every rule
   spelled twice.

   THESE PAGES ARE STATIC AND CARRY NO JAVASCRIPT. They are served straight
   out of dist/ by the Worker's asset handler, so they load when the app does
   not, can be read by somebody the app would refuse, and can be indexed. That
   is most of what a policy page is for.

   The palette is landing.css's, on purpose: white, near-black, one grey. */
:root { color-scheme: light; }

body {
  margin: 0;
  background: #FFFFFF;
  color: #111111;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

/* 68ch, because a policy is read rather than scanned and a full-width line of
   legal prose loses the reader at every wrap. */
.wrap {
  max-width: 68ch;
  margin: 0 auto;
  padding: 56px 20px 80px;
  box-sizing: border-box;
}

.back {
  display: inline-block;
  margin-bottom: 40px;
  color: #8A8A8A;
  font-size: 13px;
  text-decoration: none;
}
.back:hover { color: #111111; text-decoration: underline; }
.back:focus-visible { outline: 2px solid #111111; outline-offset: 3px; }

h1 { font-size: 30px; line-height: 1.2; margin: 0 0 6px; letter-spacing: -.01em; }
h2 { font-size: 18px; line-height: 1.3; margin: 40px 0 10px; }
h3 { font-size: 15px; margin: 26px 0 6px; }

.stamp { margin: 0 0 40px; color: #8A8A8A; font-size: 13px; }

p, li { margin: 0 0 14px; }
ul { padding-left: 22px; margin: 0 0 14px; }
li { margin-bottom: 8px; }

a { color: #111111; }

strong { font-weight: 600; }

/* The one thing on either page that has to survive being skimmed. Publishing
   a board cannot be undone, and somebody who reads nothing else should still
   meet that sentence. */
.callout {
  margin: 22px 0;
  padding: 14px 16px;
  border-left: 3px solid #111111;
  background: #F6F6F6;
  border-radius: 0 6px 6px 0;
}
.callout p:last-child { margin-bottom: 0; }

.foot {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid #E6E6E6;
  color: #8A8A8A;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { color: #111111; text-decoration: underline; }

@media (max-width: 480px) {
  .wrap { padding: 36px 16px 64px; }
  h1 { font-size: 25px; }
}
