/* Design v2 of myafvpn.com (style A «Воздух»): the tokens, the base, the buttons, the header and the footer of every
   page, the questions, the yellow band. The home page and the app pages add home.css, the other pages pages.css and
   the sheet of their kind (guide.css, blog.css). Markup comes from v2.py. The site's CSP forbids inline styles and
   data: pictures, so everything is in the sheets. */

/* ---------- fonts ---------- */
/* Inter with the optical-size axis (it has the weight axis as well): text takes the size it is set at, headings ask for the display cut */
@font-face{font-family:"Inter";font-style:normal;font-display:swap;font-weight:100 900;src:url(/fonts/inter-cyrillic-opsz-normal.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Inter";font-style:normal;font-display:swap;font-weight:100 900;src:url(/fonts/inter-latin-opsz-normal.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Display";font-style:normal;font-display:swap;font-weight:100 900;src:url(/fonts/inter-cyrillic-opsz-normal.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Inter Display";font-style:normal;font-display:swap;font-weight:100 900;src:url(/fonts/inter-latin-opsz-normal.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Unbounded";font-style:normal;font-display:swap;font-weight:200 900;src:url(/fonts/unbounded-cyrillic-wght-normal.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Unbounded";font-style:normal;font-display:swap;font-weight:200 900;src:url(/fonts/unbounded-latin-wght-normal.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* the logo's four letters come from a 2 KB cut of Unbounded; the full files load only where other words are set in it */
@font-face{font-family:"Unbounded";font-style:normal;font-display:swap;font-weight:200 900;src:url(/fonts/unbounded-logo-wght-normal.woff2) format("woff2-variations");unicode-range:U+0041,U+0046,U+004D,U+0059}

/* ---------- tokens ---------- */
/* light: Apple-like graphite neutrals, the brand yellow stays the one accent */
:root,.th-light{
  color-scheme:light;
  --yellow:#F6CA2F;--yellow-hi:#FFD84A;--on-yellow:#0B0B0F;
  --bg:#F5F5F7;--surface:#FFFFFF;--raised:#FFFFFF;--well:#E9E9ED;
  --ink:#0B0B0F;--ink-2:#2E2E33;--mute:#66666C;--tone:rgba(11,11,15,.5);
  --line:rgba(11,11,15,.08);--line-2:rgba(11,11,15,.16);--soft:rgba(11,11,15,.06);--soft-2:rgba(11,11,15,.1);
  --glass:rgba(255,255,255,.72);
  --coal:#111113;--coal-2:#1E1E21;--coal-line:rgba(255,255,255,.1);--on-coal:#F5F5F7;--coal-mute:#A6A6AD;
  --ok:#1D7F45;--bad:#C6352B;
  --shadow-1:0 1px 2px rgba(11,11,15,.04),0 10px 30px -8px rgba(11,11,15,.1);
  --shadow-2:0 2px 6px rgba(11,11,15,.06),0 28px 60px -18px rgba(11,11,15,.24);
  --app-bg:#F2F2F5;--app-card:#FFFFFF;--app-ink:#0B0B0F;--app-mute:#6B6B72;--app-line:#E9E9ED;--app-ok:#1D7F45;--app-pill:#F6CA2F;--app-pill-ink:#0B0B0F;--app-cut:#F6CA2F;--app-tint:#FDF4D5;
  /* the extra colours: only for small things — the backing of a small icon, a tag, a dot; the glyph on them is --on-p.
     --tint is a large soft-yellow block (a note, the trial strip, a tile); --tint-in a panel inside one */
  --p1:#DDEBFF;--p2:#FFF0BF;--p3:#DDF4E4;--p4:#EEE4FF;--on-p:#0B0B0F;--p-ok:#1D7F45;
  --tint:#FFF0BF;--tint-line:transparent;--tint-in:#FFFFFF;
  /* the first screen: the page's own colour at the top, blue growing towards the lower edge, nothing warm in it */
  --sky-1:#D7E4F5;--sky-2:#E6EEF8;--sky-3:#F0F4FA;--panel-line:rgba(11,11,15,.05);
  /* the featured tariff: a coal card with yellow in the light theme, a yellow card with coal in the dark one */
  --top-bg:#0B0B0F;--top-ink:#F5F5F7;--top-mute:#B9B9C0;--top-accent:#F6CA2F;--top-btn:#F6CA2F;--top-btn-ink:#0B0B0F;
}

/* the first screen's background: a pale sky, lighter at the top but never the page's own grey, so the panel's
   upper edge is seen. Dark stays flat. */
/* dark: true black page, raised graphite surfaces; the app's screens in the pictures are the same graphite */
[data-theme=dark],.th-dark{
  color-scheme:dark;
  --bg:#000000;--surface:#1C1C1E;--raised:#2C2C2E;--well:#161618;
  --ink:#F5F5F7;--ink-2:#D8D8DD;--mute:#A1A1A8;--tone:rgba(245,245,247,.48);
  --line:rgba(255,255,255,.09);--line-2:rgba(255,255,255,.18);--soft:rgba(255,255,255,.09);--soft-2:rgba(255,255,255,.14);
  --glass:rgba(28,28,30,.72);
  --coal:#1C1C1E;--coal-2:#2C2C2E;--coal-line:rgba(255,255,255,.1);--on-coal:#F5F5F7;--coal-mute:#A6A6AD;
  --ok:#4CD080;--bad:#FF7A70;
  --shadow-1:0 0 0 1px rgba(255,255,255,.06);
  --shadow-2:0 0 0 1px rgba(255,255,255,.08),0 30px 70px -20px rgba(0,0,0,.9);
  --app-bg:#0E0E10;--app-card:#1C1C1E;--app-ink:#F5F5F7;--app-mute:#A1A1A8;--app-line:#2A2A2D;--app-ok:#4CD080;--app-pill:#F6CA2F;--app-pill-ink:#0B0B0F;--app-cut:#F6CA2F;--app-tint:#2A2A2D;
  /* dark: yellow is either the solid brand yellow or nothing — no dark yellow fills next to graphite. The small icon
     backings keep the light theme's clear shades (with the dark glyph), a large tinted block is a graphite card */
  --p1:#CFE0FF;--p2:#FFE9A0;--p3:#CDEFD8;--p4:#E4D6FF;--on-p:#0B0B0F;--p-ok:#1D7F45;
  --tint:#1C1C1E;--tint-line:rgba(255,255,255,.09);--tint-in:#000000;
  /* dark: no gradients and no glow, the first screen is one flat graphite panel with a hairline */
  --sky-1:#111113;--sky-2:#111113;--sky-3:#111113;--panel-line:rgba(255,255,255,.08);
  --top-bg:#F6CA2F;--top-ink:#0B0B0F;--top-mute:#3A3006;--top-accent:#0B0B0F;--top-btn:#0B0B0F;--top-btn-ink:#F5F5F7;
}
/* no script: the device's theme still counts */
@media (prefers-color-scheme:dark){
  html:not([data-theme]){
    color-scheme:dark;
    --bg:#000000;--surface:#1C1C1E;--raised:#2C2C2E;--well:#161618;
    --ink:#F5F5F7;--ink-2:#D8D8DD;--mute:#A1A1A8;--tone:rgba(245,245,247,.48);
    --line:rgba(255,255,255,.09);--line-2:rgba(255,255,255,.18);--soft:rgba(255,255,255,.09);--soft-2:rgba(255,255,255,.14);
    --glass:rgba(28,28,30,.72);--coal:#1C1C1E;--coal-2:#2C2C2E;--ok:#4CD080;--bad:#FF7A70;
    --shadow-1:0 0 0 1px rgba(255,255,255,.06);--shadow-2:0 0 0 1px rgba(255,255,255,.08),0 30px 70px -20px rgba(0,0,0,.9);
    --app-bg:#0E0E10;--app-card:#1C1C1E;--app-ink:#F5F5F7;--app-mute:#A1A1A8;--app-line:#2A2A2D;--app-ok:#4CD080;--app-pill:#F6CA2F;--app-pill-ink:#0B0B0F;--app-cut:#F6CA2F;--app-tint:#2A2A2D;
    --p1:#CFE0FF;--p2:#FFE9A0;--p3:#CDEFD8;--p4:#E4D6FF;--on-p:#0B0B0F;--p-ok:#1D7F45;
    --tint:#1C1C1E;--tint-line:rgba(255,255,255,.09);--tint-in:#000000;
    --sky-1:#111113;--sky-2:#111113;--sky-3:#111113;--panel-line:rgba(255,255,255,.08);
    --top-bg:#F6CA2F;--top-ink:#0B0B0F;--top-mute:#3A3006;--top-accent:#0B0B0F;--top-btn:#0B0B0F;--top-btn-ink:#F5F5F7;
  }
}
/* a wide-gamut screen shows the yellow a little brighter */
@media (color-gamut:p3){
  @supports (color:color(display-p3 1 1 1)){
    :root{--yellow:color(display-p3 .965 .803 .19);--yellow-hi:color(display-p3 1 .86 .3)}
  }
}

/* radii: sections, cards, inner elements; a nested corner is its parent's minus the gap between them */
:root{
  --r-xl:2.5rem;--r-lg:1.75rem;--r-md:1.25rem;--r-sm:.875rem;--r-xs:.625rem;
  --gut:clamp(1rem,4vw,2.5rem);--max:72rem;
  --ease:cubic-bezier(.2,.7,.2,1);
  --text:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --display:"Inter Display","Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --logo:"Unbounded","Arial Black",system-ui,sans-serif;
  --h-track:-.035em;--h-weight:600;
}
/* continuous corners where the browser can draw them: the same visual size needs a larger radius */
@supports (corner-shape:squircle){
  :root{--r-xl:3.4rem;--r-lg:2.4rem;--r-md:1.7rem;--r-sm:1.2rem;--r-xs:.85rem}
  .hero-panel,.panel,.app-art,.tile,.plan,.trial,.band,.fl,.faq details,.file,.qr,.soon li,.pop,.swatch,.board-card,.spec,.step,.foot-app,.nav-pop,.nav-drop,.own-card,.own-art,.hub a{corner-shape:squircle}
}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box}
/* touch-action: a double tap does not zoom into a block (pinch still zooms) */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;touch-action:manipulation;scroll-padding-top:6rem;background:var(--bg)}
body{margin:0;overflow-x:clip;overflow-wrap:break-word;background:var(--bg);color:var(--ink);font:400 1.0625rem/1.5 var(--text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
body.has-demo-bar{padding-bottom:4.5rem}
h1,h2,h3,h4{margin:0;font-family:var(--display);font-weight:var(--h-weight);letter-spacing:var(--h-track);line-height:1.05;font-variation-settings:"opsz" 32;text-wrap:balance;overflow-wrap:anywhere;hyphens:auto}
h1{font-size:clamp(2.5rem,1.35rem + 5.4vw,5rem)}
h2{font-size:clamp(2rem,1.25rem + 3.3vw,3.5rem)}
h3{font-size:1.375rem;line-height:1.15;letter-spacing:-.025em}
h1 span,h2 span{color:var(--tone)}
p{margin:0;overflow-wrap:anywhere}
a{color:inherit}
img,svg{display:block;max-width:100%}
ul,ol{margin:0;padding:0;list-style:none}
b,strong{font-weight:600}
small{font-size:inherit}
em{font-style:normal}
:focus-visible{outline:.16rem solid var(--ink);outline-offset:.16rem;border-radius:.5rem}
::selection{background:var(--yellow);color:var(--on-yellow)}
.defs{position:absolute;width:0;height:0;overflow:hidden}
.sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.skip{position:absolute;left:1rem;top:-5rem;z-index:99;padding:.6rem 1rem;border-radius:var(--r-sm);background:var(--ink);color:var(--bg);text-decoration:none}
.skip:focus{top:1rem}
.wrap{width:100%;max-width:calc(var(--max) + 2*var(--gut));margin-inline:auto;padding-inline:max(var(--gut),env(safe-area-inset-left)) max(var(--gut),env(safe-area-inset-right))}
.ic{width:1.25em;height:1.25em;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.ic.fi{fill:currentColor;stroke:none}
.flag{width:2.5rem;height:2.5rem;flex:none;border-radius:50%;box-shadow:inset 0 0 0 1px var(--line);background:var(--well)}
.lead{font-size:clamp(1.0625rem,.95rem + .5vw,1.3125rem);line-height:1.45;color:var(--ink-2);text-wrap:balance}
.link{font-weight:600;text-decoration:none;border-bottom:1px solid var(--line-2);padding-bottom:.1rem;overflow-wrap:anywhere}
.link .ic{display:inline-block;width:1em;height:1em;margin-left:.3rem;vertical-align:-.14em}
/* things rise into view once, only where v2.js found the device willing (html.v2-anim) */
.v2-anim .rv{opacity:0;transform:translateY(1.75rem);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.v2-anim .rv.in{opacity:1;transform:none}
.v2-anim .rv.d1{transition-delay:.08s}.v2-anim .rv.d2{transition-delay:.16s}.v2-anim .rv.d3{transition-delay:.24s}.v2-anim .rv.d4{transition-delay:.32s}

/* ---------- buttons, chips ---------- */
/* a corner two pixels short of half the height: a pill in one line, a soft rectangle when large text wraps it */
.btn{--bh:2.875rem;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:var(--bh);padding:.6rem 1.3rem;border:0;border-radius:calc(var(--bh)/2 - 2px);font:600 1rem/1.2 var(--text);letter-spacing:-.01em;text-align:center;text-decoration:none;overflow-wrap:anywhere;max-width:100%;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .25s var(--ease),background-color .2s,box-shadow .2s,filter .2s}
.btn:active{transform:scale(.97)}
.btn-l{--bh:3.375rem;padding:.8rem 1.7rem;font-size:1.0625rem}
.btn-s{--bh:2.5rem;padding:.45rem 1.05rem;font-size:.9375rem}
.btn-main{background:var(--ink);color:var(--bg)}
.btn-yellow{background:var(--yellow);color:var(--on-yellow)}
.btn-soft{background:var(--soft);color:var(--ink)}
.btn-glass{background:var(--glass);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line);-webkit-backdrop-filter:saturate(1.8) blur(18px);backdrop-filter:saturate(1.8) blur(18px)}
.btn-ink{background:#0B0B0F;color:#F5F5F7}
.btn-onyellow{background:rgba(11,11,15,.1);color:#0B0B0F}
.btn-oncoal{background:rgba(255,255,255,.12);color:#F5F5F7}
@media (hover:hover){
  .btn-main:hover,.btn-ink:hover{filter:brightness(1.35) contrast(.92)}
  [data-theme=dark] .btn-main:hover{filter:brightness(.88)}
  .btn-yellow:hover{background:var(--yellow-hi)}
  .btn-soft:hover,.btn-glass:hover{background:var(--soft-2)}
  .btn-onyellow:hover{background:rgba(11,11,15,.16)}
  .btn-oncoal:hover{background:rgba(255,255,255,.2)}
  .link:hover{border-color:currentColor}
}
.tag{display:inline-block;padding:.22rem .42rem;border-radius:.5rem;background:var(--yellow);color:var(--on-yellow);font:700 .625rem/1 var(--text);letter-spacing:.04em;text-transform:uppercase;vertical-align:middle}
.chip{display:inline-flex;flex-wrap:wrap;align-items:center;gap:.3rem .5rem;min-height:2.125rem;padding:.3rem .85rem .3rem .35rem;border-radius:.94rem;background:var(--glass);box-shadow:inset 0 0 0 1px var(--line);font-size:.875rem;font-weight:500;color:var(--ink-2);text-decoration:none;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.chip b{padding:.28rem .6rem;border-radius:.7rem;background:var(--yellow);color:var(--on-yellow);font-weight:600;font-size:.8125rem}
.eyebrow{display:inline-flex;align-items:center;gap:.45rem;margin-bottom:1.1rem;font-size:.875rem;font-weight:600;color:var(--mute)}
.eyebrow::before{content:"";width:.5rem;height:.5rem;border-radius:50%;background:var(--yellow)}

/* ---------- nav capsule ---------- */
.nav{position:sticky;top:max(.75rem,env(safe-area-inset-top));z-index:50;padding-inline:max(var(--gut),env(safe-area-inset-left)) max(var(--gut),env(safe-area-inset-right));margin-top:.75rem}
.nav-in{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .75rem;max-width:var(--max);min-height:3.75rem;margin-inline:auto;padding:.45rem .5rem .45rem 1rem;border-radius:1.875rem;background:var(--glass);box-shadow:inset 0 0 0 1px var(--line),var(--shadow-1);-webkit-backdrop-filter:saturate(1.8) blur(22px);backdrop-filter:saturate(1.8) blur(22px)}
.brand{display:inline-flex;align-items:center;gap:.6rem;text-decoration:none;color:inherit}
.brand-mark{display:grid;place-items:center;width:2.25rem;height:2.25rem;flex:none;border-radius:36%;background:var(--yellow);color:#0B0B0F}
.brand-mark svg{width:1.4rem;height:1.12rem;fill:currentColor}
.brand b{font:700 1.0625rem/1 var(--logo);letter-spacing:-.01em}
.nav-links{display:flex;align-items:center;gap:.15rem;margin-inline:auto}
.nav-dd{display:flex;align-items:center}
.nav-links>a,.nav-dd>summary,.nav-login{display:inline-flex;align-items:center;gap:.4rem;min-height:2.5rem;padding:0 .9rem;border-radius:1.15rem;font-size:.9375rem;font-weight:500;line-height:1.2;color:inherit;opacity:.82;text-decoration:none;cursor:pointer;transition:background-color .2s,opacity .2s}
.nav-links>a[aria-current],.nav-dd>summary.is-current{opacity:1;font-weight:600}
/* a dropdown: the system's own <details>, v2.js opens it on hover (after a short wait) and walks it with the arrows.
   .nav-mega: a panel that hangs from the capsule, not from its entry — the capsule's width for «Приложения» (our apps
   as cards, the devices as a column), narrower and centred for «Помощь» (.is-narrow) */
.nav-dd{position:relative}
.nav-dd>summary{list-style:none;user-select:none}
.nav-dd>summary::-webkit-details-marker{display:none}
.nav-dd>summary .ic{width:.95rem;height:.95rem;margin-right:-.2rem;opacity:.7;transition:transform .25s var(--ease)}
.nav-dd[open]>summary{background:var(--soft);opacity:1}
.nav-dd[open]>summary .ic{transform:rotate(180deg)}
.nav-drop{position:absolute;left:50%;top:calc(100% + .9rem);z-index:5;display:grid;gap:.1rem;width:max-content;min-width:19rem;max-width:min(24rem,calc(100vw - 2rem));padding:.6rem;border-radius:var(--r-lg);background:var(--surface);color:var(--ink);box-shadow:var(--shadow-2),inset 0 0 0 1px var(--line);transform:translateX(-50%)}
.nav-drop::before{content:"";position:absolute;left:0;right:0;top:-1.4rem;height:1.4rem}
.nav-dd[open]>.nav-drop{animation:dd-in .24s var(--ease)}
@keyframes dd-in{from{opacity:0;translate:0 -.5rem}}
.nav-mega{position:static}
.nav-mega>.nav-drop{left:0;right:0;top:calc(100% + .5rem);display:flex;flex-wrap:wrap;align-items:stretch;gap:1rem 1.75rem;width:auto;min-width:0;max-width:none;padding:1.25rem 1.25rem .75rem;border-radius:var(--r-xl);transform:none}
.nav-mega.is-narrow>.nav-drop{width:min(43rem,100%);margin-inline:auto}
.mega-col{display:grid;align-content:start;gap:.1rem;flex:1 1 0;min-width:0}
.mega-own{flex:1.45 1 0}
.mega-two{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:.5rem}
.mega-h{margin:0 0 .6rem .6rem;font-size:.8125rem;font-weight:600;line-height:1.3;color:var(--mute)}
.own-cards{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:.75rem;height:100%}
.own-card{display:flex;flex-direction:column;padding:.5rem .5rem 1rem;border-radius:calc(var(--r-xl) - .75rem);box-shadow:inset 0 0 0 1px var(--line);text-decoration:none;color:inherit;transition:background-color .2s}
.own-card b{margin:.9rem .6rem 0;font-size:1.0625rem;font-weight:600;line-height:1.25;letter-spacing:-.01em}
.own-card b .tag{margin-left:.25rem;vertical-align:.1em}
.own-card>span:not(.own-art){margin:.25rem .6rem 0;font-size:.875rem;line-height:1.35;color:var(--mute)}
.own-card small{margin:auto .6rem 0;padding-top:.7rem;font-size:.8125rem;color:var(--mute)}
/* a piece of the app's screen in the card: the top of a phone or of a window with the yellow button */
.own-art{position:relative;display:flex;align-items:flex-end;justify-content:center;height:8.75rem;overflow:hidden;border-radius:calc(var(--r-xl) - 1.25rem);background:linear-gradient(180deg,var(--sky-3),var(--sky-1))}
.own-dev{position:relative;display:grid;place-items:center;width:8.5rem;height:7.25rem;padding-top:1.1rem;border:.3rem solid #0B0B0D;border-bottom:0;border-radius:1.9rem 1.9rem 0 0;background:var(--app-bg);box-shadow:0 0 0 1px #3A3A40}
.own-dev::before{content:"";position:absolute;top:.4rem;left:50%;width:2.5rem;height:.72rem;margin-left:-1.25rem;border-radius:.4rem;background:#0B0B0D}
.own-windows .own-dev{width:calc(100% - 3rem);max-width:15rem;height:6.75rem;padding-top:1.3rem;border:0;border-radius:.6rem .6rem 0 0;box-shadow:0 0 0 1px var(--app-line)}
.own-windows .own-dev::before{top:0;left:0;width:100%;height:1.3rem;margin:0;border-radius:.6rem .6rem 0 0;background:var(--app-card) radial-gradient(circle at .7rem 50%,#0B0B0D 0 .2rem,transparent .22rem) no-repeat;box-shadow:inset 0 -1px 0 var(--app-line)}
.own-windows .own-dev::after{content:"";position:absolute;top:.6rem;right:.6rem;width:.45rem;height:1px;background:var(--app-mute);box-shadow:-.95rem 0 0 var(--app-mute),-1.9rem 0 0 var(--app-mute)}
.own-btn{display:grid;place-items:center;width:3.5rem;height:3.5rem;border-radius:50%;background:var(--yellow);color:#0B0B0F;box-shadow:0 0 0 .4rem var(--app-bg),0 0 0 .46rem rgba(246,202,47,.55)}
.own-btn .ic{width:1.5rem;height:1.5rem;stroke-width:2.2}
.own-sys{position:absolute;left:.6rem;top:.6rem;display:grid;place-items:center;width:1.9rem;height:1.9rem;border-radius:.6rem;background:var(--surface);color:var(--ink)}
.own-sys .ic{width:1.05rem;height:1.05rem}
.dd-item{display:grid;grid-template-columns:2.5rem minmax(0,1fr);column-gap:.8rem;align-items:center;padding:.55rem .8rem .55rem .6rem;border-radius:calc(var(--r-lg) - .5rem);text-decoration:none;color:inherit}
.dd-ic{grid-row:span 2;display:grid;place-items:center;width:2.5rem;height:2.5rem;border-radius:.8rem;background:var(--soft);font-style:normal}
.dd-ic .ic{width:1.25rem;height:1.25rem}
.dd-logo{background:var(--yellow);color:#0B0B0F}
.dd-logo svg{width:1.5rem;height:1.2rem;fill:currentColor}
.dd-item b{font-size:.9375rem;font-weight:600;line-height:1.25}
.dd-item span{font-size:.8125rem;line-height:1.3;color:var(--mute)}
.dd-item[aria-current] b{text-decoration:underline;text-underline-offset:.2em}
.dd-foot{margin:.25rem 0 0;padding:.5rem .8rem .35rem;border-top:1px solid var(--line);font-size:.875rem;font-weight:600}
.nav-mega .dd-foot{flex:0 0 100%;margin:0;padding:.75rem .6rem .2rem}
.dd-foot a{display:inline-flex;align-items:center;gap:.35rem;text-decoration:none}
.dd-foot .ic{width:1rem;height:1rem}
.dd-hours{display:flex;align-items:center;gap:.5rem;font-weight:500;color:var(--mute)}
.nav-act{display:flex;align-items:center;gap:.25rem;margin-left:auto}
.nav-menu{display:none}
.nav-menu summary{display:grid;place-items:center;width:2.75rem;height:2.75rem;flex:none;border-radius:50%;list-style:none;cursor:pointer;background:var(--soft)}
.nav-menu summary::-webkit-details-marker{display:none}
.nav-menu summary .ic{width:1.35rem;height:1.35rem}
.nav-pop{position:absolute;left:0;right:0;top:calc(100% + .5rem);display:grid;gap:.15rem;padding:.5rem;border-radius:var(--r-lg);background:var(--surface);color:var(--ink);box-shadow:var(--shadow-2),inset 0 0 0 1px var(--line)}
.nav-pop{max-height:calc(100vh - 6.5rem);overflow-y:auto;overscroll-behavior:contain}
.nav-pop a{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.75rem 1rem;border-radius:calc(var(--r-lg) - .5rem);font-weight:600;text-decoration:none}
.nav-pop a .ic{color:var(--mute)}
.pop-h{margin:.5rem 0 0;padding:.6rem 1rem .2rem;border-top:1px solid var(--line);font-size:.8125rem;font-weight:600;color:var(--mute)}
/* the site's phone menu: the entries of the panels — our apps as cards in a row, the devices with their icons and notes,
   the help as a grid of four, the cabinet as a button (the cabinet's own menu keeps plain rows) */
.pop-own{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:.4rem;padding:.2rem .25rem .35rem}
.nav-pop .pop-app{display:grid;grid-template-columns:2.5rem minmax(0,1fr);justify-content:normal;align-items:center;gap:.2rem .7rem;padding:.6rem;box-shadow:inset 0 0 0 1px var(--line)}
.pop-app .dd-ic{grid-row:span 2}
.pop-app b{align-self:end;font-size:.9375rem;font-weight:600;line-height:1.2}
.pop-app .tag{justify-self:start;align-self:start}
.pop-grid{display:grid;gap:.1rem}
.pop-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.nav-pop .dd-item{display:grid;justify-content:normal;gap:0 .8rem;padding:.4rem .6rem;font-weight:inherit}
.pop-two .dd-item{align-content:center}
.pop-two .dd-item span{display:none}
.pop-two .dd-item .dd-ic{grid-row:auto}
.nav-pop .dd-ic .ic,.nav-pop .pop-login .ic{color:inherit}
.nav-pop .pop-login{justify-content:center;gap:.5rem;min-height:3rem;margin:.6rem .25rem .3rem;padding:0 1rem;border-radius:calc(var(--r-lg) - .75rem);font-weight:600}
/* the narrowest phones (320–359 px), the site's capsule with its wide button (.pop-login is in the site's menu only): the logo's tile
   without the word, or the capsule breaks into two rows */
@media (max-width:22.49em){
  .nav-in:has(.pop-login) .brand b{display:none}
}
@media (max-width:22em){
  .pop-own{grid-auto-flow:row}
  .pop-two{grid-template-columns:minmax(0,1fr)}
}
@media (hover:hover){
  .nav-links>a:hover,.nav-dd>summary:hover,.nav-login:hover{background:var(--soft);opacity:1}
  .nav-pop a:hover,.dd-item:hover,.own-card:hover{background:var(--soft)}
  .dd-foot a:hover{text-decoration:underline;text-underline-offset:.2em}
}
@media (max-width:53.99em){
  .nav-links,.nav-login{display:none}
  .nav-menu{display:block}
}
/* on a computer the links stand at the capsule's centre whatever the widths of the logo and the buttons */
/* on a computer the links stand at the capsule's centre whatever the widths of the logo and the buttons: three columns,
   the side ones equal. The links are not positioned themselves: the panels of «Приложения» and «Помощь» hang from
   the capsule (.nav-in), and a positioned .nav-links would become their box */
@media (min-width:54em){
  .nav-in{display:grid;grid-template-columns:minmax(max-content,1fr) auto minmax(max-content,1fr);align-items:center;padding-left:.5rem}
  .nav-in>.brand{justify-self:start;padding-left:.5rem}
  .nav-links{margin-inline:0}
  .nav-act{justify-self:end;margin-left:0}
}
/* five links need about 1100 px with the logo and the buttons; narrower, the blog is in the footer and the phone menu */
@media (max-width:68.74em){
  .nav-links>.nav-page[href="/blog/"]{display:none}
}
/* narrower still the router keeps its entry in the panel «Приложения» */
@media (max-width:63.99em){
  .nav-links>.nav-page{display:none}
}
/* v2.js: the capsule is short of room with large text */
.nav-in.tight-1 .nav-links>.nav-page[href="/blog/"],.nav-in.tight-2 .nav-links>.nav-page{display:none}
.nav-in.tight-3{display:flex}
.nav-in.tight-3 .nav-links,.nav-in.tight-3 .nav-login{display:none}
.nav-in.tight-3 .nav-act{margin-left:auto}
.nav-in.tight-3 .nav-menu{display:block}

/* ---------- sections ---------- */
.cta{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:2rem}
.note{margin-top:1.1rem;font-size:.875rem;color:var(--mute)}
.note a{color:inherit;text-underline-offset:.2em}
.sec{padding-block:clamp(3.75rem,8.5vw,7.5rem)}
.sec+.sec{padding-top:0}
.head{max-width:46rem;margin:0 auto clamp(2rem,4vw,3.25rem);text-align:center}
.head p{max-width:34rem;margin:1.1rem auto 0;color:var(--mute);font-size:1.125rem}

/* questions */
.faq{display:grid;grid-template-columns:minmax(0,1fr);gap:.5rem;max-width:50rem;margin-inline:auto}
.faq details{border-radius:var(--r-md);background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}
.faq summary{overflow-wrap:anywhere;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.25rem 1.5rem;list-style:none;cursor:pointer;font:600 1.125rem/1.3 var(--text);letter-spacing:-.01em}
.faq summary::-webkit-details-marker{display:none}
.faq summary span{min-width:0;overflow-wrap:anywhere;hyphens:auto}
.faq summary .ic{width:1.5rem;height:1.5rem;padding:.2rem;border-radius:50%;background:var(--soft);transition:transform .3s var(--ease)}
.faq details[open] summary .ic{transform:rotate(45deg)}
.faq details>div{padding:0 1.5rem 1.4rem;color:var(--ink-2);line-height:1.55}
.faq details>div a{text-underline-offset:.2em}

/* the yellow band */
.band{--bp:clamp(2.25rem,6vw,5rem);position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2rem;padding:var(--bp);border-radius:var(--r-xl);background:var(--yellow);color:#0B0B0F}
.band h2 span{color:rgba(11,11,15,.52)}
.band p{max-width:30rem;margin-top:1rem;font-size:1.125rem;color:rgba(11,11,15,.78)}
@media (max-width:47.99em){
  .band{grid-template-columns:minmax(0,1fr)}
}

/* footer */
.foot{position:relative;overflow:hidden;margin-top:clamp(1rem,3vw,2rem);padding-top:clamp(2.5rem,6vw,4.5rem);border-top:1px solid var(--line)}
.foot-grid{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(4,minmax(0,.75fr));gap:2.5rem 1.5rem}
.foot-brand p{max-width:17rem;margin-top:1rem;color:var(--mute);font-size:.9375rem}
.foot-app{display:grid;gap:.8rem;width:fit-content;max-width:100%;margin-top:1.6rem;padding:1.1rem 1.25rem 1.25rem;border-radius:var(--r-md);background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}
.foot-app p{margin:0;font-size:.9375rem;font-weight:600;color:var(--ink);line-height:1.3}
.foot-stores{display:flex;flex-wrap:wrap;gap:.5rem}
.store{display:inline-flex;align-items:center;gap:.6rem;min-height:3.25rem;padding:.5rem 1.05rem .5rem .85rem;border-radius:1rem;background:var(--ink);color:var(--bg);text-decoration:none;flex:none;line-height:1.1}
.store .ic{width:1.6rem;height:1.6rem}
.store small{display:block;font-size:.6875rem;opacity:.75}
.store b{display:block;font-size:1.0625rem;font-weight:600}
.foot h4{margin-bottom:1rem;font:600 .875rem/1.3 var(--text);letter-spacing:0;color:var(--mute);font-variation-settings:normal}
.foot-col a{display:block;width:fit-content;max-width:100%;padding:.35rem 0;font-size:.9375rem;text-decoration:none;color:var(--ink-2);overflow-wrap:anywhere;hyphens:auto}
.foot-end{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1.5rem;margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid var(--line);font-size:.8125rem;color:var(--mute)}
.foot-end a{color:inherit;text-decoration:none}
.foot-social{display:flex;gap:.4rem;margin:1.25rem 0 0}
.foot-social a{display:grid;place-items:center;width:2.5rem;height:2.5rem;border-radius:50%;background:var(--soft);color:var(--ink-2)}
.foot-social svg{width:1.05rem;height:1.05rem}
.net{display:inline-flex;align-items:center;gap:.45rem}
.net-dot{width:.5rem;height:.5rem;border-radius:50%;background:var(--mute)}
.net[data-state=ok] .net-dot{background:var(--ok)}
.net[data-state=down] .net-dot{background:var(--bad)}
.net[data-state=stale] .net-dot,.net[data-state=unknown] .net-dot{background:var(--yellow)}
.theme-seg{display:inline-flex;flex-wrap:wrap;max-width:100%;gap:.15rem;margin-left:auto;padding:.2rem;border-radius:1.15rem;background:var(--soft)}
.theme-seg button{display:inline-flex;align-items:center;gap:.4rem;min-height:2.25rem;padding:.3rem .75rem;border:0;border-radius:.95rem;background:none;color:var(--mute);font:600 .8125rem/1 var(--text);cursor:pointer}
.theme-seg button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-1)}
.theme-seg .ic{width:1rem;height:1rem}
.foot-word::before{content:"MYAF"}
.foot-word{margin:clamp(1.5rem,4vw,3rem) 0 -.16em;font:800 clamp(5.5rem,24.5vw,22rem)/.78 var(--logo);letter-spacing:-.045em;text-align:center;white-space:nowrap;color:var(--well);user-select:none;pointer-events:none}
@media (hover:hover){.foot-col a:hover,.foot-end a:hover,.foot-social a:hover{color:var(--ink)}.foot-social a:hover{background:var(--soft-2)}}
@media (max-width:63.99em){
  .foot-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .foot-brand{grid-column:1/-1}
}
@media (max-width:39.99em){
  .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .theme-seg{margin-left:0}
}

/* the search over the questions (faq.js puts the field in) */
.faq-search input{width:100%;min-height:3.25rem;padding:.75rem 1.4rem;border:0;border-radius:var(--r-md);background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);font:inherit;color:inherit}
.faq-search input::placeholder{color:var(--mute)}
.faq-none{padding:1rem 1.4rem;color:var(--mute)}
.faq-none a{color:inherit;text-underline-offset:.2em}
.faq details[hidden]{display:none}

/* ---------- the closed copy's bar (v2.js builds it there only) ---------- */
.demo-bar{position:fixed;left:50%;bottom:max(.6rem,env(safe-area-inset-bottom));z-index:80;display:flex;align-items:center;gap:.2rem;max-width:calc(100vw - 1rem);padding:.3rem;overflow-x:auto;border-radius:1.25rem;background:rgba(17,17,19,.9);color:#F5F5F7;box-shadow:0 0 0 1px rgba(255,255,255,.12),0 18px 40px -12px rgba(0,0,0,.6);font:600 .8125rem/1 var(--text);transform:translateX(-50%);scrollbar-width:none;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
.demo-bar::-webkit-scrollbar{display:none}
.demo-bar>*{flex:none}
.demo-bar>span{padding:0 .5rem 0 .65rem;color:#A6A6AD;white-space:nowrap}
.demo-bar a,.demo-bar button{display:inline-flex;align-items:center;justify-content:center;gap:.3rem;min-width:2.25rem;min-height:2.25rem;padding:.3rem .7rem;border:0;border-radius:.95rem;background:none;color:inherit;font:inherit;text-decoration:none;white-space:nowrap;cursor:pointer}
.demo-bar [aria-current=page],.demo-bar [aria-pressed=true]{background:var(--yellow);color:#0B0B0F}
.demo-bar i{width:1px;height:1.25rem;flex:none;margin:0 .25rem;background:rgba(255,255,255,.16)}
.demo-bar .ic{width:1.05rem;height:1.05rem}
@media (hover:hover){.demo-bar a:hover,.demo-bar button:hover{background:rgba(255,255,255,.12)}.demo-bar [aria-current=page]:hover,.demo-bar [aria-pressed=true]:hover{background:var(--yellow-hi)}}

/* ---------- the device ---------- */
/* a phone in landscape, a notch: the capsule and the gutters keep clear (viewport-fit=cover) */
@supports (padding:max(0px)){
  .foot{padding-bottom:env(safe-area-inset-bottom)}
}
/* a phone on its side: the capsule scrolls away with the page instead of taking a quarter of the screen */
@media (max-height:30em) and (orientation:landscape){
  .nav{position:relative;top:0}
}
/* a coarse pointer gets larger targets in dense rows */
@media (pointer:coarse){
  .foot-col a{padding:.55rem 0}
  .nav-links>a,.nav-dd>summary,.nav-login{min-height:2.75rem}
}
/* more contrast asked for: solid surfaces, stronger lines and secondary text, no pictures under text */
@media (prefers-contrast:more){
  :root,.th-light{--mute:#3C3C42;--tone:rgba(11,11,15,.72);--line:rgba(11,11,15,.32);--line-2:rgba(11,11,15,.55);--glass:#FFFFFF;--ink-2:#0B0B0F;--ok:#0F5C30}
  [data-theme=dark],.th-dark{--mute:#D8D8DD;--tone:rgba(245,245,247,.78);--line:rgba(255,255,255,.36);--line-2:rgba(255,255,255,.6);--glass:#1C1C1E;--ink-2:#F5F5F7;--ok:#7BE3A4}
  .nav-in,.chip,.btn-glass{-webkit-backdrop-filter:none;backdrop-filter:none}
  .btn-soft,.btn-glass,.btn-onyellow{box-shadow:inset 0 0 0 1px currentColor}
  .band h2 span{color:rgba(11,11,15,.75)}
}
/* less transparency asked for */
@media (prefers-reduced-transparency:reduce){
  :root,.th-light{--glass:#FFFFFF}
  [data-theme=dark],.th-dark{--glass:#1C1C1E}
  .nav-in,.chip,.btn-glass,.demo-bar{-webkit-backdrop-filter:none;backdrop-filter:none}
}
/* no motion asked for: nothing moves, the phone shows «Подключено», the countries stand as a grid */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}
@media (prefers-reduced-motion:no-preference){
  html{scroll-behavior:smooth}
}
/* Windows high contrast: the system's colours, every surface gets an outline, pictures behind text go */
@media (forced-colors:active){
  .tile,.plan,.trial,.band,.panel,.fl,.faq details,.geo,.nav-in,.nav-pop,.chip,.btn,.store,.step,.file,.qr,.soon li,.foot-app,.hero-panel,.demo-bar{border:1px solid CanvasText;box-shadow:none}
  .brand-mark,.app-ic,.tag,.chip b,.sw,.ap-sw,.ph{forced-color-adjust:none}
  .foot-word{color:GrayText}
  h1 span,h2 span{color:GrayText}
}
@media print{
  .nav,.demo-bar{display:none}
  body.has-demo-bar{padding:0}
}
