/* The five legal pages (LEGAL-2, owner "Akceptuje, go" 2026-10-18 on canvas version 3), loaded after site.css by these pages only
   (registry.js PAGE_STYLES "legal"). The same locked brand as site.css: every colour a token, a tint only as color-mix of a token with
   transparent, hairlines instead of shadows, no gradient, nothing loaded from here, nothing moves. Mobile first: the list "On this page" is a
   row of chips above the text, from 960 px a column that stays in view while the text scrolls. The running text is 17 px at 1.65 and keeps the
   42em measure of DESIGN-2 R1-11 (site.css .legal p). The sections open with <details>, no script. */
.legal{padding:0 0 56px;font-size:17px;line-height:1.65}
.legal .k{margin:0}

/* the head: the kicker and the title in one h1, the dates line, the lede, the key facts box of the AI notice */
.legal-head{padding-top:28px}
.legal h1{font-size:60px;line-height:.95;margin:0}
.legal h1 .kicker{display:block;margin:0 0 10px;font-family:'Outfit',system-ui,sans-serif;font-weight:600;font-size:12px;line-height:1.3;letter-spacing:.14em;text-transform:uppercase;color:var(--malina)}
.legal-meta{display:flex;flex-wrap:wrap;gap:8px 28px;margin:18px 0 0;font-size:15px;color:var(--mut)}
.legal-meta b{font-family:'Outfit',system-ui,sans-serif;font-weight:600;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--mut);margin-right:8px}
.legal .lede{max-width:42em;margin:18px auto 0;font-size:18px;line-height:1.6;color:var(--body)}
.legal .lede p{margin:0 0 10px}
.legal .lede p:last-child{margin-bottom:0}
.kf{max-width:42em;margin:28px auto 0;text-align:left;padding:22px 24px;border-radius:16px;background:var(--plyta);border:1px solid var(--hairp);border-left:4px solid var(--malina)}
.kf ul{list-style:none;margin:12px 0 0;padding:0}
.kf li{display:flex;gap:14px;align-items:flex-start;margin:0 0 12px;color:var(--grafit)}
.kf li:last-child{margin-bottom:0}
.fn{flex:none;width:30px;height:30px;border-radius:50%;border:2px solid var(--malina);background:var(--tlo);color:var(--malina);display:inline-flex;align-items:center;justify-content:center;font-family:'League Gothic','League Gothic fallback','Outfit',system-ui,sans-serif;font-weight:600;font-size:19px;line-height:1;text-decoration:none;margin-top:-1px}
.fn:hover{background:var(--malina);color:var(--plyta)}

/* LAYOUT 2026-10-21 (owner: "everything centered"): the row of the five policies and the head of the page stand in the middle of the window */
.tabs nav{justify-content:center}
.legal-head{text-align:center}
.legal-meta{justify-content:center}
.legal-head>p,.legal-head>blockquote{margin-left:auto;margin-right:auto}

/* the two columns: the list, then the text; on a phone one under the other */
.legal-cols{display:flex;flex-direction:column;gap:0;padding-top:24px}
.toc{margin:0;padding:0 16px;border-radius:16px;background:var(--plyta);border:1px solid var(--hairp)}
/* BEAUTIFY R5 (2026-10-21): on a phone the list "On this page" is one closed row (the label and how many sections) that opens on a tap into a
   numbered list, one section a row, instead of a wall of up to 22 chips above the text; from 960 px the same links stand open in the sticky
   column. The two lists are the same links; only one is ever displayed (the other is display:none, so out of the accessibility tree too). */
.toc-k,.toc-wide{display:none}
details.toc-fold{margin:0;border:0;border-radius:0;background:none}
.toc-fold summary{display:flex;align-items:center;gap:12px;min-height:56px;padding:6px 0}
.toc-fold summary .k{margin:0}
.toc-count{font-size:14px;font-weight:500;color:var(--mut)}
.toc-fold nav{display:grid;padding:0 0 6px}
.toc a{display:flex;align-items:flex-start;gap:12px;min-height:44px;padding:11px 2px;border-top:1px solid var(--hairp);color:var(--grafit);text-decoration:none;font-size:15px;line-height:1.35}
.toc a:hover{color:var(--malina)}
.tn{flex:none;width:22px;text-align:right;font-family:'League Gothic','League Gothic fallback','Outfit',system-ui,sans-serif;font-weight:600;font-size:18px;line-height:1.15;color:var(--malina)}
.art{flex:1;min-width:0;padding-top:32px}

