/* ==========================================================================
   duduk by EcoWorld — legal pages (Disclaimer, Terms & Conditions, Privacy
   Notice)

   The original pages, recovered from the Wayback Machine capture of
   2026-05-11, wrapped their content in

     <div class="container font-purple sub-template text-justify lineheight120">

   and duduk's own assets/newLayout/v2/style.css gave those classes:

     .sub-template  { padding-top: 120px; padding-bottom: 100px }
     .font-purple   { color: #8250c8 }
     .lineheight120 { line-height: 120% }
     .text-justify  { text-align: justify }
     h1             { color: #ff286e; font-size: 3em; font-weight: 400;
                      font-family: 'agendabold'; text-transform: uppercase }
     h3             { font-family: 'agendabold';
                      margin-top: 30px; margin-bottom: 10px }

   Those values are reproduced below. Two things are deliberately different.

   1. TYPE. The original called for Agenda (agendamedium for body,
      agendabold for headings), but those webfont files have 404'd since at
      least April 2023 — the oldest archived copy — so the live pages were
      already falling back to the browser's default serif. duduk's own
      EcoWorldSerif is used instead: regular for body, bold where the
      original asked for agendabold.

   2. CLAUSE NUMBERS. The Privacy Notice's clauses sat in a two-column
      <table> whose first cell (width 25, or 30 for sub-clauses) held the
      number as plain text. A table is the wrong element for a numbered
      list, so the markup is now an <ol>; the number stays literal text in
      a .clauses__n span, which keeps it selectable, copyable and reachable
      by find-in-page, exactly as the table's cell was.

   Loaded AFTER styles.css, which supplies the tokens and the cloned
   header/footer. Nothing here touches either of those.
   ========================================================================== */

.legal {
  padding-top: 120px;         /* .sub-template */
  padding-bottom: 100px;
  font-family: var(--serif);
  color: #8250c8;             /* .font-purple */
  line-height: 120%;          /* .lineheight120 */
  text-align: justify;        /* .text-justify — Bootstrap 5 dropped the class,
                                 so the rule is restated here */
}

.legal h1 {
  color: #ff286e;
  font-size: 3em;
  font-weight: 700;           /* the original's 'agendabold' at weight 400 */
  line-height: 1.1;
  text-transform: uppercase;
  text-align: left;           /* the title was never justified */
  margin: 0 0 0.4em;
}

/* The Privacy Notice ran its two language versions down one page, the second
   headed by a plain <h1>. The original opened a blank <h1>&nbsp;</h1> above
   it for the gap; this does the same job without the empty heading. */
.legal-part + .legal-part { margin-top: 90px; }

.legal h3 {
  font-family: var(--serif);
  font-weight: 700;           /* 'agendabold' */
  font-size: 1.75rem;         /* Bootstrap's h3, which the original inherited */
  line-height: 1.2;
  text-align: left;
  margin-top: 30px;
  margin-bottom: 10px;
}

.legal p { margin: 0 0 1rem; }
.legal a { color: #ff286e; }
.legal a:hover { color: #8250c8; }
.legal strong { font-weight: 700; }

.legal ul { padding-left: 2.5rem; margin: 0 0 1rem; }
.legal ul > li { margin-bottom: 0.25em; }

/* ---------- Numbered clauses --------------------------------------------
   The hanging number reproduces the original table's first column: the
   text block starts at a fixed offset and wrapped lines align under it.
   ------------------------------------------------------------------------ */

.clauses {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.clauses > li {
  position: relative;
  padding-left: 2em;          /* the original's width="25" cell */
  margin-bottom: 1.2em;       /* the <br><br> that separated its rows */
}
.clauses__n {
  position: absolute;
  left: 0;
  top: 0;
  font-variant-numeric: tabular-nums;
}
.clauses .clauses {           /* sub-clauses: 8.1, 9.20, 10.7 … */
  margin-top: 1.2em;
}
.clauses .clauses > li {
  padding-left: 2.6em;        /* the original's width="30" cell */
}

/* ==========================================================================
   Phone / tablet — the original had no mobile treatment for these pages at
   all (120px of padding and justified full-width text on a 390px screen).
   Ragged-right reads better at a narrow measure, where justification opens
   rivers of white space between the words.
   ========================================================================== */

@media (max-width: 991.98px) {
  .legal {
    padding-top: 48px;
    padding-bottom: 56px;
    text-align: left;
  }
  .legal h1 { font-size: 2.125rem; }
  .legal h3 { font-size: 1.375rem; }
  .legal-part + .legal-part { margin-top: 56px; }
  .legal ul { padding-left: 1.5rem; }
  .clauses > li { padding-left: 1.8em; }
  .clauses .clauses > li { padding-left: 2.4em; }
}

/* ==========================================================================
   Print — these are documents people save or hand to legal.
   ========================================================================== */

@media print {
  .navcontainer, .offcanvas, footer { display: none !important; }
  body { padding-top: 0; }
  .legal { padding: 0; color: #000; font-size: 10.5pt; line-height: 1.4; }
  .legal h1, .legal h3 { color: #000; }
  .legal-part + .legal-part { break-before: page; }
  .clauses > li, .legal ul > li, .legal p { break-inside: avoid; }
}

/* ==========================================================================
   These pages are short enough to leave the footer floating mid-screen on a
   tall display, which the long homepage never exposes. Pin it to the bottom.
   ========================================================================== */

.legal-page { display: flex; flex-direction: column; min-height: 100vh; }
.legal-page .legal { flex: 1 0 auto; }
.legal-page footer { flex: 0 0 auto; }
