:root{
  --page-x:clamp(58px,5.35vw,104px);
  --mx:0;
  --my:0;
}

*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none;background:#0642d4}
body{position:fixed;inset:0;font-family:Inter,Arial,Helvetica,sans-serif;color:#fff;-webkit-user-select:none;user-select:none}

.landing{
  position:fixed;
  inset:0;
  width:100%;
  height:100svh;
  overflow:hidden;
  background:#0642d4;
  isolation:isolate;
}

/* Full viewport background: never leaves an inner rectangle around the artwork. */
.hero-bg{
  position:absolute;
  z-index:0;
  left:-2%;
  top:-2%;
  width:104%;
  height:104%;
  object-fit:cover;
  object-position:center center;
  display:block;
  pointer-events:none;
  -webkit-user-drag:none;
  -webkit-user-select:none;
  user-select:none;
  transform:translate3d(calc(var(--mx) * -2px),calc(var(--my) * -2px),0) scale(1.015);
  transform-origin:center;
  transition:transform .12s linear;
}

.landing:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(0,21,118,.08) 0,transparent 22%,transparent 78%,rgba(0,18,101,.08) 100%);
}

/* 1920x1080 virtual artboard for the art layers. */
.hero-scene{
  position:absolute;
  z-index:2;
  left:50%;
  top:50%;
  width:min(100vw,177.7778svh);
  height:min(100svh,56.25vw);
  transform:translate(-50%,-50%);
  overflow:visible;
  pointer-events:none;
}

/* TRAFFIC layer. Large, but kept inside the visible desktop composition. */
.hero-word{
  position:absolute;
  z-index:2;
  left:50%;
  top:41%;
  width:108%;
  height:122%;
  object-fit:contain;
  object-position:center center;
  display:block;
  pointer-events:none;
  -webkit-user-drag:none;
  -webkit-user-select:none;
  user-select:none;
  filter:drop-shadow(0 18px 34px rgba(0,18,91,.16));
  transform:translate(-50%,-50%) translate3d(calc(var(--mx) * -11px),calc(var(--my) * -7px),0);
  transform-origin:center;
  transition:transform .11s linear;
}

/* Desktop foreground portrait. It stays still while TRAFFIC/background keep their existing parallax. */
.hero-person{
  position:absolute;
  z-index:5;
  right:7.2%;
  bottom:-2.2%;
  height:88.5%;
  width:auto;
  max-width:58%;
  object-fit:contain;
  object-position:right bottom;
  display:block;
  pointer-events:none;
  -webkit-user-drag:none;
  -webkit-user-select:none;
  user-select:none;
  filter:drop-shadow(0 20px 28px rgba(0,18,91,.16));
}

.hero-sticker{
  position:absolute;
  z-index:6;
  right:5.8%;
  top:56.4%;
  width:20.3%;
  height:auto;
  display:block;
  transform:translate3d(calc(var(--mx) * 14px),calc(var(--my) * 9px),0) rotate(-2deg);
  filter:drop-shadow(0 17px 24px rgba(0,17,83,.38));
  pointer-events:none;
  -webkit-user-drag:none;
  -webkit-user-select:none;
  user-select:none;
  transition:transform .11s linear;
}

.asset-shield{
  position:absolute;
  inset:-20%;
  z-index:9;
  display:block;
  background:transparent;
  pointer-events:none;
}

/* Left-side content shares exactly one visual axis with the logo. */
.hero-copy{
  position:absolute;
  z-index:8;
  left:var(--page-x);
  top:58.2%;
  width:min(760px,45vw);
  pointer-events:none;
}

.hero-copy h1{
  margin:0;
  color:#fff;
  font-family:'Oswald','Arial Narrow',Impact,sans-serif;
  font-size:clamp(50px,4.05vw,78px);
  font-weight:700;
  line-height:.89;
  letter-spacing:-.038em;
  text-transform:uppercase;
  text-shadow:
    0 2px 0 rgba(255,255,255,.16),
    0 4px 0 rgba(7,43,139,.42),
    0 10px 26px rgba(0,20,100,.62),
    0 1px 2px rgba(0,0,0,.3);
}

.hero-copy h1 span{display:block;white-space:nowrap}

.hero-copy .hero-subtitle{
  margin:13px 0 0;
  color:#fff;
  font-size:clamp(16px,1.3vw,25px);
  font-weight:400;
  line-height:1.12;
  letter-spacing:-.018em;
  white-space:nowrap;
  text-shadow:0 3px 13px rgba(0,20,100,.74),0 1px 2px rgba(0,0,0,.34);
}

