:root{
  --bg:#FFFFFF; --soft:#F3F5F9; --ink:#14171C; --muted:#566072; --line:#DFE4EC;
  --blue:#2563EB; --blue-press:#1D4FD0; --blue-soft:#E8EFFE;
  --night:#0B1730; --green:#15803D; --amber:#F59E0B; --red:#DC2626;
  --r-xl:32px; --r-lg:24px; --r-md:14px; --r-ctl:12px; --bar:64px;
  --ease:cubic-bezier(.2,.7,.2,1);
  --display:"Geologica","Golos Text",system-ui,-apple-system,"Segoe UI",sans-serif;
  --text:"Golos Text",system-ui,-apple-system,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--bar) + 14px)}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--text);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-wrap:break-word}
a{color:inherit}
img{max-width:100%}
p{margin:0;text-wrap:pretty}
h1,h2,h3{font-family:var(--display);font-weight:500;margin:0;letter-spacing:-0.02em;text-wrap:balance}
h1{font-weight:600;font-size:clamp(30px,3.3vw,44px);line-height:1.1;letter-spacing:-0.03em}
h2{font-size:clamp(25px,2.3vw,30px);line-height:1.15}
h3{font-size:18px;line-height:1.3;letter-spacing:-0.01em}
.wrap{max-width:1344px;margin:0 auto;padding-inline:32px}
.sec{padding-block:clamp(80px,9vw,128px)}
.band{background:var(--soft)}
.lead{font-size:18px;color:var(--muted)}
.head{display:grid;gap:8px;margin-bottom:24px;max-width:44em}
.center{text-align:center}
.link{color:var(--blue);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px}
.link:hover{color:var(--blue-press)}
.tap{padding-block:13px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:8px}

