/* Shared by terms.html and privacy.html.

   Deliberately standalone rather than reusing styles.css: these two
   pages have to render for somebody who is not signed in, has no
   JavaScript, and may have arrived from an email client's in-app
   browser. Pulling in the whole app stylesheet to set type on a
   document would also mean a brand change could silently restyle a
   legal page, which is not a thing that should happen by accident. */

:root {
  --gold: #be9e44;
  --gold-lit: #f0dfae;
  --bg: #0a0806;
  --ink: #e8e0cf;
  --muted: #9b907a;
  --rule: rgba(190, 158, 68, .22);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.75 Georgia, 'Times New Roman', serif;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 44rem; margin: 0 auto; padding: 56px 24px 96px; }

header { border-bottom: 1px solid var(--rule); padding-bottom: 26px; margin-bottom: 38px; }

.brand {
  font: 700 13px/1 Georgia, serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 18px;
}

h1 { font: 700 2rem/1.25 Georgia, serif; margin: 0 0 8px; color: #fff; }
h2 {
  font: 700 1.2rem/1.35 Georgia, serif;
  color: var(--gold-lit);
  margin: 42px 0 12px;
}
h3 { font: 700 1rem/1.4 Georgia, serif; color: var(--gold-lit); margin: 26px 0 8px; }

p, li { color: var(--ink); }
p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 1.3em; }
li { margin: 0 0 8px; }

.updated { color: var(--muted); font-size: .9rem; margin: 0; }

a { color: var(--gold); }
a:hover { color: var(--gold-lit); }

strong { color: #fff; }

/* The one thing on these pages a reader must not miss. */
.callout {
  border-left: 3px solid var(--gold);
  background: rgba(190, 158, 68, .07);
  padding: 16px 20px;
  margin: 24px 0;
}
.callout p:last-child { margin-bottom: 0; }

table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { color: var(--gold-lit); font-weight: 700; }
td { color: var(--ink); }

footer {
  border-top: 1px solid var(--rule);
  margin-top: 56px;
  padding-top: 22px;
  color: var(--muted);
  font-size: .9rem;
}
footer a { color: var(--muted); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 36px 18px 72px; }
  h1 { font-size: 1.6rem; }
  table, thead, tbody, th, td, tr { display: block; }
  th { border: 0; padding-bottom: 2px; }
  td { padding-top: 2px; border-bottom: 0; }
  tr { border-bottom: 1px solid var(--rule); padding: 10px 0; }
}