.topbar{
  position:absolute;
  z-index:20;
  top:0;
  left:0;
  width:100%;
  height:108px;
  padding:22px var(--page-x) 0;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:start;
  gap:34px;
}

.brand{
  position:relative;
  justify-self:start;
  display:inline-flex;
  width:min(172px,12vw);
  height:52px;
  align-items:center;
  text-decoration:none;
  overflow:hidden;
  -webkit-user-drag:none;
}

.brand img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:left center;
  pointer-events:none;
  -webkit-user-drag:none;
  -webkit-user-select:none;
  user-select:none;
}

.brand-shield{position:absolute;inset:0;z-index:2;display:block;background:transparent}

.main-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(42px,6vw,105px);
  padding-top:8px;
  white-space:nowrap;
}

.main-nav a{
  position:relative;
  color:#fff;
  text-decoration:none;
  font-size:clamp(14px,1.05vw,19px);
  font-weight:500;
  letter-spacing:-.01em;
  text-shadow:0 2px 12px rgba(0,20,110,.2);
  transition:opacity .18s ease,transform .18s ease;
}

.main-nav a:after{content:"";position:absolute;left:0;right:100%;bottom:-7px;height:2px;background:#ff7900;transition:right .2s ease}
.main-nav a:hover{opacity:.94;transform:translateY(-1px)}
.main-nav a:hover:after{right:0}

.telegram-cta{
  justify-self:end;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-width:270px;
  height:51px;
  padding:0 22px;
  border:1.5px solid rgba(255,255,255,.92);
  clip-path:polygon(7% 0,100% 0,100% 68%,93% 100%,0 100%,0 30%);
  color:#fff;
  text-decoration:none;
  font-size:clamp(14px,1vw,18px);
  font-weight:500;
  background:rgba(0,38,178,.13);
  backdrop-filter:blur(2px);
  transition:background .2s ease,transform .2s ease;
}

.telegram-cta:hover{background:rgba(255,255,255,.09);transform:translateY(-1px)}
.telegram-icon{width:23px;height:23px;object-fit:contain;display:block;pointer-events:none;-webkit-user-drag:none}

.cases-cta{
  position:absolute;
  z-index:12;
  left:var(--page-x);
  top:82.5%;
  width:clamp(330px,23vw,440px);
  height:clamp(66px,7.6vh,82px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 clamp(34px,3.3vw,64px) 0 clamp(42px,4vw,76px);
  background:#ff7900;
  color:#0b1743;
  text-decoration:none;
  font-size:clamp(18px,1.25vw,24px);
  font-weight:800;
  box-shadow:0 10px 28px rgba(0,22,116,.2),inset 0 0 0 1px rgba(13,31,77,.32);
  clip-path:polygon(4% 0,96% 0,100% 18%,100% 82%,96% 100%,4% 100%,0 82%,0 18%);
  transition:transform .18s ease,filter .18s ease;
}

.cases-cta:before,.cases-cta:after{content:"";position:absolute;top:7px;bottom:7px;width:1px;background:rgba(16,29,69,.23)}
.cases-cta:before{left:22px}.cases-cta:after{right:22px}
.cases-cta:hover{transform:translateY(-3px);filter:brightness(1.05)}
.cases-arrow{font-size:36px;line-height:1;font-weight:400}

.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

@media(max-width:1450px){
  :root{--page-x:clamp(48px,5vw,74px)}
  .topbar{height:92px;padding-top:18px;gap:22px}
  .brand{width:145px;height:44px}
  .main-nav{gap:45px;padding-top:7px}
  .telegram-cta{min-width:235px;height:45px;gap:11px}
  .telegram-icon{width:20px;height:20px}
  .hero-copy{width:min(630px,47vw)}
  .hero-copy h1{font-size:clamp(43px,4.15vw,62px)}
  .hero-copy .hero-subtitle{font-size:clamp(15px,1.35vw,20px)}
  .hero-person{right:6.2%;bottom:-2.4%;height:89%}
  .cases-cta{width:clamp(300px,25vw,390px)}
}

@media(max-width:1100px){
  :root{--page-x:42px}
  .topbar{grid-template-columns:auto 1fr auto}
  .main-nav{gap:25px}
  .main-nav a{font-size:13px}
  .telegram-cta{min-width:auto;padding-inline:17px;gap:9px}
  .hero-copy{width:52vw;top:59.5%}
  .hero-copy h1{font-size:clamp(36px,4.35vw,48px)}
  .hero-copy .hero-subtitle{font-size:15px}
  .hero-person{right:1.5%;bottom:-1.5%;height:84%;max-width:54%}
  .hero-sticker{width:22%;top:57%}
  .cases-cta{width:290px;height:62px;font-size:17px}
}

/* Mobile composition is intentionally kept fixed until its separate pass. */
@media(max-width:820px){
  :root{--page-x:20px}
  html,body{position:fixed;inset:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none}
  .landing{position:fixed;inset:0;width:100%;height:100svh;min-height:0;max-height:100svh;overflow:hidden}
  .hero-bg{left:-4%;top:-4%;width:108%;height:108%;object-fit:cover}
  .hero-scene{width:100vw;height:56.25vw;top:48%}
  .hero-word{width:140%;height:140%;top:43%}
  .hero-person{display:none!important}
  .hero-copy{display:none}
  .hero-sticker{right:4%;top:57%;width:31%}
  .topbar{height:auto;grid-template-columns:1fr auto;padding:18px 20px 0}
  .brand{width:130px;height:40px}
  .main-nav{display:none}
  .telegram-cta{height:42px;font-size:13px;min-width:0}
  .telegram-icon{width:18px;height:18px}
  .cases-cta{left:20px;right:20px;top:auto;bottom:24px;width:auto;max-width:none;min-width:0;height:62px}
}

@media(pointer:coarse){
  .hero-bg,.hero-word,.hero-sticker{transition:none;transform:none}
  .hero-word{transform:translate(-50%,-50%)}
  .hero-sticker{transform:rotate(-2deg)}
}

@media(prefers-reduced-motion:reduce){
  *{transition:none!important}
  .hero-bg{transform:scale(1.015)!important}
  .hero-word{transform:translate(-50%,-50%)!important}
  .hero-sticker{transform:rotate(-2deg)!important}
}

/* prv-mobile-main-v1 */

@media (max-width: 820px) {
  html,body{width:100%;height:100%;overflow:hidden!important;overscroll-behavior:none;background:#0642d4}
  body{position:fixed!important;inset:0!important}
  .landing{position:fixed!important;inset:0!important;width:100%!important;height:100svh!important;min-height:100svh!important;overflow:hidden!important}
  .topbar{
    height:auto!important;
    padding:max(14px,env(safe-area-inset-top)) 16px 0!important;
    display:grid!important;
    grid-template-columns:1fr auto!important;
    grid-template-rows:auto auto!important;
    gap:8px 12px!important;
    align-items:center!important;
  }
  .brand{width:118px!important;height:36px!important;grid-column:1;grid-row:1}
  .telegram-cta{
    grid-column:2;grid-row:1;
    min-width:0!important;height:38px!important;
    padding:0 12px!important;gap:8px!important;
    font-size:12px!important;
  }
  .telegram-icon{width:18px!important;height:18px!important}
  .main-nav{
    grid-column:1/-1;grid-row:2;
    width:100%;display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;padding:0!important;
  }
  .main-nav a{
    min-width:0;padding:7px 3px;
    overflow:hidden;text-overflow:ellipsis;
    text-align:center;font-size:10.5px!important;font-weight:600!important;
    border-top:1px solid rgba(255,255,255,.18);
  }
  .main-nav a:after{display:none!important}
  .hero-bg{left:-4%!important;top:-4%!important;width:108%!important;height:108%!important;object-fit:cover!important}
  .hero-scene{
    left:52%!important;top:41%!important;
    width:168vw!important;height:94.5vw!important;
    max-width:none!important;max-height:none!important;
    overflow:visible!important;
  }
  .hero-word{left:50%!important;top:50%!important;width:111%!important;height:111%!important;object-fit:contain!important}
  .hero-sticker{right:3%!important;top:58%!important;width:34%!important}
  .hero-copy{
    display:block!important;left:20px!important;right:20px!important;
    top:auto!important;bottom:108px!important;width:auto!important;
    max-width:none!important;z-index:10!important;
  }
  .hero-copy h1{
    font-size:clamp(33px,9.2vw,48px)!important;
    line-height:.92!important;letter-spacing:-.035em!important;
  }
  .hero-copy h1 span{white-space:normal!important}
  .hero-copy .hero-subtitle{
    margin-top:8px!important;max-width:92%!important;
    font-size:clamp(13px,3.6vw,16px)!important;
    line-height:1.18!important;white-space:normal!important;
  }
  .cases-cta{
    left:20px!important;right:20px!important;top:auto!important;
    bottom:max(18px,env(safe-area-inset-bottom))!important;
    width:auto!important;max-width:none!important;min-width:0!important;
    height:58px!important;padding:0 34px!important;
    font-size:17px!important;
  }
  .cases-arrow{font-size:29px!important}
  .landing:after{
    background:linear-gradient(180deg,rgba(0,20,108,.06) 0,transparent 47%,rgba(0,24,128,.10) 60%,rgba(0,18,97,.52) 100%)!important;
  }
}

@media (max-width: 480px) {
  .topbar{padding-left:12px!important;padding-right:12px!important;gap:7px 8px!important}
  .brand{width:105px!important;height:32px!important}
  .telegram-cta{height:34px!important;padding:0 9px!important;font-size:11px!important}
  .telegram-icon{width:16px!important;height:16px!important}
  .main-nav{gap:3px!important}
  .main-nav a{font-size:9.5px!important;padding:6px 2px!important}
  .hero-scene{width:184vw!important;height:103.5vw!important;left:53%!important;top:40%!important}
  .hero-sticker{width:37%!important;right:1%!important;top:59%!important}
  .hero-copy{left:16px!important;right:16px!important;bottom:96px!important}
  .hero-copy h1{font-size:clamp(30px,9.1vw,39px)!important}
  .hero-copy .hero-subtitle{font-size:13px!important}
  .cases-cta{left:16px!important;right:16px!important;height:54px!important;padding:0 26px!important;font-size:16px!important}
}

@media (max-width: 820px) and (max-height: 700px) {
  .hero-scene{top:39%!important;width:150vw!important;height:84.4vw!important}
  .hero-sticker{width:29%!important;top:57%!important}
  .hero-copy{bottom:82px!important}
  .hero-copy h1{font-size:clamp(28px,7.8vw,36px)!important}
  .hero-copy .hero-subtitle{display:none!important}
  .cases-cta{height:50px!important;bottom:max(12px,env(safe-area-inset-bottom))!important}
}


/* prv-mobile-polish-v3 */

.hero-sticker{display:none!important}

@media (max-width:820px){
  .hero-scene{
    left:50%!important;
    top:35.8%!important;
    width:116vw!important;
    height:65.25vw!important;
    overflow:visible!important;
  }
  .hero-word{
    left:50%!important;
    top:50%!important;
    width:104%!important;
    height:104%!important;
    object-fit:contain!important;
    transform:translate(-50%,-50%) translate3d(var(--gyro-x,0px),var(--gyro-y,0px),0)!important;
    transition:transform .10s ease-out!important;
    will-change:transform;
  }
  .hero-copy{
    display:block!important;
    left:20px!important;
    right:20px!important;
    top:auto!important;
    bottom:146px!important;
  }
  .hero-copy .hero-subtitle{
    display:block!important;
    margin-top:7px!important;
    max-width:96%!important;
    white-space:normal!important;
  }
  .cases-cta{
    bottom:max(58px,env(safe-area-inset-bottom))!important;
  }
}

@media (max-width:480px){
  .hero-scene{
    left:50%!important;
    top:35.5%!important;
    width:116vw!important;
    height:65.25vw!important;
  }
  .hero-word{width:104%!important;height:104%!important}
  .hero-copy{
    left:16px!important;
    right:16px!important;
    bottom:140px!important;
  }
  .hero-copy h1{font-size:clamp(30px,9vw,39px)!important}
  .hero-copy .hero-subtitle{font-size:12.5px!important;line-height:1.2!important;margin-top:6px!important}
  .cases-cta{
    left:16px!important;
    right:16px!important;
    bottom:max(54px,env(safe-area-inset-bottom))!important;
  }
}

@media (max-width:820px) and (max-height:700px){
  .hero-scene{top:34.8%!important;width:108vw!important;height:60.75vw!important}
  .hero-copy{bottom:124px!important}
  .hero-copy h1{font-size:clamp(27px,7.7vw,35px)!important}
  .hero-copy .hero-subtitle{display:block!important;font-size:11.5px!important;line-height:1.17!important;margin-top:5px!important}
  .cases-cta{height:50px!important;bottom:max(42px,env(safe-area-inset-bottom))!important}
}

@media(prefers-reduced-motion:reduce){
  .hero-word{transform:translate(-50%,-50%)!important}
}


/* prv-mobile-header-axis-v1 */

@media (max-width:820px){
  .topbar{
    grid-template-rows:42px auto!important;
    align-items:center!important;
  }
  .brand,
  .telegram-cta{
    align-self:center!important;
    margin-top:0!important;
    margin-bottom:0!important;
  }
  .main-nav{
    align-self:start!important;
    align-items:center!important;
    border-top:1px solid rgba(255,255,255,.18)!important;
    padding-top:6px!important;
  }
  .main-nav a{
    min-height:32px!important;
    padding:0 3px!important;
    border-top:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
}

@media (max-width:480px){
  .topbar{grid-template-rows:38px auto!important}
  .main-nav{padding-top:5px!important}
  .main-nav a{min-height:30px!important}
}
