/* Block legal-document-59c32332: the text of a legal document in a white panel and a dark card
   for questions about it. The documents (docs/terms.html, docs/refund.html, docs/privacy.html,
   docs/cookies.html) write plain elements; this block styles them.
   Markup in docs/legal.html. Independent: own font faces, colours and layout; shares only the
   font files. */

/* TikTok Sans of the Rappel brand, renamed for this block. */
@font-face {
  font-family: "TikTok Sans-59c32332";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../../fonts/tiktok-sans/tiktok-sans-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "TikTok Sans-59c32332";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../../fonts/tiktok-sans/tiktok-sans-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "TikTok Sans-59c32332";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../../fonts/tiktok-sans/tiktok-sans-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "TikTok Sans-59c32332";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../../fonts/tiktok-sans/tiktok-sans-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "TikTok Sans-59c32332";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../../fonts/tiktok-sans/tiktok-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "TikTok Sans-59c32332";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../../fonts/tiktok-sans/tiktok-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+02D8-02D9, U+02DB, U+0302, U+0306-0307, U+030A-030C, U+0312, U+031B, U+0326-0328, U+032E, U+0331, U+0335, U+0337-0338, U+0E3F, U+2070, U+2074-207B, U+207D-207E, U+2080-208B, U+208D-208E, U+2100, U+2105, U+2117, U+2153-2154, U+215B-215E, U+2190, U+2192, U+2194-2199, U+2248, U+2260, U+2264-2265, U+2460-2468, U+24EA, U+24FF, U+25CB-25CC, U+25CF, U+2776-277E, U+FB01-FB02;
}

.legal-document-59c32332 {
  display: block;
  margin: 0;
  /* Space above the block: the same fluid step between all blocks, 48 to 96 px. */
  padding: clamp(48px, 7.5vw, 96px) 0 0;
  background: #ffffff;
  color: #243b56;
  font-family: "TikTok Sans-59c32332", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", Tahoma, sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  text-align: start;
  text-transform: none;
  font-kerning: normal;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
.legal-document-59c32332,
.legal-document-59c32332 :where(*),
.legal-document-59c32332 :where(*)::before,
.legal-document-59c32332 :where(*)::after {
  box-sizing: border-box;
}
.legal-document-59c32332 :where(*) {
  margin: 0;
  padding: 0;
}
.legal-document-59c32332 :where(h2, h3, h4) {
  color: inherit;
  font: inherit;
  text-wrap: balance;
}
.legal-document-59c32332 :where(a) {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}
.legal-document-59c32332 :where(ul) {
  list-style: none;
}
.legal-document-59c32332 :where(svg) {
  display: block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* The text in a white panel and, beside it, a dark card for questions that stays in view. */
.legal-document-59c32332 .legal-document__inner-59c32332 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 32px;
  width: min(1280px, calc(100% - 32px));
  margin-inline: auto;
}

/* The text. Documents write plain headings, paragraphs, lists and links; they are styled here
   by element, one reading measure for all of them. */
.legal-document-59c32332 .legal-document__text-59c32332 {
  min-width: 0;
  padding: 56px 64px 64px;
  border: 1px solid #bfcddc;
  border-radius: 24px;
  background: #ffffff;
  box-shadow:
    0 1px 2px #192d4314,
    0 12px 28px -14px #192d4340;
  overflow-wrap: break-word;
}
.legal-document-59c32332 .legal-document__text-59c32332 > * {
  max-width: 72ch;
}
.legal-document-59c32332 .legal-document__text-59c32332 h2 {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #d7e1eb;
  font-size: clamp(1.375rem, 1.2283rem + 0.6522vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.legal-document-59c32332 .legal-document__text-59c32332 h3 {
  margin-top: 32px;
  font-size: 1.188rem;
  font-weight: 600;
  line-height: 1.35;
}
.legal-document-59c32332 .legal-document__text-59c32332 h4 {
  margin-top: 24px;
  color: #3b64a7;
  font-weight: 600;
  line-height: 1.45;
}
.legal-document-59c32332 .legal-document__text-59c32332 :is(p, ul) {
  margin-top: 12px;
}
.legal-document-59c32332 .legal-document__text-59c32332 h2 + :is(p, ul, h3) {
  margin-top: 16px;
}
.legal-document-59c32332 .legal-document__text-59c32332 > :first-child {
  margin-top: 0;
}
.legal-document-59c32332 .legal-document__text-59c32332 ul {
  display: grid;
  gap: 10px;
}
/* List marks: the small diamond of the brand. */
.legal-document-59c32332 .legal-document__text-59c32332 li {
  position: relative;
  padding-inline-start: 24px;
}
.legal-document-59c32332 .legal-document__text-59c32332 li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  inset-inline-start: 4px;
  width: 6px;
  height: 6px;
  background: #3b64a7;
  transform: rotate(45deg);
}
.legal-document-59c32332 .legal-document__text-59c32332 li > p {
  margin-top: 0;
}
.legal-document-59c32332 .legal-document__text-59c32332 li > p + p {
  margin-top: 4px;
  color: #56677d;
}
.legal-document-59c32332 .legal-document__text-59c32332 strong {
  font-weight: 600;
}
.legal-document-59c32332 .legal-document__text-59c32332 a {
  color: #3b64a7;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.legal-document-59c32332 .legal-document__text-59c32332 a:hover {
  text-decoration-thickness: 2px;
}
.legal-document-59c32332 .legal-document__text-59c32332 a:focus-visible {
  border-radius: 1px;
  outline: 3px solid #3b64a7;
  outline-offset: 2px;
}

/* Questions: a dark card that follows the reader, 20 px below the sticky header (92 px). */
.legal-document-59c32332 .legal-document__aside-59c32332 {
  position: sticky;
  top: 112px;
  min-width: 0;
}
.legal-document-59c32332 .legal-document__card-59c32332 {
  padding: 32px;
  border: 1px solid #46617d;
  border-radius: 24px;
  background: #243b56;
  box-shadow: 0 18px 36px -28px #192d43cc;
  color: #f4f7fa;
}
.legal-document-59c32332 .legal-document__symbol-59c32332 {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border: 1px solid #46617d;
  border-radius: 12px;
  background: #304d6b;
  color: #a8d1ef;
}
.legal-document-59c32332 .legal-document__intro-59c32332 {
  min-width: 0;
}
.legal-document-59c32332 .legal-document__help-title-59c32332 {
  color: #f4f7fa;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.legal-document-59c32332 .legal-document__help-copy-59c32332 {
  margin-top: 8px;
  color: #c9d6e5;
  font-size: 0.938rem;
  line-height: 1.5;
}
.legal-document-59c32332 .legal-document__actions-59c32332 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 24px;
}
.legal-document-59c32332 .legal-document__button-59c32332 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  align-self: stretch;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  background: #a8d1ef;
  color: #192d43;
  font-size: 0.938rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  transition: background-color 160ms;
}
.legal-document-59c32332 .legal-document__button-59c32332:hover {
  background: #d3e8f6;
  color: #192d43;
}
.legal-document-59c32332 .legal-document__forward-59c32332:dir(rtl) {
  transform: scaleX(-1);
}
.legal-document-59c32332 .legal-document__mail-59c32332 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #f4f7fa;
  font-size: 0.938rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-color: #a8d1ef;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.legal-document-59c32332 .legal-document__mail-59c32332:hover {
  text-decoration-thickness: 2px;
}
.legal-document-59c32332 .legal-document__mail-icon-59c32332 {
  color: #a8d1ef;
}
.legal-document-59c32332 :is(.legal-document__button-59c32332, .legal-document__mail-59c32332):focus-visible {
  outline: 3px solid #a8d1ef;
  outline-offset: 3px;
}

