/* Terms and privacy. Same type and grid as the signup page. */

:root {
  --text: #17171c;
  --font: ui-sans-serif, system-ui, sans-serif;
  --link: #387AEB;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: normal;
  background: #fff;
}

.tabs {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  margin: 0;
  padding-top: 0.5rem;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='20' height='20' fill='%23fff'/%3E%3Crect width='20' height='20' fill='%23f0f0f0' fill-opacity='0.8'/%3E%3Cg stroke='%23387AEB' stroke-opacity='0.8' stroke-width='0.6' fill='none'%3E%3Cline x1='0' y1='0.3' x2='20' y2='0.3' stroke-dasharray='3.333 3.333'/%3E%3Cline x1='0.3' y1='0' x2='0.3' y2='20' stroke-dasharray='3.333 3.333'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 20px 20px;
}

.back,
.tab span {
  color: #000;
}

.back {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.tab {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.tab span {
  display: inline-block;
  padding: 0.45rem 0.9rem;
}

.tab.is-on span {
  background: #fff;
}

.doc {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.doc h1 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  line-height: 1.2;
}

.doc h2 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

.doc p,
.doc li {
  margin: 0.6rem 0;
}

.doc ul,
.doc ol {
  margin: 0.4rem 0 0.8rem;
  padding-left: 1.25rem;
}

.doc a {
  color: var(--link);
}

.doc strong {
  font-weight: 700;
}