/* the sections: a badge and a heading, the body under it; the later sections of a long page collapsed */
.sec{padding:40px 0 8px;border-top:1px solid var(--hair)}
.art > .sec:first-child{border-top:0;padding-top:0}
.legal h2{display:flex;align-items:center;gap:16px;margin:0 0 18px;font-size:32px;line-height:1.05;scroll-margin-top:24px;text-wrap:balance}
.num{flex:none;width:44px;height:44px;border-radius:50%;border:2px solid var(--malina);background:var(--plyta);color:var(--malina);display:inline-flex;align-items:center;justify-content:center;font-family:'League Gothic','League Gothic fallback','Outfit',system-ui,sans-serif;font-weight:600;font-size:26px;line-height:1}
.num-dot{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* a collapsed section is a row of the text, not the card of site.css details: no frame, no "+" marker, the chevron says it */
details.sec{margin:0;padding:0;border:0;border-top:1px solid var(--hair);border-radius:0;background:none}
details.sec summary{display:flex;align-items:center;gap:16px;min-height:72px;padding:12px 0;cursor:pointer;list-style:none}
details.sec summary::-webkit-details-marker{display:none}
details.sec summary::after{content:none}
details.sec summary h2{flex:1;min-width:0;margin:0;overflow-wrap:break-word;hyphens:auto}
details.sec summary:hover h2{color:var(--malina)}
details.sec[open] summary{margin-bottom:8px}
details.sec[open] .chev{transform:rotate(180deg)}
details.sec .bd{padding-bottom:24px}
.chev{flex:none;color:var(--malina)}
.hint{margin:32px 0 8px;font-size:14px;color:var(--mut)}
.legal .bd p{margin:0 0 18px}
.legal .bd ul,.legal .bd ol{margin:0 0 18px;padding-left:24px}
.legal .bd li{margin:0 0 10px}
.legal .bd li::marker{color:var(--malina);font-weight:700}
.legal .bd h3{font-family:'Outfit',system-ui,sans-serif;font-weight:700;font-size:19px;line-height:1.3;color:var(--grafit);margin:28px 0 10px}
.legal .bd strong{color:var(--grafit)}
.legal .bd code{border:1px solid var(--hairp);font-size:.88em}

/* "The short version" as the key facts card */
.legal .bd ul.sv{list-style:none;padding:22px 24px;margin:0 0 18px;border-radius:16px;background:var(--plyta);border:1px solid var(--hairp);border-left:4px solid var(--malina)}
.legal .bd ul.sv li{display:flex;gap:12px;align-items:flex-start;margin:0 0 12px;color:var(--grafit)}
.legal .bd ul.sv li:last-child{margin-bottom:0}
.tk{flex:none;width:24px;height:24px;border-radius:50%;background:var(--tlo);color:var(--malina);display:inline-flex;align-items:center;justify-content:center;margin-top:2px}

/* quotes and tables */
.legal blockquote{padding:16px 20px;border-left-color:var(--malina)}
.legal blockquote p{margin:0 0 10px}
.legal blockquote p:last-child{margin-bottom:0}
.legal .table-wrap{margin:0 0 24px;border:1px solid var(--hair);border-radius:12px;background:var(--plyta)}
.legal table{line-height:1.45}
.legal th,.legal td{padding:10px 12px;min-width:9em;border:0;border-bottom:1px solid var(--hair);border-right:1px solid var(--hair)}
.legal th:last-child,.legal td:last-child{border-right:0}
.legal tbody tr:last-child td{border-bottom:0}
.legal th{background:var(--tlo);font-family:'Outfit',system-ui,sans-serif;font-weight:600;font-size:12px;letter-spacing:.08em;text-transform:uppercase}

/* the "Questions?" card */
.ask{display:flex;flex-direction:column;flex-wrap:wrap;gap:20px;align-items:flex-start;justify-content:space-between;margin:48px 0 0;padding:28px;border-radius:22px;background:var(--plyta);border:1px solid var(--hairp)}
.ask-in{display:flex;gap:16px;align-items:flex-start}
.ask-t{font-family:'League Gothic','League Gothic fallback','Outfit',system-ui,sans-serif;font-weight:600;font-size:30px;line-height:1.05;letter-spacing:0;color:var(--grafit);margin:6px 0 4px}
.ask-m{margin:0;font-size:15px;color:var(--mut)}

@media (min-width: 720px){
  .legal h1{font-size:76px}
  .legal h2{font-size:40px}
  .ask{flex-direction:row;align-items:center}
}
@media (min-width: 960px){
  .legal h1{font-size:92px}
  .legal-cols{flex-direction:row;gap:56px;align-items:flex-start;padding-top:40px}
  /* LAYOUT 2026-10-21: the list takes what the 42em text leaves of the frame (240 to 380 px), so the text ends on the right edge of the frame
     where the header ends, with no empty strip at its right */
  .toc{position:sticky;top:16px;max-height:calc(100vh - 32px);overflow:auto;align-self:flex-start;width:clamp(240px,calc(100% - 42em - 56px),380px);flex:none;padding:18px 10px 10px}
  .toc-fold{display:none}
  .toc-k{display:block;margin:0 0 10px;padding:0 10px;text-align:left}
  .toc-wide{display:flex;flex-direction:column;gap:0}
  .toc a{min-height:38px;padding:7px 10px;border:0;border-radius:10px;font-size:15px;line-height:1.3}
  .toc a:hover{background:var(--tlo)}
  .art{padding-top:0}
  .sec{padding:48px 0 16px}
}