.btn{font:inherit;font-weight:600;font-size:16px;border:0;border-radius:var(--r-ctl);padding:0 22px;min-height:48px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;white-space:nowrap}
.btn svg{width:20px;height:20px;flex:none}
.btn-main{background:var(--blue);color:#fff}
.btn-main:hover{background:var(--blue-press)}
.btn-line{background:transparent;color:var(--blue);box-shadow:inset 0 0 0 1.5px var(--blue)}
.btn-line:hover{background:var(--blue-soft)}
.btn-quiet{background:var(--soft);color:var(--ink)}
.btn-quiet:hover{background:#E7EBF2}
.btn-sm{min-height:44px;padding:0 16px;font-size:15px}
.btn-lg{min-height:54px;padding:0 30px;font-size:17px}

/* header */
.bar{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.94);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line)}
.bar .wrap{display:flex;align-items:center;gap:16px;height:var(--bar)}
.brand{font-family:var(--display);font-weight:600;font-size:20px;letter-spacing:-0.02em;text-decoration:none;display:inline-flex;align-items:center;gap:12px;margin-inline-end:16px;min-height:44px}
/* the mark alone — the app icon's shield, with no tile behind it and no ring around it (owner, 26.11.2026) */
.brand img{width:auto;height:36px;display:block}
/* the header, after the owner's example: the name, the sections right beside it; at the far side the other language, «Войти» as plain text, one pill button */
.menu{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500}
.menu a{text-decoration:none;color:var(--muted);padding:0 8px;min-height:44px;display:inline-flex;align-items:center;border-radius:8px}
.menu a:hover{color:var(--ink)}
.menu a[aria-current="true"]{color:var(--ink);box-shadow:inset 0 -2px 0 var(--blue);border-radius:0}
.lang{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:500;margin-inline-start:auto}
.bar .lang b{display:none}
/* its own name: «.login» is the sign-in form of the account page */
.signin{font-size:14px;font-weight:500;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;padding:0 8px}
.bar .try{border-radius:999px;padding:0 24px;font-size:14px;box-shadow:0 8px 20px rgba(37,99,235,.4)}
.lang b{font-weight:600}
.lang a{color:var(--muted);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.lang a:hover{color:var(--ink)}
.burger{display:none;width:44px;height:44px;border:0;border-radius:var(--r-ctl);background:var(--soft);color:var(--ink);cursor:pointer;align-items:center;justify-content:center}
.burger svg{width:22px;height:22px}
.mmenu{border-top:1px solid var(--line);background:#fff;padding:8px 0 16px}
.mmenu[hidden]{display:none}
.bar .mmenu .wrap{display:block;height:auto}
.mmenu a.m{display:flex;align-items:center;min-height:48px;text-decoration:none;font-size:17px;font-weight:500;border-bottom:1px solid var(--line)}
.mmenu .btn{width:100%;margin-top:14px}

/* the header is dark on every page (owner, 25.11.2026), in the logo's own navy #0B1730 (owner, 26.11.2026) */
.bar{background:rgba(11,23,48,.97);border-bottom-color:rgba(255,255,255,.08);color:#fff}
.bar .brand{color:#fff}
.bar .menu a,.bar .lang a,.bar .back,.bar .signin{color:rgba(255,255,255,.76)}
.bar .menu a:hover,.bar .lang a:hover,.bar .back:hover,.bar .signin:hover{color:#fff}
.bar .menu a[aria-current="true"]{color:#fff;box-shadow:inset 0 -2px 0 #fff}
.bar .btn-quiet,.bar .burger{background:rgba(255,255,255,.12);color:#fff}
.bar .btn-quiet:hover,.bar .burger:hover{background:rgba(255,255,255,.2)}
.bar :focus-visible{outline-color:#fff}
.bar .mmenu{background:var(--night);border-top-color:rgba(255,255,255,.08)}
.bar .mmenu a.m{color:#fff;border-bottom-color:rgba(255,255,255,.12)}

/* support strip, footer, cookies */
.strip{background:var(--night);color:#fff}
.strip .wrap{display:flex;align-items:center;justify-content:space-between;gap:10px 24px;flex-wrap:wrap;padding-block:22px}
.strip b{font-family:var(--display);font-weight:500;font-size:20px;letter-spacing:-0.01em}
.strip a{color:#fff;font-weight:600;font-size:17px;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center}
.foot{background:var(--soft);color:var(--muted);padding:48px 0 24px;font-size:14px;border-top:1px solid var(--line)}
.foot-in{display:grid;grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr));gap:32px 48px}
.foot .brand{color:var(--ink)}
/* the footer's rows line up across its columns: the three headings stand on the name's line, the first links on the first line of the text */
.f-brand p{margin-top:9px;max-width:26em;line-height:1.55}
.foot .col h3,.foot .col .foot-title{min-height:44px;display:flex;align-items:center;margin-bottom:0}
.f-mail{display:inline-flex;align-items:center;min-height:44px;font-weight:600;color:var(--ink);text-decoration:none}
.f-mail:hover{text-decoration:underline}
.foot h3,.foot .foot-title{font-family:var(--text);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ink);margin-bottom:10px}
.foot .col a,.foot .col button{display:flex;align-items:center;min-height:44px;text-decoration:none;font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-align:start}
.foot .col a:hover,.foot .col button:hover{color:var(--ink);text-decoration:underline}
/* the download block stands in the left column, under the name and the support address — not in a column of its own
   (owner, 26.11.2026); its look is the owner's reference: a title, the two store badges in a row, the QR code under them */
.f-get{display:grid;gap:16px;align-content:start;justify-items:stretch;width:100%;max-width:26em;margin-top:24px}
.f-get h3,.f-get .foot-title{margin-bottom:0}
/* the two badges are large and fill the text column's width between them */
.f-badges{display:flex;gap:8px}
.f-store{flex:1 1 0;min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:56px;padding:0 12px;border-radius:12px;background:#0E1014;color:#fff;font-weight:600;font-size:16px;line-height:1.15;text-decoration:none;white-space:nowrap}
.f-store svg{width:24px;height:24px;flex:none}
.f-store span{display:grid;text-align:start}
.f-store small{font-weight:500;font-size:11px;color:rgba(255,255,255,.72)}
.f-store.soon{background:#3A4150}
.f-qr{width:176px;height:176px;justify-self:start;border-radius:20px;background:#fff;padding:16px;display:block}
.f-bottom{margin-top:32px;padding-top:16px;border-top:1px solid var(--line);font-size:14px;display:flex;align-items:center;gap:8px 28px;flex-wrap:wrap}
.f-bottom button{font:inherit;color:inherit;background:none;border:0;padding:0;min-height:44px;cursor:pointer}
.f-bottom button:hover{color:var(--ink);text-decoration:underline}
.f-bottom .lang{margin-inline-start:auto!important}
.f-bottom .lang b{color:var(--ink)}
/* the cookie window: wide and without an icon (owner, 26.11.2026) — one line of text and the two buttons beside it, in the
   middle, well above the window's lower edge. Its dock stands in the page between the content and the footer and sticks while
   the content scrolls; when the footer comes into view the card stays above it, so it never lies over the QR code. */
/* the dock takes no room in the page (no white band above the footer): it is a line that sticks 60 px above the window's
   lower edge, the card hangs 12 px above that line; at the page's end the line is the footer's top edge (owner, 27.11.2026) */
.cookie-dock{position:sticky;bottom:60px;z-index:50;height:0;pointer-events:none}
.cookie-dock>.cookie{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);width:max-content;max-width:calc(100vw / var(--z,1) - 32px)}
.cookie{pointer-events:auto;width:fit-content;max-width:100%;background:#fff;border-radius:20px;padding-block:12px;padding-inline:24px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;box-shadow:0 24px 60px rgba(20,23,28,.22),0 2px 8px rgba(20,23,28,.08);font-size:15px;line-height:1.5}
.cookie .link{white-space:nowrap}
.cookie .acts{display:flex;gap:8px}
.cookie .acts .btn{border-radius:12px;min-height:44px;padding:0 16px;font-size:14px}

/* page frame, forms and notes shared by all six pages */
[hidden]{display:none!important}
body{min-height:100vh;display:flex;flex-direction:column}
main{flex:1 0 auto}
main.wrap{width:100%}
.ltr{direction:ltr;unicode-bidi:isolate}
.muted{color:var(--muted)}
.btn-danger{background:#C13415;color:#fff}
.btn-danger:hover{background:#A62B10}
.form{display:grid;gap:8px}
.form label{font-weight:600;font-size:15px;margin-top:10px}
.inp{font:inherit;height:54px;border-radius:var(--r-ctl);border:1.5px solid #C6CEDB;padding:0 16px;font-size:18px;font-variant-numeric:tabular-nums;min-width:0;width:100%;background:#fff;color:var(--ink)}
.inp:focus-visible{outline:3px solid var(--blue);outline-offset:1px;border-color:var(--blue)}
.inp[aria-invalid="true"]{border-color:#B91C1C}
.inp[dir="ltr"]:lang(he){text-align:right}
.hint{font-size:14.5px;color:var(--muted)}
.err{font-size:14.5px;color:#B91C1C;min-height:1.55em}
.form .btn{margin-top:8px;justify-self:start}
button.link{background:none;border:0;padding:0;font:inherit;cursor:pointer}
.demo-note{background:var(--soft);color:var(--muted);font-size:14.5px;border-bottom:1px solid var(--line)}
.demo-note .wrap{padding-block:10px;display:flex;gap:10px;align-items:center}
.demo-note svg{width:18px;height:18px;flex:none}
.pick{font-size:14.5px;color:var(--muted);display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:12px 14px;border-radius:var(--r-md);border:1.5px dashed #C6CEDB}
.pick label{margin:0;font-weight:400;font-size:inherit}
.pick select{font:inherit;font-size:14.5px;min-height:44px;border-radius:10px;border:1.5px solid #C6CEDB;padding:0 10px;background:#fff;color:var(--ink);max-width:100%}
.foot-min{background:var(--soft);color:var(--muted);font-size:14.5px}
.foot-min .wrap{display:flex;flex-wrap:wrap;gap:4px 24px;align-items:center;padding-block:14px}
.foot-min a{text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.foot-min a:hover{color:var(--ink);text-decoration:underline}
.foot-min .sp{margin-inline-start:auto}
.bar-min .lang{margin-inline-start:auto}
body.narrow .wrap{max-width:1184px}

/* how wide the content is and how big everything is. The sizes are an ordinary site's: nothing is enlarged up to a 2340 px window.
   On a bigger monitor the page is enlarged a little, in steps, so the column does not shrink into the middle — about three fifths
   of the width, as on the owner's reference — and only when the window is also tall enough for the step (780 px per unit). */
@media (min-width:1200px){.wrap{max-width:min(1344px,84vw)}}
@media (min-width:2340px) and (min-height:860px){html{zoom:1.1;--z:1.1}}
@media (min-width:2560px) and (min-height:940px){html{zoom:1.2;--z:1.2}}
@media (min-width:2980px) and (min-height:1090px){html{zoom:1.4;--z:1.4}}
@media (min-width:3400px) and (min-height:1250px){html{zoom:1.6;--z:1.6}}
@media (min-width:3830px) and (min-height:1400px){html{zoom:1.8;--z:1.8}}

/* Hebrew: one family that has Hebrew and Cyrillic, no tightened letters */
:root:lang(he){--display:"Rubik","Arial Hebrew",system-ui,-apple-system,sans-serif;--text:"Rubik","Arial Hebrew",system-ui,-apple-system,sans-serif}
:root:lang(he) h1,:root:lang(he) h2,:root:lang(he) h3,:root:lang(he) .brand{letter-spacing:0}

@media (max-width:1080px){
  :root{--bar:60px}
  .menu,.bar>.wrap>.btn-main{display:none}
  .burger{display:inline-flex}
  .foot-in{grid-template-columns:repeat(3,minmax(0,1fr))}
  .f-brand{grid-column:1/-1}
  .f-qr{width:160px;padding:16px}
  .f-bottom .lang b{display:inline}
}
@media (max-width:760px){
  .wrap{padding-inline:16px}
  .sec{padding-block:40px}
  .foot-in{grid-template-columns:minmax(0,1fr)}
  /* on a phone the card is tall: it stands in the page above the footer, so at the end it covers nothing */
  .cookie-dock{bottom:0;height:auto;padding:0 16px 16px}
  .cookie-dock>.cookie{position:static;transform:none;width:auto;max-width:none}
  .cookie{grid-template-columns:minmax(0,1fr);gap:12px;padding:16px}
  .cookie .acts .btn{flex:1 1 0;min-width:0;padding:0 8px}
  .form .btn{justify-self:stretch;width:100%}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* header: navy kept; spacing, type, hover and CTA pill like v2; height stays --bar so the hero art does not move */
.bar{backdrop-filter:saturate(1.6) blur(14px);-webkit-backdrop-filter:saturate(1.6) blur(14px)}
.bar .wrap{gap:28px}
.brand{font-weight:700;font-size:19px;letter-spacing:-.02em;gap:10px;margin-inline-end:0}
.menu{gap:4px;font-size:15px}
.menu a{padding:8px 12px;border-radius:999px}
.bar .menu a:hover{background:rgba(255,255,255,.12);color:#fff}
.signin,.lang a,.bar .lang a{font-size:15px;padding:10px 12px;border-radius:999px}
.bar .signin:hover,.bar .lang a:hover{background:rgba(255,255,255,.12);color:#fff}
.bar .try{min-height:42px;padding:0 18px;font-size:15px;font-weight:600;border-radius:999px;background:linear-gradient(180deg,#3A6BFF 0%,#2459F5 55%,#1A46D4 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(20,56,172,.4),0 10px 24px -10px rgba(36,89,245,.8)}
.bar .try:hover{transform:translateY(-1px);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 2px 4px rgba(20,56,172,.4),0 16px 32px -12px rgba(36,89,245,.9)}
.burger{border-radius:999px}


/* reveal-on-scroll: hidden only when JS ran and motion is allowed; no-JS stays visible */
.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.js .reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js .reveal{opacity:1;transform:none}
}

/* compact header on checkout/account: keep the tighter original gap so the Hebrew back link fits at 390 */
.bar-min .wrap{gap:16px}
@media (max-width:760px){
  .bar-min .wrap{gap:8px}
  .bar-min .back{padding-inline:8px 10px;gap:6px;font-size:13px}
}

/* header like v2: solid navy at the top; once the page scrolls it turns see-through with blur. Current section is a soft pill, not an underline, so hover and current don't clash. */
.bar{transition:background-color .25s,box-shadow .25s}
.bar.scrolled{background:rgba(11,23,48,.72);box-shadow:0 1px 0 rgba(255,255,255,.08),0 8px 24px rgba(5,10,25,.25)}
.bar .menu a{transition:background-color .2s,color .2s}
.bar .menu a[aria-current="true"]{box-shadow:none;background:rgba(255,255,255,.1)}
.bar .menu a[aria-current="true"]:hover{background:rgba(255,255,255,.16)}

/* Cookie fixed bar */
/* cookie-fix — wide fixed bar at the viewport bottom (load after base.css).
   The sticky dock was ending at the footer/CTA join, so the card sat on the
   blue banner at the page end. Fixed keeps it on the viewport bottom always:
   over the footer when you scroll to the end, never stuck on the CTA. */

.cookie-dock{
  position:fixed;
  left:0;
  right:0;
  bottom:16px;
  z-index:80;
  height:auto;
  display:flex;
  justify-content:center;
  padding:0 16px;
  pointer-events:none;
}
.cookie-dock > .cookie{
  position:static;
  left:auto;
  bottom:auto;
  transform:none;
  pointer-events:auto;
  width:min(1344px, calc(100vw / var(--z,1) - 32px));
  max-width:none;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px 32px;
  align-items:center;
  padding:14px 16px 14px 28px;
  border-radius:20px;
  text-align:start;
}
.cookie-ic{display:none !important}
.cookie p{margin:0}
@media (min-width:1200px){
  .cookie-dock > .cookie{width:min(1344px,84vw,calc(100vw / var(--z,1) - 32px))}
}

@media (max-width:760px){
  .cookie-dock{
    bottom:0;
    padding:0;
  }
  .cookie-dock > .cookie{
    width:100%;
    max-width:none;
    border-radius:16px 16px 0 0;
    grid-template-columns:minmax(0,1fr);
    gap:12px;
    padding:16px 16px calc(16px + env(safe-area-inset-bottom,0px));
  }
  .cookie .acts{justify-content:stretch}
  .cookie .acts .btn{flex:1 1 0;min-width:0}
}


/* Store badges (footer) */
/* store-btn — Play / App Store badges site-wide (load after base.css / home.css).
   Footer (.f-store) and connect step 2 (.store-btn). Height stays 56px.
   The icon height matches the text ink: cap top of the small line to the baseline of the big line (27.875px). Tight padding, width hugs the
   content — no more stretching across the footer column (flex:1) or a
   forced min-width on the connect badge. */

.f-store{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  flex:0 0 auto;
  width:max-content;
  min-width:0;
  max-width:100%;
  height:56px;
  gap:10px;
  padding:0 18px 0 13px;
  border-radius:12px;
  background:#0B0F19;
  color:#fff;
  font-weight:600;
  font-size:19px;
  line-height:1.1;
  letter-spacing:-.01em;
  text-decoration:none;
  white-space:nowrap;
  box-sizing:border-box;
  box-shadow:none;
}

.f-store svg{
  height:27.875px;
  width:auto;
  flex:none;
  display:block;
  overflow:visible;
  align-self:flex-start;
  /* Golos (RU): cap ink of «Скачать в» at 14.25px, big-line baseline at 42.125px → height 27.875px. */
  margin-top:14.25px;
}

html[lang="he"] .f-store svg{
  /* Rubik (HE): typographic cap ~13.03px, big-line baseline 41.125px; 13.25+27.875=41.125. */
  margin-top:13.25px;
}

/* Cropped viewBoxes (Play 2.9 1.7 18.3 20.6, Apple 4.0 2.8 15.4 18.8)
   so the glyph fills the 27.875px height; width follows aspect, no letterbox gap. */
.f-store svg[viewBox="2.9 1.7 18.3 20.6"]{
  width:calc(27.875px * 18.3 / 20.6);
}

.f-store svg[viewBox="4.0 2.8 15.4 18.8"]{
  width:calc(27.875px * 15.4 / 18.8);
}

.f-store span{
  display:grid;
  align-content:center;
  text-align:start;
  line-height:1.05;
  gap:1px;
}

.f-store small{
  font-weight:500;
  font-size:11px;
  line-height:1.2;
  color:rgba(255,255,255,.72);
}

.f-store.soon{
  background:#3A4150;
}


.f-badges{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  width:auto;
  max-width:100%;
}


@media (max-width:760px){.f-store{flex:0 0 auto;width:max-content;max-width:100%}}



/* Footer S */
/* footer-S — polished layout on the R3 structure.
   Logo + blurb + flush socials in the start column; three link columns;
   download as the last column (equal-width stacked badges, QR same width,
   light border). Append after base.css / store-btn.css. */

.foot{
  padding:56px 0 0;
}

.foot-in{
  grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr)) auto;
  gap:28px 40px;
  align-items:start;
}

.f-logo{margin:0}
.f-brand > p{
  margin-top:20px;
  max-width:22em;
  line-height:1.5;
}

/* Socials sit under the blurb, glyphs flush to the column start. */
.f-brand .f-social{
  display:flex;
  align-items:center;
  gap:12px;
  margin:20px 0 0;
  padding:0;
}
.f-brand .f-social a{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:20px;
  height:20px;
  color:var(--muted);
  text-decoration:none;
}
.f-brand .f-social a::after{
  content:"";
  position:absolute;
  inset:-10px;
}
.f-brand .f-social a:hover{color:var(--blue)}
.f-brand .f-social svg{width:20px;height:20px;display:block;flex:none}

/* Download column is sized by the heading or the wider badge (whichever is
   larger). The shorter badge and the QR stretch to that same width. */
.f-get{
  display:grid;
  grid-template-columns:max-content;
  justify-self:start;
  align-content:start;
  gap:12px;
  width:auto;
  max-width:100%;
  margin-top:0;
}
.f-get h3,.f-get .foot-title{
  min-width:100%;
  min-height:44px;
  margin:0;
  display:flex;
  align-items:center;
  line-height:1.25;
  white-space:nowrap;
  box-sizing:border-box;
}
.f-get .f-badges{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:8px;
  width:max-content;
  min-width:100%;
}
/* Stretch the shorter badge to the wider one; do not change v4 type or height. */
.f-get .f-store,
.f-get .f-store.soon,
.f-get a.f-store{
  width:100%;
  max-width:none;
  justify-content:flex-start;
  box-sizing:border-box;
}
.f-get .f-qr{
  /* SVG has no width/height attrs (default replaced size 300px).
     contain:inline-size so that 300px does not size the column. */
  contain:inline-size;
  width:100%;
  min-width:0;
  max-width:100%;
  height:auto;
  aspect-ratio:1;
  box-sizing:border-box;
  padding:10px;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:none;
  display:block;
}

.f-bottom{
  margin-top:48px;
  padding:20px 0 28px;
  border-top:1px solid var(--line);
}

@media (max-width:1080px){
  .foot-in{
    grid-template-columns:repeat(3,minmax(0,1fr)) auto;
    gap:28px 28px;
  }
  .f-brand{grid-column:1/-1}
}

@media (max-width:760px){
  .foot{
    padding:40px 0 0;
  }
  .foot-in{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:28px 20px;
  }
  .f-brand{grid-column:1/-1}
  .f-get{grid-column:1/-1}
  .f-bottom{margin-top:36px;padding:16px 0 20px}
}

/* Header menu */
/* header menu — one pill for hover, selected and focus (append to base.css).
   Fixes the aria-current rectangle (earlier border-radius:0 beats the
   later 999px hover radius). Same padding and radius in every state,
   so the chip does not shift. Selected fill is a step stronger than hover. */

.bar .menu a,
.bar .menu a:hover,
.bar .menu a:focus-visible,
.bar .menu a[aria-current="true"],
.bar .menu a[aria-current="true"]:hover{
  padding:8px 12px;
  min-height:44px;
  border-radius:999px;
  box-shadow:none;
}
.bar .menu a:hover{
  background:rgba(255,255,255,.12);
  color:#fff;
}
.bar .menu a[aria-current="true"]{
  color:#fff;
  background:rgba(255,255,255,.2);
}
.bar .menu a[aria-current="true"]:hover,
.bar .menu a[aria-current="true"]:focus-visible{
  background:rgba(255,255,255,.26);
}
.bar .menu a:focus-visible{
  outline:3px solid #fff;
  outline-offset:3px;
  border-radius:999px;
}

/* Footer social A */
/* social-A — heading «Мы в соцсетях» + wrapping row of icon + network name.
   Standalone glyphs only: no tiles, circles or background shapes.
   Append after base.css. Changes only .f-social. HTML: PATCH-A.txt */

.f-brand .f-social.f-social-a{
  display:grid;
  justify-items:start;
  gap:4px;
  margin:20px 0 0;
  padding:0;
}
.f-social-a .f-social-label{
  margin:0;
  font-family:var(--text);
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--ink);
  line-height:1.3;
}
:lang(he) .f-social-a .f-social-label{
  letter-spacing:.02em;
  text-transform:none;
}
.f-social-a .f-social-list{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:0 20px;
  width:100%;
}
.f-brand .f-social.f-social-a a{
  position:relative;
  width:auto;
  height:auto;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  color:var(--muted);
  text-decoration:none;
  font-size:14px;
  line-height:1.3;
  white-space:nowrap;
}
.f-brand .f-social.f-social-a a::after{content:none}
.f-brand .f-social.f-social-a a:hover{color:var(--ink)}
.f-brand .f-social.f-social-a a:hover span{text-decoration:underline;text-underline-offset:3px}
.f-brand .f-social.f-social-a svg{width:20px;height:20px;display:block;flex:none}

/* the header fits a 360 px phone: brand, language, sign-in and menu with less air (owner, 28.11.2026: «проверь
   responsive что красиво все через mobile screen dimensions») */
@media (max-width:420px){.bar .wrap{gap:8px}.bar .signin,.bar .lang a{padding-inline:8px}}
