/* Sparklly mockup v2: app palette (variables.scss dark theme): bg #0B0B0C, surface #17181A, line #2A2B2F, text #F2F1EC,
   buttons #14688F, accent/links #4FB4E4, brand yellow #FFE800. Logical properties for RTL. */

:root{
  --bg:#0B0B0C;
  --bg-top:#141517;
  --foot:#070708;
  --on-bg:#F2F1EC;
  --card:#17181A;
  --ink:#F2F1EC;
  --ink-soft:#A3A6AC;
  --link:#4FB4E4;
  --soft:#202226;
  --line:#2A2B2F;
  --btn-bg:#14688F;
  --btn-fg:#fff;
  --yellow:#FFE800;
  --gold:#FFE800;
  --focus:#FFE800;
  --halo:#000;
  --radius:22px;
  --dir:1;
}
html.a11y-hc{
  --bg:#000;--bg-top:#000;--foot:#000;--card:#000;--ink:#fff;--ink-soft:#fff;
  --gold:#FFE000;--link:#FFE000;--soft:#000;--line:#fff;--btn-bg:#FFE000;--btn-fg:#000;--halo:#000;
}
html[dir=rtl]{--dir:-1}

*,*::before,*::after{box-sizing:border-box}
html{font-size:100%;-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--on-bg);
  font:400 1.125rem/1.65 "Rubik",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  background-image:radial-gradient(900px 420px at 15% -80px,var(--bg-top),transparent 70%);
  background-repeat:no-repeat;
  overflow-wrap:break-word;
}
img,svg{max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3{line-height:1.2;margin:0;font-weight:600}
p{margin:0}
ul,ol{margin:0;padding:0;list-style:none}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px;box-shadow:0 0 0 6px var(--halo);border-radius:6px}
.skip{position:absolute;inset-inline-start:.75rem;top:-4rem;background:#fff;color:#0B2A42;padding:.6rem 1rem;border-radius:8px;z-index:100;font-weight:600}
.skip:focus{top:.75rem}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.wrap{width:100%;max-width:1360px;margin-inline:auto;padding-inline:1.25rem}

/* ---------- buttons ---------- */
.btn{white-space:nowrap;
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  min-height:48px;padding:.7rem 1.5rem;border-radius:999px;border:2px solid transparent;
  font:600 1rem/1.2 "Rubik",system-ui,sans-serif;text-decoration:none;cursor:pointer;
  background:var(--btn-bg);color:var(--btn-fg);
}
.btn:hover{filter:brightness(1.12)}
.btn-white{background:var(--btn-bg);color:#fff}
html.a11y-hc .btn-white{background:#FFE000;color:#000}
.btn-ghost{background:transparent;color:var(--link);border-color:currentColor}
.btn-sm{min-height:44px;padding:.5rem 1.2rem}
.btn-lg{min-height:60px;padding-inline:2rem;font-size:1.2rem}

/* ---------- header ---------- */
.top{position:relative;z-index:20}
.bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-block:.7rem}
.brand{
  flex:none;display:grid;place-items:center;width:64px;height:64px;padding:8px;
  background:#fff;border-radius:50%;box-shadow:0 4px 14px rgba(0,0,0,.5);
}
.brand img{width:100%;height:100%;object-fit:contain;display:block}
.tools{display:flex;align-items:center;gap:.6rem}
.pop-wrap{position:relative}
.hbtn{
  display:inline-flex;align-items:center;gap:.5rem;min-height:46px;padding:.4rem 1rem;border-radius:999px;
  background:transparent;color:var(--on-bg);border:2px solid #5B5E66;font:600 1rem/1 "Rubik",system-ui,sans-serif;cursor:pointer;
}
.hbtn:hover{border-color:var(--link)}
.hbtn[aria-expanded=true]{border-color:var(--gold)}
.hbtn svg{width:1.4rem;height:1.4rem;flex:none}
.a11y-btn{background:var(--btn-bg);border-color:var(--link);color:#fff}
.burger{padding-inline:.8rem}
.caret{font-size:.8rem}
.pop{
  position:absolute;inset-inline-end:0;top:calc(100% + .5rem);min-width:13rem;
  background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:16px;
  box-shadow:0 18px 50px rgba(0,0,0,.7);z-index:50;font-size:1rem;
}
.pop[hidden]{display:none}
.list{padding:.4rem;margin:0;list-style:none;display:flex;flex-direction:column}
.list a{display:flex;align-items:center;min-height:46px;padding:.4rem 1rem;border-radius:10px;text-decoration:none;font-weight:500}
.list a:hover{background:var(--soft)}
.list a[aria-current]{color:var(--gold)}
.a11y-panel{width:min(22rem,calc(100vw - 2rem));padding:1.1rem 1.2rem 1.2rem}
.a11y-panel h2{font-size:1.15rem;margin-block-end:.8rem}
.a11y-row{display:flex;gap:.5rem;align-items:center;margin-block-end:.6rem;flex-wrap:wrap}
.a11y-row>span{flex:1 1 100%;font-weight:500}
.a11y-panel button{
  min-height:44px;padding:.45rem .9rem;border-radius:12px;border:2px solid var(--ink);
  background:var(--card);color:var(--ink);font:500 1rem/1.2 "Rubik",system-ui,sans-serif;cursor:pointer;
}
.a11y-panel button[aria-pressed=true]{background:var(--gold);color:#000;border-color:var(--gold)}
.a11y-panel .tog{width:100%;text-align:start;display:flex;justify-content:space-between;align-items:center;margin-block-end:.5rem}
.a11y-panel .tog::after{content:"Off";font-size:.85rem;opacity:.85}
.a11y-panel .tog[aria-pressed=true]::after{content:"On"}
.a11y-panel a{color:var(--link);font-weight:500}
.a11y-foot{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-block-start:.4rem}

/* ---------- hero ---------- */
.hero{padding-block:.5rem 4rem}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3rem;align-items:center}
.hero-text{display:flex;flex-direction:column;align-items:flex-start;gap:1.5rem;max-width:680px}
.hero h1{font-size:clamp(1.85rem,3.3vw,2.75rem);font-weight:600}
.hero h1 span{display:block;font-weight:400;opacity:1}
.video{width:100%;aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:#06324e;box-shadow:0 10px 30px rgba(0,0,0,.28)}
.video iframe,.video video{display:block;width:100%;height:100%;border:0;object-fit:cover;background:#06324e}
.lead{font-size:1.2rem;max-width:34rem}
.badges{display:flex;flex-wrap:wrap;gap:.9rem;align-items:center}
.badges img{display:block;height:54px;width:auto}
.badges a{display:block;border-radius:10px}
.open-app{display:none;width:100%}
.socials{display:flex;flex-wrap:wrap;gap:.7rem}
.socials a,.socials .soc{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.16);border:1.5px solid rgba(255,255,255,.5)}
.socials a:hover{background:rgba(255,255,255,.3)}
.socials img{width:26px;height:26px;display:block}

.try-wrap{display:flex;align-items:center;gap:1.1rem}
.try{display:flex;flex-direction:column;align-items:center;gap:.3rem;font-size:1.5rem;font-weight:500;white-space:nowrap}
.arrow{width:44px;height:30px;color:var(--yellow);animation:nudge 1.8s ease-in-out infinite}
html[dir=rtl] .arrow{scale:-1 1}
@keyframes nudge{50%{translate:calc(var(--dir)*9px) 0}}
.phone{position:relative;width:clamp(300px,26vw,350px);aspect-ratio:390/844;flex:none}
.phone .screen{
  position:absolute;inset:5.3% 4.9% 2.1%;border-radius:5% 5% 12% 12%/2.5% 2.5% 5.5% 5.5%;overflow:hidden;
  background:#fff url("img/1.svg") center/78% no-repeat;
}
.phone iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent}
.phone .mask{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}

/* ---------- sections ---------- */
section{padding-block:3.5rem}
.sec-head{margin-block-end:2rem;max-width:44rem}
.eyebrow{font-size:.95rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;margin-block-end:.5rem}
.sec-head h2,.page-head h1{font-size:clamp(1.65rem,3vw,2.35rem)}
.card-bg{background:var(--card);color:var(--ink);border-radius:var(--radius);box-shadow:0 8px 26px rgba(4,40,66,.18)}
html.a11y-hc .card-bg{border:2px solid #fff;box-shadow:none}
.card-bg .eyebrow{color:var(--link)}
.card-bg a:not(.btn){color:var(--link)}

.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.25rem;counter-reset:s}
.step{padding:1.1rem 1.1rem 1.5rem;counter-increment:s}
.step .art{background:var(--soft);border-radius:16px;padding:.6rem;margin-block-end:1rem}
.step .art img{display:block;width:100%;aspect-ratio:1;object-fit:contain}
.step h3{font-size:1.2rem;margin-block-end:.4rem;display:flex;gap:.6rem;align-items:center}
.step h3::before{content:counter(s);flex:none;display:grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:var(--yellow);color:#0B2A42;font-size:1rem}
.step p{color:var(--ink-soft);font-size:1.02rem}

.two{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.panel{padding:2rem 2rem 2.2rem}
.panel h2{font-size:1.7rem;margin-block-end:1.2rem}
.panel li{padding-block:.8rem;border-block-start:1px solid var(--line)}
.panel li strong{display:block;font-weight:600}
.panel li span{color:var(--ink-soft);font-size:1.02rem}
.panel .btn{margin-block-start:1.4rem}

.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}
.card{display:flex;flex-direction:column;overflow:hidden}
.thumb{display:grid;place-items:center;aspect-ratio:16/9;font-size:3.2rem}
.t1{background:linear-gradient(135deg,#BFE3F7,#7EC3EA)}
.t2{background:linear-gradient(135deg,#FFF3A8,#FFE000)}
.t3{background:linear-gradient(135deg,#C9EBDD,#7CCDB0)}
.t4{background:linear-gradient(135deg,#D9D8F5,#A9A6E8)}
.t5{background:linear-gradient(135deg,#FFE1B5,#FFB866)}
.t6{background:linear-gradient(135deg,#B7E6F0,#5EC1D8)}
.card-body{padding:1.3rem 1.4rem 1.5rem;display:flex;flex-direction:column;gap:.7rem;flex:1}
.tag{align-self:flex-start;font-size:.85rem;font-weight:600;padding:.2rem .7rem;border-radius:999px;background:var(--soft);color:var(--link)}
html.a11y-hc .tag{border:1px solid #fff}
.card h3{font-size:1.25rem}
.card h3 a{text-decoration:none}
.card h3 a:hover{text-decoration:underline}
.card p{color:var(--ink-soft);font-size:1.02rem}
.meta{margin-block-start:auto;padding-block-start:.4rem;font-size:.9rem;color:var(--ink-soft);display:flex;gap:.7rem;align-items:center;flex-wrap:wrap}
.sample{font-size:.8rem;padding:.1rem .55rem;border:1px dashed currentColor;border-radius:6px}
.more{text-align:center;margin-block-start:2rem}

.faq{max-width:52rem;padding:.6rem 1.6rem}
.faq details{border-block-end:1px solid var(--line)}
.faq details:last-child{border:0}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1rem;padding-block:1.1rem;font-weight:600;font-size:1.1rem}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";flex:none;display:grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:var(--soft);color:var(--link);font-size:1.3rem;line-height:1}
.faq details[open] summary::after{content:"\2212"}
.faq p{padding-block-end:1.2rem;color:var(--ink-soft);max-width:44rem}

/* ---------- blog / inner pages ---------- */
.page-head{padding-block:.5rem 1rem}
.page-head .lead{margin-block-start:.8rem;max-width:40rem}
.filters{display:flex;flex-wrap:wrap;gap:.6rem;margin-block-start:1.6rem}
.filters a{display:inline-flex;align-items:center;min-height:44px;padding:.4rem 1.1rem;border:2px solid #fff;border-radius:999px;text-decoration:none;font-weight:500}
.filters a[aria-current]{background:#fff;color:#0A3E64}
html.a11y-hc .filters a[aria-current]{background:#FFE000;color:#000;border-color:#FFE000}
.pager{display:flex;justify-content:center;gap:.6rem;margin-block-start:2.5rem;flex-wrap:wrap}
.pager a{display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;padding-inline:1.1rem;border:2px solid #fff;border-radius:999px;text-decoration:none;font-weight:600}
.pager a[aria-current]{background:#fff;color:#0A3E64}
html.a11y-hc .pager a[aria-current]{background:#FFE000;color:#000;border-color:#FFE000}
html[dir=rtl] .flip{display:inline-block;scale:-1 1}

.doc{padding:2.2rem 2.4rem;max-width:52rem}
.doc h2{font-size:1.5rem;margin-block:1.8rem .6rem}
.doc h2:first-child{margin-block-start:0}
.doc p,.doc li{max-width:42rem}
.doc p+p{margin-block-start:.8rem}
.doc ul{list-style:disc;padding-inline-start:1.3rem}
.doc li{padding-block:.2rem}
.doc .contact{background:var(--soft);border-radius:14px;padding:1rem 1.3rem;margin-block-start:.8rem}
.doc .contact p{max-width:none}
.doc .updated{color:var(--ink-soft);font-size:.95rem;margin-block-start:1.2rem}
.doc hr{border:0;border-block-start:2px solid var(--line);margin-block:2.2rem}
.doc .he{text-align:start}

/* ---------- footer ---------- */
footer{background:var(--foot);padding-block:2.8rem 2rem;margin-block-start:2rem}
html.a11y-hc footer{border-block-start:2px solid #fff}
.foot{display:grid;grid-template-columns:auto 1fr auto;gap:2rem 3rem;align-items:start}
.foot .brand{order:0;width:96px;height:96px;padding:12px;box-shadow:none}
.foot ul{display:flex;flex-wrap:wrap;gap:.2rem 1.6rem;align-content:flex-start;max-width:36rem}
.foot li a{display:inline-block;padding:.45rem 0;text-decoration:none;font-weight:500}
.foot li a:hover{text-decoration:underline}
.copy{margin-block-start:2rem;padding-block-start:1.3rem;border-block-start:1px solid rgba(255,255,255,.3);font-size:.95rem}

/* ---------- a11y modes ---------- */
html.a11y-ul a{text-decoration:underline!important;text-underline-offset:.2em;text-decoration-thickness:2px}
html.a11y-na *,html.a11y-na *::before,html.a11y-na *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media (prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}

/* ---------- responsive ---------- */
@media (max-width:1060px){
  .hero-grid{grid-template-columns:1fr;gap:2rem}
  .try-wrap{display:none}
  .open-app{display:inline-flex}
  .hero-text{max-width:none}
  .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .foot{grid-template-columns:auto 1fr}
  .foot .socials{grid-column:1/-1}
}
@media (max-width:720px){
  body{font-size:1.0625rem}
  .brand{width:76px;height:76px;padding:9px}
  .bar{padding-block:.75rem}
  .hero{padding-block:.25rem 3rem}
  section{padding-block:2.5rem}
  .two,.steps,.cards{grid-template-columns:1fr}
  .panel{padding:1.5rem 1.3rem 1.7rem}
  .doc{padding:1.5rem 1.2rem}
  .faq{padding-inline:1.1rem}
  .foot{grid-template-columns:1fr}
  .badges img{height:48px}
  .a11y-btn{padding-inline:.9rem}
}
@media (max-width:400px){
  .wrap{padding-inline:1rem}
  .a11y-btn .lbl{font-size:.92rem}
  .burger{padding-inline:.8rem}
  .brand{width:68px;height:68px}
}


/* ---------- palette v1 overrides ---------- */
body{background-image:radial-gradient(900px 420px at 15% -80px,var(--bg-top),transparent 70%)}
.hero h1 span{color:var(--gold)}
.eyebrow,.card-bg .eyebrow{color:var(--gold)}
.card-bg{border:1px solid var(--line);box-shadow:0 8px 26px rgba(0,0,0,.45)}
.btn-white{background:var(--btn-bg);color:#fff}
html.a11y-hc .btn-white{background:#FFE000;color:#000}
.btn-ghost{color:var(--link)}
html.a11y-hc .a11y-btn{background:#FFE000;color:#000;border-color:#FFE000}
.filters a[aria-current],.pager a[aria-current]{background:var(--gold);color:#000;border-color:var(--gold)}
html.a11y-hc .filters a[aria-current],html.a11y-hc .pager a[aria-current]{background:#FFE000;color:#000}
.step h3::before{background:var(--gold);color:#000}
.step .art{background:#EAF2F7}
.skip{background:var(--gold);color:#000}
footer{border-block-start:1px solid #2A2A2A}
.t1{background:linear-gradient(135deg,#1B7FAD,#0D3D57)}
.t2{background:linear-gradient(135deg,#9A7716,#4A380A)}
.t3{background:linear-gradient(135deg,#238066,#0F3D30)}
.t4{background:linear-gradient(135deg,#5654B0,#2A2960)}
.t5{background:linear-gradient(135deg,#B86C16,#5E3508)}
.t6{background:linear-gradient(135deg,#1F8199,#0D4150)}
.video{box-shadow:0 10px 30px rgba(0,0,0,.6)}

/* ---------- v2.2: compact header, first screen fits (video + phone), equal panels, footer columns ---------- */
.hero{padding-block:.25rem 3.5rem}
.hero-grid{gap:2.5rem}
.hero-text{gap:1.1rem;max-width:700px}
.hero h1{font-size:clamp(1.5rem,2.9vw,2.4rem);line-height:1.15;white-space:nowrap}
.hero h1 span{font-size:clamp(1.1rem,1.9vw,1.5rem);font-weight:500;margin-block-start:.3rem}
.lead{max-width:44rem;font-size:1.1rem;line-height:1.55}
.badges img{height:50px}
.try{font-size:1.4rem}
.phone{height:min(calc(100vh - 7rem),780px);width:calc(min(100vh - 7rem,780px) * .4621);min-height:480px;min-width:222px}

.panel{display:flex;flex-direction:column}
.panel ul{margin-block-end:1.6rem}
.panel .btn{margin-block-start:auto;align-self:flex-start}
html.a11y-hc .btn{border:2px solid #fff}

.foot{grid-template-columns:auto repeat(3,minmax(0,1fr));gap:2rem 2.5rem}
.foot .brand{width:72px;height:72px;padding:9px}
.fcol h2{font-size:.85rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--gold);margin-block-end:.6rem}
.fcol ul{display:block;max-width:none}
.fcol li a{display:inline-block;padding:.4rem 0;text-decoration:none;font-weight:500}
.fcol li a:hover{text-decoration:underline}
.copy{border-block-start-color:var(--line);color:var(--ink-soft)}

@media (max-width:1060px){
  .hero h1{white-space:normal}
  .hero-text{max-width:none}
  .foot{grid-template-columns:repeat(3,minmax(0,1fr))}
  .foot .brand{grid-column:1/-1}
}
@media (max-width:720px){
  .brand{width:56px;height:56px;padding:7px}
  .foot .brand{width:72px;height:72px;padding:9px}
  .open-top{display:none}
  .a11y-btn .lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .a11y-btn{padding-inline:.8rem}
  .pop-wrap{position:static}
  .pop,.a11y-panel{inset-inline:1rem;top:calc(100% - .2rem);width:auto;min-width:0}
  .foot{grid-template-columns:repeat(2,minmax(0,1fr))}
  .foot .fcol:last-child{grid-column:1/-1}
}
@media (max-width:400px){
  .bar{gap:.5rem}
  .tools{gap:.4rem}
  .hbtn{padding-inline:.7rem}
}

/* ---------- v7: first screen in the same container as the rest of the site ---------- */
.wrap{max-width:1680px}
.hbtn{min-height:40px;padding:.3rem .9rem;font-size:.9rem;gap:.4rem}
.hbtn svg{width:1.2rem;height:1.2rem}
.btn-sm{min-height:40px;padding:.3rem 1.05rem;font-size:.9rem}
.tools{gap:.5rem;flex-wrap:nowrap}
.burger{padding-inline:.9rem}
.burger .caret{margin-inline-start:.05rem}
.hero .bar{padding-block:0;flex-wrap:nowrap;gap:.75rem}
.hero .brand{flex:none}
.hero .tools{flex:none}
.phone{
  box-sizing:border-box;background:#1c1d20;border:1px solid #3a3b40;border-radius:40px;padding:0;
  box-shadow:0 18px 50px rgba(0,0,0,.55);
}
.phone .screen{inset:7px;border-radius:32px;background:#0B0B0C}
.phone iframe{background:#0B0B0C;border-radius:inherit}
.phone::after{
  content:"";position:absolute;z-index:2;inset-block-start:15px;inset-inline-start:50%;translate:-50% 0;
  width:76px;height:20px;border-radius:12px;background:#000;pointer-events:none;
}
html[dir=rtl] .phone::after{translate:50% 0}
.hero-meta{display:flex;align-items:center;justify-content:space-between;gap:.6rem 1rem;flex-wrap:wrap;width:100%}

@media (max-width:1060px){
  .hero .bar{padding-block:.3rem .2rem}
  .hero h1{white-space:normal}
  .hero-meta{justify-content:flex-start}
}
@media (max-width:720px){
  .hbtn{min-height:44px}
  .hero .bar{padding-block:.4rem .2rem}
  .hero .brand{width:56px;height:56px;padding:7px}
}
@media (max-width:599px){
  .burger .mlbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}

@media (min-width:1061px){
  .hero{
    --ph:min(calc(100vh - 32px),880px);
    --chrome:248px;                       /* everything above/below the video, incl. paddings */
    --vw:calc((100vh - var(--chrome)) * 16 / 9);
    padding-block:14px 18px;
  }
  .hero .wrap.hero-grid{display:flex;justify-content:flex-start;align-items:flex-start;gap:2rem}
  .hero-text{flex:0 1 var(--vw);min-width:0;max-width:none;gap:10px;align-items:stretch}
  .hero-text > *{width:100%;max-width:100%}
  .top{container-type:inline-size}
  .hero .brand{width:54px;height:54px;padding:7px}
  .hero h1{
    font-size:clamp(1.3rem,min(2.1vw,3.6vh),1.9rem);line-height:1.15;white-space:normal;text-wrap:balance;
    display:flex;flex-wrap:wrap;align-items:baseline;column-gap:.7em;
  }
  .hero h1 span{display:inline;margin:0;font-size:.72em;font-weight:500}
  .video{width:100%}
  .lead{max-width:none;font-size:.9375rem;line-height:1.4;text-wrap:balance}
  .hero-meta{flex-wrap:nowrap}
  .badges{flex-wrap:nowrap;gap:.6rem}
  .badges img{height:44px}
  .socials{flex-wrap:nowrap;gap:.45rem}
  .socials a,.socials .soc{width:36px;height:36px}
  .socials img{width:21px;height:21px}
  .try-wrap{flex:1 0 auto;align-self:flex-start;gap:1.2rem;justify-content:flex-end}
  .try{margin-inline:auto;padding-inline:1rem}
  .try{font-size:1.3rem}
  .phone{height:var(--ph);width:calc(var(--ph) * 420 / 860);min-height:0;min-width:0;aspect-ratio:420/860}

  .sec-head{max-width:none}
  .sec-head h2{text-wrap:balance}
}
@container (max-width:699px){
  .a11y-btn .lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .a11y-btn{padding-inline:.8rem}
}
@container (max-width:560px){
  .burger .mlbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
@container (max-width:600px){
  .open-top{display:none}
}
@media (min-width:1061px) and (max-width:1300px){
  .hero .wrap.hero-grid{gap:1.5rem}
  .badges img{height:40px}
  .socials a,.socials .soc{width:32px;height:32px}
  .socials img{width:19px;height:19px}
  .try{font-size:1.15rem}
}

/* ---------- v8: narrower container, tight hero gaps, mobile polish ---------- */
.wrap{--pad:max(1.25rem,6.5vw);max-width:calc(1260px + 2 * var(--pad));padding-inline:var(--pad)}
@media (max-width:1060px){
  .top{width:100%}
}
@media (max-width:720px){
  .wrap{--pad:1.25rem}
}
@media (max-width:400px){
  .wrap{--pad:1rem}
}
@media (max-width:600px){
  .hero .bar{width:100%;justify-content:space-between}
  .hero .tools{margin-inline-start:auto}
  .hero h1{white-space:normal;text-wrap:balance;font-size:clamp(1rem,5.3vw,1.9rem)}
  .hero h1 span{font-size:clamp(.95rem,4.6vw,1.4rem)}
  .lead{font-size:1rem;line-height:1.5}
  .btn.btn-lg.open-app{min-height:44px;height:44px;padding:.3rem 1.2rem;font-size:1rem;width:100%}
  .hero-meta{flex-direction:column;align-items:stretch;gap:.9rem}
  .badges{width:100%;flex-wrap:nowrap;gap:.6rem}
  .badges a{flex:1 1 0;min-width:0}
  .badges img{width:100%;height:46px;object-fit:contain}
  .socials{width:100%;flex-wrap:nowrap;justify-content:space-between;gap:.3rem}
  .socials a,.socials .soc{width:40px;height:40px;flex:none}
  .socials img{width:22px;height:22px}
}

/* ---------- v9: no phone "island", centered copyright, footer logo lower ---------- */
.phone::after{display:none!important;content:none!important}
.copy{text-align:center}
@media (min-width:761px){.foot .brand{align-self:center}}

/* ---------- i18n: rtl ---------- */
/* On/Off labels of the accessibility toggles come from the language file (set by i18n.js) */
.a11y-panel .tog::after{content:var(--i18n-off,"Off")}
.a11y-panel .tog[aria-pressed=true]::after{content:var(--i18n-on,"On")}

/* ---------- i18n review fixes ---------- */
html[lang=he] .eyebrow,html[lang=he] .fcol h2{letter-spacing:0}
/* Hebrew: the page itself is already Hebrew, so the static duplicate statement and the second link are hidden */
html[lang=he] #he,html[lang=he] hr:has(+ #he){display:none}
html[lang=he] .a11y-foot a[href$="#he"]{display:none}
/* inactive social icons */
.socials .soc{opacity:.45;cursor:default}
/* long translations (ru/de): header stays on one line, footer does not overflow */
@media (min-width:721px) and (max-width:900px){
  .a11y-btn .lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .a11y-btn{padding-inline:.8rem}
}
@media (max-width:440px){
  .foot{grid-template-columns:1fr}
}
@media (max-width:380px){
  .hbtn{padding-inline:.5rem;gap:.25rem}
  .tools{gap:.3rem}
}
