/* Legal pages (privacy, terms, account deletion), shared by every budis.lt site variant.
   Plain document layout in the same tokens, colours and font as website/styles.css (keep the :root
   values in step with it). Text sizes are in rem so a larger browser font size scales the page;
   nothing renders below 18px at the default size. */
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-subset.woff2") format("woff2");
  font-weight: 600 900;
  unicode-range: U+0020-007E, U+00A0, U+00AB, U+00B7, U+00BB, U+00C4, U+00C9, U+00D6, U+00DC, U+00DF, U+00E4, U+00E9, U+00F6, U+00FC, U+0104-0105, U+010C-010D, U+0116-0119, U+012E-012F, U+0160-0161, U+016A-016B, U+0172-0173, U+017D-017E, U+0401, U+0410-044F, U+0451, U+2013-2014, U+2018-2019, U+201C, U+201E, U+2022, U+2026, U+20AC, U+2116, U+2192;
  font-display: swap;
}
:root {
  --teal: #0F5257;
  --honey: #FCE7B8;
  --honey-ink: #3D2C00;
  --mist: #CFE6E3;
  --cream: #F6F4EF;
  --white: #FFFFFF;
  --ink: #14302F;
  --slate: #4A5A59;
  --edge: #7A8786;
  --line: #D9DEDD;
  --radius: 20px;
  color-scheme: light;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: "Nunito", system-ui, sans-serif; font-weight: 600;
  font-size: 1.125rem; line-height: 1.6;
  overflow-wrap: break-word; caret-color: var(--teal);
}
::selection { background: var(--mist); color: var(--ink); }
a { color: var(--teal); font-weight: 800; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

.top { padding: 16px 0; border-bottom: 2px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; font-size: 1.625rem; font-weight: 900; color: var(--teal); text-decoration: none; }
.brand img { width: 34px; height: auto; }
.langs { display: flex; gap: 8px; margin-left: auto; }
.langs a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 56px; min-height: 56px; padding: 0 12px;
  border: 2px solid var(--edge); border-radius: 16px; text-decoration: none; font-weight: 800;
}
.langs a[aria-current="page"] { background: var(--teal); border-color: var(--teal); color: var(--white); }

main { padding: 32px 0 48px; }
/* Sized so the longest title, "Политика конфиденциальности", fits a 320px screen without breaking a word. */
h1 { margin: 0 0 8px; font-size: clamp(1.5rem, 7.5vw, 2.75rem); line-height: 1.15; font-weight: 900; color: var(--teal); text-wrap: balance; }
.updated { margin: 0 0 28px; color: var(--slate); }
h2 { margin: 40px 0 10px; font-size: 1.375rem; line-height: 1.25; font-weight: 900; color: var(--teal); text-wrap: balance; }
h3 { margin: 24px 0 6px; font-size: 1.25rem; line-height: 1.3; font-weight: 800; }
p, ul, ol { margin: 0 0 14px; }
/* About 70–75 characters a line in Nunito (its "ch" is wider than an average letter), so the eye finds the next line easily. */
main p, main ul, main ol { max-width: 34em; }
p, li { text-wrap: pretty; }
li { margin-bottom: 6px; }
@media (min-width: 600px) {
  body { font-size: 1.1875rem; }
  h2 { font-size: 1.875rem; }
  h3 { font-size: 1.5rem; }
}
.summary { background: var(--white); border-radius: var(--radius); padding: 20px 22px; margin: 0 0 8px; }
.summary h2 { margin-top: 0; }
.summary ul { margin-bottom: 0; }
.note { background: var(--honey); border-radius: var(--radius); padding: 16px 20px; color: var(--honey-ink); font-weight: 700; }
.table { overflow-x: auto; margin: 0 0 16px; border-radius: 12px; }
.table:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
table { border-collapse: collapse; width: 100%; background: var(--white); border-radius: 12px; overflow: hidden; font-size: 1.125rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { background: var(--mist); font-weight: 800; }
.toc { padding-left: 22px; }
.foot { padding: 16px 0 40px; border-top: 2px solid var(--line); font-size: 1.125rem; color: var(--slate); }
.foot p { margin: 0 0 6px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 24px; margin-bottom: 8px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 56px; }
