/* Bilingual legal pages (privacy / terms / refund / accessibility / cookies).
   Russian by default (LTR); the Hebrew section and <html dir> flip to RTL via
   the page's toggle script, and body direction follows <html dir>
   (v6, 2026-09-16). v2 (2026-09-09) —
   same Graphite/Lime/Ivory world as site.css. Font: Rubik — one family that
   covers Hebrew + Cyrillic + Latin, so both language sections share a voice
   (site.css uses Onest, which has no Hebrew; legal pages need all three). */
@import url('/assets/fonts/rubik/rubik.css?v=1');

:root{
  --graphite:#17191B; --graphite-90:#2A2D30;
  --lime:#CDF568; --lime-ink:#3A4A12;
  --ivory:#F5F3EC; --ivory-dim:#ECE9DE; --white:#fff;
  --ink-70:#4A4D50; --ink-45:#63666A;
  --font:'Rubik','Segoe UI',system-ui,-apple-system,sans-serif;
  --measure:44rem;
  --ease:cubic-bezier(.2,.6,.2,1);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{
  font-family:var(--font);color:var(--graphite);background:var(--ivory);
  font-size:16px;line-height:1.75;-webkit-font-smoothing:antialiased;
}
img,svg{display:block;max-width:100%;height:auto}
a{color:inherit}
::selection{background:var(--lime);color:var(--lime-ink)}
:focus-visible{outline:3px solid var(--graphite);outline-offset:2px;border-radius:2px}

.skip-link{
  position:absolute;inset-inline-start:-9999px;top:0;z-index:100;
  background:var(--graphite);color:var(--white);padding:.75rem 1.25rem;
  border-radius:0 0 8px 8px;font-weight:600;text-decoration:none;
}
.skip-link:focus{inset-inline-start:0}

header.site{background:var(--ivory);border-bottom:1px solid var(--ivory-dim);position:sticky;top:0;z-index:20}
header.site .bar{
  max-width:72rem;margin:0 auto;padding:0 clamp(1.25rem,4vw,2.5rem);min-height:4.5rem;
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
}
.brand{display:flex;align-items:center;text-decoration:none}
.brand svg{height:32px;width:auto}
.brand .mark{  /* legacy fallback if a page still ships the text mark */
  width:2.1rem;height:2.1rem;border-radius:.5rem;background:var(--graphite);
  color:var(--white);display:flex;align-items:center;justify-content:center;font-size:.85rem;font-weight:700;
}

.langtoggle{display:flex;gap:0;border:1.5px solid var(--graphite);border-radius:999px;overflow:hidden}
.langtoggle button{
  font:inherit;font-size:.85rem;font-weight:600;padding:.5rem 1rem;border:0;cursor:pointer;
  background:transparent;color:var(--graphite);transition:background var(--ease) .18s,color var(--ease) .18s;
}
.langtoggle button[aria-pressed="true"]{background:var(--graphite);color:var(--white)}

main{max-width:var(--measure);margin:0 auto;padding:clamp(2.5rem,6vw,4.5rem) clamp(1.25rem,4vw,2.5rem) clamp(4rem,8vw,6rem)}
[hidden]{display:none!important}
section[lang="ru"]{direction:ltr;text-align:left}
.langsplit{display:none}

h1{font-size:clamp(1.9rem,4vw,2.6rem);font-weight:700;line-height:1.12;letter-spacing:-.02em;margin-bottom:.5rem}
.updated{font-size:.9rem;color:var(--ink-45);margin-bottom:1.5rem}
.lead{font-size:1.075rem;color:var(--ink-70);line-height:1.7;margin-bottom:2.5rem;
  padding-bottom:2rem;border-bottom:1px solid var(--ivory-dim)}
h2{
  font-size:1.2rem;font-weight:600;letter-spacing:-.01em;line-height:1.3;
  margin:2.5rem 0 .75rem;padding-top:1.75rem;border-top:1px solid var(--ivory-dim);
}
h2:first-of-type{border-top:0;padding-top:0}
h3{font-size:1.03rem;font-weight:600;margin:1.5rem 0 .5rem}
p,ul,ol{margin-bottom:1rem}
ul,ol{padding-inline-start:1.4rem}
li{margin-bottom:.4rem}
strong{font-weight:600}
a:not(.brand):not(.skip-link){
  color:var(--graphite);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;
  transition:text-decoration-thickness var(--ease) .18s,text-decoration-color var(--ease) .18s;
}
a:not(.brand):not(.skip-link):hover{text-decoration-thickness:2px;text-decoration-color:var(--lime)}

.tablewrap{overflow-x:auto;margin-bottom:1.5rem;-webkit-overflow-scrolling:touch}
.tablewrap table{margin-bottom:0}
table{width:100%;border-collapse:collapse;margin-bottom:1.5rem;font-size:.95rem}
th,td{border:1px solid var(--ivory-dim);padding:.6rem .8rem;text-align:start;vertical-align:top}
th{background:var(--white);font-weight:600}

.backlink{
  display:inline-flex;align-items:center;gap:.5rem;margin-top:2.5rem;
  font-weight:600;font-size:.95rem;text-decoration:none!important;
}

footer.site{border-top:1px solid var(--ivory-dim);background:var(--ivory)}
footer.site > div{
  max-width:72rem;margin:0 auto;padding:2rem clamp(1.25rem,4vw,2.5rem);
  font-size:.9rem;color:var(--ink-45);display:flex;flex-wrap:wrap;gap:1rem 2rem;
  align-items:flex-start;justify-content:space-between;
}
footer.site nav{display:flex;flex-wrap:wrap;gap:.75rem 1.25rem}
footer.site a{color:inherit}
footer.site .consent-reopen{
  font:inherit;font-size:.9rem;background:transparent;border:0;padding:0;color:inherit;
  text-decoration:underline;text-underline-offset:3px;cursor:pointer;
}
