/* Block legal-hero-657542f5: the first screen of a legal document: the document's name, what it
   covers, a note on other languages that the text is in English, and the way to the other
   documents, the open one lit.
   Markup in docs/legal.html. Independent: own font faces, colours and layout; shares only the
   font files and the brand pattern. */

/* TikTok Sans of the Rappel brand, renamed for this block. */
@font-face {
  font-family: "TikTok Sans-657542f5";
  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-657542f5";
  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-657542f5";
  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-657542f5";
  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-657542f5";
  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-657542f5";
  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-hero-657542f5 {
  display: block;
  margin: 0;
  padding: 24px 0 0;
  background: #ffffff;
  color: #243b56;
  font-family: "TikTok Sans-657542f5", 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-hero-657542f5,
.legal-hero-657542f5 :where(*),
.legal-hero-657542f5 :where(*)::before,
.legal-hero-657542f5 :where(*)::after {
  box-sizing: border-box;
}
.legal-hero-657542f5 :where(*) {
  margin: 0;
  padding: 0;
}
.legal-hero-657542f5 :where(h1, h2) {
  color: inherit;
  font: inherit;
  text-wrap: balance;
}
.legal-hero-657542f5 :where(a) {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}
.legal-hero-657542f5 :where(ul) {
  list-style: none;
}
.legal-hero-657542f5 :where(svg) {
  display: block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* One dark card: the document on the left, the list of all documents on the right. */
.legal-hero-657542f5 .legal-hero__card-657542f5 {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  width: min(1280px, calc(100% - 32px));
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #46617d;
  border-radius: 24px;
  background: #243b56;
  color: #f4f7fa;
}
.legal-hero-657542f5 .legal-hero__copy-657542f5 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 48px;
}
.legal-hero-657542f5 .legal-hero__eyebrow-657542f5 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: #c9d6e5;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
}
.legal-hero-657542f5 .legal-hero__brand-657542f5 {
  color: #f4f7fa;
  font-weight: 600;
}
.legal-hero-657542f5 .legal-hero__rule-657542f5 {
  width: 32px;
  height: 1px;
  background: #46617d;
}
.legal-hero-657542f5 .legal-hero__title-657542f5 {
  margin-top: 20px;
  color: #ffffff;
  font-size: clamp(2rem, 1.6087rem + 1.7391vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.legal-hero-657542f5 .legal-hero__lead-657542f5 {
  max-width: 46ch;
  margin-top: 16px;
  color: #c9d6e5;
  font-size: 1.188rem;
  line-height: 1.5;
}
/* Shown on every language but English: the text below stays in English. */
.legal-hero-657542f5 .legal-hero__note-657542f5 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 8px 14px 8px 12px;
  border: 1px solid #46617d;
  border-radius: 8px;
  background: #304d6b;
  color: #f4f7fa;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
}
.legal-hero-657542f5 .legal-hero__note-icon-657542f5 {
  color: #a8d1ef;
}

/* All documents: a panel with the brand chevrons; the open document is lit in the accent. */
.legal-hero-657542f5 .legal-hero__documents-657542f5 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 40px;
  border-inline-start: 1px solid #46617d;
  background-color: #304d6b;
  background-image: url("../../img/rappel-brand/pattern/current/chevrons-dark-transparent.svg");
  background-size: 48px 48px;
}
.legal-hero-657542f5 .legal-hero__documents-title-657542f5 {
  color: #c9d6e5;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.legal-hero-657542f5 .legal-hero__list-657542f5 {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.legal-hero-657542f5 .legal-hero__document-657542f5 {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding-block: 9px;
  padding-inline: 9px 16px;
  border: 1px solid #46617d;
  border-radius: 12px;
  background: #243b56;
  color: #f4f7fa;
  font-size: 0.938rem;
  font-weight: 500;
  line-height: 1.3;
  transition:
    background-color 160ms,
    border-color 160ms;
}
.legal-hero-657542f5 .legal-hero__document-657542f5:hover {
  border-color: #a8d1ef;
  background: #192d43;
}
.legal-hero-657542f5 .legal-hero__document-657542f5:focus-visible {
  outline: 3px solid #a8d1ef;
  outline-offset: 3px;
}
.legal-hero-657542f5 .legal-hero__document-657542f5[aria-current="page"] {
  border-color: #a8d1ef;
  background: #a8d1ef;
  color: #192d43;
}
.legal-hero-657542f5 .legal-hero__icon-657542f5 {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #304d6b;
  color: #a8d1ef;
}
.legal-hero-657542f5 .legal-hero__document-657542f5[aria-current="page"] .legal-hero__icon-657542f5 {
  background: #192d43;
}
.legal-hero-657542f5 .legal-hero__name-657542f5 {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.legal-hero-657542f5 .legal-hero__forward-657542f5 {
  color: #a8d1ef;
  transition: transform 160ms;
}
.legal-hero-657542f5 .legal-hero__document-657542f5:hover .legal-hero__forward-657542f5 {
  transform: translateX(2px);
}
.legal-hero-657542f5 .legal-hero__forward-657542f5:dir(rtl) {
  transform: scaleX(-1);
}
.legal-hero-657542f5 .legal-hero__document-657542f5:hover .legal-hero__forward-657542f5:dir(rtl) {
  transform: scaleX(-1) translateX(2px);
}
.legal-hero-657542f5 .legal-hero__document-657542f5[aria-current="page"] .legal-hero__forward-657542f5 {
  visibility: hidden;
}

@media (max-width: 1100px) {
  .legal-hero-657542f5 .legal-hero__copy-657542f5 {
    padding: 40px 32px;
  }
  .legal-hero-657542f5 .legal-hero__documents-657542f5 {
    padding: 32px;
  }
}
/* Below 900 px the list moves under the words and lays its documents in two columns. */
@media (max-width: 900px) {
  .legal-hero-657542f5 .legal-hero__card-657542f5 {
    grid-template-columns: minmax(0, 1fr);
  }
  .legal-hero-657542f5 .legal-hero__documents-657542f5 {
    border-inline-start: 0;
    border-top: 1px solid #46617d;
  }
  .legal-hero-657542f5 .legal-hero__list-657542f5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Phones: the card runs edge to edge. */
@media (max-width: 700px) {
  .legal-hero-657542f5 {
    padding-top: 16px;
  }
  .legal-hero-657542f5 .legal-hero__card-657542f5 {
    width: 100%;
    border-inline: 0;
    border-radius: 0;
  }
  .legal-hero-657542f5 .legal-hero__copy-657542f5 {
    padding: 32px 24px;
  }
  .legal-hero-657542f5 .legal-hero__documents-657542f5 {
    padding: 24px;
  }
}
/* Small phones: four short tabs, two by two, without icons and arrows. */
@media (max-width: 600px) {
  .legal-hero-657542f5 .legal-hero__document-657542f5 {
    justify-content: center;
    min-height: 48px;
    padding: 8px 12px;
    font-size: 0.875rem;
    line-height: 1.3;
    text-align: center;
  }
  .legal-hero-657542f5 .legal-hero__icon-657542f5,
  .legal-hero-657542f5 .legal-hero__forward-657542f5 {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .legal-hero-657542f5 :where(*),
  .legal-hero-657542f5 :where(*)::before,
  .legal-hero-657542f5 :where(*)::after {
    transition: none !important;
  }
}
