/* PhotoGem Privacy Policy. Light and dark follow the device's appearance. */

:root {
  --bg: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --heading: #28589a;
  --link: #28589a;
  --card: #f4f7fc;
  --border: #dbe3ef;
  --tag-bg: #e3ebf7;
  --tag-text: #28589a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111214;
    --text: #f2f2f4;
    --muted: #a1a1a8;
    --heading: #9cc0f0;
    --link: #8ab6f2;
    --card: #1b1d22;
    --border: #2c3039;
    --tag-bg: #233249;
    --tag-text: #b4cdf2;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

main,
header.site nav,
footer.site p {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 16px;
}

/* Site links */

header.site {
  border-bottom: 1px solid var(--border);
}

header.site nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 28px;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 15px;
}

/* Text */

h1 {
  margin: 36px 0 4px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--heading);
}

h2 {
  margin: 40px 0 8px;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--heading);
}

h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
}

p {
  margin: 0 0 12px;
}

ul {
  margin: 0 0 12px;
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

.updated {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 20px;
}

.lead {
  font-size: 19px;
}

/* In short */

.summary {
  margin: 24px 0 0;
  padding: 18px 20px 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.summary h2 {
  margin: 0 0 10px;
  font-size: 19px;
}

/* Services that PhotoGem sends to */

.service {
  margin: 14px 0;
  padding: 16px 18px 6px;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.who {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 9px;
  border-radius: 999px;
  background: var(--tag-bg);
  color: var(--tag-text);
  font-size: 13px;
  font-weight: 600;
  vertical-align: 2px;
  white-space: nowrap;
}

.more {
  font-size: 15px;
}

/* Footer */

footer.site {
  margin-top: 48px;
  padding: 20px 0 32px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

footer.site p {
  margin-bottom: 0;
}

@media (max-width: 480px) {
  h1 {
    margin-top: 28px;
    font-size: 28px;
  }

  h2 {
    font-size: 21px;
  }

  .lead {
    font-size: 18px;
  }

  .summary,
  .service {
    padding-left: 16px;
    padding-right: 16px;
  }
}
