/* The legal documents in the site's look (owner, 27.10: «paginile de termeni, privacy etc trebuie să fie în același stil ca și restul
   saitului»): Onest, black text on white, the landing's header with the logo and the black «Intră» button, the dark footer.
   Only the presentation; the HTML that clients accept, and its fingerprint, stays as it was published. */
@font-face{font-family:'Onest';src:url('/resurse/assets/fonts/onest-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'Onest';src:url('/resurse/assets/fonts/onest-500.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:'Onest';src:url('/resurse/assets/fonts/onest-600.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:'Onest';src:url('/resurse/assets/fonts/onest-700.ttf') format('truetype');font-weight:700;font-display:swap}
:root{color-scheme:light;font-family:'Onest',ui-sans-serif,system-ui,sans-serif;color:#1D1D1F;background:#FFFFFF;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}
*{box-sizing:border-box}
body{margin:0;background:#FFFFFF}
main{max-width:none;margin:0;padding:0}
a{color:#1D1D1F;text-decoration:underline;text-decoration-color:#C7C7CC;text-underline-offset:3px;overflow-wrap:anywhere}
a:hover{text-decoration-color:#1D1D1F}
a:focus-visible,button:focus-visible{outline:3px solid #1D1D1F;outline-offset:3px;border-radius:4px}

/* The header, as on the landing: the logo on the left, the black button on the right. */
.top{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:28px;height:76px;margin:0;padding:0 64px;background:#FFFFFF;font-size:16px;font-weight:500;line-height:1.3}
.top a{color:#1D1D1F;text-decoration:none}
.top .brand{display:inline-flex;align-items:center;gap:9px;margin-right:auto;font-size:22px;font-weight:700;letter-spacing:-.03em;text-transform:lowercase}
.top .brand::before{content:"";flex:none;width:28px;height:24px;margin:-2px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-2 -2 28 24'%3E%3Crect x='0' y='2' width='12' height='17' rx='4' fill='%238E8E93' transform='rotate(-14 6 10.5)'/%3E%3Crect x='12' y='0' width='12' height='17' rx='4' fill='%231D1D1F' transform='rotate(10 18 8.5)'/%3E%3C/svg%3E") no-repeat center/contain}
.top a:last-child{height:44px;display:inline-flex;align-items:center;padding:0 16px;border-radius:11px;background:#1D1D1F;color:#FFFFFF;font-weight:600;white-space:nowrap}

/* The documents of the set: light pills, the open one black. */
.document-nav{display:flex;flex-wrap:wrap;gap:8px;max-width:808px;margin:24px auto 0;padding:0 24px;font-size:16px;line-height:1.3}
.document-nav a{display:inline-flex;align-items:center;min-height:40px;padding:8px 16px;border-radius:999px;background:#F5F5F7;color:#1D1D1F;font-weight:500;text-decoration:none}
.document-nav a:hover{background:#E5E5EA}
.document-nav [aria-current]{background:#1D1D1F;color:#FFFFFF}
.document-nav [aria-current]:hover{background:#1D1D1F}

.status,article,.download{max-width:808px;margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px}
.status{margin-top:24px;padding-top:16px;padding-bottom:16px;border-radius:16px;background:#F5F5F7;color:#3A3A3C;font-size:16px;line-height:1.5}
.status strong{display:block;color:#1D1D1F;font-weight:600}
.status p{margin:6px 0 0}
article{font-size:17px;line-height:1.6;color:#3A3A3C;overflow-wrap:anywhere}
h1{margin:40px 0 16px;color:#1D1D1F;font-size:clamp(32px,4.4vw,48px);line-height:1.08;font-weight:700;letter-spacing:-.035em}
h2{margin:48px 0 12px;color:#1D1D1F;font-size:24px;line-height:1.25;font-weight:600;letter-spacing:-.02em}
h3{margin:32px 0 8px;color:#1D1D1F;font-size:20px;line-height:1.3;font-weight:600;letter-spacing:-.01em}
p{margin:14px 0}
strong{color:#1D1D1F;font-weight:600}
ul,ol{margin:14px 0;padding-left:22px}
li{margin:8px 0}
blockquote{margin:20px 0;padding:16px 20px;border-radius:16px;background:#F5F5F7;color:#1D1D1F}
blockquote p{margin:0}
code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88em;padding:2px 6px;border-radius:6px;background:#F5F5F7;color:#1D1D1F;overflow-wrap:anywhere;white-space:normal}
.table-wrap{max-width:100%;overflow:auto;margin:20px 0;border:1px solid #E5E5EA;border-radius:16px}
table{width:100%;border-collapse:collapse;font-size:16px;line-height:1.45}
th,td{min-width:120px;padding:12px 16px;border-bottom:1px solid #E5E5EA;text-align:left;vertical-align:top}
tr:last-child td{border-bottom:0}
th{background:#F5F5F7;color:#1D1D1F;font-weight:600}
.internal{color:#616165}
.download{margin-top:40px;margin-bottom:0;color:#616165;font-size:16px;line-height:1.5}
.download a{color:#616165}
/* Downloads are PDF only (owner, 28.10: «Nu se poate, doar .pdf»). The SWIRE 3.4 pages, whose HTML clients accepted, still link their
   Markdown source: the link and its « · » are hidden, «Înapoi la început» stays. */
.download:has(a[href$=".md"]){font-size:0}
.download:has(a[href$=".md"]) a{font-size:16px}
.download a[href$=".md"]{display:none}

/* The footer, as on the landing: dark, white text, the logo on top. */
footer{margin-top:64px;padding:48px 64px 40px;background:#1D1D1F;color:#FFFFFF;font-size:16px;line-height:1.55}
footer::before{content:"mereu";display:flex;align-items:center;gap:9px;margin-bottom:20px;padding-left:37px;min-height:24px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-2 -2 28 24'%3E%3Crect x='0' y='2' width='12' height='17' rx='4' fill='%238E8E93' transform='rotate(-14 6 10.5)'/%3E%3Crect x='12' y='0' width='12' height='17' rx='4' fill='%23FFFFFF' transform='rotate(10 18 8.5)'/%3E%3C/svg%3E") no-repeat left center/28px 24px;font-size:22px;font-weight:700;letter-spacing:-.03em}
footer p{max-width:1200px;margin:0 0 12px}
footer a{color:#FFFFFF;text-decoration-color:rgba(255,255,255,.45)}
footer a:hover{text-decoration-color:#FFFFFF}
footer a:focus-visible,footer button:focus-visible{outline-color:#FFFFFF}
footer button{height:44px;margin-top:12px;padding:0 16px;border:0;border-radius:11px;background:#FFFFFF;color:#1D1D1F;font:600 16px/1.3 'Onest',ui-sans-serif,system-ui,sans-serif;cursor:pointer}

@media(max-width:760px){
  .top{height:56px;gap:16px;padding:0 16px}
  .top .brand{font-size:18px}
  .top .brand::before{width:25px;height:21px}
  .top a:not(.brand):not(:last-child){display:none}
  main{display:flex;flex-direction:column}
  /* On the phone the text comes first; the other documents follow it, before the footer. */
  .document-nav{order:1;width:100%;margin-top:32px;padding:0 16px;gap:6px}
  .download{order:2}
  footer{order:3}
  .document-nav a{min-height:36px;padding:7px 12px}
  .status,article,.download{align-self:stretch;padding-left:16px;padding-right:16px}
  article,.download{margin-left:0;margin-right:0}
  .status{margin-left:16px;margin-right:16px}
  article{font-size:17px}
  h1{margin-top:28px;font-size:32px}
  h2{margin-top:40px;font-size:22px}
  footer{margin-top:48px;padding:40px 16px 32px}
}

/* The cookie bar, exactly as on the landing (landing.css): Onest, black, the two buttons on one row. */
body #mereu-cookie-notice{font-family:'Onest', ui-sans-serif, system-ui, sans-serif;color:#1D1D1F;font-size:16px;line-height:1.45;-webkit-font-smoothing:antialiased}
body #mereu-cookie-notice .mereu-cookie-banner{border-top:1px solid #E5E5EA;box-shadow:0 -8px 30px rgba(0,0,0,.06)}
body #mereu-cookie-notice h2{font:600 20px/1.25 'Onest', ui-sans-serif, system-ui, sans-serif;letter-spacing:-.02em;color:#1D1D1F}
body #mereu-cookie-notice p{font-size:16px;line-height:1.45;color:#1D1D1F}
body #mereu-cookie-notice a,body #mereu-cookie-notice .mereu-cookie-tools button{color:#1D1D1F;font-size:16px}
body #mereu-cookie-notice .mereu-cookie-actions button{min-height:48px;border:0;border-radius:12px;background:#FFFFFF;color:#1D1D1F;box-shadow:inset 0 0 0 2px #1D1D1F;font:600 16px/1.3 'Onest', ui-sans-serif, system-ui, sans-serif}
body #mereu-cookie-notice .mereu-cookie-actions button[data-choice=acknowledged]{background:#1D1D1F;color:#FFFFFF;box-shadow:none}
body #mereu-cookie-notice button:focus-visible,body #mereu-cookie-notice a:focus-visible{outline-color:#1D1D1F}
body #mereu-cookie-notice .mereu-cookie-banner{display:flex;flex-wrap:wrap;align-items:center;gap:10px 24px;padding:12px max(16px,calc((100vw - 1200px)/2));padding-bottom:max(12px,env(safe-area-inset-bottom))}
body #mereu-cookie-notice .mereu-cookie-copy{flex:1 1 480px;min-width:0}
body #mereu-cookie-notice h2{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
body #mereu-cookie-notice #mereu-cookie-description{display:inline;margin:0}
body #mereu-cookie-notice .mereu-cookie-copy>a{display:inline-block;padding:0;margin-left:6px;white-space:nowrap}
body #mereu-cookie-notice .mereu-cookie-error{margin:6px 0 0}
body #mereu-cookie-notice .mereu-cookie-controls{flex:0 1 auto;display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
body #mereu-cookie-notice .mereu-cookie-controls>p,body #mereu-cookie-notice [data-close]{display:none}
body #mereu-cookie-notice .mereu-cookie-actions{flex-wrap:nowrap;gap:8px}
body #mereu-cookie-notice .mereu-cookie-actions button{flex:1 1 auto;min-height:44px;padding:8px 16px;white-space:nowrap}
@media(max-width:760px){body #mereu-cookie-notice .mereu-cookie-copy,body #mereu-cookie-notice .mereu-cookie-controls,body #mereu-cookie-notice .mereu-cookie-actions{flex:1 1 100%}}

@media print{
  .top,.document-nav,.download,footer button,#mereu-cookie-notice,.mereu-cookie-manage{display:none!important}
  .status{break-inside:avoid}
  h2{break-after:avoid}
  footer{margin-top:24px;padding:16px 0 0;background:none;color:#1D1D1F;border-top:1px solid #E5E5EA}
  footer::before{display:none}
  footer a{color:#1D1D1F}
}

/* The structure of the owner's model page (28.10.2026, «așa trebuie să arate structura la pagina cu termeni și condiții»): the title
   on top, the documents in a grey card on the left, the text in a grey card on the right. The title is the article's own h1, lifted
   out of the card (the article draws no box of its own: display:contents, each block carries the card's grey), so the HTML the clients
   accepted stays byte for byte. «Preferințe cookie-uri» is a link of the footer (owner: «bagă-l link separat în footer»). */
footer button{height:auto;margin:4px 0 0;padding:0;border:0;border-radius:0;background:none;color:#FFFFFF;font:inherit;text-decoration:underline;text-decoration-color:rgba(255,255,255,.45);text-underline-offset:3px}
footer button:hover{text-decoration-color:#FFFFFF}
@media(min-width:900px){
  body{position:relative}
  main{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,1fr);column-gap:32px;row-gap:0;max-width:1264px;margin:0 auto;padding:0 32px;align-items:start}
  .top{grid-column:1/-1;margin:0 calc(50% - 50vw);padding:0 max(64px,calc(50vw - 600px))}
  article{display:contents}
  article>h1{grid-column:1/-1;grid-row:2;max-width:none;margin:0;padding:44px 0 32px}
  .document-nav{grid-column:1;grid-row:3/span 400;position:sticky;top:96px;flex-direction:column;flex-wrap:nowrap;gap:2px;max-width:none;margin:0;padding:20px;border-radius:20px;background:#F2F2F2}
  .document-nav a{min-height:0;padding:10px 12px;border-radius:12px;background:transparent;font-size:17px;font-weight:400;line-height:1.35}
  .document-nav a:hover{background:#E8E8ED}
  .document-nav [aria-current],.document-nav [aria-current]:hover{background:#1D1D1F;color:#FFFFFF;font-weight:500}
  .status{grid-column:2;max-width:none;margin:0 0 16px;padding:16px 40px}
  article>:not(h1){grid-column:2;max-width:none;margin:0;padding:14px 40px 0;background:#F2F2F2}
  article>h1+*{padding-top:36px;border-radius:20px 20px 0 0}
  article>:last-child{padding-bottom:36px;border-radius:0 0 20px 20px}
  article>h1+*:last-child{border-radius:20px}
  article>h2{padding-top:36px}
  article>h3{padding-top:24px}
  article>ul,article>ol{padding-left:62px}
  article>blockquote{padding-top:20px}
  article>blockquote>p{padding:14px 18px;border-radius:14px;background:#FFFFFF}
  article>.table-wrap{margin:0;border:0;border-radius:0;padding-top:20px}
  article>.table-wrap table{border:1px solid #E5E5EA;border-collapse:separate;border-spacing:0;border-radius:16px;overflow:hidden;background:#FFFFFF}
  .download{grid-column:2;max-width:none;margin:24px 0 0;padding:0}
  /* The footer hangs below main, from the body, instead of sitting in it (owner, 28.10: «ia vezi cum se deplasează»): Safari keeps a sticky
     grid item inside the whole grid container, so with the footer in main the documents card slid over the footer on a short window. */
  footer{position:absolute;top:100%;left:0;right:0;margin:64px 0 0;padding:48px max(64px,calc(50vw - 600px)) 40px}
}
@media(max-width:899.98px){
  article{margin:16px 16px 0;padding:4px 20px 24px;border-radius:20px;background:#F2F2F2}
  article h1{margin-top:24px}
}
/* The PDF of each KIV-1.4 document is Chrome's print of its page: A4, the text without its grey card (a card cut by every page break). */
@media print{
  @page{size:A4;margin:16mm 16mm 18mm}
  main{display:block}
  article{margin:0;padding:0;background:none;border-radius:0}
  article h1{margin-top:0}
}

/* Desktop type like the landing (owner, 02.11.2026): title 40/500, headings 24/500, text 18. */
@media(min-width:900px){h1{font-size:40px;font-weight:500;line-height:1.16;letter-spacing:-.02em}h2{font-weight:500}article{font-size:18px}}
