/* ------------------------------------------------------------------------
   Privacy pages (/privacy, served at privacy.lucivion.com).

   They stand alone, without app.css or the portal's screen layer, and take
   lucivion.com's look: Montserrat headings and Roboto text (served from
   /static/lx/fonts.css), black text on the site's green, a white bar holding
   only the logo, and the site's measurements. At 1440px wide its header is
   71.4px tall (0.5vw above and below a 57px row), its logo 28px tall at the
   4vw margin, and its text column 562px wide; below 800px the header is
   52.6px, the logo 27.4px and the margin 6vw.

   The text is a public document's Markdown, rendered by webcore/markdown.py:
   headings, paragraphs, lists, links and the odd table, which scrolls in its
   own box (.policy-table) rather than widening the page.
   ------------------------------------------------------------------------ */

html {
  background: #dcedea;
}

body.privacy {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #dcedea;
  color: #242c35;
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.06rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.privacy-bar {
  display: flex;
  align-items: center;
  height: calc(57px + 1vw);
  padding: 0 4vw;
  background: #ffffff;
}

.privacy-bar a {
  display: block;
}

.privacy-logo {
  display: block;
  width: auto;
  height: 28px;
}

.privacy-main {
  flex: 1 0 auto;
  width: min(562px, 100% - 8vw);
  margin-inline: auto;
  padding: 4rem 0 5rem;
}

.privacy-main h1 {
  margin: 0;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 2.8rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.privacy-meta {
  margin: 0.9rem 0 2.5rem;
  font-size: 0.95rem;
  color: #4f5459;
}

.privacy-main a {
  color: #242c35;
  text-decoration: underline;
  text-decoration-color: #308187;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.privacy-main a:hover {
  color: #1a6b67;
}

.privacy-main a:focus-visible {
  outline: 2px solid #308187;
  outline-offset: 3px;
}

/* The document's opening paragraph reads as its introduction. */
.privacy-text > p:first-child {
  font-size: 1.25rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.privacy-text p,
.privacy-text ul,
.privacy-text ol,
.privacy-text blockquote {
  margin: 0 0 1rem;
}

.privacy-text h2 {
  margin: 2.75rem 0 0.9rem;
  padding-top: 1.25rem;
  border-top: 1px solid #242c35;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.privacy-text h3 {
  margin: 1.75rem 0 0.5rem;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.3;
}

.privacy-text ul,
.privacy-text ol {
  padding-left: 1.2rem;
}

.privacy-text li {
  padding-left: 0.35rem;
}

.privacy-text li + li {
  margin-top: 0.5rem;
}

.privacy-text li::marker {
  color: #1a6b67;
}

.privacy-text strong {
  font-weight: 500;
}

.privacy-text blockquote {
  padding-left: 1rem;
  border-left: 3px solid #308187;
}

.privacy-text .policy-table {
  overflow-x: auto;
  margin: 0 0 1rem;
}

.privacy-text table {
  border-collapse: collapse;
}

.privacy-text th,
.privacy-text td {
  padding: 0.4rem 0.6rem;
  border: 1px solid rgba(36, 44, 53, 0.25);
  text-align: left;
  vertical-align: top;
}

.privacy-text th {
  font-weight: 500;
}

.privacy-text .policy-align-center {
  text-align: center;
}

.privacy-text .policy-align-right {
  text-align: right;
}

.privacy-missing {
  margin: 1.5rem 0 0;
  color: #4f5459;
}

.privacy-footer {
  padding: 1.75rem 4vw;
  background: #ffffff;
  font-size: 0.82rem;
  color: #4f5459;
}

@media (max-width: 799px) {
  .privacy-bar {
    height: 52.6px;
    padding: 0 6vw;
  }

  .privacy-logo {
    height: 27.4px;
  }

  .privacy-main {
    width: min(562px, 100% - 12vw);
  }

  .privacy-footer {
    padding: 1.5rem 6vw;
  }
}

@media (max-width: 600px) {
  .privacy-main {
    padding: 2.5rem 0 3.5rem;
  }

  .privacy-main h1 {
    font-size: 2rem;
  }

  .privacy-text > p:first-child {
    font-size: 1.12rem;
  }
}