/* Below 1100 px the card leaves the side and closes the text, laid out in a row. */
@media (max-width: 1100px) {
  .legal-document-59c32332 .legal-document__inner-59c32332 {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .legal-document-59c32332 .legal-document__text-59c32332 {
    padding: 48px 40px 56px;
  }
  .legal-document-59c32332 .legal-document__aside-59c32332 {
    position: static;
  }
  .legal-document-59c32332 .legal-document__card-59c32332 {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0 24px;
  }
  .legal-document-59c32332 .legal-document__symbol-59c32332 {
    margin-bottom: 0;
  }
  .legal-document-59c32332 .legal-document__actions-59c32332 {
    margin-top: 0;
  }
}
@media (max-width: 900px) {
  .legal-document-59c32332 .legal-document__card-59c32332 {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .legal-document-59c32332 .legal-document__actions-59c32332 {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
    grid-column: 1 / -1;
    margin-top: 24px;
  }
  .legal-document-59c32332 .legal-document__button-59c32332 {
    align-self: auto;
  }
}
/* Phones: the panels run edge to edge, without a shadow. */
@media (max-width: 700px) {
  .legal-document-59c32332 .legal-document__inner-59c32332 {
    width: 100%;
    gap: 0;
  }
  .legal-document-59c32332 .legal-document__text-59c32332 {
    padding: 32px 24px 40px;
    border-inline: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .legal-document-59c32332 .legal-document__text-59c32332 h2 {
    margin-top: 40px;
    padding-top: 28px;
  }
  .legal-document-59c32332 .legal-document__card-59c32332 {
    padding: 32px 24px;
    border-inline: 0;
    border-radius: 0;
    box-shadow: none;
  }
}
@media (max-width: 600px) {
  .legal-document-59c32332 .legal-document__card-59c32332 {
    grid-template-columns: minmax(0, 1fr);
  }
  .legal-document-59c32332 .legal-document__symbol-59c32332 {
    margin-bottom: 20px;
  }
  .legal-document-59c32332 .legal-document__button-59c32332 {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .legal-document-59c32332 :where(*),
  .legal-document-59c32332 :where(*)::before,
  .legal-document-59c32332 :where(*)::after {
    transition: none !important;
  }
}
