/* The privacy notice, terms and crawler page (public/privacy.html,
   terms.html, bots.html), in the landing page's look (public/welcome.css):
   its bar, wordmark and edge, so going from one to the other the wordmark
   stays still, and white like it (owner, 24 October 2026). The system font,
   light always. No script runs on these pages.

   Everything shares one edge: gutters that grow with the window and a
   width that stops short of a large screen's rim. */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-variable.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --font:
    "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, sans-serif;
  --display: var(--font);
  --canvas: #ffffff;
  --panel: #ffffff;
  --line: #d6dae1;
  --line-strong: #c4c9d2;
  --ink: #1c1c1e;
  --ink-2: #3a3a3c;
  --ink-3: #6e6e73;
  --blue: #2459d3;
  --shadow:
    0 1px 2px rgba(16, 24, 40, 0.06), 0 8px 20px -12px rgba(16, 24, 40, 0.16);
  /* Clear of a phone's notch when it is on its side. */
  --gutter: max(clamp(20px, 5vw, 96px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --max: 1480px;
  /* The content's left and right edge, as padding or margin of a block
     that spans the page. */
  --edge: max(var(--gutter), (100% - var(--max)) / 2);
  --bar: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--canvas);
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main {
  flex: 1 0 auto;
  padding-inline: var(--edge);
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* In the notice's own text a link is underlined, so it is told from the
   words around it by more than its colour. */
.doc a {
  text-decoration: underline;
  text-decoration-color: rgba(36, 89, 211, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.doc a:hover {
  text-decoration-color: currentColor;
}
:focus-visible {
  outline: 3px solid rgba(36, 89, 211, 0.75);
  outline-offset: 2px;
  border-radius: 6px;
}

/* The bar: the wordmark, and Sign in at the other end. */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--bar);
  padding-inline: var(--edge);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font: 700 21px/1 var(--font);
  letter-spacing: -0.02em;
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  display: block;
  width: 28px;
  height: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background-color 0.15s,
    border-color 0.15s;
}
.button:hover {
  border-color: var(--line-strong);
  background: #fafbfc;
  text-decoration: none;
}
.button-dark {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: none;
  color: #ffffff;
}
.button-dark:hover {
  border-color: #000000;
  background: #000000;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin: clamp(48px, 6vw, 128px) var(--edge) 0;
  padding: 22px 0 max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 14px;
}
.foot p {
  margin: 0;
}
.foot a {
  color: var(--ink-3);
  font-weight: 500;
}
.foot a:hover {
  color: var(--ink);
}
/* A thumb's size on a touch screen, without moving the line. */
@media (pointer: coarse), (max-width: 759px) {
  .foot a {
    display: inline-block;
    margin: -12px -4px;
    padding: 12px 4px;
  }
}

/* The privacy notice: one white sheet at a reading width. */
.doc {
  max-width: 50em;
  margin: clamp(12px, 2vw, 40px) auto 0;
  padding: clamp(24px, 4vw, 64px) clamp(20px, 4.5vw, 72px)
    clamp(28px, 4vw, 64px);
  border: 1px solid var(--line);
  border-radius: clamp(14px, 1.1vw, 22px);
  background: var(--panel);
  box-shadow: var(--shadow);
  color: var(--ink-2);
  font-size: clamp(15.5px, 0.2vw + 13px, 17.5px);
  line-height: 1.6;
}
.doc h1 {
  margin: 0;
  color: var(--ink);
  font: 700 clamp(30px, 1vw + 22px, 44px) / 1.1 var(--display);
  letter-spacing: -0.01em;
}
.doc .updated {
  margin: 10px 0 0;
  color: var(--ink-3);
  font-size: 0.9em;
}
.doc h2 {
  margin: 2.2em 0 0.5em;
  color: var(--ink);
  font: 650 1.2em/1.3 var(--display);
}
.doc p,
.doc ul {
  margin: 0.75em 0 0;
}
.doc ul {
  padding-left: 1.2em;
}
.doc li + li {
  margin-top: 0.35em;
}
.doc strong {
  color: var(--ink);
  font-weight: 600;
}
.doc table {
  width: 100%;
  margin: 1em 0 0;
  border-collapse: collapse;
}
.doc th,
.doc td {
  padding: 0.7em 0;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.doc th {
  width: 34%;
  padding-right: 1.2em;
  color: var(--ink);
  font-weight: 600;
}

/* A very wide window: the foot a size up. */
@media (min-width: 1900px) {
  .foot {
    font-size: 15px;
  }
}

/* A phone: the table's rows stack. */
@media (max-width: 560px) {
  .doc th,
  .doc td {
    display: block;
    width: auto;
  }
  .doc th {
    padding-bottom: 0.2em;
  }
  .doc td {
    padding-top: 0;
    border-top: 0;
  }
}

/* A thumb's size on a touch screen: the bar's button, and the wordmark
   without moving the bar. */
@media (pointer: coarse) {
  .button {
    height: 44px;
  }
  .brand {
    margin: -8px 0;
    padding: 8px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
