/* merci.club legal notice in the look of the new page (website C5). Styling only: the legal text is not touched.
   System: the light page #F2F3F8, the lockup in the header linking home, ink headings, the page's grey for text, white cards with the page's border and radius,
   indigo links, the new page's footer. System font. Light only, like the new page. One column, 680 wide at most, so a full line holds about 75 characters.
   Type is set in rem (1 rem = 16 px at the usual setting), so the notice grows with the visitor's own text size, as the home page does. Layout stays in px. */
:root{--indigo:#504DF2;--ink:#14162B;--grey:#5E6377;--page:#F2F3F8;--line:#E6E8F0;--card:#FFFFFF}
*{box-sizing:border-box;margin:0;padding:0}
html{color-scheme:light}
body{background:var(--page);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased}
.lwrap{max-width:808px;margin:0 auto;padding-left:64px;padding-right:64px}

/* header: the lockup alone, linking home; same height and lockup size as the new page's header */
.lnav{display:flex;align-items:center;height:104px}
.lnav a{display:inline-flex;align-items:center;min-height:44px;border-radius:12px}
.lnav img{height:46px;width:auto;display:block}

/* title: the size of the new page's section headings */
.legal-article{padding-top:40px;padding-bottom:72px}
/* a long word in a heading breaks only if it cannot fit the line at all (very large text) */
.legal-article h1,.lcard h2{overflow-wrap:anywhere}
/* the title grows with the visitor's text size too, but never wider than the screen allows: at most 9% of the screen's width (14% on a phone),
   so "Mentions" always stays one word. Its line height and letter spacing follow its own size. */
.legal-article h1{font-size:min(3.625rem,9vw);line-height:calc(62/58);letter-spacing:calc(-1.9em/58);font-weight:700;color:var(--ink)}

/* each part of the notice (a heading and its paragraphs) is one white card, as the cards of the new page */
.lcard{background:var(--card);border:1px solid var(--line);border-radius:28px;padding:32px;margin-top:20px}
.legal-article h1 + .lcard{margin-top:40px}
.lcard h2{font-size:1.375rem;line-height:1.75rem;font-weight:700;color:var(--ink)}
.lcard p{font-size:1.125rem;line-height:1.875rem;color:var(--grey);margin-top:12px;overflow-wrap:anywhere}
.lcard h2 + p{margin-top:10px}
/* links: indigo and underlined, so they do not rely on colour alone; at least 24 high where they stand alone on a line */
.lcard a{color:var(--indigo);font-weight:500;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
/* a telephone number or an e-mail address moves to the next line whole; it is broken only if it is wider than a whole line (very large text on a small phone) */
.lcard a[href^="tel:"],.lcard a[href^="mailto:"]{display:inline-block;max-width:100%;overflow-wrap:anywhere}
a:focus-visible{outline:2px solid var(--indigo);outline-offset:2px}

/* footer: the new page's footer, with the lockup and the page's own return link */
.lfooter{display:flex;align-items:center;justify-content:space-between;gap:20px 40px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:40px;padding-bottom:56px}
.lfooter img{height:36px;width:auto;display:block}
.lfooter p{font-size:1rem;line-height:1.5rem;font-weight:600}
.lfooter a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);text-decoration:none}

/* under 700 wide: the phone values of the new page */
@media (max-width:699px){
  .lwrap{padding-left:24px;padding-right:24px}
  .lnav{height:76px} .lnav img{height:34px}
  .legal-article{padding-top:20px;padding-bottom:44px}
  .legal-article h1{font-size:min(2.375rem,14vw);line-height:calc(42/38);letter-spacing:calc(-1.1em/38)}
  .lcard{border-radius:24px;padding:22px;margin-top:12px} .legal-article h1 + .lcard{margin-top:28px}
  .lcard h2{font-size:1.25rem;line-height:1.625rem}
  .lcard p{font-size:1rem;line-height:1.625rem}
  .lfooter{flex-direction:column;align-items:flex-start;padding-top:28px;padding-bottom:40px} .lfooter img{height:30px}
}

.waitlist-heading{margin-top:20px}
@media (max-width:699px){
  .waitlist-heading{margin-top:12px}
}
